configure revision 1.47
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.43Sdbj# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.43Sdbj# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.1Stv# Free Software Foundation, Inc.
91.1Stv# This configure script is free software; the Free Software Foundation
101.1Stv# gives unlimited permission to copy, distribute and modify it.
111.1Stv
121.1Stv# Avoid depending upon Character Ranges.
131.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz'
141.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
151.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS
161.1Stvas_cr_digits='0123456789'
171.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits
181.1Stv
191.43Sdbj# Sed expression to map a string onto a valid variable name.
201.43Sdbjas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.39Sfredb
221.43Sdbj# Sed expression to map a string onto a valid CPP name.
231.43Sdbjas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.39Sfredb
251.43Sdbj# Be Bourne compatible
261.43Sdbjif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.43Sdbj  emulate sh
281.43Sdbj  NULLCMD=:
291.43Sdbjelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.43Sdbj  set -o posix
311.43Sdbjfi
321.39Sfredb
331.43Sdbj# Name of the executable.
341.43Sdbjas_me=`echo "$0" |sed 's,.*[\\/],,'`
351.1Stv
361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
371.1Stv  as_expr=expr
381.1Stvelse
391.1Stv  as_expr=false
401.1Stvfi
411.1Stv
421.1Stvrm -f conf$$ conf$$.exe conf$$.file
431.1Stvecho >conf$$.file
441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
451.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
461.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.1Stv  if test -f conf$$.exe; then
481.1Stv    # Don't use ln at all; we don't have any links
491.1Stv    as_ln_s='cp -p'
501.1Stv  else
511.1Stv    as_ln_s='ln -s'
521.1Stv  fi
531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
541.1Stv  as_ln_s=ln
551.1Stvelse
561.1Stv  as_ln_s='cp -p'
571.1Stvfi
581.1Stvrm -f conf$$ conf$$.exe conf$$.file
591.1Stv
601.43Sdbjas_executable_p="test -f"
611.43Sdbj
621.43Sdbj# Support unset when possible.
631.43Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.43Sdbj  as_unset=unset
651.39Sfredbelse
661.43Sdbj  as_unset=false
671.39Sfredbfi
681.39Sfredb
691.43Sdbj# NLS nuisances.
701.43Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.43Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.43Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.43Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.43Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.43Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.43Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.43Sdbj$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.1Stv
791.1Stv# IFS
801.1Stv# We need space, tab and new line, in precisely that order.
811.1Stvas_nl='
821.1Stv'
831.1StvIFS=" 	$as_nl"
841.1Stv
851.1Stv# CDPATH.
861.43Sdbj$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
871.1Stv
881.1Stv# Name of the host.
891.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
901.1Stv# so uname gets run too.
911.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
921.1Stv
931.1Stvexec 6>&1
941.1Stv
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.43SdbjMFLAGS= MAKEFLAGS=
1021.1StvSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.1Stv# Maximum number of lines to put in a shell here document.
1051.1Stv# This variable seems obsolete.  It should probably be removed, and
1061.1Stv# only ac_max_sed_lines should be used.
1071.1Stv: ${ac_max_here_lines=38}
1081.1Stv
1091.1Stv# Factoring default headers for most tests.
1101.1Stvac_includes_default="\
1111.1Stv#include <stdio.h>
1121.1Stv#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.1Stv#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.1Stv#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.1Stv# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.1Stv#if HAVE_STRING_H
1271.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.1Stv#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.1Stv#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.1Stv#else
1381.1Stv# if HAVE_STDINT_H
1391.1Stv#  include <stdint.h>
1401.1Stv# endif
1411.1Stv#endif
1421.1Stv#if HAVE_UNISTD_H
1431.1Stv# include <unistd.h>
1441.1Stv#endif"
1451.1Stv
1461.1Stv# Initialize some variables set by options.
1471.1Stvac_init_help=
1481.1Stvac_init_version=false
1491.1Stv# The variables have the same names as the options, with
1501.1Stv# dashes changed to underlines.
1511.1Stvcache_file=/dev/null
1521.1Stvexec_prefix=NONE
1531.1Stvno_create=
1541.1Stvno_recursion=
1551.1Stvprefix=NONE
1561.1Stvprogram_prefix=NONE
1571.1Stvprogram_suffix=NONE
1581.1Stvprogram_transform_name=s,x,x,
1591.1Stvsilent=
1601.1Stvsite=
1611.1Stvsrcdir=
1621.1Stvverbose=
1631.1Stvx_includes=NONE
1641.1Stvx_libraries=NONE
1651.1Stv
1661.1Stv# Installation directory options.
1671.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
1681.1Stv# and all the variables that are supposed to be based on exec_prefix
1691.1Stv# by default will actually change.
1701.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
1711.1Stvbindir='${exec_prefix}/bin'
1721.1Stvsbindir='${exec_prefix}/sbin'
1731.1Stvlibexecdir='${exec_prefix}/libexec'
1741.1Stvdatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.1Stvlibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.1Stvinfodir='${prefix}/info'
1821.1Stvmandir='${prefix}/man'
1831.1Stv
1841.43Sdbj# Identity of this package.
1851.43SdbjPACKAGE_NAME='libnbcompat'
1861.43SdbjPACKAGE_TARNAME='libnbcompat'
1871.43SdbjPACKAGE_VERSION='noversion'
1881.43SdbjPACKAGE_STRING='libnbcompat noversion'
1891.43SdbjPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
1901.43Sdbj
1911.1Stvac_prev=
1921.1Stvfor ac_option
1931.1Stvdo
1941.1Stv  # If the previous option needs an argument, assign it.
1951.1Stv  if test -n "$ac_prev"; then
1961.1Stv    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2021.1Stv
2031.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
2041.1Stv
2051.1Stv  case $ac_option in
2061.1Stv
2071.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
2081.1Stv    ac_prev=bindir ;;
2091.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2101.1Stv    bindir=$ac_optarg ;;
2111.1Stv
2121.1Stv  -build | --build | --buil | --bui | --bu)
2131.1Stv    ac_prev=build_alias ;;
2141.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2151.1Stv    build_alias=$ac_optarg ;;
2161.1Stv
2171.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
2181.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2191.1Stv    ac_prev=cache_file ;;
2201.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2211.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2221.1Stv    cache_file=$ac_optarg ;;
2231.1Stv
2241.1Stv  --config-cache | -C)
2251.1Stv    cache_file=config.cache ;;
2261.1Stv
2271.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.1Stv  | --da=*)
2311.1Stv    datadir=$ac_optarg ;;
2321.1Stv
2331.1Stv  -disable-* | --disable-*)
2341.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2351.1Stv    # Reject names that are not valid shell variable names.
2361.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2371.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2381.1Stv   { (exit 1); exit 1; }; }
2391.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.1Stv    eval "enable_$ac_feature=no" ;;
2411.1Stv
2421.1Stv  -enable-* | --enable-*)
2431.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2441.1Stv    # Reject names that are not valid shell variable names.
2451.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2461.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2471.1Stv   { (exit 1); exit 1; }; }
2481.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.1Stv    case $ac_option in
2501.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.1Stv      *) ac_optarg=yes ;;
2521.1Stv    esac
2531.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
2541.1Stv
2551.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2561.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2571.1Stv  | --exec | --exe | --ex)
2581.1Stv    ac_prev=exec_prefix ;;
2591.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2601.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2611.1Stv  | --exec=* | --exe=* | --ex=*)
2621.1Stv    exec_prefix=$ac_optarg ;;
2631.1Stv
2641.1Stv  -gas | --gas | --ga | --g)
2651.1Stv    # Obsolete; use --with-gas.
2661.1Stv    with_gas=yes ;;
2671.1Stv
2681.1Stv  -help | --help | --hel | --he | -h)
2691.1Stv    ac_init_help=long ;;
2701.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2711.1Stv    ac_init_help=recursive ;;
2721.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2731.1Stv    ac_init_help=short ;;
2741.1Stv
2751.1Stv  -host | --host | --hos | --ho)
2761.1Stv    ac_prev=host_alias ;;
2771.1Stv  -host=* | --host=* | --hos=* | --ho=*)
2781.1Stv    host_alias=$ac_optarg ;;
2791.1Stv
2801.1Stv  -includedir | --includedir | --includedi | --included | --include \
2811.1Stv  | --includ | --inclu | --incl | --inc)
2821.1Stv    ac_prev=includedir ;;
2831.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2841.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
2851.1Stv    includedir=$ac_optarg ;;
2861.1Stv
2871.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
2881.1Stv    ac_prev=infodir ;;
2891.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2901.1Stv    infodir=$ac_optarg ;;
2911.1Stv
2921.1Stv  -libdir | --libdir | --libdi | --libd)
2931.1Stv    ac_prev=libdir ;;
2941.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2951.1Stv    libdir=$ac_optarg ;;
2961.1Stv
2971.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2981.1Stv  | --libexe | --libex | --libe)
2991.1Stv    ac_prev=libexecdir ;;
3001.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
3011.1Stv  | --libexe=* | --libex=* | --libe=*)
3021.1Stv    libexecdir=$ac_optarg ;;
3031.1Stv
3041.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
3051.1Stv  | --localstate | --localstat | --localsta | --localst \
3061.1Stv  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3111.1Stv    localstatedir=$ac_optarg ;;
3121.1Stv
3131.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3141.1Stv    ac_prev=mandir ;;
3151.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3161.1Stv    mandir=$ac_optarg ;;
3171.1Stv
3181.1Stv  -nfp | --nfp | --nf)
3191.1Stv    # Obsolete; use --without-fp.
3201.1Stv    with_fp=no ;;
3211.1Stv
3221.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3231.43Sdbj  | --no-cr | --no-c)
3241.1Stv    no_create=yes ;;
3251.1Stv
3261.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3271.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
3281.1Stv    no_recursion=yes ;;
3291.1Stv
3301.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
3311.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3321.1Stv  | --oldin | --oldi | --old | --ol | --o)
3331.1Stv    ac_prev=oldincludedir ;;
3341.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3351.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3361.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3371.1Stv    oldincludedir=$ac_optarg ;;
3381.1Stv
3391.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3401.1Stv    ac_prev=prefix ;;
3411.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3421.1Stv    prefix=$ac_optarg ;;
3431.1Stv
3441.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
3451.1Stv  | --program-pre | --program-pr | --program-p)
3461.1Stv    ac_prev=program_prefix ;;
3471.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
3481.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3491.1Stv    program_prefix=$ac_optarg ;;
3501.1Stv
3511.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
3521.1Stv  | --program-suf | --program-su | --program-s)
3531.1Stv    ac_prev=program_suffix ;;
3541.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
3551.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3561.1Stv    program_suffix=$ac_optarg ;;
3571.1Stv
3581.1Stv  -program-transform-name | --program-transform-name \
3591.1Stv  | --program-transform-nam | --program-transform-na \
3601.1Stv  | --program-transform-n | --program-transform- \
3611.1Stv  | --program-transform | --program-transfor \
3621.1Stv  | --program-transfo | --program-transf \
3631.1Stv  | --program-trans | --program-tran \
3641.1Stv  | --progr-tra | --program-tr | --program-t)
3651.1Stv    ac_prev=program_transform_name ;;
3661.1Stv  -program-transform-name=* | --program-transform-name=* \
3671.1Stv  | --program-transform-nam=* | --program-transform-na=* \
3681.1Stv  | --program-transform-n=* | --program-transform-=* \
3691.1Stv  | --program-transform=* | --program-transfor=* \
3701.1Stv  | --program-transfo=* | --program-transf=* \
3711.1Stv  | --program-trans=* | --program-tran=* \
3721.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
3731.1Stv    program_transform_name=$ac_optarg ;;
3741.1Stv
3751.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3761.1Stv  | -silent | --silent | --silen | --sile | --sil)
3771.1Stv    silent=yes ;;
3781.1Stv
3791.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3801.1Stv    ac_prev=sbindir ;;
3811.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3821.1Stv  | --sbi=* | --sb=*)
3831.1Stv    sbindir=$ac_optarg ;;
3841.1Stv
3851.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3861.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3871.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
3881.1Stv  | --sha | --sh)
3891.1Stv    ac_prev=sharedstatedir ;;
3901.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3911.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3921.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3931.1Stv  | --sha=* | --sh=*)
3941.1Stv    sharedstatedir=$ac_optarg ;;
3951.1Stv
3961.1Stv  -site | --site | --sit)
3971.1Stv    ac_prev=site ;;
3981.1Stv  -site=* | --site=* | --sit=*)
3991.1Stv    site=$ac_optarg ;;
4001.1Stv
4011.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4021.1Stv    ac_prev=srcdir ;;
4031.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4041.1Stv    srcdir=$ac_optarg ;;
4051.1Stv
4061.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4071.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
4081.1Stv    ac_prev=sysconfdir ;;
4091.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4101.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4111.1Stv    sysconfdir=$ac_optarg ;;
4121.1Stv
4131.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
4141.1Stv    ac_prev=target_alias ;;
4151.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4161.1Stv    target_alias=$ac_optarg ;;
4171.1Stv
4181.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
4191.1Stv    verbose=yes ;;
4201.1Stv
4211.1Stv  -version | --version | --versio | --versi | --vers | -V)
4221.1Stv    ac_init_version=: ;;
4231.1Stv
4241.1Stv  -with-* | --with-*)
4251.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4261.1Stv    # Reject names that are not valid shell variable names.
4271.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4281.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4291.1Stv   { (exit 1); exit 1; }; }
4301.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.1Stv    case $ac_option in
4321.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.1Stv      *) ac_optarg=yes ;;
4341.1Stv    esac
4351.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
4361.1Stv
4371.1Stv  -without-* | --without-*)
4381.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4391.1Stv    # Reject names that are not valid shell variable names.
4401.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4411.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4421.1Stv   { (exit 1); exit 1; }; }
4431.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.1Stv    eval "with_$ac_package=no" ;;
4451.1Stv
4461.1Stv  --x)
4471.1Stv    # Obsolete; use --with-x.
4481.1Stv    with_x=yes ;;
4491.1Stv
4501.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4511.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
4521.1Stv    ac_prev=x_includes ;;
4531.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4541.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4551.1Stv    x_includes=$ac_optarg ;;
4561.1Stv
4571.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
4581.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4591.1Stv    ac_prev=x_libraries ;;
4601.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4611.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4621.1Stv    x_libraries=$ac_optarg ;;
4631.1Stv
4641.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
4651.1StvTry \`$0 --help' for more information." >&2
4661.1Stv   { (exit 1); exit 1; }; }
4671.1Stv    ;;
4681.1Stv
4691.1Stv  *=*)
4701.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
4711.1Stv    # Reject names that are not valid shell variable names.
4721.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4731.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4741.1Stv   { (exit 1); exit 1; }; }
4751.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.1Stv    eval "$ac_envvar='$ac_optarg'"
4771.1Stv    export $ac_envvar ;;
4781.1Stv
4791.1Stv  *)
4801.1Stv    # FIXME: should be removed in autoconf 3.0.
4811.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4821.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4831.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4841.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4851.1Stv    ;;
4861.1Stv
4871.1Stv  esac
4881.1Stvdone
4891.1Stv
4901.1Stvif test -n "$ac_prev"; then
4911.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4921.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
4931.1Stv   { (exit 1); exit 1; }; }
4941.1Stvfi
4951.1Stv
4961.1Stv# Be sure to have absolute paths.
4971.1Stvfor ac_var in exec_prefix prefix
4981.1Stvdo
4991.1Stv  eval ac_val=$`echo $ac_var`
5001.1Stv  case $ac_val in
5011.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.43Sdbj    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.1Stv   { (exit 1); exit 1; }; };;
5041.1Stv  esac
5051.1Stvdone
5061.1Stv
5071.1Stv# Be sure to have absolute paths.
5081.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.1Stv              localstatedir libdir includedir oldincludedir infodir mandir
5101.1Stvdo
5111.1Stv  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.1Stv    [\\/$]* | ?:[\\/]* ) ;;
5141.43Sdbj    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.1Stv   { (exit 1); exit 1; }; };;
5161.1Stv  esac
5171.1Stvdone
5181.1Stv
5191.1Stv# There might be people who depend on the old broken behavior: `$host'
5201.1Stv# used to hold the argument of --host etc.
5211.1Stvbuild=$build_alias
5221.1Stvhost=$host_alias
5231.1Stvtarget=$target_alias
5241.1Stv
5251.43Sdbj# FIXME: should be removed in autoconf 3.0.
5261.1Stvif test "x$host_alias" != x; then
5271.1Stv  if test "x$build_alias" = x; then
5281.1Stv    cross_compiling=maybe
5291.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5301.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
5311.1Stv  elif test "x$build_alias" != "x$host_alias"; then
5321.1Stv    cross_compiling=yes
5331.1Stv  fi
5341.1Stvfi
5351.1Stv
5361.1Stvac_tool_prefix=
5371.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
5381.1Stv
5391.1Stvtest "$silent" = yes && exec 6>/dev/null
5401.1Stv
5411.1Stv# Find the source files, if location was not specified.
5421.1Stvif test -z "$srcdir"; then
5431.1Stv  ac_srcdir_defaulted=yes
5441.1Stv  # Try the directory containing this script, then its parent.
5451.43Sdbj  ac_prog=$0
5461.43Sdbj  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.43Sdbj  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.1Stv  if test ! -r $srcdir/$ac_unique_file; then
5501.1Stv    srcdir=..
5511.1Stv  fi
5521.1Stvelse
5531.1Stv  ac_srcdir_defaulted=no
5541.1Stvfi
5551.1Stvif test ! -r $srcdir/$ac_unique_file; then
5561.1Stv  if test "$ac_srcdir_defaulted" = yes; then
5571.43Sdbj    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.43Sdbj    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.1Stv   { (exit 1); exit 1; }; }
5621.1Stv  fi
5631.1Stvfi
5641.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.1Stvac_env_build_alias_set=${build_alias+set}
5661.1Stvac_env_build_alias_value=$build_alias
5671.1Stvac_cv_env_build_alias_set=${build_alias+set}
5681.1Stvac_cv_env_build_alias_value=$build_alias
5691.1Stvac_env_host_alias_set=${host_alias+set}
5701.1Stvac_env_host_alias_value=$host_alias
5711.1Stvac_cv_env_host_alias_set=${host_alias+set}
5721.1Stvac_cv_env_host_alias_value=$host_alias
5731.1Stvac_env_target_alias_set=${target_alias+set}
5741.1Stvac_env_target_alias_value=$target_alias
5751.1Stvac_cv_env_target_alias_set=${target_alias+set}
5761.1Stvac_cv_env_target_alias_value=$target_alias
5771.1Stvac_env_CC_set=${CC+set}
5781.1Stvac_env_CC_value=$CC
5791.1Stvac_cv_env_CC_set=${CC+set}
5801.1Stvac_cv_env_CC_value=$CC
5811.1Stvac_env_CFLAGS_set=${CFLAGS+set}
5821.1Stvac_env_CFLAGS_value=$CFLAGS
5831.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.1Stvac_cv_env_CFLAGS_value=$CFLAGS
5851.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
5861.1Stvac_env_LDFLAGS_value=$LDFLAGS
5871.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
5891.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
5911.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.1Stvac_env_CPP_set=${CPP+set}
5941.1Stvac_env_CPP_value=$CPP
5951.1Stvac_cv_env_CPP_set=${CPP+set}
5961.1Stvac_cv_env_CPP_value=$CPP
5971.1Stv
5981.1Stv#
5991.1Stv# Report the --help message.
6001.1Stv#
6011.1Stvif test "$ac_init_help" = "long"; then
6021.1Stv  # Omit some internal or obsolete options to make the list less imposing.
6031.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
6041.43Sdbj  cat <<EOF
6051.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems.
6061.1Stv
6071.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
6081.1Stv
6091.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
6101.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
6111.1Stv
6121.1StvDefaults for the options are specified in brackets.
6131.1Stv
6141.1StvConfiguration:
6151.1Stv  -h, --help              display this help and exit
6161.1Stv      --help=short        display options specific to this package
6171.1Stv      --help=recursive    display the short help of all the included packages
6181.1Stv  -V, --version           display version information and exit
6191.1Stv  -q, --quiet, --silent   do not print \`checking...' messages
6201.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
6211.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
6221.1Stv  -n, --no-create         do not create output files
6231.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
6241.1Stv
6251.43SdbjEOF
6261.1Stv
6271.43Sdbj  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.1Stv                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.1Stv                          [PREFIX]
6331.1Stv
6341.1StvBy default, \`make install' will install all the files in
6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
6371.1Stvfor instance \`--prefix=\$HOME'.
6381.1Stv
6391.1StvFor better control, use the options below.
6401.1Stv
6411.1StvFine tuning of the installation directories:
6421.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
6431.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6441.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
6451.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
6461.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6471.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6481.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6491.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
6501.1Stv  --includedir=DIR       C header files [PREFIX/include]
6511.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6521.1Stv  --infodir=DIR          info documentation [PREFIX/info]
6531.1Stv  --mandir=DIR           man documentation [PREFIX/man]
6541.43SdbjEOF
6551.1Stv
6561.43Sdbj  cat <<\EOF
6571.43SdbjEOF
6581.1Stvfi
6591.1Stv
6601.1Stvif test -n "$ac_init_help"; then
6611.1Stv  case $ac_init_help in
6621.1Stv     short | recursive ) echo "Configuration of libnbcompat noversion:";;
6631.1Stv   esac
6641.43Sdbj  cat <<\EOF
6651.1Stv
6661.1StvSome influential environment variables:
6671.1Stv  CC          C compiler command
6681.1Stv  CFLAGS      C compiler flags
6691.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
6701.1Stv              nonstandard directory <lib dir>
6711.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.1Stv              headers in a nonstandard directory <include dir>
6731.1Stv  CPP         C preprocessor
6741.1Stv
6751.1StvUse these variables to override the choices made by `configure' or to help
6761.1Stvit to find libraries and programs with nonstandard names/locations.
6771.1Stv
6781.41SsaloReport bugs to <lib-bug-people@NetBSD.org>.
6791.43SdbjEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.1Stv  ac_popdir=`pwd`
6851.43Sdbj  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.43Sdbj    cd $ac_subdir
6871.43Sdbj    # A "../" for each directory in /$ac_subdir.
6881.43Sdbj    ac_dots=`echo $ac_subdir |
6891.43Sdbj             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.43Sdbj
6911.43Sdbj    case $srcdir in
6921.43Sdbj    .) # No --srcdir option.  We are building in place.
6931.43Sdbj      ac_sub_srcdir=$srcdir ;;
6941.43Sdbj    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.43Sdbj      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.43Sdbj    *) # Relative path.
6971.43Sdbj      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.43Sdbj    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.43Sdbj    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.43Sdbj      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.43Sdbj    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.43Sdbj      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.43Sdbj    elif test -f $ac_sub_srcdir/configure.ac ||
7081.43Sdbj           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.43Sdbj      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.1Stv    fi
7141.1Stv    cd $ac_popdir
7151.1Stv  done
7161.1Stvfi
7171.1Stv
7181.1Stvtest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.43Sdbj  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.43Sdbjgenerated by GNU Autoconf 2.52
7231.1Stv
7241.43SdbjCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.1StvFree Software Foundation, Inc.
7261.1StvThis configure script is free software; the Free Software Foundation
7271.1Stvgives unlimited permission to copy, distribute and modify it.
7281.43SdbjEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.43Sdbjcat >&5 <<EOF
7331.1StvThis file contains any messages produced by compilers while
7341.1Stvrunning configure, to aid debugging if configure makes a mistake.
7351.1Stv
7361.1StvIt was created by libnbcompat $as_me noversion, which was
7371.43Sdbjgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.43SdbjEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.43Sdbj## ---------- ##
7451.43Sdbj## Platform.  ##
7461.43Sdbj## ---------- ##
7471.1Stv
7481.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7491.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
7501.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
7511.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
7521.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
7531.1Stv
7541.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7551.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7561.1Stv
7571.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7581.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7591.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7601.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
7611.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7621.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7631.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7641.1Stv
7651.43SdbjPATH = $PATH
7661.43Sdbj
7671.39Sfredb_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.43Sdbjcat >&5 <<EOF
7711.43Sdbj## ------------ ##
7721.43Sdbj## Core tests.  ##
7731.43Sdbj## ------------ ##
7741.1Stv
7751.43SdbjEOF
7761.1Stv
7771.1Stv# Keep a trace of the command line.
7781.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
7791.1Stv# Also quote any args containing shell meta-characters.
7801.1Stvac_configure_args=
7811.1Stvac_sep=
7821.43Sdbjfor ac_arg
7831.1Stvdo
7841.43Sdbj  case $ac_arg in
7851.43Sdbj  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.43Sdbj  | --no-cr | --no-c) ;;
7871.43Sdbj  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.43Sdbj  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.43Sdbj  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.43Sdbj    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.43Sdbj    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.43Sdbj    ac_sep=" " ;;
7931.43Sdbj  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.43Sdbj     ac_sep=" " ;;
7951.43Sdbj  esac
7961.43Sdbj  # Get rid of the leading space.
7971.1Stvdone
7981.1Stv
7991.1Stv# When interrupted or exit'd, cleanup temporary files, and complete
8001.1Stv# config.log.  We remove comments because anyway the quotes in there
8011.1Stv# would cause problems or look ugly.
8021.1Stvtrap 'exit_status=$?
8031.1Stv  # Save into config.log some information that might help in debugging.
8041.43Sdbj  echo >&5
8051.43Sdbj  echo "## ----------------- ##" >&5
8061.43Sdbj  echo "## Cache variables.  ##" >&5
8071.43Sdbj  echo "## ----------------- ##" >&5
8081.43Sdbj  echo >&5
8091.43Sdbj  # The following way of writing the cache mishandles newlines in values,
8101.1Stv{
8111.1Stv  (set) 2>&1 |
8121.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.1Stv    *ac_space=\ *)
8141.1Stv      sed -n \
8151.1Stv        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.43Sdbj} >&5
8241.43Sdbj  sed "/^$/d" confdefs.h >conftest.log
8251.43Sdbj  if test -s conftest.log; then
8261.43Sdbj    echo >&5
8271.43Sdbj    echo "## ------------ ##" >&5
8281.43Sdbj    echo "## confdefs.h.  ##" >&5
8291.43Sdbj    echo "## ------------ ##" >&5
8301.43Sdbj    echo >&5
8311.43Sdbj    cat conftest.log >&5
8321.43Sdbj  fi
8331.43Sdbj  (echo; echo) >&5
8341.43Sdbj  test "$ac_signal" != 0 &&
8351.43Sdbj    echo "$as_me: caught signal $ac_signal" >&5
8361.43Sdbj  echo "$as_me: exit $exit_status" >&5
8371.43Sdbj  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.1Stv     ' 0
8401.1Stvfor ac_signal in 1 2 13 15; do
8411.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
8421.1Stvdone
8431.1Stvac_signal=0
8441.1Stv
8451.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
8461.1Stvrm -rf conftest* confdefs.h
8471.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.1Stvecho >confdefs.h
8491.1Stv
8501.1Stv# Let the site file select an alternate cache file if it wants to.
8511.1Stv# Prefer explicitly selected file to automatically selected ones.
8521.1Stvif test -z "$CONFIG_SITE"; then
8531.1Stv  if test "x$prefix" != xNONE; then
8541.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.1Stv  else
8561.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.1Stv  fi
8581.1Stvfi
8591.1Stvfor ac_site_file in $CONFIG_SITE; do
8601.1Stv  if test -r "$ac_site_file"; then
8611.43Sdbj    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.43Sdbj    cat "$ac_site_file" >&5
8641.1Stv    . "$ac_site_file"
8651.1Stv  fi
8661.1Stvdone
8671.1Stv
8681.1Stvif test -r "$cache_file"; then
8691.1Stv  # Some versions of bash will fail to source /dev/null (special
8701.1Stv  # files actually), so we avoid doing that.
8711.1Stv  if test -f "$cache_file"; then
8721.43Sdbj    { echo "$as_me:872: loading cache $cache_file" >&5
8731.1Stvecho "$as_me: loading cache $cache_file" >&6;}
8741.1Stv    case $cache_file in
8751.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.1Stv      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.43Sdbj  { echo "$as_me:880: creating cache $cache_file" >&5
8811.1Stvecho "$as_me: creating cache $cache_file" >&6;}
8821.1Stv  >$cache_file
8831.1Stvfi
8841.1Stv
8851.1Stv# Check that the precious variables saved in the cache have kept the same
8861.1Stv# value.
8871.1Stvac_cache_corrupted=false
8881.1Stvfor ac_var in `(set) 2>&1 |
8891.1Stv               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
8901.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8911.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
8921.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.43Sdbj      { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8971.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8981.1Stv      ac_cache_corrupted=: ;;
8991.1Stv    ,set)
9001.43Sdbj      { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
9011.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9021.1Stv      ac_cache_corrupted=: ;;
9031.1Stv    ,);;
9041.1Stv    *)
9051.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
9061.43Sdbj        { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
9071.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9081.43Sdbj        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.43Sdbj        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.1Stv        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.43Sdbj  # Pass precious variables to config.status.  It doesn't matter if
9161.43Sdbj  # we pass some twice (in addition to the command line arguments).
9171.1Stv  if test "$ac_new_set" = set; then
9181.1Stv    case $ac_new_val in
9191.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.43Sdbj      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.43Sdbj      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.43Sdbj      ;;
9231.43Sdbj    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.43Sdbj       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.43Sdbj  { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
9301.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
9311.43Sdbj  { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
9321.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9331.1Stv   { (exit 1); exit 1; }; }
9341.1Stvfi
9351.1Stv
9361.1Stvac_ext=c
9371.1Stvac_cpp='$CPP $CPPFLAGS'
9381.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9391.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9401.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9411.1Stv
9421.43Sdbjcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.43Sdbj  *c*,-n*) ECHO_N= ECHO_C='
9441.43Sdbj' ECHO_T='	' ;;
9451.43Sdbj  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.43Sdbj  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.43Sdbjesac
9481.43Sdbjecho "#! $SHELL" >conftest.sh
9491.43Sdbjecho  "exit 0"   >>conftest.sh
9501.43Sdbjchmod +x conftest.sh
9511.43Sdbjif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.43Sdbj  (PATH=".;."; conftest.sh) 2>&5
9531.43Sdbj  ac_status=$?
9541.43Sdbj  echo "$as_me:954: \$? = $ac_status" >&5
9551.43Sdbj  (exit $ac_status); }; then
9561.43Sdbj  ac_path_separator=';'
9571.43Sdbjelse
9581.43Sdbj  ac_path_separator=:
9591.43Sdbjfi
9601.43SdbjPATH_SEPARATOR="$ac_path_separator"
9611.43Sdbjrm -f conftest.sh
9621.1Stv
9631.43Sdbjac_config_headers="$ac_config_headers nbtool_config.h"
9641.1Stv
9651.43Sdbjac_config_files="$ac_config_files defs.mk"
9661.1Stv
9671.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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
9861.43Sdbjac_dummy="$PATH"
9871.43Sdbjfor ac_dir in $ac_dummy; do
9881.43Sdbj  IFS=$ac_save_IFS
9891.43Sdbj  test -z "$ac_dir" && ac_dir=.
9901.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
9911.43Sdbjac_cv_prog_CC="${ac_tool_prefix}gcc"
9921.45Sjmcecho "$as_me:992: found $ac_dir/$ac_word" >&5
9931.43Sdbjbreak
9941.1Stvdone
9951.1Stv
9961.1Stvfi
9971.1Stvfi
9981.1StvCC=$ac_cv_prog_CC
9991.1Stvif test -n "$CC"; then
10001.45Sjmc  echo "$as_me:1000: result: $CC" >&5
10011.1Stvecho "${ECHO_T}$CC" >&6
10021.1Stvelse
10031.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10211.43Sdbjac_dummy="$PATH"
10221.43Sdbjfor ac_dir in $ac_dummy; do
10231.43Sdbj  IFS=$ac_save_IFS
10241.43Sdbj  test -z "$ac_dir" && ac_dir=.
10251.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10261.43Sdbjac_cv_prog_ac_ct_CC="gcc"
10271.45Sjmcecho "$as_me:1027: found $ac_dir/$ac_word" >&5
10281.43Sdbjbreak
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.45Sjmc  echo "$as_me:1035: result: $ac_ct_CC" >&5
10361.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10371.1Stvelse
10381.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10601.43Sdbjac_dummy="$PATH"
10611.43Sdbjfor ac_dir in $ac_dummy; do
10621.43Sdbj  IFS=$ac_save_IFS
10631.43Sdbj  test -z "$ac_dir" && ac_dir=.
10641.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10651.43Sdbjac_cv_prog_CC="${ac_tool_prefix}cc"
10661.45Sjmcecho "$as_me:1066: found $ac_dir/$ac_word" >&5
10671.43Sdbjbreak
10681.1Stvdone
10691.1Stv
10701.1Stvfi
10711.1Stvfi
10721.1StvCC=$ac_cv_prog_CC
10731.1Stvif test -n "$CC"; then
10741.45Sjmc  echo "$as_me:1074: result: $CC" >&5
10751.1Stvecho "${ECHO_T}$CC" >&6
10761.1Stvelse
10771.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10951.43Sdbjac_dummy="$PATH"
10961.43Sdbjfor ac_dir in $ac_dummy; do
10971.43Sdbj  IFS=$ac_save_IFS
10981.43Sdbj  test -z "$ac_dir" && ac_dir=.
10991.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11001.43Sdbjac_cv_prog_ac_ct_CC="cc"
11011.45Sjmcecho "$as_me:1101: found $ac_dir/$ac_word" >&5
11021.43Sdbjbreak
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.45Sjmc  echo "$as_me:1109: result: $ac_ct_CC" >&5
11101.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11111.1Stvelse
11121.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11351.43Sdbjac_dummy="$PATH"
11361.43Sdbjfor ac_dir in $ac_dummy; do
11371.43Sdbj  IFS=$ac_save_IFS
11381.43Sdbj  test -z "$ac_dir" && ac_dir=.
11391.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11401.43Sdbjif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11411.43Sdbj  ac_prog_rejected=yes
11421.43Sdbj  continue
11431.43Sdbjfi
11441.43Sdbjac_cv_prog_CC="cc"
11451.45Sjmcecho "$as_me:1145: found $ac_dir/$ac_word" >&5
11461.43Sdbjbreak
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.43Sdbj    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11591.43Sdbj    shift
11601.43Sdbj    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.45Sjmc  echo "$as_me:1167: result: $CC" >&5
11681.1Stvecho "${ECHO_T}$CC" >&6
11691.1Stvelse
11701.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11901.43Sdbjac_dummy="$PATH"
11911.43Sdbjfor ac_dir in $ac_dummy; do
11921.43Sdbj  IFS=$ac_save_IFS
11931.43Sdbj  test -z "$ac_dir" && ac_dir=.
11941.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11951.43Sdbjac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11961.45Sjmcecho "$as_me:1196: found $ac_dir/$ac_word" >&5
11971.43Sdbjbreak
11981.1Stvdone
11991.1Stv
12001.1Stvfi
12011.1Stvfi
12021.1StvCC=$ac_cv_prog_CC
12031.1Stvif test -n "$CC"; then
12041.45Sjmc  echo "$as_me:1204: result: $CC" >&5
12051.1Stvecho "${ECHO_T}$CC" >&6
12061.1Stvelse
12071.45Sjmc  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.45Sjmcecho "$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.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
12291.43Sdbjac_dummy="$PATH"
12301.43Sdbjfor ac_dir in $ac_dummy; do
12311.43Sdbj  IFS=$ac_save_IFS
12321.43Sdbj  test -z "$ac_dir" && ac_dir=.
12331.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
12341.43Sdbjac_cv_prog_ac_ct_CC="$ac_prog"
12351.45Sjmcecho "$as_me:1235: found $ac_dir/$ac_word" >&5
12361.43Sdbjbreak
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.45Sjmc  echo "$as_me:1243: result: $ac_ct_CC" >&5
12441.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12451.1Stvelse
12461.45Sjmc  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.45Sjmctest -z "$CC" && { { echo "$as_me:1258: error: no acceptable cc found in \$PATH" >&5
12591.43Sdbjecho "$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.45Sjmcecho "$as_me:1263:" \
12641.1Stv     "checking for C compiler version" >&5
12651.1Stvac_compiler=`set X $ac_compile; echo $2`
12661.45Sjmc{ (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.45Sjmc  echo "$as_me:1269: \$? = $ac_status" >&5
12701.1Stv  (exit $ac_status); }
12711.45Sjmc{ (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.45Sjmc  echo "$as_me:1274: \$? = $ac_status" >&5
12751.1Stv  (exit $ac_status); }
12761.45Sjmc{ (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.45Sjmc  echo "$as_me:1279: \$? = $ac_status" >&5
12801.1Stv  (exit $ac_status); }
12811.1Stv
12821.1Stvcat >conftest.$ac_ext <<_ACEOF
12831.45Sjmc#line 1283 "configure"
12841.43Sdbj#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.43Sdbjac_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.45Sjmcecho "$as_me:1299: checking for C compiler default output" >&5
13001.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13011.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13021.45Sjmcif { (eval echo "$as_me:1302: \"$ac_link_default\"") >&5
13031.1Stv  (eval $ac_link_default) 2>&5
13041.1Stv  ac_status=$?
13051.45Sjmc  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.43Sdbjfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13111.43Sdbj                ls a.out conftest 2>/dev/null;
13121.43Sdbj                ls a.* conftest.* 2>/dev/null`; do
13131.1Stv  case $ac_file in
13141.43Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13151.43Sdbj    a.out ) # We found the default executable, but exeext='' is most
13161.43Sdbj            # certainly right.
13171.43Sdbj            break;;
13181.43Sdbj    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13191.43Sdbj          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13201.43Sdbj          export ac_cv_exeext
13211.43Sdbj          break;;
13221.43Sdbj    * ) break;;
13231.1Stv  esac
13241.1Stvdone
13251.1Stvelse
13261.1Stv  echo "$as_me: failed program was:" >&5
13271.43Sdbjcat conftest.$ac_ext >&5
13281.45Sjmc{ { echo "$as_me:1328: error: C compiler cannot create executables" >&5
13291.43Sdbjecho "$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.45Sjmcecho "$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.45Sjmcecho "$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.45Sjmc  { (eval echo "$as_me:1345: \"$ac_try\"") >&5
13461.1Stv  (eval $ac_try) 2>&5
13471.1Stv  ac_status=$?
13481.45Sjmc  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.45Sjmc	{ { echo "$as_me:1355: error: cannot run C compiled programs.
13561.43SdbjIf you meant to cross compile, use \`--host'." >&5
13571.1Stvecho "$as_me: error: cannot run C compiled programs.
13581.43SdbjIf you meant to cross compile, use \`--host'." >&2;}
13591.1Stv   { (exit 1); exit 1; }; }
13601.1Stv    fi
13611.1Stv  fi
13621.1Stvfi
13631.45Sjmcecho "$as_me:1363: result: yes" >&5
13641.1Stvecho "${ECHO_T}yes" >&6
13651.1Stv
13661.43Sdbjrm -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.45Sjmcecho "$as_me:1370: checking whether we are cross compiling" >&5
13711.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13721.45Sjmcecho "$as_me:1372: result: $cross_compiling" >&5
13731.1Stvecho "${ECHO_T}$cross_compiling" >&6
13741.1Stv
13751.45Sjmcecho "$as_me:1375: checking for executable suffix" >&5
13761.43Sdbjecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13771.45Sjmcif { (eval echo "$as_me:1377: \"$ac_link\"") >&5
13781.1Stv  (eval $ac_link) 2>&5
13791.1Stv  ac_status=$?
13801.45Sjmc  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.43Sdbjfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13871.1Stv  case $ac_file in
13881.43Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13891.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13901.1Stv          export ac_cv_exeext
13911.1Stv          break;;
13921.1Stv    * ) break;;
13931.1Stv  esac
13941.1Stvdone
13951.1Stvelse
13961.45Sjmc  { { echo "$as_me:1396: error: cannot compute EXEEXT: cannot compile and link" >&5
13971.43Sdbjecho "$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.45Sjmcecho "$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.45Sjmcecho "$as_me:1408: checking for object suffix" >&5
14091.43Sdbjecho $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.45Sjmc#line 1414 "configure"
14151.43Sdbj#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.45Sjmcif { (eval echo "$as_me:1426: \"$ac_compile\"") >&5
14271.1Stv  (eval $ac_compile) 2>&5
14281.1Stv  ac_status=$?
14291.45Sjmc  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.43Sdbj    *.$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.43Sdbjcat conftest.$ac_ext >&5
14411.45Sjmc{ { echo "$as_me:1441: error: cannot compute OBJEXT: cannot compile" >&5
14421.43Sdbjecho "$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.45Sjmcecho "$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.45Sjmcecho "$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.45Sjmc#line 1458 "configure"
14591.43Sdbj#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.45Sjmcif { (eval echo "$as_me:1473: \"$ac_compile\"") >&5
14741.1Stv  (eval $ac_compile) 2>&5
14751.1Stv  ac_status=$?
14761.45Sjmc  echo "$as_me:1476: \$? = $ac_status" >&5
14771.1Stv  (exit $ac_status); } &&
14781.1Stv         { ac_try='test -s conftest.$ac_objext'
14791.45Sjmc  { (eval echo "$as_me:1479: \"$ac_try\"") >&5
14801.1Stv  (eval $ac_try) 2>&5
14811.1Stv  ac_status=$?
14821.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
14881.1Stvac_compiler_gnu=no
14891.1Stvfi
14901.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
14911.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14921.1Stv
14931.1Stvfi
14941.45Sjmcecho "$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.45Sjmcecho "$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.45Sjmc#line 1506 "configure"
15071.43Sdbj#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.45Sjmcif { (eval echo "$as_me:1518: \"$ac_compile\"") >&5
15191.1Stv  (eval $ac_compile) 2>&5
15201.1Stv  ac_status=$?
15211.45Sjmc  echo "$as_me:1521: \$? = $ac_status" >&5
15221.1Stv  (exit $ac_status); } &&
15231.1Stv         { ac_try='test -s conftest.$ac_objext'
15241.45Sjmc  { (eval echo "$as_me:1524: \"$ac_try\"") >&5
15251.1Stv  (eval $ac_try) 2>&5
15261.1Stv  ac_status=$?
15271.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
15331.1Stvac_cv_prog_cc_g=no
15341.1Stvfi
15351.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15361.1Stvfi
15371.45Sjmcecho "$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.45Sjmcif { (eval echo "$as_me:1564: \"$ac_compile\"") >&5
15651.1Stv  (eval $ac_compile) 2>&5
15661.1Stv  ac_status=$?
15671.45Sjmc  echo "$as_me:1567: \$? = $ac_status" >&5
15681.1Stv  (exit $ac_status); } &&
15691.1Stv         { ac_try='test -s conftest.$ac_objext'
15701.45Sjmc  { (eval echo "$as_me:1570: \"$ac_try\"") >&5
15711.1Stv  (eval $ac_try) 2>&5
15721.1Stv  ac_status=$?
15731.45Sjmc  echo "$as_me:1573: \$? = $ac_status" >&5
15741.1Stv  (exit $ac_status); }; }; then
15751.1Stv  for ac_declaration in \
15761.1Stv   ''\
15771.1Stv   '#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.45Sjmc#line 1585 "configure"
15861.43Sdbj#include "confdefs.h"
15871.1Stv#include <stdlib.h>
15881.1Stv$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.45Sjmcif { (eval echo "$as_me:1598: \"$ac_compile\"") >&5
15991.1Stv  (eval $ac_compile) 2>&5
16001.1Stv  ac_status=$?
16011.45Sjmc  echo "$as_me:1601: \$? = $ac_status" >&5
16021.1Stv  (exit $ac_status); } &&
16031.1Stv         { ac_try='test -s conftest.$ac_objext'
16041.45Sjmc  { (eval echo "$as_me:1604: \"$ac_try\"") >&5
16051.1Stv  (eval $ac_try) 2>&5
16061.1Stv  ac_status=$?
16071.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
16131.1Stvcontinue
16141.1Stvfi
16151.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16161.1Stv  cat >conftest.$ac_ext <<_ACEOF
16171.45Sjmc#line 1617 "configure"
16181.43Sdbj#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.45Sjmcif { (eval echo "$as_me:1629: \"$ac_compile\"") >&5
16301.1Stv  (eval $ac_compile) 2>&5
16311.1Stv  ac_status=$?
16321.45Sjmc  echo "$as_me:1632: \$? = $ac_status" >&5
16331.1Stv  (exit $ac_status); } &&
16341.1Stv         { ac_try='test -s conftest.$ac_objext'
16351.45Sjmc  { (eval echo "$as_me:1635: \"$ac_try\"") >&5
16361.1Stv  (eval $ac_try) 2>&5
16371.1Stv  ac_status=$?
16381.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
16441.1Stvfi
16451.1Stvrm -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.43Sdbjcat conftest.$ac_ext >&5
16571.1Stvfi
16581.1Stvrm -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.45Sjmcecho "$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.45Sjmc#line 1691 "configure"
16921.43Sdbj#include "confdefs.h"
16931.43Sdbj#include <assert.h>
16941.1Stv                     Syntax error
16951.1Stv_ACEOF
16961.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17001.1Stv  rm -f conftest.er1
17011.1Stv  cat conftest.err >&5
17021.45Sjmc  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.43Sdbj  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.45Sjmc#line 1725 "configure"
17261.43Sdbj#include "confdefs.h"
17271.1Stv#include <ac_nonexistent.h>
17281.1Stv_ACEOF
17291.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17331.1Stv  rm -f conftest.er1
17341.1Stv  cat conftest.err >&5
17351.45Sjmc  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.43Sdbj  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.45Sjmcecho "$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.45Sjmc#line 1782 "configure"
17831.43Sdbj#include "confdefs.h"
17841.43Sdbj#include <assert.h>
17851.1Stv                     Syntax error
17861.1Stv_ACEOF
17871.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17911.1Stv  rm -f conftest.er1
17921.1Stv  cat conftest.err >&5
17931.45Sjmc  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.43Sdbj  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.45Sjmc#line 1816 "configure"
18171.43Sdbj#include "confdefs.h"
18181.1Stv#include <ac_nonexistent.h>
18191.1Stv_ACEOF
18201.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
18241.1Stv  rm -f conftest.er1
18251.1Stv  cat conftest.err >&5
18261.45Sjmc  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.45Sjmc  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.45Sjmc  { { echo "$as_me:1854: error: C preprocessor \"$CPP\" fails sanity check" >&5
18551.45Sjmcecho "$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.45Sjmc            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.45Sjmc#line 1868 "configure"
18691.45Sjmc#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.45Sjmc  egrep "yes" >/dev/null 2>&1; then
18771.45Sjmc  echo "$as_me:1877: result: yes" >&5
18781.45Sjmcecho "${ECHO_T}yes" >&6
18791.45Sjmc	cat >>confdefs.h <<\EOF
18801.45Sjmc#define _POSIX_SOURCE 1
18811.45SjmcEOF
18821.45Sjmc cat >>confdefs.h <<\EOF
18831.45Sjmc#define _POSIX_C_SOURCE 200112L
18841.45SjmcEOF
18851.45Sjmc cat >>confdefs.h <<\EOF
18861.45Sjmc#define _XOPEN_SOURCE 600
18871.45SjmcEOF
18881.45Sjmc
18891.45Sjmcelse
18901.45Sjmc  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.45Sjmcecho "$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.45Sjmc  ac_save_IFS=$IFS; IFS=$ac_path_separator
19081.45Sjmcac_dummy="$PATH"
19091.45Sjmcfor ac_dir in $ac_dummy; do
19101.45Sjmc  IFS=$ac_save_IFS
19111.45Sjmc  test -z "$ac_dir" && ac_dir=.
19121.45Sjmc  if $as_executable_p "$ac_dir/$ac_word"; then
19131.45Sjmc   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19141.45Sjmc   echo "$as_me:1914: found $ac_dir/$ac_word" >&5
19151.45Sjmc   break
19161.45Sjmcfi
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.45Sjmc  echo "$as_me:1925: result: $BSHELL" >&5
19261.45Sjmcecho "${ECHO_T}$BSHELL" >&6
19271.45Sjmcelse
19281.45Sjmc  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.45Sjmc	{ { 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.45Sjmccat >>confdefs.h <<EOF
19381.45Sjmc#define PATH_BSHELL "$BSHELL"
19391.45SjmcEOF
19401.45Sjmc
19411.45Sjmcecho "$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.45Sjmc  ac_cv_c_bigendian=unknown
19471.45Sjmc# See if sys/param.h defines the BYTE_ORDER macro.
19481.45Sjmccat >conftest.$ac_ext <<_ACEOF
19491.45Sjmc#line 1949 "configure"
19501.45Sjmc#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.45Sjmcif { (eval echo "$as_me:1966: \"$ac_compile\"") >&5
19671.45Sjmc  (eval $ac_compile) 2>&5
19681.45Sjmc  ac_status=$?
19691.45Sjmc  echo "$as_me:1969: \$? = $ac_status" >&5
19701.45Sjmc  (exit $ac_status); } &&
19711.45Sjmc         { ac_try='test -s conftest.$ac_objext'
19721.45Sjmc  { (eval echo "$as_me:1972: \"$ac_try\"") >&5
19731.45Sjmc  (eval $ac_try) 2>&5
19741.45Sjmc  ac_status=$?
19751.45Sjmc  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.45Sjmc#line 1979 "configure"
19801.45Sjmc#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.45Sjmcif { (eval echo "$as_me:1996: \"$ac_compile\"") >&5
19971.45Sjmc  (eval $ac_compile) 2>&5
19981.45Sjmc  ac_status=$?
19991.45Sjmc  echo "$as_me:1999: \$? = $ac_status" >&5
20001.45Sjmc  (exit $ac_status); } &&
20011.45Sjmc         { ac_try='test -s conftest.$ac_objext'
20021.45Sjmc  { (eval echo "$as_me:2002: \"$ac_try\"") >&5
20031.45Sjmc  (eval $ac_try) 2>&5
20041.45Sjmc  ac_status=$?
20051.45Sjmc  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.45Sjmccat conftest.$ac_ext >&5
20111.45Sjmcac_cv_c_bigendian=no
20121.45Sjmcfi
20131.45Sjmcrm -f conftest.$ac_objext conftest.$ac_ext
20141.45Sjmcelse
20151.45Sjmc  echo "$as_me: failed program was:" >&5
20161.45Sjmccat conftest.$ac_ext >&5
20171.45Sjmcfi
20181.45Sjmcrm -f conftest.$ac_objext conftest.$ac_ext
20191.45Sjmcif test $ac_cv_c_bigendian = unknown; then
20201.45Sjmcif test "$cross_compiling" = yes; then
20211.45Sjmc  { { echo "$as_me:2021: error: cannot run test program while cross compiling" >&5
20221.45Sjmcecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20231.45Sjmc   { (exit 1); exit 1; }; }
20241.45Sjmcelse
20251.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
20261.45Sjmc#line 2026 "configure"
20271.45Sjmc#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.45Sjmcif { (eval echo "$as_me:2042: \"$ac_link\"") >&5
20431.45Sjmc  (eval $ac_link) 2>&5
20441.45Sjmc  ac_status=$?
20451.45Sjmc  echo "$as_me:2045: \$? = $ac_status" >&5
20461.45Sjmc  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20471.45Sjmc  { (eval echo "$as_me:2047: \"$ac_try\"") >&5
20481.45Sjmc  (eval $ac_try) 2>&5
20491.45Sjmc  ac_status=$?
20501.45Sjmc  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.45Sjmccat conftest.$ac_ext >&5
20571.45Sjmcac_cv_c_bigendian=yes
20581.45Sjmcfi
20591.45Sjmcrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20601.45Sjmcfi
20611.1Stvfi
20621.1Stvfi
20631.45Sjmcecho "$as_me:2063: result: $ac_cv_c_bigendian" >&5
20641.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20651.45Sjmcif test $ac_cv_c_bigendian = yes; then
20661.45Sjmc
20671.45Sjmccat >>confdefs.h <<\EOF
20681.45Sjmc#define WORDS_BIGENDIAN 1
20691.45SjmcEOF
20701.1Stv
20711.1Stvfi
20721.1Stv
20731.45Sjmcecho "$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.45Sjmc#line 2079 "configure"
20801.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2087: \"$ac_cpp conftest.$ac_ext\"") >&5
20881.43Sdbj  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20891.39Sfredb  ac_status=$?
20901.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
20911.43Sdbj  rm -f conftest.er1
20921.43Sdbj  cat conftest.err >&5
20931.45Sjmc  echo "$as_me:2093: \$? = $ac_status" >&5
20941.43Sdbj  (exit $ac_status); } >/dev/null; then
20951.43Sdbj  if test -s conftest.err; then
20961.43Sdbj    ac_cpp_err=$ac_c_preproc_warn_flag
20971.43Sdbj  else
20981.43Sdbj    ac_cpp_err=
20991.43Sdbj  fi
21001.43Sdbjelse
21011.43Sdbj  ac_cpp_err=yes
21021.43Sdbjfi
21031.43Sdbjif 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.43Sdbj  cat conftest.$ac_ext >&5
21081.43Sdbj  ac_cv_header_stdc=no
21091.6Stvfi
21101.43Sdbjrm -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.45Sjmc#line 2115 "configure"
21161.43Sdbj#include "confdefs.h"
21171.6Stv#include <string.h>
21181.6Stv
21191.6Stv_ACEOF
21201.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21211.43Sdbj  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.45Sjmc#line 2133 "configure"
21341.43Sdbj#include "confdefs.h"
21351.6Stv#include <stdlib.h>
21361.6Stv
21371.6Stv_ACEOF
21381.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21391.43Sdbj  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.45Sjmc#line 2154 "configure"
21551.43Sdbj#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.43Sdbj# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21621.6Stv                     || ('j' <= (c) && (c) <= 'r') \
21631.6Stv                     || ('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.6Stv        || toupper (i) != TOUPPER (i))
21751.6Stv      exit(2);
21761.6Stv  exit (0);
21771.6Stv}
21781.6Stv_ACEOF
21791.6Stvrm -f conftest$ac_exeext
21801.45Sjmcif { (eval echo "$as_me:2180: \"$ac_link\"") >&5
21811.6Stv  (eval $ac_link) 2>&5
21821.6Stv  ac_status=$?
21831.45Sjmc  echo "$as_me:2183: \$? = $ac_status" >&5
21841.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21851.45Sjmc  { (eval echo "$as_me:2185: \"$ac_try\"") >&5
21861.6Stv  (eval $ac_try) 2>&5
21871.6Stv  ac_status=$?
21881.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
21951.6Stvac_cv_header_stdc=no
21961.6Stvfi
21971.43Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21981.6Stvfi
21991.6Stvfi
22001.6Stvfi
22011.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<\EOF
22061.6Stv#define STDC_HEADERS 1
22071.43SdbjEOF
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.45Sjmcecho "$as_me:2214: checking for zlib.h" >&5
22151.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22161.6Stvif 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.45Sjmc#line 2220 "configure"
22211.43Sdbj#include "confdefs.h"
22221.6Stv#include <zlib.h>
22231.4Stv_ACEOF
22241.45Sjmcif { (eval echo "$as_me:2224: \"$ac_cpp conftest.$ac_ext\"") >&5
22251.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22261.4Stv  ac_status=$?
22271.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
22281.4Stv  rm -f conftest.er1
22291.4Stv  cat conftest.err >&5
22301.45Sjmc  echo "$as_me:2230: \$? = $ac_status" >&5
22311.4Stv  (exit $ac_status); } >/dev/null; then
22321.4Stv  if test -s conftest.err; then
22331.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
22341.4Stv  else
22351.4Stv    ac_cpp_err=
22361.4Stv  fi
22371.4Stvelse
22381.4Stv  ac_cpp_err=yes
22391.4Stvfi
22401.4Stvif test -z "$ac_cpp_err"; then
22411.43Sdbj  ac_cv_header_zlib_h=yes
22421.4Stvelse
22431.4Stv  echo "$as_me: failed program was:" >&5
22441.43Sdbj  cat conftest.$ac_ext >&5
22451.43Sdbj  ac_cv_header_zlib_h=no
22461.4Stvfi
22471.4Stvrm -f conftest.err conftest.$ac_ext
22481.4Stvfi
22491.45Sjmcecho "$as_me:2249: result: $ac_cv_header_zlib_h" >&5
22501.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22511.6Stvif test $ac_cv_header_zlib_h = yes; then
22521.6Stv  :
22531.6Stvelse
22541.45Sjmc  { { echo "$as_me:2254: error: zlib must be installed in a compiler-visible path" >&5
22551.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22561.6Stv   { (exit 1); exit 1; }; }
22571.6Stvfi
22581.6Stv
22591.45Sjmcecho "$as_me:2259: checking for gzdopen in -lz" >&5
22601.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22611.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22621.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22631.6Stvelse
22641.6Stv  ac_check_lib_save_LIBS=$LIBS
22651.6StvLIBS="-lz  $LIBS"
22661.6Stvcat >conftest.$ac_ext <<_ACEOF
22671.45Sjmc#line 2267 "configure"
22681.43Sdbj#include "confdefs.h"
22691.6Stv
22701.6Stv/* 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.45Sjmcif { (eval echo "$as_me:2286: \"$ac_link\"") >&5
22871.6Stv  (eval $ac_link) 2>&5
22881.6Stv  ac_status=$?
22891.45Sjmc  echo "$as_me:2289: \$? = $ac_status" >&5
22901.6Stv  (exit $ac_status); } &&
22911.6Stv         { ac_try='test -s conftest$ac_exeext'
22921.45Sjmc  { (eval echo "$as_me:2292: \"$ac_try\"") >&5
22931.6Stv  (eval $ac_try) 2>&5
22941.6Stv  ac_status=$?
22951.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
23011.6Stvac_cv_lib_z_gzdopen=no
23021.6Stvfi
23031.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23041.6StvLIBS=$ac_check_lib_save_LIBS
23051.6Stvfi
23061.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
23101.6Stv#define HAVE_LIBZ 1
23111.43SdbjEOF
23121.4Stv
23131.6Stv  LIBS="-lz $LIBS"
23141.6Stv
23151.4Stvelse
23161.45Sjmc  { { 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.45Sjmcecho "$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.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
23381.45Sjmc#line 2338 "configure"
23391.43Sdbj#include "confdefs.h"
23401.39Sfredb#include <$ac_header>
23411.39Sfredb_ACEOF
23421.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
23461.4Stv  rm -f conftest.er1
23471.4Stv  cat conftest.err >&5
23481.45Sjmc  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.43Sdbj  eval "$as_ac_Header=yes"
23601.6Stvelse
23611.6Stv  echo "$as_me: failed program was:" >&5
23621.43Sdbj  cat conftest.$ac_ext >&5
23631.43Sdbj  eval "$as_ac_Header=no"
23641.6Stvfi
23651.6Stvrm -f conftest.err conftest.$ac_ext
23661.6Stvfi
23671.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
23711.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23721.43SdbjEOF
23731.6Stv
23741.6Stvelse
23751.45Sjmc  { { 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.45Sjmcecho "$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.45Sjmc#line 2392 "configure"
23931.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2407: \"$ac_compile\"") >&5
24081.6Stv  (eval $ac_compile) 2>&5
24091.6Stv  ac_status=$?
24101.45Sjmc  echo "$as_me:2410: \$? = $ac_status" >&5
24111.6Stv  (exit $ac_status); } &&
24121.6Stv         { ac_try='test -s conftest.$ac_objext'
24131.45Sjmc  { (eval echo "$as_me:2413: \"$ac_try\"") >&5
24141.6Stv  (eval $ac_try) 2>&5
24151.6Stv  ac_status=$?
24161.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
24221.6Stveval "$as_ac_Header=no"
24231.6Stvfi
24241.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
24251.6Stvfi
24261.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
24301.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24311.43SdbjEOF
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.45Sjmc  echo "$as_me:2439: checking for opendir in -ldir" >&5
24401.43Sdbjecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24411.43Sdbjif test "${ac_cv_lib_dir_opendir+set}" = set; then
24421.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24431.6Stvelse
24441.43Sdbj  ac_check_lib_save_LIBS=$LIBS
24451.43SdbjLIBS="-ldir  $LIBS"
24461.6Stvcat >conftest.$ac_ext <<_ACEOF
24471.45Sjmc#line 2447 "configure"
24481.43Sdbj#include "confdefs.h"
24491.6Stv
24501.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24511.6Stv#ifdef __cplusplus
24521.6Stvextern "C"
24531.6Stv#endif
24541.6Stv/* We use char because int might match the return type of a gcc2
24551.6Stv   builtin and then its argument prototype would still apply.  */
24561.6Stvchar opendir ();
24571.6Stvint
24581.6Stvmain ()
24591.6Stv{
24601.6Stvopendir ();
24611.6Stv  ;
24621.6Stv  return 0;
24631.6Stv}
24641.6Stv_ACEOF
24651.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24661.45Sjmcif { (eval echo "$as_me:2466: \"$ac_link\"") >&5
24671.6Stv  (eval $ac_link) 2>&5
24681.6Stv  ac_status=$?
24691.45Sjmc  echo "$as_me:2469: \$? = $ac_status" >&5
24701.6Stv  (exit $ac_status); } &&
24711.6Stv         { ac_try='test -s conftest$ac_exeext'
24721.45Sjmc  { (eval echo "$as_me:2472: \"$ac_try\"") >&5
24731.6Stv  (eval $ac_try) 2>&5
24741.6Stv  ac_status=$?
24751.45Sjmc  echo "$as_me:2475: \$? = $ac_status" >&5
24761.6Stv  (exit $ac_status); }; }; then
24771.43Sdbj  ac_cv_lib_dir_opendir=yes
24781.6Stvelse
24791.6Stv  echo "$as_me: failed program was:" >&5
24801.43Sdbjcat conftest.$ac_ext >&5
24811.43Sdbjac_cv_lib_dir_opendir=no
24821.6Stvfi
24831.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24841.43SdbjLIBS=$ac_check_lib_save_LIBS
24851.39Sfredbfi
24861.45Sjmcecho "$as_me:2486: result: $ac_cv_lib_dir_opendir" >&5
24871.43Sdbjecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24881.43Sdbjif test $ac_cv_lib_dir_opendir = yes; then
24891.43Sdbj  LIBS="$LIBS -ldir"
24901.6Stvfi
24911.6Stv
24921.6Stvelse
24931.45Sjmc  echo "$as_me:2493: checking for opendir in -lx" >&5
24941.43Sdbjecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
24951.43Sdbjif test "${ac_cv_lib_x_opendir+set}" = set; then
24961.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24971.6Stvelse
24981.43Sdbj  ac_check_lib_save_LIBS=$LIBS
24991.43SdbjLIBS="-lx  $LIBS"
25001.6Stvcat >conftest.$ac_ext <<_ACEOF
25011.45Sjmc#line 2501 "configure"
25021.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2520: \"$ac_link\"") >&5
25211.6Stv  (eval $ac_link) 2>&5
25221.6Stv  ac_status=$?
25231.45Sjmc  echo "$as_me:2523: \$? = $ac_status" >&5
25241.6Stv  (exit $ac_status); } &&
25251.6Stv         { ac_try='test -s conftest$ac_exeext'
25261.45Sjmc  { (eval echo "$as_me:2526: \"$ac_try\"") >&5
25271.6Stv  (eval $ac_try) 2>&5
25281.6Stv  ac_status=$?
25291.45Sjmc  echo "$as_me:2529: \$? = $ac_status" >&5
25301.6Stv  (exit $ac_status); }; }; then
25311.43Sdbj  ac_cv_lib_x_opendir=yes
25321.6Stvelse
25331.6Stv  echo "$as_me: failed program was:" >&5
25341.43Sdbjcat conftest.$ac_ext >&5
25351.43Sdbjac_cv_lib_x_opendir=no
25361.39Sfredbfi
25371.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25381.43SdbjLIBS=$ac_check_lib_save_LIBS
25391.39Sfredbfi
25401.45Sjmcecho "$as_me:2540: result: $ac_cv_lib_x_opendir" >&5
25411.43Sdbjecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25421.43Sdbjif test $ac_cv_lib_x_opendir = yes; then
25431.43Sdbj  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.45Sjmcecho "$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.39Sfredbelse
25571.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
25581.45Sjmc#line 2558 "configure"
25591.43Sdbj#include "confdefs.h"
25601.6Stv#include <$ac_header>
25611.6Stv_ACEOF
25621.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
25661.6Stv  rm -f conftest.er1
25671.6Stv  cat conftest.err >&5
25681.45Sjmc  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.43Sdbj  eval "$as_ac_Header=yes"
25801.6Stvelse
25811.6Stv  echo "$as_me: failed program was:" >&5
25821.43Sdbj  cat conftest.$ac_ext >&5
25831.43Sdbj  eval "$as_ac_Header=no"
25841.6Stvfi
25851.6Stvrm -f conftest.err conftest.$ac_ext
25861.6Stvfi
25871.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
25911.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25921.43SdbjEOF
25931.6Stv
25941.6Stvfi
25951.6Stvdone
25961.6Stv
25971.39Sfredbfor ac_header in 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.45Sjmcecho "$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.39Sfredbelse
26061.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
26071.45Sjmc#line 2607 "configure"
26081.43Sdbj#include "confdefs.h"
26091.39Sfredb#include <$ac_header>
26101.39Sfredb_ACEOF
26111.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
26151.6Stv  rm -f conftest.er1
26161.6Stv  cat conftest.err >&5
26171.45Sjmc  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.43Sdbj  eval "$as_ac_Header=yes"
26291.6Stvelse
26301.6Stv  echo "$as_me: failed program was:" >&5
26311.43Sdbj  cat conftest.$ac_ext >&5
26321.43Sdbj  eval "$as_ac_Header=no"
26331.6Stvfi
26341.6Stvrm -f conftest.err conftest.$ac_ext
26351.6Stvfi
26361.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
26401.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26411.43SdbjEOF
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.45Sjmcecho "$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.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
26571.45Sjmc#line 2657 "configure"
26581.43Sdbj#include "confdefs.h"
26591.7Stv#include <$ac_header>
26601.7Stv_ACEOF
26611.45Sjmcif { (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.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
26651.7Stv  rm -f conftest.er1
26661.7Stv  cat conftest.err >&5
26671.45Sjmc  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.43Sdbj  eval "$as_ac_Header=yes"
26791.7Stvelse
26801.7Stv  echo "$as_me: failed program was:" >&5
26811.43Sdbj  cat conftest.$ac_ext >&5
26821.43Sdbj  eval "$as_ac_Header=no"
26831.43Sdbjfi
26841.43Sdbjrm -f conftest.err conftest.$ac_ext
26851.43Sdbjfi
26861.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<EOF
26901.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26911.43SdbjEOF
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.43Sdbjdone
27031.43Sdbj
27041.43Sdbj# Typedefs.
27051.43Sdbj# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27061.39Sfredb
27071.43Sdbjfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27081.43Sdbj                  inttypes.h stdint.h unistd.h
27091.43Sdbjdo
27101.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27111.45Sjmcecho "$as_me:2711: checking for $ac_header" >&5
27121.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27131.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
27141.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
27151.39Sfredbelse
27161.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
27171.45Sjmc#line 2717 "configure"
27181.43Sdbj#include "confdefs.h"
27191.43Sdbj$ac_includes_default
27201.43Sdbj#include <$ac_header>
27211.43Sdbj_ACEOF
27221.43Sdbjrm -f conftest.$ac_objext
27231.45Sjmcif { (eval echo "$as_me:2723: \"$ac_compile\"") >&5
27241.43Sdbj  (eval $ac_compile) 2>&5
27251.43Sdbj  ac_status=$?
27261.45Sjmc  echo "$as_me:2726: \$? = $ac_status" >&5
27271.43Sdbj  (exit $ac_status); } &&
27281.43Sdbj         { ac_try='test -s conftest.$ac_objext'
27291.45Sjmc  { (eval echo "$as_me:2729: \"$ac_try\"") >&5
27301.43Sdbj  (eval $ac_try) 2>&5
27311.43Sdbj  ac_status=$?
27321.45Sjmc  echo "$as_me:2732: \$? = $ac_status" >&5
27331.43Sdbj  (exit $ac_status); }; }; then
27341.43Sdbj  eval "$as_ac_Header=yes"
27351.43Sdbjelse
27361.43Sdbj  echo "$as_me: failed program was:" >&5
27371.43Sdbjcat conftest.$ac_ext >&5
27381.43Sdbjeval "$as_ac_Header=no"
27391.43Sdbjfi
27401.43Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
27411.7Stvfi
27421.45Sjmcecho "$as_me:2742: result: `eval echo '${'$as_ac_Header'}'`" >&5
27431.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
27451.43Sdbj  cat >>confdefs.h <<EOF
27461.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27471.43SdbjEOF
27481.7Stv
27491.7Stvfi
27501.7Stvdone
27511.7Stv
27521.45Sjmcecho "$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.45Sjmc#line 2758 "configure"
27591.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2773: \"$ac_compile\"") >&5
27741.6Stv  (eval $ac_compile) 2>&5
27751.6Stv  ac_status=$?
27761.45Sjmc  echo "$as_me:2776: \$? = $ac_status" >&5
27771.6Stv  (exit $ac_status); } &&
27781.6Stv         { ac_try='test -s conftest.$ac_objext'
27791.45Sjmc  { (eval echo "$as_me:2779: \"$ac_try\"") >&5
27801.6Stv  (eval $ac_try) 2>&5
27811.6Stv  ac_status=$?
27821.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
27881.6Stvac_cv_type_size_t=no
27891.6Stvfi
27901.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27911.6Stvfi
27921.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
27991.6Stv#define size_t unsigned
28001.43SdbjEOF
28011.6Stv
28021.6Stvfi
28031.6Stv
28041.45Sjmcecho "$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.45Sjmc#line 2810 "configure"
28111.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2825: \"$ac_compile\"") >&5
28261.6Stv  (eval $ac_compile) 2>&5
28271.6Stv  ac_status=$?
28281.45Sjmc  echo "$as_me:2828: \$? = $ac_status" >&5
28291.6Stv  (exit $ac_status); } &&
28301.6Stv         { ac_try='test -s conftest.$ac_objext'
28311.45Sjmc  { (eval echo "$as_me:2831: \"$ac_try\"") >&5
28321.6Stv  (eval $ac_try) 2>&5
28331.6Stv  ac_status=$?
28341.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
28401.6Stvac_cv_type_id_t=no
28411.6Stvfi
28421.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28431.6Stvfi
28441.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
28491.6Stv#define HAVE_ID_T 1
28501.43SdbjEOF
28511.6Stv
28521.6Stvfi
28531.45Sjmcecho "$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.45Sjmc#line 2859 "configure"
28601.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2874: \"$ac_compile\"") >&5
28751.6Stv  (eval $ac_compile) 2>&5
28761.6Stv  ac_status=$?
28771.45Sjmc  echo "$as_me:2877: \$? = $ac_status" >&5
28781.6Stv  (exit $ac_status); } &&
28791.6Stv         { ac_try='test -s conftest.$ac_objext'
28801.45Sjmc  { (eval echo "$as_me:2880: \"$ac_try\"") >&5
28811.6Stv  (eval $ac_try) 2>&5
28821.6Stv  ac_status=$?
28831.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
28891.6Stvac_cv_type_long_long=no
28901.6Stvfi
28911.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28921.6Stvfi
28931.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
28981.6Stv#define HAVE_LONG_LONG 1
28991.43SdbjEOF
29001.6Stv
29011.6Stvfi
29021.45Sjmcecho "$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.45Sjmc#line 2908 "configure"
29091.43Sdbj#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.45Sjmcif { (eval echo "$as_me:2923: \"$ac_compile\"") >&5
29241.38Sfredb  (eval $ac_compile) 2>&5
29251.38Sfredb  ac_status=$?
29261.45Sjmc  echo "$as_me:2926: \$? = $ac_status" >&5
29271.38Sfredb  (exit $ac_status); } &&
29281.38Sfredb         { ac_try='test -s conftest.$ac_objext'
29291.45Sjmc  { (eval echo "$as_me:2929: \"$ac_try\"") >&5
29301.38Sfredb  (eval $ac_try) 2>&5
29311.38Sfredb  ac_status=$?
29321.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
29381.38Sfredbac_cv_type_u_long=no
29391.38Sfredbfi
29401.38Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
29411.38Sfredbfi
29421.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
29471.38Sfredb#define HAVE_U_LONG 1
29481.43SdbjEOF
29491.39Sfredb
29501.38Sfredbfi
29511.45Sjmcecho "$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.45Sjmc#line 2957 "configure"
29581.45Sjmc#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.45Sjmcif { (eval echo "$as_me:2972: \"$ac_compile\"") >&5
29731.45Sjmc  (eval $ac_compile) 2>&5
29741.45Sjmc  ac_status=$?
29751.45Sjmc  echo "$as_me:2975: \$? = $ac_status" >&5
29761.45Sjmc  (exit $ac_status); } &&
29771.45Sjmc         { ac_try='test -s conftest.$ac_objext'
29781.45Sjmc  { (eval echo "$as_me:2978: \"$ac_try\"") >&5
29791.45Sjmc  (eval $ac_try) 2>&5
29801.45Sjmc  ac_status=$?
29811.45Sjmc  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.45Sjmccat conftest.$ac_ext >&5
29871.45Sjmcac_cv_type_u_char=no
29881.45Sjmcfi
29891.45Sjmcrm -f conftest.$ac_objext conftest.$ac_ext
29901.45Sjmcfi
29911.45Sjmcecho "$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.45Sjmccat >>confdefs.h <<EOF
29961.45Sjmc#define HAVE_U_CHAR 1
29971.45SjmcEOF
29981.45Sjmc
29991.45Sjmcfi
30001.45Sjmcecho "$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.45Sjmc#line 3006 "configure"
30071.45Sjmc#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.45Sjmcif { (eval echo "$as_me:3021: \"$ac_compile\"") >&5
30221.45Sjmc  (eval $ac_compile) 2>&5
30231.45Sjmc  ac_status=$?
30241.45Sjmc  echo "$as_me:3024: \$? = $ac_status" >&5
30251.45Sjmc  (exit $ac_status); } &&
30261.45Sjmc         { ac_try='test -s conftest.$ac_objext'
30271.45Sjmc  { (eval echo "$as_me:3027: \"$ac_try\"") >&5
30281.45Sjmc  (eval $ac_try) 2>&5
30291.45Sjmc  ac_status=$?
30301.45Sjmc  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.45Sjmccat conftest.$ac_ext >&5
30361.45Sjmcac_cv_type_u_short=no
30371.45Sjmcfi
30381.45Sjmcrm -f conftest.$ac_objext conftest.$ac_ext
30391.45Sjmcfi
30401.45Sjmcecho "$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.45Sjmccat >>confdefs.h <<EOF
30451.45Sjmc#define HAVE_U_SHORT 1
30461.45SjmcEOF
30471.45Sjmc
30481.45Sjmcfi
30491.45Sjmcecho "$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.45Sjmc#line 3055 "configure"
30561.45Sjmc#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.45Sjmcif { (eval echo "$as_me:3070: \"$ac_compile\"") >&5
30711.45Sjmc  (eval $ac_compile) 2>&5
30721.45Sjmc  ac_status=$?
30731.45Sjmc  echo "$as_me:3073: \$? = $ac_status" >&5
30741.45Sjmc  (exit $ac_status); } &&
30751.45Sjmc         { ac_try='test -s conftest.$ac_objext'
30761.45Sjmc  { (eval echo "$as_me:3076: \"$ac_try\"") >&5
30771.45Sjmc  (eval $ac_try) 2>&5
30781.45Sjmc  ac_status=$?
30791.45Sjmc  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.45Sjmccat conftest.$ac_ext >&5
30851.45Sjmcac_cv_type_u_int=no
30861.45Sjmcfi
30871.45Sjmcrm -f conftest.$ac_objext conftest.$ac_ext
30881.45Sjmcfi
30891.45Sjmcecho "$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.45Sjmccat >>confdefs.h <<EOF
30941.45Sjmc#define HAVE_U_INT 1
30951.45SjmcEOF
30961.45Sjmc
30971.45Sjmcfi
30981.45Sjmcecho "$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.45Sjmc#line 3104 "configure"
31051.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3119: \"$ac_compile\"") >&5
31201.7Stv  (eval $ac_compile) 2>&5
31211.7Stv  ac_status=$?
31221.45Sjmc  echo "$as_me:3122: \$? = $ac_status" >&5
31231.7Stv  (exit $ac_status); } &&
31241.7Stv         { ac_try='test -s conftest.$ac_objext'
31251.45Sjmc  { (eval echo "$as_me:3125: \"$ac_try\"") >&5
31261.7Stv  (eval $ac_try) 2>&5
31271.7Stv  ac_status=$?
31281.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
31341.7Stvac_cv_type_u_quad_t=no
31351.7Stvfi
31361.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
31371.7Stvfi
31381.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
31431.7Stv#define HAVE_U_QUAD_T 1
31441.43SdbjEOF
31451.7Stv
31461.7Stvfi
31471.35Sthorpej
31481.45Sjmcecho "$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.45Sjmc#line 3154 "configure"
31551.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3171: \"$ac_compile\"") >&5
31721.34Sthorpej  (eval $ac_compile) 2>&5
31731.34Sthorpej  ac_status=$?
31741.45Sjmc  echo "$as_me:3174: \$? = $ac_status" >&5
31751.34Sthorpej  (exit $ac_status); } &&
31761.34Sthorpej         { ac_try='test -s conftest.$ac_objext'
31771.45Sjmc  { (eval echo "$as_me:3177: \"$ac_try\"") >&5
31781.34Sthorpej  (eval $ac_try) 2>&5
31791.34Sthorpej  ac_status=$?
31801.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
31861.34Sthorpejac_cv_type_socklen_t=no
31871.34Sthorpejfi
31881.34Sthorpejrm -f conftest.$ac_objext conftest.$ac_ext
31891.34Sthorpejfi
31901.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
31941.34Sthorpej#define HAVE_SOCKLEN_T 1
31951.43SdbjEOF
31961.34Sthorpej
31971.34Sthorpejfi
31981.34Sthorpej
31991.45Sjmc	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.45Sjmc#line 3205 "configure"
32061.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3220: \"$ac_compile\"") >&5
32211.6Stv  (eval $ac_compile) 2>&5
32221.6Stv  ac_status=$?
32231.45Sjmc  echo "$as_me:3223: \$? = $ac_status" >&5
32241.6Stv  (exit $ac_status); } &&
32251.6Stv         { ac_try='test -s conftest.$ac_objext'
32261.45Sjmc  { (eval echo "$as_me:3226: \"$ac_try\"") >&5
32271.6Stv  (eval $ac_try) 2>&5
32281.6Stv  ac_status=$?
32291.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
32351.9Stvac_cv_type_uint8_t=no
32361.9Stvfi
32371.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
32381.9Stvfi
32391.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3251 "configure"
32521.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3266: \"$ac_compile\"") >&5
32671.9Stv  (eval $ac_compile) 2>&5
32681.9Stv  ac_status=$?
32691.45Sjmc  echo "$as_me:3269: \$? = $ac_status" >&5
32701.9Stv  (exit $ac_status); } &&
32711.9Stv         { ac_try='test -s conftest.$ac_objext'
32721.45Sjmc  { (eval echo "$as_me:3272: \"$ac_try\"") >&5
32731.9Stv  (eval $ac_try) 2>&5
32741.9Stv  ac_status=$?
32751.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
32811.6Stvac_cv_type_u_int8_t=no
32821.6Stvfi
32831.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32841.6Stvfi
32851.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
32891.9Stv#define uint8_t u_int8_t
32901.43SdbjEOF
32911.9Stv
32921.9Stvelse
32931.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3306 "configure"
33071.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3321: \"$ac_compile\"") >&5
33221.9Stv  (eval $ac_compile) 2>&5
33231.9Stv  ac_status=$?
33241.45Sjmc  echo "$as_me:3324: \$? = $ac_status" >&5
33251.9Stv  (exit $ac_status); } &&
33261.9Stv         { ac_try='test -s conftest.$ac_objext'
33271.45Sjmc  { (eval echo "$as_me:3327: \"$ac_try\"") >&5
33281.9Stv  (eval $ac_try) 2>&5
33291.9Stv  ac_status=$?
33301.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
33361.9Stvac_cv_type_u_int8_t=no
33371.9Stvfi
33381.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33391.9Stvfi
33401.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3352 "configure"
33531.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3367: \"$ac_compile\"") >&5
33681.6Stv  (eval $ac_compile) 2>&5
33691.6Stv  ac_status=$?
33701.45Sjmc  echo "$as_me:3370: \$? = $ac_status" >&5
33711.6Stv  (exit $ac_status); } &&
33721.6Stv         { ac_try='test -s conftest.$ac_objext'
33731.45Sjmc  { (eval echo "$as_me:3373: \"$ac_try\"") >&5
33741.6Stv  (eval $ac_try) 2>&5
33751.6Stv  ac_status=$?
33761.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
33821.6Stvac_cv_type_uint8_t=no
33831.4Stvfi
33841.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
33851.4Stvfi
33861.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
33901.6Stv#define u_int8_t uint8_t
33911.43SdbjEOF
33921.4Stv
33931.6Stvelse
33941.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3407 "configure"
34081.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3422: \"$ac_compile\"") >&5
34231.9Stv  (eval $ac_compile) 2>&5
34241.9Stv  ac_status=$?
34251.45Sjmc  echo "$as_me:3425: \$? = $ac_status" >&5
34261.9Stv  (exit $ac_status); } &&
34271.9Stv         { ac_try='test -s conftest.$ac_objext'
34281.45Sjmc  { (eval echo "$as_me:3428: \"$ac_try\"") >&5
34291.9Stv  (eval $ac_try) 2>&5
34301.9Stv  ac_status=$?
34311.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
34371.9Stvac_cv_type_uint16_t=no
34381.9Stvfi
34391.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
34401.9Stvfi
34411.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3453 "configure"
34541.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3468: \"$ac_compile\"") >&5
34691.9Stv  (eval $ac_compile) 2>&5
34701.9Stv  ac_status=$?
34711.45Sjmc  echo "$as_me:3471: \$? = $ac_status" >&5
34721.9Stv  (exit $ac_status); } &&
34731.9Stv         { ac_try='test -s conftest.$ac_objext'
34741.45Sjmc  { (eval echo "$as_me:3474: \"$ac_try\"") >&5
34751.9Stv  (eval $ac_try) 2>&5
34761.9Stv  ac_status=$?
34771.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
34831.9Stvac_cv_type_u_int16_t=no
34841.9Stvfi
34851.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
34861.9Stvfi
34871.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
34911.9Stv#define uint16_t u_int16_t
34921.43SdbjEOF
34931.9Stv
34941.9Stvelse
34951.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3508 "configure"
35091.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3523: \"$ac_compile\"") >&5
35241.6Stv  (eval $ac_compile) 2>&5
35251.6Stv  ac_status=$?
35261.45Sjmc  echo "$as_me:3526: \$? = $ac_status" >&5
35271.6Stv  (exit $ac_status); } &&
35281.6Stv         { ac_try='test -s conftest.$ac_objext'
35291.45Sjmc  { (eval echo "$as_me:3529: \"$ac_try\"") >&5
35301.6Stv  (eval $ac_try) 2>&5
35311.1Stv  ac_status=$?
35321.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
35381.6Stvac_cv_type_u_int16_t=no
35391.6Stvfi
35401.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
35411.1Stvfi
35421.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3554 "configure"
35551.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3569: \"$ac_compile\"") >&5
35701.6Stv  (eval $ac_compile) 2>&5
35711.6Stv  ac_status=$?
35721.45Sjmc  echo "$as_me:3572: \$? = $ac_status" >&5
35731.6Stv  (exit $ac_status); } &&
35741.6Stv         { ac_try='test -s conftest.$ac_objext'
35751.45Sjmc  { (eval echo "$as_me:3575: \"$ac_try\"") >&5
35761.6Stv  (eval $ac_try) 2>&5
35771.6Stv  ac_status=$?
35781.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
35841.6Stvac_cv_type_uint16_t=no
35851.1Stvfi
35861.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
35871.1Stvfi
35881.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
35921.6Stv#define u_int16_t uint16_t
35931.43SdbjEOF
35941.1Stv
35951.1Stvelse
35961.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3609 "configure"
36101.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3624: \"$ac_compile\"") >&5
36251.9Stv  (eval $ac_compile) 2>&5
36261.9Stv  ac_status=$?
36271.45Sjmc  echo "$as_me:3627: \$? = $ac_status" >&5
36281.9Stv  (exit $ac_status); } &&
36291.9Stv         { ac_try='test -s conftest.$ac_objext'
36301.45Sjmc  { (eval echo "$as_me:3630: \"$ac_try\"") >&5
36311.9Stv  (eval $ac_try) 2>&5
36321.9Stv  ac_status=$?
36331.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
36391.9Stvac_cv_type_uint32_t=no
36401.9Stvfi
36411.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
36421.9Stvfi
36431.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3655 "configure"
36561.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3670: \"$ac_compile\"") >&5
36711.9Stv  (eval $ac_compile) 2>&5
36721.9Stv  ac_status=$?
36731.45Sjmc  echo "$as_me:3673: \$? = $ac_status" >&5
36741.9Stv  (exit $ac_status); } &&
36751.9Stv         { ac_try='test -s conftest.$ac_objext'
36761.45Sjmc  { (eval echo "$as_me:3676: \"$ac_try\"") >&5
36771.9Stv  (eval $ac_try) 2>&5
36781.9Stv  ac_status=$?
36791.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
36851.9Stvac_cv_type_u_int32_t=no
36861.9Stvfi
36871.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
36881.9Stvfi
36891.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
36931.9Stv#define uint32_t u_int32_t
36941.43SdbjEOF
36951.9Stv
36961.9Stvelse
36971.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3710 "configure"
37111.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3725: \"$ac_compile\"") >&5
37261.6Stv  (eval $ac_compile) 2>&5
37271.1Stv  ac_status=$?
37281.45Sjmc  echo "$as_me:3728: \$? = $ac_status" >&5
37291.6Stv  (exit $ac_status); } &&
37301.6Stv         { ac_try='test -s conftest.$ac_objext'
37311.45Sjmc  { (eval echo "$as_me:3731: \"$ac_try\"") >&5
37321.1Stv  (eval $ac_try) 2>&5
37331.1Stv  ac_status=$?
37341.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
37401.6Stvac_cv_type_u_int32_t=no
37411.1Stvfi
37421.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
37431.1Stvfi
37441.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3756 "configure"
37571.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3771: \"$ac_compile\"") >&5
37721.1Stv  (eval $ac_compile) 2>&5
37731.1Stv  ac_status=$?
37741.45Sjmc  echo "$as_me:3774: \$? = $ac_status" >&5
37751.1Stv  (exit $ac_status); } &&
37761.1Stv         { ac_try='test -s conftest.$ac_objext'
37771.45Sjmc  { (eval echo "$as_me:3777: \"$ac_try\"") >&5
37781.1Stv  (eval $ac_try) 2>&5
37791.1Stv  ac_status=$?
37801.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
37861.6Stvac_cv_type_uint32_t=no
37871.1Stvfi
37881.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
37891.1Stvfi
37901.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
37941.6Stv#define u_int32_t uint32_t
37951.43SdbjEOF
37961.1Stv
37971.6Stvelse
37981.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3811 "configure"
38121.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3826: \"$ac_compile\"") >&5
38271.9Stv  (eval $ac_compile) 2>&5
38281.9Stv  ac_status=$?
38291.45Sjmc  echo "$as_me:3829: \$? = $ac_status" >&5
38301.9Stv  (exit $ac_status); } &&
38311.9Stv         { ac_try='test -s conftest.$ac_objext'
38321.45Sjmc  { (eval echo "$as_me:3832: \"$ac_try\"") >&5
38331.9Stv  (eval $ac_try) 2>&5
38341.9Stv  ac_status=$?
38351.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
38411.9Stvac_cv_type_uint64_t=no
38421.9Stvfi
38431.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
38441.9Stvfi
38451.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3857 "configure"
38581.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3872: \"$ac_compile\"") >&5
38731.9Stv  (eval $ac_compile) 2>&5
38741.9Stv  ac_status=$?
38751.45Sjmc  echo "$as_me:3875: \$? = $ac_status" >&5
38761.9Stv  (exit $ac_status); } &&
38771.9Stv         { ac_try='test -s conftest.$ac_objext'
38781.45Sjmc  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
38791.9Stv  (eval $ac_try) 2>&5
38801.9Stv  ac_status=$?
38811.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
38871.9Stvac_cv_type_u_int64_t=no
38881.9Stvfi
38891.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
38901.9Stvfi
38911.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
38951.9Stv#define uint64_t u_int64_t
38961.43SdbjEOF
38971.9Stv
38981.9Stvelse
38991.45Sjmc  { { 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.45Sjmc	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.45Sjmc#line 3912 "configure"
39131.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3927: \"$ac_compile\"") >&5
39281.1Stv  (eval $ac_compile) 2>&5
39291.1Stv  ac_status=$?
39301.45Sjmc  echo "$as_me:3930: \$? = $ac_status" >&5
39311.1Stv  (exit $ac_status); } &&
39321.1Stv         { ac_try='test -s conftest.$ac_objext'
39331.45Sjmc  { (eval echo "$as_me:3933: \"$ac_try\"") >&5
39341.1Stv  (eval $ac_try) 2>&5
39351.1Stv  ac_status=$?
39361.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
39421.6Stvac_cv_type_u_int64_t=no
39431.1Stvfi
39441.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
39451.1Stvfi
39461.45Sjmcecho "$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.45Sjmc		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.45Sjmc#line 3958 "configure"
39591.43Sdbj#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.45Sjmcif { (eval echo "$as_me:3973: \"$ac_compile\"") >&5
39741.4Stv  (eval $ac_compile) 2>&5
39751.4Stv  ac_status=$?
39761.45Sjmc  echo "$as_me:3976: \$? = $ac_status" >&5
39771.4Stv  (exit $ac_status); } &&
39781.4Stv         { ac_try='test -s conftest.$ac_objext'
39791.45Sjmc  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
39801.4Stv  (eval $ac_try) 2>&5
39811.4Stv  ac_status=$?
39821.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
39881.6Stvac_cv_type_uint64_t=no
39891.4Stvfi
39901.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
39911.4Stvfi
39921.45Sjmcecho "$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.43Sdbj  cat >>confdefs.h <<\EOF
39961.6Stv#define u_int64_t uint64_t
39971.43SdbjEOF
39981.4Stv
39991.6Stvelse
40001.45Sjmc  { { 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.45Sjmcecho "$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.45Sjmc#line 4014 "configure"
40151.43Sdbj#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.45Sjmcif { (eval echo "$as_me:4030: \"$ac_compile\"") >&5
40311.7Stv  (eval $ac_compile) 2>&5
40321.7Stv  ac_status=$?
40331.45Sjmc  echo "$as_me:4033: \$? = $ac_status" >&5
40341.7Stv  (exit $ac_status); } &&
40351.7Stv         { ac_try='test -s conftest.$ac_objext'
40361.45Sjmc  { (eval echo "$as_me:4036: \"$ac_try\"") >&5
40371.7Stv  (eval $ac_try) 2>&5
40381.7Stv  ac_status=$?
40391.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
40451.7Stvac_cv_member_DIR_dd_fd=no
40461.7Stvfi
40471.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40481.7Stvfi
40491.45Sjmcecho "$as_me:4049: result: $ac_cv_member_DIR_dd_fd" >&5
40501.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40511.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
40521.7Stv
40531.43Sdbjcat >>confdefs.h <<EOF
40541.7Stv#define HAVE_DIR_DD_FD 1
40551.43SdbjEOF
40561.7Stv
40571.7Stvfi
40581.45Sjmcecho "$as_me:4058: checking for struct dirent.d_namlen" >&5
40591.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
40601.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
40611.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40621.8Stvelse
40631.8Stv  cat >conftest.$ac_ext <<_ACEOF
40641.45Sjmc#line 4064 "configure"
40651.43Sdbj#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.8Stvif (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.45Sjmcif { (eval echo "$as_me:4080: \"$ac_compile\"") >&5
40811.8Stv  (eval $ac_compile) 2>&5
40821.8Stv  ac_status=$?
40831.45Sjmc  echo "$as_me:4083: \$? = $ac_status" >&5
40841.8Stv  (exit $ac_status); } &&
40851.8Stv         { ac_try='test -s conftest.$ac_objext'
40861.45Sjmc  { (eval echo "$as_me:4086: \"$ac_try\"") >&5
40871.8Stv  (eval $ac_try) 2>&5
40881.8Stv  ac_status=$?
40891.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
40951.8Stvac_cv_member_struct_dirent_d_namlen=no
40961.8Stvfi
40971.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
40981.8Stvfi
40991.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
41041.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41051.43SdbjEOF
41061.39Sfredb
41071.39Sfredbfi
41081.39Sfredb
41091.45Sjmcecho "$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.45Sjmc#line 4115 "configure"
41161.43Sdbj#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.45Sjmcif { (eval echo "$as_me:4130: \"$ac_compile\"") >&5
41311.4Stv  (eval $ac_compile) 2>&5
41321.4Stv  ac_status=$?
41331.45Sjmc  echo "$as_me:4133: \$? = $ac_status" >&5
41341.4Stv  (exit $ac_status); } &&
41351.4Stv         { ac_try='test -s conftest.$ac_objext'
41361.45Sjmc  { (eval echo "$as_me:4136: \"$ac_try\"") >&5
41371.4Stv  (eval $ac_try) 2>&5
41381.4Stv  ac_status=$?
41391.45Sjmc  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.43Sdbjcat conftest.$ac_ext >&5
41451.43Sdbjac_cv_member_struct_stat_st_flags=no
41461.39Sfredbfi
41471.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
41481.4Stvfi
41491.45Sjmcecho "$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.43Sdbjcat >>confdefs.h <<EOF
41541.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1
41551.43SdbjEOF
41561.4Stv
41571.4Stvfi
41581.45Sjmcecho "$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.45Sjmc#line 4164 "configure"
41651.43Sdbj#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.45Sjmcif { (eval echo "$as_me:4179: \"$ac_compile\"") >&5
41801.40Satatat  (eval $ac_compile) 2>&5
41811.40Satatat  ac_status=$?
41821.45Sjmc  echo "$as_me:4182: \$? = $ac_status" >&5
41831.40Satatat  (exit $ac_status); } &&
41841.40Satatat         { ac_try='test -s conftest.$ac_objext'
41851.45Sjmc  { (eval echo "$as_me:4185: \"$ac_try\"") >&5
41861.40Satatat  (eval $ac_try) 2>&5
41871.40Satatat  ac_status=$?
41881.45Sjmc  echo "$as_me:4188: \$? = $ac_status" >&5
41891.40Satatat  (exit $ac_status); }; }; then
41901.43Sdbj  ac_cv_member_struct_stat_st_gen=yes
41911.40Satatatelse
41921.40Satatat  echo "$as_me: failed program was:" >&5
41931.43Sdbjcat conftest.$ac_ext >&5
41941.43Sdbjac_cv_member_struct_stat_st_gen=no
41951.43Sdbjfi
41961.43Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
41971.43Sdbjfi
41981.45Sjmcecho "$as_me:4198: result: $ac_cv_member_struct_stat_st_gen" >&5
41991.43Sdbjecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42001.43Sdbjif test $ac_cv_member_struct_stat_st_gen = yes; then
42011.43Sdbj
42021.43Sdbjcat >>confdefs.h <<EOF
42031.43Sdbj#define HAVE_STRUCT_STAT_ST_GEN 1
42041.43SdbjEOF
42051.40Satatat
42061.43Sdbjfi
42071.45Sjmcecho "$as_me:4207: checking for struct stat.st_birthtime" >&5
42081.43Sdbjecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42091.43Sdbjif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42101.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
42111.43Sdbjelse
42121.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
42131.45Sjmc#line 4213 "configure"
42141.43Sdbj#include "confdefs.h"
42151.40Satatat#include <sys/stat.h>
42161.40Satatat
42171.40Satatatint
42181.40Satatatmain ()
42191.40Satatat{
42201.40Satatatstatic struct stat ac_aggr;
42211.43Sdbjif (ac_aggr.st_birthtime)
42221.40Satatatreturn 0;
42231.40Satatat  ;
42241.40Satatat  return 0;
42251.40Satatat}
42261.40Satatat_ACEOF
42271.40Satatatrm -f conftest.$ac_objext
42281.45Sjmcif { (eval echo "$as_me:4228: \"$ac_compile\"") >&5
42291.40Satatat  (eval $ac_compile) 2>&5
42301.40Satatat  ac_status=$?
42311.45Sjmc  echo "$as_me:4231: \$? = $ac_status" >&5
42321.40Satatat  (exit $ac_status); } &&
42331.40Satatat         { ac_try='test -s conftest.$ac_objext'
42341.45Sjmc  { (eval echo "$as_me:4234: \"$ac_try\"") >&5
42351.40Satatat  (eval $ac_try) 2>&5
42361.40Satatat  ac_status=$?
42371.45Sjmc  echo "$as_me:4237: \$? = $ac_status" >&5
42381.40Satatat  (exit $ac_status); }; }; then
42391.40Satatat  ac_cv_member_struct_stat_st_birthtime=yes
42401.40Satatatelse
42411.40Satatat  echo "$as_me: failed program was:" >&5
42421.43Sdbjcat conftest.$ac_ext >&5
42431.40Satatatac_cv_member_struct_stat_st_birthtime=no
42441.40Satatatfi
42451.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
42461.40Satatatfi
42471.45Sjmcecho "$as_me:4247: result: $ac_cv_member_struct_stat_st_birthtime" >&5
42481.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
42491.40Satatatif test $ac_cv_member_struct_stat_st_birthtime = yes; then
42501.40Satatat
42511.43Sdbjcat >>confdefs.h <<EOF
42521.40Satatat#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
42531.43SdbjEOF
42541.40Satatat
42551.40Satatatfi
42561.45Sjmcecho "$as_me:4256: checking for struct stat.st_atim" >&5
42571.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
42581.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
42591.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
42601.40Satatatelse
42611.40Satatat  cat >conftest.$ac_ext <<_ACEOF
42621.45Sjmc#line 4262 "configure"
42631.43Sdbj#include "confdefs.h"
42641.40Satatat#include <sys/stat.h>
42651.40Satatat
42661.40Satatatint
42671.40Satatatmain ()
42681.40Satatat{
42691.40Satatatstatic struct stat ac_aggr;
42701.40Satatatif (ac_aggr.st_atim)
42711.40Satatatreturn 0;
42721.40Satatat  ;
42731.40Satatat  return 0;
42741.40Satatat}
42751.40Satatat_ACEOF
42761.40Satatatrm -f conftest.$ac_objext
42771.45Sjmcif { (eval echo "$as_me:4277: \"$ac_compile\"") >&5
42781.40Satatat  (eval $ac_compile) 2>&5
42791.40Satatat  ac_status=$?
42801.45Sjmc  echo "$as_me:4280: \$? = $ac_status" >&5
42811.40Satatat  (exit $ac_status); } &&
42821.40Satatat         { ac_try='test -s conftest.$ac_objext'
42831.45Sjmc  { (eval echo "$as_me:4283: \"$ac_try\"") >&5
42841.40Satatat  (eval $ac_try) 2>&5
42851.40Satatat  ac_status=$?
42861.45Sjmc  echo "$as_me:4286: \$? = $ac_status" >&5
42871.40Satatat  (exit $ac_status); }; }; then
42881.40Satatat  ac_cv_member_struct_stat_st_atim=yes
42891.40Satatatelse
42901.40Satatat  echo "$as_me: failed program was:" >&5
42911.43Sdbjcat conftest.$ac_ext >&5
42921.40Satatatac_cv_member_struct_stat_st_atim=no
42931.40Satatatfi
42941.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
42951.40Satatatfi
42961.45Sjmcecho "$as_me:4296: result: $ac_cv_member_struct_stat_st_atim" >&5
42971.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
42981.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then
42991.40Satatat
43001.43Sdbjcat >>confdefs.h <<EOF
43011.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1
43021.43SdbjEOF
43031.40Satatat
43041.40Satatatfi
43051.45Sjmcecho "$as_me:4305: checking for struct stat.st_mtimensec" >&5
43061.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
43071.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
43081.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43091.7Stvelse
43101.7Stv  cat >conftest.$ac_ext <<_ACEOF
43111.45Sjmc#line 4311 "configure"
43121.43Sdbj#include "confdefs.h"
43131.7Stv#include <sys/stat.h>
43141.7Stv
43151.7Stvint
43161.7Stvmain ()
43171.7Stv{
43181.7Stvstatic struct stat ac_aggr;
43191.39Sfredbif (ac_aggr.st_mtimensec)
43201.7Stvreturn 0;
43211.7Stv  ;
43221.7Stv  return 0;
43231.7Stv}
43241.7Stv_ACEOF
43251.7Stvrm -f conftest.$ac_objext
43261.45Sjmcif { (eval echo "$as_me:4326: \"$ac_compile\"") >&5
43271.7Stv  (eval $ac_compile) 2>&5
43281.7Stv  ac_status=$?
43291.45Sjmc  echo "$as_me:4329: \$? = $ac_status" >&5
43301.7Stv  (exit $ac_status); } &&
43311.7Stv         { ac_try='test -s conftest.$ac_objext'
43321.45Sjmc  { (eval echo "$as_me:4332: \"$ac_try\"") >&5
43331.7Stv  (eval $ac_try) 2>&5
43341.7Stv  ac_status=$?
43351.45Sjmc  echo "$as_me:4335: \$? = $ac_status" >&5
43361.7Stv  (exit $ac_status); }; }; then
43371.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
43381.7Stvelse
43391.7Stv  echo "$as_me: failed program was:" >&5
43401.43Sdbjcat conftest.$ac_ext >&5
43411.7Stvac_cv_member_struct_stat_st_mtimensec=no
43421.7Stvfi
43431.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
43441.7Stvfi
43451.45Sjmcecho "$as_me:4345: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
43461.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
43471.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
43481.7Stv
43491.43Sdbjcat >>confdefs.h <<EOF
43501.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
43511.43SdbjEOF
43521.7Stv
43531.7Stvfi
43541.4Stv
43551.47Sdbjecho "$as_me:4355: checking for struct statvfs.f_iosize" >&5
43561.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
43571.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
43581.47Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
43591.47Sdbjelse
43601.47Sdbj  cat >conftest.$ac_ext <<_ACEOF
43611.47Sdbj#line 4361 "configure"
43621.47Sdbj#include "confdefs.h"
43631.47Sdbj#include <sys/statvfs.h>
43641.47Sdbj
43651.47Sdbjint
43661.47Sdbjmain ()
43671.47Sdbj{
43681.47Sdbjstatic struct statvfs ac_aggr;
43691.47Sdbjif (ac_aggr.f_iosize)
43701.47Sdbjreturn 0;
43711.47Sdbj  ;
43721.47Sdbj  return 0;
43731.47Sdbj}
43741.47Sdbj_ACEOF
43751.47Sdbjrm -f conftest.$ac_objext
43761.47Sdbjif { (eval echo "$as_me:4376: \"$ac_compile\"") >&5
43771.47Sdbj  (eval $ac_compile) 2>&5
43781.47Sdbj  ac_status=$?
43791.47Sdbj  echo "$as_me:4379: \$? = $ac_status" >&5
43801.47Sdbj  (exit $ac_status); } &&
43811.47Sdbj         { ac_try='test -s conftest.$ac_objext'
43821.47Sdbj  { (eval echo "$as_me:4382: \"$ac_try\"") >&5
43831.47Sdbj  (eval $ac_try) 2>&5
43841.47Sdbj  ac_status=$?
43851.47Sdbj  echo "$as_me:4385: \$? = $ac_status" >&5
43861.47Sdbj  (exit $ac_status); }; }; then
43871.47Sdbj  ac_cv_member_struct_statvfs_f_iosize=yes
43881.47Sdbjelse
43891.47Sdbj  echo "$as_me: failed program was:" >&5
43901.47Sdbjcat conftest.$ac_ext >&5
43911.47Sdbjac_cv_member_struct_statvfs_f_iosize=no
43921.47Sdbjfi
43931.47Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
43941.47Sdbjfi
43951.47Sdbjecho "$as_me:4395: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
43961.47Sdbjecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
43971.47Sdbjif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
43981.47Sdbj
43991.47Sdbjcat >>confdefs.h <<EOF
44001.47Sdbj#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
44011.47SdbjEOF
44021.47Sdbj
44031.47Sdbjfi
44041.47Sdbj
44051.4Stv# Global variable decls.
44061.47Sdbjecho "$as_me:4406: checking whether optind is declared" >&5
44071.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
44081.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
44091.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44101.7Stvelse
44111.7Stv  cat >conftest.$ac_ext <<_ACEOF
44121.47Sdbj#line 4412 "configure"
44131.43Sdbj#include "confdefs.h"
44141.7Stv
44151.7Stv#include <stdio.h>
44161.7Stv#include <stdlib.h>
44171.7Stv#include <unistd.h>
44181.7Stv
44191.7Stvint
44201.7Stvmain ()
44211.7Stv{
44221.7Stv#ifndef optind
44231.7Stv  char *p = (char *) optind;
44241.7Stv#endif
44251.7Stv
44261.7Stv  ;
44271.7Stv  return 0;
44281.7Stv}
44291.7Stv_ACEOF
44301.7Stvrm -f conftest.$ac_objext
44311.47Sdbjif { (eval echo "$as_me:4431: \"$ac_compile\"") >&5
44321.7Stv  (eval $ac_compile) 2>&5
44331.7Stv  ac_status=$?
44341.47Sdbj  echo "$as_me:4434: \$? = $ac_status" >&5
44351.7Stv  (exit $ac_status); } &&
44361.7Stv         { ac_try='test -s conftest.$ac_objext'
44371.47Sdbj  { (eval echo "$as_me:4437: \"$ac_try\"") >&5
44381.7Stv  (eval $ac_try) 2>&5
44391.7Stv  ac_status=$?
44401.47Sdbj  echo "$as_me:4440: \$? = $ac_status" >&5
44411.7Stv  (exit $ac_status); }; }; then
44421.7Stv  ac_cv_have_decl_optind=yes
44431.7Stvelse
44441.7Stv  echo "$as_me: failed program was:" >&5
44451.43Sdbjcat conftest.$ac_ext >&5
44461.7Stvac_cv_have_decl_optind=no
44471.7Stvfi
44481.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
44491.7Stvfi
44501.47Sdbjecho "$as_me:4450: result: $ac_cv_have_decl_optind" >&5
44511.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
44521.7Stvif test $ac_cv_have_decl_optind = yes; then
44531.7Stv
44541.43Sdbjcat >>confdefs.h <<EOF
44551.7Stv#define HAVE_DECL_OPTIND 1
44561.43SdbjEOF
44571.7Stv
44581.7Stvelse
44591.43Sdbj  cat >>confdefs.h <<EOF
44601.7Stv#define HAVE_DECL_OPTIND 0
44611.43SdbjEOF
44621.7Stv
44631.7Stvfi
44641.47Sdbjecho "$as_me:4464: checking whether optreset is declared" >&5
44651.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
44661.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
44671.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44681.7Stvelse
44691.7Stv  cat >conftest.$ac_ext <<_ACEOF
44701.47Sdbj#line 4470 "configure"
44711.43Sdbj#include "confdefs.h"
44721.7Stv
44731.7Stv#include <stdio.h>
44741.7Stv#include <stdlib.h>
44751.7Stv#include <unistd.h>
44761.7Stv
44771.7Stvint
44781.7Stvmain ()
44791.7Stv{
44801.7Stv#ifndef optreset
44811.7Stv  char *p = (char *) optreset;
44821.7Stv#endif
44831.7Stv
44841.7Stv  ;
44851.7Stv  return 0;
44861.7Stv}
44871.7Stv_ACEOF
44881.7Stvrm -f conftest.$ac_objext
44891.47Sdbjif { (eval echo "$as_me:4489: \"$ac_compile\"") >&5
44901.7Stv  (eval $ac_compile) 2>&5
44911.7Stv  ac_status=$?
44921.47Sdbj  echo "$as_me:4492: \$? = $ac_status" >&5
44931.7Stv  (exit $ac_status); } &&
44941.7Stv         { ac_try='test -s conftest.$ac_objext'
44951.47Sdbj  { (eval echo "$as_me:4495: \"$ac_try\"") >&5
44961.7Stv  (eval $ac_try) 2>&5
44971.7Stv  ac_status=$?
44981.47Sdbj  echo "$as_me:4498: \$? = $ac_status" >&5
44991.7Stv  (exit $ac_status); }; }; then
45001.7Stv  ac_cv_have_decl_optreset=yes
45011.7Stvelse
45021.7Stv  echo "$as_me: failed program was:" >&5
45031.43Sdbjcat conftest.$ac_ext >&5
45041.7Stvac_cv_have_decl_optreset=no
45051.7Stvfi
45061.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
45071.7Stvfi
45081.47Sdbjecho "$as_me:4508: result: $ac_cv_have_decl_optreset" >&5
45091.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
45101.7Stvif test $ac_cv_have_decl_optreset = yes; then
45111.7Stv
45121.43Sdbjcat >>confdefs.h <<EOF
45131.7Stv#define HAVE_DECL_OPTRESET 1
45141.43SdbjEOF
45151.7Stv
45161.7Stvelse
45171.43Sdbj  cat >>confdefs.h <<EOF
45181.7Stv#define HAVE_DECL_OPTRESET 0
45191.43SdbjEOF
45201.7Stv
45211.7Stvfi
45221.7Stv
45231.47Sdbjecho "$as_me:4523: checking whether sys_signame is declared" >&5
45241.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
45251.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
45261.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45271.4Stvelse
45281.4Stv  cat >conftest.$ac_ext <<_ACEOF
45291.47Sdbj#line 4529 "configure"
45301.43Sdbj#include "confdefs.h"
45311.4Stv#include <signal.h>
45321.4Stv
45331.4Stvint
45341.4Stvmain ()
45351.4Stv{
45361.4Stv#ifndef sys_signame
45371.4Stv  char *p = (char *) sys_signame;
45381.4Stv#endif
45391.4Stv
45401.4Stv  ;
45411.4Stv  return 0;
45421.4Stv}
45431.4Stv_ACEOF
45441.4Stvrm -f conftest.$ac_objext
45451.47Sdbjif { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
45461.4Stv  (eval $ac_compile) 2>&5
45471.4Stv  ac_status=$?
45481.47Sdbj  echo "$as_me:4548: \$? = $ac_status" >&5
45491.4Stv  (exit $ac_status); } &&
45501.4Stv         { ac_try='test -s conftest.$ac_objext'
45511.47Sdbj  { (eval echo "$as_me:4551: \"$ac_try\"") >&5
45521.4Stv  (eval $ac_try) 2>&5
45531.4Stv  ac_status=$?
45541.47Sdbj  echo "$as_me:4554: \$? = $ac_status" >&5
45551.4Stv  (exit $ac_status); }; }; then
45561.4Stv  ac_cv_have_decl_sys_signame=yes
45571.4Stvelse
45581.4Stv  echo "$as_me: failed program was:" >&5
45591.43Sdbjcat conftest.$ac_ext >&5
45601.4Stvac_cv_have_decl_sys_signame=no
45611.4Stvfi
45621.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
45631.4Stvfi
45641.47Sdbjecho "$as_me:4564: result: $ac_cv_have_decl_sys_signame" >&5
45651.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
45661.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
45671.4Stv
45681.43Sdbjcat >>confdefs.h <<EOF
45691.4Stv#define HAVE_DECL_SYS_SIGNAME 1
45701.43SdbjEOF
45711.4Stv
45721.4Stvelse
45731.43Sdbj  cat >>confdefs.h <<EOF
45741.4Stv#define HAVE_DECL_SYS_SIGNAME 0
45751.43SdbjEOF
45761.4Stv
45771.4Stvfi
45781.4Stv
45791.4Stv# Library functions (where a .h check isn't enough).
45801.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
45811.19Sbjh21# for constant arguments.  Useless!
45821.47Sdbjecho "$as_me:4582: checking for working alloca.h" >&5
45831.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
45841.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
45851.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
45861.19Sbjh21else
45871.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
45881.47Sdbj#line 4588 "configure"
45891.43Sdbj#include "confdefs.h"
45901.19Sbjh21#include <alloca.h>
45911.19Sbjh21int
45921.19Sbjh21main ()
45931.19Sbjh21{
45941.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
45951.19Sbjh21  ;
45961.19Sbjh21  return 0;
45971.19Sbjh21}
45981.19Sbjh21_ACEOF
45991.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
46001.47Sdbjif { (eval echo "$as_me:4600: \"$ac_link\"") >&5
46011.19Sbjh21  (eval $ac_link) 2>&5
46021.19Sbjh21  ac_status=$?
46031.47Sdbj  echo "$as_me:4603: \$? = $ac_status" >&5
46041.19Sbjh21  (exit $ac_status); } &&
46051.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
46061.47Sdbj  { (eval echo "$as_me:4606: \"$ac_try\"") >&5
46071.19Sbjh21  (eval $ac_try) 2>&5
46081.19Sbjh21  ac_status=$?
46091.47Sdbj  echo "$as_me:4609: \$? = $ac_status" >&5
46101.19Sbjh21  (exit $ac_status); }; }; then
46111.19Sbjh21  ac_cv_working_alloca_h=yes
46121.19Sbjh21else
46131.19Sbjh21  echo "$as_me: failed program was:" >&5
46141.43Sdbjcat conftest.$ac_ext >&5
46151.19Sbjh21ac_cv_working_alloca_h=no
46161.19Sbjh21fi
46171.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46181.19Sbjh21fi
46191.47Sdbjecho "$as_me:4619: result: $ac_cv_working_alloca_h" >&5
46201.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
46211.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
46221.19Sbjh21
46231.43Sdbjcat >>confdefs.h <<\EOF
46241.19Sbjh21#define HAVE_ALLOCA_H 1
46251.43SdbjEOF
46261.19Sbjh21
46271.19Sbjh21fi
46281.19Sbjh21
46291.47Sdbjecho "$as_me:4629: checking for alloca" >&5
46301.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
46311.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
46321.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
46331.19Sbjh21else
46341.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
46351.47Sdbj#line 4635 "configure"
46361.43Sdbj#include "confdefs.h"
46371.19Sbjh21#ifdef __GNUC__
46381.19Sbjh21# define alloca __builtin_alloca
46391.19Sbjh21#else
46401.19Sbjh21# ifdef _MSC_VER
46411.19Sbjh21#  include <malloc.h>
46421.19Sbjh21#  define alloca _alloca
46431.19Sbjh21# else
46441.19Sbjh21#  if HAVE_ALLOCA_H
46451.19Sbjh21#   include <alloca.h>
46461.19Sbjh21#  else
46471.19Sbjh21#   ifdef _AIX
46481.19Sbjh21 #pragma alloca
46491.19Sbjh21#   else
46501.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
46511.19Sbjh21char *alloca ();
46521.19Sbjh21#    endif
46531.19Sbjh21#   endif
46541.19Sbjh21#  endif
46551.19Sbjh21# endif
46561.19Sbjh21#endif
46571.19Sbjh21
46581.19Sbjh21int
46591.19Sbjh21main ()
46601.19Sbjh21{
46611.19Sbjh21char *p = (char *) alloca (1);
46621.19Sbjh21  ;
46631.19Sbjh21  return 0;
46641.19Sbjh21}
46651.19Sbjh21_ACEOF
46661.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
46671.47Sdbjif { (eval echo "$as_me:4667: \"$ac_link\"") >&5
46681.19Sbjh21  (eval $ac_link) 2>&5
46691.19Sbjh21  ac_status=$?
46701.47Sdbj  echo "$as_me:4670: \$? = $ac_status" >&5
46711.19Sbjh21  (exit $ac_status); } &&
46721.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
46731.47Sdbj  { (eval echo "$as_me:4673: \"$ac_try\"") >&5
46741.19Sbjh21  (eval $ac_try) 2>&5
46751.19Sbjh21  ac_status=$?
46761.47Sdbj  echo "$as_me:4676: \$? = $ac_status" >&5
46771.19Sbjh21  (exit $ac_status); }; }; then
46781.19Sbjh21  ac_cv_func_alloca_works=yes
46791.19Sbjh21else
46801.19Sbjh21  echo "$as_me: failed program was:" >&5
46811.43Sdbjcat conftest.$ac_ext >&5
46821.19Sbjh21ac_cv_func_alloca_works=no
46831.19Sbjh21fi
46841.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46851.19Sbjh21fi
46861.47Sdbjecho "$as_me:4686: result: $ac_cv_func_alloca_works" >&5
46871.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
46881.19Sbjh21
46891.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
46901.19Sbjh21
46911.43Sdbjcat >>confdefs.h <<\EOF
46921.19Sbjh21#define HAVE_ALLOCA 1
46931.43SdbjEOF
46941.19Sbjh21
46951.19Sbjh21else
46961.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
46971.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
46981.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
46991.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
47001.19Sbjh21
47011.19Sbjh21ALLOCA=alloca.$ac_objext
47021.19Sbjh21
47031.43Sdbjcat >>confdefs.h <<\EOF
47041.19Sbjh21#define C_ALLOCA 1
47051.43SdbjEOF
47061.39Sfredb
47071.47Sdbjecho "$as_me:4707: checking whether \`alloca.c' needs Cray hooks" >&5
47081.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
47091.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
47101.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47111.19Sbjh21else
47121.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47131.47Sdbj#line 4713 "configure"
47141.43Sdbj#include "confdefs.h"
47151.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
47161.19Sbjh21webecray
47171.19Sbjh21#else
47181.19Sbjh21wenotbecray
47191.19Sbjh21#endif
47201.19Sbjh21
47211.19Sbjh21_ACEOF
47221.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47231.43Sdbj  egrep "webecray" >/dev/null 2>&1; then
47241.19Sbjh21  ac_cv_os_cray=yes
47251.19Sbjh21else
47261.19Sbjh21  ac_cv_os_cray=no
47271.19Sbjh21fi
47281.19Sbjh21rm -f conftest*
47291.19Sbjh21
47301.19Sbjh21fi
47311.47Sdbjecho "$as_me:4731: result: $ac_cv_os_cray" >&5
47321.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
47331.19Sbjh21if test $ac_cv_os_cray = yes; then
47341.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
47351.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47361.47Sdbjecho "$as_me:4736: checking for $ac_func" >&5
47371.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47381.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
47391.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47401.19Sbjh21else
47411.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47421.47Sdbj#line 4742 "configure"
47431.43Sdbj#include "confdefs.h"
47441.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
47451.43Sdbj    which can conflict with char $ac_func (); below.  */
47461.43Sdbj#include <assert.h>
47471.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
47481.19Sbjh21#ifdef __cplusplus
47491.19Sbjh21extern "C"
47501.19Sbjh21#endif
47511.19Sbjh21/* We use char because int might match the return type of a gcc2
47521.19Sbjh21   builtin and then its argument prototype would still apply.  */
47531.19Sbjh21char $ac_func ();
47541.43Sdbjchar (*f) ();
47551.43Sdbj
47561.43Sdbjint
47571.43Sdbjmain ()
47581.43Sdbj{
47591.19Sbjh21/* The GNU C library defines this for functions which it implements
47601.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
47611.19Sbjh21    something starting with __ and the normal name is an alias.  */
47621.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47631.19Sbjh21choke me
47641.19Sbjh21#else
47651.43Sdbjf = $ac_func;
47661.19Sbjh21#endif
47671.19Sbjh21
47681.19Sbjh21  ;
47691.19Sbjh21  return 0;
47701.19Sbjh21}
47711.19Sbjh21_ACEOF
47721.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
47731.47Sdbjif { (eval echo "$as_me:4773: \"$ac_link\"") >&5
47741.19Sbjh21  (eval $ac_link) 2>&5
47751.19Sbjh21  ac_status=$?
47761.47Sdbj  echo "$as_me:4776: \$? = $ac_status" >&5
47771.19Sbjh21  (exit $ac_status); } &&
47781.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
47791.47Sdbj  { (eval echo "$as_me:4779: \"$ac_try\"") >&5
47801.19Sbjh21  (eval $ac_try) 2>&5
47811.19Sbjh21  ac_status=$?
47821.47Sdbj  echo "$as_me:4782: \$? = $ac_status" >&5
47831.19Sbjh21  (exit $ac_status); }; }; then
47841.19Sbjh21  eval "$as_ac_var=yes"
47851.19Sbjh21else
47861.19Sbjh21  echo "$as_me: failed program was:" >&5
47871.43Sdbjcat conftest.$ac_ext >&5
47881.19Sbjh21eval "$as_ac_var=no"
47891.19Sbjh21fi
47901.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47911.19Sbjh21fi
47921.47Sdbjecho "$as_me:4792: result: `eval echo '${'$as_ac_var'}'`" >&5
47931.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47941.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
47951.19Sbjh21
47961.43Sdbjcat >>confdefs.h <<EOF
47971.19Sbjh21#define CRAY_STACKSEG_END $ac_func
47981.43SdbjEOF
47991.19Sbjh21
48001.19Sbjh21    break
48011.19Sbjh21fi
48021.19Sbjh21
48031.19Sbjh21  done
48041.19Sbjh21fi
48051.19Sbjh21
48061.47Sdbjecho "$as_me:4806: checking stack direction for C alloca" >&5
48071.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
48081.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
48091.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
48101.19Sbjh21else
48111.19Sbjh21  if test "$cross_compiling" = yes; then
48121.19Sbjh21  ac_cv_c_stack_direction=0
48131.19Sbjh21else
48141.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
48151.47Sdbj#line 4815 "configure"
48161.43Sdbj#include "confdefs.h"
48171.19Sbjh21int
48181.19Sbjh21find_stack_direction ()
48191.19Sbjh21{
48201.19Sbjh21  static char *addr = 0;
48211.19Sbjh21  auto char dummy;
48221.19Sbjh21  if (addr == 0)
48231.19Sbjh21    {
48241.19Sbjh21      addr = &dummy;
48251.19Sbjh21      return find_stack_direction ();
48261.19Sbjh21    }
48271.19Sbjh21  else
48281.19Sbjh21    return (&dummy > addr) ? 1 : -1;
48291.19Sbjh21}
48301.19Sbjh21
48311.43Sdbjint
48321.43Sdbjmain ()
48331.43Sdbj{
48341.43Sdbj  exit (find_stack_direction () < 0);
48351.43Sdbj}
48361.43Sdbj_ACEOF
48371.43Sdbjrm -f conftest$ac_exeext
48381.47Sdbjif { (eval echo "$as_me:4838: \"$ac_link\"") >&5
48391.43Sdbj  (eval $ac_link) 2>&5
48401.43Sdbj  ac_status=$?
48411.47Sdbj  echo "$as_me:4841: \$? = $ac_status" >&5
48421.43Sdbj  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48431.47Sdbj  { (eval echo "$as_me:4843: \"$ac_try\"") >&5
48441.43Sdbj  (eval $ac_try) 2>&5
48451.43Sdbj  ac_status=$?
48461.47Sdbj  echo "$as_me:4846: \$? = $ac_status" >&5
48471.43Sdbj  (exit $ac_status); }; }; then
48481.43Sdbj  ac_cv_c_stack_direction=1
48491.43Sdbjelse
48501.43Sdbj  echo "$as_me: program exited with status $ac_status" >&5
48511.43Sdbjecho "$as_me: failed program was:" >&5
48521.43Sdbjcat conftest.$ac_ext >&5
48531.43Sdbjac_cv_c_stack_direction=-1
48541.43Sdbjfi
48551.43Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
48561.43Sdbjfi
48571.43Sdbjfi
48581.47Sdbjecho "$as_me:4858: result: $ac_cv_c_stack_direction" >&5
48591.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
48601.39Sfredb
48611.43Sdbjcat >>confdefs.h <<EOF
48621.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction
48631.43SdbjEOF
48641.39Sfredb
48651.43Sdbjfi
48661.40Satatat
48671.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
48681.44Sthorpej	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
48691.26Slukem	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
48701.36Sthorpej	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
48711.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
48721.29Slukem	strsuftoll strtoll \
48731.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
48741.1Stvdo
48751.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48761.47Sdbjecho "$as_me:4876: checking for $ac_func" >&5
48771.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48781.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
48791.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
48801.45Sjmcelse
48811.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
48821.47Sdbj#line 4882 "configure"
48831.45Sjmc#include "confdefs.h"
48841.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
48851.45Sjmc    which can conflict with char $ac_func (); below.  */
48861.45Sjmc#include <assert.h>
48871.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
48881.45Sjmc#ifdef __cplusplus
48891.45Sjmcextern "C"
48901.45Sjmc#endif
48911.45Sjmc/* We use char because int might match the return type of a gcc2
48921.45Sjmc   builtin and then its argument prototype would still apply.  */
48931.45Sjmcchar $ac_func ();
48941.45Sjmcchar (*f) ();
48951.45Sjmc
48961.45Sjmcint
48971.45Sjmcmain ()
48981.45Sjmc{
48991.45Sjmc/* The GNU C library defines this for functions which it implements
49001.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
49011.45Sjmc    something starting with __ and the normal name is an alias.  */
49021.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49031.45Sjmcchoke me
49041.45Sjmc#else
49051.45Sjmcf = $ac_func;
49061.45Sjmc#endif
49071.45Sjmc
49081.45Sjmc  ;
49091.45Sjmc  return 0;
49101.45Sjmc}
49111.45Sjmc_ACEOF
49121.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
49131.47Sdbjif { (eval echo "$as_me:4913: \"$ac_link\"") >&5
49141.45Sjmc  (eval $ac_link) 2>&5
49151.45Sjmc  ac_status=$?
49161.47Sdbj  echo "$as_me:4916: \$? = $ac_status" >&5
49171.45Sjmc  (exit $ac_status); } &&
49181.45Sjmc         { ac_try='test -s conftest$ac_exeext'
49191.47Sdbj  { (eval echo "$as_me:4919: \"$ac_try\"") >&5
49201.45Sjmc  (eval $ac_try) 2>&5
49211.45Sjmc  ac_status=$?
49221.47Sdbj  echo "$as_me:4922: \$? = $ac_status" >&5
49231.45Sjmc  (exit $ac_status); }; }; then
49241.45Sjmc  eval "$as_ac_var=yes"
49251.45Sjmcelse
49261.45Sjmc  echo "$as_me: failed program was:" >&5
49271.45Sjmccat conftest.$ac_ext >&5
49281.45Sjmceval "$as_ac_var=no"
49291.45Sjmcfi
49301.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49311.45Sjmcfi
49321.47Sdbjecho "$as_me:4932: result: `eval echo '${'$as_ac_var'}'`" >&5
49331.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49341.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
49351.45Sjmc  cat >>confdefs.h <<EOF
49361.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49371.45SjmcEOF
49381.45Sjmc
49391.45Sjmcfi
49401.45Sjmcdone
49411.45Sjmc
49421.45Sjmcfor ac_func in htobe16, htobe32, htobe64, htole16, htole32, htole64, be16toh, be32toh, be64toh, le16toh, le32toh, le64toh
49431.45Sjmcdo
49441.45Sjmcas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49451.47Sdbjecho "$as_me:4945: checking for $ac_func" >&5
49461.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49471.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
49481.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
49491.45Sjmcelse
49501.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
49511.47Sdbj#line 4951 "configure"
49521.45Sjmc#include "confdefs.h"
49531.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
49541.45Sjmc    which can conflict with char $ac_func (); below.  */
49551.45Sjmc#include <assert.h>
49561.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
49571.45Sjmc#ifdef __cplusplus
49581.45Sjmcextern "C"
49591.45Sjmc#endif
49601.45Sjmc/* We use char because int might match the return type of a gcc2
49611.45Sjmc   builtin and then its argument prototype would still apply.  */
49621.45Sjmcchar $ac_func ();
49631.45Sjmcchar (*f) ();
49641.45Sjmc
49651.45Sjmcint
49661.45Sjmcmain ()
49671.45Sjmc{
49681.45Sjmc/* The GNU C library defines this for functions which it implements
49691.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
49701.45Sjmc    something starting with __ and the normal name is an alias.  */
49711.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49721.45Sjmcchoke me
49731.45Sjmc#else
49741.45Sjmcf = $ac_func;
49751.45Sjmc#endif
49761.45Sjmc
49771.45Sjmc  ;
49781.45Sjmc  return 0;
49791.45Sjmc}
49801.45Sjmc_ACEOF
49811.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
49821.47Sdbjif { (eval echo "$as_me:4982: \"$ac_link\"") >&5
49831.45Sjmc  (eval $ac_link) 2>&5
49841.45Sjmc  ac_status=$?
49851.47Sdbj  echo "$as_me:4985: \$? = $ac_status" >&5
49861.45Sjmc  (exit $ac_status); } &&
49871.45Sjmc         { ac_try='test -s conftest$ac_exeext'
49881.47Sdbj  { (eval echo "$as_me:4988: \"$ac_try\"") >&5
49891.45Sjmc  (eval $ac_try) 2>&5
49901.45Sjmc  ac_status=$?
49911.47Sdbj  echo "$as_me:4991: \$? = $ac_status" >&5
49921.45Sjmc  (exit $ac_status); }; }; then
49931.45Sjmc  eval "$as_ac_var=yes"
49941.45Sjmcelse
49951.45Sjmc  echo "$as_me: failed program was:" >&5
49961.45Sjmccat conftest.$ac_ext >&5
49971.45Sjmceval "$as_ac_var=no"
49981.45Sjmcfi
49991.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50001.45Sjmcfi
50011.47Sdbjecho "$as_me:5001: result: `eval echo '${'$as_ac_var'}'`" >&5
50021.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50031.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
50041.45Sjmc  cat >>confdefs.h <<EOF
50051.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50061.45SjmcEOF
50071.45Sjmc
50081.45Sjmcfi
50091.45Sjmcdone
50101.45Sjmc
50111.45Sjmcfor ac_func in bswap16, bswap32, bswap64
50121.45Sjmcdo
50131.45Sjmcas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50141.47Sdbjecho "$as_me:5014: checking for $ac_func" >&5
50151.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50161.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
50171.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
50181.1Stvelse
50191.1Stv  cat >conftest.$ac_ext <<_ACEOF
50201.47Sdbj#line 5020 "configure"
50211.43Sdbj#include "confdefs.h"
50221.39Sfredb/* System header to define __stub macros and hopefully few prototypes,
50231.43Sdbj    which can conflict with char $ac_func (); below.  */
50241.43Sdbj#include <assert.h>
50251.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
50261.1Stv#ifdef __cplusplus
50271.1Stvextern "C"
50281.1Stv#endif
50291.1Stv/* We use char because int might match the return type of a gcc2
50301.1Stv   builtin and then its argument prototype would still apply.  */
50311.1Stvchar $ac_func ();
50321.43Sdbjchar (*f) ();
50331.43Sdbj
50341.43Sdbjint
50351.43Sdbjmain ()
50361.43Sdbj{
50371.1Stv/* The GNU C library defines this for functions which it implements
50381.1Stv    to always fail with ENOSYS.  Some functions are actually named
50391.1Stv    something starting with __ and the normal name is an alias.  */
50401.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50411.1Stvchoke me
50421.1Stv#else
50431.43Sdbjf = $ac_func;
50441.1Stv#endif
50451.1Stv
50461.1Stv  ;
50471.1Stv  return 0;
50481.1Stv}
50491.1Stv_ACEOF
50501.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
50511.47Sdbjif { (eval echo "$as_me:5051: \"$ac_link\"") >&5
50521.1Stv  (eval $ac_link) 2>&5
50531.1Stv  ac_status=$?
50541.47Sdbj  echo "$as_me:5054: \$? = $ac_status" >&5
50551.1Stv  (exit $ac_status); } &&
50561.1Stv         { ac_try='test -s conftest$ac_exeext'
50571.47Sdbj  { (eval echo "$as_me:5057: \"$ac_try\"") >&5
50581.1Stv  (eval $ac_try) 2>&5
50591.1Stv  ac_status=$?
50601.47Sdbj  echo "$as_me:5060: \$? = $ac_status" >&5
50611.1Stv  (exit $ac_status); }; }; then
50621.1Stv  eval "$as_ac_var=yes"
50631.1Stvelse
50641.1Stv  echo "$as_me: failed program was:" >&5
50651.43Sdbjcat conftest.$ac_ext >&5
50661.1Stveval "$as_ac_var=no"
50671.1Stvfi
50681.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50691.1Stvfi
50701.47Sdbjecho "$as_me:5070: result: `eval echo '${'$as_ac_var'}'`" >&5
50711.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50721.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
50731.43Sdbj  cat >>confdefs.h <<EOF
50741.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50751.43SdbjEOF
50761.1Stv
50771.1Stvfi
50781.1Stvdone
50791.1Stv
50801.47Sdbjecho "$as_me:5080: checking whether setgroupent is declared" >&5
50811.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
50821.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
50831.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
50841.8Stvelse
50851.8Stv  cat >conftest.$ac_ext <<_ACEOF
50861.47Sdbj#line 5086 "configure"
50871.43Sdbj#include "confdefs.h"
50881.8Stv
50891.33Sthorpej#include <sys/types.h>
50901.8Stv#include <grp.h>
50911.8Stv#include <pwd.h>
50921.8Stv
50931.8Stvint
50941.8Stvmain ()
50951.8Stv{
50961.8Stv#ifndef setgroupent
50971.8Stv  char *p = (char *) setgroupent;
50981.8Stv#endif
50991.8Stv
51001.8Stv  ;
51011.8Stv  return 0;
51021.8Stv}
51031.8Stv_ACEOF
51041.8Stvrm -f conftest.$ac_objext
51051.47Sdbjif { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
51061.8Stv  (eval $ac_compile) 2>&5
51071.8Stv  ac_status=$?
51081.47Sdbj  echo "$as_me:5108: \$? = $ac_status" >&5
51091.8Stv  (exit $ac_status); } &&
51101.8Stv         { ac_try='test -s conftest.$ac_objext'
51111.47Sdbj  { (eval echo "$as_me:5111: \"$ac_try\"") >&5
51121.8Stv  (eval $ac_try) 2>&5
51131.8Stv  ac_status=$?
51141.47Sdbj  echo "$as_me:5114: \$? = $ac_status" >&5
51151.8Stv  (exit $ac_status); }; }; then
51161.8Stv  ac_cv_have_decl_setgroupent=yes
51171.8Stvelse
51181.8Stv  echo "$as_me: failed program was:" >&5
51191.43Sdbjcat conftest.$ac_ext >&5
51201.8Stvac_cv_have_decl_setgroupent=no
51211.8Stvfi
51221.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
51231.8Stvfi
51241.47Sdbjecho "$as_me:5124: result: $ac_cv_have_decl_setgroupent" >&5
51251.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
51261.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
51271.8Stv
51281.43Sdbjcat >>confdefs.h <<EOF
51291.8Stv#define HAVE_DECL_SETGROUPENT 1
51301.43SdbjEOF
51311.8Stv
51321.8Stvelse
51331.43Sdbj  cat >>confdefs.h <<EOF
51341.8Stv#define HAVE_DECL_SETGROUPENT 0
51351.43SdbjEOF
51361.8Stv
51371.8Stvfi
51381.47Sdbjecho "$as_me:5138: checking whether setpassent is declared" >&5
51391.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
51401.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
51411.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51421.8Stvelse
51431.8Stv  cat >conftest.$ac_ext <<_ACEOF
51441.47Sdbj#line 5144 "configure"
51451.43Sdbj#include "confdefs.h"
51461.8Stv
51471.33Sthorpej#include <sys/types.h>
51481.8Stv#include <grp.h>
51491.8Stv#include <pwd.h>
51501.8Stv
51511.8Stvint
51521.8Stvmain ()
51531.8Stv{
51541.8Stv#ifndef setpassent
51551.8Stv  char *p = (char *) setpassent;
51561.8Stv#endif
51571.8Stv
51581.8Stv  ;
51591.8Stv  return 0;
51601.8Stv}
51611.8Stv_ACEOF
51621.8Stvrm -f conftest.$ac_objext
51631.47Sdbjif { (eval echo "$as_me:5163: \"$ac_compile\"") >&5
51641.8Stv  (eval $ac_compile) 2>&5
51651.8Stv  ac_status=$?
51661.47Sdbj  echo "$as_me:5166: \$? = $ac_status" >&5
51671.8Stv  (exit $ac_status); } &&
51681.8Stv         { ac_try='test -s conftest.$ac_objext'
51691.47Sdbj  { (eval echo "$as_me:5169: \"$ac_try\"") >&5
51701.8Stv  (eval $ac_try) 2>&5
51711.8Stv  ac_status=$?
51721.47Sdbj  echo "$as_me:5172: \$? = $ac_status" >&5
51731.8Stv  (exit $ac_status); }; }; then
51741.8Stv  ac_cv_have_decl_setpassent=yes
51751.8Stvelse
51761.8Stv  echo "$as_me: failed program was:" >&5
51771.43Sdbjcat conftest.$ac_ext >&5
51781.8Stvac_cv_have_decl_setpassent=no
51791.8Stvfi
51801.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
51811.8Stvfi
51821.47Sdbjecho "$as_me:5182: result: $ac_cv_have_decl_setpassent" >&5
51831.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
51841.8Stvif test $ac_cv_have_decl_setpassent = yes; then
51851.8Stv
51861.43Sdbjcat >>confdefs.h <<EOF
51871.8Stv#define HAVE_DECL_SETPASSENT 1
51881.43SdbjEOF
51891.8Stv
51901.8Stvelse
51911.43Sdbj  cat >>confdefs.h <<EOF
51921.8Stv#define HAVE_DECL_SETPASSENT 0
51931.43SdbjEOF
51941.8Stv
51951.8Stvfi
51961.8Stv
51971.4Stv# regcomp() and regexec() are also names of functions in the old V8
51981.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
51991.4Stv
52001.47Sdbjecho "$as_me:5200: checking for regfree in -lregex" >&5
52011.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
52021.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
52031.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52041.4Stvelse
52051.4Stv  ac_check_lib_save_LIBS=$LIBS
52061.4StvLIBS="-lregex  $LIBS"
52071.4Stvcat >conftest.$ac_ext <<_ACEOF
52081.47Sdbj#line 5208 "configure"
52091.43Sdbj#include "confdefs.h"
52101.4Stv
52111.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
52121.4Stv#ifdef __cplusplus
52131.4Stvextern "C"
52141.4Stv#endif
52151.4Stv/* We use char because int might match the return type of a gcc2
52161.4Stv   builtin and then its argument prototype would still apply.  */
52171.4Stvchar regfree ();
52181.4Stvint
52191.4Stvmain ()
52201.4Stv{
52211.4Stvregfree ();
52221.4Stv  ;
52231.4Stv  return 0;
52241.4Stv}
52251.4Stv_ACEOF
52261.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
52271.47Sdbjif { (eval echo "$as_me:5227: \"$ac_link\"") >&5
52281.4Stv  (eval $ac_link) 2>&5
52291.4Stv  ac_status=$?
52301.47Sdbj  echo "$as_me:5230: \$? = $ac_status" >&5
52311.4Stv  (exit $ac_status); } &&
52321.4Stv         { ac_try='test -s conftest$ac_exeext'
52331.47Sdbj  { (eval echo "$as_me:5233: \"$ac_try\"") >&5
52341.4Stv  (eval $ac_try) 2>&5
52351.4Stv  ac_status=$?
52361.47Sdbj  echo "$as_me:5236: \$? = $ac_status" >&5
52371.4Stv  (exit $ac_status); }; }; then
52381.4Stv  ac_cv_lib_regex_regfree=yes
52391.4Stvelse
52401.4Stv  echo "$as_me: failed program was:" >&5
52411.43Sdbjcat conftest.$ac_ext >&5
52421.4Stvac_cv_lib_regex_regfree=no
52431.4Stvfi
52441.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52451.4StvLIBS=$ac_check_lib_save_LIBS
52461.4Stvfi
52471.47Sdbjecho "$as_me:5247: result: $ac_cv_lib_regex_regfree" >&5
52481.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
52491.4Stvif test $ac_cv_lib_regex_regfree = yes; then
52501.43Sdbj  cat >>confdefs.h <<EOF
52511.4Stv#define HAVE_LIBREGEX 1
52521.43SdbjEOF
52531.4Stv
52541.4Stv  LIBS="-lregex $LIBS"
52551.4Stv
52561.4Stvfi
52571.4Stv
52581.47Sdbjecho "$as_me:5258: checking for library containing regfree" >&5
52591.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
52601.4Stvif test "${ac_cv_search_regfree+set}" = set; then
52611.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52621.1Stvelse
52631.1Stv  ac_func_search_save_LIBS=$LIBS
52641.4Stvac_cv_search_regfree=no
52651.1Stvcat >conftest.$ac_ext <<_ACEOF
52661.47Sdbj#line 5266 "configure"
52671.43Sdbj#include "confdefs.h"
52681.1Stv
52691.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
52701.1Stv#ifdef __cplusplus
52711.1Stvextern "C"
52721.1Stv#endif
52731.1Stv/* We use char because int might match the return type of a gcc2
52741.1Stv   builtin and then its argument prototype would still apply.  */
52751.4Stvchar regfree ();
52761.1Stvint
52771.1Stvmain ()
52781.1Stv{
52791.4Stvregfree ();
52801.1Stv  ;
52811.1Stv  return 0;
52821.1Stv}
52831.1Stv_ACEOF
52841.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
52851.47Sdbjif { (eval echo "$as_me:5285: \"$ac_link\"") >&5
52861.1Stv  (eval $ac_link) 2>&5
52871.1Stv  ac_status=$?
52881.47Sdbj  echo "$as_me:5288: \$? = $ac_status" >&5
52891.1Stv  (exit $ac_status); } &&
52901.1Stv         { ac_try='test -s conftest$ac_exeext'
52911.47Sdbj  { (eval echo "$as_me:5291: \"$ac_try\"") >&5
52921.1Stv  (eval $ac_try) 2>&5
52931.1Stv  ac_status=$?
52941.47Sdbj  echo "$as_me:5294: \$? = $ac_status" >&5
52951.1Stv  (exit $ac_status); }; }; then
52961.4Stv  ac_cv_search_regfree="none required"
52971.1Stvelse
52981.1Stv  echo "$as_me: failed program was:" >&5
52991.43Sdbjcat conftest.$ac_ext >&5
53001.1Stvfi
53011.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53021.4Stvif test "$ac_cv_search_regfree" = no; then
53031.4Stv  for ac_lib in rx posix; do
53041.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
53051.1Stv    cat >conftest.$ac_ext <<_ACEOF
53061.47Sdbj#line 5306 "configure"
53071.43Sdbj#include "confdefs.h"
53081.1Stv
53091.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
53101.1Stv#ifdef __cplusplus
53111.1Stvextern "C"
53121.1Stv#endif
53131.1Stv/* We use char because int might match the return type of a gcc2
53141.1Stv   builtin and then its argument prototype would still apply.  */
53151.4Stvchar regfree ();
53161.1Stvint
53171.1Stvmain ()
53181.1Stv{
53191.4Stvregfree ();
53201.1Stv  ;
53211.1Stv  return 0;
53221.1Stv}
53231.1Stv_ACEOF
53241.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
53251.47Sdbjif { (eval echo "$as_me:5325: \"$ac_link\"") >&5
53261.1Stv  (eval $ac_link) 2>&5
53271.1Stv  ac_status=$?
53281.47Sdbj  echo "$as_me:5328: \$? = $ac_status" >&5
53291.1Stv  (exit $ac_status); } &&
53301.1Stv         { ac_try='test -s conftest$ac_exeext'
53311.47Sdbj  { (eval echo "$as_me:5331: \"$ac_try\"") >&5
53321.1Stv  (eval $ac_try) 2>&5
53331.1Stv  ac_status=$?
53341.47Sdbj  echo "$as_me:5334: \$? = $ac_status" >&5
53351.1Stv  (exit $ac_status); }; }; then
53361.4Stv  ac_cv_search_regfree="-l$ac_lib"
53371.1Stvbreak
53381.1Stvelse
53391.1Stv  echo "$as_me: failed program was:" >&5
53401.43Sdbjcat conftest.$ac_ext >&5
53411.1Stvfi
53421.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53431.1Stv  done
53441.1Stvfi
53451.1StvLIBS=$ac_func_search_save_LIBS
53461.1Stvfi
53471.47Sdbjecho "$as_me:5347: result: $ac_cv_search_regfree" >&5
53481.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
53491.4Stvif test "$ac_cv_search_regfree" != no; then
53501.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
53511.1Stv
53521.1Stvfi
53531.1Stv
53541.1Stvcat >confcache <<\_ACEOF
53551.1Stv# This file is a shell script that caches the results of configure
53561.1Stv# tests run on this system so they can be shared between configure
53571.1Stv# scripts and configure runs, see configure's option --config-cache.
53581.1Stv# It is not useful on other systems.  If it contains results you don't
53591.1Stv# want to keep, you may remove or edit it.
53601.1Stv#
53611.1Stv# config.status only pays attention to the cache file if you give it
53621.1Stv# the --recheck option to rerun configure.
53631.1Stv#
53641.43Sdbj# `ac_cv_env_foo' variables (set or unset) will be overriden when
53651.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
53661.1Stv# following values.
53671.1Stv
53681.1Stv_ACEOF
53691.1Stv
53701.1Stv# The following way of writing the cache mishandles newlines in values,
53711.1Stv# but we know of no workaround that is simple, portable, and efficient.
53721.1Stv# So, don't put newlines in cache variables' values.
53731.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
53741.1Stv# and sets the high bit in the cache file unless we assign to the vars.
53751.1Stv{
53761.1Stv  (set) 2>&1 |
53771.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
53781.1Stv    *ac_space=\ *)
53791.1Stv      # `set' does not quote correctly, so add quotes (double-quote
53801.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
53811.1Stv      sed -n \
53821.1Stv        "s/'/'\\\\''/g;
53831.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53841.1Stv      ;;
53851.1Stv    *)
53861.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
53871.1Stv      sed -n \
53881.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
53891.1Stv      ;;
53901.1Stv    esac;
53911.1Stv} |
53921.1Stv  sed '
53931.1Stv     t clear
53941.1Stv     : clear
53951.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53961.1Stv     t end
53971.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53981.1Stv     : end' >>confcache
53991.43Sdbjif cmp -s $cache_file confcache; then :; else
54001.1Stv  if test -w $cache_file; then
54011.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
54021.1Stv    cat confcache >$cache_file
54031.1Stv  else
54041.1Stv    echo "not updating unwritable cache $cache_file"
54051.1Stv  fi
54061.1Stvfi
54071.1Stvrm -f confcache
54081.1Stv
54091.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
54101.1Stv# Let make expand exec_prefix.
54111.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
54121.1Stv
54131.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
54141.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54151.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
54161.1Stv# (actually we leave an empty line to preserve line numbers).
54171.1Stvif test "x$srcdir" = x.; then
54181.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
54191.1Stvs/:*\$(srcdir):*/:/;
54201.1Stvs/:*\${srcdir}:*/:/;
54211.1Stvs/:*@srcdir@:*/:/;
54221.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
54231.1Stvs/:*$//;
54241.1Stvs/^[^=]*=[ 	]*$//;
54251.1Stv}'
54261.1Stvfi
54271.1Stv
54281.1StvDEFS=-DHAVE_CONFIG_H
54291.1Stv
54301.1Stv: ${CONFIG_STATUS=./config.status}
54311.1Stvac_clean_files_save=$ac_clean_files
54321.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
54331.47Sdbj{ echo "$as_me:5433: creating $CONFIG_STATUS" >&5
54341.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
54351.1Stvcat >$CONFIG_STATUS <<_ACEOF
54361.1Stv#! $SHELL
54371.43Sdbj# Generated automatically by configure.
54381.1Stv# Run this file to recreate the current configuration.
54391.1Stv# Compiler output produced by configure, useful for debugging
54401.1Stv# configure, is in config.log if it exists.
54411.1Stv
54421.1Stvdebug=false
54431.1StvSHELL=\${CONFIG_SHELL-$SHELL}
54441.43Sdbjac_cs_invocation="\$0 \$@"
54451.43Sdbj
54461.1Stv_ACEOF
54471.1Stv
54481.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
54491.1Stv# Be Bourne compatible
54501.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
54511.1Stv  emulate sh
54521.1Stv  NULLCMD=:
54531.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
54541.1Stv  set -o posix
54551.1Stvfi
54561.1Stv
54571.1Stv# Name of the executable.
54581.43Sdbjas_me=`echo "$0" |sed 's,.*[\\/],,'`
54591.1Stv
54601.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
54611.1Stv  as_expr=expr
54621.1Stvelse
54631.1Stv  as_expr=false
54641.1Stvfi
54651.1Stv
54661.1Stvrm -f conf$$ conf$$.exe conf$$.file
54671.1Stvecho >conf$$.file
54681.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
54691.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
54701.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
54711.1Stv  if test -f conf$$.exe; then
54721.1Stv    # Don't use ln at all; we don't have any links
54731.1Stv    as_ln_s='cp -p'
54741.1Stv  else
54751.1Stv    as_ln_s='ln -s'
54761.1Stv  fi
54771.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
54781.1Stv  as_ln_s=ln
54791.1Stvelse
54801.1Stv  as_ln_s='cp -p'
54811.1Stvfi
54821.1Stvrm -f conf$$ conf$$.exe conf$$.file
54831.1Stv
54841.43Sdbjas_executable_p="test -f"
54851.43Sdbj
54861.43Sdbj# Support unset when possible.
54871.43Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
54881.43Sdbj  as_unset=unset
54891.39Sfredbelse
54901.43Sdbj  as_unset=false
54911.39Sfredbfi
54921.39Sfredb
54931.43Sdbj# NLS nuisances.
54941.43Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
54951.43Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
54961.43Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
54971.43Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
54981.43Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
54991.43Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
55001.43Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
55011.43Sdbj$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
55021.1Stv
55031.1Stv# IFS
55041.1Stv# We need space, tab and new line, in precisely that order.
55051.1Stvas_nl='
55061.1Stv'
55071.1StvIFS=" 	$as_nl"
55081.1Stv
55091.1Stv# CDPATH.
55101.43Sdbj$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
55111.1Stv
55121.1Stvexec 6>&1
55131.1Stv
55141.1Stv_ACEOF
55151.1Stv
55161.1Stv# Files that config.status was made for.
55171.1Stvif test -n "$ac_config_files"; then
55181.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
55191.1Stvfi
55201.1Stv
55211.1Stvif test -n "$ac_config_headers"; then
55221.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
55231.1Stvfi
55241.1Stv
55251.1Stvif test -n "$ac_config_links"; then
55261.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
55271.1Stvfi
55281.1Stv
55291.1Stvif test -n "$ac_config_commands"; then
55301.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
55311.1Stvfi
55321.1Stv
55331.43Sdbjcat >>$CONFIG_STATUS <<\EOF
55341.1Stv
55351.1Stvac_cs_usage="\
55361.1Stv\`$as_me' instantiates files from templates according to the
55371.1Stvcurrent configuration.
55381.1Stv
55391.1StvUsage: $0 [OPTIONS] [FILE]...
55401.1Stv
55411.1Stv  -h, --help       print this help, then exit
55421.1Stv  -V, --version    print version number, then exit
55431.1Stv  -d, --debug      don't remove temporary files
55441.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
55451.1Stv  --file=FILE[:TEMPLATE]
55461.1Stv                   instantiate the configuration file FILE
55471.1Stv  --header=FILE[:TEMPLATE]
55481.1Stv                   instantiate the configuration header FILE
55491.1Stv
55501.1StvConfiguration files:
55511.1Stv$config_files
55521.1Stv
55531.1StvConfiguration headers:
55541.1Stv$config_headers
55551.1Stv
55561.1StvReport bugs to <bug-autoconf@gnu.org>."
55571.43SdbjEOF
55581.1Stv
55591.43Sdbjcat >>$CONFIG_STATUS <<EOF
55601.1Stvac_cs_version="\\
55611.1Stvlibnbcompat config.status noversion
55621.43Sdbjconfigured by $0, generated by GNU Autoconf 2.52,
55631.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
55641.1Stv
55651.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
55661.1StvFree Software Foundation, Inc.
55671.1StvThis config.status script is free software; the Free Software Foundation
55681.1Stvgives unlimited permission to copy, distribute and modify it."
55691.1Stvsrcdir=$srcdir
55701.43SdbjEOF
55711.1Stv
55721.43Sdbjcat >>$CONFIG_STATUS <<\EOF
55731.1Stv# If no file are specified by the user, then we need to provide default
55741.1Stv# value.  By we need to know if files were specified by the user.
55751.1Stvac_need_defaults=:
55761.1Stvwhile test $# != 0
55771.1Stvdo
55781.1Stv  case $1 in
55791.1Stv  --*=*)
55801.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
55811.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
55821.43Sdbj    shift
55831.43Sdbj    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
55841.43Sdbj    shift
55851.1Stv    ;;
55861.43Sdbj  -*);;
55871.1Stv  *) # This is not an option, so the user has probably given explicit
55881.1Stv     # arguments.
55891.1Stv     ac_need_defaults=false;;
55901.1Stv  esac
55911.1Stv
55921.43Sdbj  case $1 in
55931.1Stv  # Handling of the options.
55941.43SdbjEOF
55951.43Sdbjcat >>$CONFIG_STATUS <<EOF
55961.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
55971.43Sdbj    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
55981.43Sdbj    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
55991.43SdbjEOF
56001.43Sdbjcat >>$CONFIG_STATUS <<\EOF
56011.1Stv  --version | --vers* | -V )
56021.1Stv    echo "$ac_cs_version"; exit 0 ;;
56031.1Stv  --he | --h)
56041.1Stv    # Conflict between --help and --header
56051.47Sdbj    { { echo "$as_me:5605: error: ambiguous option: $1
56061.1StvTry \`$0 --help' for more information." >&5
56071.1Stvecho "$as_me: error: ambiguous option: $1
56081.1StvTry \`$0 --help' for more information." >&2;}
56091.1Stv   { (exit 1); exit 1; }; };;
56101.1Stv  --help | --hel | -h )
56111.1Stv    echo "$ac_cs_usage"; exit 0 ;;
56121.1Stv  --debug | --d* | -d )
56131.1Stv    debug=: ;;
56141.1Stv  --file | --fil | --fi | --f )
56151.43Sdbj    shift
56161.43Sdbj    CONFIG_FILES="$CONFIG_FILES $1"
56171.1Stv    ac_need_defaults=false;;
56181.1Stv  --header | --heade | --head | --hea )
56191.43Sdbj    shift
56201.43Sdbj    CONFIG_HEADERS="$CONFIG_HEADERS $1"
56211.1Stv    ac_need_defaults=false;;
56221.1Stv
56231.1Stv  # This is an error.
56241.47Sdbj  -*) { { echo "$as_me:5624: error: unrecognized option: $1
56251.1StvTry \`$0 --help' for more information." >&5
56261.1Stvecho "$as_me: error: unrecognized option: $1
56271.1StvTry \`$0 --help' for more information." >&2;}
56281.1Stv   { (exit 1); exit 1; }; } ;;
56291.1Stv
56301.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
56311.1Stv
56321.1Stv  esac
56331.1Stv  shift
56341.1Stvdone
56351.1Stv
56361.43Sdbjexec 5>>config.log
56371.43Sdbjcat >&5 << _ACEOF
56381.1Stv
56391.43Sdbj## ----------------------- ##
56401.43Sdbj## Running config.status.  ##
56411.43Sdbj## ----------------------- ##
56421.1Stv
56431.43SdbjThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
56441.43Sdbj  CONFIG_FILES    = $CONFIG_FILES
56451.43Sdbj  CONFIG_HEADERS  = $CONFIG_HEADERS
56461.43Sdbj  CONFIG_LINKS    = $CONFIG_LINKS
56471.43Sdbj  CONFIG_COMMANDS = $CONFIG_COMMANDS
56481.43Sdbj  > $ac_cs_invocation
56491.43Sdbjon `(hostname || uname -n) 2>/dev/null | sed 1q`
56501.1Stv
56511.1Stv_ACEOF
56521.43SdbjEOF
56531.1Stv
56541.43Sdbjcat >>$CONFIG_STATUS <<\EOF
56551.1Stvfor ac_config_target in $ac_config_targets
56561.1Stvdo
56571.1Stv  case "$ac_config_target" in
56581.1Stv  # Handling of arguments.
56591.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
56601.42Slukem  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
56611.47Sdbj  *) { { echo "$as_me:5661: error: invalid argument: $ac_config_target" >&5
56621.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
56631.1Stv   { (exit 1); exit 1; }; };;
56641.1Stv  esac
56651.1Stvdone
56661.1Stv
56671.1Stv# If the user did not use the arguments to specify the items to instantiate,
56681.1Stv# then the envvar interface is used.  Set only those that are not.
56691.1Stv# We use the long form for the default assignment because of an extremely
56701.1Stv# bizarre bug on SunOS 4.1.3.
56711.1Stvif $ac_need_defaults; then
56721.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56731.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56741.1Stvfi
56751.1Stv
56761.1Stv# Create a temporary directory, and hook for its removal unless debugging.
56771.1Stv$debug ||
56781.1Stv{
56791.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
56801.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
56811.1Stv}
56821.1Stv
56831.1Stv# Create a (secure) tmp directory for tmp files.
56841.43Sdbj: ${TMPDIR=/tmp}
56851.1Stv{
56861.43Sdbj  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
56871.1Stv  test -n "$tmp" && test -d "$tmp"
56881.1Stv}  ||
56891.1Stv{
56901.43Sdbj  tmp=$TMPDIR/cs$$-$RANDOM
56911.1Stv  (umask 077 && mkdir $tmp)
56921.1Stv} ||
56931.1Stv{
56941.43Sdbj   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
56951.1Stv   { (exit 1); exit 1; }
56961.1Stv}
56971.1Stv
56981.43SdbjEOF
56991.1Stv
57001.43Sdbjcat >>$CONFIG_STATUS <<EOF
57011.1Stv
57021.1Stv#
57031.1Stv# CONFIG_FILES section.
57041.1Stv#
57051.1Stv
57061.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
57071.1Stv# This happens for instance when ./config.status config.h
57081.1Stvif test -n "\$CONFIG_FILES"; then
57091.1Stv  # Protect against being on the right side of a sed subst in config.status.
57101.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
57111.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
57121.1Stvs,@SHELL@,$SHELL,;t t
57131.1Stvs,@exec_prefix@,$exec_prefix,;t t
57141.1Stvs,@prefix@,$prefix,;t t
57151.1Stvs,@program_transform_name@,$program_transform_name,;t t
57161.1Stvs,@bindir@,$bindir,;t t
57171.1Stvs,@sbindir@,$sbindir,;t t
57181.1Stvs,@libexecdir@,$libexecdir,;t t
57191.1Stvs,@datadir@,$datadir,;t t
57201.1Stvs,@sysconfdir@,$sysconfdir,;t t
57211.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
57221.1Stvs,@localstatedir@,$localstatedir,;t t
57231.1Stvs,@libdir@,$libdir,;t t
57241.1Stvs,@includedir@,$includedir,;t t
57251.1Stvs,@oldincludedir@,$oldincludedir,;t t
57261.1Stvs,@infodir@,$infodir,;t t
57271.1Stvs,@mandir@,$mandir,;t t
57281.43Sdbjs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
57291.43Sdbjs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
57301.43Sdbjs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
57311.43Sdbjs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
57321.43Sdbjs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
57331.1Stvs,@build_alias@,$build_alias,;t t
57341.1Stvs,@host_alias@,$host_alias,;t t
57351.1Stvs,@target_alias@,$target_alias,;t t
57361.1Stvs,@ECHO_C@,$ECHO_C,;t t
57371.1Stvs,@ECHO_N@,$ECHO_N,;t t
57381.1Stvs,@ECHO_T@,$ECHO_T,;t t
57391.43Sdbjs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
57401.43Sdbjs,@DEFS@,$DEFS,;t t
57411.1Stvs,@LIBS@,$LIBS,;t t
57421.1Stvs,@CC@,$CC,;t t
57431.1Stvs,@CFLAGS@,$CFLAGS,;t t
57441.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
57451.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
57461.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
57471.1Stvs,@EXEEXT@,$EXEEXT,;t t
57481.1Stvs,@OBJEXT@,$OBJEXT,;t t
57491.1Stvs,@CPP@,$CPP,;t t
57501.45Sjmcs,@BSHELL@,$BSHELL,;t t
57511.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
57521.1StvCEOF
57531.1Stv
57541.43SdbjEOF
57551.1Stv
57561.43Sdbj  cat >>$CONFIG_STATUS <<\EOF
57571.1Stv  # Split the substitutions into bite-sized pieces for seds with
57581.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
57591.1Stv  ac_max_sed_lines=48
57601.1Stv  ac_sed_frag=1 # Number of current file.
57611.1Stv  ac_beg=1 # First line for current file.
57621.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
57631.1Stv  ac_more_lines=:
57641.1Stv  ac_sed_cmds=
57651.1Stv  while $ac_more_lines; do
57661.1Stv    if test $ac_beg -gt 1; then
57671.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
57681.1Stv    else
57691.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
57701.1Stv    fi
57711.1Stv    if test ! -s $tmp/subs.frag; then
57721.1Stv      ac_more_lines=false
57731.1Stv    else
57741.1Stv      # The purpose of the label and of the branching condition is to
57751.1Stv      # speed up the sed processing (if there are no `@' at all, there
57761.1Stv      # is no need to browse any of the substitutions).
57771.1Stv      # These are the two extra sed commands mentioned above.
57781.1Stv      (echo ':t
57791.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
57801.1Stv      if test -z "$ac_sed_cmds"; then
57811.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
57821.1Stv      else
57831.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
57841.1Stv      fi
57851.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
57861.1Stv      ac_beg=$ac_end
57871.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
57881.1Stv    fi
57891.1Stv  done
57901.1Stv  if test -z "$ac_sed_cmds"; then
57911.1Stv    ac_sed_cmds=cat
57921.1Stv  fi
57931.1Stvfi # test -n "$CONFIG_FILES"
57941.1Stv
57951.43SdbjEOF
57961.43Sdbjcat >>$CONFIG_STATUS <<\EOF
57971.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
57981.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
57991.1Stv  case $ac_file in
58001.1Stv  - | *:- | *:-:* ) # input from stdin
58011.1Stv        cat >$tmp/stdin
58021.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58031.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58041.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58051.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58061.1Stv  * )   ac_file_in=$ac_file.in ;;
58071.1Stv  esac
58081.1Stv
58091.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
58101.43Sdbj  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58111.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
58121.1Stv         X"$ac_file" : 'X\(//\)$' \| \
58131.1Stv         X"$ac_file" : 'X\(/\)' \| \
58141.1Stv         .     : '\(.\)' 2>/dev/null ||
58151.1Stvecho X"$ac_file" |
58161.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
58171.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
58181.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
58191.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
58201.1Stv  	  s/.*/./; q'`
58211.43Sdbj  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
58221.43Sdbj    { case "$ac_dir" in
58231.43Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
58241.43Sdbj  *)                      as_incr_dir=.;;
58251.1Stvesac
58261.43Sdbjas_dummy="$ac_dir"
58271.43Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
58281.43Sdbj  case $as_mkdir_dir in
58291.43Sdbj    # Skip DOS drivespec
58301.43Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
58311.43Sdbj    *)
58321.43Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
58331.43Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
58341.43Sdbj    ;;
58351.43Sdbj  esac
58361.43Sdbjdone; }
58371.1Stv
58381.43Sdbj    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
58391.43Sdbj    # A "../" for each directory in $ac_dir_suffix.
58401.43Sdbj    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
58411.43Sdbj  else
58421.43Sdbj    ac_dir_suffix= ac_dots=
58431.43Sdbj  fi
58441.1Stv
58451.43Sdbj  case $srcdir in
58461.43Sdbj  .)  ac_srcdir=.
58471.43Sdbj      if test -z "$ac_dots"; then
58481.43Sdbj         ac_top_srcdir=.
58491.43Sdbj      else
58501.43Sdbj         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
58511.43Sdbj      fi ;;
58521.43Sdbj  [\\/]* | ?:[\\/]* )
58531.43Sdbj      ac_srcdir=$srcdir$ac_dir_suffix;
58541.43Sdbj      ac_top_srcdir=$srcdir ;;
58551.43Sdbj  *) # Relative path.
58561.43Sdbj    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
58571.43Sdbj    ac_top_srcdir=$ac_dots$srcdir ;;
58581.43Sdbj  esac
58591.1Stv
58601.1Stv  if test x"$ac_file" != x-; then
58611.47Sdbj    { echo "$as_me:5861: creating $ac_file" >&5
58621.1Stvecho "$as_me: creating $ac_file" >&6;}
58631.1Stv    rm -f "$ac_file"
58641.1Stv  fi
58651.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
58661.1Stv  # use $as_me), people would be surprised to read:
58671.43Sdbj  #    /* config.h.  Generated automatically by config.status.  */
58681.43Sdbj  configure_input="Generated automatically from `echo $ac_file_in |
58691.43Sdbj                                                 sed 's,.*/,,'` by configure."
58701.1Stv
58711.1Stv  # First look for the input files in the build tree, otherwise in the
58721.1Stv  # src tree.
58731.1Stv  ac_file_inputs=`IFS=:
58741.1Stv    for f in $ac_file_in; do
58751.1Stv      case $f in
58761.1Stv      -) echo $tmp/stdin ;;
58771.1Stv      [\\/$]*)
58781.1Stv         # Absolute (can't be DOS-style, as IFS=:)
58791.47Sdbj         test -f "$f" || { { echo "$as_me:5879: error: cannot find input file: $f" >&5
58801.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
58811.1Stv   { (exit 1); exit 1; }; }
58821.1Stv         echo $f;;
58831.1Stv      *) # Relative
58841.1Stv         if test -f "$f"; then
58851.1Stv           # Build tree
58861.1Stv           echo $f
58871.1Stv         elif test -f "$srcdir/$f"; then
58881.1Stv           # Source tree
58891.1Stv           echo $srcdir/$f
58901.1Stv         else
58911.1Stv           # /dev/null tree
58921.47Sdbj           { { echo "$as_me:5892: error: cannot find input file: $f" >&5
58931.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
58941.1Stv   { (exit 1); exit 1; }; }
58951.1Stv         fi;;
58961.1Stv      esac
58971.1Stv    done` || { (exit 1); exit 1; }
58981.43SdbjEOF
58991.43Sdbjcat >>$CONFIG_STATUS <<EOF
59001.1Stv  sed "$ac_vpsub
59011.1Stv$extrasub
59021.43SdbjEOF
59031.43Sdbjcat >>$CONFIG_STATUS <<\EOF
59041.1Stv:t
59051.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
59061.1Stvs,@configure_input@,$configure_input,;t t
59071.1Stvs,@srcdir@,$ac_srcdir,;t t
59081.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
59091.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
59101.1Stv  rm -f $tmp/stdin
59111.1Stv  if test x"$ac_file" != x-; then
59121.1Stv    mv $tmp/out $ac_file
59131.1Stv  else
59141.1Stv    cat $tmp/out
59151.1Stv    rm -f $tmp/out
59161.1Stv  fi
59171.1Stv
59181.1Stvdone
59191.43SdbjEOF
59201.43Sdbjcat >>$CONFIG_STATUS <<\EOF
59211.1Stv
59221.1Stv#
59231.1Stv# CONFIG_HEADER section.
59241.1Stv#
59251.1Stv
59261.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
59271.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
59281.1Stv#
59291.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
59301.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
59311.1Stvac_dB='[ 	].*$,\1#\2'
59321.1Stvac_dC=' '
59331.1Stvac_dD=',;t'
59341.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
59351.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
59361.1Stvac_uB='$,\1#\2define\3'
59371.1Stvac_uC=' '
59381.1Stvac_uD=',;t'
59391.1Stv
59401.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
59411.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
59421.1Stv  case $ac_file in
59431.1Stv  - | *:- | *:-:* ) # input from stdin
59441.1Stv        cat >$tmp/stdin
59451.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
59461.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
59471.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
59481.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
59491.1Stv  * )   ac_file_in=$ac_file.in ;;
59501.1Stv  esac
59511.1Stv
59521.47Sdbj  test x"$ac_file" != x- && { echo "$as_me:5952: creating $ac_file" >&5
59531.1Stvecho "$as_me: creating $ac_file" >&6;}
59541.1Stv
59551.1Stv  # First look for the input files in the build tree, otherwise in the
59561.1Stv  # src tree.
59571.1Stv  ac_file_inputs=`IFS=:
59581.1Stv    for f in $ac_file_in; do
59591.1Stv      case $f in
59601.1Stv      -) echo $tmp/stdin ;;
59611.1Stv      [\\/$]*)
59621.1Stv         # Absolute (can't be DOS-style, as IFS=:)
59631.47Sdbj         test -f "$f" || { { echo "$as_me:5963: error: cannot find input file: $f" >&5
59641.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
59651.1Stv   { (exit 1); exit 1; }; }
59661.1Stv         echo $f;;
59671.1Stv      *) # Relative
59681.1Stv         if test -f "$f"; then
59691.1Stv           # Build tree
59701.1Stv           echo $f
59711.1Stv         elif test -f "$srcdir/$f"; then
59721.1Stv           # Source tree
59731.1Stv           echo $srcdir/$f
59741.1Stv         else
59751.1Stv           # /dev/null tree
59761.47Sdbj           { { echo "$as_me:5976: error: cannot find input file: $f" >&5
59771.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
59781.1Stv   { (exit 1); exit 1; }; }
59791.1Stv         fi;;
59801.1Stv      esac
59811.1Stv    done` || { (exit 1); exit 1; }
59821.1Stv  # Remove the trailing spaces.
59831.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
59841.1Stv
59851.43SdbjEOF
59861.1Stv
59871.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
59881.1Stv# `conftest.undefs', that substitutes the proper values into
59891.1Stv# config.h.in to produce config.h.  The first handles `#define'
59901.1Stv# templates, and the second `#undef' templates.
59911.1Stv# And first: Protect against being on the right side of a sed subst in
59921.1Stv# config.status.  Protect against being in an unquoted here document
59931.1Stv# in config.status.
59941.1Stvrm -f conftest.defines conftest.undefs
59951.1Stv# Using a here document instead of a string reduces the quoting nightmare.
59961.1Stv# Putting comments in sed scripts is not portable.
59971.1Stv#
59981.1Stv# `end' is used to avoid that the second main sed command (meant for
59991.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
60001.1Stv# See the Autoconf documentation for `clear'.
60011.43Sdbjcat >confdef2sed.sed <<\EOF
60021.1Stvs/[\\&,]/\\&/g
60031.1Stvs,[\\$`],\\&,g
60041.1Stvt clear
60051.1Stv: clear
60061.43Sdbjs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
60071.1Stvt end
60081.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
60091.1Stv: end
60101.43SdbjEOF
60111.1Stv# If some macros were called several times there might be several times
60121.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
60131.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
60141.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
60151.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
60161.1Stvrm -f confdef2sed.sed
60171.1Stv
60181.1Stv# This sed command replaces #undef with comments.  This is necessary, for
60191.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
60201.1Stv# on some systems where configure will not decide to define it.
60211.43Sdbjcat >>conftest.undefs <<\EOF
60221.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
60231.43SdbjEOF
60241.1Stv
60251.1Stv# Break up conftest.defines because some shells have a limit on the size
60261.1Stv# of here documents, and old seds have small limits too (100 cmds).
60271.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
60281.43Sdbjecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
60291.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
60301.1Stvecho '  :' >>$CONFIG_STATUS
60311.1Stvrm -f conftest.tail
60321.1Stvwhile grep . conftest.defines >/dev/null
60331.1Stvdo
60341.1Stv  # Write a limited-size here document to $tmp/defines.sed.
60351.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
60361.1Stv  # Speed up: don't consider the non `#define' lines.
60371.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
60381.1Stv  # Work around the forget-to-reset-the-flag bug.
60391.1Stv  echo 't clr' >>$CONFIG_STATUS
60401.1Stv  echo ': clr' >>$CONFIG_STATUS
60411.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
60421.1Stv  echo 'CEOF
60431.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
60441.1Stv  rm -f $tmp/in
60451.1Stv  mv $tmp/out $tmp/in
60461.1Stv' >>$CONFIG_STATUS
60471.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
60481.1Stv  rm -f conftest.defines
60491.1Stv  mv conftest.tail conftest.defines
60501.1Stvdone
60511.1Stvrm -f conftest.defines
60521.43Sdbjecho '  fi # egrep' >>$CONFIG_STATUS
60531.1Stvecho >>$CONFIG_STATUS
60541.1Stv
60551.1Stv# Break up conftest.undefs because some shells have a limit on the size
60561.1Stv# of here documents, and old seds have small limits too (100 cmds).
60571.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
60581.1Stvrm -f conftest.tail
60591.1Stvwhile grep . conftest.undefs >/dev/null
60601.1Stvdo
60611.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
60621.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
60631.1Stv  # Speed up: don't consider the non `#undef'
60641.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
60651.1Stv  # Work around the forget-to-reset-the-flag bug.
60661.1Stv  echo 't clr' >>$CONFIG_STATUS
60671.1Stv  echo ': clr' >>$CONFIG_STATUS
60681.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
60691.1Stv  echo 'CEOF
60701.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
60711.1Stv  rm -f $tmp/in
60721.1Stv  mv $tmp/out $tmp/in
60731.1Stv' >>$CONFIG_STATUS
60741.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
60751.1Stv  rm -f conftest.undefs
60761.1Stv  mv conftest.tail conftest.undefs
60771.1Stvdone
60781.1Stvrm -f conftest.undefs
60791.1Stv
60801.43Sdbjcat >>$CONFIG_STATUS <<\EOF
60811.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
60821.1Stv  # use $as_me), people would be surprised to read:
60831.43Sdbj  #    /* config.h.  Generated automatically by config.status.  */
60841.1Stv  if test x"$ac_file" = x-; then
60851.43Sdbj    echo "/* Generated automatically by configure.  */" >$tmp/config.h
60861.1Stv  else
60871.43Sdbj    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
60881.1Stv  fi
60891.1Stv  cat $tmp/in >>$tmp/config.h
60901.1Stv  rm -f $tmp/in
60911.1Stv  if test x"$ac_file" != x-; then
60921.43Sdbj    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
60931.47Sdbj      { echo "$as_me:6093: $ac_file is unchanged" >&5
60941.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
60951.1Stv    else
60961.43Sdbj      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60971.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
60981.1Stv         X"$ac_file" : 'X\(//\)$' \| \
60991.1Stv         X"$ac_file" : 'X\(/\)' \| \
61001.1Stv         .     : '\(.\)' 2>/dev/null ||
61011.1Stvecho X"$ac_file" |
61021.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
61031.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
61041.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
61051.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
61061.1Stv  	  s/.*/./; q'`
61071.43Sdbj      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
61081.43Sdbj        { case "$ac_dir" in
61091.43Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
61101.43Sdbj  *)                      as_incr_dir=.;;
61111.43Sdbjesac
61121.43Sdbjas_dummy="$ac_dir"
61131.43Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
61141.43Sdbj  case $as_mkdir_dir in
61151.43Sdbj    # Skip DOS drivespec
61161.43Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
61171.43Sdbj    *)
61181.43Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
61191.43Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
61201.43Sdbj    ;;
61211.43Sdbj  esac
61221.43Sdbjdone; }
61231.1Stv
61241.43Sdbj      fi
61251.1Stv      rm -f $ac_file
61261.1Stv      mv $tmp/config.h $ac_file
61271.1Stv    fi
61281.1Stv  else
61291.1Stv    cat $tmp/config.h
61301.1Stv    rm -f $tmp/config.h
61311.1Stv  fi
61321.1Stvdone
61331.43SdbjEOF
61341.1Stv
61351.43Sdbjcat >>$CONFIG_STATUS <<\EOF
61361.1Stv
61371.1Stv{ (exit 0); exit 0; }
61381.43SdbjEOF
61391.1Stvchmod +x $CONFIG_STATUS
61401.1Stvac_clean_files=$ac_clean_files_save
61411.1Stv
61421.1Stv# configure is writing to config.log, and then calls config.status.
61431.1Stv# config.status does its own redirection, appending to config.log.
61441.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
61451.1Stv# by configure, so config.status won't be able to write to it; its
61461.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
61471.1Stv# effectively closing config.log, so it can be properly (re)opened and
61481.1Stv# appended to by config.status.  When coming back to configure, we
61491.1Stv# need to make the FD available again.
61501.1Stvif test "$no_create" != yes; then
61511.1Stv  ac_cs_success=:
61521.1Stv  exec 5>/dev/null
61531.43Sdbj  $SHELL $CONFIG_STATUS || ac_cs_success=false
61541.1Stv  exec 5>>config.log
61551.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61561.1Stv  # would make configure fail if this is the last instruction.
61571.1Stv  $ac_cs_success || { (exit 1); exit 1; }
61581.1Stvfi
61591.1Stv
6160