configure revision 1.60
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.60Sapb# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.60Sapb# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.60Sapb# 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.60Sapb# Sed expression to map a string onto a valid variable name.
201.60Sapbas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.53Sdogcow
221.60Sapb# Sed expression to map a string onto a valid CPP name.
231.60Sapbas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.53Sdogcow
251.60Sapb# Be Bourne compatible
261.60Sapbif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.60Sapb  emulate sh
281.60Sapb  NULLCMD=:
291.60Sapbelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.60Sapb  set -o posix
311.60Sapbfi
321.48Sjmc
331.60Sapb# Name of the executable.
341.60Sapbas_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.60Sapbas_executable_p="test -f"
611.60Sapb
621.60Sapb# Support unset when possible.
631.60Sapbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.60Sapb  as_unset=unset
651.53Sdogcowelse
661.60Sapb  as_unset=false
671.53Sdogcowfi
681.53Sdogcow
691.60Sapb# NLS nuisances.
701.60Sapb$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.60Sapb$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.60Sapb$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.60Sapb$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.60Sapb$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.60Sapb$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.60Sapb$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.60Sapb$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.60Sapb$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.60SapbMFLAGS= 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.60Sapb# Identity of this package.
1851.60SapbPACKAGE_NAME='libnbcompat'
1861.60SapbPACKAGE_TARNAME='libnbcompat'
1871.60SapbPACKAGE_VERSION='noversion'
1881.60SapbPACKAGE_STRING='libnbcompat noversion'
1891.60SapbPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
1901.60Sapb
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.60Sapb  | --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.60Sapb    *)  { 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.60Sapb              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.60Sapb    *)  { 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.60Sapb# 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.60Sapb  ac_prog=$0
5461.60Sapb  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.60Sapb  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.60Sapb    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.60Sapb    { 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.60Sapb  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.60SapbEOF
6261.1Stv
6271.60Sapb  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.60Sapb                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.60Sapb                          [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.60SapbEOF
6551.1Stv
6561.60Sapb  cat <<\EOF
6571.60SapbEOF
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.60Sapb  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.60SapbEOF
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.60Sapb  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.60Sapb    cd $ac_subdir
6871.60Sapb    # A "../" for each directory in /$ac_subdir.
6881.60Sapb    ac_dots=`echo $ac_subdir |
6891.60Sapb             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.60Sapb
6911.60Sapb    case $srcdir in
6921.60Sapb    .) # No --srcdir option.  We are building in place.
6931.60Sapb      ac_sub_srcdir=$srcdir ;;
6941.60Sapb    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.60Sapb      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.60Sapb    *) # Relative path.
6971.60Sapb      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.60Sapb    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.60Sapb    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.60Sapb      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.60Sapb    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.60Sapb      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.60Sapb    elif test -f $ac_sub_srcdir/configure.ac ||
7081.60Sapb           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.60Sapb      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.60Sapb  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.60Sapbgenerated by GNU Autoconf 2.52
7231.1Stv
7241.60SapbCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.60SapbFree 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.60SapbEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.60Sapbcat >&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.60Sapbgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.60SapbEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.60Sapb## ---------- ##
7451.60Sapb## Platform.  ##
7461.60Sapb## ---------- ##
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.60SapbPATH = $PATH
7661.60Sapb
7671.53Sdogcow_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.60Sapbcat >&5 <<EOF
7711.60Sapb## ------------ ##
7721.60Sapb## Core tests.  ##
7731.60Sapb## ------------ ##
7741.1Stv
7751.60SapbEOF
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.60Sapbfor ac_arg
7831.1Stvdo
7841.60Sapb  case $ac_arg in
7851.60Sapb  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.60Sapb  | --no-cr | --no-c) ;;
7871.60Sapb  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.60Sapb  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.60Sapb  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.60Sapb    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.60Sapb    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.60Sapb    ac_sep=" " ;;
7931.60Sapb  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.60Sapb     ac_sep=" " ;;
7951.60Sapb  esac
7961.60Sapb  # 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.60Sapb  echo >&5
8051.60Sapb  echo "## ----------------- ##" >&5
8061.60Sapb  echo "## Cache variables.  ##" >&5
8071.60Sapb  echo "## ----------------- ##" >&5
8081.60Sapb  echo >&5
8091.60Sapb  # 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.60Sapb        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.60Sapb    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.60Sapb        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.60Sapb} >&5
8241.60Sapb  sed "/^$/d" confdefs.h >conftest.log
8251.60Sapb  if test -s conftest.log; then
8261.60Sapb    echo >&5
8271.60Sapb    echo "## ------------ ##" >&5
8281.60Sapb    echo "## confdefs.h.  ##" >&5
8291.60Sapb    echo "## ------------ ##" >&5
8301.60Sapb    echo >&5
8311.60Sapb    cat conftest.log >&5
8321.60Sapb  fi
8331.60Sapb  (echo; echo) >&5
8341.60Sapb  test "$ac_signal" != 0 &&
8351.60Sapb    echo "$as_me: caught signal $ac_signal" >&5
8361.60Sapb  echo "$as_me: exit $exit_status" >&5
8371.60Sapb  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.60Sapb    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.60Sapb    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.60Sapb    { 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.60Sapb  { 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.60Sapb               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.60Sapb      { 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.60Sapb      { 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.60Sapb        { 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.60Sapb        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.60Sapb        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.60Sapb        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.60Sapb  # Pass precious variables to config.status.  It doesn't matter if
9161.60Sapb  # 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.60Sapb      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.60Sapb      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.60Sapb      ;;
9231.60Sapb    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.60Sapb       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.60Sapb  { 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.60Sapb  { { 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.60Sapbcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.60Sapb  *c*,-n*) ECHO_N= ECHO_C='
9441.60Sapb' ECHO_T='	' ;;
9451.60Sapb  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.60Sapb  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.60Sapbesac
9481.60Sapbecho "#! $SHELL" >conftest.sh
9491.60Sapbecho  "exit 0"   >>conftest.sh
9501.60Sapbchmod +x conftest.sh
9511.60Sapbif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.60Sapb  (PATH=".;."; conftest.sh) 2>&5
9531.60Sapb  ac_status=$?
9541.60Sapb  echo "$as_me:954: \$? = $ac_status" >&5
9551.60Sapb  (exit $ac_status); }; then
9561.60Sapb  ac_path_separator=';'
9571.60Sapbelse
9581.60Sapb  ac_path_separator=:
9591.60Sapbfi
9601.60SapbPATH_SEPARATOR="$ac_path_separator"
9611.60Sapbrm -f conftest.sh
9621.1Stv
9631.60Sapbac_config_headers="$ac_config_headers nbtool_config.h"
9641.1Stv
9651.60Sapbac_config_files="$ac_config_files defs.mk"
9661.1Stv
9671.57Swiz# Autoheader header and footer
9681.57Swiz
9691.45Sjmc# AC_NETBSD
9701.20Sbjh21
9711.1Stvac_ext=c
9721.1Stvac_cpp='$CPP $CPPFLAGS'
9731.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9741.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9751.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9761.1Stvif test -n "$ac_tool_prefix"; then
9771.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9781.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
9791.60Sapbecho "$as_me:979: checking for $ac_word" >&5
9801.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811.1Stvif test "${ac_cv_prog_CC+set}" = set; then
9821.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
9831.1Stvelse
9841.1Stv  if test -n "$CC"; then
9851.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
9861.1Stvelse
9871.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
9881.60Sapbac_dummy="$PATH"
9891.60Sapbfor ac_dir in $ac_dummy; do
9901.60Sapb  IFS=$ac_save_IFS
9911.60Sapb  test -z "$ac_dir" && ac_dir=.
9921.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
9931.60Sapbac_cv_prog_CC="${ac_tool_prefix}gcc"
9941.60Sapbecho "$as_me:994: found $ac_dir/$ac_word" >&5
9951.60Sapbbreak
9961.1Stvdone
9971.1Stv
9981.1Stvfi
9991.1Stvfi
10001.1StvCC=$ac_cv_prog_CC
10011.1Stvif test -n "$CC"; then
10021.60Sapb  echo "$as_me:1002: result: $CC" >&5
10031.1Stvecho "${ECHO_T}$CC" >&6
10041.1Stvelse
10051.60Sapb  echo "$as_me:1005: result: no" >&5
10061.1Stvecho "${ECHO_T}no" >&6
10071.1Stvfi
10081.1Stv
10091.1Stvfi
10101.1Stvif test -z "$ac_cv_prog_CC"; then
10111.1Stv  ac_ct_CC=$CC
10121.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10131.1Stvset dummy gcc; ac_word=$2
10141.60Sapbecho "$as_me:1014: checking for $ac_word" >&5
10151.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10161.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10171.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10181.1Stvelse
10191.1Stv  if test -n "$ac_ct_CC"; then
10201.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10211.1Stvelse
10221.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10231.60Sapbac_dummy="$PATH"
10241.60Sapbfor ac_dir in $ac_dummy; do
10251.60Sapb  IFS=$ac_save_IFS
10261.60Sapb  test -z "$ac_dir" && ac_dir=.
10271.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
10281.60Sapbac_cv_prog_ac_ct_CC="gcc"
10291.60Sapbecho "$as_me:1029: found $ac_dir/$ac_word" >&5
10301.60Sapbbreak
10311.1Stvdone
10321.1Stv
10331.1Stvfi
10341.1Stvfi
10351.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
10361.1Stvif test -n "$ac_ct_CC"; then
10371.60Sapb  echo "$as_me:1037: result: $ac_ct_CC" >&5
10381.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10391.1Stvelse
10401.60Sapb  echo "$as_me:1040: result: no" >&5
10411.1Stvecho "${ECHO_T}no" >&6
10421.1Stvfi
10431.1Stv
10441.1Stv  CC=$ac_ct_CC
10451.1Stvelse
10461.1Stv  CC="$ac_cv_prog_CC"
10471.1Stvfi
10481.1Stv
10491.1Stvif test -z "$CC"; then
10501.1Stv  if test -n "$ac_tool_prefix"; then
10511.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10521.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10531.60Sapbecho "$as_me:1053: checking for $ac_word" >&5
10541.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10551.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10561.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10571.1Stvelse
10581.1Stv  if test -n "$CC"; then
10591.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10601.1Stvelse
10611.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10621.60Sapbac_dummy="$PATH"
10631.60Sapbfor ac_dir in $ac_dummy; do
10641.60Sapb  IFS=$ac_save_IFS
10651.60Sapb  test -z "$ac_dir" && ac_dir=.
10661.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
10671.60Sapbac_cv_prog_CC="${ac_tool_prefix}cc"
10681.60Sapbecho "$as_me:1068: found $ac_dir/$ac_word" >&5
10691.60Sapbbreak
10701.1Stvdone
10711.1Stv
10721.1Stvfi
10731.1Stvfi
10741.1StvCC=$ac_cv_prog_CC
10751.1Stvif test -n "$CC"; then
10761.60Sapb  echo "$as_me:1076: result: $CC" >&5
10771.1Stvecho "${ECHO_T}$CC" >&6
10781.1Stvelse
10791.60Sapb  echo "$as_me:1079: result: no" >&5
10801.1Stvecho "${ECHO_T}no" >&6
10811.1Stvfi
10821.1Stv
10831.1Stvfi
10841.1Stvif test -z "$ac_cv_prog_CC"; then
10851.1Stv  ac_ct_CC=$CC
10861.1Stv  # Extract the first word of "cc", so it can be a program name with args.
10871.1Stvset dummy cc; ac_word=$2
10881.60Sapbecho "$as_me:1088: checking for $ac_word" >&5
10891.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10901.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10911.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10921.1Stvelse
10931.1Stv  if test -n "$ac_ct_CC"; then
10941.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10951.1Stvelse
10961.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10971.60Sapbac_dummy="$PATH"
10981.60Sapbfor ac_dir in $ac_dummy; do
10991.60Sapb  IFS=$ac_save_IFS
11001.60Sapb  test -z "$ac_dir" && ac_dir=.
11011.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11021.60Sapbac_cv_prog_ac_ct_CC="cc"
11031.60Sapbecho "$as_me:1103: found $ac_dir/$ac_word" >&5
11041.60Sapbbreak
11051.1Stvdone
11061.1Stv
11071.1Stvfi
11081.1Stvfi
11091.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11101.1Stvif test -n "$ac_ct_CC"; then
11111.60Sapb  echo "$as_me:1111: result: $ac_ct_CC" >&5
11121.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11131.1Stvelse
11141.60Sapb  echo "$as_me:1114: result: no" >&5
11151.1Stvecho "${ECHO_T}no" >&6
11161.1Stvfi
11171.1Stv
11181.1Stv  CC=$ac_ct_CC
11191.1Stvelse
11201.1Stv  CC="$ac_cv_prog_CC"
11211.1Stvfi
11221.1Stv
11231.1Stvfi
11241.1Stvif test -z "$CC"; then
11251.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11261.1Stvset dummy cc; ac_word=$2
11271.60Sapbecho "$as_me:1127: checking for $ac_word" >&5
11281.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11291.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11301.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11311.1Stvelse
11321.1Stv  if test -n "$CC"; then
11331.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11341.1Stvelse
11351.1Stv  ac_prog_rejected=no
11361.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
11371.60Sapbac_dummy="$PATH"
11381.60Sapbfor ac_dir in $ac_dummy; do
11391.60Sapb  IFS=$ac_save_IFS
11401.60Sapb  test -z "$ac_dir" && ac_dir=.
11411.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11421.60Sapbif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11431.60Sapb  ac_prog_rejected=yes
11441.60Sapb  continue
11451.60Sapbfi
11461.60Sapbac_cv_prog_CC="cc"
11471.60Sapbecho "$as_me:1147: found $ac_dir/$ac_word" >&5
11481.60Sapbbreak
11491.1Stvdone
11501.1Stv
11511.1Stvif test $ac_prog_rejected = yes; then
11521.1Stv  # We found a bogon in the path, so make sure we never use it.
11531.1Stv  set dummy $ac_cv_prog_CC
11541.1Stv  shift
11551.1Stv  if test $# != 0; then
11561.1Stv    # We chose a different compiler from the bogus one.
11571.1Stv    # However, it has the same basename, so the bogon will be chosen
11581.1Stv    # first if we set CC to just the basename; use the full file name.
11591.1Stv    shift
11601.60Sapb    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11611.60Sapb    shift
11621.60Sapb    ac_cv_prog_CC="$@"
11631.1Stv  fi
11641.1Stvfi
11651.1Stvfi
11661.1Stvfi
11671.1StvCC=$ac_cv_prog_CC
11681.1Stvif test -n "$CC"; then
11691.60Sapb  echo "$as_me:1169: result: $CC" >&5
11701.1Stvecho "${ECHO_T}$CC" >&6
11711.1Stvelse
11721.60Sapb  echo "$as_me:1172: result: no" >&5
11731.1Stvecho "${ECHO_T}no" >&6
11741.1Stvfi
11751.1Stv
11761.1Stvfi
11771.1Stvif test -z "$CC"; then
11781.1Stv  if test -n "$ac_tool_prefix"; then
11791.1Stv  for ac_prog in cl
11801.1Stv  do
11811.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11821.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
11831.60Sapbecho "$as_me:1183: checking for $ac_word" >&5
11841.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11851.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11861.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11871.1Stvelse
11881.1Stv  if test -n "$CC"; then
11891.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11901.1Stvelse
11911.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
11921.60Sapbac_dummy="$PATH"
11931.60Sapbfor ac_dir in $ac_dummy; do
11941.60Sapb  IFS=$ac_save_IFS
11951.60Sapb  test -z "$ac_dir" && ac_dir=.
11961.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11971.60Sapbac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11981.60Sapbecho "$as_me:1198: found $ac_dir/$ac_word" >&5
11991.60Sapbbreak
12001.1Stvdone
12011.1Stv
12021.1Stvfi
12031.1Stvfi
12041.1StvCC=$ac_cv_prog_CC
12051.1Stvif test -n "$CC"; then
12061.60Sapb  echo "$as_me:1206: result: $CC" >&5
12071.1Stvecho "${ECHO_T}$CC" >&6
12081.1Stvelse
12091.60Sapb  echo "$as_me:1209: result: no" >&5
12101.1Stvecho "${ECHO_T}no" >&6
12111.1Stvfi
12121.1Stv
12131.1Stv    test -n "$CC" && break
12141.1Stv  done
12151.1Stvfi
12161.1Stvif test -z "$CC"; then
12171.1Stv  ac_ct_CC=$CC
12181.1Stv  for ac_prog in cl
12191.1Stvdo
12201.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12211.1Stvset dummy $ac_prog; ac_word=$2
12221.60Sapbecho "$as_me:1222: checking for $ac_word" >&5
12231.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12251.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12261.1Stvelse
12271.1Stv  if test -n "$ac_ct_CC"; then
12281.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12291.1Stvelse
12301.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
12311.60Sapbac_dummy="$PATH"
12321.60Sapbfor ac_dir in $ac_dummy; do
12331.60Sapb  IFS=$ac_save_IFS
12341.60Sapb  test -z "$ac_dir" && ac_dir=.
12351.60Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
12361.60Sapbac_cv_prog_ac_ct_CC="$ac_prog"
12371.60Sapbecho "$as_me:1237: found $ac_dir/$ac_word" >&5
12381.60Sapbbreak
12391.1Stvdone
12401.1Stv
12411.1Stvfi
12421.1Stvfi
12431.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
12441.1Stvif test -n "$ac_ct_CC"; then
12451.60Sapb  echo "$as_me:1245: result: $ac_ct_CC" >&5
12461.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12471.1Stvelse
12481.60Sapb  echo "$as_me:1248: result: no" >&5
12491.1Stvecho "${ECHO_T}no" >&6
12501.1Stvfi
12511.1Stv
12521.1Stv  test -n "$ac_ct_CC" && break
12531.1Stvdone
12541.1Stv
12551.1Stv  CC=$ac_ct_CC
12561.1Stvfi
12571.1Stv
12581.1Stvfi
12591.1Stv
12601.60Sapbtest -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
12611.60Sapbecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
12621.1Stv   { (exit 1); exit 1; }; }
12631.1Stv
12641.1Stv# Provide some information about the compiler.
12651.60Sapbecho "$as_me:1265:" \
12661.1Stv     "checking for C compiler version" >&5
12671.1Stvac_compiler=`set X $ac_compile; echo $2`
12681.60Sapb{ (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
12691.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
12701.1Stv  ac_status=$?
12711.60Sapb  echo "$as_me:1271: \$? = $ac_status" >&5
12721.1Stv  (exit $ac_status); }
12731.60Sapb{ (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
12741.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
12751.1Stv  ac_status=$?
12761.60Sapb  echo "$as_me:1276: \$? = $ac_status" >&5
12771.1Stv  (exit $ac_status); }
12781.60Sapb{ (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
12791.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
12801.1Stv  ac_status=$?
12811.60Sapb  echo "$as_me:1281: \$? = $ac_status" >&5
12821.1Stv  (exit $ac_status); }
12831.1Stv
12841.1Stvcat >conftest.$ac_ext <<_ACEOF
12851.60Sapb#line 1285 "configure"
12861.60Sapb#include "confdefs.h"
12871.1Stv
12881.1Stvint
12891.1Stvmain ()
12901.1Stv{
12911.1Stv
12921.1Stv  ;
12931.1Stv  return 0;
12941.1Stv}
12951.1Stv_ACEOF
12961.1Stvac_clean_files_save=$ac_clean_files
12971.60Sapbac_clean_files="$ac_clean_files a.out a.exe"
12981.1Stv# Try to create an executable without -o first, disregard a.out.
12991.1Stv# It will help us diagnose broken compilers, and finding out an intuition
13001.1Stv# of exeext.
13011.60Sapbecho "$as_me:1301: checking for C compiler default output" >&5
13021.60Sapbecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13031.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13041.60Sapbif { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
13051.1Stv  (eval $ac_link_default) 2>&5
13061.1Stv  ac_status=$?
13071.60Sapb  echo "$as_me:1307: \$? = $ac_status" >&5
13081.1Stv  (exit $ac_status); }; then
13091.1Stv  # Find the output, starting from the most likely.  This scheme is
13101.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13111.1Stv# resort.
13121.60Sapbfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13131.60Sapb                ls a.out conftest 2>/dev/null;
13141.60Sapb                ls a.* conftest.* 2>/dev/null`; do
13151.1Stv  case $ac_file in
13161.60Sapb    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13171.60Sapb    a.out ) # We found the default executable, but exeext='' is most
13181.60Sapb            # certainly right.
13191.60Sapb            break;;
13201.60Sapb    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13211.60Sapb          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13221.60Sapb          export ac_cv_exeext
13231.60Sapb          break;;
13241.60Sapb    * ) break;;
13251.1Stv  esac
13261.1Stvdone
13271.1Stvelse
13281.1Stv  echo "$as_me: failed program was:" >&5
13291.60Sapbcat conftest.$ac_ext >&5
13301.60Sapb{ { echo "$as_me:1330: error: C compiler cannot create executables" >&5
13311.60Sapbecho "$as_me: error: C compiler cannot create executables" >&2;}
13321.1Stv   { (exit 77); exit 77; }; }
13331.1Stvfi
13341.1Stv
13351.1Stvac_exeext=$ac_cv_exeext
13361.60Sapbecho "$as_me:1336: result: $ac_file" >&5
13371.1Stvecho "${ECHO_T}$ac_file" >&6
13381.1Stv
13391.1Stv# Check the compiler produces executables we can run.  If not, either
13401.1Stv# the compiler is broken, or we cross compile.
13411.60Sapbecho "$as_me:1341: checking whether the C compiler works" >&5
13421.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13431.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13441.1Stv# If not cross compiling, check that we can run a simple program.
13451.1Stvif test "$cross_compiling" != yes; then
13461.1Stv  if { ac_try='./$ac_file'
13471.60Sapb  { (eval echo "$as_me:1347: \"$ac_try\"") >&5
13481.1Stv  (eval $ac_try) 2>&5
13491.1Stv  ac_status=$?
13501.60Sapb  echo "$as_me:1350: \$? = $ac_status" >&5
13511.1Stv  (exit $ac_status); }; }; then
13521.1Stv    cross_compiling=no
13531.1Stv  else
13541.1Stv    if test "$cross_compiling" = maybe; then
13551.1Stv	cross_compiling=yes
13561.1Stv    else
13571.60Sapb	{ { echo "$as_me:1357: error: cannot run C compiled programs.
13581.60SapbIf you meant to cross compile, use \`--host'." >&5
13591.1Stvecho "$as_me: error: cannot run C compiled programs.
13601.60SapbIf you meant to cross compile, use \`--host'." >&2;}
13611.1Stv   { (exit 1); exit 1; }; }
13621.1Stv    fi
13631.1Stv  fi
13641.1Stvfi
13651.60Sapbecho "$as_me:1365: result: yes" >&5
13661.1Stvecho "${ECHO_T}yes" >&6
13671.1Stv
13681.60Sapbrm -f a.out a.exe conftest$ac_cv_exeext
13691.1Stvac_clean_files=$ac_clean_files_save
13701.1Stv# Check the compiler produces executables we can run.  If not, either
13711.1Stv# the compiler is broken, or we cross compile.
13721.60Sapbecho "$as_me:1372: checking whether we are cross compiling" >&5
13731.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13741.60Sapbecho "$as_me:1374: result: $cross_compiling" >&5
13751.1Stvecho "${ECHO_T}$cross_compiling" >&6
13761.1Stv
13771.60Sapbecho "$as_me:1377: checking for executable suffix" >&5
13781.60Sapbecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13791.60Sapbif { (eval echo "$as_me:1379: \"$ac_link\"") >&5
13801.1Stv  (eval $ac_link) 2>&5
13811.1Stv  ac_status=$?
13821.60Sapb  echo "$as_me:1382: \$? = $ac_status" >&5
13831.1Stv  (exit $ac_status); }; then
13841.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
13851.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
13861.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
13871.1Stv# `rm'.
13881.60Sapbfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13891.1Stv  case $ac_file in
13901.60Sapb    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13911.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13921.60Sapb          export ac_cv_exeext
13931.60Sapb          break;;
13941.1Stv    * ) break;;
13951.1Stv  esac
13961.1Stvdone
13971.1Stvelse
13981.60Sapb  { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
13991.60Sapbecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
14001.1Stv   { (exit 1); exit 1; }; }
14011.1Stvfi
14021.1Stv
14031.1Stvrm -f conftest$ac_cv_exeext
14041.60Sapbecho "$as_me:1404: result: $ac_cv_exeext" >&5
14051.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14061.1Stv
14071.1Stvrm -f conftest.$ac_ext
14081.1StvEXEEXT=$ac_cv_exeext
14091.1Stvac_exeext=$EXEEXT
14101.60Sapbecho "$as_me:1410: checking for object suffix" >&5
14111.60Sapbecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14121.1Stvif test "${ac_cv_objext+set}" = set; then
14131.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14141.1Stvelse
14151.1Stv  cat >conftest.$ac_ext <<_ACEOF
14161.60Sapb#line 1416 "configure"
14171.60Sapb#include "confdefs.h"
14181.1Stv
14191.1Stvint
14201.1Stvmain ()
14211.1Stv{
14221.1Stv
14231.1Stv  ;
14241.1Stv  return 0;
14251.1Stv}
14261.1Stv_ACEOF
14271.1Stvrm -f conftest.o conftest.obj
14281.60Sapbif { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
14291.1Stv  (eval $ac_compile) 2>&5
14301.1Stv  ac_status=$?
14311.60Sapb  echo "$as_me:1431: \$? = $ac_status" >&5
14321.1Stv  (exit $ac_status); }; then
14331.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14341.1Stv  case $ac_file in
14351.60Sapb    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14361.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14371.1Stv       break;;
14381.1Stv  esac
14391.1Stvdone
14401.1Stvelse
14411.1Stv  echo "$as_me: failed program was:" >&5
14421.60Sapbcat conftest.$ac_ext >&5
14431.60Sapb{ { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
14441.60Sapbecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14451.1Stv   { (exit 1); exit 1; }; }
14461.1Stvfi
14471.1Stv
14481.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14491.1Stvfi
14501.60Sapbecho "$as_me:1450: result: $ac_cv_objext" >&5
14511.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14521.1StvOBJEXT=$ac_cv_objext
14531.1Stvac_objext=$OBJEXT
14541.60Sapbecho "$as_me:1454: checking whether we are using the GNU C compiler" >&5
14551.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14561.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14571.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14581.1Stvelse
14591.1Stv  cat >conftest.$ac_ext <<_ACEOF
14601.60Sapb#line 1460 "configure"
14611.60Sapb#include "confdefs.h"
14621.1Stv
14631.1Stvint
14641.1Stvmain ()
14651.1Stv{
14661.1Stv#ifndef __GNUC__
14671.1Stv       choke me
14681.1Stv#endif
14691.1Stv
14701.1Stv  ;
14711.1Stv  return 0;
14721.1Stv}
14731.1Stv_ACEOF
14741.1Stvrm -f conftest.$ac_objext
14751.60Sapbif { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
14761.60Sapb  (eval $ac_compile) 2>&5
14771.1Stv  ac_status=$?
14781.60Sapb  echo "$as_me:1478: \$? = $ac_status" >&5
14791.1Stv  (exit $ac_status); } &&
14801.60Sapb         { ac_try='test -s conftest.$ac_objext'
14811.60Sapb  { (eval echo "$as_me:1481: \"$ac_try\"") >&5
14821.53Sdogcow  (eval $ac_try) 2>&5
14831.53Sdogcow  ac_status=$?
14841.60Sapb  echo "$as_me:1484: \$? = $ac_status" >&5
14851.60Sapb  (exit $ac_status); }; }; then
14861.1Stv  ac_compiler_gnu=yes
14871.1Stvelse
14881.1Stv  echo "$as_me: failed program was:" >&5
14891.60Sapbcat conftest.$ac_ext >&5
14901.1Stvac_compiler_gnu=no
14911.1Stvfi
14921.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
14931.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14941.1Stv
14951.1Stvfi
14961.60Sapbecho "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
14971.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14981.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
14991.1Stvac_test_CFLAGS=${CFLAGS+set}
15001.1Stvac_save_CFLAGS=$CFLAGS
15011.1StvCFLAGS="-g"
15021.60Sapbecho "$as_me:1502: checking whether $CC accepts -g" >&5
15031.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15041.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15051.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15061.1Stvelse
15071.1Stv  cat >conftest.$ac_ext <<_ACEOF
15081.60Sapb#line 1508 "configure"
15091.60Sapb#include "confdefs.h"
15101.1Stv
15111.1Stvint
15121.1Stvmain ()
15131.1Stv{
15141.1Stv
15151.1Stv  ;
15161.1Stv  return 0;
15171.1Stv}
15181.1Stv_ACEOF
15191.1Stvrm -f conftest.$ac_objext
15201.60Sapbif { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
15211.60Sapb  (eval $ac_compile) 2>&5
15221.1Stv  ac_status=$?
15231.60Sapb  echo "$as_me:1523: \$? = $ac_status" >&5
15241.52Sdbj  (exit $ac_status); } &&
15251.60Sapb         { ac_try='test -s conftest.$ac_objext'
15261.60Sapb  { (eval echo "$as_me:1526: \"$ac_try\"") >&5
15271.53Sdogcow  (eval $ac_try) 2>&5
15281.53Sdogcow  ac_status=$?
15291.60Sapb  echo "$as_me:1529: \$? = $ac_status" >&5
15301.1Stv  (exit $ac_status); }; }; then
15311.1Stv  ac_cv_prog_cc_g=yes
15321.1Stvelse
15331.1Stv  echo "$as_me: failed program was:" >&5
15341.60Sapbcat conftest.$ac_ext >&5
15351.1Stvac_cv_prog_cc_g=no
15361.1Stvfi
15371.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
15381.1Stvfi
15391.60Sapbecho "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
15401.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15411.1Stvif test "$ac_test_CFLAGS" = set; then
15421.1Stv  CFLAGS=$ac_save_CFLAGS
15431.1Stvelif test $ac_cv_prog_cc_g = yes; then
15441.1Stv  if test "$GCC" = yes; then
15451.1Stv    CFLAGS="-g -O2"
15461.1Stv  else
15471.1Stv    CFLAGS="-g"
15481.1Stv  fi
15491.1Stvelse
15501.1Stv  if test "$GCC" = yes; then
15511.1Stv    CFLAGS="-O2"
15521.1Stv  else
15531.1Stv    CFLAGS=
15541.1Stv  fi
15551.1Stvfi
15561.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15571.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
15581.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
15591.1Stv# the declaration of exit, since it's the most demanding environment.
15601.1Stvcat >conftest.$ac_ext <<_ACEOF
15611.1Stv#ifndef __cplusplus
15621.1Stv  choke me
15631.1Stv#endif
15641.1Stv_ACEOF
15651.1Stvrm -f conftest.$ac_objext
15661.60Sapbif { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
15671.60Sapb  (eval $ac_compile) 2>&5
15681.1Stv  ac_status=$?
15691.60Sapb  echo "$as_me:1569: \$? = $ac_status" >&5
15701.1Stv  (exit $ac_status); } &&
15711.60Sapb         { ac_try='test -s conftest.$ac_objext'
15721.60Sapb  { (eval echo "$as_me:1572: \"$ac_try\"") >&5
15731.50Sjmc  (eval $ac_try) 2>&5
15741.50Sjmc  ac_status=$?
15751.60Sapb  echo "$as_me:1575: \$? = $ac_status" >&5
15761.1Stv  (exit $ac_status); }; }; then
15771.1Stv  for ac_declaration in \
15781.60Sapb   ''\
15791.60Sapb   '#include <stdlib.h>' \
15801.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
15811.1Stv   'extern "C" void std::exit (int); using std::exit;' \
15821.1Stv   'extern "C" void exit (int) throw ();' \
15831.1Stv   'extern "C" void exit (int);' \
15841.1Stv   'void exit (int);'
15851.1Stvdo
15861.1Stv  cat >conftest.$ac_ext <<_ACEOF
15871.60Sapb#line 1587 "configure"
15881.60Sapb#include "confdefs.h"
15891.60Sapb#include <stdlib.h>
15901.53Sdogcow$ac_declaration
15911.1Stvint
15921.1Stvmain ()
15931.1Stv{
15941.1Stvexit (42);
15951.1Stv  ;
15961.1Stv  return 0;
15971.1Stv}
15981.1Stv_ACEOF
15991.1Stvrm -f conftest.$ac_objext
16001.60Sapbif { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
16011.60Sapb  (eval $ac_compile) 2>&5
16021.1Stv  ac_status=$?
16031.60Sapb  echo "$as_me:1603: \$? = $ac_status" >&5
16041.1Stv  (exit $ac_status); } &&
16051.60Sapb         { ac_try='test -s conftest.$ac_objext'
16061.60Sapb  { (eval echo "$as_me:1606: \"$ac_try\"") >&5
16071.50Sjmc  (eval $ac_try) 2>&5
16081.50Sjmc  ac_status=$?
16091.60Sapb  echo "$as_me:1609: \$? = $ac_status" >&5
16101.1Stv  (exit $ac_status); }; }; then
16111.1Stv  :
16121.1Stvelse
16131.1Stv  echo "$as_me: failed program was:" >&5
16141.60Sapbcat conftest.$ac_ext >&5
16151.1Stvcontinue
16161.1Stvfi
16171.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
16181.1Stv  cat >conftest.$ac_ext <<_ACEOF
16191.60Sapb#line 1619 "configure"
16201.60Sapb#include "confdefs.h"
16211.1Stv$ac_declaration
16221.1Stvint
16231.1Stvmain ()
16241.1Stv{
16251.1Stvexit (42);
16261.1Stv  ;
16271.1Stv  return 0;
16281.1Stv}
16291.1Stv_ACEOF
16301.1Stvrm -f conftest.$ac_objext
16311.60Sapbif { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
16321.60Sapb  (eval $ac_compile) 2>&5
16331.1Stv  ac_status=$?
16341.60Sapb  echo "$as_me:1634: \$? = $ac_status" >&5
16351.1Stv  (exit $ac_status); } &&
16361.60Sapb         { ac_try='test -s conftest.$ac_objext'
16371.60Sapb  { (eval echo "$as_me:1637: \"$ac_try\"") >&5
16381.53Sdogcow  (eval $ac_try) 2>&5
16391.53Sdogcow  ac_status=$?
16401.60Sapb  echo "$as_me:1640: \$? = $ac_status" >&5
16411.1Stv  (exit $ac_status); }; }; then
16421.1Stv  break
16431.1Stvelse
16441.1Stv  echo "$as_me: failed program was:" >&5
16451.60Sapbcat conftest.$ac_ext >&5
16461.1Stvfi
16471.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
16481.1Stvdone
16491.1Stvrm -f conftest*
16501.1Stvif test -n "$ac_declaration"; then
16511.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16521.1Stv  echo $ac_declaration      >>confdefs.h
16531.1Stv  echo '#endif'             >>confdefs.h
16541.1Stvfi
16551.1Stv
16561.1Stvelse
16571.1Stv  echo "$as_me: failed program was:" >&5
16581.60Sapbcat conftest.$ac_ext >&5
16591.1Stvfi
16601.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
16611.1Stvac_ext=c
16621.1Stvac_cpp='$CPP $CPPFLAGS'
16631.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
16661.1Stv
16671.1Stvac_ext=c
16681.1Stvac_cpp='$CPP $CPPFLAGS'
16691.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
16721.60Sapbecho "$as_me:1672: checking how to run the C preprocessor" >&5
16731.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16741.1Stv# On Suns, sometimes $CPP names a directory.
16751.1Stvif test -n "$CPP" && test -d "$CPP"; then
16761.1Stv  CPP=
16771.1Stvfi
16781.1Stvif test -z "$CPP"; then
16791.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
16801.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
16811.1Stvelse
16821.1Stv      # Double quotes because CPP needs to be expanded
16831.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16841.1Stv    do
16851.1Stv      ac_preproc_ok=false
16861.1Stvfor ac_c_preproc_warn_flag in '' yes
16871.1Stvdo
16881.1Stv  # Use a header file that comes with gcc, so configuring glibc
16891.1Stv  # with a fresh cross-compiler works.
16901.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
16911.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
16921.1Stv  cat >conftest.$ac_ext <<_ACEOF
16931.60Sapb#line 1693 "configure"
16941.60Sapb#include "confdefs.h"
16951.60Sapb#include <assert.h>
16961.60Sapb                     Syntax error
16971.48Sjmc_ACEOF
16981.60Sapbif { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
16991.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17001.1Stv  ac_status=$?
17011.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17021.1Stv  rm -f conftest.er1
17031.1Stv  cat conftest.err >&5
17041.60Sapb  echo "$as_me:1704: \$? = $ac_status" >&5
17051.1Stv  (exit $ac_status); } >/dev/null; then
17061.1Stv  if test -s conftest.err; then
17071.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17081.1Stv  else
17091.1Stv    ac_cpp_err=
17101.1Stv  fi
17111.1Stvelse
17121.1Stv  ac_cpp_err=yes
17131.1Stvfi
17141.1Stvif test -z "$ac_cpp_err"; then
17151.1Stv  :
17161.1Stvelse
17171.1Stv  echo "$as_me: failed program was:" >&5
17181.60Sapb  cat conftest.$ac_ext >&5
17191.1Stv  # Broken: fails on valid input.
17201.1Stvcontinue
17211.1Stvfi
17221.1Stvrm -f conftest.err conftest.$ac_ext
17231.1Stv
17241.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
17251.1Stv  # can be detected and how.
17261.1Stv  cat >conftest.$ac_ext <<_ACEOF
17271.60Sapb#line 1727 "configure"
17281.60Sapb#include "confdefs.h"
17291.1Stv#include <ac_nonexistent.h>
17301.1Stv_ACEOF
17311.60Sapbif { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
17321.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17331.1Stv  ac_status=$?
17341.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17351.1Stv  rm -f conftest.er1
17361.1Stv  cat conftest.err >&5
17371.60Sapb  echo "$as_me:1737: \$? = $ac_status" >&5
17381.1Stv  (exit $ac_status); } >/dev/null; then
17391.1Stv  if test -s conftest.err; then
17401.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17411.1Stv  else
17421.1Stv    ac_cpp_err=
17431.1Stv  fi
17441.1Stvelse
17451.1Stv  ac_cpp_err=yes
17461.1Stvfi
17471.1Stvif test -z "$ac_cpp_err"; then
17481.1Stv  # Broken: success on invalid input.
17491.1Stvcontinue
17501.1Stvelse
17511.1Stv  echo "$as_me: failed program was:" >&5
17521.60Sapb  cat conftest.$ac_ext >&5
17531.1Stv  # Passes both tests.
17541.1Stvac_preproc_ok=:
17551.1Stvbreak
17561.1Stvfi
17571.1Stvrm -f conftest.err conftest.$ac_ext
17581.1Stv
17591.1Stvdone
17601.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17611.1Stvrm -f conftest.err conftest.$ac_ext
17621.1Stvif $ac_preproc_ok; then
17631.1Stv  break
17641.1Stvfi
17651.1Stv
17661.1Stv    done
17671.1Stv    ac_cv_prog_CPP=$CPP
17681.1Stv
17691.1Stvfi
17701.1Stv  CPP=$ac_cv_prog_CPP
17711.1Stvelse
17721.1Stv  ac_cv_prog_CPP=$CPP
17731.1Stvfi
17741.60Sapbecho "$as_me:1774: result: $CPP" >&5
17751.1Stvecho "${ECHO_T}$CPP" >&6
17761.1Stvac_preproc_ok=false
17771.1Stvfor ac_c_preproc_warn_flag in '' yes
17781.1Stvdo
17791.1Stv  # Use a header file that comes with gcc, so configuring glibc
17801.1Stv  # with a fresh cross-compiler works.
17811.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
17821.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
17831.1Stv  cat >conftest.$ac_ext <<_ACEOF
17841.60Sapb#line 1784 "configure"
17851.60Sapb#include "confdefs.h"
17861.60Sapb#include <assert.h>
17871.60Sapb                     Syntax error
17881.53Sdogcow_ACEOF
17891.60Sapbif { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
17901.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17911.1Stv  ac_status=$?
17921.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17931.1Stv  rm -f conftest.er1
17941.1Stv  cat conftest.err >&5
17951.60Sapb  echo "$as_me:1795: \$? = $ac_status" >&5
17961.1Stv  (exit $ac_status); } >/dev/null; then
17971.1Stv  if test -s conftest.err; then
17981.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17991.1Stv  else
18001.1Stv    ac_cpp_err=
18011.1Stv  fi
18021.1Stvelse
18031.1Stv  ac_cpp_err=yes
18041.1Stvfi
18051.1Stvif test -z "$ac_cpp_err"; then
18061.1Stv  :
18071.1Stvelse
18081.1Stv  echo "$as_me: failed program was:" >&5
18091.60Sapb  cat conftest.$ac_ext >&5
18101.1Stv  # Broken: fails on valid input.
18111.1Stvcontinue
18121.1Stvfi
18131.1Stvrm -f conftest.err conftest.$ac_ext
18141.1Stv
18151.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18161.1Stv  # can be detected and how.
18171.1Stv  cat >conftest.$ac_ext <<_ACEOF
18181.60Sapb#line 1818 "configure"
18191.60Sapb#include "confdefs.h"
18201.1Stv#include <ac_nonexistent.h>
18211.1Stv_ACEOF
18221.60Sapbif { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
18231.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18241.1Stv  ac_status=$?
18251.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
18261.1Stv  rm -f conftest.er1
18271.1Stv  cat conftest.err >&5
18281.60Sapb  echo "$as_me:1828: \$? = $ac_status" >&5
18291.1Stv  (exit $ac_status); } >/dev/null; then
18301.1Stv  if test -s conftest.err; then
18311.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18321.1Stv  else
18331.1Stv    ac_cpp_err=
18341.1Stv  fi
18351.1Stvelse
18361.45Sjmc  ac_cpp_err=yes
18371.45Sjmcfi
18381.45Sjmcif test -z "$ac_cpp_err"; then
18391.45Sjmc  # Broken: success on invalid input.
18401.45Sjmccontinue
18411.45Sjmcelse
18421.45Sjmc  echo "$as_me: failed program was:" >&5
18431.60Sapb  cat conftest.$ac_ext >&5
18441.45Sjmc  # Passes both tests.
18451.45Sjmcac_preproc_ok=:
18461.45Sjmcbreak
18471.45Sjmcfi
18481.45Sjmcrm -f conftest.err conftest.$ac_ext
18491.45Sjmc
18501.45Sjmcdone
18511.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18521.45Sjmcrm -f conftest.err conftest.$ac_ext
18531.45Sjmcif $ac_preproc_ok; then
18541.45Sjmc  :
18551.45Sjmcelse
18561.60Sapb  { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
18571.60Sapbecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
18581.45Sjmc   { (exit 1); exit 1; }; }
18591.45Sjmcfi
18601.45Sjmc
18611.45Sjmcac_ext=c
18621.45Sjmcac_cpp='$CPP $CPPFLAGS'
18631.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18641.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18651.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu
18661.45Sjmc
18671.60Sapb            echo "$as_me:1867: checking for NetBSD" >&5
18681.45Sjmcecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
18691.45Sjmc      cat >conftest.$ac_ext <<_ACEOF
18701.60Sapb#line 1870 "configure"
18711.60Sapb#include "confdefs.h"
18721.45Sjmc#ifdef __NetBSD__
18731.45Sjmc	yes
18741.45Sjmc	#endif
18751.45Sjmc
18761.45Sjmc_ACEOF
18771.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18781.60Sapb  egrep "yes" >/dev/null 2>&1; then
18791.60Sapb  echo "$as_me:1879: result: yes" >&5
18801.45Sjmcecho "${ECHO_T}yes" >&6
18811.54Swiz
18821.60Sapbcat >>confdefs.h <<\EOF
18831.45Sjmc#define _POSIX_SOURCE 1
18841.60SapbEOF
18851.54Swiz
18861.60Sapbcat >>confdefs.h <<\EOF
18871.45Sjmc#define _POSIX_C_SOURCE 200112L
18881.60SapbEOF
18891.54Swiz
18901.60Sapbcat >>confdefs.h <<\EOF
18911.45Sjmc#define _XOPEN_SOURCE 600
18921.60SapbEOF
18931.45Sjmc
18941.45Sjmcelse
18951.60Sapb  echo "$as_me:1895: result: no" >&5
18961.45Sjmcecho "${ECHO_T}no" >&6
18971.45Sjmcfi
18981.45Sjmcrm -f conftest*
18991.45Sjmc
19001.45Sjmc# Extract the first word of "sh", so it can be a program name with args.
19011.45Sjmcset dummy sh; ac_word=$2
19021.60Sapbecho "$as_me:1902: checking for $ac_word" >&5
19031.45Sjmcecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19041.45Sjmcif test "${ac_cv_path_BSHELL+set}" = set; then
19051.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19061.45Sjmcelse
19071.45Sjmc  case $BSHELL in
19081.45Sjmc  [\\/]* | ?:[\\/]*)
19091.45Sjmc  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
19101.45Sjmc  ;;
19111.45Sjmc  *)
19121.60Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
19131.60Sapbac_dummy="$PATH"
19141.60Sapbfor ac_dir in $ac_dummy; do
19151.60Sapb  IFS=$ac_save_IFS
19161.60Sapb  test -z "$ac_dir" && ac_dir=.
19171.60Sapb  if $as_executable_p "$ac_dir/$ac_word"; then
19181.60Sapb   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19191.60Sapb   echo "$as_me:1919: found $ac_dir/$ac_word" >&5
19201.60Sapb   break
19211.60Sapbfi
19221.45Sjmcdone
19231.45Sjmc
19241.45Sjmc  ;;
19251.45Sjmcesac
19261.45Sjmcfi
19271.45SjmcBSHELL=$ac_cv_path_BSHELL
19281.45Sjmc
19291.45Sjmcif test -n "$BSHELL"; then
19301.60Sapb  echo "$as_me:1930: result: $BSHELL" >&5
19311.45Sjmcecho "${ECHO_T}$BSHELL" >&6
19321.45Sjmcelse
19331.60Sapb  echo "$as_me:1933: result: no" >&5
19341.45Sjmcecho "${ECHO_T}no" >&6
19351.45Sjmcfi
19361.45Sjmc
19371.45Sjmcif test x"$BSHELL" = x; then
19381.60Sapb	{ { echo "$as_me:1938: error: sh must be somewhere on \$PATH" >&5
19391.45Sjmcecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
19401.45Sjmc   { (exit 1); exit 1; }; }
19411.45Sjmcfi
19421.54Swiz
19431.60Sapbcat >>confdefs.h <<EOF
19441.45Sjmc#define PATH_BSHELL "$BSHELL"
19451.60SapbEOF
19461.53Sdogcow
19471.60Sapbecho "$as_me:1947: checking whether byte ordering is bigendian" >&5
19481.45Sjmcecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19491.45Sjmcif test "${ac_cv_c_bigendian+set}" = set; then
19501.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19511.45Sjmcelse
19521.60Sapb  ac_cv_c_bigendian=unknown
19531.60Sapb# See if sys/param.h defines the BYTE_ORDER macro.
19541.45Sjmccat >conftest.$ac_ext <<_ACEOF
19551.60Sapb#line 1955 "configure"
19561.60Sapb#include "confdefs.h"
19571.45Sjmc#include <sys/types.h>
19581.45Sjmc#include <sys/param.h>
19591.45Sjmc
19601.45Sjmcint
19611.45Sjmcmain ()
19621.45Sjmc{
19631.45Sjmc#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19641.45Sjmc bogus endian macros
19651.45Sjmc#endif
19661.45Sjmc
19671.45Sjmc  ;
19681.45Sjmc  return 0;
19691.45Sjmc}
19701.45Sjmc_ACEOF
19711.45Sjmcrm -f conftest.$ac_objext
19721.60Sapbif { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
19731.60Sapb  (eval $ac_compile) 2>&5
19741.45Sjmc  ac_status=$?
19751.60Sapb  echo "$as_me:1975: \$? = $ac_status" >&5
19761.45Sjmc  (exit $ac_status); } &&
19771.60Sapb         { ac_try='test -s conftest.$ac_objext'
19781.60Sapb  { (eval echo "$as_me:1978: \"$ac_try\"") >&5
19791.45Sjmc  (eval $ac_try) 2>&5
19801.45Sjmc  ac_status=$?
19811.60Sapb  echo "$as_me:1981: \$? = $ac_status" >&5
19821.45Sjmc  (exit $ac_status); }; }; then
19831.45Sjmc  # It does; now see whether it defined to BIG_ENDIAN or not.
19841.45Sjmccat >conftest.$ac_ext <<_ACEOF
19851.60Sapb#line 1985 "configure"
19861.60Sapb#include "confdefs.h"
19871.45Sjmc#include <sys/types.h>
19881.45Sjmc#include <sys/param.h>
19891.45Sjmc
19901.45Sjmcint
19911.45Sjmcmain ()
19921.45Sjmc{
19931.45Sjmc#if BYTE_ORDER != BIG_ENDIAN
19941.45Sjmc not big endian
19951.45Sjmc#endif
19961.45Sjmc
19971.45Sjmc  ;
19981.45Sjmc  return 0;
19991.45Sjmc}
20001.45Sjmc_ACEOF
20011.45Sjmcrm -f conftest.$ac_objext
20021.60Sapbif { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
20031.60Sapb  (eval $ac_compile) 2>&5
20041.45Sjmc  ac_status=$?
20051.60Sapb  echo "$as_me:2005: \$? = $ac_status" >&5
20061.45Sjmc  (exit $ac_status); } &&
20071.60Sapb         { ac_try='test -s conftest.$ac_objext'
20081.60Sapb  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
20091.53Sdogcow  (eval $ac_try) 2>&5
20101.53Sdogcow  ac_status=$?
20111.60Sapb  echo "$as_me:2011: \$? = $ac_status" >&5
20121.45Sjmc  (exit $ac_status); }; }; then
20131.45Sjmc  ac_cv_c_bigendian=yes
20141.45Sjmcelse
20151.45Sjmc  echo "$as_me: failed program was:" >&5
20161.60Sapbcat conftest.$ac_ext >&5
20171.45Sjmcac_cv_c_bigendian=no
20181.45Sjmcfi
20191.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
20201.53Sdogcowelse
20211.53Sdogcow  echo "$as_me: failed program was:" >&5
20221.60Sapbcat conftest.$ac_ext >&5
20231.60Sapbfi
20241.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
20251.60Sapbif test $ac_cv_c_bigendian = unknown; then
20261.53Sdogcowif test "$cross_compiling" = yes; then
20271.60Sapb  { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
20281.60Sapbecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20291.60Sapb   { (exit 1); exit 1; }; }
20301.45Sjmcelse
20311.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
20321.60Sapb#line 2032 "configure"
20331.60Sapb#include "confdefs.h"
20341.45Sjmcint
20351.45Sjmcmain ()
20361.45Sjmc{
20371.45Sjmc  /* Are we little or big endian?  From Harbison&Steele.  */
20381.45Sjmc  union
20391.45Sjmc  {
20401.45Sjmc    long l;
20411.45Sjmc    char c[sizeof (long)];
20421.45Sjmc  } u;
20431.45Sjmc  u.l = 1;
20441.45Sjmc  exit (u.c[sizeof (long) - 1] == 1);
20451.45Sjmc}
20461.45Sjmc_ACEOF
20471.45Sjmcrm -f conftest$ac_exeext
20481.60Sapbif { (eval echo "$as_me:2048: \"$ac_link\"") >&5
20491.45Sjmc  (eval $ac_link) 2>&5
20501.45Sjmc  ac_status=$?
20511.60Sapb  echo "$as_me:2051: \$? = $ac_status" >&5
20521.45Sjmc  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20531.60Sapb  { (eval echo "$as_me:2053: \"$ac_try\"") >&5
20541.45Sjmc  (eval $ac_try) 2>&5
20551.45Sjmc  ac_status=$?
20561.60Sapb  echo "$as_me:2056: \$? = $ac_status" >&5
20571.45Sjmc  (exit $ac_status); }; }; then
20581.45Sjmc  ac_cv_c_bigendian=no
20591.45Sjmcelse
20601.45Sjmc  echo "$as_me: program exited with status $ac_status" >&5
20611.45Sjmcecho "$as_me: failed program was:" >&5
20621.60Sapbcat conftest.$ac_ext >&5
20631.45Sjmcac_cv_c_bigendian=yes
20641.45Sjmcfi
20651.60Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20661.45Sjmcfi
20671.1Stvfi
20681.1Stvfi
20691.60Sapbecho "$as_me:2069: result: $ac_cv_c_bigendian" >&5
20701.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20711.60Sapbif test $ac_cv_c_bigendian = yes; then
20721.45Sjmc
20731.60Sapbcat >>confdefs.h <<\EOF
20741.45Sjmc#define WORDS_BIGENDIAN 1
20751.60SapbEOF
20761.60Sapb
20771.60Sapbfi
20781.52Sdbj
20791.60Sapbecho "$as_me:2079: checking for ANSI C header files" >&5
20801.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20811.6Stvif test "${ac_cv_header_stdc+set}" = set; then
20821.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20831.6Stvelse
20841.6Stv  cat >conftest.$ac_ext <<_ACEOF
20851.60Sapb#line 2085 "configure"
20861.60Sapb#include "confdefs.h"
20871.6Stv#include <stdlib.h>
20881.6Stv#include <stdarg.h>
20891.6Stv#include <string.h>
20901.6Stv#include <float.h>
20911.6Stv
20921.6Stv_ACEOF
20931.60Sapbif { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
20941.60Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20951.39Sfredb  ac_status=$?
20961.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
20971.50Sjmc  rm -f conftest.er1
20981.50Sjmc  cat conftest.err >&5
20991.60Sapb  echo "$as_me:2099: \$? = $ac_status" >&5
21001.60Sapb  (exit $ac_status); } >/dev/null; then
21011.60Sapb  if test -s conftest.err; then
21021.60Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
21031.60Sapb  else
21041.60Sapb    ac_cpp_err=
21051.60Sapb  fi
21061.60Sapbelse
21071.60Sapb  ac_cpp_err=yes
21081.60Sapbfi
21091.60Sapbif test -z "$ac_cpp_err"; then
21101.6Stv  ac_cv_header_stdc=yes
21111.6Stvelse
21121.6Stv  echo "$as_me: failed program was:" >&5
21131.60Sapb  cat conftest.$ac_ext >&5
21141.60Sapb  ac_cv_header_stdc=no
21151.6Stvfi
21161.60Sapbrm -f conftest.err conftest.$ac_ext
21171.6Stv
21181.6Stvif test $ac_cv_header_stdc = yes; then
21191.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21201.6Stv  cat >conftest.$ac_ext <<_ACEOF
21211.60Sapb#line 2121 "configure"
21221.60Sapb#include "confdefs.h"
21231.6Stv#include <string.h>
21241.6Stv
21251.6Stv_ACEOF
21261.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21271.60Sapb  egrep "memchr" >/dev/null 2>&1; then
21281.6Stv  :
21291.6Stvelse
21301.6Stv  ac_cv_header_stdc=no
21311.6Stvfi
21321.6Stvrm -f conftest*
21331.6Stv
21341.6Stvfi
21351.6Stv
21361.6Stvif test $ac_cv_header_stdc = yes; then
21371.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21381.6Stv  cat >conftest.$ac_ext <<_ACEOF
21391.60Sapb#line 2139 "configure"
21401.60Sapb#include "confdefs.h"
21411.6Stv#include <stdlib.h>
21421.6Stv
21431.6Stv_ACEOF
21441.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451.60Sapb  egrep "free" >/dev/null 2>&1; then
21461.6Stv  :
21471.6Stvelse
21481.6Stv  ac_cv_header_stdc=no
21491.6Stvfi
21501.6Stvrm -f conftest*
21511.6Stv
21521.6Stvfi
21531.6Stv
21541.6Stvif test $ac_cv_header_stdc = yes; then
21551.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21561.6Stv  if test "$cross_compiling" = yes; then
21571.6Stv  :
21581.6Stvelse
21591.6Stv  cat >conftest.$ac_ext <<_ACEOF
21601.60Sapb#line 2160 "configure"
21611.60Sapb#include "confdefs.h"
21621.6Stv#include <ctype.h>
21631.6Stv#if ((' ' & 0x0FF) == 0x020)
21641.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21651.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21661.6Stv#else
21671.60Sapb# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21681.60Sapb                     || ('j' <= (c) && (c) <= 'r') \
21691.60Sapb                     || ('s' <= (c) && (c) <= 'z'))
21701.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21711.6Stv#endif
21721.6Stv
21731.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21741.6Stvint
21751.6Stvmain ()
21761.6Stv{
21771.6Stv  int i;
21781.6Stv  for (i = 0; i < 256; i++)
21791.6Stv    if (XOR (islower (i), ISLOWER (i))
21801.60Sapb        || toupper (i) != TOUPPER (i))
21811.6Stv      exit(2);
21821.6Stv  exit (0);
21831.6Stv}
21841.6Stv_ACEOF
21851.6Stvrm -f conftest$ac_exeext
21861.60Sapbif { (eval echo "$as_me:2186: \"$ac_link\"") >&5
21871.6Stv  (eval $ac_link) 2>&5
21881.6Stv  ac_status=$?
21891.60Sapb  echo "$as_me:2189: \$? = $ac_status" >&5
21901.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21911.60Sapb  { (eval echo "$as_me:2191: \"$ac_try\"") >&5
21921.6Stv  (eval $ac_try) 2>&5
21931.6Stv  ac_status=$?
21941.60Sapb  echo "$as_me:2194: \$? = $ac_status" >&5
21951.6Stv  (exit $ac_status); }; }; then
21961.6Stv  :
21971.6Stvelse
21981.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21991.6Stvecho "$as_me: failed program was:" >&5
22001.60Sapbcat conftest.$ac_ext >&5
22011.6Stvac_cv_header_stdc=no
22021.6Stvfi
22031.60Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22041.6Stvfi
22051.6Stvfi
22061.6Stvfi
22071.60Sapbecho "$as_me:2207: result: $ac_cv_header_stdc" >&5
22081.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
22091.6Stvif test $ac_cv_header_stdc = yes; then
22101.6Stv
22111.60Sapbcat >>confdefs.h <<\EOF
22121.6Stv#define STDC_HEADERS 1
22131.60SapbEOF
22141.6Stv
22151.6Stvfi
22161.6Stv
22171.6Stv# Confirm existence of zlib.  (This is available as a default install
22181.6Stv# option on many OS's; this could be added as a reachover build in the
22191.6Stv# future.)
22201.60Sapbecho "$as_me:2220: checking for zlib.h" >&5
22211.60Sapbecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22221.60Sapbif test "${ac_cv_header_zlib_h+set}" = set; then
22231.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22241.39Sfredbelse
22251.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
22261.60Sapb#line 2226 "configure"
22271.60Sapb#include "confdefs.h"
22281.60Sapb#include <zlib.h>
22291.53Sdogcow_ACEOF
22301.60Sapbif { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
22311.60Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22321.4Stv  ac_status=$?
22331.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
22341.50Sjmc  rm -f conftest.er1
22351.50Sjmc  cat conftest.err >&5
22361.60Sapb  echo "$as_me:2236: \$? = $ac_status" >&5
22371.60Sapb  (exit $ac_status); } >/dev/null; then
22381.60Sapb  if test -s conftest.err; then
22391.60Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
22401.60Sapb  else
22411.60Sapb    ac_cpp_err=
22421.60Sapb  fi
22431.60Sapbelse
22441.60Sapb  ac_cpp_err=yes
22451.60Sapbfi
22461.60Sapbif test -z "$ac_cpp_err"; then
22471.60Sapb  ac_cv_header_zlib_h=yes
22481.4Stvelse
22491.4Stv  echo "$as_me: failed program was:" >&5
22501.60Sapb  cat conftest.$ac_ext >&5
22511.60Sapb  ac_cv_header_zlib_h=no
22521.4Stvfi
22531.60Sapbrm -f conftest.err conftest.$ac_ext
22541.4Stvfi
22551.60Sapbecho "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
22561.60Sapbecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22571.60Sapbif test $ac_cv_header_zlib_h = yes; then
22581.60Sapb  :
22591.60Sapbelse
22601.60Sapb  { { echo "$as_me:2260: error: zlib must be installed in a compiler-visible path" >&5
22611.60Sapbecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22621.60Sapb   { (exit 1); exit 1; }; }
22631.6Stvfi
22641.6Stv
22651.60Sapbecho "$as_me:2265: checking for gzdopen in -lz" >&5
22661.60Sapbecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22671.60Sapbif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22681.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
22691.52Sdbjelse
22701.52Sdbj  ac_check_lib_save_LIBS=$LIBS
22711.52SdbjLIBS="-lz  $LIBS"
22721.52Sdbjcat >conftest.$ac_ext <<_ACEOF
22731.60Sapb#line 2273 "configure"
22741.60Sapb#include "confdefs.h"
22751.48Sjmc
22761.52Sdbj/* Override any gcc2 internal prototype to avoid an error.  */
22771.6Stv#ifdef __cplusplus
22781.6Stvextern "C"
22791.6Stv#endif
22801.6Stv/* We use char because int might match the return type of a gcc2
22811.6Stv   builtin and then its argument prototype would still apply.  */
22821.6Stvchar gzdopen ();
22831.6Stvint
22841.6Stvmain ()
22851.6Stv{
22861.6Stvgzdopen ();
22871.6Stv  ;
22881.6Stv  return 0;
22891.6Stv}
22901.6Stv_ACEOF
22911.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22921.60Sapbif { (eval echo "$as_me:2292: \"$ac_link\"") >&5
22931.60Sapb  (eval $ac_link) 2>&5
22941.6Stv  ac_status=$?
22951.60Sapb  echo "$as_me:2295: \$? = $ac_status" >&5
22961.6Stv  (exit $ac_status); } &&
22971.60Sapb         { ac_try='test -s conftest$ac_exeext'
22981.60Sapb  { (eval echo "$as_me:2298: \"$ac_try\"") >&5
22991.53Sdogcow  (eval $ac_try) 2>&5
23001.53Sdogcow  ac_status=$?
23011.60Sapb  echo "$as_me:2301: \$? = $ac_status" >&5
23021.6Stv  (exit $ac_status); }; }; then
23031.6Stv  ac_cv_lib_z_gzdopen=yes
23041.6Stvelse
23051.6Stv  echo "$as_me: failed program was:" >&5
23061.60Sapbcat conftest.$ac_ext >&5
23071.6Stvac_cv_lib_z_gzdopen=no
23081.6Stvfi
23091.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23101.6StvLIBS=$ac_check_lib_save_LIBS
23111.6Stvfi
23121.60Sapbecho "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
23131.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
23141.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
23151.60Sapb  cat >>confdefs.h <<EOF
23161.6Stv#define HAVE_LIBZ 1
23171.60SapbEOF
23181.4Stv
23191.6Stv  LIBS="-lz $LIBS"
23201.6Stv
23211.4Stvelse
23221.60Sapb  { { echo "$as_me:2322: error: zlib must be installed in a compiler-visible path" >&5
23231.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
23241.4Stv   { (exit 1); exit 1; }; }
23251.4Stvfi
23261.4Stv
23271.6Stv# Make sure certain required headers are available.
23281.6Stv# These are not necessarily required by the code, but they are not
23291.6Stv# currently conditionalized.
23301.4Stv
23311.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
23321.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
23331.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
23341.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
23351.43Sdbj	termios.h unistd.h
23361.43Sdbjdo
23371.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23381.60Sapbecho "$as_me:2338: checking for $ac_header" >&5
23391.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23401.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
23411.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
23421.53Sdogcowelse
23431.60Sapb  cat >conftest.$ac_ext <<_ACEOF
23441.60Sapb#line 2344 "configure"
23451.60Sapb#include "confdefs.h"
23461.48Sjmc#include <$ac_header>
23471.48Sjmc_ACEOF
23481.60Sapbif { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
23491.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23501.4Stv  ac_status=$?
23511.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
23521.4Stv  rm -f conftest.er1
23531.4Stv  cat conftest.err >&5
23541.60Sapb  echo "$as_me:2354: \$? = $ac_status" >&5
23551.4Stv  (exit $ac_status); } >/dev/null; then
23561.4Stv  if test -s conftest.err; then
23571.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23581.4Stv  else
23591.4Stv    ac_cpp_err=
23601.4Stv  fi
23611.4Stvelse
23621.6Stv  ac_cpp_err=yes
23631.6Stvfi
23641.6Stvif test -z "$ac_cpp_err"; then
23651.60Sapb  eval "$as_ac_Header=yes"
23661.6Stvelse
23671.6Stv  echo "$as_me: failed program was:" >&5
23681.60Sapb  cat conftest.$ac_ext >&5
23691.60Sapb  eval "$as_ac_Header=no"
23701.6Stvfi
23711.6Stvrm -f conftest.err conftest.$ac_ext
23721.6Stvfi
23731.60Sapbecho "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
23741.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23751.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23761.60Sapb  cat >>confdefs.h <<EOF
23771.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23781.60SapbEOF
23791.6Stv
23801.6Stvelse
23811.60Sapb  { { echo "$as_me:2381: error: standard system header file not found" >&5
23821.6Stvecho "$as_me: error: standard system header file not found" >&2;}
23831.6Stv   { (exit 1); exit 1; }; }
23841.6Stvfi
23851.6Stvdone
23861.6Stv
23871.6Stv# Find headers that may not be available.
23881.6Stv
23891.6Stvac_header_dirent=no
23901.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23911.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23921.60Sapbecho "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
23931.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23941.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23951.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23961.6Stvelse
23971.6Stv  cat >conftest.$ac_ext <<_ACEOF
23981.60Sapb#line 2398 "configure"
23991.60Sapb#include "confdefs.h"
24001.6Stv#include <sys/types.h>
24011.6Stv#include <$ac_hdr>
24021.6Stv
24031.6Stvint
24041.6Stvmain ()
24051.6Stv{
24061.6Stvif ((DIR *) 0)
24071.6Stvreturn 0;
24081.6Stv  ;
24091.6Stv  return 0;
24101.6Stv}
24111.6Stv_ACEOF
24121.6Stvrm -f conftest.$ac_objext
24131.60Sapbif { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
24141.60Sapb  (eval $ac_compile) 2>&5
24151.6Stv  ac_status=$?
24161.60Sapb  echo "$as_me:2416: \$? = $ac_status" >&5
24171.6Stv  (exit $ac_status); } &&
24181.60Sapb         { ac_try='test -s conftest.$ac_objext'
24191.60Sapb  { (eval echo "$as_me:2419: \"$ac_try\"") >&5
24201.50Sjmc  (eval $ac_try) 2>&5
24211.50Sjmc  ac_status=$?
24221.60Sapb  echo "$as_me:2422: \$? = $ac_status" >&5
24231.6Stv  (exit $ac_status); }; }; then
24241.6Stv  eval "$as_ac_Header=yes"
24251.6Stvelse
24261.6Stv  echo "$as_me: failed program was:" >&5
24271.60Sapbcat conftest.$ac_ext >&5
24281.6Stveval "$as_ac_Header=no"
24291.6Stvfi
24301.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
24311.6Stvfi
24321.60Sapbecho "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
24331.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24341.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
24351.60Sapb  cat >>confdefs.h <<EOF
24361.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24371.60SapbEOF
24381.6Stv
24391.6Stvac_header_dirent=$ac_hdr; break
24401.6Stvfi
24411.6Stv
24421.6Stvdone
24431.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24441.6Stvif test $ac_header_dirent = dirent.h; then
24451.60Sapb  echo "$as_me:2445: checking for opendir in -ldir" >&5
24461.60Sapbecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24471.60Sapbif test "${ac_cv_lib_dir_opendir+set}" = set; then
24481.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24491.6Stvelse
24501.60Sapb  ac_check_lib_save_LIBS=$LIBS
24511.60SapbLIBS="-ldir  $LIBS"
24521.6Stvcat >conftest.$ac_ext <<_ACEOF
24531.60Sapb#line 2453 "configure"
24541.60Sapb#include "confdefs.h"
24551.48Sjmc
24561.48Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
24571.48Sjmc#ifdef __cplusplus
24581.48Sjmcextern "C"
24591.48Sjmc#endif
24601.48Sjmc/* We use char because int might match the return type of a gcc2
24611.48Sjmc   builtin and then its argument prototype would still apply.  */
24621.48Sjmcchar opendir ();
24631.48Sjmcint
24641.48Sjmcmain ()
24651.48Sjmc{
24661.48Sjmcopendir ();
24671.48Sjmc  ;
24681.48Sjmc  return 0;
24691.48Sjmc}
24701.48Sjmc_ACEOF
24711.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
24721.60Sapbif { (eval echo "$as_me:2472: \"$ac_link\"") >&5
24731.60Sapb  (eval $ac_link) 2>&5
24741.6Stv  ac_status=$?
24751.60Sapb  echo "$as_me:2475: \$? = $ac_status" >&5
24761.6Stv  (exit $ac_status); } &&
24771.60Sapb         { ac_try='test -s conftest$ac_exeext'
24781.60Sapb  { (eval echo "$as_me:2478: \"$ac_try\"") >&5
24791.53Sdogcow  (eval $ac_try) 2>&5
24801.53Sdogcow  ac_status=$?
24811.60Sapb  echo "$as_me:2481: \$? = $ac_status" >&5
24821.6Stv  (exit $ac_status); }; }; then
24831.60Sapb  ac_cv_lib_dir_opendir=yes
24841.6Stvelse
24851.6Stv  echo "$as_me: failed program was:" >&5
24861.60Sapbcat conftest.$ac_ext >&5
24871.60Sapbac_cv_lib_dir_opendir=no
24881.60Sapbfi
24891.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24901.60SapbLIBS=$ac_check_lib_save_LIBS
24911.60Sapbfi
24921.60Sapbecho "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
24931.60Sapbecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24941.60Sapbif test $ac_cv_lib_dir_opendir = yes; then
24951.60Sapb  LIBS="$LIBS -ldir"
24961.60Sapbfi
24971.53Sdogcow
24981.60Sapbelse
24991.60Sapb  echo "$as_me:2499: checking for opendir in -lx" >&5
25001.60Sapbecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
25011.60Sapbif test "${ac_cv_lib_x_opendir+set}" = set; then
25021.60Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
25031.60Sapbelse
25041.60Sapb  ac_check_lib_save_LIBS=$LIBS
25051.60SapbLIBS="-lx  $LIBS"
25061.60Sapbcat >conftest.$ac_ext <<_ACEOF
25071.60Sapb#line 2507 "configure"
25081.60Sapb#include "confdefs.h"
25091.6Stv
25101.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
25111.6Stv#ifdef __cplusplus
25121.6Stvextern "C"
25131.6Stv#endif
25141.6Stv/* We use char because int might match the return type of a gcc2
25151.6Stv   builtin and then its argument prototype would still apply.  */
25161.6Stvchar opendir ();
25171.6Stvint
25181.6Stvmain ()
25191.6Stv{
25201.6Stvopendir ();
25211.6Stv  ;
25221.6Stv  return 0;
25231.6Stv}
25241.6Stv_ACEOF
25251.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
25261.60Sapbif { (eval echo "$as_me:2526: \"$ac_link\"") >&5
25271.60Sapb  (eval $ac_link) 2>&5
25281.48Sjmc  ac_status=$?
25291.60Sapb  echo "$as_me:2529: \$? = $ac_status" >&5
25301.48Sjmc  (exit $ac_status); } &&
25311.60Sapb         { ac_try='test -s conftest$ac_exeext'
25321.60Sapb  { (eval echo "$as_me:2532: \"$ac_try\"") >&5
25331.50Sjmc  (eval $ac_try) 2>&5
25341.50Sjmc  ac_status=$?
25351.60Sapb  echo "$as_me:2535: \$? = $ac_status" >&5
25361.48Sjmc  (exit $ac_status); }; }; then
25371.60Sapb  ac_cv_lib_x_opendir=yes
25381.48Sjmcelse
25391.48Sjmc  echo "$as_me: failed program was:" >&5
25401.60Sapbcat conftest.$ac_ext >&5
25411.60Sapbac_cv_lib_x_opendir=no
25421.48Sjmcfi
25431.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25441.60SapbLIBS=$ac_check_lib_save_LIBS
25451.48Sjmcfi
25461.60Sapbecho "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
25471.60Sapbecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25481.60Sapbif test $ac_cv_lib_x_opendir = yes; then
25491.60Sapb  LIBS="$LIBS -lx"
25501.6Stvfi
25511.39Sfredb
25521.6Stvfi
25531.6Stv
25541.60Sapbfor ac_header in sys/sysmacros.h sys/syslimits.h \
25551.60Sapb	getopt.h features.h malloc.h sys/poll.h stddef.h
25561.60Sapbdo
25571.60Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25581.60Sapbecho "$as_me:2558: checking for $ac_header" >&5
25591.60Sapbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25601.60Sapbif eval "test \"\${$as_ac_Header+set}\" = set"; then
25611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25621.48Sjmcelse
25631.60Sapb  cat >conftest.$ac_ext <<_ACEOF
25641.60Sapb#line 2564 "configure"
25651.60Sapb#include "confdefs.h"
25661.60Sapb#include <$ac_header>
25671.53Sdogcow_ACEOF
25681.60Sapbif { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
25691.60Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25701.6Stv  ac_status=$?
25711.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
25721.6Stv  rm -f conftest.er1
25731.6Stv  cat conftest.err >&5
25741.60Sapb  echo "$as_me:2574: \$? = $ac_status" >&5
25751.60Sapb  (exit $ac_status); } >/dev/null; then
25761.60Sapb  if test -s conftest.err; then
25771.60Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
25781.60Sapb  else
25791.60Sapb    ac_cpp_err=
25801.60Sapb  fi
25811.60Sapbelse
25821.60Sapb  ac_cpp_err=yes
25831.60Sapbfi
25841.60Sapbif test -z "$ac_cpp_err"; then
25851.60Sapb  eval "$as_ac_Header=yes"
25861.6Stvelse
25871.6Stv  echo "$as_me: failed program was:" >&5
25881.60Sapb  cat conftest.$ac_ext >&5
25891.60Sapb  eval "$as_ac_Header=no"
25901.60Sapbfi
25911.60Sapbrm -f conftest.err conftest.$ac_ext
25921.60Sapbfi
25931.60Sapbecho "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
25941.60Sapbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25951.60Sapbif test `eval echo '${'$as_ac_Header'}'` = yes; then
25961.60Sapb  cat >>confdefs.h <<EOF
25971.60Sapb#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25981.60SapbEOF
25991.6Stv
26001.6Stvfi
26011.60Sapbdone
26021.6Stv
26031.60Sapbfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
26041.60Sapb	sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
26051.60Sapbdo
26061.60Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26071.60Sapbecho "$as_me:2607: checking for $ac_header" >&5
26081.60Sapbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26091.60Sapbif eval "test \"\${$as_ac_Header+set}\" = set"; then
26101.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26111.53Sdogcowelse
26121.60Sapb  cat >conftest.$ac_ext <<_ACEOF
26131.60Sapb#line 2613 "configure"
26141.60Sapb#include "confdefs.h"
26151.48Sjmc#include <$ac_header>
26161.48Sjmc_ACEOF
26171.60Sapbif { (eval echo "$as_me:2617: \"$ac_cpp conftest.$ac_ext\"") >&5
26181.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26191.6Stv  ac_status=$?
26201.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
26211.6Stv  rm -f conftest.er1
26221.6Stv  cat conftest.err >&5
26231.60Sapb  echo "$as_me:2623: \$? = $ac_status" >&5
26241.6Stv  (exit $ac_status); } >/dev/null; then
26251.6Stv  if test -s conftest.err; then
26261.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26271.6Stv  else
26281.6Stv    ac_cpp_err=
26291.6Stv  fi
26301.6Stvelse
26311.6Stv  ac_cpp_err=yes
26321.6Stvfi
26331.6Stvif test -z "$ac_cpp_err"; then
26341.60Sapb  eval "$as_ac_Header=yes"
26351.6Stvelse
26361.6Stv  echo "$as_me: failed program was:" >&5
26371.60Sapb  cat conftest.$ac_ext >&5
26381.60Sapb  eval "$as_ac_Header=no"
26391.6Stvfi
26401.6Stvrm -f conftest.err conftest.$ac_ext
26411.6Stvfi
26421.60Sapbecho "$as_me:2642: result: `eval echo '${'$as_ac_Header'}'`" >&5
26431.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26441.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26451.60Sapb  cat >>confdefs.h <<EOF
26461.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26471.60SapbEOF
26481.6Stv
26491.60Sapbelse
26501.60Sapb  test -f include/$ac_header || touch include/$ac_header
26511.6Stvfi
26521.6Stvdone
26531.6Stv
26541.60Sapbfor ac_header in rpc/types.h netconfig.h
26551.7Stvdo
26561.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26571.60Sapbecho "$as_me:2657: checking for $ac_header" >&5
26581.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26591.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26601.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26611.53Sdogcowelse
26621.60Sapb  cat >conftest.$ac_ext <<_ACEOF
26631.60Sapb#line 2663 "configure"
26641.60Sapb#include "confdefs.h"
26651.7Stv#include <$ac_header>
26661.7Stv_ACEOF
26671.60Sapbif { (eval echo "$as_me:2667: \"$ac_cpp conftest.$ac_ext\"") >&5
26681.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26691.7Stv  ac_status=$?
26701.60Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
26711.7Stv  rm -f conftest.er1
26721.7Stv  cat conftest.err >&5
26731.60Sapb  echo "$as_me:2673: \$? = $ac_status" >&5
26741.7Stv  (exit $ac_status); } >/dev/null; then
26751.7Stv  if test -s conftest.err; then
26761.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26771.7Stv  else
26781.7Stv    ac_cpp_err=
26791.7Stv  fi
26801.7Stvelse
26811.7Stv  ac_cpp_err=yes
26821.7Stvfi
26831.7Stvif test -z "$ac_cpp_err"; then
26841.60Sapb  eval "$as_ac_Header=yes"
26851.7Stvelse
26861.7Stv  echo "$as_me: failed program was:" >&5
26871.60Sapb  cat conftest.$ac_ext >&5
26881.60Sapb  eval "$as_ac_Header=no"
26891.43Sdbjfi
26901.43Sdbjrm -f conftest.err conftest.$ac_ext
26911.43Sdbjfi
26921.60Sapbecho "$as_me:2692: result: `eval echo '${'$as_ac_Header'}'`" >&5
26931.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26941.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
26951.60Sapb  cat >>confdefs.h <<EOF
26961.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26971.60SapbEOF
26981.39Sfredb
26991.43Sdbjelse
27001.60Sapb  echo '#include "nbtool_config.h"' >include/$ac_header.new
27011.60Sapb	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
27021.60Sapb	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
27031.60Sapb		rm -f include/$ac_header.new
27041.60Sapb	else
27051.60Sapb		mv -f include/$ac_header.new include/$ac_header
27061.60Sapb	fi
27071.7Stvfi
27081.52Sdbjdone
27091.52Sdbj
27101.60Sapb# Typedefs.
27111.60Sapb# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27121.52Sdbj
27131.60Sapbfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27141.60Sapb                  inttypes.h stdint.h unistd.h
27151.52Sdbjdo
27161.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27171.60Sapbecho "$as_me:2717: checking for $ac_header" >&5
27181.52Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27191.52Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
27201.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
27211.52Sdbjelse
27221.60Sapb  cat >conftest.$ac_ext <<_ACEOF
27231.60Sapb#line 2723 "configure"
27241.60Sapb#include "confdefs.h"
27251.52Sdbj$ac_includes_default
27261.52Sdbj#include <$ac_header>
27271.52Sdbj_ACEOF
27281.52Sdbjrm -f conftest.$ac_objext
27291.60Sapbif { (eval echo "$as_me:2729: \"$ac_compile\"") >&5
27301.60Sapb  (eval $ac_compile) 2>&5
27311.52Sdbj  ac_status=$?
27321.60Sapb  echo "$as_me:2732: \$? = $ac_status" >&5
27331.52Sdbj  (exit $ac_status); } &&
27341.60Sapb         { ac_try='test -s conftest.$ac_objext'
27351.60Sapb  { (eval echo "$as_me:2735: \"$ac_try\"") >&5
27361.52Sdbj  (eval $ac_try) 2>&5
27371.52Sdbj  ac_status=$?
27381.60Sapb  echo "$as_me:2738: \$? = $ac_status" >&5
27391.52Sdbj  (exit $ac_status); }; }; then
27401.60Sapb  eval "$as_ac_Header=yes"
27411.53Sdogcowelse
27421.53Sdogcow  echo "$as_me: failed program was:" >&5
27431.60Sapbcat conftest.$ac_ext >&5
27441.60Sapbeval "$as_ac_Header=no"
27451.52Sdbjfi
27461.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
27471.52Sdbjfi
27481.60Sapbecho "$as_me:2748: result: `eval echo '${'$as_ac_Header'}'`" >&5
27491.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27501.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
27511.60Sapb  cat >>confdefs.h <<EOF
27521.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27531.60SapbEOF
27541.48Sjmc
27551.52Sdbjfi
27561.43Sdbjdone
27571.43Sdbj
27581.60Sapbecho "$as_me:2758: checking for size_t" >&5
27591.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27601.6Stvif test "${ac_cv_type_size_t+set}" = set; then
27611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27621.6Stvelse
27631.6Stv  cat >conftest.$ac_ext <<_ACEOF
27641.60Sapb#line 2764 "configure"
27651.60Sapb#include "confdefs.h"
27661.6Stv$ac_includes_default
27671.6Stvint
27681.6Stvmain ()
27691.6Stv{
27701.6Stvif ((size_t *) 0)
27711.6Stv  return 0;
27721.6Stvif (sizeof (size_t))
27731.6Stv  return 0;
27741.6Stv  ;
27751.6Stv  return 0;
27761.6Stv}
27771.6Stv_ACEOF
27781.6Stvrm -f conftest.$ac_objext
27791.60Sapbif { (eval echo "$as_me:2779: \"$ac_compile\"") >&5
27801.60Sapb  (eval $ac_compile) 2>&5
27811.6Stv  ac_status=$?
27821.60Sapb  echo "$as_me:2782: \$? = $ac_status" >&5
27831.6Stv  (exit $ac_status); } &&
27841.60Sapb         { ac_try='test -s conftest.$ac_objext'
27851.60Sapb  { (eval echo "$as_me:2785: \"$ac_try\"") >&5
27861.53Sdogcow  (eval $ac_try) 2>&5
27871.53Sdogcow  ac_status=$?
27881.60Sapb  echo "$as_me:2788: \$? = $ac_status" >&5
27891.6Stv  (exit $ac_status); }; }; then
27901.6Stv  ac_cv_type_size_t=yes
27911.6Stvelse
27921.6Stv  echo "$as_me: failed program was:" >&5
27931.60Sapbcat conftest.$ac_ext >&5
27941.6Stvac_cv_type_size_t=no
27951.6Stvfi
27961.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
27971.6Stvfi
27981.60Sapbecho "$as_me:2798: result: $ac_cv_type_size_t" >&5
27991.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
28001.6Stvif test $ac_cv_type_size_t = yes; then
28011.6Stv  :
28021.6Stvelse
28031.6Stv
28041.60Sapbcat >>confdefs.h <<EOF
28051.6Stv#define size_t unsigned
28061.60SapbEOF
28071.6Stv
28081.6Stvfi
28091.6Stv
28101.60Sapbecho "$as_me:2810: checking for id_t" >&5
28111.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
28121.6Stvif test "${ac_cv_type_id_t+set}" = set; then
28131.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28141.6Stvelse
28151.6Stv  cat >conftest.$ac_ext <<_ACEOF
28161.60Sapb#line 2816 "configure"
28171.60Sapb#include "confdefs.h"
28181.6Stv$ac_includes_default
28191.6Stvint
28201.6Stvmain ()
28211.6Stv{
28221.6Stvif ((id_t *) 0)
28231.6Stv  return 0;
28241.6Stvif (sizeof (id_t))
28251.6Stv  return 0;
28261.6Stv  ;
28271.6Stv  return 0;
28281.6Stv}
28291.6Stv_ACEOF
28301.6Stvrm -f conftest.$ac_objext
28311.60Sapbif { (eval echo "$as_me:2831: \"$ac_compile\"") >&5
28321.60Sapb  (eval $ac_compile) 2>&5
28331.6Stv  ac_status=$?
28341.60Sapb  echo "$as_me:2834: \$? = $ac_status" >&5
28351.6Stv  (exit $ac_status); } &&
28361.60Sapb         { ac_try='test -s conftest.$ac_objext'
28371.60Sapb  { (eval echo "$as_me:2837: \"$ac_try\"") >&5
28381.53Sdogcow  (eval $ac_try) 2>&5
28391.53Sdogcow  ac_status=$?
28401.60Sapb  echo "$as_me:2840: \$? = $ac_status" >&5
28411.6Stv  (exit $ac_status); }; }; then
28421.6Stv  ac_cv_type_id_t=yes
28431.6Stvelse
28441.6Stv  echo "$as_me: failed program was:" >&5
28451.60Sapbcat conftest.$ac_ext >&5
28461.6Stvac_cv_type_id_t=no
28471.6Stvfi
28481.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
28491.6Stvfi
28501.60Sapbecho "$as_me:2850: result: $ac_cv_type_id_t" >&5
28511.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
28521.6Stvif test $ac_cv_type_id_t = yes; then
28531.6Stv
28541.60Sapbcat >>confdefs.h <<EOF
28551.6Stv#define HAVE_ID_T 1
28561.60SapbEOF
28571.6Stv
28581.6Stvfi
28591.60Sapbecho "$as_me:2859: checking for long long" >&5
28601.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
28611.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28621.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28631.6Stvelse
28641.6Stv  cat >conftest.$ac_ext <<_ACEOF
28651.60Sapb#line 2865 "configure"
28661.60Sapb#include "confdefs.h"
28671.6Stv$ac_includes_default
28681.6Stvint
28691.6Stvmain ()
28701.6Stv{
28711.6Stvif ((long long *) 0)
28721.6Stv  return 0;
28731.6Stvif (sizeof (long long))
28741.6Stv  return 0;
28751.6Stv  ;
28761.6Stv  return 0;
28771.6Stv}
28781.6Stv_ACEOF
28791.6Stvrm -f conftest.$ac_objext
28801.60Sapbif { (eval echo "$as_me:2880: \"$ac_compile\"") >&5
28811.60Sapb  (eval $ac_compile) 2>&5
28821.6Stv  ac_status=$?
28831.60Sapb  echo "$as_me:2883: \$? = $ac_status" >&5
28841.6Stv  (exit $ac_status); } &&
28851.60Sapb         { ac_try='test -s conftest.$ac_objext'
28861.60Sapb  { (eval echo "$as_me:2886: \"$ac_try\"") >&5
28871.48Sjmc  (eval $ac_try) 2>&5
28881.48Sjmc  ac_status=$?
28891.60Sapb  echo "$as_me:2889: \$? = $ac_status" >&5
28901.6Stv  (exit $ac_status); }; }; then
28911.6Stv  ac_cv_type_long_long=yes
28921.6Stvelse
28931.6Stv  echo "$as_me: failed program was:" >&5
28941.60Sapbcat conftest.$ac_ext >&5
28951.6Stvac_cv_type_long_long=no
28961.6Stvfi
28971.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
28981.6Stvfi
28991.60Sapbecho "$as_me:2899: result: $ac_cv_type_long_long" >&5
29001.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
29011.6Stvif test $ac_cv_type_long_long = yes; then
29021.6Stv
29031.60Sapbcat >>confdefs.h <<EOF
29041.52Sdbj#define HAVE_LONG_LONG 1
29051.60SapbEOF
29061.6Stv
29071.6Stvfi
29081.60Sapbecho "$as_me:2908: checking for u_long" >&5
29091.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
29101.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
29111.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
29121.38Sfredbelse
29131.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
29141.60Sapb#line 2914 "configure"
29151.60Sapb#include "confdefs.h"
29161.38Sfredb$ac_includes_default
29171.38Sfredbint
29181.38Sfredbmain ()
29191.38Sfredb{
29201.38Sfredbif ((u_long *) 0)
29211.38Sfredb  return 0;
29221.38Sfredbif (sizeof (u_long))
29231.38Sfredb  return 0;
29241.38Sfredb  ;
29251.38Sfredb  return 0;
29261.38Sfredb}
29271.38Sfredb_ACEOF
29281.38Sfredbrm -f conftest.$ac_objext
29291.60Sapbif { (eval echo "$as_me:2929: \"$ac_compile\"") >&5
29301.60Sapb  (eval $ac_compile) 2>&5
29311.38Sfredb  ac_status=$?
29321.60Sapb  echo "$as_me:2932: \$? = $ac_status" >&5
29331.38Sfredb  (exit $ac_status); } &&
29341.60Sapb         { ac_try='test -s conftest.$ac_objext'
29351.60Sapb  { (eval echo "$as_me:2935: \"$ac_try\"") >&5
29361.38Sfredb  (eval $ac_try) 2>&5
29371.38Sfredb  ac_status=$?
29381.60Sapb  echo "$as_me:2938: \$? = $ac_status" >&5
29391.38Sfredb  (exit $ac_status); }; }; then
29401.38Sfredb  ac_cv_type_u_long=yes
29411.38Sfredbelse
29421.38Sfredb  echo "$as_me: failed program was:" >&5
29431.60Sapbcat conftest.$ac_ext >&5
29441.38Sfredbac_cv_type_u_long=no
29451.38Sfredbfi
29461.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
29471.38Sfredbfi
29481.60Sapbecho "$as_me:2948: result: $ac_cv_type_u_long" >&5
29491.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
29501.38Sfredbif test $ac_cv_type_u_long = yes; then
29511.38Sfredb
29521.60Sapbcat >>confdefs.h <<EOF
29531.38Sfredb#define HAVE_U_LONG 1
29541.60SapbEOF
29551.39Sfredb
29561.38Sfredbfi
29571.60Sapbecho "$as_me:2957: checking for u_char" >&5
29581.45Sjmcecho $ECHO_N "checking for u_char... $ECHO_C" >&6
29591.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then
29601.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
29611.45Sjmcelse
29621.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
29631.60Sapb#line 2963 "configure"
29641.60Sapb#include "confdefs.h"
29651.45Sjmc$ac_includes_default
29661.45Sjmcint
29671.45Sjmcmain ()
29681.45Sjmc{
29691.45Sjmcif ((u_char *) 0)
29701.45Sjmc  return 0;
29711.45Sjmcif (sizeof (u_char))
29721.45Sjmc  return 0;
29731.45Sjmc  ;
29741.45Sjmc  return 0;
29751.45Sjmc}
29761.45Sjmc_ACEOF
29771.45Sjmcrm -f conftest.$ac_objext
29781.60Sapbif { (eval echo "$as_me:2978: \"$ac_compile\"") >&5
29791.60Sapb  (eval $ac_compile) 2>&5
29801.45Sjmc  ac_status=$?
29811.60Sapb  echo "$as_me:2981: \$? = $ac_status" >&5
29821.45Sjmc  (exit $ac_status); } &&
29831.60Sapb         { ac_try='test -s conftest.$ac_objext'
29841.60Sapb  { (eval echo "$as_me:2984: \"$ac_try\"") >&5
29851.53Sdogcow  (eval $ac_try) 2>&5
29861.53Sdogcow  ac_status=$?
29871.60Sapb  echo "$as_me:2987: \$? = $ac_status" >&5
29881.45Sjmc  (exit $ac_status); }; }; then
29891.45Sjmc  ac_cv_type_u_char=yes
29901.45Sjmcelse
29911.45Sjmc  echo "$as_me: failed program was:" >&5
29921.60Sapbcat conftest.$ac_ext >&5
29931.45Sjmcac_cv_type_u_char=no
29941.45Sjmcfi
29951.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
29961.45Sjmcfi
29971.60Sapbecho "$as_me:2997: result: $ac_cv_type_u_char" >&5
29981.45Sjmcecho "${ECHO_T}$ac_cv_type_u_char" >&6
29991.45Sjmcif test $ac_cv_type_u_char = yes; then
30001.45Sjmc
30011.60Sapbcat >>confdefs.h <<EOF
30021.45Sjmc#define HAVE_U_CHAR 1
30031.60SapbEOF
30041.45Sjmc
30051.45Sjmcfi
30061.60Sapbecho "$as_me:3006: checking for u_short" >&5
30071.45Sjmcecho $ECHO_N "checking for u_short... $ECHO_C" >&6
30081.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then
30091.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30101.45Sjmcelse
30111.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30121.60Sapb#line 3012 "configure"
30131.60Sapb#include "confdefs.h"
30141.45Sjmc$ac_includes_default
30151.45Sjmcint
30161.45Sjmcmain ()
30171.45Sjmc{
30181.45Sjmcif ((u_short *) 0)
30191.45Sjmc  return 0;
30201.45Sjmcif (sizeof (u_short))
30211.45Sjmc  return 0;
30221.45Sjmc  ;
30231.45Sjmc  return 0;
30241.45Sjmc}
30251.45Sjmc_ACEOF
30261.45Sjmcrm -f conftest.$ac_objext
30271.60Sapbif { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
30281.60Sapb  (eval $ac_compile) 2>&5
30291.45Sjmc  ac_status=$?
30301.60Sapb  echo "$as_me:3030: \$? = $ac_status" >&5
30311.45Sjmc  (exit $ac_status); } &&
30321.60Sapb         { ac_try='test -s conftest.$ac_objext'
30331.60Sapb  { (eval echo "$as_me:3033: \"$ac_try\"") >&5
30341.53Sdogcow  (eval $ac_try) 2>&5
30351.53Sdogcow  ac_status=$?
30361.60Sapb  echo "$as_me:3036: \$? = $ac_status" >&5
30371.45Sjmc  (exit $ac_status); }; }; then
30381.45Sjmc  ac_cv_type_u_short=yes
30391.45Sjmcelse
30401.45Sjmc  echo "$as_me: failed program was:" >&5
30411.60Sapbcat conftest.$ac_ext >&5
30421.45Sjmcac_cv_type_u_short=no
30431.45Sjmcfi
30441.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
30451.45Sjmcfi
30461.60Sapbecho "$as_me:3046: result: $ac_cv_type_u_short" >&5
30471.45Sjmcecho "${ECHO_T}$ac_cv_type_u_short" >&6
30481.45Sjmcif test $ac_cv_type_u_short = yes; then
30491.45Sjmc
30501.60Sapbcat >>confdefs.h <<EOF
30511.45Sjmc#define HAVE_U_SHORT 1
30521.60SapbEOF
30531.45Sjmc
30541.45Sjmcfi
30551.60Sapbecho "$as_me:3055: checking for u_int" >&5
30561.45Sjmcecho $ECHO_N "checking for u_int... $ECHO_C" >&6
30571.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then
30581.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30591.45Sjmcelse
30601.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30611.60Sapb#line 3061 "configure"
30621.60Sapb#include "confdefs.h"
30631.45Sjmc$ac_includes_default
30641.45Sjmcint
30651.45Sjmcmain ()
30661.45Sjmc{
30671.45Sjmcif ((u_int *) 0)
30681.45Sjmc  return 0;
30691.45Sjmcif (sizeof (u_int))
30701.45Sjmc  return 0;
30711.45Sjmc  ;
30721.45Sjmc  return 0;
30731.45Sjmc}
30741.45Sjmc_ACEOF
30751.45Sjmcrm -f conftest.$ac_objext
30761.60Sapbif { (eval echo "$as_me:3076: \"$ac_compile\"") >&5
30771.60Sapb  (eval $ac_compile) 2>&5
30781.45Sjmc  ac_status=$?
30791.60Sapb  echo "$as_me:3079: \$? = $ac_status" >&5
30801.45Sjmc  (exit $ac_status); } &&
30811.60Sapb         { ac_try='test -s conftest.$ac_objext'
30821.60Sapb  { (eval echo "$as_me:3082: \"$ac_try\"") >&5
30831.50Sjmc  (eval $ac_try) 2>&5
30841.50Sjmc  ac_status=$?
30851.60Sapb  echo "$as_me:3085: \$? = $ac_status" >&5
30861.45Sjmc  (exit $ac_status); }; }; then
30871.45Sjmc  ac_cv_type_u_int=yes
30881.45Sjmcelse
30891.45Sjmc  echo "$as_me: failed program was:" >&5
30901.60Sapbcat conftest.$ac_ext >&5
30911.45Sjmcac_cv_type_u_int=no
30921.45Sjmcfi
30931.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
30941.45Sjmcfi
30951.60Sapbecho "$as_me:3095: result: $ac_cv_type_u_int" >&5
30961.45Sjmcecho "${ECHO_T}$ac_cv_type_u_int" >&6
30971.45Sjmcif test $ac_cv_type_u_int = yes; then
30981.45Sjmc
30991.60Sapbcat >>confdefs.h <<EOF
31001.45Sjmc#define HAVE_U_INT 1
31011.60SapbEOF
31021.45Sjmc
31031.45Sjmcfi
31041.60Sapbecho "$as_me:3104: checking for u_quad_t" >&5
31051.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
31061.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
31071.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31081.7Stvelse
31091.7Stv  cat >conftest.$ac_ext <<_ACEOF
31101.60Sapb#line 3110 "configure"
31111.60Sapb#include "confdefs.h"
31121.7Stv$ac_includes_default
31131.7Stvint
31141.7Stvmain ()
31151.7Stv{
31161.7Stvif ((u_quad_t *) 0)
31171.7Stv  return 0;
31181.7Stvif (sizeof (u_quad_t))
31191.7Stv  return 0;
31201.7Stv  ;
31211.7Stv  return 0;
31221.7Stv}
31231.7Stv_ACEOF
31241.7Stvrm -f conftest.$ac_objext
31251.60Sapbif { (eval echo "$as_me:3125: \"$ac_compile\"") >&5
31261.60Sapb  (eval $ac_compile) 2>&5
31271.7Stv  ac_status=$?
31281.60Sapb  echo "$as_me:3128: \$? = $ac_status" >&5
31291.7Stv  (exit $ac_status); } &&
31301.60Sapb         { ac_try='test -s conftest.$ac_objext'
31311.60Sapb  { (eval echo "$as_me:3131: \"$ac_try\"") >&5
31321.48Sjmc  (eval $ac_try) 2>&5
31331.48Sjmc  ac_status=$?
31341.60Sapb  echo "$as_me:3134: \$? = $ac_status" >&5
31351.7Stv  (exit $ac_status); }; }; then
31361.7Stv  ac_cv_type_u_quad_t=yes
31371.7Stvelse
31381.7Stv  echo "$as_me: failed program was:" >&5
31391.60Sapbcat conftest.$ac_ext >&5
31401.7Stvac_cv_type_u_quad_t=no
31411.7Stvfi
31421.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
31431.7Stvfi
31441.60Sapbecho "$as_me:3144: result: $ac_cv_type_u_quad_t" >&5
31451.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
31461.7Stvif test $ac_cv_type_u_quad_t = yes; then
31471.7Stv
31481.60Sapbcat >>confdefs.h <<EOF
31491.7Stv#define HAVE_U_QUAD_T 1
31501.60SapbEOF
31511.7Stv
31521.7Stvfi
31531.35Sthorpej
31541.60Sapbecho "$as_me:3154: checking for socklen_t" >&5
31551.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
31561.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
31571.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
31581.34Sthorpejelse
31591.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
31601.60Sapb#line 3160 "configure"
31611.60Sapb#include "confdefs.h"
31621.35Sthorpej#include <sys/types.h>
31631.35Sthorpej#include <sys/socket.h>
31641.35Sthorpej
31651.34Sthorpejint
31661.34Sthorpejmain ()
31671.34Sthorpej{
31681.34Sthorpejif ((socklen_t *) 0)
31691.34Sthorpej  return 0;
31701.34Sthorpejif (sizeof (socklen_t))
31711.34Sthorpej  return 0;
31721.34Sthorpej  ;
31731.34Sthorpej  return 0;
31741.34Sthorpej}
31751.34Sthorpej_ACEOF
31761.34Sthorpejrm -f conftest.$ac_objext
31771.60Sapbif { (eval echo "$as_me:3177: \"$ac_compile\"") >&5
31781.60Sapb  (eval $ac_compile) 2>&5
31791.34Sthorpej  ac_status=$?
31801.60Sapb  echo "$as_me:3180: \$? = $ac_status" >&5
31811.34Sthorpej  (exit $ac_status); } &&
31821.60Sapb         { ac_try='test -s conftest.$ac_objext'
31831.60Sapb  { (eval echo "$as_me:3183: \"$ac_try\"") >&5
31841.53Sdogcow  (eval $ac_try) 2>&5
31851.53Sdogcow  ac_status=$?
31861.60Sapb  echo "$as_me:3186: \$? = $ac_status" >&5
31871.34Sthorpej  (exit $ac_status); }; }; then
31881.34Sthorpej  ac_cv_type_socklen_t=yes
31891.34Sthorpejelse
31901.34Sthorpej  echo "$as_me: failed program was:" >&5
31911.60Sapbcat conftest.$ac_ext >&5
31921.34Sthorpejac_cv_type_socklen_t=no
31931.34Sthorpejfi
31941.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
31951.34Sthorpejfi
31961.60Sapbecho "$as_me:3196: result: $ac_cv_type_socklen_t" >&5
31971.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
31981.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
31991.54Swiz
32001.60Sapbcat >>confdefs.h <<\EOF
32011.34Sthorpej#define HAVE_SOCKLEN_T 1
32021.60SapbEOF
32031.34Sthorpej
32041.34Sthorpejfi
32051.34Sthorpej
32061.60Sapb	echo "$as_me:3206: checking for uint8_t" >&5
32071.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32081.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
32091.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32101.6Stvelse
32111.6Stv  cat >conftest.$ac_ext <<_ACEOF
32121.60Sapb#line 3212 "configure"
32131.60Sapb#include "confdefs.h"
32141.6Stv$ac_includes_default
32151.6Stvint
32161.6Stvmain ()
32171.6Stv{
32181.9Stvif ((uint8_t *) 0)
32191.6Stv  return 0;
32201.9Stvif (sizeof (uint8_t))
32211.6Stv  return 0;
32221.6Stv  ;
32231.6Stv  return 0;
32241.6Stv}
32251.6Stv_ACEOF
32261.6Stvrm -f conftest.$ac_objext
32271.60Sapbif { (eval echo "$as_me:3227: \"$ac_compile\"") >&5
32281.60Sapb  (eval $ac_compile) 2>&5
32291.6Stv  ac_status=$?
32301.60Sapb  echo "$as_me:3230: \$? = $ac_status" >&5
32311.6Stv  (exit $ac_status); } &&
32321.60Sapb         { ac_try='test -s conftest.$ac_objext'
32331.60Sapb  { (eval echo "$as_me:3233: \"$ac_try\"") >&5
32341.53Sdogcow  (eval $ac_try) 2>&5
32351.53Sdogcow  ac_status=$?
32361.60Sapb  echo "$as_me:3236: \$? = $ac_status" >&5
32371.6Stv  (exit $ac_status); }; }; then
32381.9Stv  ac_cv_type_uint8_t=yes
32391.9Stvelse
32401.9Stv  echo "$as_me: failed program was:" >&5
32411.60Sapbcat conftest.$ac_ext >&5
32421.9Stvac_cv_type_uint8_t=no
32431.9Stvfi
32441.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
32451.9Stvfi
32461.60Sapbecho "$as_me:3246: result: $ac_cv_type_uint8_t" >&5
32471.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32481.9Stvif test $ac_cv_type_uint8_t = yes; then
32491.9Stv  :
32501.9Stvelse
32511.9Stv
32521.60Sapb		echo "$as_me:3252: checking for u_int8_t" >&5
32531.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32541.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
32551.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32561.9Stvelse
32571.9Stv  cat >conftest.$ac_ext <<_ACEOF
32581.60Sapb#line 3258 "configure"
32591.60Sapb#include "confdefs.h"
32601.9Stv$ac_includes_default
32611.9Stvint
32621.9Stvmain ()
32631.9Stv{
32641.9Stvif ((u_int8_t *) 0)
32651.9Stv  return 0;
32661.9Stvif (sizeof (u_int8_t))
32671.9Stv  return 0;
32681.9Stv  ;
32691.9Stv  return 0;
32701.9Stv}
32711.9Stv_ACEOF
32721.9Stvrm -f conftest.$ac_objext
32731.60Sapbif { (eval echo "$as_me:3273: \"$ac_compile\"") >&5
32741.60Sapb  (eval $ac_compile) 2>&5
32751.9Stv  ac_status=$?
32761.60Sapb  echo "$as_me:3276: \$? = $ac_status" >&5
32771.9Stv  (exit $ac_status); } &&
32781.60Sapb         { ac_try='test -s conftest.$ac_objext'
32791.60Sapb  { (eval echo "$as_me:3279: \"$ac_try\"") >&5
32801.48Sjmc  (eval $ac_try) 2>&5
32811.48Sjmc  ac_status=$?
32821.60Sapb  echo "$as_me:3282: \$? = $ac_status" >&5
32831.9Stv  (exit $ac_status); }; }; then
32841.6Stv  ac_cv_type_u_int8_t=yes
32851.6Stvelse
32861.6Stv  echo "$as_me: failed program was:" >&5
32871.60Sapbcat conftest.$ac_ext >&5
32881.6Stvac_cv_type_u_int8_t=no
32891.6Stvfi
32901.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
32911.6Stvfi
32921.60Sapbecho "$as_me:3292: result: $ac_cv_type_u_int8_t" >&5
32931.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32941.9Stvif test $ac_cv_type_u_int8_t = yes; then
32951.54Swiz
32961.60Sapbcat >>confdefs.h <<\EOF
32971.9Stv#define uint8_t u_int8_t
32981.60SapbEOF
32991.9Stv
33001.9Stvelse
33011.60Sapb  { { echo "$as_me:3301: error: cannot find a suitable type for uint8_t" >&5
33021.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
33031.9Stv   { (exit 1); exit 1; }; }
33041.9Stvfi
33051.9Stv
33061.9Stvfi
33071.9Stv
33081.60Sapb	echo "$as_me:3308: checking for u_int8_t" >&5
33091.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
33101.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
33111.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33121.9Stvelse
33131.9Stv  cat >conftest.$ac_ext <<_ACEOF
33141.60Sapb#line 3314 "configure"
33151.60Sapb#include "confdefs.h"
33161.9Stv$ac_includes_default
33171.9Stvint
33181.9Stvmain ()
33191.9Stv{
33201.9Stvif ((u_int8_t *) 0)
33211.9Stv  return 0;
33221.9Stvif (sizeof (u_int8_t))
33231.9Stv  return 0;
33241.9Stv  ;
33251.9Stv  return 0;
33261.9Stv}
33271.9Stv_ACEOF
33281.9Stvrm -f conftest.$ac_objext
33291.60Sapbif { (eval echo "$as_me:3329: \"$ac_compile\"") >&5
33301.60Sapb  (eval $ac_compile) 2>&5
33311.9Stv  ac_status=$?
33321.60Sapb  echo "$as_me:3332: \$? = $ac_status" >&5
33331.9Stv  (exit $ac_status); } &&
33341.60Sapb         { ac_try='test -s conftest.$ac_objext'
33351.60Sapb  { (eval echo "$as_me:3335: \"$ac_try\"") >&5
33361.53Sdogcow  (eval $ac_try) 2>&5
33371.53Sdogcow  ac_status=$?
33381.60Sapb  echo "$as_me:3338: \$? = $ac_status" >&5
33391.9Stv  (exit $ac_status); }; }; then
33401.9Stv  ac_cv_type_u_int8_t=yes
33411.9Stvelse
33421.9Stv  echo "$as_me: failed program was:" >&5
33431.60Sapbcat conftest.$ac_ext >&5
33441.9Stvac_cv_type_u_int8_t=no
33451.9Stvfi
33461.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
33471.9Stvfi
33481.60Sapbecho "$as_me:3348: result: $ac_cv_type_u_int8_t" >&5
33491.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
33501.6Stvif test $ac_cv_type_u_int8_t = yes; then
33511.6Stv  :
33521.6Stvelse
33531.6Stv
33541.60Sapb		echo "$as_me:3354: checking for uint8_t" >&5
33551.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
33561.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
33571.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33581.6Stvelse
33591.6Stv  cat >conftest.$ac_ext <<_ACEOF
33601.60Sapb#line 3360 "configure"
33611.60Sapb#include "confdefs.h"
33621.6Stv$ac_includes_default
33631.6Stvint
33641.6Stvmain ()
33651.6Stv{
33661.6Stvif ((uint8_t *) 0)
33671.6Stv  return 0;
33681.6Stvif (sizeof (uint8_t))
33691.6Stv  return 0;
33701.6Stv  ;
33711.6Stv  return 0;
33721.6Stv}
33731.6Stv_ACEOF
33741.6Stvrm -f conftest.$ac_objext
33751.60Sapbif { (eval echo "$as_me:3375: \"$ac_compile\"") >&5
33761.60Sapb  (eval $ac_compile) 2>&5
33771.6Stv  ac_status=$?
33781.60Sapb  echo "$as_me:3378: \$? = $ac_status" >&5
33791.6Stv  (exit $ac_status); } &&
33801.60Sapb         { ac_try='test -s conftest.$ac_objext'
33811.60Sapb  { (eval echo "$as_me:3381: \"$ac_try\"") >&5
33821.48Sjmc  (eval $ac_try) 2>&5
33831.48Sjmc  ac_status=$?
33841.60Sapb  echo "$as_me:3384: \$? = $ac_status" >&5
33851.6Stv  (exit $ac_status); }; }; then
33861.6Stv  ac_cv_type_uint8_t=yes
33871.4Stvelse
33881.4Stv  echo "$as_me: failed program was:" >&5
33891.60Sapbcat conftest.$ac_ext >&5
33901.6Stvac_cv_type_uint8_t=no
33911.4Stvfi
33921.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
33931.4Stvfi
33941.60Sapbecho "$as_me:3394: result: $ac_cv_type_uint8_t" >&5
33951.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
33961.6Stvif test $ac_cv_type_uint8_t = yes; then
33971.54Swiz
33981.60Sapbcat >>confdefs.h <<\EOF
33991.6Stv#define u_int8_t uint8_t
34001.60SapbEOF
34011.4Stv
34021.6Stvelse
34031.60Sapb  { { echo "$as_me:3403: error: cannot find a suitable type for u_int8_t" >&5
34041.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
34051.6Stv   { (exit 1); exit 1; }; }
34061.6Stvfi
34071.6Stv
34081.4Stvfi
34091.4Stv
34101.60Sapb	echo "$as_me:3410: checking for uint16_t" >&5
34111.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
34121.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
34131.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34141.9Stvelse
34151.9Stv  cat >conftest.$ac_ext <<_ACEOF
34161.60Sapb#line 3416 "configure"
34171.60Sapb#include "confdefs.h"
34181.9Stv$ac_includes_default
34191.9Stvint
34201.9Stvmain ()
34211.9Stv{
34221.9Stvif ((uint16_t *) 0)
34231.9Stv  return 0;
34241.9Stvif (sizeof (uint16_t))
34251.9Stv  return 0;
34261.9Stv  ;
34271.9Stv  return 0;
34281.9Stv}
34291.9Stv_ACEOF
34301.9Stvrm -f conftest.$ac_objext
34311.60Sapbif { (eval echo "$as_me:3431: \"$ac_compile\"") >&5
34321.60Sapb  (eval $ac_compile) 2>&5
34331.9Stv  ac_status=$?
34341.60Sapb  echo "$as_me:3434: \$? = $ac_status" >&5
34351.9Stv  (exit $ac_status); } &&
34361.60Sapb         { ac_try='test -s conftest.$ac_objext'
34371.60Sapb  { (eval echo "$as_me:3437: \"$ac_try\"") >&5
34381.50Sjmc  (eval $ac_try) 2>&5
34391.50Sjmc  ac_status=$?
34401.60Sapb  echo "$as_me:3440: \$? = $ac_status" >&5
34411.9Stv  (exit $ac_status); }; }; then
34421.9Stv  ac_cv_type_uint16_t=yes
34431.9Stvelse
34441.9Stv  echo "$as_me: failed program was:" >&5
34451.60Sapbcat conftest.$ac_ext >&5
34461.9Stvac_cv_type_uint16_t=no
34471.9Stvfi
34481.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
34491.9Stvfi
34501.60Sapbecho "$as_me:3450: result: $ac_cv_type_uint16_t" >&5
34511.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34521.9Stvif test $ac_cv_type_uint16_t = yes; then
34531.9Stv  :
34541.9Stvelse
34551.9Stv
34561.60Sapb		echo "$as_me:3456: checking for u_int16_t" >&5
34571.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
34581.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
34591.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34601.9Stvelse
34611.9Stv  cat >conftest.$ac_ext <<_ACEOF
34621.60Sapb#line 3462 "configure"
34631.60Sapb#include "confdefs.h"
34641.9Stv$ac_includes_default
34651.9Stvint
34661.9Stvmain ()
34671.9Stv{
34681.9Stvif ((u_int16_t *) 0)
34691.9Stv  return 0;
34701.9Stvif (sizeof (u_int16_t))
34711.9Stv  return 0;
34721.9Stv  ;
34731.9Stv  return 0;
34741.9Stv}
34751.9Stv_ACEOF
34761.9Stvrm -f conftest.$ac_objext
34771.60Sapbif { (eval echo "$as_me:3477: \"$ac_compile\"") >&5
34781.60Sapb  (eval $ac_compile) 2>&5
34791.9Stv  ac_status=$?
34801.60Sapb  echo "$as_me:3480: \$? = $ac_status" >&5
34811.9Stv  (exit $ac_status); } &&
34821.60Sapb         { ac_try='test -s conftest.$ac_objext'
34831.60Sapb  { (eval echo "$as_me:3483: \"$ac_try\"") >&5
34841.53Sdogcow  (eval $ac_try) 2>&5
34851.53Sdogcow  ac_status=$?
34861.60Sapb  echo "$as_me:3486: \$? = $ac_status" >&5
34871.9Stv  (exit $ac_status); }; }; then
34881.9Stv  ac_cv_type_u_int16_t=yes
34891.9Stvelse
34901.9Stv  echo "$as_me: failed program was:" >&5
34911.60Sapbcat conftest.$ac_ext >&5
34921.9Stvac_cv_type_u_int16_t=no
34931.9Stvfi
34941.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
34951.9Stvfi
34961.60Sapbecho "$as_me:3496: result: $ac_cv_type_u_int16_t" >&5
34971.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
34981.9Stvif test $ac_cv_type_u_int16_t = yes; then
34991.54Swiz
35001.60Sapbcat >>confdefs.h <<\EOF
35011.9Stv#define uint16_t u_int16_t
35021.60SapbEOF
35031.9Stv
35041.9Stvelse
35051.60Sapb  { { echo "$as_me:3505: error: cannot find a suitable type for uint16_t" >&5
35061.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
35071.9Stv   { (exit 1); exit 1; }; }
35081.9Stvfi
35091.9Stv
35101.9Stvfi
35111.9Stv
35121.60Sapb	echo "$as_me:3512: checking for u_int16_t" >&5
35131.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
35141.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
35151.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35161.1Stvelse
35171.1Stv  cat >conftest.$ac_ext <<_ACEOF
35181.60Sapb#line 3518 "configure"
35191.60Sapb#include "confdefs.h"
35201.6Stv$ac_includes_default
35211.6Stvint
35221.6Stvmain ()
35231.6Stv{
35241.6Stvif ((u_int16_t *) 0)
35251.6Stv  return 0;
35261.6Stvif (sizeof (u_int16_t))
35271.6Stv  return 0;
35281.6Stv  ;
35291.6Stv  return 0;
35301.6Stv}
35311.1Stv_ACEOF
35321.6Stvrm -f conftest.$ac_objext
35331.60Sapbif { (eval echo "$as_me:3533: \"$ac_compile\"") >&5
35341.60Sapb  (eval $ac_compile) 2>&5
35351.6Stv  ac_status=$?
35361.60Sapb  echo "$as_me:3536: \$? = $ac_status" >&5
35371.6Stv  (exit $ac_status); } &&
35381.60Sapb         { ac_try='test -s conftest.$ac_objext'
35391.60Sapb  { (eval echo "$as_me:3539: \"$ac_try\"") >&5
35401.50Sjmc  (eval $ac_try) 2>&5
35411.50Sjmc  ac_status=$?
35421.60Sapb  echo "$as_me:3542: \$? = $ac_status" >&5
35431.6Stv  (exit $ac_status); }; }; then
35441.6Stv  ac_cv_type_u_int16_t=yes
35451.1Stvelse
35461.6Stv  echo "$as_me: failed program was:" >&5
35471.60Sapbcat conftest.$ac_ext >&5
35481.6Stvac_cv_type_u_int16_t=no
35491.6Stvfi
35501.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
35511.1Stvfi
35521.60Sapbecho "$as_me:3552: result: $ac_cv_type_u_int16_t" >&5
35531.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35541.6Stvif test $ac_cv_type_u_int16_t = yes; then
35551.6Stv  :
35561.1Stvelse
35571.1Stv
35581.60Sapb		echo "$as_me:3558: checking for uint16_t" >&5
35591.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
35601.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
35611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35621.6Stvelse
35631.1Stv  cat >conftest.$ac_ext <<_ACEOF
35641.60Sapb#line 3564 "configure"
35651.60Sapb#include "confdefs.h"
35661.6Stv$ac_includes_default
35671.6Stvint
35681.6Stvmain ()
35691.6Stv{
35701.6Stvif ((uint16_t *) 0)
35711.6Stv  return 0;
35721.6Stvif (sizeof (uint16_t))
35731.6Stv  return 0;
35741.6Stv  ;
35751.6Stv  return 0;
35761.6Stv}
35771.1Stv_ACEOF
35781.6Stvrm -f conftest.$ac_objext
35791.60Sapbif { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
35801.60Sapb  (eval $ac_compile) 2>&5
35811.6Stv  ac_status=$?
35821.60Sapb  echo "$as_me:3582: \$? = $ac_status" >&5
35831.6Stv  (exit $ac_status); } &&
35841.60Sapb         { ac_try='test -s conftest.$ac_objext'
35851.60Sapb  { (eval echo "$as_me:3585: \"$ac_try\"") >&5
35861.53Sdogcow  (eval $ac_try) 2>&5
35871.53Sdogcow  ac_status=$?
35881.60Sapb  echo "$as_me:3588: \$? = $ac_status" >&5
35891.6Stv  (exit $ac_status); }; }; then
35901.6Stv  ac_cv_type_uint16_t=yes
35911.1Stvelse
35921.6Stv  echo "$as_me: failed program was:" >&5
35931.60Sapbcat conftest.$ac_ext >&5
35941.6Stvac_cv_type_uint16_t=no
35951.1Stvfi
35961.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
35971.1Stvfi
35981.60Sapbecho "$as_me:3598: result: $ac_cv_type_uint16_t" >&5
35991.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
36001.6Stvif test $ac_cv_type_uint16_t = yes; then
36011.54Swiz
36021.60Sapbcat >>confdefs.h <<\EOF
36031.6Stv#define u_int16_t uint16_t
36041.60SapbEOF
36051.1Stv
36061.1Stvelse
36071.60Sapb  { { echo "$as_me:3607: error: cannot find a suitable type for u_int16_t" >&5
36081.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
36091.6Stv   { (exit 1); exit 1; }; }
36101.1Stvfi
36111.1Stv
36121.1Stvfi
36131.1Stv
36141.60Sapb	echo "$as_me:3614: checking for uint32_t" >&5
36151.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
36161.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
36171.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36181.9Stvelse
36191.9Stv  cat >conftest.$ac_ext <<_ACEOF
36201.60Sapb#line 3620 "configure"
36211.60Sapb#include "confdefs.h"
36221.9Stv$ac_includes_default
36231.9Stvint
36241.9Stvmain ()
36251.9Stv{
36261.9Stvif ((uint32_t *) 0)
36271.9Stv  return 0;
36281.9Stvif (sizeof (uint32_t))
36291.9Stv  return 0;
36301.9Stv  ;
36311.9Stv  return 0;
36321.9Stv}
36331.9Stv_ACEOF
36341.9Stvrm -f conftest.$ac_objext
36351.60Sapbif { (eval echo "$as_me:3635: \"$ac_compile\"") >&5
36361.60Sapb  (eval $ac_compile) 2>&5
36371.9Stv  ac_status=$?
36381.60Sapb  echo "$as_me:3638: \$? = $ac_status" >&5
36391.9Stv  (exit $ac_status); } &&
36401.60Sapb         { ac_try='test -s conftest.$ac_objext'
36411.60Sapb  { (eval echo "$as_me:3641: \"$ac_try\"") >&5
36421.53Sdogcow  (eval $ac_try) 2>&5
36431.53Sdogcow  ac_status=$?
36441.60Sapb  echo "$as_me:3644: \$? = $ac_status" >&5
36451.9Stv  (exit $ac_status); }; }; then
36461.9Stv  ac_cv_type_uint32_t=yes
36471.9Stvelse
36481.9Stv  echo "$as_me: failed program was:" >&5
36491.60Sapbcat conftest.$ac_ext >&5
36501.9Stvac_cv_type_uint32_t=no
36511.9Stvfi
36521.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
36531.9Stvfi
36541.60Sapbecho "$as_me:3654: result: $ac_cv_type_uint32_t" >&5
36551.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36561.9Stvif test $ac_cv_type_uint32_t = yes; then
36571.9Stv  :
36581.9Stvelse
36591.9Stv
36601.60Sapb		echo "$as_me:3660: checking for u_int32_t" >&5
36611.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
36621.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
36631.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36641.1Stvelse
36651.1Stv  cat >conftest.$ac_ext <<_ACEOF
36661.60Sapb#line 3666 "configure"
36671.60Sapb#include "confdefs.h"
36681.9Stv$ac_includes_default
36691.9Stvint
36701.9Stvmain ()
36711.9Stv{
36721.9Stvif ((u_int32_t *) 0)
36731.9Stv  return 0;
36741.9Stvif (sizeof (u_int32_t))
36751.9Stv  return 0;
36761.9Stv  ;
36771.9Stv  return 0;
36781.9Stv}
36791.9Stv_ACEOF
36801.9Stvrm -f conftest.$ac_objext
36811.60Sapbif { (eval echo "$as_me:3681: \"$ac_compile\"") >&5
36821.60Sapb  (eval $ac_compile) 2>&5
36831.9Stv  ac_status=$?
36841.60Sapb  echo "$as_me:3684: \$? = $ac_status" >&5
36851.9Stv  (exit $ac_status); } &&
36861.60Sapb         { ac_try='test -s conftest.$ac_objext'
36871.60Sapb  { (eval echo "$as_me:3687: \"$ac_try\"") >&5
36881.53Sdogcow  (eval $ac_try) 2>&5
36891.53Sdogcow  ac_status=$?
36901.60Sapb  echo "$as_me:3690: \$? = $ac_status" >&5
36911.9Stv  (exit $ac_status); }; }; then
36921.9Stv  ac_cv_type_u_int32_t=yes
36931.9Stvelse
36941.9Stv  echo "$as_me: failed program was:" >&5
36951.60Sapbcat conftest.$ac_ext >&5
36961.9Stvac_cv_type_u_int32_t=no
36971.9Stvfi
36981.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
36991.9Stvfi
37001.60Sapbecho "$as_me:3700: result: $ac_cv_type_u_int32_t" >&5
37011.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37021.9Stvif test $ac_cv_type_u_int32_t = yes; then
37031.54Swiz
37041.60Sapbcat >>confdefs.h <<\EOF
37051.9Stv#define uint32_t u_int32_t
37061.60SapbEOF
37071.9Stv
37081.9Stvelse
37091.60Sapb  { { echo "$as_me:3709: error: cannot find a suitable type for uint32_t" >&5
37101.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
37111.9Stv   { (exit 1); exit 1; }; }
37121.9Stvfi
37131.9Stv
37141.9Stvfi
37151.9Stv
37161.60Sapb	echo "$as_me:3716: checking for u_int32_t" >&5
37171.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
37181.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
37191.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37201.9Stvelse
37211.9Stv  cat >conftest.$ac_ext <<_ACEOF
37221.60Sapb#line 3722 "configure"
37231.60Sapb#include "confdefs.h"
37241.6Stv$ac_includes_default
37251.1Stvint
37261.1Stvmain ()
37271.1Stv{
37281.6Stvif ((u_int32_t *) 0)
37291.6Stv  return 0;
37301.6Stvif (sizeof (u_int32_t))
37311.6Stv  return 0;
37321.6Stv  ;
37331.6Stv  return 0;
37341.1Stv}
37351.1Stv_ACEOF
37361.6Stvrm -f conftest.$ac_objext
37371.60Sapbif { (eval echo "$as_me:3737: \"$ac_compile\"") >&5
37381.60Sapb  (eval $ac_compile) 2>&5
37391.1Stv  ac_status=$?
37401.60Sapb  echo "$as_me:3740: \$? = $ac_status" >&5
37411.6Stv  (exit $ac_status); } &&
37421.60Sapb         { ac_try='test -s conftest.$ac_objext'
37431.60Sapb  { (eval echo "$as_me:3743: \"$ac_try\"") >&5
37441.53Sdogcow  (eval $ac_try) 2>&5
37451.53Sdogcow  ac_status=$?
37461.60Sapb  echo "$as_me:3746: \$? = $ac_status" >&5
37471.1Stv  (exit $ac_status); }; }; then
37481.6Stv  ac_cv_type_u_int32_t=yes
37491.1Stvelse
37501.6Stv  echo "$as_me: failed program was:" >&5
37511.60Sapbcat conftest.$ac_ext >&5
37521.6Stvac_cv_type_u_int32_t=no
37531.1Stvfi
37541.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
37551.1Stvfi
37561.60Sapbecho "$as_me:3756: result: $ac_cv_type_u_int32_t" >&5
37571.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37581.6Stvif test $ac_cv_type_u_int32_t = yes; then
37591.6Stv  :
37601.6Stvelse
37611.1Stv
37621.60Sapb		echo "$as_me:3762: checking for uint32_t" >&5
37631.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
37641.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
37651.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37661.1Stvelse
37671.1Stv  cat >conftest.$ac_ext <<_ACEOF
37681.60Sapb#line 3768 "configure"
37691.60Sapb#include "confdefs.h"
37701.1Stv$ac_includes_default
37711.6Stvint
37721.6Stvmain ()
37731.6Stv{
37741.6Stvif ((uint32_t *) 0)
37751.6Stv  return 0;
37761.6Stvif (sizeof (uint32_t))
37771.6Stv  return 0;
37781.6Stv  ;
37791.6Stv  return 0;
37801.6Stv}
37811.1Stv_ACEOF
37821.1Stvrm -f conftest.$ac_objext
37831.60Sapbif { (eval echo "$as_me:3783: \"$ac_compile\"") >&5
37841.60Sapb  (eval $ac_compile) 2>&5
37851.1Stv  ac_status=$?
37861.60Sapb  echo "$as_me:3786: \$? = $ac_status" >&5
37871.1Stv  (exit $ac_status); } &&
37881.60Sapb         { ac_try='test -s conftest.$ac_objext'
37891.60Sapb  { (eval echo "$as_me:3789: \"$ac_try\"") >&5
37901.48Sjmc  (eval $ac_try) 2>&5
37911.48Sjmc  ac_status=$?
37921.60Sapb  echo "$as_me:3792: \$? = $ac_status" >&5
37931.1Stv  (exit $ac_status); }; }; then
37941.6Stv  ac_cv_type_uint32_t=yes
37951.1Stvelse
37961.1Stv  echo "$as_me: failed program was:" >&5
37971.60Sapbcat conftest.$ac_ext >&5
37981.6Stvac_cv_type_uint32_t=no
37991.1Stvfi
38001.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
38011.1Stvfi
38021.60Sapbecho "$as_me:3802: result: $ac_cv_type_uint32_t" >&5
38031.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
38041.6Stvif test $ac_cv_type_uint32_t = yes; then
38051.54Swiz
38061.60Sapbcat >>confdefs.h <<\EOF
38071.6Stv#define u_int32_t uint32_t
38081.60SapbEOF
38091.1Stv
38101.6Stvelse
38111.60Sapb  { { echo "$as_me:3811: error: cannot find a suitable type for u_int32_t" >&5
38121.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
38131.6Stv   { (exit 1); exit 1; }; }
38141.6Stvfi
38151.6Stv
38161.1Stvfi
38171.1Stv
38181.60Sapb	echo "$as_me:3818: checking for uint64_t" >&5
38191.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
38201.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
38211.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38221.9Stvelse
38231.9Stv  cat >conftest.$ac_ext <<_ACEOF
38241.60Sapb#line 3824 "configure"
38251.60Sapb#include "confdefs.h"
38261.9Stv$ac_includes_default
38271.9Stvint
38281.9Stvmain ()
38291.9Stv{
38301.9Stvif ((uint64_t *) 0)
38311.9Stv  return 0;
38321.9Stvif (sizeof (uint64_t))
38331.9Stv  return 0;
38341.9Stv  ;
38351.9Stv  return 0;
38361.9Stv}
38371.9Stv_ACEOF
38381.9Stvrm -f conftest.$ac_objext
38391.60Sapbif { (eval echo "$as_me:3839: \"$ac_compile\"") >&5
38401.60Sapb  (eval $ac_compile) 2>&5
38411.9Stv  ac_status=$?
38421.60Sapb  echo "$as_me:3842: \$? = $ac_status" >&5
38431.9Stv  (exit $ac_status); } &&
38441.60Sapb         { ac_try='test -s conftest.$ac_objext'
38451.60Sapb  { (eval echo "$as_me:3845: \"$ac_try\"") >&5
38461.50Sjmc  (eval $ac_try) 2>&5
38471.50Sjmc  ac_status=$?
38481.60Sapb  echo "$as_me:3848: \$? = $ac_status" >&5
38491.9Stv  (exit $ac_status); }; }; then
38501.9Stv  ac_cv_type_uint64_t=yes
38511.9Stvelse
38521.9Stv  echo "$as_me: failed program was:" >&5
38531.60Sapbcat conftest.$ac_ext >&5
38541.9Stvac_cv_type_uint64_t=no
38551.9Stvfi
38561.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
38571.9Stvfi
38581.60Sapbecho "$as_me:3858: result: $ac_cv_type_uint64_t" >&5
38591.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38601.9Stvif test $ac_cv_type_uint64_t = yes; then
38611.9Stv  :
38621.9Stvelse
38631.9Stv
38641.60Sapb		echo "$as_me:3864: checking for u_int64_t" >&5
38651.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
38661.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
38671.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38681.9Stvelse
38691.9Stv  cat >conftest.$ac_ext <<_ACEOF
38701.60Sapb#line 3870 "configure"
38711.60Sapb#include "confdefs.h"
38721.9Stv$ac_includes_default
38731.9Stvint
38741.9Stvmain ()
38751.9Stv{
38761.9Stvif ((u_int64_t *) 0)
38771.9Stv  return 0;
38781.9Stvif (sizeof (u_int64_t))
38791.9Stv  return 0;
38801.9Stv  ;
38811.9Stv  return 0;
38821.9Stv}
38831.9Stv_ACEOF
38841.9Stvrm -f conftest.$ac_objext
38851.60Sapbif { (eval echo "$as_me:3885: \"$ac_compile\"") >&5
38861.60Sapb  (eval $ac_compile) 2>&5
38871.9Stv  ac_status=$?
38881.60Sapb  echo "$as_me:3888: \$? = $ac_status" >&5
38891.9Stv  (exit $ac_status); } &&
38901.60Sapb         { ac_try='test -s conftest.$ac_objext'
38911.60Sapb  { (eval echo "$as_me:3891: \"$ac_try\"") >&5
38921.53Sdogcow  (eval $ac_try) 2>&5
38931.53Sdogcow  ac_status=$?
38941.60Sapb  echo "$as_me:3894: \$? = $ac_status" >&5
38951.9Stv  (exit $ac_status); }; }; then
38961.9Stv  ac_cv_type_u_int64_t=yes
38971.9Stvelse
38981.9Stv  echo "$as_me: failed program was:" >&5
38991.60Sapbcat conftest.$ac_ext >&5
39001.9Stvac_cv_type_u_int64_t=no
39011.9Stvfi
39021.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
39031.9Stvfi
39041.60Sapbecho "$as_me:3904: result: $ac_cv_type_u_int64_t" >&5
39051.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39061.9Stvif test $ac_cv_type_u_int64_t = yes; then
39071.54Swiz
39081.60Sapbcat >>confdefs.h <<\EOF
39091.9Stv#define uint64_t u_int64_t
39101.60SapbEOF
39111.9Stv
39121.9Stvelse
39131.60Sapb  { { echo "$as_me:3913: error: cannot find a suitable type for uint64_t" >&5
39141.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
39151.9Stv   { (exit 1); exit 1; }; }
39161.9Stvfi
39171.9Stv
39181.9Stvfi
39191.9Stv
39201.60Sapb	echo "$as_me:3920: checking for u_int64_t" >&5
39211.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
39221.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
39231.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39241.1Stvelse
39251.1Stv  cat >conftest.$ac_ext <<_ACEOF
39261.60Sapb#line 3926 "configure"
39271.60Sapb#include "confdefs.h"
39281.1Stv$ac_includes_default
39291.1Stvint
39301.1Stvmain ()
39311.1Stv{
39321.6Stvif ((u_int64_t *) 0)
39331.1Stv  return 0;
39341.6Stvif (sizeof (u_int64_t))
39351.1Stv  return 0;
39361.1Stv  ;
39371.1Stv  return 0;
39381.1Stv}
39391.1Stv_ACEOF
39401.1Stvrm -f conftest.$ac_objext
39411.60Sapbif { (eval echo "$as_me:3941: \"$ac_compile\"") >&5
39421.60Sapb  (eval $ac_compile) 2>&5
39431.1Stv  ac_status=$?
39441.60Sapb  echo "$as_me:3944: \$? = $ac_status" >&5
39451.1Stv  (exit $ac_status); } &&
39461.60Sapb         { ac_try='test -s conftest.$ac_objext'
39471.60Sapb  { (eval echo "$as_me:3947: \"$ac_try\"") >&5
39481.50Sjmc  (eval $ac_try) 2>&5
39491.50Sjmc  ac_status=$?
39501.60Sapb  echo "$as_me:3950: \$? = $ac_status" >&5
39511.1Stv  (exit $ac_status); }; }; then
39521.6Stv  ac_cv_type_u_int64_t=yes
39531.1Stvelse
39541.1Stv  echo "$as_me: failed program was:" >&5
39551.60Sapbcat conftest.$ac_ext >&5
39561.6Stvac_cv_type_u_int64_t=no
39571.1Stvfi
39581.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
39591.1Stvfi
39601.60Sapbecho "$as_me:3960: result: $ac_cv_type_u_int64_t" >&5
39611.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39621.6Stvif test $ac_cv_type_u_int64_t = yes; then
39631.1Stv  :
39641.1Stvelse
39651.1Stv
39661.60Sapb		echo "$as_me:3966: checking for uint64_t" >&5
39671.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
39681.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
39691.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39701.1Stvelse
39711.1Stv  cat >conftest.$ac_ext <<_ACEOF
39721.60Sapb#line 3972 "configure"
39731.60Sapb#include "confdefs.h"
39741.4Stv$ac_includes_default
39751.4Stvint
39761.4Stvmain ()
39771.4Stv{
39781.6Stvif ((uint64_t *) 0)
39791.4Stv  return 0;
39801.6Stvif (sizeof (uint64_t))
39811.4Stv  return 0;
39821.4Stv  ;
39831.4Stv  return 0;
39841.4Stv}
39851.1Stv_ACEOF
39861.4Stvrm -f conftest.$ac_objext
39871.60Sapbif { (eval echo "$as_me:3987: \"$ac_compile\"") >&5
39881.60Sapb  (eval $ac_compile) 2>&5
39891.4Stv  ac_status=$?
39901.60Sapb  echo "$as_me:3990: \$? = $ac_status" >&5
39911.4Stv  (exit $ac_status); } &&
39921.60Sapb         { ac_try='test -s conftest.$ac_objext'
39931.60Sapb  { (eval echo "$as_me:3993: \"$ac_try\"") >&5
39941.53Sdogcow  (eval $ac_try) 2>&5
39951.53Sdogcow  ac_status=$?
39961.60Sapb  echo "$as_me:3996: \$? = $ac_status" >&5
39971.4Stv  (exit $ac_status); }; }; then
39981.6Stv  ac_cv_type_uint64_t=yes
39991.4Stvelse
40001.4Stv  echo "$as_me: failed program was:" >&5
40011.60Sapbcat conftest.$ac_ext >&5
40021.6Stvac_cv_type_uint64_t=no
40031.4Stvfi
40041.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
40051.4Stvfi
40061.60Sapbecho "$as_me:4006: result: $ac_cv_type_uint64_t" >&5
40071.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
40081.6Stvif test $ac_cv_type_uint64_t = yes; then
40091.54Swiz
40101.60Sapbcat >>confdefs.h <<\EOF
40111.6Stv#define u_int64_t uint64_t
40121.60SapbEOF
40131.4Stv
40141.6Stvelse
40151.60Sapb  { { echo "$as_me:4015: error: cannot find a suitable type for u_int64_t" >&5
40161.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
40171.6Stv   { (exit 1); exit 1; }; }
40181.6Stvfi
40191.4Stv
40201.4Stvfi
40211.4Stv
40221.4Stv# Struct members.
40231.60Sapbecho "$as_me:4023: checking for DIR.dd_fd" >&5
40241.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
40251.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
40261.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40271.7Stvelse
40281.7Stv  cat >conftest.$ac_ext <<_ACEOF
40291.60Sapb#line 4029 "configure"
40301.60Sapb#include "confdefs.h"
40311.32Sthorpej#include <sys/types.h>
40321.7Stv#include <dirent.h>
40331.7Stv
40341.7Stvint
40351.7Stvmain ()
40361.7Stv{
40371.7Stvstatic DIR ac_aggr;
40381.7Stvif (ac_aggr.dd_fd)
40391.7Stvreturn 0;
40401.7Stv  ;
40411.7Stv  return 0;
40421.7Stv}
40431.7Stv_ACEOF
40441.7Stvrm -f conftest.$ac_objext
40451.60Sapbif { (eval echo "$as_me:4045: \"$ac_compile\"") >&5
40461.60Sapb  (eval $ac_compile) 2>&5
40471.53Sdogcow  ac_status=$?
40481.60Sapb  echo "$as_me:4048: \$? = $ac_status" >&5
40491.53Sdogcow  (exit $ac_status); } &&
40501.60Sapb         { ac_try='test -s conftest.$ac_objext'
40511.60Sapb  { (eval echo "$as_me:4051: \"$ac_try\"") >&5
40521.53Sdogcow  (eval $ac_try) 2>&5
40531.53Sdogcow  ac_status=$?
40541.60Sapb  echo "$as_me:4054: \$? = $ac_status" >&5
40551.53Sdogcow  (exit $ac_status); }; }; then
40561.53Sdogcow  ac_cv_member_DIR_dd_fd=yes
40571.53Sdogcowelse
40581.53Sdogcow  echo "$as_me: failed program was:" >&5
40591.60Sapbcat conftest.$ac_ext >&5
40601.48Sjmcac_cv_member_DIR_dd_fd=no
40611.48Sjmcfi
40621.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
40631.53Sdogcowfi
40641.60Sapbecho "$as_me:4064: result: $ac_cv_member_DIR_dd_fd" >&5
40651.48Sjmcecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40661.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then
40671.48Sjmc
40681.60Sapbcat >>confdefs.h <<EOF
40691.48Sjmc#define HAVE_DIR_DD_FD 1
40701.60SapbEOF
40711.48Sjmc
40721.48Sjmcfi
40731.60Sapbecho "$as_me:4073: checking for DIR.__dd_fd" >&5
40741.59Sthorpejecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
40751.59Sthorpejif test "${ac_cv_member_DIR___dd_fd+set}" = set; then
40761.59Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
40771.59Sthorpejelse
40781.59Sthorpej  cat >conftest.$ac_ext <<_ACEOF
40791.60Sapb#line 4079 "configure"
40801.60Sapb#include "confdefs.h"
40811.59Sthorpej#include <sys/types.h>
40821.59Sthorpej#include <dirent.h>
40831.59Sthorpej
40841.59Sthorpejint
40851.59Sthorpejmain ()
40861.59Sthorpej{
40871.59Sthorpejstatic DIR ac_aggr;
40881.59Sthorpejif (ac_aggr.__dd_fd)
40891.59Sthorpejreturn 0;
40901.59Sthorpej  ;
40911.59Sthorpej  return 0;
40921.59Sthorpej}
40931.59Sthorpej_ACEOF
40941.59Sthorpejrm -f conftest.$ac_objext
40951.60Sapbif { (eval echo "$as_me:4095: \"$ac_compile\"") >&5
40961.60Sapb  (eval $ac_compile) 2>&5
40971.59Sthorpej  ac_status=$?
40981.60Sapb  echo "$as_me:4098: \$? = $ac_status" >&5
40991.59Sthorpej  (exit $ac_status); } &&
41001.60Sapb         { ac_try='test -s conftest.$ac_objext'
41011.60Sapb  { (eval echo "$as_me:4101: \"$ac_try\"") >&5
41021.59Sthorpej  (eval $ac_try) 2>&5
41031.59Sthorpej  ac_status=$?
41041.60Sapb  echo "$as_me:4104: \$? = $ac_status" >&5
41051.59Sthorpej  (exit $ac_status); }; }; then
41061.59Sthorpej  ac_cv_member_DIR___dd_fd=yes
41071.59Sthorpejelse
41081.59Sthorpej  echo "$as_me: failed program was:" >&5
41091.60Sapbcat conftest.$ac_ext >&5
41101.59Sthorpejac_cv_member_DIR___dd_fd=no
41111.59Sthorpejfi
41121.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
41131.59Sthorpejfi
41141.60Sapbecho "$as_me:4114: result: $ac_cv_member_DIR___dd_fd" >&5
41151.59Sthorpejecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
41161.59Sthorpejif test $ac_cv_member_DIR___dd_fd = yes; then
41171.59Sthorpej
41181.60Sapbcat >>confdefs.h <<EOF
41191.59Sthorpej#define HAVE_DIR___DD_FD 1
41201.60SapbEOF
41211.59Sthorpej
41221.59Sthorpejfi
41231.60Sapbecho "$as_me:4123: checking for struct dirent.d_namlen" >&5
41241.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
41251.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
41261.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
41271.48Sjmcelse
41281.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
41291.60Sapb#line 4129 "configure"
41301.60Sapb#include "confdefs.h"
41311.32Sthorpej#include <sys/types.h>
41321.8Stv#include <dirent.h>
41331.8Stv
41341.8Stvint
41351.8Stvmain ()
41361.8Stv{
41371.8Stvstatic struct dirent ac_aggr;
41381.52Sdbjif (ac_aggr.d_namlen)
41391.8Stvreturn 0;
41401.8Stv  ;
41411.8Stv  return 0;
41421.8Stv}
41431.8Stv_ACEOF
41441.8Stvrm -f conftest.$ac_objext
41451.60Sapbif { (eval echo "$as_me:4145: \"$ac_compile\"") >&5
41461.60Sapb  (eval $ac_compile) 2>&5
41471.8Stv  ac_status=$?
41481.60Sapb  echo "$as_me:4148: \$? = $ac_status" >&5
41491.8Stv  (exit $ac_status); } &&
41501.60Sapb         { ac_try='test -s conftest.$ac_objext'
41511.60Sapb  { (eval echo "$as_me:4151: \"$ac_try\"") >&5
41521.50Sjmc  (eval $ac_try) 2>&5
41531.50Sjmc  ac_status=$?
41541.60Sapb  echo "$as_me:4154: \$? = $ac_status" >&5
41551.8Stv  (exit $ac_status); }; }; then
41561.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
41571.8Stvelse
41581.8Stv  echo "$as_me: failed program was:" >&5
41591.60Sapbcat conftest.$ac_ext >&5
41601.8Stvac_cv_member_struct_dirent_d_namlen=no
41611.8Stvfi
41621.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
41631.48Sjmcfi
41641.60Sapbecho "$as_me:4164: result: $ac_cv_member_struct_dirent_d_namlen" >&5
41651.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
41661.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
41671.8Stv
41681.60Sapbcat >>confdefs.h <<EOF
41691.60Sapb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41701.60SapbEOF
41711.53Sdogcow
41721.60Sapbfi
41731.40Satatat
41741.60Sapbecho "$as_me:4174: checking for struct stat.st_flags" >&5
41751.60Sapbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
41761.60Sapbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
41771.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
41781.43Sdbjelse
41791.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
41801.60Sapb#line 4180 "configure"
41811.60Sapb#include "confdefs.h"
41821.40Satatat#include <sys/stat.h>
41831.40Satatat
41841.40Satatatint
41851.40Satatatmain ()
41861.40Satatat{
41871.40Satatatstatic struct stat ac_aggr;
41881.60Sapbif (ac_aggr.st_flags)
41891.40Satatatreturn 0;
41901.40Satatat  ;
41911.40Satatat  return 0;
41921.40Satatat}
41931.40Satatat_ACEOF
41941.40Satatatrm -f conftest.$ac_objext
41951.60Sapbif { (eval echo "$as_me:4195: \"$ac_compile\"") >&5
41961.60Sapb  (eval $ac_compile) 2>&5
41971.53Sdogcow  ac_status=$?
41981.60Sapb  echo "$as_me:4198: \$? = $ac_status" >&5
41991.53Sdogcow  (exit $ac_status); } &&
42001.60Sapb         { ac_try='test -s conftest.$ac_objext'
42011.60Sapb  { (eval echo "$as_me:4201: \"$ac_try\"") >&5
42021.53Sdogcow  (eval $ac_try) 2>&5
42031.53Sdogcow  ac_status=$?
42041.60Sapb  echo "$as_me:4204: \$? = $ac_status" >&5
42051.53Sdogcow  (exit $ac_status); }; }; then
42061.60Sapb  ac_cv_member_struct_stat_st_flags=yes
42071.53Sdogcowelse
42081.53Sdogcow  echo "$as_me: failed program was:" >&5
42091.60Sapbcat conftest.$ac_ext >&5
42101.60Sapbac_cv_member_struct_stat_st_flags=no
42111.60Sapbfi
42121.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
42131.60Sapbfi
42141.60Sapbecho "$as_me:4214: result: $ac_cv_member_struct_stat_st_flags" >&5
42151.60Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
42161.60Sapbif test $ac_cv_member_struct_stat_st_flags = yes; then
42171.60Sapb
42181.60Sapbcat >>confdefs.h <<EOF
42191.60Sapb#define HAVE_STRUCT_STAT_ST_FLAGS 1
42201.60SapbEOF
42211.53Sdogcow
42221.60Sapbfi
42231.60Sapbecho "$as_me:4223: checking for struct stat.st_gen" >&5
42241.60Sapbecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
42251.60Sapbif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
42261.60Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
42271.60Sapbelse
42281.60Sapb  cat >conftest.$ac_ext <<_ACEOF
42291.60Sapb#line 4229 "configure"
42301.60Sapb#include "confdefs.h"
42311.53Sdogcow#include <sys/stat.h>
42321.53Sdogcow
42331.53Sdogcowint
42341.53Sdogcowmain ()
42351.53Sdogcow{
42361.53Sdogcowstatic struct stat ac_aggr;
42371.60Sapbif (ac_aggr.st_gen)
42381.53Sdogcowreturn 0;
42391.53Sdogcow  ;
42401.53Sdogcow  return 0;
42411.53Sdogcow}
42421.53Sdogcow_ACEOF
42431.53Sdogcowrm -f conftest.$ac_objext
42441.60Sapbif { (eval echo "$as_me:4244: \"$ac_compile\"") >&5
42451.60Sapb  (eval $ac_compile) 2>&5
42461.40Satatat  ac_status=$?
42471.60Sapb  echo "$as_me:4247: \$? = $ac_status" >&5
42481.40Satatat  (exit $ac_status); } &&
42491.60Sapb         { ac_try='test -s conftest.$ac_objext'
42501.60Sapb  { (eval echo "$as_me:4250: \"$ac_try\"") >&5
42511.50Sjmc  (eval $ac_try) 2>&5
42521.50Sjmc  ac_status=$?
42531.60Sapb  echo "$as_me:4253: \$? = $ac_status" >&5
42541.40Satatat  (exit $ac_status); }; }; then
42551.60Sapb  ac_cv_member_struct_stat_st_gen=yes
42561.40Satatatelse
42571.40Satatat  echo "$as_me: failed program was:" >&5
42581.60Sapbcat conftest.$ac_ext >&5
42591.60Sapbac_cv_member_struct_stat_st_gen=no
42601.40Satatatfi
42611.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
42621.40Satatatfi
42631.60Sapbecho "$as_me:4263: result: $ac_cv_member_struct_stat_st_gen" >&5
42641.60Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42651.60Sapbif test $ac_cv_member_struct_stat_st_gen = yes; then
42661.53Sdogcow
42671.60Sapbcat >>confdefs.h <<EOF
42681.60Sapb#define HAVE_STRUCT_STAT_ST_GEN 1
42691.60SapbEOF
42701.40Satatat
42711.40Satatatfi
42721.60Sapbecho "$as_me:4272: checking for struct stat.st_birthtime" >&5
42731.60Sapbecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42741.60Sapbif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42751.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
42761.40Satatatelse
42771.40Satatat  cat >conftest.$ac_ext <<_ACEOF
42781.60Sapb#line 4278 "configure"
42791.60Sapb#include "confdefs.h"
42801.40Satatat#include <sys/stat.h>
42811.40Satatat
42821.40Satatatint
42831.40Satatatmain ()
42841.40Satatat{
42851.40Satatatstatic struct stat ac_aggr;
42861.60Sapbif (ac_aggr.st_birthtime)
42871.40Satatatreturn 0;
42881.40Satatat  ;
42891.40Satatat  return 0;
42901.40Satatat}
42911.40Satatat_ACEOF
42921.40Satatatrm -f conftest.$ac_objext
42931.60Sapbif { (eval echo "$as_me:4293: \"$ac_compile\"") >&5
42941.60Sapb  (eval $ac_compile) 2>&5
42951.53Sdogcow  ac_status=$?
42961.60Sapb  echo "$as_me:4296: \$? = $ac_status" >&5
42971.53Sdogcow  (exit $ac_status); } &&
42981.60Sapb         { ac_try='test -s conftest.$ac_objext'
42991.60Sapb  { (eval echo "$as_me:4299: \"$ac_try\"") >&5
43001.53Sdogcow  (eval $ac_try) 2>&5
43011.53Sdogcow  ac_status=$?
43021.60Sapb  echo "$as_me:4302: \$? = $ac_status" >&5
43031.53Sdogcow  (exit $ac_status); }; }; then
43041.60Sapb  ac_cv_member_struct_stat_st_birthtime=yes
43051.53Sdogcowelse
43061.53Sdogcow  echo "$as_me: failed program was:" >&5
43071.60Sapbcat conftest.$ac_ext >&5
43081.60Sapbac_cv_member_struct_stat_st_birthtime=no
43091.60Sapbfi
43101.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
43111.60Sapbfi
43121.60Sapbecho "$as_me:4312: result: $ac_cv_member_struct_stat_st_birthtime" >&5
43131.60Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
43141.60Sapbif test $ac_cv_member_struct_stat_st_birthtime = yes; then
43151.60Sapb
43161.60Sapbcat >>confdefs.h <<EOF
43171.60Sapb#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
43181.60SapbEOF
43191.53Sdogcow
43201.60Sapbfi
43211.60Sapbecho "$as_me:4321: checking for struct stat.st_birthtimensec" >&5
43221.60Sapbecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
43231.60Sapbif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
43241.60Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
43251.60Sapbelse
43261.60Sapb  cat >conftest.$ac_ext <<_ACEOF
43271.60Sapb#line 4327 "configure"
43281.60Sapb#include "confdefs.h"
43291.53Sdogcow#include <sys/stat.h>
43301.53Sdogcow
43311.53Sdogcowint
43321.53Sdogcowmain ()
43331.53Sdogcow{
43341.53Sdogcowstatic struct stat ac_aggr;
43351.60Sapbif (ac_aggr.st_birthtimensec)
43361.53Sdogcowreturn 0;
43371.53Sdogcow  ;
43381.53Sdogcow  return 0;
43391.53Sdogcow}
43401.53Sdogcow_ACEOF
43411.53Sdogcowrm -f conftest.$ac_objext
43421.60Sapbif { (eval echo "$as_me:4342: \"$ac_compile\"") >&5
43431.60Sapb  (eval $ac_compile) 2>&5
43441.40Satatat  ac_status=$?
43451.60Sapb  echo "$as_me:4345: \$? = $ac_status" >&5
43461.40Satatat  (exit $ac_status); } &&
43471.60Sapb         { ac_try='test -s conftest.$ac_objext'
43481.60Sapb  { (eval echo "$as_me:4348: \"$ac_try\"") >&5
43491.40Satatat  (eval $ac_try) 2>&5
43501.40Satatat  ac_status=$?
43511.60Sapb  echo "$as_me:4351: \$? = $ac_status" >&5
43521.40Satatat  (exit $ac_status); }; }; then
43531.60Sapb  ac_cv_member_struct_stat_st_birthtimensec=yes
43541.40Satatatelse
43551.40Satatat  echo "$as_me: failed program was:" >&5
43561.60Sapbcat conftest.$ac_ext >&5
43571.60Sapbac_cv_member_struct_stat_st_birthtimensec=no
43581.40Satatatfi
43591.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
43601.53Sdogcowfi
43611.60Sapbecho "$as_me:4361: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
43621.60Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
43631.60Sapbif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
43641.53Sdogcow
43651.60Sapbcat >>confdefs.h <<EOF
43661.60Sapb#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
43671.60SapbEOF
43681.40Satatat
43691.40Satatatfi
43701.60Sapbecho "$as_me:4370: checking for struct stat.st_atim" >&5
43711.60Sapbecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
43721.60Sapbif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
43731.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43741.7Stvelse
43751.7Stv  cat >conftest.$ac_ext <<_ACEOF
43761.60Sapb#line 4376 "configure"
43771.60Sapb#include "confdefs.h"
43781.7Stv#include <sys/stat.h>
43791.7Stv
43801.7Stvint
43811.7Stvmain ()
43821.7Stv{
43831.7Stvstatic struct stat ac_aggr;
43841.60Sapbif (ac_aggr.st_atim)
43851.7Stvreturn 0;
43861.7Stv  ;
43871.7Stv  return 0;
43881.7Stv}
43891.7Stv_ACEOF
43901.7Stvrm -f conftest.$ac_objext
43911.60Sapbif { (eval echo "$as_me:4391: \"$ac_compile\"") >&5
43921.60Sapb  (eval $ac_compile) 2>&5
43931.53Sdogcow  ac_status=$?
43941.60Sapb  echo "$as_me:4394: \$? = $ac_status" >&5
43951.53Sdogcow  (exit $ac_status); } &&
43961.60Sapb         { ac_try='test -s conftest.$ac_objext'
43971.60Sapb  { (eval echo "$as_me:4397: \"$ac_try\"") >&5
43981.53Sdogcow  (eval $ac_try) 2>&5
43991.53Sdogcow  ac_status=$?
44001.60Sapb  echo "$as_me:4400: \$? = $ac_status" >&5
44011.53Sdogcow  (exit $ac_status); }; }; then
44021.60Sapb  ac_cv_member_struct_stat_st_atim=yes
44031.53Sdogcowelse
44041.53Sdogcow  echo "$as_me: failed program was:" >&5
44051.60Sapbcat conftest.$ac_ext >&5
44061.60Sapbac_cv_member_struct_stat_st_atim=no
44071.60Sapbfi
44081.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
44091.60Sapbfi
44101.60Sapbecho "$as_me:4410: result: $ac_cv_member_struct_stat_st_atim" >&5
44111.60Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
44121.60Sapbif test $ac_cv_member_struct_stat_st_atim = yes; then
44131.60Sapb
44141.60Sapbcat >>confdefs.h <<EOF
44151.60Sapb#define HAVE_STRUCT_STAT_ST_ATIM 1
44161.60SapbEOF
44171.53Sdogcow
44181.60Sapbfi
44191.60Sapbecho "$as_me:4419: checking for struct stat.st_mtimensec" >&5
44201.60Sapbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
44211.60Sapbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
44221.60Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
44231.60Sapbelse
44241.60Sapb  cat >conftest.$ac_ext <<_ACEOF
44251.60Sapb#line 4425 "configure"
44261.60Sapb#include "confdefs.h"
44271.53Sdogcow#include <sys/stat.h>
44281.53Sdogcow
44291.53Sdogcowint
44301.53Sdogcowmain ()
44311.53Sdogcow{
44321.53Sdogcowstatic struct stat ac_aggr;
44331.60Sapbif (ac_aggr.st_mtimensec)
44341.53Sdogcowreturn 0;
44351.53Sdogcow  ;
44361.53Sdogcow  return 0;
44371.53Sdogcow}
44381.53Sdogcow_ACEOF
44391.53Sdogcowrm -f conftest.$ac_objext
44401.60Sapbif { (eval echo "$as_me:4440: \"$ac_compile\"") >&5
44411.60Sapb  (eval $ac_compile) 2>&5
44421.7Stv  ac_status=$?
44431.60Sapb  echo "$as_me:4443: \$? = $ac_status" >&5
44441.7Stv  (exit $ac_status); } &&
44451.60Sapb         { ac_try='test -s conftest.$ac_objext'
44461.60Sapb  { (eval echo "$as_me:4446: \"$ac_try\"") >&5
44471.48Sjmc  (eval $ac_try) 2>&5
44481.48Sjmc  ac_status=$?
44491.60Sapb  echo "$as_me:4449: \$? = $ac_status" >&5
44501.7Stv  (exit $ac_status); }; }; then
44511.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
44521.7Stvelse
44531.7Stv  echo "$as_me: failed program was:" >&5
44541.60Sapbcat conftest.$ac_ext >&5
44551.7Stvac_cv_member_struct_stat_st_mtimensec=no
44561.7Stvfi
44571.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
44581.7Stvfi
44591.60Sapbecho "$as_me:4459: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
44601.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
44611.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
44621.7Stv
44631.60Sapbcat >>confdefs.h <<EOF
44641.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
44651.60SapbEOF
44661.7Stv
44671.7Stvfi
44681.4Stv
44691.60Sapbecho "$as_me:4469: checking for struct statvfs.f_iosize" >&5
44701.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
44711.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
44721.47Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
44731.47Sdbjelse
44741.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
44751.60Sapb#line 4475 "configure"
44761.60Sapb#include "confdefs.h"
44771.48Sjmc#include <sys/statvfs.h>
44781.48Sjmc
44791.48Sjmcint
44801.48Sjmcmain ()
44811.48Sjmc{
44821.48Sjmcstatic struct statvfs ac_aggr;
44831.52Sdbjif (ac_aggr.f_iosize)
44841.48Sjmcreturn 0;
44851.48Sjmc  ;
44861.48Sjmc  return 0;
44871.48Sjmc}
44881.48Sjmc_ACEOF
44891.48Sjmcrm -f conftest.$ac_objext
44901.60Sapbif { (eval echo "$as_me:4490: \"$ac_compile\"") >&5
44911.60Sapb  (eval $ac_compile) 2>&5
44921.7Stv  ac_status=$?
44931.60Sapb  echo "$as_me:4493: \$? = $ac_status" >&5
44941.7Stv  (exit $ac_status); } &&
44951.60Sapb         { ac_try='test -s conftest.$ac_objext'
44961.60Sapb  { (eval echo "$as_me:4496: \"$ac_try\"") >&5
44971.53Sdogcow  (eval $ac_try) 2>&5
44981.53Sdogcow  ac_status=$?
44991.60Sapb  echo "$as_me:4499: \$? = $ac_status" >&5
45001.53Sdogcow  (exit $ac_status); }; }; then
45011.53Sdogcow  ac_cv_member_struct_statvfs_f_iosize=yes
45021.53Sdogcowelse
45031.53Sdogcow  echo "$as_me: failed program was:" >&5
45041.60Sapbcat conftest.$ac_ext >&5
45051.53Sdogcowac_cv_member_struct_statvfs_f_iosize=no
45061.53Sdogcowfi
45071.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
45081.53Sdogcowfi
45091.60Sapbecho "$as_me:4509: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
45101.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
45111.53Sdogcowif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
45121.53Sdogcow
45131.60Sapbcat >>confdefs.h <<EOF
45141.53Sdogcow#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
45151.60SapbEOF
45161.53Sdogcow
45171.53Sdogcowfi
45181.53Sdogcow
45191.53Sdogcow# Global variable decls.
45201.60Sapbecho "$as_me:4520: checking whether optind is declared" >&5
45211.53Sdogcowecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
45221.53Sdogcowif test "${ac_cv_have_decl_optind+set}" = set; then
45231.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
45241.53Sdogcowelse
45251.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
45261.60Sapb#line 4526 "configure"
45271.60Sapb#include "confdefs.h"
45281.53Sdogcow
45291.53Sdogcow#include <stdio.h>
45301.53Sdogcow#include <stdlib.h>
45311.53Sdogcow#include <unistd.h>
45321.53Sdogcow
45331.53Sdogcowint
45341.53Sdogcowmain ()
45351.53Sdogcow{
45361.53Sdogcow#ifndef optind
45371.53Sdogcow  char *p = (char *) optind;
45381.53Sdogcow#endif
45391.53Sdogcow
45401.53Sdogcow  ;
45411.53Sdogcow  return 0;
45421.53Sdogcow}
45431.53Sdogcow_ACEOF
45441.53Sdogcowrm -f conftest.$ac_objext
45451.60Sapbif { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
45461.60Sapb  (eval $ac_compile) 2>&5
45471.53Sdogcow  ac_status=$?
45481.60Sapb  echo "$as_me:4548: \$? = $ac_status" >&5
45491.53Sdogcow  (exit $ac_status); } &&
45501.60Sapb         { ac_try='test -s conftest.$ac_objext'
45511.60Sapb  { (eval echo "$as_me:4551: \"$ac_try\"") >&5
45521.53Sdogcow  (eval $ac_try) 2>&5
45531.53Sdogcow  ac_status=$?
45541.60Sapb  echo "$as_me:4554: \$? = $ac_status" >&5
45551.7Stv  (exit $ac_status); }; }; then
45561.7Stv  ac_cv_have_decl_optind=yes
45571.7Stvelse
45581.7Stv  echo "$as_me: failed program was:" >&5
45591.60Sapbcat conftest.$ac_ext >&5
45601.7Stvac_cv_have_decl_optind=no
45611.7Stvfi
45621.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
45631.7Stvfi
45641.60Sapbecho "$as_me:4564: result: $ac_cv_have_decl_optind" >&5
45651.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
45661.7Stvif test $ac_cv_have_decl_optind = yes; then
45671.7Stv
45681.60Sapbcat >>confdefs.h <<EOF
45691.7Stv#define HAVE_DECL_OPTIND 1
45701.60SapbEOF
45711.7Stv
45721.7Stvelse
45731.60Sapb  cat >>confdefs.h <<EOF
45741.7Stv#define HAVE_DECL_OPTIND 0
45751.60SapbEOF
45761.7Stv
45771.7Stvfi
45781.60Sapbecho "$as_me:4578: checking whether optreset is declared" >&5
45791.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
45801.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
45811.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45821.7Stvelse
45831.7Stv  cat >conftest.$ac_ext <<_ACEOF
45841.60Sapb#line 4584 "configure"
45851.60Sapb#include "confdefs.h"
45861.7Stv
45871.7Stv#include <stdio.h>
45881.7Stv#include <stdlib.h>
45891.7Stv#include <unistd.h>
45901.7Stv
45911.7Stvint
45921.7Stvmain ()
45931.7Stv{
45941.7Stv#ifndef optreset
45951.7Stv  char *p = (char *) optreset;
45961.7Stv#endif
45971.7Stv
45981.7Stv  ;
45991.7Stv  return 0;
46001.7Stv}
46011.7Stv_ACEOF
46021.7Stvrm -f conftest.$ac_objext
46031.60Sapbif { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
46041.60Sapb  (eval $ac_compile) 2>&5
46051.7Stv  ac_status=$?
46061.60Sapb  echo "$as_me:4606: \$? = $ac_status" >&5
46071.7Stv  (exit $ac_status); } &&
46081.60Sapb         { ac_try='test -s conftest.$ac_objext'
46091.60Sapb  { (eval echo "$as_me:4609: \"$ac_try\"") >&5
46101.53Sdogcow  (eval $ac_try) 2>&5
46111.53Sdogcow  ac_status=$?
46121.60Sapb  echo "$as_me:4612: \$? = $ac_status" >&5
46131.7Stv  (exit $ac_status); }; }; then
46141.7Stv  ac_cv_have_decl_optreset=yes
46151.7Stvelse
46161.7Stv  echo "$as_me: failed program was:" >&5
46171.60Sapbcat conftest.$ac_ext >&5
46181.7Stvac_cv_have_decl_optreset=no
46191.7Stvfi
46201.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
46211.7Stvfi
46221.60Sapbecho "$as_me:4622: result: $ac_cv_have_decl_optreset" >&5
46231.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
46241.7Stvif test $ac_cv_have_decl_optreset = yes; then
46251.7Stv
46261.60Sapbcat >>confdefs.h <<EOF
46271.7Stv#define HAVE_DECL_OPTRESET 1
46281.60SapbEOF
46291.7Stv
46301.7Stvelse
46311.60Sapb  cat >>confdefs.h <<EOF
46321.7Stv#define HAVE_DECL_OPTRESET 0
46331.60SapbEOF
46341.7Stv
46351.7Stvfi
46361.7Stv
46371.60Sapbecho "$as_me:4637: checking whether sys_signame is declared" >&5
46381.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
46391.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
46401.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46411.4Stvelse
46421.4Stv  cat >conftest.$ac_ext <<_ACEOF
46431.60Sapb#line 4643 "configure"
46441.60Sapb#include "confdefs.h"
46451.4Stv#include <signal.h>
46461.4Stv
46471.4Stvint
46481.4Stvmain ()
46491.4Stv{
46501.4Stv#ifndef sys_signame
46511.4Stv  char *p = (char *) sys_signame;
46521.4Stv#endif
46531.4Stv
46541.4Stv  ;
46551.4Stv  return 0;
46561.4Stv}
46571.4Stv_ACEOF
46581.4Stvrm -f conftest.$ac_objext
46591.60Sapbif { (eval echo "$as_me:4659: \"$ac_compile\"") >&5
46601.60Sapb  (eval $ac_compile) 2>&5
46611.4Stv  ac_status=$?
46621.60Sapb  echo "$as_me:4662: \$? = $ac_status" >&5
46631.4Stv  (exit $ac_status); } &&
46641.60Sapb         { ac_try='test -s conftest.$ac_objext'
46651.60Sapb  { (eval echo "$as_me:4665: \"$ac_try\"") >&5
46661.53Sdogcow  (eval $ac_try) 2>&5
46671.53Sdogcow  ac_status=$?
46681.60Sapb  echo "$as_me:4668: \$? = $ac_status" >&5
46691.4Stv  (exit $ac_status); }; }; then
46701.4Stv  ac_cv_have_decl_sys_signame=yes
46711.4Stvelse
46721.4Stv  echo "$as_me: failed program was:" >&5
46731.60Sapbcat conftest.$ac_ext >&5
46741.4Stvac_cv_have_decl_sys_signame=no
46751.4Stvfi
46761.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
46771.4Stvfi
46781.60Sapbecho "$as_me:4678: result: $ac_cv_have_decl_sys_signame" >&5
46791.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
46801.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
46811.4Stv
46821.60Sapbcat >>confdefs.h <<EOF
46831.4Stv#define HAVE_DECL_SYS_SIGNAME 1
46841.60SapbEOF
46851.4Stv
46861.4Stvelse
46871.60Sapb  cat >>confdefs.h <<EOF
46881.4Stv#define HAVE_DECL_SYS_SIGNAME 0
46891.60SapbEOF
46901.4Stv
46911.4Stvfi
46921.4Stv
46931.4Stv# Library functions (where a .h check isn't enough).
46941.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
46951.19Sbjh21# for constant arguments.  Useless!
46961.60Sapbecho "$as_me:4696: checking for working alloca.h" >&5
46971.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
46981.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
46991.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47001.19Sbjh21else
47011.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47021.60Sapb#line 4702 "configure"
47031.60Sapb#include "confdefs.h"
47041.19Sbjh21#include <alloca.h>
47051.19Sbjh21int
47061.19Sbjh21main ()
47071.19Sbjh21{
47081.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
47091.19Sbjh21  ;
47101.19Sbjh21  return 0;
47111.19Sbjh21}
47121.19Sbjh21_ACEOF
47131.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
47141.60Sapbif { (eval echo "$as_me:4714: \"$ac_link\"") >&5
47151.60Sapb  (eval $ac_link) 2>&5
47161.19Sbjh21  ac_status=$?
47171.60Sapb  echo "$as_me:4717: \$? = $ac_status" >&5
47181.19Sbjh21  (exit $ac_status); } &&
47191.60Sapb         { ac_try='test -s conftest$ac_exeext'
47201.60Sapb  { (eval echo "$as_me:4720: \"$ac_try\"") >&5
47211.50Sjmc  (eval $ac_try) 2>&5
47221.50Sjmc  ac_status=$?
47231.60Sapb  echo "$as_me:4723: \$? = $ac_status" >&5
47241.19Sbjh21  (exit $ac_status); }; }; then
47251.19Sbjh21  ac_cv_working_alloca_h=yes
47261.19Sbjh21else
47271.19Sbjh21  echo "$as_me: failed program was:" >&5
47281.60Sapbcat conftest.$ac_ext >&5
47291.19Sbjh21ac_cv_working_alloca_h=no
47301.19Sbjh21fi
47311.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47321.19Sbjh21fi
47331.60Sapbecho "$as_me:4733: result: $ac_cv_working_alloca_h" >&5
47341.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
47351.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
47361.19Sbjh21
47371.60Sapbcat >>confdefs.h <<\EOF
47381.19Sbjh21#define HAVE_ALLOCA_H 1
47391.60SapbEOF
47401.19Sbjh21
47411.19Sbjh21fi
47421.19Sbjh21
47431.60Sapbecho "$as_me:4743: checking for alloca" >&5
47441.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
47451.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
47461.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47471.19Sbjh21else
47481.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47491.60Sapb#line 4749 "configure"
47501.60Sapb#include "confdefs.h"
47511.19Sbjh21#ifdef __GNUC__
47521.19Sbjh21# define alloca __builtin_alloca
47531.19Sbjh21#else
47541.19Sbjh21# ifdef _MSC_VER
47551.19Sbjh21#  include <malloc.h>
47561.19Sbjh21#  define alloca _alloca
47571.19Sbjh21# else
47581.19Sbjh21#  if HAVE_ALLOCA_H
47591.19Sbjh21#   include <alloca.h>
47601.19Sbjh21#  else
47611.19Sbjh21#   ifdef _AIX
47621.19Sbjh21 #pragma alloca
47631.19Sbjh21#   else
47641.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
47651.19Sbjh21char *alloca ();
47661.19Sbjh21#    endif
47671.19Sbjh21#   endif
47681.19Sbjh21#  endif
47691.19Sbjh21# endif
47701.19Sbjh21#endif
47711.19Sbjh21
47721.19Sbjh21int
47731.19Sbjh21main ()
47741.19Sbjh21{
47751.19Sbjh21char *p = (char *) alloca (1);
47761.19Sbjh21  ;
47771.19Sbjh21  return 0;
47781.19Sbjh21}
47791.19Sbjh21_ACEOF
47801.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
47811.60Sapbif { (eval echo "$as_me:4781: \"$ac_link\"") >&5
47821.60Sapb  (eval $ac_link) 2>&5
47831.19Sbjh21  ac_status=$?
47841.60Sapb  echo "$as_me:4784: \$? = $ac_status" >&5
47851.19Sbjh21  (exit $ac_status); } &&
47861.60Sapb         { ac_try='test -s conftest$ac_exeext'
47871.60Sapb  { (eval echo "$as_me:4787: \"$ac_try\"") >&5
47881.50Sjmc  (eval $ac_try) 2>&5
47891.50Sjmc  ac_status=$?
47901.60Sapb  echo "$as_me:4790: \$? = $ac_status" >&5
47911.19Sbjh21  (exit $ac_status); }; }; then
47921.19Sbjh21  ac_cv_func_alloca_works=yes
47931.19Sbjh21else
47941.19Sbjh21  echo "$as_me: failed program was:" >&5
47951.60Sapbcat conftest.$ac_ext >&5
47961.19Sbjh21ac_cv_func_alloca_works=no
47971.19Sbjh21fi
47981.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47991.19Sbjh21fi
48001.60Sapbecho "$as_me:4800: result: $ac_cv_func_alloca_works" >&5
48011.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
48021.19Sbjh21
48031.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
48041.19Sbjh21
48051.60Sapbcat >>confdefs.h <<\EOF
48061.19Sbjh21#define HAVE_ALLOCA 1
48071.60SapbEOF
48081.19Sbjh21
48091.19Sbjh21else
48101.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
48111.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
48121.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
48131.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
48141.19Sbjh21
48151.19Sbjh21ALLOCA=alloca.$ac_objext
48161.19Sbjh21
48171.60Sapbcat >>confdefs.h <<\EOF
48181.19Sbjh21#define C_ALLOCA 1
48191.60SapbEOF
48201.39Sfredb
48211.60Sapbecho "$as_me:4821: checking whether \`alloca.c' needs Cray hooks" >&5
48221.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
48231.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
48241.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
48251.19Sbjh21else
48261.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
48271.60Sapb#line 4827 "configure"
48281.60Sapb#include "confdefs.h"
48291.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
48301.19Sbjh21webecray
48311.19Sbjh21#else
48321.19Sbjh21wenotbecray
48331.19Sbjh21#endif
48341.19Sbjh21
48351.19Sbjh21_ACEOF
48361.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48371.60Sapb  egrep "webecray" >/dev/null 2>&1; then
48381.19Sbjh21  ac_cv_os_cray=yes
48391.19Sbjh21else
48401.19Sbjh21  ac_cv_os_cray=no
48411.19Sbjh21fi
48421.19Sbjh21rm -f conftest*
48431.19Sbjh21
48441.19Sbjh21fi
48451.60Sapbecho "$as_me:4845: result: $ac_cv_os_cray" >&5
48461.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
48471.19Sbjh21if test $ac_cv_os_cray = yes; then
48481.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
48491.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48501.60Sapbecho "$as_me:4850: checking for $ac_func" >&5
48511.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48521.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
48531.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
48541.19Sbjh21else
48551.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
48561.60Sapb#line 4856 "configure"
48571.60Sapb#include "confdefs.h"
48581.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
48591.60Sapb    which can conflict with char $ac_func (); below.  */
48601.60Sapb#include <assert.h>
48611.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
48621.19Sbjh21#ifdef __cplusplus
48631.19Sbjh21extern "C"
48641.19Sbjh21#endif
48651.19Sbjh21/* We use char because int might match the return type of a gcc2
48661.19Sbjh21   builtin and then its argument prototype would still apply.  */
48671.19Sbjh21char $ac_func ();
48681.60Sapbchar (*f) ();
48691.60Sapb
48701.60Sapbint
48711.60Sapbmain ()
48721.60Sapb{
48731.19Sbjh21/* The GNU C library defines this for functions which it implements
48741.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
48751.19Sbjh21    something starting with __ and the normal name is an alias.  */
48761.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48771.19Sbjh21choke me
48781.19Sbjh21#else
48791.60Sapbf = $ac_func;
48801.19Sbjh21#endif
48811.19Sbjh21
48821.19Sbjh21  ;
48831.19Sbjh21  return 0;
48841.19Sbjh21}
48851.19Sbjh21_ACEOF
48861.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
48871.60Sapbif { (eval echo "$as_me:4887: \"$ac_link\"") >&5
48881.60Sapb  (eval $ac_link) 2>&5
48891.19Sbjh21  ac_status=$?
48901.60Sapb  echo "$as_me:4890: \$? = $ac_status" >&5
48911.19Sbjh21  (exit $ac_status); } &&
48921.60Sapb         { ac_try='test -s conftest$ac_exeext'
48931.60Sapb  { (eval echo "$as_me:4893: \"$ac_try\"") >&5
48941.50Sjmc  (eval $ac_try) 2>&5
48951.50Sjmc  ac_status=$?
48961.60Sapb  echo "$as_me:4896: \$? = $ac_status" >&5
48971.19Sbjh21  (exit $ac_status); }; }; then
48981.19Sbjh21  eval "$as_ac_var=yes"
48991.19Sbjh21else
49001.19Sbjh21  echo "$as_me: failed program was:" >&5
49011.60Sapbcat conftest.$ac_ext >&5
49021.19Sbjh21eval "$as_ac_var=no"
49031.19Sbjh21fi
49041.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49051.19Sbjh21fi
49061.60Sapbecho "$as_me:4906: result: `eval echo '${'$as_ac_var'}'`" >&5
49071.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49081.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
49091.19Sbjh21
49101.60Sapbcat >>confdefs.h <<EOF
49111.19Sbjh21#define CRAY_STACKSEG_END $ac_func
49121.60SapbEOF
49131.19Sbjh21
49141.19Sbjh21    break
49151.19Sbjh21fi
49161.19Sbjh21
49171.19Sbjh21  done
49181.19Sbjh21fi
49191.19Sbjh21
49201.60Sapbecho "$as_me:4920: checking stack direction for C alloca" >&5
49211.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
49221.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
49231.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
49241.19Sbjh21else
49251.19Sbjh21  if test "$cross_compiling" = yes; then
49261.19Sbjh21  ac_cv_c_stack_direction=0
49271.19Sbjh21else
49281.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
49291.60Sapb#line 4929 "configure"
49301.60Sapb#include "confdefs.h"
49311.19Sbjh21int
49321.19Sbjh21find_stack_direction ()
49331.19Sbjh21{
49341.19Sbjh21  static char *addr = 0;
49351.19Sbjh21  auto char dummy;
49361.19Sbjh21  if (addr == 0)
49371.19Sbjh21    {
49381.19Sbjh21      addr = &dummy;
49391.19Sbjh21      return find_stack_direction ();
49401.19Sbjh21    }
49411.19Sbjh21  else
49421.19Sbjh21    return (&dummy > addr) ? 1 : -1;
49431.19Sbjh21}
49441.19Sbjh21
49451.43Sdbjint
49461.43Sdbjmain ()
49471.43Sdbj{
49481.43Sdbj  exit (find_stack_direction () < 0);
49491.43Sdbj}
49501.43Sdbj_ACEOF
49511.43Sdbjrm -f conftest$ac_exeext
49521.60Sapbif { (eval echo "$as_me:4952: \"$ac_link\"") >&5
49531.43Sdbj  (eval $ac_link) 2>&5
49541.43Sdbj  ac_status=$?
49551.60Sapb  echo "$as_me:4955: \$? = $ac_status" >&5
49561.43Sdbj  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49571.60Sapb  { (eval echo "$as_me:4957: \"$ac_try\"") >&5
49581.43Sdbj  (eval $ac_try) 2>&5
49591.43Sdbj  ac_status=$?
49601.60Sapb  echo "$as_me:4960: \$? = $ac_status" >&5
49611.43Sdbj  (exit $ac_status); }; }; then
49621.43Sdbj  ac_cv_c_stack_direction=1
49631.43Sdbjelse
49641.43Sdbj  echo "$as_me: program exited with status $ac_status" >&5
49651.43Sdbjecho "$as_me: failed program was:" >&5
49661.60Sapbcat conftest.$ac_ext >&5
49671.43Sdbjac_cv_c_stack_direction=-1
49681.43Sdbjfi
49691.60Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49701.43Sdbjfi
49711.43Sdbjfi
49721.60Sapbecho "$as_me:4972: result: $ac_cv_c_stack_direction" >&5
49731.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
49741.39Sfredb
49751.60Sapbcat >>confdefs.h <<EOF
49761.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction
49771.60SapbEOF
49781.39Sfredb
49791.43Sdbjfi
49801.40Satatat
49811.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
49821.44Sthorpej	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
49831.49Sjmc	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
49841.49Sjmc	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
49851.60Sapb	setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \
49861.60Sapb	strsep strsuftoll strtoll \
49871.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
49881.1Stvdo
49891.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49901.60Sapbecho "$as_me:4990: checking for $ac_func" >&5
49911.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49921.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
49931.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
49941.45Sjmcelse
49951.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
49961.60Sapb#line 4996 "configure"
49971.60Sapb#include "confdefs.h"
49981.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
49991.60Sapb    which can conflict with char $ac_func (); below.  */
50001.60Sapb#include <assert.h>
50011.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
50021.45Sjmc#ifdef __cplusplus
50031.45Sjmcextern "C"
50041.45Sjmc#endif
50051.45Sjmc/* We use char because int might match the return type of a gcc2
50061.45Sjmc   builtin and then its argument prototype would still apply.  */
50071.45Sjmcchar $ac_func ();
50081.60Sapbchar (*f) ();
50091.60Sapb
50101.60Sapbint
50111.60Sapbmain ()
50121.60Sapb{
50131.45Sjmc/* The GNU C library defines this for functions which it implements
50141.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
50151.45Sjmc    something starting with __ and the normal name is an alias.  */
50161.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50171.45Sjmcchoke me
50181.45Sjmc#else
50191.60Sapbf = $ac_func;
50201.45Sjmc#endif
50211.45Sjmc
50221.45Sjmc  ;
50231.45Sjmc  return 0;
50241.45Sjmc}
50251.45Sjmc_ACEOF
50261.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
50271.60Sapbif { (eval echo "$as_me:5027: \"$ac_link\"") >&5
50281.60Sapb  (eval $ac_link) 2>&5
50291.45Sjmc  ac_status=$?
50301.60Sapb  echo "$as_me:5030: \$? = $ac_status" >&5
50311.45Sjmc  (exit $ac_status); } &&
50321.60Sapb         { ac_try='test -s conftest$ac_exeext'
50331.60Sapb  { (eval echo "$as_me:5033: \"$ac_try\"") >&5
50341.50Sjmc  (eval $ac_try) 2>&5
50351.50Sjmc  ac_status=$?
50361.60Sapb  echo "$as_me:5036: \$? = $ac_status" >&5
50371.45Sjmc  (exit $ac_status); }; }; then
50381.45Sjmc  eval "$as_ac_var=yes"
50391.45Sjmcelse
50401.45Sjmc  echo "$as_me: failed program was:" >&5
50411.60Sapbcat conftest.$ac_ext >&5
50421.45Sjmceval "$as_ac_var=no"
50431.45Sjmcfi
50441.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50451.45Sjmcfi
50461.60Sapbecho "$as_me:5046: result: `eval echo '${'$as_ac_var'}'`" >&5
50471.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50481.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
50491.60Sapb  cat >>confdefs.h <<EOF
50501.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50511.60SapbEOF
50521.45Sjmc
50531.45Sjmcfi
50541.45Sjmcdone
50551.45Sjmc
50561.60Sapbecho "$as_me:5056: checking whether strsuftoll is declared" >&5
50571.55Swizecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
50581.55Swizif test "${ac_cv_have_decl_strsuftoll+set}" = set; then
50591.55Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
50601.55Swizelse
50611.55Swiz  cat >conftest.$ac_ext <<_ACEOF
50621.60Sapb#line 5062 "configure"
50631.60Sapb#include "confdefs.h"
50641.55Swiz#include <stdlib.h>
50651.55Swiz
50661.55Swizint
50671.55Swizmain ()
50681.55Swiz{
50691.55Swiz#ifndef strsuftoll
50701.55Swiz  char *p = (char *) strsuftoll;
50711.55Swiz#endif
50721.55Swiz
50731.55Swiz  ;
50741.55Swiz  return 0;
50751.55Swiz}
50761.55Swiz_ACEOF
50771.55Swizrm -f conftest.$ac_objext
50781.60Sapbif { (eval echo "$as_me:5078: \"$ac_compile\"") >&5
50791.60Sapb  (eval $ac_compile) 2>&5
50801.55Swiz  ac_status=$?
50811.60Sapb  echo "$as_me:5081: \$? = $ac_status" >&5
50821.55Swiz  (exit $ac_status); } &&
50831.60Sapb         { ac_try='test -s conftest.$ac_objext'
50841.60Sapb  { (eval echo "$as_me:5084: \"$ac_try\"") >&5
50851.55Swiz  (eval $ac_try) 2>&5
50861.55Swiz  ac_status=$?
50871.60Sapb  echo "$as_me:5087: \$? = $ac_status" >&5
50881.55Swiz  (exit $ac_status); }; }; then
50891.55Swiz  ac_cv_have_decl_strsuftoll=yes
50901.55Swizelse
50911.55Swiz  echo "$as_me: failed program was:" >&5
50921.60Sapbcat conftest.$ac_ext >&5
50931.55Swizac_cv_have_decl_strsuftoll=no
50941.55Swizfi
50951.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
50961.55Swizfi
50971.60Sapbecho "$as_me:5097: result: $ac_cv_have_decl_strsuftoll" >&5
50981.55Swizecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
50991.55Swizif test $ac_cv_have_decl_strsuftoll = yes; then
51001.55Swiz
51011.60Sapbcat >>confdefs.h <<EOF
51021.55Swiz#define HAVE_DECL_STRSUFTOLL 1
51031.60SapbEOF
51041.55Swiz
51051.55Swizelse
51061.60Sapb  cat >>confdefs.h <<EOF
51071.55Swiz#define HAVE_DECL_STRSUFTOLL 0
51081.60SapbEOF
51091.55Swiz
51101.55Swizfi
51111.55Swiz
51121.60Sapbecho "$as_me:5112: checking whether htobe16 is declared" >&5
51131.53Sdogcowecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
51141.53Sdogcowif test "${ac_cv_have_decl_htobe16+set}" = set; then
51151.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
51161.45Sjmcelse
51171.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
51181.60Sapb#line 5118 "configure"
51191.60Sapb#include "confdefs.h"
51201.53Sdogcow#include <sys/types.h>
51211.53Sdogcow
51221.52Sdbjint
51231.52Sdbjmain ()
51241.52Sdbj{
51251.53Sdogcow#ifndef htobe16
51261.53Sdogcow  char *p = (char *) htobe16;
51271.48Sjmc#endif
51281.45Sjmc
51291.48Sjmc  ;
51301.48Sjmc  return 0;
51311.48Sjmc}
51321.48Sjmc_ACEOF
51331.53Sdogcowrm -f conftest.$ac_objext
51341.60Sapbif { (eval echo "$as_me:5134: \"$ac_compile\"") >&5
51351.60Sapb  (eval $ac_compile) 2>&5
51361.48Sjmc  ac_status=$?
51371.60Sapb  echo "$as_me:5137: \$? = $ac_status" >&5
51381.48Sjmc  (exit $ac_status); } &&
51391.60Sapb         { ac_try='test -s conftest.$ac_objext'
51401.60Sapb  { (eval echo "$as_me:5140: \"$ac_try\"") >&5
51411.48Sjmc  (eval $ac_try) 2>&5
51421.48Sjmc  ac_status=$?
51431.60Sapb  echo "$as_me:5143: \$? = $ac_status" >&5
51441.48Sjmc  (exit $ac_status); }; }; then
51451.53Sdogcow  ac_cv_have_decl_htobe16=yes
51461.48Sjmcelse
51471.48Sjmc  echo "$as_me: failed program was:" >&5
51481.60Sapbcat conftest.$ac_ext >&5
51491.53Sdogcowac_cv_have_decl_htobe16=no
51501.48Sjmcfi
51511.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
51521.48Sjmcfi
51531.60Sapbecho "$as_me:5153: result: $ac_cv_have_decl_htobe16" >&5
51541.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
51551.53Sdogcowif test $ac_cv_have_decl_htobe16 = yes; then
51561.53Sdogcow
51571.60Sapbcat >>confdefs.h <<EOF
51581.53Sdogcow#define HAVE_DECL_HTOBE16 1
51591.60SapbEOF
51601.53Sdogcow
51611.53Sdogcowelse
51621.60Sapb  cat >>confdefs.h <<EOF
51631.53Sdogcow#define HAVE_DECL_HTOBE16 0
51641.60SapbEOF
51651.48Sjmc
51661.48Sjmcfi
51671.60Sapbecho "$as_me:5167: checking whether htobe32 is declared" >&5
51681.53Sdogcowecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
51691.53Sdogcowif test "${ac_cv_have_decl_htobe32+set}" = set; then
51701.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
51711.48Sjmcelse
51721.48Sjmc  cat >conftest.$ac_ext <<_ACEOF
51731.60Sapb#line 5173 "configure"
51741.60Sapb#include "confdefs.h"
51751.53Sdogcow#include <sys/types.h>
51761.53Sdogcow
51771.53Sdogcowint
51781.53Sdogcowmain ()
51791.53Sdogcow{
51801.53Sdogcow#ifndef htobe32
51811.53Sdogcow  char *p = (char *) htobe32;
51821.53Sdogcow#endif
51831.53Sdogcow
51841.53Sdogcow  ;
51851.53Sdogcow  return 0;
51861.53Sdogcow}
51871.53Sdogcow_ACEOF
51881.53Sdogcowrm -f conftest.$ac_objext
51891.60Sapbif { (eval echo "$as_me:5189: \"$ac_compile\"") >&5
51901.60Sapb  (eval $ac_compile) 2>&5
51911.53Sdogcow  ac_status=$?
51921.60Sapb  echo "$as_me:5192: \$? = $ac_status" >&5
51931.53Sdogcow  (exit $ac_status); } &&
51941.60Sapb         { ac_try='test -s conftest.$ac_objext'
51951.60Sapb  { (eval echo "$as_me:5195: \"$ac_try\"") >&5
51961.53Sdogcow  (eval $ac_try) 2>&5
51971.53Sdogcow  ac_status=$?
51981.60Sapb  echo "$as_me:5198: \$? = $ac_status" >&5
51991.53Sdogcow  (exit $ac_status); }; }; then
52001.53Sdogcow  ac_cv_have_decl_htobe32=yes
52011.53Sdogcowelse
52021.53Sdogcow  echo "$as_me: failed program was:" >&5
52031.60Sapbcat conftest.$ac_ext >&5
52041.53Sdogcowac_cv_have_decl_htobe32=no
52051.53Sdogcowfi
52061.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
52071.53Sdogcowfi
52081.60Sapbecho "$as_me:5208: result: $ac_cv_have_decl_htobe32" >&5
52091.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
52101.53Sdogcowif test $ac_cv_have_decl_htobe32 = yes; then
52111.53Sdogcow
52121.60Sapbcat >>confdefs.h <<EOF
52131.53Sdogcow#define HAVE_DECL_HTOBE32 1
52141.60SapbEOF
52151.53Sdogcow
52161.53Sdogcowelse
52171.60Sapb  cat >>confdefs.h <<EOF
52181.53Sdogcow#define HAVE_DECL_HTOBE32 0
52191.60SapbEOF
52201.53Sdogcow
52211.53Sdogcowfi
52221.60Sapbecho "$as_me:5222: checking whether htobe64 is declared" >&5
52231.53Sdogcowecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
52241.53Sdogcowif test "${ac_cv_have_decl_htobe64+set}" = set; then
52251.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
52261.53Sdogcowelse
52271.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
52281.60Sapb#line 5228 "configure"
52291.60Sapb#include "confdefs.h"
52301.53Sdogcow#include <sys/types.h>
52311.53Sdogcow
52321.53Sdogcowint
52331.53Sdogcowmain ()
52341.53Sdogcow{
52351.53Sdogcow#ifndef htobe64
52361.53Sdogcow  char *p = (char *) htobe64;
52371.53Sdogcow#endif
52381.53Sdogcow
52391.53Sdogcow  ;
52401.53Sdogcow  return 0;
52411.53Sdogcow}
52421.53Sdogcow_ACEOF
52431.53Sdogcowrm -f conftest.$ac_objext
52441.60Sapbif { (eval echo "$as_me:5244: \"$ac_compile\"") >&5
52451.60Sapb  (eval $ac_compile) 2>&5
52461.53Sdogcow  ac_status=$?
52471.60Sapb  echo "$as_me:5247: \$? = $ac_status" >&5
52481.53Sdogcow  (exit $ac_status); } &&
52491.60Sapb         { ac_try='test -s conftest.$ac_objext'
52501.60Sapb  { (eval echo "$as_me:5250: \"$ac_try\"") >&5
52511.53Sdogcow  (eval $ac_try) 2>&5
52521.53Sdogcow  ac_status=$?
52531.60Sapb  echo "$as_me:5253: \$? = $ac_status" >&5
52541.53Sdogcow  (exit $ac_status); }; }; then
52551.53Sdogcow  ac_cv_have_decl_htobe64=yes
52561.53Sdogcowelse
52571.53Sdogcow  echo "$as_me: failed program was:" >&5
52581.60Sapbcat conftest.$ac_ext >&5
52591.53Sdogcowac_cv_have_decl_htobe64=no
52601.53Sdogcowfi
52611.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
52621.53Sdogcowfi
52631.60Sapbecho "$as_me:5263: result: $ac_cv_have_decl_htobe64" >&5
52641.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
52651.53Sdogcowif test $ac_cv_have_decl_htobe64 = yes; then
52661.53Sdogcow
52671.60Sapbcat >>confdefs.h <<EOF
52681.53Sdogcow#define HAVE_DECL_HTOBE64 1
52691.60SapbEOF
52701.53Sdogcow
52711.53Sdogcowelse
52721.60Sapb  cat >>confdefs.h <<EOF
52731.53Sdogcow#define HAVE_DECL_HTOBE64 0
52741.60SapbEOF
52751.53Sdogcow
52761.53Sdogcowfi
52771.60Sapbecho "$as_me:5277: checking whether htole16 is declared" >&5
52781.53Sdogcowecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
52791.53Sdogcowif test "${ac_cv_have_decl_htole16+set}" = set; then
52801.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
52811.53Sdogcowelse
52821.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
52831.60Sapb#line 5283 "configure"
52841.60Sapb#include "confdefs.h"
52851.53Sdogcow#include <sys/types.h>
52861.53Sdogcow
52871.53Sdogcowint
52881.53Sdogcowmain ()
52891.53Sdogcow{
52901.53Sdogcow#ifndef htole16
52911.53Sdogcow  char *p = (char *) htole16;
52921.53Sdogcow#endif
52931.53Sdogcow
52941.53Sdogcow  ;
52951.53Sdogcow  return 0;
52961.53Sdogcow}
52971.53Sdogcow_ACEOF
52981.53Sdogcowrm -f conftest.$ac_objext
52991.60Sapbif { (eval echo "$as_me:5299: \"$ac_compile\"") >&5
53001.60Sapb  (eval $ac_compile) 2>&5
53011.53Sdogcow  ac_status=$?
53021.60Sapb  echo "$as_me:5302: \$? = $ac_status" >&5
53031.53Sdogcow  (exit $ac_status); } &&
53041.60Sapb         { ac_try='test -s conftest.$ac_objext'
53051.60Sapb  { (eval echo "$as_me:5305: \"$ac_try\"") >&5
53061.53Sdogcow  (eval $ac_try) 2>&5
53071.53Sdogcow  ac_status=$?
53081.60Sapb  echo "$as_me:5308: \$? = $ac_status" >&5
53091.53Sdogcow  (exit $ac_status); }; }; then
53101.53Sdogcow  ac_cv_have_decl_htole16=yes
53111.53Sdogcowelse
53121.53Sdogcow  echo "$as_me: failed program was:" >&5
53131.60Sapbcat conftest.$ac_ext >&5
53141.53Sdogcowac_cv_have_decl_htole16=no
53151.53Sdogcowfi
53161.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
53171.53Sdogcowfi
53181.60Sapbecho "$as_me:5318: result: $ac_cv_have_decl_htole16" >&5
53191.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
53201.53Sdogcowif test $ac_cv_have_decl_htole16 = yes; then
53211.53Sdogcow
53221.60Sapbcat >>confdefs.h <<EOF
53231.53Sdogcow#define HAVE_DECL_HTOLE16 1
53241.60SapbEOF
53251.53Sdogcow
53261.53Sdogcowelse
53271.60Sapb  cat >>confdefs.h <<EOF
53281.53Sdogcow#define HAVE_DECL_HTOLE16 0
53291.60SapbEOF
53301.53Sdogcow
53311.53Sdogcowfi
53321.60Sapbecho "$as_me:5332: checking whether htole32 is declared" >&5
53331.53Sdogcowecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
53341.53Sdogcowif test "${ac_cv_have_decl_htole32+set}" = set; then
53351.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
53361.53Sdogcowelse
53371.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
53381.60Sapb#line 5338 "configure"
53391.60Sapb#include "confdefs.h"
53401.53Sdogcow#include <sys/types.h>
53411.53Sdogcow
53421.53Sdogcowint
53431.53Sdogcowmain ()
53441.53Sdogcow{
53451.53Sdogcow#ifndef htole32
53461.53Sdogcow  char *p = (char *) htole32;
53471.53Sdogcow#endif
53481.53Sdogcow
53491.53Sdogcow  ;
53501.53Sdogcow  return 0;
53511.53Sdogcow}
53521.53Sdogcow_ACEOF
53531.53Sdogcowrm -f conftest.$ac_objext
53541.60Sapbif { (eval echo "$as_me:5354: \"$ac_compile\"") >&5
53551.60Sapb  (eval $ac_compile) 2>&5
53561.53Sdogcow  ac_status=$?
53571.60Sapb  echo "$as_me:5357: \$? = $ac_status" >&5
53581.53Sdogcow  (exit $ac_status); } &&
53591.60Sapb         { ac_try='test -s conftest.$ac_objext'
53601.60Sapb  { (eval echo "$as_me:5360: \"$ac_try\"") >&5
53611.53Sdogcow  (eval $ac_try) 2>&5
53621.53Sdogcow  ac_status=$?
53631.60Sapb  echo "$as_me:5363: \$? = $ac_status" >&5
53641.53Sdogcow  (exit $ac_status); }; }; then
53651.53Sdogcow  ac_cv_have_decl_htole32=yes
53661.53Sdogcowelse
53671.53Sdogcow  echo "$as_me: failed program was:" >&5
53681.60Sapbcat conftest.$ac_ext >&5
53691.53Sdogcowac_cv_have_decl_htole32=no
53701.53Sdogcowfi
53711.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
53721.53Sdogcowfi
53731.60Sapbecho "$as_me:5373: result: $ac_cv_have_decl_htole32" >&5
53741.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
53751.53Sdogcowif test $ac_cv_have_decl_htole32 = yes; then
53761.53Sdogcow
53771.60Sapbcat >>confdefs.h <<EOF
53781.53Sdogcow#define HAVE_DECL_HTOLE32 1
53791.60SapbEOF
53801.53Sdogcow
53811.53Sdogcowelse
53821.60Sapb  cat >>confdefs.h <<EOF
53831.53Sdogcow#define HAVE_DECL_HTOLE32 0
53841.60SapbEOF
53851.53Sdogcow
53861.53Sdogcowfi
53871.60Sapbecho "$as_me:5387: checking whether htole64 is declared" >&5
53881.53Sdogcowecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
53891.53Sdogcowif test "${ac_cv_have_decl_htole64+set}" = set; then
53901.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
53911.53Sdogcowelse
53921.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
53931.60Sapb#line 5393 "configure"
53941.60Sapb#include "confdefs.h"
53951.53Sdogcow#include <sys/types.h>
53961.53Sdogcow
53971.53Sdogcowint
53981.53Sdogcowmain ()
53991.53Sdogcow{
54001.53Sdogcow#ifndef htole64
54011.53Sdogcow  char *p = (char *) htole64;
54021.53Sdogcow#endif
54031.53Sdogcow
54041.53Sdogcow  ;
54051.53Sdogcow  return 0;
54061.53Sdogcow}
54071.53Sdogcow_ACEOF
54081.53Sdogcowrm -f conftest.$ac_objext
54091.60Sapbif { (eval echo "$as_me:5409: \"$ac_compile\"") >&5
54101.60Sapb  (eval $ac_compile) 2>&5
54111.53Sdogcow  ac_status=$?
54121.60Sapb  echo "$as_me:5412: \$? = $ac_status" >&5
54131.53Sdogcow  (exit $ac_status); } &&
54141.60Sapb         { ac_try='test -s conftest.$ac_objext'
54151.60Sapb  { (eval echo "$as_me:5415: \"$ac_try\"") >&5
54161.53Sdogcow  (eval $ac_try) 2>&5
54171.53Sdogcow  ac_status=$?
54181.60Sapb  echo "$as_me:5418: \$? = $ac_status" >&5
54191.53Sdogcow  (exit $ac_status); }; }; then
54201.53Sdogcow  ac_cv_have_decl_htole64=yes
54211.53Sdogcowelse
54221.53Sdogcow  echo "$as_me: failed program was:" >&5
54231.60Sapbcat conftest.$ac_ext >&5
54241.53Sdogcowac_cv_have_decl_htole64=no
54251.53Sdogcowfi
54261.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
54271.53Sdogcowfi
54281.60Sapbecho "$as_me:5428: result: $ac_cv_have_decl_htole64" >&5
54291.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
54301.53Sdogcowif test $ac_cv_have_decl_htole64 = yes; then
54311.53Sdogcow
54321.60Sapbcat >>confdefs.h <<EOF
54331.53Sdogcow#define HAVE_DECL_HTOLE64 1
54341.60SapbEOF
54351.53Sdogcow
54361.53Sdogcowelse
54371.60Sapb  cat >>confdefs.h <<EOF
54381.53Sdogcow#define HAVE_DECL_HTOLE64 0
54391.60SapbEOF
54401.53Sdogcow
54411.53Sdogcowfi
54421.60Sapbecho "$as_me:5442: checking whether be16toh is declared" >&5
54431.53Sdogcowecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
54441.53Sdogcowif test "${ac_cv_have_decl_be16toh+set}" = set; then
54451.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
54461.53Sdogcowelse
54471.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
54481.60Sapb#line 5448 "configure"
54491.60Sapb#include "confdefs.h"
54501.53Sdogcow#include <sys/types.h>
54511.53Sdogcow
54521.53Sdogcowint
54531.53Sdogcowmain ()
54541.53Sdogcow{
54551.53Sdogcow#ifndef be16toh
54561.53Sdogcow  char *p = (char *) be16toh;
54571.53Sdogcow#endif
54581.53Sdogcow
54591.53Sdogcow  ;
54601.53Sdogcow  return 0;
54611.53Sdogcow}
54621.53Sdogcow_ACEOF
54631.53Sdogcowrm -f conftest.$ac_objext
54641.60Sapbif { (eval echo "$as_me:5464: \"$ac_compile\"") >&5
54651.60Sapb  (eval $ac_compile) 2>&5
54661.53Sdogcow  ac_status=$?
54671.60Sapb  echo "$as_me:5467: \$? = $ac_status" >&5
54681.53Sdogcow  (exit $ac_status); } &&
54691.60Sapb         { ac_try='test -s conftest.$ac_objext'
54701.60Sapb  { (eval echo "$as_me:5470: \"$ac_try\"") >&5
54711.53Sdogcow  (eval $ac_try) 2>&5
54721.53Sdogcow  ac_status=$?
54731.60Sapb  echo "$as_me:5473: \$? = $ac_status" >&5
54741.53Sdogcow  (exit $ac_status); }; }; then
54751.53Sdogcow  ac_cv_have_decl_be16toh=yes
54761.53Sdogcowelse
54771.53Sdogcow  echo "$as_me: failed program was:" >&5
54781.60Sapbcat conftest.$ac_ext >&5
54791.53Sdogcowac_cv_have_decl_be16toh=no
54801.53Sdogcowfi
54811.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
54821.53Sdogcowfi
54831.60Sapbecho "$as_me:5483: result: $ac_cv_have_decl_be16toh" >&5
54841.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
54851.53Sdogcowif test $ac_cv_have_decl_be16toh = yes; then
54861.53Sdogcow
54871.60Sapbcat >>confdefs.h <<EOF
54881.53Sdogcow#define HAVE_DECL_BE16TOH 1
54891.60SapbEOF
54901.53Sdogcow
54911.53Sdogcowelse
54921.60Sapb  cat >>confdefs.h <<EOF
54931.53Sdogcow#define HAVE_DECL_BE16TOH 0
54941.60SapbEOF
54951.53Sdogcow
54961.53Sdogcowfi
54971.60Sapbecho "$as_me:5497: checking whether be32toh is declared" >&5
54981.53Sdogcowecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
54991.53Sdogcowif test "${ac_cv_have_decl_be32toh+set}" = set; then
55001.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
55011.53Sdogcowelse
55021.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
55031.60Sapb#line 5503 "configure"
55041.60Sapb#include "confdefs.h"
55051.53Sdogcow#include <sys/types.h>
55061.53Sdogcow
55071.53Sdogcowint
55081.53Sdogcowmain ()
55091.53Sdogcow{
55101.53Sdogcow#ifndef be32toh
55111.53Sdogcow  char *p = (char *) be32toh;
55121.53Sdogcow#endif
55131.53Sdogcow
55141.53Sdogcow  ;
55151.53Sdogcow  return 0;
55161.53Sdogcow}
55171.53Sdogcow_ACEOF
55181.53Sdogcowrm -f conftest.$ac_objext
55191.60Sapbif { (eval echo "$as_me:5519: \"$ac_compile\"") >&5
55201.60Sapb  (eval $ac_compile) 2>&5
55211.53Sdogcow  ac_status=$?
55221.60Sapb  echo "$as_me:5522: \$? = $ac_status" >&5
55231.53Sdogcow  (exit $ac_status); } &&
55241.60Sapb         { ac_try='test -s conftest.$ac_objext'
55251.60Sapb  { (eval echo "$as_me:5525: \"$ac_try\"") >&5
55261.53Sdogcow  (eval $ac_try) 2>&5
55271.53Sdogcow  ac_status=$?
55281.60Sapb  echo "$as_me:5528: \$? = $ac_status" >&5
55291.53Sdogcow  (exit $ac_status); }; }; then
55301.53Sdogcow  ac_cv_have_decl_be32toh=yes
55311.53Sdogcowelse
55321.53Sdogcow  echo "$as_me: failed program was:" >&5
55331.60Sapbcat conftest.$ac_ext >&5
55341.53Sdogcowac_cv_have_decl_be32toh=no
55351.53Sdogcowfi
55361.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
55371.53Sdogcowfi
55381.60Sapbecho "$as_me:5538: result: $ac_cv_have_decl_be32toh" >&5
55391.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
55401.53Sdogcowif test $ac_cv_have_decl_be32toh = yes; then
55411.53Sdogcow
55421.60Sapbcat >>confdefs.h <<EOF
55431.53Sdogcow#define HAVE_DECL_BE32TOH 1
55441.60SapbEOF
55451.53Sdogcow
55461.53Sdogcowelse
55471.60Sapb  cat >>confdefs.h <<EOF
55481.53Sdogcow#define HAVE_DECL_BE32TOH 0
55491.60SapbEOF
55501.53Sdogcow
55511.53Sdogcowfi
55521.60Sapbecho "$as_me:5552: checking whether be64toh is declared" >&5
55531.53Sdogcowecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
55541.53Sdogcowif test "${ac_cv_have_decl_be64toh+set}" = set; then
55551.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
55561.53Sdogcowelse
55571.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
55581.60Sapb#line 5558 "configure"
55591.60Sapb#include "confdefs.h"
55601.53Sdogcow#include <sys/types.h>
55611.53Sdogcow
55621.53Sdogcowint
55631.53Sdogcowmain ()
55641.53Sdogcow{
55651.53Sdogcow#ifndef be64toh
55661.53Sdogcow  char *p = (char *) be64toh;
55671.53Sdogcow#endif
55681.53Sdogcow
55691.53Sdogcow  ;
55701.53Sdogcow  return 0;
55711.53Sdogcow}
55721.53Sdogcow_ACEOF
55731.53Sdogcowrm -f conftest.$ac_objext
55741.60Sapbif { (eval echo "$as_me:5574: \"$ac_compile\"") >&5
55751.60Sapb  (eval $ac_compile) 2>&5
55761.53Sdogcow  ac_status=$?
55771.60Sapb  echo "$as_me:5577: \$? = $ac_status" >&5
55781.53Sdogcow  (exit $ac_status); } &&
55791.60Sapb         { ac_try='test -s conftest.$ac_objext'
55801.60Sapb  { (eval echo "$as_me:5580: \"$ac_try\"") >&5
55811.53Sdogcow  (eval $ac_try) 2>&5
55821.53Sdogcow  ac_status=$?
55831.60Sapb  echo "$as_me:5583: \$? = $ac_status" >&5
55841.53Sdogcow  (exit $ac_status); }; }; then
55851.53Sdogcow  ac_cv_have_decl_be64toh=yes
55861.53Sdogcowelse
55871.53Sdogcow  echo "$as_me: failed program was:" >&5
55881.60Sapbcat conftest.$ac_ext >&5
55891.53Sdogcowac_cv_have_decl_be64toh=no
55901.53Sdogcowfi
55911.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
55921.53Sdogcowfi
55931.60Sapbecho "$as_me:5593: result: $ac_cv_have_decl_be64toh" >&5
55941.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
55951.53Sdogcowif test $ac_cv_have_decl_be64toh = yes; then
55961.53Sdogcow
55971.60Sapbcat >>confdefs.h <<EOF
55981.53Sdogcow#define HAVE_DECL_BE64TOH 1
55991.60SapbEOF
56001.53Sdogcow
56011.53Sdogcowelse
56021.60Sapb  cat >>confdefs.h <<EOF
56031.53Sdogcow#define HAVE_DECL_BE64TOH 0
56041.60SapbEOF
56051.53Sdogcow
56061.53Sdogcowfi
56071.60Sapbecho "$as_me:5607: checking whether le16toh is declared" >&5
56081.53Sdogcowecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
56091.53Sdogcowif test "${ac_cv_have_decl_le16toh+set}" = set; then
56101.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
56111.53Sdogcowelse
56121.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
56131.60Sapb#line 5613 "configure"
56141.60Sapb#include "confdefs.h"
56151.53Sdogcow#include <sys/types.h>
56161.53Sdogcow
56171.53Sdogcowint
56181.53Sdogcowmain ()
56191.53Sdogcow{
56201.53Sdogcow#ifndef le16toh
56211.53Sdogcow  char *p = (char *) le16toh;
56221.53Sdogcow#endif
56231.53Sdogcow
56241.53Sdogcow  ;
56251.53Sdogcow  return 0;
56261.53Sdogcow}
56271.53Sdogcow_ACEOF
56281.53Sdogcowrm -f conftest.$ac_objext
56291.60Sapbif { (eval echo "$as_me:5629: \"$ac_compile\"") >&5
56301.60Sapb  (eval $ac_compile) 2>&5
56311.53Sdogcow  ac_status=$?
56321.60Sapb  echo "$as_me:5632: \$? = $ac_status" >&5
56331.53Sdogcow  (exit $ac_status); } &&
56341.60Sapb         { ac_try='test -s conftest.$ac_objext'
56351.60Sapb  { (eval echo "$as_me:5635: \"$ac_try\"") >&5
56361.53Sdogcow  (eval $ac_try) 2>&5
56371.53Sdogcow  ac_status=$?
56381.60Sapb  echo "$as_me:5638: \$? = $ac_status" >&5
56391.53Sdogcow  (exit $ac_status); }; }; then
56401.53Sdogcow  ac_cv_have_decl_le16toh=yes
56411.53Sdogcowelse
56421.53Sdogcow  echo "$as_me: failed program was:" >&5
56431.60Sapbcat conftest.$ac_ext >&5
56441.53Sdogcowac_cv_have_decl_le16toh=no
56451.53Sdogcowfi
56461.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
56471.53Sdogcowfi
56481.60Sapbecho "$as_me:5648: result: $ac_cv_have_decl_le16toh" >&5
56491.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
56501.53Sdogcowif test $ac_cv_have_decl_le16toh = yes; then
56511.53Sdogcow
56521.60Sapbcat >>confdefs.h <<EOF
56531.53Sdogcow#define HAVE_DECL_LE16TOH 1
56541.60SapbEOF
56551.53Sdogcow
56561.53Sdogcowelse
56571.60Sapb  cat >>confdefs.h <<EOF
56581.53Sdogcow#define HAVE_DECL_LE16TOH 0
56591.60SapbEOF
56601.53Sdogcow
56611.53Sdogcowfi
56621.60Sapbecho "$as_me:5662: checking whether le32toh is declared" >&5
56631.53Sdogcowecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
56641.53Sdogcowif test "${ac_cv_have_decl_le32toh+set}" = set; then
56651.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
56661.53Sdogcowelse
56671.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
56681.60Sapb#line 5668 "configure"
56691.60Sapb#include "confdefs.h"
56701.53Sdogcow#include <sys/types.h>
56711.53Sdogcow
56721.53Sdogcowint
56731.53Sdogcowmain ()
56741.53Sdogcow{
56751.53Sdogcow#ifndef le32toh
56761.53Sdogcow  char *p = (char *) le32toh;
56771.53Sdogcow#endif
56781.53Sdogcow
56791.53Sdogcow  ;
56801.53Sdogcow  return 0;
56811.53Sdogcow}
56821.53Sdogcow_ACEOF
56831.53Sdogcowrm -f conftest.$ac_objext
56841.60Sapbif { (eval echo "$as_me:5684: \"$ac_compile\"") >&5
56851.60Sapb  (eval $ac_compile) 2>&5
56861.53Sdogcow  ac_status=$?
56871.60Sapb  echo "$as_me:5687: \$? = $ac_status" >&5
56881.53Sdogcow  (exit $ac_status); } &&
56891.60Sapb         { ac_try='test -s conftest.$ac_objext'
56901.60Sapb  { (eval echo "$as_me:5690: \"$ac_try\"") >&5
56911.53Sdogcow  (eval $ac_try) 2>&5
56921.53Sdogcow  ac_status=$?
56931.60Sapb  echo "$as_me:5693: \$? = $ac_status" >&5
56941.53Sdogcow  (exit $ac_status); }; }; then
56951.53Sdogcow  ac_cv_have_decl_le32toh=yes
56961.53Sdogcowelse
56971.53Sdogcow  echo "$as_me: failed program was:" >&5
56981.60Sapbcat conftest.$ac_ext >&5
56991.53Sdogcowac_cv_have_decl_le32toh=no
57001.53Sdogcowfi
57011.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
57021.53Sdogcowfi
57031.60Sapbecho "$as_me:5703: result: $ac_cv_have_decl_le32toh" >&5
57041.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
57051.53Sdogcowif test $ac_cv_have_decl_le32toh = yes; then
57061.53Sdogcow
57071.60Sapbcat >>confdefs.h <<EOF
57081.53Sdogcow#define HAVE_DECL_LE32TOH 1
57091.60SapbEOF
57101.53Sdogcow
57111.53Sdogcowelse
57121.60Sapb  cat >>confdefs.h <<EOF
57131.53Sdogcow#define HAVE_DECL_LE32TOH 0
57141.60SapbEOF
57151.53Sdogcow
57161.53Sdogcowfi
57171.60Sapbecho "$as_me:5717: checking whether le64toh is declared" >&5
57181.53Sdogcowecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
57191.53Sdogcowif test "${ac_cv_have_decl_le64toh+set}" = set; then
57201.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
57211.53Sdogcowelse
57221.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
57231.60Sapb#line 5723 "configure"
57241.60Sapb#include "confdefs.h"
57251.53Sdogcow#include <sys/types.h>
57261.53Sdogcow
57271.53Sdogcowint
57281.53Sdogcowmain ()
57291.53Sdogcow{
57301.53Sdogcow#ifndef le64toh
57311.53Sdogcow  char *p = (char *) le64toh;
57321.53Sdogcow#endif
57331.53Sdogcow
57341.53Sdogcow  ;
57351.53Sdogcow  return 0;
57361.53Sdogcow}
57371.53Sdogcow_ACEOF
57381.53Sdogcowrm -f conftest.$ac_objext
57391.60Sapbif { (eval echo "$as_me:5739: \"$ac_compile\"") >&5
57401.60Sapb  (eval $ac_compile) 2>&5
57411.53Sdogcow  ac_status=$?
57421.60Sapb  echo "$as_me:5742: \$? = $ac_status" >&5
57431.53Sdogcow  (exit $ac_status); } &&
57441.60Sapb         { ac_try='test -s conftest.$ac_objext'
57451.60Sapb  { (eval echo "$as_me:5745: \"$ac_try\"") >&5
57461.53Sdogcow  (eval $ac_try) 2>&5
57471.53Sdogcow  ac_status=$?
57481.60Sapb  echo "$as_me:5748: \$? = $ac_status" >&5
57491.53Sdogcow  (exit $ac_status); }; }; then
57501.53Sdogcow  ac_cv_have_decl_le64toh=yes
57511.53Sdogcowelse
57521.53Sdogcow  echo "$as_me: failed program was:" >&5
57531.60Sapbcat conftest.$ac_ext >&5
57541.53Sdogcowac_cv_have_decl_le64toh=no
57551.53Sdogcowfi
57561.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
57571.53Sdogcowfi
57581.60Sapbecho "$as_me:5758: result: $ac_cv_have_decl_le64toh" >&5
57591.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
57601.53Sdogcowif test $ac_cv_have_decl_le64toh = yes; then
57611.53Sdogcow
57621.60Sapbcat >>confdefs.h <<EOF
57631.53Sdogcow#define HAVE_DECL_LE64TOH 1
57641.60SapbEOF
57651.53Sdogcow
57661.53Sdogcowelse
57671.60Sapb  cat >>confdefs.h <<EOF
57681.53Sdogcow#define HAVE_DECL_LE64TOH 0
57691.60SapbEOF
57701.53Sdogcow
57711.53Sdogcowfi
57721.53Sdogcow
57731.60Sapbecho "$as_me:5773: checking whether bswap16 is declared" >&5
57741.54Swizecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
57751.54Swizif test "${ac_cv_have_decl_bswap16+set}" = set; then
57761.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
57771.54Swizelse
57781.54Swiz  cat >conftest.$ac_ext <<_ACEOF
57791.60Sapb#line 5779 "configure"
57801.60Sapb#include "confdefs.h"
57811.54Swiz#include <machine/bswap.h>
57821.54Swiz
57831.54Swizint
57841.54Swizmain ()
57851.54Swiz{
57861.54Swiz#ifndef bswap16
57871.54Swiz  char *p = (char *) bswap16;
57881.54Swiz#endif
57891.54Swiz
57901.54Swiz  ;
57911.54Swiz  return 0;
57921.54Swiz}
57931.54Swiz_ACEOF
57941.54Swizrm -f conftest.$ac_objext
57951.60Sapbif { (eval echo "$as_me:5795: \"$ac_compile\"") >&5
57961.60Sapb  (eval $ac_compile) 2>&5
57971.54Swiz  ac_status=$?
57981.60Sapb  echo "$as_me:5798: \$? = $ac_status" >&5
57991.54Swiz  (exit $ac_status); } &&
58001.60Sapb         { ac_try='test -s conftest.$ac_objext'
58011.60Sapb  { (eval echo "$as_me:5801: \"$ac_try\"") >&5
58021.54Swiz  (eval $ac_try) 2>&5
58031.54Swiz  ac_status=$?
58041.60Sapb  echo "$as_me:5804: \$? = $ac_status" >&5
58051.54Swiz  (exit $ac_status); }; }; then
58061.54Swiz  ac_cv_have_decl_bswap16=yes
58071.54Swizelse
58081.54Swiz  echo "$as_me: failed program was:" >&5
58091.60Sapbcat conftest.$ac_ext >&5
58101.54Swizac_cv_have_decl_bswap16=no
58111.54Swizfi
58121.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
58131.54Swizfi
58141.60Sapbecho "$as_me:5814: result: $ac_cv_have_decl_bswap16" >&5
58151.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
58161.54Swizif test $ac_cv_have_decl_bswap16 = yes; then
58171.54Swiz
58181.60Sapbcat >>confdefs.h <<EOF
58191.54Swiz#define HAVE_DECL_BSWAP16 1
58201.60SapbEOF
58211.53Sdogcow
58221.54Swizelse
58231.60Sapb  cat >>confdefs.h <<EOF
58241.54Swiz#define HAVE_DECL_BSWAP16 0
58251.60SapbEOF
58261.53Sdogcow
58271.54Swizfi
58281.60Sapbecho "$as_me:5828: checking whether bswap32 is declared" >&5
58291.54Swizecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
58301.54Swizif test "${ac_cv_have_decl_bswap32+set}" = set; then
58311.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
58321.53Sdogcowelse
58331.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
58341.60Sapb#line 5834 "configure"
58351.60Sapb#include "confdefs.h"
58361.54Swiz#include <machine/bswap.h>
58371.53Sdogcow
58381.54Swizint
58391.54Swizmain ()
58401.53Sdogcow{
58411.54Swiz#ifndef bswap32
58421.54Swiz  char *p = (char *) bswap32;
58431.48Sjmc#endif
58441.54Swiz
58451.54Swiz  ;
58461.54Swiz  return 0;
58471.53Sdogcow}
58481.54Swiz_ACEOF
58491.54Swizrm -f conftest.$ac_objext
58501.60Sapbif { (eval echo "$as_me:5850: \"$ac_compile\"") >&5
58511.60Sapb  (eval $ac_compile) 2>&5
58521.54Swiz  ac_status=$?
58531.60Sapb  echo "$as_me:5853: \$? = $ac_status" >&5
58541.54Swiz  (exit $ac_status); } &&
58551.60Sapb         { ac_try='test -s conftest.$ac_objext'
58561.60Sapb  { (eval echo "$as_me:5856: \"$ac_try\"") >&5
58571.54Swiz  (eval $ac_try) 2>&5
58581.54Swiz  ac_status=$?
58591.60Sapb  echo "$as_me:5859: \$? = $ac_status" >&5
58601.54Swiz  (exit $ac_status); }; }; then
58611.54Swiz  ac_cv_have_decl_bswap32=yes
58621.54Swizelse
58631.54Swiz  echo "$as_me: failed program was:" >&5
58641.60Sapbcat conftest.$ac_ext >&5
58651.54Swizac_cv_have_decl_bswap32=no
58661.54Swizfi
58671.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
58681.54Swizfi
58691.60Sapbecho "$as_me:5869: result: $ac_cv_have_decl_bswap32" >&5
58701.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
58711.54Swizif test $ac_cv_have_decl_bswap32 = yes; then
58721.54Swiz
58731.60Sapbcat >>confdefs.h <<EOF
58741.54Swiz#define HAVE_DECL_BSWAP32 1
58751.60SapbEOF
58761.54Swiz
58771.54Swizelse
58781.60Sapb  cat >>confdefs.h <<EOF
58791.54Swiz#define HAVE_DECL_BSWAP32 0
58801.60SapbEOF
58811.54Swiz
58821.54Swizfi
58831.60Sapbecho "$as_me:5883: checking whether bswap64 is declared" >&5
58841.54Swizecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
58851.54Swizif test "${ac_cv_have_decl_bswap64+set}" = set; then
58861.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
58871.54Swizelse
58881.54Swiz  cat >conftest.$ac_ext <<_ACEOF
58891.60Sapb#line 5889 "configure"
58901.60Sapb#include "confdefs.h"
58911.54Swiz#include <machine/bswap.h>
58921.54Swiz
58931.53Sdogcowint
58941.53Sdogcowmain ()
58951.53Sdogcow{
58961.54Swiz#ifndef bswap64
58971.54Swiz  char *p = (char *) bswap64;
58981.54Swiz#endif
58991.54Swiz
59001.45Sjmc  ;
59011.45Sjmc  return 0;
59021.45Sjmc}
59031.45Sjmc_ACEOF
59041.54Swizrm -f conftest.$ac_objext
59051.60Sapbif { (eval echo "$as_me:5905: \"$ac_compile\"") >&5
59061.60Sapb  (eval $ac_compile) 2>&5
59071.45Sjmc  ac_status=$?
59081.60Sapb  echo "$as_me:5908: \$? = $ac_status" >&5
59091.45Sjmc  (exit $ac_status); } &&
59101.60Sapb         { ac_try='test -s conftest.$ac_objext'
59111.60Sapb  { (eval echo "$as_me:5911: \"$ac_try\"") >&5
59121.45Sjmc  (eval $ac_try) 2>&5
59131.45Sjmc  ac_status=$?
59141.60Sapb  echo "$as_me:5914: \$? = $ac_status" >&5
59151.45Sjmc  (exit $ac_status); }; }; then
59161.54Swiz  ac_cv_have_decl_bswap64=yes
59171.45Sjmcelse
59181.45Sjmc  echo "$as_me: failed program was:" >&5
59191.60Sapbcat conftest.$ac_ext >&5
59201.54Swizac_cv_have_decl_bswap64=no
59211.45Sjmcfi
59221.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
59231.45Sjmcfi
59241.60Sapbecho "$as_me:5924: result: $ac_cv_have_decl_bswap64" >&5
59251.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
59261.54Swizif test $ac_cv_have_decl_bswap64 = yes; then
59271.54Swiz
59281.60Sapbcat >>confdefs.h <<EOF
59291.54Swiz#define HAVE_DECL_BSWAP64 1
59301.60SapbEOF
59311.54Swiz
59321.54Swizelse
59331.60Sapb  cat >>confdefs.h <<EOF
59341.54Swiz#define HAVE_DECL_BSWAP64 0
59351.60SapbEOF
59361.54Swiz
59371.45Sjmcfi
59381.45Sjmc
59391.60Sapbecho "$as_me:5939: checking whether fstatvfs is declared" >&5
59401.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
59411.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
59421.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
59431.1Stvelse
59441.1Stv  cat >conftest.$ac_ext <<_ACEOF
59451.60Sapb#line 5945 "configure"
59461.60Sapb#include "confdefs.h"
59471.54Swiz#include <sys/statvfs.h>
59481.53Sdogcow
59491.54Swizint
59501.54Swizmain ()
59511.53Sdogcow{
59521.54Swiz#ifndef fstatvfs
59531.54Swiz  char *p = (char *) fstatvfs;
59541.1Stv#endif
59551.1Stv
59561.1Stv  ;
59571.1Stv  return 0;
59581.1Stv}
59591.1Stv_ACEOF
59601.54Swizrm -f conftest.$ac_objext
59611.60Sapbif { (eval echo "$as_me:5961: \"$ac_compile\"") >&5
59621.60Sapb  (eval $ac_compile) 2>&5
59631.1Stv  ac_status=$?
59641.60Sapb  echo "$as_me:5964: \$? = $ac_status" >&5
59651.1Stv  (exit $ac_status); } &&
59661.60Sapb         { ac_try='test -s conftest.$ac_objext'
59671.60Sapb  { (eval echo "$as_me:5967: \"$ac_try\"") >&5
59681.1Stv  (eval $ac_try) 2>&5
59691.1Stv  ac_status=$?
59701.60Sapb  echo "$as_me:5970: \$? = $ac_status" >&5
59711.1Stv  (exit $ac_status); }; }; then
59721.54Swiz  ac_cv_have_decl_fstatvfs=yes
59731.1Stvelse
59741.1Stv  echo "$as_me: failed program was:" >&5
59751.60Sapbcat conftest.$ac_ext >&5
59761.54Swizac_cv_have_decl_fstatvfs=no
59771.1Stvfi
59781.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
59791.1Stvfi
59801.60Sapbecho "$as_me:5980: result: $ac_cv_have_decl_fstatvfs" >&5
59811.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
59821.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then
59831.54Swiz
59841.60Sapbcat >>confdefs.h <<EOF
59851.54Swiz#define HAVE_DECL_FSTATVFS 1
59861.60SapbEOF
59871.54Swiz
59881.54Swizelse
59891.60Sapb  cat >>confdefs.h <<EOF
59901.54Swiz#define HAVE_DECL_FSTATVFS 0
59911.60SapbEOF
59921.54Swiz
59931.1Stvfi
59941.54Swiz
59951.60Sapbecho "$as_me:5995: checking whether setgroupent is declared" >&5
59961.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
59971.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
59981.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
59991.8Stvelse
60001.8Stv  cat >conftest.$ac_ext <<_ACEOF
60011.60Sapb#line 6001 "configure"
60021.60Sapb#include "confdefs.h"
60031.8Stv
60041.33Sthorpej#include <sys/types.h>
60051.8Stv#include <grp.h>
60061.8Stv#include <pwd.h>
60071.8Stv
60081.8Stvint
60091.8Stvmain ()
60101.8Stv{
60111.8Stv#ifndef setgroupent
60121.8Stv  char *p = (char *) setgroupent;
60131.8Stv#endif
60141.8Stv
60151.8Stv  ;
60161.8Stv  return 0;
60171.8Stv}
60181.8Stv_ACEOF
60191.8Stvrm -f conftest.$ac_objext
60201.60Sapbif { (eval echo "$as_me:6020: \"$ac_compile\"") >&5
60211.60Sapb  (eval $ac_compile) 2>&5
60221.8Stv  ac_status=$?
60231.60Sapb  echo "$as_me:6023: \$? = $ac_status" >&5
60241.8Stv  (exit $ac_status); } &&
60251.60Sapb         { ac_try='test -s conftest.$ac_objext'
60261.60Sapb  { (eval echo "$as_me:6026: \"$ac_try\"") >&5
60271.50Sjmc  (eval $ac_try) 2>&5
60281.50Sjmc  ac_status=$?
60291.60Sapb  echo "$as_me:6029: \$? = $ac_status" >&5
60301.8Stv  (exit $ac_status); }; }; then
60311.8Stv  ac_cv_have_decl_setgroupent=yes
60321.8Stvelse
60331.8Stv  echo "$as_me: failed program was:" >&5
60341.60Sapbcat conftest.$ac_ext >&5
60351.8Stvac_cv_have_decl_setgroupent=no
60361.8Stvfi
60371.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
60381.8Stvfi
60391.60Sapbecho "$as_me:6039: result: $ac_cv_have_decl_setgroupent" >&5
60401.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
60411.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
60421.8Stv
60431.60Sapbcat >>confdefs.h <<EOF
60441.8Stv#define HAVE_DECL_SETGROUPENT 1
60451.60SapbEOF
60461.8Stv
60471.8Stvelse
60481.60Sapb  cat >>confdefs.h <<EOF
60491.8Stv#define HAVE_DECL_SETGROUPENT 0
60501.60SapbEOF
60511.8Stv
60521.8Stvfi
60531.60Sapbecho "$as_me:6053: checking whether setpassent is declared" >&5
60541.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
60551.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
60561.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
60571.8Stvelse
60581.8Stv  cat >conftest.$ac_ext <<_ACEOF
60591.60Sapb#line 6059 "configure"
60601.60Sapb#include "confdefs.h"
60611.8Stv
60621.33Sthorpej#include <sys/types.h>
60631.8Stv#include <grp.h>
60641.8Stv#include <pwd.h>
60651.8Stv
60661.8Stvint
60671.8Stvmain ()
60681.8Stv{
60691.8Stv#ifndef setpassent
60701.8Stv  char *p = (char *) setpassent;
60711.8Stv#endif
60721.8Stv
60731.8Stv  ;
60741.8Stv  return 0;
60751.8Stv}
60761.8Stv_ACEOF
60771.8Stvrm -f conftest.$ac_objext
60781.60Sapbif { (eval echo "$as_me:6078: \"$ac_compile\"") >&5
60791.60Sapb  (eval $ac_compile) 2>&5
60801.8Stv  ac_status=$?
60811.60Sapb  echo "$as_me:6081: \$? = $ac_status" >&5
60821.8Stv  (exit $ac_status); } &&
60831.60Sapb         { ac_try='test -s conftest.$ac_objext'
60841.60Sapb  { (eval echo "$as_me:6084: \"$ac_try\"") >&5
60851.50Sjmc  (eval $ac_try) 2>&5
60861.50Sjmc  ac_status=$?
60871.60Sapb  echo "$as_me:6087: \$? = $ac_status" >&5
60881.8Stv  (exit $ac_status); }; }; then
60891.8Stv  ac_cv_have_decl_setpassent=yes
60901.8Stvelse
60911.8Stv  echo "$as_me: failed program was:" >&5
60921.60Sapbcat conftest.$ac_ext >&5
60931.8Stvac_cv_have_decl_setpassent=no
60941.8Stvfi
60951.60Sapbrm -f conftest.$ac_objext conftest.$ac_ext
60961.8Stvfi
60971.60Sapbecho "$as_me:6097: result: $ac_cv_have_decl_setpassent" >&5
60981.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
60991.8Stvif test $ac_cv_have_decl_setpassent = yes; then
61001.8Stv
61011.60Sapbcat >>confdefs.h <<EOF
61021.8Stv#define HAVE_DECL_SETPASSENT 1
61031.60SapbEOF
61041.8Stv
61051.8Stvelse
61061.60Sapb  cat >>confdefs.h <<EOF
61071.8Stv#define HAVE_DECL_SETPASSENT 0
61081.60SapbEOF
61091.8Stv
61101.8Stvfi
61111.8Stv
61121.4Stv# regcomp() and regexec() are also names of functions in the old V8
61131.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
61141.4Stv
61151.60Sapbecho "$as_me:6115: checking for regfree in -lregex" >&5
61161.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
61171.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
61181.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
61191.4Stvelse
61201.4Stv  ac_check_lib_save_LIBS=$LIBS
61211.4StvLIBS="-lregex  $LIBS"
61221.4Stvcat >conftest.$ac_ext <<_ACEOF
61231.60Sapb#line 6123 "configure"
61241.60Sapb#include "confdefs.h"
61251.4Stv
61261.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
61271.4Stv#ifdef __cplusplus
61281.4Stvextern "C"
61291.4Stv#endif
61301.4Stv/* We use char because int might match the return type of a gcc2
61311.4Stv   builtin and then its argument prototype would still apply.  */
61321.4Stvchar regfree ();
61331.4Stvint
61341.4Stvmain ()
61351.4Stv{
61361.4Stvregfree ();
61371.4Stv  ;
61381.4Stv  return 0;
61391.4Stv}
61401.4Stv_ACEOF
61411.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
61421.60Sapbif { (eval echo "$as_me:6142: \"$ac_link\"") >&5
61431.60Sapb  (eval $ac_link) 2>&5
61441.4Stv  ac_status=$?
61451.60Sapb  echo "$as_me:6145: \$? = $ac_status" >&5
61461.4Stv  (exit $ac_status); } &&
61471.60Sapb         { ac_try='test -s conftest$ac_exeext'
61481.60Sapb  { (eval echo "$as_me:6148: \"$ac_try\"") >&5
61491.4Stv  (eval $ac_try) 2>&5
61501.4Stv  ac_status=$?
61511.60Sapb  echo "$as_me:6151: \$? = $ac_status" >&5
61521.4Stv  (exit $ac_status); }; }; then
61531.4Stv  ac_cv_lib_regex_regfree=yes
61541.4Stvelse
61551.4Stv  echo "$as_me: failed program was:" >&5
61561.60Sapbcat conftest.$ac_ext >&5
61571.4Stvac_cv_lib_regex_regfree=no
61581.4Stvfi
61591.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61601.4StvLIBS=$ac_check_lib_save_LIBS
61611.4Stvfi
61621.60Sapbecho "$as_me:6162: result: $ac_cv_lib_regex_regfree" >&5
61631.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
61641.4Stvif test $ac_cv_lib_regex_regfree = yes; then
61651.60Sapb  cat >>confdefs.h <<EOF
61661.4Stv#define HAVE_LIBREGEX 1
61671.60SapbEOF
61681.4Stv
61691.4Stv  LIBS="-lregex $LIBS"
61701.4Stv
61711.4Stvfi
61721.4Stv
61731.60Sapbecho "$as_me:6173: checking for library containing regfree" >&5
61741.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
61751.4Stvif test "${ac_cv_search_regfree+set}" = set; then
61761.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
61771.1Stvelse
61781.1Stv  ac_func_search_save_LIBS=$LIBS
61791.4Stvac_cv_search_regfree=no
61801.1Stvcat >conftest.$ac_ext <<_ACEOF
61811.60Sapb#line 6181 "configure"
61821.60Sapb#include "confdefs.h"
61831.1Stv
61841.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
61851.1Stv#ifdef __cplusplus
61861.1Stvextern "C"
61871.1Stv#endif
61881.1Stv/* We use char because int might match the return type of a gcc2
61891.1Stv   builtin and then its argument prototype would still apply.  */
61901.4Stvchar regfree ();
61911.1Stvint
61921.1Stvmain ()
61931.1Stv{
61941.4Stvregfree ();
61951.1Stv  ;
61961.1Stv  return 0;
61971.1Stv}
61981.1Stv_ACEOF
61991.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
62001.60Sapbif { (eval echo "$as_me:6200: \"$ac_link\"") >&5
62011.60Sapb  (eval $ac_link) 2>&5
62021.1Stv  ac_status=$?
62031.60Sapb  echo "$as_me:6203: \$? = $ac_status" >&5
62041.1Stv  (exit $ac_status); } &&
62051.60Sapb         { ac_try='test -s conftest$ac_exeext'
62061.60Sapb  { (eval echo "$as_me:6206: \"$ac_try\"") >&5
62071.1Stv  (eval $ac_try) 2>&5
62081.1Stv  ac_status=$?
62091.60Sapb  echo "$as_me:6209: \$? = $ac_status" >&5
62101.1Stv  (exit $ac_status); }; }; then
62111.4Stv  ac_cv_search_regfree="none required"
62121.1Stvelse
62131.1Stv  echo "$as_me: failed program was:" >&5
62141.60Sapbcat conftest.$ac_ext >&5
62151.1Stvfi
62161.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62171.4Stvif test "$ac_cv_search_regfree" = no; then
62181.4Stv  for ac_lib in rx posix; do
62191.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
62201.1Stv    cat >conftest.$ac_ext <<_ACEOF
62211.60Sapb#line 6221 "configure"
62221.60Sapb#include "confdefs.h"
62231.1Stv
62241.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
62251.1Stv#ifdef __cplusplus
62261.1Stvextern "C"
62271.1Stv#endif
62281.1Stv/* We use char because int might match the return type of a gcc2
62291.1Stv   builtin and then its argument prototype would still apply.  */
62301.4Stvchar regfree ();
62311.1Stvint
62321.1Stvmain ()
62331.1Stv{
62341.4Stvregfree ();
62351.1Stv  ;
62361.1Stv  return 0;
62371.1Stv}
62381.1Stv_ACEOF
62391.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
62401.60Sapbif { (eval echo "$as_me:6240: \"$ac_link\"") >&5
62411.60Sapb  (eval $ac_link) 2>&5
62421.1Stv  ac_status=$?
62431.60Sapb  echo "$as_me:6243: \$? = $ac_status" >&5
62441.1Stv  (exit $ac_status); } &&
62451.60Sapb         { ac_try='test -s conftest$ac_exeext'
62461.60Sapb  { (eval echo "$as_me:6246: \"$ac_try\"") >&5
62471.1Stv  (eval $ac_try) 2>&5
62481.1Stv  ac_status=$?
62491.60Sapb  echo "$as_me:6249: \$? = $ac_status" >&5
62501.1Stv  (exit $ac_status); }; }; then
62511.4Stv  ac_cv_search_regfree="-l$ac_lib"
62521.1Stvbreak
62531.1Stvelse
62541.1Stv  echo "$as_me: failed program was:" >&5
62551.60Sapbcat conftest.$ac_ext >&5
62561.1Stvfi
62571.60Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62581.1Stv  done
62591.1Stvfi
62601.1StvLIBS=$ac_func_search_save_LIBS
62611.1Stvfi
62621.60Sapbecho "$as_me:6262: result: $ac_cv_search_regfree" >&5
62631.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
62641.4Stvif test "$ac_cv_search_regfree" != no; then
62651.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
62661.1Stv
62671.1Stvfi
62681.1Stv
62691.1Stvcat >confcache <<\_ACEOF
62701.1Stv# This file is a shell script that caches the results of configure
62711.1Stv# tests run on this system so they can be shared between configure
62721.1Stv# scripts and configure runs, see configure's option --config-cache.
62731.1Stv# It is not useful on other systems.  If it contains results you don't
62741.1Stv# want to keep, you may remove or edit it.
62751.1Stv#
62761.1Stv# config.status only pays attention to the cache file if you give it
62771.1Stv# the --recheck option to rerun configure.
62781.1Stv#
62791.60Sapb# `ac_cv_env_foo' variables (set or unset) will be overriden when
62801.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
62811.1Stv# following values.
62821.1Stv
62831.1Stv_ACEOF
62841.1Stv
62851.1Stv# The following way of writing the cache mishandles newlines in values,
62861.1Stv# but we know of no workaround that is simple, portable, and efficient.
62871.1Stv# So, don't put newlines in cache variables' values.
62881.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
62891.1Stv# and sets the high bit in the cache file unless we assign to the vars.
62901.1Stv{
62911.1Stv  (set) 2>&1 |
62921.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
62931.1Stv    *ac_space=\ *)
62941.1Stv      # `set' does not quote correctly, so add quotes (double-quote
62951.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
62961.1Stv      sed -n \
62971.60Sapb        "s/'/'\\\\''/g;
62981.60Sapb    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62991.1Stv      ;;
63001.1Stv    *)
63011.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
63021.1Stv      sed -n \
63031.60Sapb        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
63041.1Stv      ;;
63051.1Stv    esac;
63061.1Stv} |
63071.1Stv  sed '
63081.1Stv     t clear
63091.1Stv     : clear
63101.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
63111.1Stv     t end
63121.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
63131.1Stv     : end' >>confcache
63141.60Sapbif cmp -s $cache_file confcache; then :; else
63151.1Stv  if test -w $cache_file; then
63161.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
63171.1Stv    cat confcache >$cache_file
63181.1Stv  else
63191.1Stv    echo "not updating unwritable cache $cache_file"
63201.1Stv  fi
63211.1Stvfi
63221.1Stvrm -f confcache
63231.1Stv
63241.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
63251.1Stv# Let make expand exec_prefix.
63261.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
63271.1Stv
63281.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
63291.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
63301.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
63311.1Stv# (actually we leave an empty line to preserve line numbers).
63321.1Stvif test "x$srcdir" = x.; then
63331.60Sapb  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
63341.1Stvs/:*\$(srcdir):*/:/;
63351.1Stvs/:*\${srcdir}:*/:/;
63361.1Stvs/:*@srcdir@:*/:/;
63371.60Sapbs/^\([^=]*=[ 	]*\):*/\1/;
63381.1Stvs/:*$//;
63391.60Sapbs/^[^=]*=[ 	]*$//;
63401.1Stv}'
63411.1Stvfi
63421.1Stv
63431.1StvDEFS=-DHAVE_CONFIG_H
63441.1Stv
63451.1Stv: ${CONFIG_STATUS=./config.status}
63461.1Stvac_clean_files_save=$ac_clean_files
63471.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
63481.60Sapb{ echo "$as_me:6348: creating $CONFIG_STATUS" >&5
63491.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
63501.1Stvcat >$CONFIG_STATUS <<_ACEOF
63511.1Stv#! $SHELL
63521.60Sapb# Generated automatically by configure.
63531.1Stv# Run this file to recreate the current configuration.
63541.1Stv# Compiler output produced by configure, useful for debugging
63551.1Stv# configure, is in config.log if it exists.
63561.1Stv
63571.1Stvdebug=false
63581.1StvSHELL=\${CONFIG_SHELL-$SHELL}
63591.60Sapbac_cs_invocation="\$0 \$@"
63601.60Sapb
63611.1Stv_ACEOF
63621.1Stv
63631.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
63641.1Stv# Be Bourne compatible
63651.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
63661.1Stv  emulate sh
63671.1Stv  NULLCMD=:
63681.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
63691.1Stv  set -o posix
63701.1Stvfi
63711.1Stv
63721.1Stv# Name of the executable.
63731.60Sapbas_me=`echo "$0" |sed 's,.*[\\/],,'`
63741.1Stv
63751.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
63761.1Stv  as_expr=expr
63771.1Stvelse
63781.1Stv  as_expr=false
63791.1Stvfi
63801.1Stv
63811.1Stvrm -f conf$$ conf$$.exe conf$$.file
63821.1Stvecho >conf$$.file
63831.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
63841.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
63851.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
63861.1Stv  if test -f conf$$.exe; then
63871.1Stv    # Don't use ln at all; we don't have any links
63881.1Stv    as_ln_s='cp -p'
63891.1Stv  else
63901.1Stv    as_ln_s='ln -s'
63911.1Stv  fi
63921.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
63931.1Stv  as_ln_s=ln
63941.1Stvelse
63951.1Stv  as_ln_s='cp -p'
63961.1Stvfi
63971.1Stvrm -f conf$$ conf$$.exe conf$$.file
63981.1Stv
63991.60Sapbas_executable_p="test -f"
64001.60Sapb
64011.60Sapb# Support unset when possible.
64021.60Sapbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64031.60Sapb  as_unset=unset
64041.53Sdogcowelse
64051.60Sapb  as_unset=false
64061.53Sdogcowfi
64071.53Sdogcow
64081.60Sapb# NLS nuisances.
64091.60Sapb$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
64101.60Sapb$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
64111.60Sapb$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
64121.60Sapb$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
64131.60Sapb$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
64141.60Sapb$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
64151.60Sapb$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64161.60Sapb$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
64171.1Stv
64181.1Stv# IFS
64191.1Stv# We need space, tab and new line, in precisely that order.
64201.1Stvas_nl='
64211.1Stv'
64221.1StvIFS=" 	$as_nl"
64231.1Stv
64241.1Stv# CDPATH.
64251.60Sapb$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
64261.1Stv
64271.1Stvexec 6>&1
64281.1Stv
64291.1Stv_ACEOF
64301.1Stv
64311.1Stv# Files that config.status was made for.
64321.1Stvif test -n "$ac_config_files"; then
64331.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
64341.1Stvfi
64351.1Stv
64361.1Stvif test -n "$ac_config_headers"; then
64371.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
64381.1Stvfi
64391.1Stv
64401.1Stvif test -n "$ac_config_links"; then
64411.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
64421.1Stvfi
64431.1Stv
64441.1Stvif test -n "$ac_config_commands"; then
64451.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
64461.1Stvfi
64471.1Stv
64481.60Sapbcat >>$CONFIG_STATUS <<\EOF
64491.1Stv
64501.1Stvac_cs_usage="\
64511.1Stv\`$as_me' instantiates files from templates according to the
64521.1Stvcurrent configuration.
64531.1Stv
64541.1StvUsage: $0 [OPTIONS] [FILE]...
64551.1Stv
64561.1Stv  -h, --help       print this help, then exit
64571.1Stv  -V, --version    print version number, then exit
64581.1Stv  -d, --debug      don't remove temporary files
64591.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
64601.1Stv  --file=FILE[:TEMPLATE]
64611.60Sapb                   instantiate the configuration file FILE
64621.1Stv  --header=FILE[:TEMPLATE]
64631.60Sapb                   instantiate the configuration header FILE
64641.1Stv
64651.1StvConfiguration files:
64661.1Stv$config_files
64671.1Stv
64681.1StvConfiguration headers:
64691.1Stv$config_headers
64701.1Stv
64711.1StvReport bugs to <bug-autoconf@gnu.org>."
64721.60SapbEOF
64731.1Stv
64741.60Sapbcat >>$CONFIG_STATUS <<EOF
64751.1Stvac_cs_version="\\
64761.1Stvlibnbcompat config.status noversion
64771.60Sapbconfigured by $0, generated by GNU Autoconf 2.52,
64781.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
64791.1Stv
64801.60SapbCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
64811.60SapbFree Software Foundation, Inc.
64821.1StvThis config.status script is free software; the Free Software Foundation
64831.1Stvgives unlimited permission to copy, distribute and modify it."
64841.1Stvsrcdir=$srcdir
64851.60SapbEOF
64861.1Stv
64871.60Sapbcat >>$CONFIG_STATUS <<\EOF
64881.1Stv# If no file are specified by the user, then we need to provide default
64891.1Stv# value.  By we need to know if files were specified by the user.
64901.1Stvac_need_defaults=:
64911.1Stvwhile test $# != 0
64921.1Stvdo
64931.1Stv  case $1 in
64941.1Stv  --*=*)
64951.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
64961.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
64971.60Sapb    shift
64981.60Sapb    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
64991.60Sapb    shift
65001.1Stv    ;;
65011.60Sapb  -*);;
65021.1Stv  *) # This is not an option, so the user has probably given explicit
65031.1Stv     # arguments.
65041.1Stv     ac_need_defaults=false;;
65051.1Stv  esac
65061.1Stv
65071.60Sapb  case $1 in
65081.1Stv  # Handling of the options.
65091.60SapbEOF
65101.60Sapbcat >>$CONFIG_STATUS <<EOF
65111.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
65121.60Sapb    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
65131.60Sapb    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
65141.60SapbEOF
65151.60Sapbcat >>$CONFIG_STATUS <<\EOF
65161.1Stv  --version | --vers* | -V )
65171.1Stv    echo "$ac_cs_version"; exit 0 ;;
65181.1Stv  --he | --h)
65191.1Stv    # Conflict between --help and --header
65201.60Sapb    { { echo "$as_me:6520: error: ambiguous option: $1
65211.1StvTry \`$0 --help' for more information." >&5
65221.1Stvecho "$as_me: error: ambiguous option: $1
65231.1StvTry \`$0 --help' for more information." >&2;}
65241.1Stv   { (exit 1); exit 1; }; };;
65251.1Stv  --help | --hel | -h )
65261.1Stv    echo "$ac_cs_usage"; exit 0 ;;
65271.1Stv  --debug | --d* | -d )
65281.1Stv    debug=: ;;
65291.1Stv  --file | --fil | --fi | --f )
65301.60Sapb    shift
65311.60Sapb    CONFIG_FILES="$CONFIG_FILES $1"
65321.1Stv    ac_need_defaults=false;;
65331.1Stv  --header | --heade | --head | --hea )
65341.60Sapb    shift
65351.60Sapb    CONFIG_HEADERS="$CONFIG_HEADERS $1"
65361.1Stv    ac_need_defaults=false;;
65371.1Stv
65381.1Stv  # This is an error.
65391.60Sapb  -*) { { echo "$as_me:6539: error: unrecognized option: $1
65401.1StvTry \`$0 --help' for more information." >&5
65411.1Stvecho "$as_me: error: unrecognized option: $1
65421.1StvTry \`$0 --help' for more information." >&2;}
65431.1Stv   { (exit 1); exit 1; }; } ;;
65441.1Stv
65451.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
65461.1Stv
65471.1Stv  esac
65481.1Stv  shift
65491.1Stvdone
65501.1Stv
65511.60Sapbexec 5>>config.log
65521.60Sapbcat >&5 << _ACEOF
65531.1Stv
65541.60Sapb## ----------------------- ##
65551.60Sapb## Running config.status.  ##
65561.60Sapb## ----------------------- ##
65571.1Stv
65581.60SapbThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
65591.60Sapb  CONFIG_FILES    = $CONFIG_FILES
65601.60Sapb  CONFIG_HEADERS  = $CONFIG_HEADERS
65611.60Sapb  CONFIG_LINKS    = $CONFIG_LINKS
65621.60Sapb  CONFIG_COMMANDS = $CONFIG_COMMANDS
65631.60Sapb  > $ac_cs_invocation
65641.60Sapbon `(hostname || uname -n) 2>/dev/null | sed 1q`
65651.1Stv
65661.1Stv_ACEOF
65671.60SapbEOF
65681.1Stv
65691.60Sapbcat >>$CONFIG_STATUS <<\EOF
65701.1Stvfor ac_config_target in $ac_config_targets
65711.1Stvdo
65721.1Stv  case "$ac_config_target" in
65731.1Stv  # Handling of arguments.
65741.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
65751.57Swiz  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
65761.60Sapb  *) { { echo "$as_me:6576: error: invalid argument: $ac_config_target" >&5
65771.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
65781.1Stv   { (exit 1); exit 1; }; };;
65791.1Stv  esac
65801.1Stvdone
65811.1Stv
65821.1Stv# If the user did not use the arguments to specify the items to instantiate,
65831.1Stv# then the envvar interface is used.  Set only those that are not.
65841.1Stv# We use the long form for the default assignment because of an extremely
65851.1Stv# bizarre bug on SunOS 4.1.3.
65861.1Stvif $ac_need_defaults; then
65871.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
65881.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
65891.1Stvfi
65901.1Stv
65911.1Stv# Create a temporary directory, and hook for its removal unless debugging.
65921.1Stv$debug ||
65931.1Stv{
65941.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
65951.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
65961.1Stv}
65971.1Stv
65981.1Stv# Create a (secure) tmp directory for tmp files.
65991.60Sapb: ${TMPDIR=/tmp}
66001.1Stv{
66011.60Sapb  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
66021.1Stv  test -n "$tmp" && test -d "$tmp"
66031.1Stv}  ||
66041.1Stv{
66051.60Sapb  tmp=$TMPDIR/cs$$-$RANDOM
66061.1Stv  (umask 077 && mkdir $tmp)
66071.1Stv} ||
66081.1Stv{
66091.60Sapb   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
66101.1Stv   { (exit 1); exit 1; }
66111.1Stv}
66121.1Stv
66131.60SapbEOF
66141.1Stv
66151.60Sapbcat >>$CONFIG_STATUS <<EOF
66161.1Stv
66171.1Stv#
66181.1Stv# CONFIG_FILES section.
66191.1Stv#
66201.1Stv
66211.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
66221.1Stv# This happens for instance when ./config.status config.h
66231.1Stvif test -n "\$CONFIG_FILES"; then
66241.1Stv  # Protect against being on the right side of a sed subst in config.status.
66251.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
66261.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
66271.1Stvs,@SHELL@,$SHELL,;t t
66281.1Stvs,@exec_prefix@,$exec_prefix,;t t
66291.1Stvs,@prefix@,$prefix,;t t
66301.1Stvs,@program_transform_name@,$program_transform_name,;t t
66311.1Stvs,@bindir@,$bindir,;t t
66321.1Stvs,@sbindir@,$sbindir,;t t
66331.1Stvs,@libexecdir@,$libexecdir,;t t
66341.1Stvs,@datadir@,$datadir,;t t
66351.1Stvs,@sysconfdir@,$sysconfdir,;t t
66361.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
66371.1Stvs,@localstatedir@,$localstatedir,;t t
66381.1Stvs,@libdir@,$libdir,;t t
66391.1Stvs,@includedir@,$includedir,;t t
66401.1Stvs,@oldincludedir@,$oldincludedir,;t t
66411.1Stvs,@infodir@,$infodir,;t t
66421.1Stvs,@mandir@,$mandir,;t t
66431.60Sapbs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
66441.60Sapbs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
66451.60Sapbs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
66461.60Sapbs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
66471.60Sapbs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
66481.1Stvs,@build_alias@,$build_alias,;t t
66491.1Stvs,@host_alias@,$host_alias,;t t
66501.1Stvs,@target_alias@,$target_alias,;t t
66511.1Stvs,@ECHO_C@,$ECHO_C,;t t
66521.1Stvs,@ECHO_N@,$ECHO_N,;t t
66531.1Stvs,@ECHO_T@,$ECHO_T,;t t
66541.60Sapbs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
66551.60Sapbs,@DEFS@,$DEFS,;t t
66561.1Stvs,@LIBS@,$LIBS,;t t
66571.1Stvs,@CC@,$CC,;t t
66581.1Stvs,@CFLAGS@,$CFLAGS,;t t
66591.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
66601.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
66611.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
66621.1Stvs,@EXEEXT@,$EXEEXT,;t t
66631.1Stvs,@OBJEXT@,$OBJEXT,;t t
66641.1Stvs,@CPP@,$CPP,;t t
66651.45Sjmcs,@BSHELL@,$BSHELL,;t t
66661.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
66671.1StvCEOF
66681.1Stv
66691.60SapbEOF
66701.1Stv
66711.60Sapb  cat >>$CONFIG_STATUS <<\EOF
66721.1Stv  # Split the substitutions into bite-sized pieces for seds with
66731.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
66741.1Stv  ac_max_sed_lines=48
66751.1Stv  ac_sed_frag=1 # Number of current file.
66761.1Stv  ac_beg=1 # First line for current file.
66771.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
66781.1Stv  ac_more_lines=:
66791.1Stv  ac_sed_cmds=
66801.1Stv  while $ac_more_lines; do
66811.1Stv    if test $ac_beg -gt 1; then
66821.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66831.1Stv    else
66841.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66851.1Stv    fi
66861.1Stv    if test ! -s $tmp/subs.frag; then
66871.1Stv      ac_more_lines=false
66881.1Stv    else
66891.1Stv      # The purpose of the label and of the branching condition is to
66901.1Stv      # speed up the sed processing (if there are no `@' at all, there
66911.1Stv      # is no need to browse any of the substitutions).
66921.1Stv      # These are the two extra sed commands mentioned above.
66931.1Stv      (echo ':t
66941.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
66951.1Stv      if test -z "$ac_sed_cmds"; then
66961.60Sapb  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
66971.1Stv      else
66981.60Sapb  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
66991.1Stv      fi
67001.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
67011.1Stv      ac_beg=$ac_end
67021.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
67031.1Stv    fi
67041.1Stv  done
67051.1Stv  if test -z "$ac_sed_cmds"; then
67061.1Stv    ac_sed_cmds=cat
67071.1Stv  fi
67081.1Stvfi # test -n "$CONFIG_FILES"
67091.1Stv
67101.60SapbEOF
67111.60Sapbcat >>$CONFIG_STATUS <<\EOF
67121.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
67131.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
67141.1Stv  case $ac_file in
67151.1Stv  - | *:- | *:-:* ) # input from stdin
67161.60Sapb        cat >$tmp/stdin
67171.60Sapb        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67181.60Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67191.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67201.60Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67211.1Stv  * )   ac_file_in=$ac_file.in ;;
67221.1Stv  esac
67231.1Stv
67241.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
67251.60Sapb  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67261.60Sapb         X"$ac_file" : 'X\(//\)[^/]' \| \
67271.60Sapb         X"$ac_file" : 'X\(//\)$' \| \
67281.60Sapb         X"$ac_file" : 'X\(/\)' \| \
67291.60Sapb         .     : '\(.\)' 2>/dev/null ||
67301.1Stvecho X"$ac_file" |
67311.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67321.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67331.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
67341.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
67351.1Stv  	  s/.*/./; q'`
67361.60Sapb  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
67371.60Sapb    { case "$ac_dir" in
67381.60Sapb  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
67391.60Sapb  *)                      as_incr_dir=.;;
67401.50Sjmcesac
67411.60Sapbas_dummy="$ac_dir"
67421.60Sapbfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
67431.60Sapb  case $as_mkdir_dir in
67441.60Sapb    # Skip DOS drivespec
67451.60Sapb    ?:) as_incr_dir=$as_mkdir_dir ;;
67461.60Sapb    *)
67471.60Sapb      as_incr_dir=$as_incr_dir/$as_mkdir_dir
67481.60Sapb      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
67491.60Sapb    ;;
67501.60Sapb  esac
67511.60Sapbdone; }
67521.1Stv
67531.60Sapb    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
67541.60Sapb    # A "../" for each directory in $ac_dir_suffix.
67551.60Sapb    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
67561.60Sapb  else
67571.60Sapb    ac_dir_suffix= ac_dots=
67581.60Sapb  fi
67591.1Stv
67601.60Sapb  case $srcdir in
67611.60Sapb  .)  ac_srcdir=.
67621.60Sapb      if test -z "$ac_dots"; then
67631.60Sapb         ac_top_srcdir=.
67641.60Sapb      else
67651.60Sapb         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
67661.60Sapb      fi ;;
67671.60Sapb  [\\/]* | ?:[\\/]* )
67681.60Sapb      ac_srcdir=$srcdir$ac_dir_suffix;
67691.60Sapb      ac_top_srcdir=$srcdir ;;
67701.60Sapb  *) # Relative path.
67711.60Sapb    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
67721.60Sapb    ac_top_srcdir=$ac_dots$srcdir ;;
67731.60Sapb  esac
67741.1Stv
67751.1Stv  if test x"$ac_file" != x-; then
67761.60Sapb    { echo "$as_me:6776: creating $ac_file" >&5
67771.1Stvecho "$as_me: creating $ac_file" >&6;}
67781.1Stv    rm -f "$ac_file"
67791.1Stv  fi
67801.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
67811.1Stv  # use $as_me), people would be surprised to read:
67821.60Sapb  #    /* config.h.  Generated automatically by config.status.  */
67831.60Sapb  configure_input="Generated automatically from `echo $ac_file_in |
67841.60Sapb                                                 sed 's,.*/,,'` by configure."
67851.1Stv
67861.1Stv  # First look for the input files in the build tree, otherwise in the
67871.1Stv  # src tree.
67881.1Stv  ac_file_inputs=`IFS=:
67891.1Stv    for f in $ac_file_in; do
67901.1Stv      case $f in
67911.1Stv      -) echo $tmp/stdin ;;
67921.1Stv      [\\/$]*)
67931.60Sapb         # Absolute (can't be DOS-style, as IFS=:)
67941.60Sapb         test -f "$f" || { { echo "$as_me:6794: error: cannot find input file: $f" >&5
67951.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
67961.1Stv   { (exit 1); exit 1; }; }
67971.60Sapb         echo $f;;
67981.1Stv      *) # Relative
67991.60Sapb         if test -f "$f"; then
68001.60Sapb           # Build tree
68011.60Sapb           echo $f
68021.60Sapb         elif test -f "$srcdir/$f"; then
68031.60Sapb           # Source tree
68041.60Sapb           echo $srcdir/$f
68051.60Sapb         else
68061.60Sapb           # /dev/null tree
68071.60Sapb           { { echo "$as_me:6807: error: cannot find input file: $f" >&5
68081.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
68091.1Stv   { (exit 1); exit 1; }; }
68101.60Sapb         fi;;
68111.1Stv      esac
68121.1Stv    done` || { (exit 1); exit 1; }
68131.60SapbEOF
68141.60Sapbcat >>$CONFIG_STATUS <<EOF
68151.1Stv  sed "$ac_vpsub
68161.1Stv$extrasub
68171.60SapbEOF
68181.60Sapbcat >>$CONFIG_STATUS <<\EOF
68191.1Stv:t
68201.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68211.1Stvs,@configure_input@,$configure_input,;t t
68221.1Stvs,@srcdir@,$ac_srcdir,;t t
68231.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
68241.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
68251.1Stv  rm -f $tmp/stdin
68261.1Stv  if test x"$ac_file" != x-; then
68271.1Stv    mv $tmp/out $ac_file
68281.1Stv  else
68291.1Stv    cat $tmp/out
68301.1Stv    rm -f $tmp/out
68311.1Stv  fi
68321.1Stv
68331.1Stvdone
68341.60SapbEOF
68351.60Sapbcat >>$CONFIG_STATUS <<\EOF
68361.1Stv
68371.1Stv#
68381.1Stv# CONFIG_HEADER section.
68391.1Stv#
68401.1Stv
68411.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
68421.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
68431.1Stv#
68441.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
68451.60Sapbac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
68461.60Sapbac_dB='[ 	].*$,\1#\2'
68471.1Stvac_dC=' '
68481.1Stvac_dD=',;t'
68491.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
68501.60Sapbac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
68511.1Stvac_uB='$,\1#\2define\3'
68521.1Stvac_uC=' '
68531.1Stvac_uD=',;t'
68541.1Stv
68551.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
68561.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
68571.1Stv  case $ac_file in
68581.1Stv  - | *:- | *:-:* ) # input from stdin
68591.60Sapb        cat >$tmp/stdin
68601.60Sapb        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
68611.60Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
68621.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
68631.60Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
68641.1Stv  * )   ac_file_in=$ac_file.in ;;
68651.1Stv  esac
68661.1Stv
68671.60Sapb  test x"$ac_file" != x- && { echo "$as_me:6867: creating $ac_file" >&5
68681.1Stvecho "$as_me: creating $ac_file" >&6;}
68691.1Stv
68701.1Stv  # First look for the input files in the build tree, otherwise in the
68711.1Stv  # src tree.
68721.1Stv  ac_file_inputs=`IFS=:
68731.1Stv    for f in $ac_file_in; do
68741.1Stv      case $f in
68751.1Stv      -) echo $tmp/stdin ;;
68761.1Stv      [\\/$]*)
68771.60Sapb         # Absolute (can't be DOS-style, as IFS=:)
68781.60Sapb         test -f "$f" || { { echo "$as_me:6878: error: cannot find input file: $f" >&5
68791.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
68801.1Stv   { (exit 1); exit 1; }; }
68811.60Sapb         echo $f;;
68821.1Stv      *) # Relative
68831.60Sapb         if test -f "$f"; then
68841.60Sapb           # Build tree
68851.60Sapb           echo $f
68861.60Sapb         elif test -f "$srcdir/$f"; then
68871.60Sapb           # Source tree
68881.60Sapb           echo $srcdir/$f
68891.60Sapb         else
68901.60Sapb           # /dev/null tree
68911.60Sapb           { { echo "$as_me:6891: error: cannot find input file: $f" >&5
68921.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
68931.1Stv   { (exit 1); exit 1; }; }
68941.60Sapb         fi;;
68951.1Stv      esac
68961.1Stv    done` || { (exit 1); exit 1; }
68971.1Stv  # Remove the trailing spaces.
68981.60Sapb  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
68991.1Stv
69001.60SapbEOF
69011.1Stv
69021.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
69031.1Stv# `conftest.undefs', that substitutes the proper values into
69041.1Stv# config.h.in to produce config.h.  The first handles `#define'
69051.1Stv# templates, and the second `#undef' templates.
69061.1Stv# And first: Protect against being on the right side of a sed subst in
69071.1Stv# config.status.  Protect against being in an unquoted here document
69081.1Stv# in config.status.
69091.1Stvrm -f conftest.defines conftest.undefs
69101.1Stv# Using a here document instead of a string reduces the quoting nightmare.
69111.1Stv# Putting comments in sed scripts is not portable.
69121.1Stv#
69131.1Stv# `end' is used to avoid that the second main sed command (meant for
69141.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
69151.1Stv# See the Autoconf documentation for `clear'.
69161.60Sapbcat >confdef2sed.sed <<\EOF
69171.1Stvs/[\\&,]/\\&/g
69181.1Stvs,[\\$`],\\&,g
69191.1Stvt clear
69201.1Stv: clear
69211.60Sapbs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
69221.1Stvt end
69231.60Sapbs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
69241.1Stv: end
69251.60SapbEOF
69261.1Stv# If some macros were called several times there might be several times
69271.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
69281.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
69291.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
69301.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
69311.1Stvrm -f confdef2sed.sed
69321.1Stv
69331.1Stv# This sed command replaces #undef with comments.  This is necessary, for
69341.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
69351.1Stv# on some systems where configure will not decide to define it.
69361.60Sapbcat >>conftest.undefs <<\EOF
69371.60Sapbs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
69381.60SapbEOF
69391.1Stv
69401.1Stv# Break up conftest.defines because some shells have a limit on the size
69411.1Stv# of here documents, and old seds have small limits too (100 cmds).
69421.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
69431.60Sapbecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
69441.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
69451.1Stvecho '  :' >>$CONFIG_STATUS
69461.1Stvrm -f conftest.tail
69471.1Stvwhile grep . conftest.defines >/dev/null
69481.1Stvdo
69491.1Stv  # Write a limited-size here document to $tmp/defines.sed.
69501.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
69511.1Stv  # Speed up: don't consider the non `#define' lines.
69521.60Sapb  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
69531.1Stv  # Work around the forget-to-reset-the-flag bug.
69541.1Stv  echo 't clr' >>$CONFIG_STATUS
69551.1Stv  echo ': clr' >>$CONFIG_STATUS
69561.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
69571.1Stv  echo 'CEOF
69581.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
69591.1Stv  rm -f $tmp/in
69601.1Stv  mv $tmp/out $tmp/in
69611.1Stv' >>$CONFIG_STATUS
69621.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
69631.1Stv  rm -f conftest.defines
69641.1Stv  mv conftest.tail conftest.defines
69651.1Stvdone
69661.1Stvrm -f conftest.defines
69671.60Sapbecho '  fi # egrep' >>$CONFIG_STATUS
69681.1Stvecho >>$CONFIG_STATUS
69691.1Stv
69701.1Stv# Break up conftest.undefs because some shells have a limit on the size
69711.1Stv# of here documents, and old seds have small limits too (100 cmds).
69721.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
69731.1Stvrm -f conftest.tail
69741.1Stvwhile grep . conftest.undefs >/dev/null
69751.1Stvdo
69761.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
69771.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
69781.1Stv  # Speed up: don't consider the non `#undef'
69791.60Sapb  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
69801.1Stv  # Work around the forget-to-reset-the-flag bug.
69811.1Stv  echo 't clr' >>$CONFIG_STATUS
69821.1Stv  echo ': clr' >>$CONFIG_STATUS
69831.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
69841.1Stv  echo 'CEOF
69851.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
69861.1Stv  rm -f $tmp/in
69871.1Stv  mv $tmp/out $tmp/in
69881.1Stv' >>$CONFIG_STATUS
69891.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
69901.1Stv  rm -f conftest.undefs
69911.1Stv  mv conftest.tail conftest.undefs
69921.1Stvdone
69931.1Stvrm -f conftest.undefs
69941.1Stv
69951.60Sapbcat >>$CONFIG_STATUS <<\EOF
69961.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
69971.1Stv  # use $as_me), people would be surprised to read:
69981.60Sapb  #    /* config.h.  Generated automatically by config.status.  */
69991.1Stv  if test x"$ac_file" = x-; then
70001.60Sapb    echo "/* Generated automatically by configure.  */" >$tmp/config.h
70011.1Stv  else
70021.60Sapb    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
70031.1Stv  fi
70041.1Stv  cat $tmp/in >>$tmp/config.h
70051.1Stv  rm -f $tmp/in
70061.1Stv  if test x"$ac_file" != x-; then
70071.60Sapb    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
70081.60Sapb      { echo "$as_me:7008: $ac_file is unchanged" >&5
70091.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
70101.1Stv    else
70111.60Sapb      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
70121.60Sapb         X"$ac_file" : 'X\(//\)[^/]' \| \
70131.60Sapb         X"$ac_file" : 'X\(//\)$' \| \
70141.60Sapb         X"$ac_file" : 'X\(/\)' \| \
70151.60Sapb         .     : '\(.\)' 2>/dev/null ||
70161.1Stvecho X"$ac_file" |
70171.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
70181.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
70191.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
70201.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
70211.1Stv  	  s/.*/./; q'`
70221.60Sapb      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
70231.60Sapb        { case "$ac_dir" in
70241.60Sapb  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
70251.60Sapb  *)                      as_incr_dir=.;;
70261.60Sapbesac
70271.60Sapbas_dummy="$ac_dir"
70281.60Sapbfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
70291.60Sapb  case $as_mkdir_dir in
70301.60Sapb    # Skip DOS drivespec
70311.60Sapb    ?:) as_incr_dir=$as_mkdir_dir ;;
70321.60Sapb    *)
70331.60Sapb      as_incr_dir=$as_incr_dir/$as_mkdir_dir
70341.60Sapb      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
70351.60Sapb    ;;
70361.60Sapb  esac
70371.60Sapbdone; }
70381.1Stv
70391.60Sapb      fi
70401.1Stv      rm -f $ac_file
70411.1Stv      mv $tmp/config.h $ac_file
70421.1Stv    fi
70431.1Stv  else
70441.1Stv    cat $tmp/config.h
70451.1Stv    rm -f $tmp/config.h
70461.1Stv  fi
70471.1Stvdone
70481.60SapbEOF
70491.1Stv
70501.60Sapbcat >>$CONFIG_STATUS <<\EOF
70511.1Stv
70521.1Stv{ (exit 0); exit 0; }
70531.60SapbEOF
70541.1Stvchmod +x $CONFIG_STATUS
70551.1Stvac_clean_files=$ac_clean_files_save
70561.1Stv
70571.1Stv# configure is writing to config.log, and then calls config.status.
70581.1Stv# config.status does its own redirection, appending to config.log.
70591.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
70601.1Stv# by configure, so config.status won't be able to write to it; its
70611.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
70621.1Stv# effectively closing config.log, so it can be properly (re)opened and
70631.1Stv# appended to by config.status.  When coming back to configure, we
70641.1Stv# need to make the FD available again.
70651.1Stvif test "$no_create" != yes; then
70661.1Stv  ac_cs_success=:
70671.1Stv  exec 5>/dev/null
70681.60Sapb  $SHELL $CONFIG_STATUS || ac_cs_success=false
70691.1Stv  exec 5>>config.log
70701.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
70711.1Stv  # would make configure fail if this is the last instruction.
70721.1Stv  $ac_cs_success || { (exit 1); exit 1; }
70731.1Stvfi
70741.1Stv
7075