configure revision 1.78
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.76Spooka# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.76Spooka# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.76Spooka# 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.74Schristos
121.76Spooka# Avoid depending upon Character Ranges.
131.76Spookaas_cr_letters='abcdefghijklmnopqrstuvwxyz'
141.76Spookaas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
151.76Spookaas_cr_Letters=$as_cr_letters$as_cr_LETTERS
161.76Spookaas_cr_digits='0123456789'
171.76Spookaas_cr_alnum=$as_cr_Letters$as_cr_digits
181.74Schristos
191.76Spooka# Sed expression to map a string onto a valid variable name.
201.76Spookaas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.74Schristos
221.76Spooka# Sed expression to map a string onto a valid CPP name.
231.76Spookaas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.65Schristos
251.76Spooka# Be Bourne compatible
261.76Spookaif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.65Schristos  emulate sh
281.65Schristos  NULLCMD=:
291.76Spookaelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.76Spooka  set -o posix
311.65Schristosfi
321.61Schristos
331.76Spooka# Name of the executable.
341.76Spookaas_me=`echo "$0" |sed 's,.*[\\/],,'`
351.61Schristos
361.76Spookaif 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.76Spookaecho >conf$$.file
441.76Spookaif ln -s conf$$.file conf$$ 2>/dev/null; then
451.76Spooka  # We could just check for DJGPP; but this test a) works b) is more generic
461.76Spooka  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.76Spooka  if test -f conf$$.exe; then
481.76Spooka    # Don't use ln at all; we don't have any links
491.76Spooka    as_ln_s='cp -p'
501.76Spooka  else
511.74Schristos    as_ln_s='ln -s'
521.66Stsutsui  fi
531.76Spookaelif ln conf$$.file conf$$ 2>/dev/null; then
541.76Spooka  as_ln_s=ln
551.1Stvelse
561.76Spooka  as_ln_s='cp -p'
571.1Stvfi
581.76Spookarm -f conf$$ conf$$.exe conf$$.file
591.76Spooka
601.76Spookaas_executable_p="test -f"
611.63Sapb
621.76Spooka# Support unset when possible.
631.76Spookaif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.76Spooka  as_unset=unset
651.61Schristoselse
661.76Spooka  as_unset=false
671.61Schristosfi
681.65Schristos
691.76Spooka# NLS nuisances.
701.76Spooka$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.76Spooka$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.76Spooka$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.76Spooka$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.76Spooka$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.76Spooka$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.76Spooka$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.76Spooka$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.74Schristos
791.76Spooka# IFS
801.76Spooka# We need space, tab and new line, in precisely that order.
811.76Spookaas_nl='
821.76Spooka'
831.76SpookaIFS=" 	$as_nl"
841.74Schristos
851.76Spooka# CDPATH.
861.76Spooka$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
871.1Stv
881.1Stv# Name of the host.
891.76Spooka# 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.76Spookaexec 6>&1
941.76Spooka
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.76SpookaMFLAGS= MAKEFLAGS=
1021.76SpookaSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.76Spooka# Maximum number of lines to put in a shell here document.
1051.76Spooka# This variable seems obsolete.  It should probably be removed, and
1061.76Spooka# only ac_max_sed_lines should be used.
1071.76Spooka: ${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.76Spooka#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.76Spooka#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.76Spooka#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.76Spooka# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.76Spooka#if HAVE_STRING_H
1271.76Spooka# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.76Spooka#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.76Spooka#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.76Spooka#else
1381.76Spooka# if HAVE_STDINT_H
1391.76Spooka#  include <stdint.h>
1401.76Spooka# endif
1411.1Stv#endif
1421.76Spooka#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.76Spookadatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.76Spookalibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.76Spookainfodir='${prefix}/info'
1821.76Spookamandir='${prefix}/man'
1831.76Spooka
1841.76Spooka# Identity of this package.
1851.76SpookaPACKAGE_NAME='libnbcompat'
1861.76SpookaPACKAGE_TARNAME='libnbcompat'
1871.76SpookaPACKAGE_VERSION='noversion'
1881.76SpookaPACKAGE_STRING='libnbcompat noversion'
1891.76SpookaPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
1901.63Sapb
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.76Spooka    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.76Spooka  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.76Spooka  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.76Spooka  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.76Spooka  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.76Spooka  | --da=*)
2311.1Stv    datadir=$ac_optarg ;;
2321.1Stv
2331.1Stv  -disable-* | --disable-*)
2341.76Spooka    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2351.1Stv    # Reject names that are not valid shell variable names.
2361.76Spooka    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2371.76Spooka      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2381.76Spooka   { (exit 1); exit 1; }; }
2391.76Spooka    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.76Spooka    eval "enable_$ac_feature=no" ;;
2411.1Stv
2421.1Stv  -enable-* | --enable-*)
2431.76Spooka    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2441.1Stv    # Reject names that are not valid shell variable names.
2451.76Spooka    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2461.76Spooka      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2471.76Spooka   { (exit 1); exit 1; }; }
2481.76Spooka    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.76Spooka    case $ac_option in
2501.76Spooka      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.76Spooka      *) ac_optarg=yes ;;
2521.66Stsutsui    esac
2531.76Spooka    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.76Spooka  | --localstate | --localstat | --localsta | --localst \
3061.76Spooka  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.76Spooka  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.76Spooka  | --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.76Spooka  | --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.76Spooka    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4261.1Stv    # Reject names that are not valid shell variable names.
4271.76Spooka    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4281.76Spooka      { echo "$as_me: error: invalid package name: $ac_package" >&2
4291.76Spooka   { (exit 1); exit 1; }; }
4301.76Spooka    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.76Spooka    case $ac_option in
4321.76Spooka      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.76Spooka      *) ac_optarg=yes ;;
4341.66Stsutsui    esac
4351.76Spooka    eval "with_$ac_package='$ac_optarg'" ;;
4361.1Stv
4371.1Stv  -without-* | --without-*)
4381.76Spooka    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4391.1Stv    # Reject names that are not valid shell variable names.
4401.76Spooka    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4411.76Spooka      { echo "$as_me: error: invalid package name: $ac_package" >&2
4421.76Spooka   { (exit 1); exit 1; }; }
4431.76Spooka    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.76Spooka    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.76Spooka  -*) { echo "$as_me: error: unrecognized option: $ac_option
4651.76SpookaTry \`$0 --help' for more information." >&2
4661.76Spooka   { (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.76Spooka    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4731.76Spooka      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4741.76Spooka   { (exit 1); exit 1; }; }
4751.76Spooka    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.76Spooka    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.76Spooka    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4821.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4831.76Spooka      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4841.76Spooka    : ${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.76Spooka  { echo "$as_me: error: missing argument to $ac_option" >&2
4931.76Spooka   { (exit 1); exit 1; }; }
4941.74Schristosfi
4951.74Schristos
4961.76Spooka# Be sure to have absolute paths.
4971.76Spookafor ac_var in exec_prefix prefix
4981.76Spookado
4991.76Spooka  eval ac_val=$`echo $ac_var`
5001.76Spooka  case $ac_val in
5011.76Spooka    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.76Spooka    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.76Spooka   { (exit 1); exit 1; }; };;
5041.74Schristos  esac
5051.76Spookadone
5061.1Stv
5071.76Spooka# Be sure to have absolute paths.
5081.76Spookafor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.76Spooka              localstatedir libdir includedir oldincludedir infodir mandir
5101.66Stsutsuido
5111.76Spooka  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.76Spooka    [\\/$]* | ?:[\\/]* ) ;;
5141.76Spooka    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.76Spooka   { (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.76Spooka# 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.76Spooka    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5301.76Spooka    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.76Spooka  # Try the directory containing this script, then its parent.
5451.76Spooka  ac_prog=$0
5461.76Spooka  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.76Spooka  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.76Spooka  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.76Spookaif test ! -r $srcdir/$ac_unique_file; then
5561.76Spooka  if test "$ac_srcdir_defaulted" = yes; then
5571.76Spooka    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.76Spooka   { (exit 1); exit 1; }; }
5591.76Spooka  else
5601.76Spooka    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.76Spooka   { (exit 1); exit 1; }; }
5621.76Spooka  fi
5631.76Spookafi
5641.76Spookasrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.76Spookaac_env_build_alias_set=${build_alias+set}
5661.76Spookaac_env_build_alias_value=$build_alias
5671.76Spookaac_cv_env_build_alias_set=${build_alias+set}
5681.76Spookaac_cv_env_build_alias_value=$build_alias
5691.76Spookaac_env_host_alias_set=${host_alias+set}
5701.76Spookaac_env_host_alias_value=$host_alias
5711.76Spookaac_cv_env_host_alias_set=${host_alias+set}
5721.76Spookaac_cv_env_host_alias_value=$host_alias
5731.76Spookaac_env_target_alias_set=${target_alias+set}
5741.76Spookaac_env_target_alias_value=$target_alias
5751.76Spookaac_cv_env_target_alias_set=${target_alias+set}
5761.76Spookaac_cv_env_target_alias_value=$target_alias
5771.76Spookaac_env_CC_set=${CC+set}
5781.76Spookaac_env_CC_value=$CC
5791.76Spookaac_cv_env_CC_set=${CC+set}
5801.76Spookaac_cv_env_CC_value=$CC
5811.76Spookaac_env_CFLAGS_set=${CFLAGS+set}
5821.76Spookaac_env_CFLAGS_value=$CFLAGS
5831.76Spookaac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.76Spookaac_cv_env_CFLAGS_value=$CFLAGS
5851.76Spookaac_env_LDFLAGS_set=${LDFLAGS+set}
5861.76Spookaac_env_LDFLAGS_value=$LDFLAGS
5871.76Spookaac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.76Spookaac_cv_env_LDFLAGS_value=$LDFLAGS
5891.76Spookaac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.76Spookaac_env_CPPFLAGS_value=$CPPFLAGS
5911.76Spookaac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.76Spookaac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.76Spookaac_env_CPP_set=${CPP+set}
5941.76Spookaac_env_CPP_value=$CPP
5951.76Spookaac_cv_env_CPP_set=${CPP+set}
5961.76Spookaac_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.76Spooka  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.76Spooka  -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.76SpookaEOF
6261.76Spooka
6271.76Spooka  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.66Stsutsui                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.66Stsutsui                          [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.76Spooka  --bindir=DIR           user executables [EPREFIX/bin]
6431.76Spooka  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6441.76Spooka  --libexecdir=DIR       program executables [EPREFIX/libexec]
6451.76Spooka  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
6461.76Spooka  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6471.76Spooka  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6481.76Spooka  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6491.76Spooka  --libdir=DIR           object code libraries [EPREFIX/lib]
6501.76Spooka  --includedir=DIR       C header files [PREFIX/include]
6511.76Spooka  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6521.76Spooka  --infodir=DIR          info documentation [PREFIX/info]
6531.76Spooka  --mandir=DIR           man documentation [PREFIX/man]
6541.76SpookaEOF
6551.1Stv
6561.76Spooka  cat <<\EOF
6571.76SpookaEOF
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.76Spooka  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.76Spooka  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.76Spooka              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.76SpookaEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.76Spooka  ac_popdir=`pwd`
6851.76Spooka  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.76Spooka    cd $ac_subdir
6871.76Spooka    # A "../" for each directory in /$ac_subdir.
6881.76Spooka    ac_dots=`echo $ac_subdir |
6891.76Spooka             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.76Spooka
6911.76Spooka    case $srcdir in
6921.76Spooka    .) # No --srcdir option.  We are building in place.
6931.76Spooka      ac_sub_srcdir=$srcdir ;;
6941.76Spooka    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.76Spooka      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.76Spooka    *) # Relative path.
6971.76Spooka      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.76Spooka    esac
6991.1Stv
7001.76Spooka    # Check for guested configure; otherwise get Cygnus style configure.
7011.76Spooka    if test -f $ac_sub_srcdir/configure.gnu; then
7021.76Spooka      echo
7031.76Spooka      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.76Spooka    elif test -f $ac_sub_srcdir/configure; then
7051.76Spooka      echo
7061.76Spooka      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.76Spooka    elif test -f $ac_sub_srcdir/configure.ac ||
7081.76Spooka           test -f $ac_sub_srcdir/configure.in; then
7091.76Spooka      echo
7101.76Spooka      $ac_configure --help
7111.65Schristos    else
7121.76Spooka      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.76Spooka    fi
7141.76Spooka    cd $ac_popdir
7151.65Schristos  done
7161.1Stvfi
7171.1Stv
7181.76Spookatest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.76Spooka  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.76Spookagenerated by GNU Autoconf 2.52
7231.1Stv
7241.76SpookaCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.76SpookaFree 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.76SpookaEOF
7291.76Spooka  exit 0
7301.1Stvfi
7311.76Spookaexec 5>config.log
7321.76Spookacat >&5 <<EOF
7331.76SpookaThis file contains any messages produced by compilers while
7341.76Spookarunning configure, to aid debugging if configure makes a mistake.
7351.1Stv
7361.76SpookaIt was created by libnbcompat $as_me noversion, which was
7371.76Spookagenerated by GNU Autoconf 2.52.  Invocation command line was
7381.74Schristos
7391.76Spooka  $ $0 $@
7401.1Stv
7411.76SpookaEOF
7421.74Schristos{
7431.76Spookacat <<_ASUNAME
7441.76Spooka## ---------- ##
7451.76Spooka## Platform.  ##
7461.76Spooka## ---------- ##
7471.74Schristos
7481.76Spookahostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7491.76Spookauname -m = `(uname -m) 2>/dev/null || echo unknown`
7501.76Spookauname -r = `(uname -r) 2>/dev/null || echo unknown`
7511.76Spookauname -s = `(uname -s) 2>/dev/null || echo unknown`
7521.76Spookauname -v = `(uname -v) 2>/dev/null || echo unknown`
7531.74Schristos
7541.76Spooka/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7551.76Spooka/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7561.1Stv
7571.76Spooka/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7581.76Spooka/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7591.76Spooka/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7601.76Spookahostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
7611.76Spooka/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7621.76Spooka/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7631.76Spooka/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7641.1Stv
7651.76SpookaPATH = $PATH
7661.1Stv
7671.76Spooka_ASUNAME
7681.76Spooka} >&5
7691.1Stv
7701.76Spookacat >&5 <<EOF
7711.76Spooka## ------------ ##
7721.76Spooka## Core tests.  ##
7731.76Spooka## ------------ ##
7741.66Stsutsui
7751.76SpookaEOF
7761.1Stv
7771.76Spooka# Keep a trace of the command line.
7781.76Spooka# Strip out --no-create and --no-recursion so they do not pile up.
7791.76Spooka# Also quote any args containing shell meta-characters.
7801.76Spookaac_configure_args=
7811.76Spookaac_sep=
7821.76Spookafor ac_arg
7831.76Spookado
7841.76Spooka  case $ac_arg in
7851.76Spooka  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.76Spooka  | --no-cr | --no-c) ;;
7871.76Spooka  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.76Spooka  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.76Spooka  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.76Spooka    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.76Spooka    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.76Spooka    ac_sep=" " ;;
7931.76Spooka  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.76Spooka     ac_sep=" " ;;
7951.76Spooka  esac
7961.76Spooka  # 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.76Spooka  echo >&5
8051.76Spooka  echo "## ----------------- ##" >&5
8061.76Spooka  echo "## Cache variables.  ##" >&5
8071.76Spooka  echo "## ----------------- ##" >&5
8081.76Spooka  echo >&5
8091.76Spooka  # The following way of writing the cache mishandles newlines in values,
8101.76Spooka{
8111.1Stv  (set) 2>&1 |
8121.76Spooka    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.76Spooka    *ac_space=\ *)
8141.1Stv      sed -n \
8151.76Spooka        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.76Spooka    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.76Spooka      ;;
8181.1Stv    *)
8191.76Spooka      sed -n \
8201.76Spooka        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.76Spooka    esac;
8231.76Spooka} >&5
8241.76Spooka  sed "/^$/d" confdefs.h >conftest.log
8251.76Spooka  if test -s conftest.log; then
8261.76Spooka    echo >&5
8271.76Spooka    echo "## ------------ ##" >&5
8281.76Spooka    echo "## confdefs.h.  ##" >&5
8291.76Spooka    echo "## ------------ ##" >&5
8301.76Spooka    echo >&5
8311.76Spooka    cat conftest.log >&5
8321.76Spooka  fi
8331.76Spooka  (echo; echo) >&5
8341.76Spooka  test "$ac_signal" != 0 &&
8351.76Spooka    echo "$as_me: caught signal $ac_signal" >&5
8361.76Spooka  echo "$as_me: exit $exit_status" >&5
8371.76Spooka  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.76Spooka     ' 0
8401.1Stvfor ac_signal in 1 2 13 15; do
8411.76Spooka  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.76Spookarm -rf conftest* confdefs.h
8471.76Spooka# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.76Spookaecho >confdefs.h
8491.1Stv
8501.1Stv# Let the site file select an alternate cache file if it wants to.
8511.76Spooka# Prefer explicitly selected file to automatically selected ones.
8521.76Spookaif test -z "$CONFIG_SITE"; then
8531.76Spooka  if test "x$prefix" != xNONE; then
8541.76Spooka    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.76Spooka  else
8561.76Spooka    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.76Spooka  fi
8581.1Stvfi
8591.76Spookafor ac_site_file in $CONFIG_SITE; do
8601.76Spooka  if test -r "$ac_site_file"; then
8611.76Spooka    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.76Spookaecho "$as_me: loading site script $ac_site_file" >&6;}
8631.76Spooka    cat "$ac_site_file" >&5
8641.76Spooka    . "$ac_site_file"
8651.1Stv  fi
8661.1Stvdone
8671.1Stv
8681.1Stvif test -r "$cache_file"; then
8691.76Spooka  # Some versions of bash will fail to source /dev/null (special
8701.76Spooka  # files actually), so we avoid doing that.
8711.76Spooka  if test -f "$cache_file"; then
8721.76Spooka    { echo "$as_me:872: loading cache $cache_file" >&5
8731.76Spookaecho "$as_me: loading cache $cache_file" >&6;}
8741.1Stv    case $cache_file in
8751.76Spooka      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.76Spooka      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.76Spooka  { echo "$as_me:880: creating cache $cache_file" >&5
8811.76Spookaecho "$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.76Spookafor ac_var in `(set) 2>&1 |
8891.76Spooka               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.76Spooka  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.76Spooka  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.76Spooka      { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8971.76Spookaecho "$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.76Spooka      { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
9011.76Spookaecho "$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.76Spooka        { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
9071.76Spookaecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9081.76Spooka        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.76Spookaecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.76Spooka        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.76Spookaecho "$as_me:   current value: $ac_new_val" >&2;}
9121.76Spooka        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.76Spooka  # Pass precious variables to config.status.  It doesn't matter if
9161.76Spooka  # 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.76Spooka    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.76Spooka      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.76Spooka      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.76Spooka      ;;
9231.76Spooka    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.76Spooka       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.76Spooka  { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
9301.76Spookaecho "$as_me: error: changes in the environment can compromise the build" >&2;}
9311.76Spooka  { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
9321.76Spookaecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9331.76Spooka   { (exit 1); exit 1; }; }
9341.76Spookafi
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.76Spookacase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.76Spooka  *c*,-n*) ECHO_N= ECHO_C='
9441.76Spooka' ECHO_T='	' ;;
9451.76Spooka  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.76Spooka  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.76Spookaesac
9481.76Spookaecho "#! $SHELL" >conftest.sh
9491.76Spookaecho  "exit 0"   >>conftest.sh
9501.76Spookachmod +x conftest.sh
9511.76Spookaif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.76Spooka  (PATH=".;."; conftest.sh) 2>&5
9531.76Spooka  ac_status=$?
9541.76Spooka  echo "$as_me:954: \$? = $ac_status" >&5
9551.76Spooka  (exit $ac_status); }; then
9561.76Spooka  ac_path_separator=';'
9571.76Spookaelse
9581.76Spooka  ac_path_separator=:
9591.76Spookafi
9601.76SpookaPATH_SEPARATOR="$ac_path_separator"
9611.76Spookarm -f conftest.sh
9621.1Stv
9631.63Sapbac_config_headers="$ac_config_headers nbtool_config.h"
9641.1Stv
9651.63Sapbac_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.76Spookaecho "$as_me:979: checking for $ac_word" >&5
9801.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811.76Spookaif test "${ac_cv_prog_CC+set}" = set; then
9821.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
9881.76Spookaac_dummy="$PATH"
9891.76Spookafor ac_dir in $ac_dummy; do
9901.76Spooka  IFS=$ac_save_IFS
9911.76Spooka  test -z "$ac_dir" && ac_dir=.
9921.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
9931.76Spookaac_cv_prog_CC="${ac_tool_prefix}gcc"
9941.76Spookaecho "$as_me:994: found $ac_dir/$ac_word" >&5
9951.76Spookabreak
9961.1Stvdone
9971.1Stv
9981.1Stvfi
9991.1Stvfi
10001.1StvCC=$ac_cv_prog_CC
10011.1Stvif test -n "$CC"; then
10021.76Spooka  echo "$as_me:1002: result: $CC" >&5
10031.76Spookaecho "${ECHO_T}$CC" >&6
10041.1Stvelse
10051.76Spooka  echo "$as_me:1005: result: no" >&5
10061.76Spookaecho "${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.76Spookaecho "$as_me:1014: checking for $ac_word" >&5
10151.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10161.76Spookaif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10171.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
10231.76Spookaac_dummy="$PATH"
10241.76Spookafor ac_dir in $ac_dummy; do
10251.76Spooka  IFS=$ac_save_IFS
10261.76Spooka  test -z "$ac_dir" && ac_dir=.
10271.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
10281.76Spookaac_cv_prog_ac_ct_CC="gcc"
10291.76Spookaecho "$as_me:1029: found $ac_dir/$ac_word" >&5
10301.76Spookabreak
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.76Spooka  echo "$as_me:1037: result: $ac_ct_CC" >&5
10381.76Spookaecho "${ECHO_T}$ac_ct_CC" >&6
10391.1Stvelse
10401.76Spooka  echo "$as_me:1040: result: no" >&5
10411.76Spookaecho "${ECHO_T}no" >&6
10421.1Stvfi
10431.1Stv
10441.76Spooka  CC=$ac_ct_CC
10451.1Stvelse
10461.1Stv  CC="$ac_cv_prog_CC"
10471.1Stvfi
10481.1Stv
10491.1Stvif test -z "$CC"; then
10501.76Spooka  if test -n "$ac_tool_prefix"; then
10511.76Spooka  # 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.76Spookaecho "$as_me:1053: checking for $ac_word" >&5
10541.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10551.76Spookaif test "${ac_cv_prog_CC+set}" = set; then
10561.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
10621.76Spookaac_dummy="$PATH"
10631.76Spookafor ac_dir in $ac_dummy; do
10641.76Spooka  IFS=$ac_save_IFS
10651.76Spooka  test -z "$ac_dir" && ac_dir=.
10661.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
10671.76Spookaac_cv_prog_CC="${ac_tool_prefix}cc"
10681.76Spookaecho "$as_me:1068: found $ac_dir/$ac_word" >&5
10691.76Spookabreak
10701.65Schristosdone
10711.1Stv
10721.1Stvfi
10731.1Stvfi
10741.1StvCC=$ac_cv_prog_CC
10751.1Stvif test -n "$CC"; then
10761.76Spooka  echo "$as_me:1076: result: $CC" >&5
10771.76Spookaecho "${ECHO_T}$CC" >&6
10781.76Spookaelse
10791.76Spooka  echo "$as_me:1079: result: no" >&5
10801.76Spookaecho "${ECHO_T}no" >&6
10811.76Spookafi
10821.76Spooka
10831.76Spookafi
10841.76Spookaif test -z "$ac_cv_prog_CC"; then
10851.76Spooka  ac_ct_CC=$CC
10861.76Spooka  # Extract the first word of "cc", so it can be a program name with args.
10871.76Spookaset dummy cc; ac_word=$2
10881.76Spookaecho "$as_me:1088: checking for $ac_word" >&5
10891.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10901.76Spookaif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10911.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
10921.76Spookaelse
10931.76Spooka  if test -n "$ac_ct_CC"; then
10941.76Spooka  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10951.76Spookaelse
10961.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
10971.76Spookaac_dummy="$PATH"
10981.76Spookafor ac_dir in $ac_dummy; do
10991.76Spooka  IFS=$ac_save_IFS
11001.76Spooka  test -z "$ac_dir" && ac_dir=.
11011.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
11021.76Spookaac_cv_prog_ac_ct_CC="cc"
11031.76Spookaecho "$as_me:1103: found $ac_dir/$ac_word" >&5
11041.76Spookabreak
11051.76Spookadone
11061.76Spooka
11071.76Spookafi
11081.76Spookafi
11091.76Spookaac_ct_CC=$ac_cv_prog_ac_ct_CC
11101.76Spookaif test -n "$ac_ct_CC"; then
11111.76Spooka  echo "$as_me:1111: result: $ac_ct_CC" >&5
11121.76Spookaecho "${ECHO_T}$ac_ct_CC" >&6
11131.66Stsutsuielse
11141.76Spooka  echo "$as_me:1114: result: no" >&5
11151.76Spookaecho "${ECHO_T}no" >&6
11161.66Stsutsuifi
11171.66Stsutsui
11181.76Spooka  CC=$ac_ct_CC
11191.76Spookaelse
11201.76Spooka  CC="$ac_cv_prog_CC"
11211.76Spookafi
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.76Spookaecho "$as_me:1127: checking for $ac_word" >&5
11281.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11291.76Spookaif test "${ac_cv_prog_CC+set}" = set; then
11301.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
11371.76Spookaac_dummy="$PATH"
11381.76Spookafor ac_dir in $ac_dummy; do
11391.76Spooka  IFS=$ac_save_IFS
11401.76Spooka  test -z "$ac_dir" && ac_dir=.
11411.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
11421.76Spookaif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11431.76Spooka  ac_prog_rejected=yes
11441.76Spooka  continue
11451.76Spookafi
11461.76Spookaac_cv_prog_CC="cc"
11471.76Spookaecho "$as_me:1147: found $ac_dir/$ac_word" >&5
11481.76Spookabreak
11491.65Schristosdone
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.76Spooka    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11611.76Spooka    shift
11621.76Spooka    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.76Spooka  echo "$as_me:1169: result: $CC" >&5
11701.76Spookaecho "${ECHO_T}$CC" >&6
11711.1Stvelse
11721.76Spooka  echo "$as_me:1172: result: no" >&5
11731.76Spookaecho "${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.76Spooka  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.76Spookaecho "$as_me:1183: checking for $ac_word" >&5
11841.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11851.76Spookaif test "${ac_cv_prog_CC+set}" = set; then
11861.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
11921.76Spookaac_dummy="$PATH"
11931.76Spookafor ac_dir in $ac_dummy; do
11941.76Spooka  IFS=$ac_save_IFS
11951.76Spooka  test -z "$ac_dir" && ac_dir=.
11961.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
11971.76Spookaac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11981.76Spookaecho "$as_me:1198: found $ac_dir/$ac_word" >&5
11991.76Spookabreak
12001.1Stvdone
12011.1Stv
12021.1Stvfi
12031.1Stvfi
12041.1StvCC=$ac_cv_prog_CC
12051.1Stvif test -n "$CC"; then
12061.76Spooka  echo "$as_me:1206: result: $CC" >&5
12071.76Spookaecho "${ECHO_T}$CC" >&6
12081.1Stvelse
12091.76Spooka  echo "$as_me:1209: result: no" >&5
12101.76Spookaecho "${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.76Spooka  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.76Spookaecho "$as_me:1222: checking for $ac_word" >&5
12231.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241.76Spookaif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12251.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
12311.76Spookaac_dummy="$PATH"
12321.76Spookafor ac_dir in $ac_dummy; do
12331.76Spooka  IFS=$ac_save_IFS
12341.76Spooka  test -z "$ac_dir" && ac_dir=.
12351.76Spooka  $as_executable_p "$ac_dir/$ac_word" || continue
12361.76Spookaac_cv_prog_ac_ct_CC="$ac_prog"
12371.76Spookaecho "$as_me:1237: found $ac_dir/$ac_word" >&5
12381.76Spookabreak
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.76Spooka  echo "$as_me:1245: result: $ac_ct_CC" >&5
12461.76Spookaecho "${ECHO_T}$ac_ct_CC" >&6
12471.1Stvelse
12481.76Spooka  echo "$as_me:1248: result: no" >&5
12491.76Spookaecho "${ECHO_T}no" >&6
12501.1Stvfi
12511.1Stv
12521.1Stv  test -n "$ac_ct_CC" && break
12531.1Stvdone
12541.1Stv
12551.76Spooka  CC=$ac_ct_CC
12561.1Stvfi
12571.1Stv
12581.1Stvfi
12591.1Stv
12601.76Spookatest -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
12611.76Spookaecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
12621.76Spooka   { (exit 1); exit 1; }; }
12631.1Stv
12641.1Stv# Provide some information about the compiler.
12651.76Spookaecho "$as_me:1265:" \
12661.76Spooka     "checking for C compiler version" >&5
12671.76Spookaac_compiler=`set X $ac_compile; echo $2`
12681.76Spooka{ (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
12691.76Spooka  (eval $ac_compiler --version </dev/null >&5) 2>&5
12701.76Spooka  ac_status=$?
12711.76Spooka  echo "$as_me:1271: \$? = $ac_status" >&5
12721.76Spooka  (exit $ac_status); }
12731.76Spooka{ (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
12741.76Spooka  (eval $ac_compiler -v </dev/null >&5) 2>&5
12751.76Spooka  ac_status=$?
12761.76Spooka  echo "$as_me:1276: \$? = $ac_status" >&5
12771.76Spooka  (exit $ac_status); }
12781.76Spooka{ (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
12791.76Spooka  (eval $ac_compiler -V </dev/null >&5) 2>&5
12801.1Stv  ac_status=$?
12811.76Spooka  echo "$as_me:1281: \$? = $ac_status" >&5
12821.76Spooka  (exit $ac_status); }
12831.1Stv
12841.76Spookacat >conftest.$ac_ext <<_ACEOF
12851.76Spooka#line 1285 "configure"
12861.76Spooka#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.76Spookaac_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.76Spookaecho "$as_me:1301: checking for C compiler default output" >&5
13021.76Spookaecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13031.76Spookaac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13041.76Spookaif { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
13051.76Spooka  (eval $ac_link_default) 2>&5
13061.76Spooka  ac_status=$?
13071.76Spooka  echo "$as_me:1307: \$? = $ac_status" >&5
13081.76Spooka  (exit $ac_status); }; then
13091.76Spooka  # Find the output, starting from the most likely.  This scheme is
13101.76Spooka# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13111.76Spooka# resort.
13121.76Spookafor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13131.76Spooka                ls a.out conftest 2>/dev/null;
13141.76Spooka                ls a.* conftest.* 2>/dev/null`; do
13151.74Schristos  case $ac_file in
13161.76Spooka    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13171.76Spooka    a.out ) # We found the default executable, but exeext='' is most
13181.76Spooka            # certainly right.
13191.76Spooka            break;;
13201.76Spooka    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13211.76Spooka          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13221.76Spooka          export ac_cv_exeext
13231.76Spooka          break;;
13241.76Spooka    * ) break;;
13251.1Stv  esac
13261.1Stvdone
13271.1Stvelse
13281.76Spooka  echo "$as_me: failed program was:" >&5
13291.76Spookacat conftest.$ac_ext >&5
13301.76Spooka{ { echo "$as_me:1330: error: C compiler cannot create executables" >&5
13311.76Spookaecho "$as_me: error: C compiler cannot create executables" >&2;}
13321.76Spooka   { (exit 77); exit 77; }; }
13331.1Stvfi
13341.1Stv
13351.76Spookaac_exeext=$ac_cv_exeext
13361.76Spookaecho "$as_me:1336: result: $ac_file" >&5
13371.76Spookaecho "${ECHO_T}$ac_file" >&6
13381.76Spooka
13391.76Spooka# Check the compiler produces executables we can run.  If not, either
13401.76Spooka# the compiler is broken, or we cross compile.
13411.76Spookaecho "$as_me:1341: checking whether the C compiler works" >&5
13421.76Spookaecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13431.76Spooka# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13441.76Spooka# If not cross compiling, check that we can run a simple program.
13451.76Spookaif test "$cross_compiling" != yes; then
13461.76Spooka  if { ac_try='./$ac_file'
13471.76Spooka  { (eval echo "$as_me:1347: \"$ac_try\"") >&5
13481.76Spooka  (eval $ac_try) 2>&5
13491.76Spooka  ac_status=$?
13501.76Spooka  echo "$as_me:1350: \$? = $ac_status" >&5
13511.76Spooka  (exit $ac_status); }; }; then
13521.76Spooka    cross_compiling=no
13531.76Spooka  else
13541.76Spooka    if test "$cross_compiling" = maybe; then
13551.76Spooka	cross_compiling=yes
13561.76Spooka    else
13571.76Spooka	{ { echo "$as_me:1357: error: cannot run C compiled programs.
13581.76SpookaIf you meant to cross compile, use \`--host'." >&5
13591.76Spookaecho "$as_me: error: cannot run C compiled programs.
13601.76SpookaIf you meant to cross compile, use \`--host'." >&2;}
13611.76Spooka   { (exit 1); exit 1; }; }
13621.76Spooka    fi
13631.76Spooka  fi
13641.74Schristosfi
13651.76Spookaecho "$as_me:1365: result: yes" >&5
13661.76Spookaecho "${ECHO_T}yes" >&6
13671.1Stv
13681.76Spookarm -f a.out a.exe conftest$ac_cv_exeext
13691.1Stvac_clean_files=$ac_clean_files_save
13701.76Spooka# Check the compiler produces executables we can run.  If not, either
13711.76Spooka# the compiler is broken, or we cross compile.
13721.76Spookaecho "$as_me:1372: checking whether we are cross compiling" >&5
13731.76Spookaecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13741.76Spookaecho "$as_me:1374: result: $cross_compiling" >&5
13751.76Spookaecho "${ECHO_T}$cross_compiling" >&6
13761.76Spooka
13771.76Spookaecho "$as_me:1377: checking for executable suffix" >&5
13781.76Spookaecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13791.76Spookaif { (eval echo "$as_me:1379: \"$ac_link\"") >&5
13801.76Spooka  (eval $ac_link) 2>&5
13811.1Stv  ac_status=$?
13821.76Spooka  echo "$as_me:1382: \$? = $ac_status" >&5
13831.76Spooka  (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.76Spookafor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13891.1Stv  case $ac_file in
13901.76Spooka    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13911.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13921.76Spooka          export ac_cv_exeext
13931.76Spooka          break;;
13941.1Stv    * ) break;;
13951.1Stv  esac
13961.1Stvdone
13971.1Stvelse
13981.76Spooka  { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
13991.76Spookaecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
14001.76Spooka   { (exit 1); exit 1; }; }
14011.76Spookafi
14021.76Spooka
14031.76Spookarm -f conftest$ac_cv_exeext
14041.76Spookaecho "$as_me:1404: result: $ac_cv_exeext" >&5
14051.76Spookaecho "${ECHO_T}$ac_cv_exeext" >&6
14061.1Stv
14071.1Stvrm -f conftest.$ac_ext
14081.1StvEXEEXT=$ac_cv_exeext
14091.1Stvac_exeext=$EXEEXT
14101.76Spookaecho "$as_me:1410: checking for object suffix" >&5
14111.76Spookaecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14121.76Spookaif test "${ac_cv_objext+set}" = set; then
14131.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
14141.76Spookaelse
14151.76Spooka  cat >conftest.$ac_ext <<_ACEOF
14161.76Spooka#line 1416 "configure"
14171.76Spooka#include "confdefs.h"
14181.76Spooka
14191.1Stvint
14201.1Stvmain ()
14211.1Stv{
14221.1Stv
14231.1Stv  ;
14241.1Stv  return 0;
14251.1Stv}
14261.1Stv_ACEOF
14271.76Spookarm -f conftest.o conftest.obj
14281.76Spookaif { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
14291.76Spooka  (eval $ac_compile) 2>&5
14301.1Stv  ac_status=$?
14311.76Spooka  echo "$as_me:1431: \$? = $ac_status" >&5
14321.76Spooka  (exit $ac_status); }; then
14331.76Spooka  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14341.76Spooka  case $ac_file in
14351.76Spooka    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14361.76Spooka    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14371.76Spooka       break;;
14381.76Spooka  esac
14391.76Spookadone
14401.76Spookaelse
14411.76Spooka  echo "$as_me: failed program was:" >&5
14421.76Spookacat conftest.$ac_ext >&5
14431.76Spooka{ { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
14441.76Spookaecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14451.76Spooka   { (exit 1); exit 1; }; }
14461.74Schristosfi
14471.74Schristos
14481.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14491.1Stvfi
14501.76Spookaecho "$as_me:1450: result: $ac_cv_objext" >&5
14511.76Spookaecho "${ECHO_T}$ac_cv_objext" >&6
14521.1StvOBJEXT=$ac_cv_objext
14531.1Stvac_objext=$OBJEXT
14541.76Spookaecho "$as_me:1454: checking whether we are using the GNU C compiler" >&5
14551.76Spookaecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14561.76Spookaif test "${ac_cv_c_compiler_gnu+set}" = set; then
14571.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
14581.76Spookaelse
14591.76Spooka  cat >conftest.$ac_ext <<_ACEOF
14601.76Spooka#line 1460 "configure"
14611.76Spooka#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.76Spookarm -f conftest.$ac_objext
14751.76Spookaif { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
14761.76Spooka  (eval $ac_compile) 2>&5
14771.76Spooka  ac_status=$?
14781.76Spooka  echo "$as_me:1478: \$? = $ac_status" >&5
14791.76Spooka  (exit $ac_status); } &&
14801.76Spooka         { ac_try='test -s conftest.$ac_objext'
14811.76Spooka  { (eval echo "$as_me:1481: \"$ac_try\"") >&5
14821.76Spooka  (eval $ac_try) 2>&5
14831.76Spooka  ac_status=$?
14841.76Spooka  echo "$as_me:1484: \$? = $ac_status" >&5
14851.76Spooka  (exit $ac_status); }; }; then
14861.1Stv  ac_compiler_gnu=yes
14871.1Stvelse
14881.76Spooka  echo "$as_me: failed program was:" >&5
14891.76Spookacat conftest.$ac_ext >&5
14901.76Spookaac_compiler_gnu=no
14911.1Stvfi
14921.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
14931.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14941.1Stv
14951.1Stvfi
14961.76Spookaecho "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
14971.76Spookaecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14981.76SpookaGCC=`test $ac_compiler_gnu = yes && echo yes`
14991.1Stvac_test_CFLAGS=${CFLAGS+set}
15001.1Stvac_save_CFLAGS=$CFLAGS
15011.76SpookaCFLAGS="-g"
15021.76Spookaecho "$as_me:1502: checking whether $CC accepts -g" >&5
15031.76Spookaecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15041.76Spookaif test "${ac_cv_prog_cc_g+set}" = set; then
15051.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
15061.76Spookaelse
15071.76Spooka  cat >conftest.$ac_ext <<_ACEOF
15081.76Spooka#line 1508 "configure"
15091.76Spooka#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.76Spookarm -f conftest.$ac_objext
15201.76Spookaif { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
15211.76Spooka  (eval $ac_compile) 2>&5
15221.76Spooka  ac_status=$?
15231.76Spooka  echo "$as_me:1523: \$? = $ac_status" >&5
15241.76Spooka  (exit $ac_status); } &&
15251.76Spooka         { ac_try='test -s conftest.$ac_objext'
15261.76Spooka  { (eval echo "$as_me:1526: \"$ac_try\"") >&5
15271.76Spooka  (eval $ac_try) 2>&5
15281.76Spooka  ac_status=$?
15291.76Spooka  echo "$as_me:1529: \$? = $ac_status" >&5
15301.76Spooka  (exit $ac_status); }; }; then
15311.1Stv  ac_cv_prog_cc_g=yes
15321.1Stvelse
15331.76Spooka  echo "$as_me: failed program was:" >&5
15341.76Spookacat conftest.$ac_ext >&5
15351.76Spookaac_cv_prog_cc_g=no
15361.66Stsutsuifi
15371.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
15381.66Stsutsuifi
15391.76Spookaecho "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
15401.76Spookaecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15411.66Stsutsuiif test "$ac_test_CFLAGS" = set; then
15421.66Stsutsui  CFLAGS=$ac_save_CFLAGS
15431.66Stsutsuielif test $ac_cv_prog_cc_g = yes; then
15441.66Stsutsui  if test "$GCC" = yes; then
15451.66Stsutsui    CFLAGS="-g -O2"
15461.66Stsutsui  else
15471.66Stsutsui    CFLAGS="-g"
15481.66Stsutsui  fi
15491.66Stsutsuielse
15501.66Stsutsui  if test "$GCC" = yes; then
15511.66Stsutsui    CFLAGS="-O2"
15521.66Stsutsui  else
15531.66Stsutsui    CFLAGS=
15541.66Stsutsui  fi
15551.66Stsutsuifi
15561.76Spooka# Some people use a C++ compiler to compile C.  Since we use `exit',
15571.76Spooka# in C++ we need to declare it.  In case someone uses the same compiler
15581.76Spooka# for both compiling C and C++ we need to have the C++ compiler decide
15591.76Spooka# the declaration of exit, since it's the most demanding environment.
15601.76Spookacat >conftest.$ac_ext <<_ACEOF
15611.76Spooka#ifndef __cplusplus
15621.76Spooka  choke me
15631.76Spooka#endif
15641.76Spooka_ACEOF
15651.76Spookarm -f conftest.$ac_objext
15661.76Spookaif { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
15671.76Spooka  (eval $ac_compile) 2>&5
15681.76Spooka  ac_status=$?
15691.76Spooka  echo "$as_me:1569: \$? = $ac_status" >&5
15701.76Spooka  (exit $ac_status); } &&
15711.76Spooka         { ac_try='test -s conftest.$ac_objext'
15721.76Spooka  { (eval echo "$as_me:1572: \"$ac_try\"") >&5
15731.76Spooka  (eval $ac_try) 2>&5
15741.76Spooka  ac_status=$?
15751.76Spooka  echo "$as_me:1575: \$? = $ac_status" >&5
15761.76Spooka  (exit $ac_status); }; }; then
15771.76Spooka  for ac_declaration in \
15781.76Spooka   ''\
15791.76Spooka   '#include <stdlib.h>' \
15801.76Spooka   'extern "C" void std::exit (int) throw (); using std::exit;' \
15811.76Spooka   'extern "C" void std::exit (int); using std::exit;' \
15821.76Spooka   'extern "C" void exit (int) throw ();' \
15831.76Spooka   'extern "C" void exit (int);' \
15841.76Spooka   'void exit (int);'
15851.76Spookado
15861.76Spooka  cat >conftest.$ac_ext <<_ACEOF
15871.76Spooka#line 1587 "configure"
15881.76Spooka#include "confdefs.h"
15891.76Spooka#include <stdlib.h>
15901.76Spooka$ac_declaration
15911.76Spookaint
15921.76Spookamain ()
15931.74Schristos{
15941.76Spookaexit (42);
15951.76Spooka  ;
15961.76Spooka  return 0;
15971.74Schristos}
15981.76Spooka_ACEOF
15991.76Spookarm -f conftest.$ac_objext
16001.76Spookaif { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
16011.76Spooka  (eval $ac_compile) 2>&5
16021.76Spooka  ac_status=$?
16031.76Spooka  echo "$as_me:1603: \$? = $ac_status" >&5
16041.76Spooka  (exit $ac_status); } &&
16051.76Spooka         { ac_try='test -s conftest.$ac_objext'
16061.76Spooka  { (eval echo "$as_me:1606: \"$ac_try\"") >&5
16071.76Spooka  (eval $ac_try) 2>&5
16081.76Spooka  ac_status=$?
16091.76Spooka  echo "$as_me:1609: \$? = $ac_status" >&5
16101.76Spooka  (exit $ac_status); }; }; then
16111.76Spooka  :
16121.76Spookaelse
16131.76Spooka  echo "$as_me: failed program was:" >&5
16141.76Spookacat conftest.$ac_ext >&5
16151.76Spookacontinue
16161.76Spookafi
16171.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
16181.76Spooka  cat >conftest.$ac_ext <<_ACEOF
16191.76Spooka#line 1619 "configure"
16201.76Spooka#include "confdefs.h"
16211.76Spooka$ac_declaration
16221.1Stvint
16231.1Stvmain ()
16241.1Stv{
16251.76Spookaexit (42);
16261.1Stv  ;
16271.1Stv  return 0;
16281.1Stv}
16291.1Stv_ACEOF
16301.76Spookarm -f conftest.$ac_objext
16311.76Spookaif { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
16321.76Spooka  (eval $ac_compile) 2>&5
16331.76Spooka  ac_status=$?
16341.76Spooka  echo "$as_me:1634: \$? = $ac_status" >&5
16351.76Spooka  (exit $ac_status); } &&
16361.76Spooka         { ac_try='test -s conftest.$ac_objext'
16371.76Spooka  { (eval echo "$as_me:1637: \"$ac_try\"") >&5
16381.76Spooka  (eval $ac_try) 2>&5
16391.76Spooka  ac_status=$?
16401.76Spooka  echo "$as_me:1640: \$? = $ac_status" >&5
16411.76Spooka  (exit $ac_status); }; }; then
16421.76Spooka  break
16431.76Spookaelse
16441.76Spooka  echo "$as_me: failed program was:" >&5
16451.76Spookacat conftest.$ac_ext >&5
16461.65Schristosfi
16471.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
16481.66Stsutsuidone
16491.76Spookarm -f conftest*
16501.76Spookaif test -n "$ac_declaration"; then
16511.76Spooka  echo '#ifdef __cplusplus' >>confdefs.h
16521.76Spooka  echo $ac_declaration      >>confdefs.h
16531.76Spooka  echo '#endif'             >>confdefs.h
16541.1Stvfi
16551.1Stv
16561.76Spookaelse
16571.76Spooka  echo "$as_me: failed program was:" >&5
16581.76Spookacat conftest.$ac_ext >&5
16591.65Schristosfi
16601.76Spookarm -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.76Spookaecho "$as_me:1672: checking how to run the C preprocessor" >&5
16731.76Spookaecho $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.76Spooka  if test "${ac_cv_prog_CPP+set}" = set; then
16801.76Spooka  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.76Spooka  cat >conftest.$ac_ext <<_ACEOF
16931.76Spooka#line 1693 "configure"
16941.76Spooka#include "confdefs.h"
16951.76Spooka#include <assert.h>
16961.76Spooka                     Syntax error
16971.48Sjmc_ACEOF
16981.76Spookaif { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
16991.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17001.76Spooka  ac_status=$?
17011.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
17021.76Spooka  rm -f conftest.er1
17031.76Spooka  cat conftest.err >&5
17041.76Spooka  echo "$as_me:1704: \$? = $ac_status" >&5
17051.76Spooka  (exit $ac_status); } >/dev/null; then
17061.76Spooka  if test -s conftest.err; then
17071.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
17081.76Spooka  else
17091.76Spooka    ac_cpp_err=
17101.76Spooka  fi
17111.76Spookaelse
17121.76Spooka  ac_cpp_err=yes
17131.76Spookafi
17141.76Spookaif test -z "$ac_cpp_err"; then
17151.76Spooka  :
17161.1Stvelse
17171.76Spooka  echo "$as_me: failed program was:" >&5
17181.76Spooka  cat conftest.$ac_ext >&5
17191.1Stv  # Broken: fails on valid input.
17201.1Stvcontinue
17211.1Stvfi
17221.76Spookarm -f conftest.err conftest.$ac_ext
17231.1Stv
17241.76Spooka  # OK, works on sane cases.  Now check whether non-existent headers
17251.1Stv  # can be detected and how.
17261.76Spooka  cat >conftest.$ac_ext <<_ACEOF
17271.76Spooka#line 1727 "configure"
17281.76Spooka#include "confdefs.h"
17291.1Stv#include <ac_nonexistent.h>
17301.1Stv_ACEOF
17311.76Spookaif { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
17321.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17331.76Spooka  ac_status=$?
17341.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
17351.76Spooka  rm -f conftest.er1
17361.76Spooka  cat conftest.err >&5
17371.76Spooka  echo "$as_me:1737: \$? = $ac_status" >&5
17381.76Spooka  (exit $ac_status); } >/dev/null; then
17391.76Spooka  if test -s conftest.err; then
17401.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
17411.76Spooka  else
17421.76Spooka    ac_cpp_err=
17431.76Spooka  fi
17441.76Spookaelse
17451.76Spooka  ac_cpp_err=yes
17461.76Spookafi
17471.76Spookaif test -z "$ac_cpp_err"; then
17481.1Stv  # Broken: success on invalid input.
17491.1Stvcontinue
17501.1Stvelse
17511.76Spooka  echo "$as_me: failed program was:" >&5
17521.76Spooka  cat conftest.$ac_ext >&5
17531.1Stv  # Passes both tests.
17541.1Stvac_preproc_ok=:
17551.1Stvbreak
17561.1Stvfi
17571.76Spookarm -f conftest.err conftest.$ac_ext
17581.1Stv
17591.1Stvdone
17601.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17611.76Spookarm -f conftest.err conftest.$ac_ext
17621.76Spookaif $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.76Spookaecho "$as_me:1774: result: $CPP" >&5
17751.76Spookaecho "${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.76Spooka  cat >conftest.$ac_ext <<_ACEOF
17841.76Spooka#line 1784 "configure"
17851.76Spooka#include "confdefs.h"
17861.76Spooka#include <assert.h>
17871.76Spooka                     Syntax error
17881.53Sdogcow_ACEOF
17891.76Spookaif { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
17901.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17911.76Spooka  ac_status=$?
17921.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
17931.76Spooka  rm -f conftest.er1
17941.76Spooka  cat conftest.err >&5
17951.76Spooka  echo "$as_me:1795: \$? = $ac_status" >&5
17961.76Spooka  (exit $ac_status); } >/dev/null; then
17971.76Spooka  if test -s conftest.err; then
17981.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
17991.76Spooka  else
18001.76Spooka    ac_cpp_err=
18011.76Spooka  fi
18021.76Spookaelse
18031.76Spooka  ac_cpp_err=yes
18041.76Spookafi
18051.76Spookaif test -z "$ac_cpp_err"; then
18061.76Spooka  :
18071.1Stvelse
18081.76Spooka  echo "$as_me: failed program was:" >&5
18091.76Spooka  cat conftest.$ac_ext >&5
18101.1Stv  # Broken: fails on valid input.
18111.1Stvcontinue
18121.1Stvfi
18131.76Spookarm -f conftest.err conftest.$ac_ext
18141.1Stv
18151.76Spooka  # OK, works on sane cases.  Now check whether non-existent headers
18161.1Stv  # can be detected and how.
18171.76Spooka  cat >conftest.$ac_ext <<_ACEOF
18181.76Spooka#line 1818 "configure"
18191.76Spooka#include "confdefs.h"
18201.1Stv#include <ac_nonexistent.h>
18211.1Stv_ACEOF
18221.76Spookaif { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
18231.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18241.76Spooka  ac_status=$?
18251.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
18261.76Spooka  rm -f conftest.er1
18271.76Spooka  cat conftest.err >&5
18281.76Spooka  echo "$as_me:1828: \$? = $ac_status" >&5
18291.76Spooka  (exit $ac_status); } >/dev/null; then
18301.76Spooka  if test -s conftest.err; then
18311.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
18321.76Spooka  else
18331.76Spooka    ac_cpp_err=
18341.76Spooka  fi
18351.76Spookaelse
18361.76Spooka  ac_cpp_err=yes
18371.76Spookafi
18381.76Spookaif test -z "$ac_cpp_err"; then
18391.45Sjmc  # Broken: success on invalid input.
18401.45Sjmccontinue
18411.45Sjmcelse
18421.76Spooka  echo "$as_me: failed program was:" >&5
18431.76Spooka  cat conftest.$ac_ext >&5
18441.45Sjmc  # Passes both tests.
18451.45Sjmcac_preproc_ok=:
18461.45Sjmcbreak
18471.45Sjmcfi
18481.76Spookarm -f conftest.err conftest.$ac_ext
18491.45Sjmc
18501.45Sjmcdone
18511.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18521.76Spookarm -f conftest.err conftest.$ac_ext
18531.76Spookaif $ac_preproc_ok; then
18541.76Spooka  :
18551.45Sjmcelse
18561.76Spooka  { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
18571.76Spookaecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
18581.76Spooka   { (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.76Spooka            echo "$as_me:1867: checking for NetBSD" >&5
18681.76Spookaecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
18691.76Spooka      cat >conftest.$ac_ext <<_ACEOF
18701.76Spooka#line 1870 "configure"
18711.76Spooka#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.76Spooka  egrep "yes" >/dev/null 2>&1; then
18791.76Spooka  echo "$as_me:1879: result: yes" >&5
18801.76Spookaecho "${ECHO_T}yes" >&6
18811.74Schristos
18821.76Spookacat >>confdefs.h <<\EOF
18831.76Spooka#define _POSIX_SOURCE 1
18841.76SpookaEOF
18851.74Schristos
18861.76Spookacat >>confdefs.h <<\EOF
18871.76Spooka#define _POSIX_C_SOURCE 200112L
18881.76SpookaEOF
18891.54Swiz
18901.76Spookacat >>confdefs.h <<\EOF
18911.76Spooka#define _XOPEN_SOURCE 600
18921.76SpookaEOF
18931.45Sjmc
18941.45Sjmcelse
18951.76Spooka  echo "$as_me:1895: result: no" >&5
18961.76Spookaecho "${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.76Spookaecho "$as_me:1902: checking for $ac_word" >&5
19031.76Spookaecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19041.76Spookaif test "${ac_cv_path_BSHELL+set}" = set; then
19051.76Spooka  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.76Spooka  ac_save_IFS=$IFS; IFS=$ac_path_separator
19131.76Spookaac_dummy="$PATH"
19141.76Spookafor ac_dir in $ac_dummy; do
19151.76Spooka  IFS=$ac_save_IFS
19161.76Spooka  test -z "$ac_dir" && ac_dir=.
19171.76Spooka  if $as_executable_p "$ac_dir/$ac_word"; then
19181.76Spooka   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19191.76Spooka   echo "$as_me:1919: found $ac_dir/$ac_word" >&5
19201.76Spooka   break
19211.76Spookafi
19221.65Schristosdone
19231.45Sjmc
19241.45Sjmc  ;;
19251.45Sjmcesac
19261.45Sjmcfi
19271.45SjmcBSHELL=$ac_cv_path_BSHELL
19281.76Spooka
19291.45Sjmcif test -n "$BSHELL"; then
19301.76Spooka  echo "$as_me:1930: result: $BSHELL" >&5
19311.76Spookaecho "${ECHO_T}$BSHELL" >&6
19321.45Sjmcelse
19331.76Spooka  echo "$as_me:1933: result: no" >&5
19341.76Spookaecho "${ECHO_T}no" >&6
19351.45Sjmcfi
19361.45Sjmc
19371.45Sjmcif test x"$BSHELL" = x; then
19381.76Spooka	{ { echo "$as_me:1938: error: sh must be somewhere on \$PATH" >&5
19391.76Spookaecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
19401.76Spooka   { (exit 1); exit 1; }; }
19411.45Sjmcfi
19421.54Swiz
19431.76Spookacat >>confdefs.h <<EOF
19441.45Sjmc#define PATH_BSHELL "$BSHELL"
19451.76SpookaEOF
19461.76Spooka
19471.76Spookaecho "$as_me:1947: checking whether byte ordering is bigendian" >&5
19481.76Spookaecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19491.76Spookaif test "${ac_cv_c_bigendian+set}" = set; then
19501.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
19511.76Spookaelse
19521.76Spooka  ac_cv_c_bigendian=unknown
19531.76Spooka# See if sys/param.h defines the BYTE_ORDER macro.
19541.76Spookacat >conftest.$ac_ext <<_ACEOF
19551.76Spooka#line 1955 "configure"
19561.76Spooka#include "confdefs.h"
19571.76Spooka#include <sys/types.h>
19581.76Spooka#include <sys/param.h>
19591.74Schristos
19601.76Spookaint
19611.76Spookamain ()
19621.76Spooka{
19631.76Spooka#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19641.76Spooka bogus endian macros
19651.76Spooka#endif
19661.53Sdogcow
19671.76Spooka  ;
19681.76Spooka  return 0;
19691.76Spooka}
19701.76Spooka_ACEOF
19711.76Spookarm -f conftest.$ac_objext
19721.76Spookaif { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
19731.76Spooka  (eval $ac_compile) 2>&5
19741.76Spooka  ac_status=$?
19751.76Spooka  echo "$as_me:1975: \$? = $ac_status" >&5
19761.76Spooka  (exit $ac_status); } &&
19771.76Spooka         { ac_try='test -s conftest.$ac_objext'
19781.76Spooka  { (eval echo "$as_me:1978: \"$ac_try\"") >&5
19791.76Spooka  (eval $ac_try) 2>&5
19801.76Spooka  ac_status=$?
19811.76Spooka  echo "$as_me:1981: \$? = $ac_status" >&5
19821.76Spooka  (exit $ac_status); }; }; then
19831.76Spooka  # It does; now see whether it defined to BIG_ENDIAN or not.
19841.76Spookacat >conftest.$ac_ext <<_ACEOF
19851.76Spooka#line 1985 "configure"
19861.76Spooka#include "confdefs.h"
19871.76Spooka#include <sys/types.h>
19881.76Spooka#include <sys/param.h>
19891.45Sjmc
19901.45Sjmcint
19911.45Sjmcmain ()
19921.45Sjmc{
19931.76Spooka#if BYTE_ORDER != BIG_ENDIAN
19941.76Spooka not big endian
19951.76Spooka#endif
19961.45Sjmc
19971.45Sjmc  ;
19981.45Sjmc  return 0;
19991.45Sjmc}
20001.45Sjmc_ACEOF
20011.76Spookarm -f conftest.$ac_objext
20021.76Spookaif { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
20031.76Spooka  (eval $ac_compile) 2>&5
20041.76Spooka  ac_status=$?
20051.76Spooka  echo "$as_me:2005: \$? = $ac_status" >&5
20061.76Spooka  (exit $ac_status); } &&
20071.76Spooka         { ac_try='test -s conftest.$ac_objext'
20081.76Spooka  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
20091.76Spooka  (eval $ac_try) 2>&5
20101.76Spooka  ac_status=$?
20111.76Spooka  echo "$as_me:2011: \$? = $ac_status" >&5
20121.76Spooka  (exit $ac_status); }; }; then
20131.76Spooka  ac_cv_c_bigendian=yes
20141.76Spookaelse
20151.76Spooka  echo "$as_me: failed program was:" >&5
20161.76Spookacat conftest.$ac_ext >&5
20171.76Spookaac_cv_c_bigendian=no
20181.76Spookafi
20191.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
20201.76Spookaelse
20211.76Spooka  echo "$as_me: failed program was:" >&5
20221.76Spookacat conftest.$ac_ext >&5
20231.76Spookafi
20241.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
20251.76Spookaif test $ac_cv_c_bigendian = unknown; then
20261.76Spookaif test "$cross_compiling" = yes; then
20271.76Spooka  { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
20281.76Spookaecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20291.76Spooka   { (exit 1); exit 1; }; }
20301.76Spookaelse
20311.76Spooka  cat >conftest.$ac_ext <<_ACEOF
20321.76Spooka#line 2032 "configure"
20331.76Spooka#include "confdefs.h"
20341.76Spookaint
20351.76Spookamain ()
20361.76Spooka{
20371.76Spooka  /* Are we little or big endian?  From Harbison&Steele.  */
20381.76Spooka  union
20391.76Spooka  {
20401.76Spooka    long l;
20411.76Spooka    char c[sizeof (long)];
20421.76Spooka  } u;
20431.76Spooka  u.l = 1;
20441.76Spooka  exit (u.c[sizeof (long) - 1] == 1);
20451.76Spooka}
20461.76Spooka_ACEOF
20471.76Spookarm -f conftest$ac_exeext
20481.76Spookaif { (eval echo "$as_me:2048: \"$ac_link\"") >&5
20491.76Spooka  (eval $ac_link) 2>&5
20501.76Spooka  ac_status=$?
20511.76Spooka  echo "$as_me:2051: \$? = $ac_status" >&5
20521.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20531.76Spooka  { (eval echo "$as_me:2053: \"$ac_try\"") >&5
20541.76Spooka  (eval $ac_try) 2>&5
20551.76Spooka  ac_status=$?
20561.76Spooka  echo "$as_me:2056: \$? = $ac_status" >&5
20571.76Spooka  (exit $ac_status); }; }; then
20581.76Spooka  ac_cv_c_bigendian=no
20591.76Spookaelse
20601.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
20611.76Spookaecho "$as_me: failed program was:" >&5
20621.76Spookacat conftest.$ac_ext >&5
20631.76Spookaac_cv_c_bigendian=yes
20641.76Spookafi
20651.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20661.76Spookafi
20671.76Spookafi
20681.76Spookafi
20691.76Spookaecho "$as_me:2069: result: $ac_cv_c_bigendian" >&5
20701.76Spookaecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20711.76Spookaif test $ac_cv_c_bigendian = yes; then
20721.76Spooka
20731.76Spookacat >>confdefs.h <<\EOF
20741.76Spooka#define WORDS_BIGENDIAN 1
20751.76SpookaEOF
20761.76Spooka
20771.76Spookafi
20781.76Spooka
20791.76Spookaecho "$as_me:2079: checking for ANSI C header files" >&5
20801.76Spookaecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20811.76Spookaif test "${ac_cv_header_stdc+set}" = set; then
20821.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
20831.76Spookaelse
20841.76Spooka  cat >conftest.$ac_ext <<_ACEOF
20851.76Spooka#line 2085 "configure"
20861.76Spooka#include "confdefs.h"
20871.76Spooka#include <stdlib.h>
20881.76Spooka#include <stdarg.h>
20891.76Spooka#include <string.h>
20901.76Spooka#include <float.h>
20911.76Spooka
20921.76Spooka_ACEOF
20931.76Spookaif { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
20941.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20951.76Spooka  ac_status=$?
20961.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
20971.76Spooka  rm -f conftest.er1
20981.76Spooka  cat conftest.err >&5
20991.76Spooka  echo "$as_me:2099: \$? = $ac_status" >&5
21001.76Spooka  (exit $ac_status); } >/dev/null; then
21011.76Spooka  if test -s conftest.err; then
21021.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
21031.76Spooka  else
21041.76Spooka    ac_cpp_err=
21051.76Spooka  fi
21061.76Spookaelse
21071.76Spooka  ac_cpp_err=yes
21081.76Spookafi
21091.76Spookaif test -z "$ac_cpp_err"; then
21101.6Stv  ac_cv_header_stdc=yes
21111.6Stvelse
21121.76Spooka  echo "$as_me: failed program was:" >&5
21131.76Spooka  cat conftest.$ac_ext >&5
21141.66Stsutsui  ac_cv_header_stdc=no
21151.6Stvfi
21161.76Spookarm -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.76Spooka  cat >conftest.$ac_ext <<_ACEOF
21211.76Spooka#line 2121 "configure"
21221.76Spooka#include "confdefs.h"
21231.6Stv#include <string.h>
21241.6Stv
21251.6Stv_ACEOF
21261.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21271.76Spooka  egrep "memchr" >/dev/null 2>&1; then
21281.76Spooka  :
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.76Spooka  cat >conftest.$ac_ext <<_ACEOF
21391.76Spooka#line 2139 "configure"
21401.76Spooka#include "confdefs.h"
21411.6Stv#include <stdlib.h>
21421.6Stv
21431.6Stv_ACEOF
21441.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451.76Spooka  egrep "free" >/dev/null 2>&1; then
21461.76Spooka  :
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.76Spooka  if test "$cross_compiling" = yes; then
21571.6Stv  :
21581.6Stvelse
21591.76Spooka  cat >conftest.$ac_ext <<_ACEOF
21601.76Spooka#line 2160 "configure"
21611.76Spooka#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.76Spooka# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21681.76Spooka                     || ('j' <= (c) && (c) <= 'r') \
21691.76Spooka                     || ('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.76Spooka        || toupper (i) != TOUPPER (i))
21811.76Spooka      exit(2);
21821.76Spooka  exit (0);
21831.6Stv}
21841.6Stv_ACEOF
21851.76Spookarm -f conftest$ac_exeext
21861.76Spookaif { (eval echo "$as_me:2186: \"$ac_link\"") >&5
21871.76Spooka  (eval $ac_link) 2>&5
21881.76Spooka  ac_status=$?
21891.76Spooka  echo "$as_me:2189: \$? = $ac_status" >&5
21901.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21911.76Spooka  { (eval echo "$as_me:2191: \"$ac_try\"") >&5
21921.76Spooka  (eval $ac_try) 2>&5
21931.76Spooka  ac_status=$?
21941.76Spooka  echo "$as_me:2194: \$? = $ac_status" >&5
21951.76Spooka  (exit $ac_status); }; }; then
21961.76Spooka  :
21971.6Stvelse
21981.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
21991.76Spookaecho "$as_me: failed program was:" >&5
22001.76Spookacat conftest.$ac_ext >&5
22011.76Spookaac_cv_header_stdc=no
22021.6Stvfi
22031.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22041.6Stvfi
22051.6Stvfi
22061.6Stvfi
22071.76Spookaecho "$as_me:2207: result: $ac_cv_header_stdc" >&5
22081.76Spookaecho "${ECHO_T}$ac_cv_header_stdc" >&6
22091.6Stvif test $ac_cv_header_stdc = yes; then
22101.6Stv
22111.76Spookacat >>confdefs.h <<\EOF
22121.76Spooka#define STDC_HEADERS 1
22131.76SpookaEOF
22141.6Stv
22151.6Stvfi
22161.6Stv
22171.76Spooka# Confirm existence of zlib.  (This is available as a default install
22181.76Spooka# option on many OS's; this could be added as a reachover build in the
22191.76Spooka# future.)
22201.76Spookaecho "$as_me:2220: checking for zlib.h" >&5
22211.76Spookaecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22221.76Spookaif test "${ac_cv_header_zlib_h+set}" = set; then
22231.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
22241.76Spookaelse
22251.76Spooka  cat >conftest.$ac_ext <<_ACEOF
22261.76Spooka#line 2226 "configure"
22271.76Spooka#include "confdefs.h"
22281.76Spooka#include <zlib.h>
22291.61Schristos_ACEOF
22301.76Spookaif { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
22311.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22321.76Spooka  ac_status=$?
22331.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
22341.76Spooka  rm -f conftest.er1
22351.76Spooka  cat conftest.err >&5
22361.76Spooka  echo "$as_me:2236: \$? = $ac_status" >&5
22371.76Spooka  (exit $ac_status); } >/dev/null; then
22381.76Spooka  if test -s conftest.err; then
22391.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
22401.76Spooka  else
22411.76Spooka    ac_cpp_err=
22421.76Spooka  fi
22431.76Spookaelse
22441.76Spooka  ac_cpp_err=yes
22451.6Stvfi
22461.76Spookaif test -z "$ac_cpp_err"; then
22471.76Spooka  ac_cv_header_zlib_h=yes
22481.74Schristoselse
22491.76Spooka  echo "$as_me: failed program was:" >&5
22501.76Spooka  cat conftest.$ac_ext >&5
22511.76Spooka  ac_cv_header_zlib_h=no
22521.74Schristosfi
22531.76Spookarm -f conftest.err conftest.$ac_ext
22541.74Schristosfi
22551.76Spookaecho "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
22561.76Spookaecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22571.76Spookaif test $ac_cv_header_zlib_h = yes; then
22581.74Schristos  :
22591.74Schristoselse
22601.76Spooka  { { echo "$as_me:2260: error: zlib must be installed in a compiler-visible path" >&5
22611.76Spookaecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22621.76Spooka   { (exit 1); exit 1; }; }
22631.74Schristosfi
22641.74Schristos
22651.76Spookaecho "$as_me:2265: checking for gzdopen in -lz" >&5
22661.76Spookaecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22671.76Spookaif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22681.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
22691.52Sdbjelse
22701.52Sdbj  ac_check_lib_save_LIBS=$LIBS
22711.52SdbjLIBS="-lz  $LIBS"
22721.76Spookacat >conftest.$ac_ext <<_ACEOF
22731.76Spooka#line 2273 "configure"
22741.76Spooka#include "confdefs.h"
22751.48Sjmc
22761.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
22771.6Stv#ifdef __cplusplus
22781.6Stvextern "C"
22791.6Stv#endif
22801.76Spooka/* We use char because int might match the return type of a gcc2
22811.76Spooka   builtin and then its argument prototype would still apply.  */
22821.6Stvchar gzdopen ();
22831.6Stvint
22841.6Stvmain ()
22851.6Stv{
22861.76Spookagzdopen ();
22871.6Stv  ;
22881.6Stv  return 0;
22891.6Stv}
22901.6Stv_ACEOF
22911.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
22921.76Spookaif { (eval echo "$as_me:2292: \"$ac_link\"") >&5
22931.76Spooka  (eval $ac_link) 2>&5
22941.76Spooka  ac_status=$?
22951.76Spooka  echo "$as_me:2295: \$? = $ac_status" >&5
22961.76Spooka  (exit $ac_status); } &&
22971.76Spooka         { ac_try='test -s conftest$ac_exeext'
22981.76Spooka  { (eval echo "$as_me:2298: \"$ac_try\"") >&5
22991.76Spooka  (eval $ac_try) 2>&5
23001.76Spooka  ac_status=$?
23011.76Spooka  echo "$as_me:2301: \$? = $ac_status" >&5
23021.76Spooka  (exit $ac_status); }; }; then
23031.6Stv  ac_cv_lib_z_gzdopen=yes
23041.6Stvelse
23051.76Spooka  echo "$as_me: failed program was:" >&5
23061.76Spookacat conftest.$ac_ext >&5
23071.76Spookaac_cv_lib_z_gzdopen=no
23081.6Stvfi
23091.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23101.6StvLIBS=$ac_check_lib_save_LIBS
23111.6Stvfi
23121.76Spookaecho "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
23131.76Spookaecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
23141.76Spookaif test $ac_cv_lib_z_gzdopen = yes; then
23151.76Spooka  cat >>confdefs.h <<EOF
23161.6Stv#define HAVE_LIBZ 1
23171.76SpookaEOF
23181.4Stv
23191.6Stv  LIBS="-lz $LIBS"
23201.6Stv
23211.4Stvelse
23221.76Spooka  { { echo "$as_me:2322: error: zlib must be installed in a compiler-visible path" >&5
23231.76Spookaecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
23241.76Spooka   { (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.76Spooka
23311.69Sdbjfor ac_header in sys/ioctl.h sys/mman.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.76Spookado
23371.76Spookaas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23381.76Spookaecho "$as_me:2338: checking for $ac_header" >&5
23391.76Spookaecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23401.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
23411.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
23421.76Spookaelse
23431.76Spooka  cat >conftest.$ac_ext <<_ACEOF
23441.76Spooka#line 2344 "configure"
23451.76Spooka#include "confdefs.h"
23461.76Spooka#include <$ac_header>
23471.48Sjmc_ACEOF
23481.76Spookaif { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
23491.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23501.76Spooka  ac_status=$?
23511.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
23521.76Spooka  rm -f conftest.er1
23531.76Spooka  cat conftest.err >&5
23541.76Spooka  echo "$as_me:2354: \$? = $ac_status" >&5
23551.76Spooka  (exit $ac_status); } >/dev/null; then
23561.76Spooka  if test -s conftest.err; then
23571.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
23581.76Spooka  else
23591.76Spooka    ac_cpp_err=
23601.76Spooka  fi
23611.76Spookaelse
23621.76Spooka  ac_cpp_err=yes
23631.76Spookafi
23641.76Spookaif test -z "$ac_cpp_err"; then
23651.76Spooka  eval "$as_ac_Header=yes"
23661.76Spookaelse
23671.76Spooka  echo "$as_me: failed program was:" >&5
23681.76Spooka  cat conftest.$ac_ext >&5
23691.76Spooka  eval "$as_ac_Header=no"
23701.76Spookafi
23711.76Spookarm -f conftest.err conftest.$ac_ext
23721.76Spookafi
23731.76Spookaecho "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
23741.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23751.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
23761.76Spooka  cat >>confdefs.h <<EOF
23771.76Spooka#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23781.76SpookaEOF
23791.74Schristos
23801.6Stvelse
23811.76Spooka  { { echo "$as_me:2381: error: standard system header file not found" >&5
23821.76Spookaecho "$as_me: error: standard system header file not found" >&2;}
23831.76Spooka   { (exit 1); exit 1; }; }
23841.6Stvfi
23851.6Stvdone
23861.6Stv
23871.76Spooka# Find headers that may not be available.
23881.74Schristos
23891.6Stvac_header_dirent=no
23901.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23911.76Spooka  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23921.76Spookaecho "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
23931.76Spookaecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23941.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
23951.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
23961.76Spookaelse
23971.76Spooka  cat >conftest.$ac_ext <<_ACEOF
23981.76Spooka#line 2398 "configure"
23991.76Spooka#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.76Spookarm -f conftest.$ac_objext
24131.76Spookaif { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
24141.76Spooka  (eval $ac_compile) 2>&5
24151.76Spooka  ac_status=$?
24161.76Spooka  echo "$as_me:2416: \$? = $ac_status" >&5
24171.76Spooka  (exit $ac_status); } &&
24181.76Spooka         { ac_try='test -s conftest.$ac_objext'
24191.76Spooka  { (eval echo "$as_me:2419: \"$ac_try\"") >&5
24201.76Spooka  (eval $ac_try) 2>&5
24211.76Spooka  ac_status=$?
24221.76Spooka  echo "$as_me:2422: \$? = $ac_status" >&5
24231.76Spooka  (exit $ac_status); }; }; then
24241.6Stv  eval "$as_ac_Header=yes"
24251.6Stvelse
24261.76Spooka  echo "$as_me: failed program was:" >&5
24271.76Spookacat conftest.$ac_ext >&5
24281.76Spookaeval "$as_ac_Header=no"
24291.76Spookafi
24301.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
24311.76Spookafi
24321.76Spookaecho "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
24331.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24341.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
24351.76Spooka  cat >>confdefs.h <<EOF
24361.76Spooka#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24371.76SpookaEOF
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.76Spooka  echo "$as_me:2445: checking for opendir in -ldir" >&5
24461.76Spookaecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24471.76Spookaif test "${ac_cv_lib_dir_opendir+set}" = set; then
24481.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
24491.6Stvelse
24501.76Spooka  ac_check_lib_save_LIBS=$LIBS
24511.76SpookaLIBS="-ldir  $LIBS"
24521.76Spookacat >conftest.$ac_ext <<_ACEOF
24531.76Spooka#line 2453 "configure"
24541.76Spooka#include "confdefs.h"
24551.48Sjmc
24561.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
24571.48Sjmc#ifdef __cplusplus
24581.48Sjmcextern "C"
24591.48Sjmc#endif
24601.76Spooka/* We use char because int might match the return type of a gcc2
24611.76Spooka   builtin and then its argument prototype would still apply.  */
24621.48Sjmcchar opendir ();
24631.48Sjmcint
24641.48Sjmcmain ()
24651.48Sjmc{
24661.76Spookaopendir ();
24671.48Sjmc  ;
24681.48Sjmc  return 0;
24691.48Sjmc}
24701.48Sjmc_ACEOF
24711.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
24721.76Spookaif { (eval echo "$as_me:2472: \"$ac_link\"") >&5
24731.76Spooka  (eval $ac_link) 2>&5
24741.76Spooka  ac_status=$?
24751.76Spooka  echo "$as_me:2475: \$? = $ac_status" >&5
24761.76Spooka  (exit $ac_status); } &&
24771.76Spooka         { ac_try='test -s conftest$ac_exeext'
24781.76Spooka  { (eval echo "$as_me:2478: \"$ac_try\"") >&5
24791.76Spooka  (eval $ac_try) 2>&5
24801.76Spooka  ac_status=$?
24811.76Spooka  echo "$as_me:2481: \$? = $ac_status" >&5
24821.76Spooka  (exit $ac_status); }; }; then
24831.76Spooka  ac_cv_lib_dir_opendir=yes
24841.76Spookaelse
24851.76Spooka  echo "$as_me: failed program was:" >&5
24861.76Spookacat conftest.$ac_ext >&5
24871.76Spookaac_cv_lib_dir_opendir=no
24881.74Schristosfi
24891.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24901.76SpookaLIBS=$ac_check_lib_save_LIBS
24911.65Schristosfi
24921.76Spookaecho "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
24931.76Spookaecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24941.76Spookaif test $ac_cv_lib_dir_opendir = yes; then
24951.76Spooka  LIBS="$LIBS -ldir"
24961.63Sapbfi
24971.61Schristos
24981.63Sapbelse
24991.76Spooka  echo "$as_me:2499: checking for opendir in -lx" >&5
25001.76Spookaecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
25011.76Spookaif test "${ac_cv_lib_x_opendir+set}" = set; then
25021.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
25031.63Sapbelse
25041.76Spooka  ac_check_lib_save_LIBS=$LIBS
25051.76SpookaLIBS="-lx  $LIBS"
25061.76Spookacat >conftest.$ac_ext <<_ACEOF
25071.76Spooka#line 2507 "configure"
25081.76Spooka#include "confdefs.h"
25091.6Stv
25101.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
25111.6Stv#ifdef __cplusplus
25121.6Stvextern "C"
25131.6Stv#endif
25141.76Spooka/* We use char because int might match the return type of a gcc2
25151.76Spooka   builtin and then its argument prototype would still apply.  */
25161.6Stvchar opendir ();
25171.6Stvint
25181.6Stvmain ()
25191.6Stv{
25201.76Spookaopendir ();
25211.6Stv  ;
25221.6Stv  return 0;
25231.6Stv}
25241.6Stv_ACEOF
25251.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
25261.76Spookaif { (eval echo "$as_me:2526: \"$ac_link\"") >&5
25271.76Spooka  (eval $ac_link) 2>&5
25281.76Spooka  ac_status=$?
25291.76Spooka  echo "$as_me:2529: \$? = $ac_status" >&5
25301.76Spooka  (exit $ac_status); } &&
25311.76Spooka         { ac_try='test -s conftest$ac_exeext'
25321.76Spooka  { (eval echo "$as_me:2532: \"$ac_try\"") >&5
25331.76Spooka  (eval $ac_try) 2>&5
25341.76Spooka  ac_status=$?
25351.76Spooka  echo "$as_me:2535: \$? = $ac_status" >&5
25361.76Spooka  (exit $ac_status); }; }; then
25371.76Spooka  ac_cv_lib_x_opendir=yes
25381.76Spookaelse
25391.76Spooka  echo "$as_me: failed program was:" >&5
25401.76Spookacat conftest.$ac_ext >&5
25411.76Spookaac_cv_lib_x_opendir=no
25421.74Schristosfi
25431.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25441.76SpookaLIBS=$ac_check_lib_save_LIBS
25451.65Schristosfi
25461.76Spookaecho "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
25471.76Spookaecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25481.76Spookaif test $ac_cv_lib_x_opendir = yes; then
25491.76Spooka  LIBS="$LIBS -lx"
25501.48Sjmcfi
25511.65Schristos
25521.6Stvfi
25531.39Sfredb
25541.69Sdbjfor ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h \
25551.74Schristos	getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h rpc/types.h
25561.76Spookado
25571.76Spookaas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25581.76Spookaecho "$as_me:2558: checking for $ac_header" >&5
25591.76Spookaecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25601.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
25611.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
25621.76Spookaelse
25631.76Spooka  cat >conftest.$ac_ext <<_ACEOF
25641.76Spooka#line 2564 "configure"
25651.76Spooka#include "confdefs.h"
25661.76Spooka#include <$ac_header>
25671.61Schristos_ACEOF
25681.76Spookaif { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
25691.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25701.76Spooka  ac_status=$?
25711.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
25721.76Spooka  rm -f conftest.er1
25731.76Spooka  cat conftest.err >&5
25741.76Spooka  echo "$as_me:2574: \$? = $ac_status" >&5
25751.76Spooka  (exit $ac_status); } >/dev/null; then
25761.76Spooka  if test -s conftest.err; then
25771.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
25781.76Spooka  else
25791.76Spooka    ac_cpp_err=
25801.76Spooka  fi
25811.76Spookaelse
25821.76Spooka  ac_cpp_err=yes
25831.76Spookafi
25841.76Spookaif test -z "$ac_cpp_err"; then
25851.76Spooka  eval "$as_ac_Header=yes"
25861.76Spookaelse
25871.76Spooka  echo "$as_me: failed program was:" >&5
25881.76Spooka  cat conftest.$ac_ext >&5
25891.76Spooka  eval "$as_ac_Header=no"
25901.76Spookafi
25911.76Spookarm -f conftest.err conftest.$ac_ext
25921.76Spookafi
25931.76Spookaecho "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
25941.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25951.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
25961.76Spooka  cat >>confdefs.h <<EOF
25971.76Spooka#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25981.76SpookaEOF
25991.74Schristos
26001.63Sapbfi
26011.63Sapbdone
26021.6Stv
26031.72Sapbfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
26041.72Sapb	sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \
26051.72Sapb	stdint.h util.h resolv.h arpa/nameser.h
26061.76Spookado
26071.76Spookaas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26081.76Spookaecho "$as_me:2608: checking for $ac_header" >&5
26091.76Spookaecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26101.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
26111.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
26121.76Spookaelse
26131.76Spooka  cat >conftest.$ac_ext <<_ACEOF
26141.76Spooka#line 2614 "configure"
26151.76Spooka#include "confdefs.h"
26161.76Spooka#include <$ac_header>
26171.48Sjmc_ACEOF
26181.76Spookaif { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
26191.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26201.76Spooka  ac_status=$?
26211.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
26221.76Spooka  rm -f conftest.er1
26231.76Spooka  cat conftest.err >&5
26241.76Spooka  echo "$as_me:2624: \$? = $ac_status" >&5
26251.76Spooka  (exit $ac_status); } >/dev/null; then
26261.76Spooka  if test -s conftest.err; then
26271.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
26281.76Spooka  else
26291.76Spooka    ac_cpp_err=
26301.76Spooka  fi
26311.74Schristoselse
26321.76Spooka  ac_cpp_err=yes
26331.74Schristosfi
26341.76Spookaif test -z "$ac_cpp_err"; then
26351.76Spooka  eval "$as_ac_Header=yes"
26361.76Spookaelse
26371.76Spooka  echo "$as_me: failed program was:" >&5
26381.76Spooka  cat conftest.$ac_ext >&5
26391.76Spooka  eval "$as_ac_Header=no"
26401.76Spookafi
26411.76Spookarm -f conftest.err conftest.$ac_ext
26421.76Spookafi
26431.76Spookaecho "$as_me:2643: result: `eval echo '${'$as_ac_Header'}'`" >&5
26441.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26451.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
26461.76Spooka  cat >>confdefs.h <<EOF
26471.76Spooka#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26481.76SpookaEOF
26491.74Schristos
26501.76Spookaelse
26511.76Spooka  test -f include/$ac_header || touch include/$ac_header
26521.76Spookafi
26531.6Stvdone
26541.6Stv
26551.63Sapbfor ac_header in rpc/types.h netconfig.h
26561.76Spookado
26571.76Spookaas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26581.76Spookaecho "$as_me:2658: checking for $ac_header" >&5
26591.76Spookaecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26601.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
26611.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
26621.76Spookaelse
26631.76Spooka  cat >conftest.$ac_ext <<_ACEOF
26641.76Spooka#line 2664 "configure"
26651.76Spooka#include "confdefs.h"
26661.76Spooka#include <$ac_header>
26671.7Stv_ACEOF
26681.76Spookaif { (eval echo "$as_me:2668: \"$ac_cpp conftest.$ac_ext\"") >&5
26691.76Spooka  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26701.76Spooka  ac_status=$?
26711.76Spooka  egrep -v '^ *\+' conftest.er1 >conftest.err
26721.76Spooka  rm -f conftest.er1
26731.76Spooka  cat conftest.err >&5
26741.76Spooka  echo "$as_me:2674: \$? = $ac_status" >&5
26751.76Spooka  (exit $ac_status); } >/dev/null; then
26761.76Spooka  if test -s conftest.err; then
26771.76Spooka    ac_cpp_err=$ac_c_preproc_warn_flag
26781.76Spooka  else
26791.76Spooka    ac_cpp_err=
26801.76Spooka  fi
26811.76Spookaelse
26821.76Spooka  ac_cpp_err=yes
26831.76Spookafi
26841.76Spookaif test -z "$ac_cpp_err"; then
26851.76Spooka  eval "$as_ac_Header=yes"
26861.76Spookaelse
26871.76Spooka  echo "$as_me: failed program was:" >&5
26881.76Spooka  cat conftest.$ac_ext >&5
26891.76Spooka  eval "$as_ac_Header=no"
26901.76Spookafi
26911.76Spookarm -f conftest.err conftest.$ac_ext
26921.76Spookafi
26931.76Spookaecho "$as_me:2693: result: `eval echo '${'$as_ac_Header'}'`" >&5
26941.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26951.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
26961.76Spooka  cat >>confdefs.h <<EOF
26971.76Spooka#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26981.76SpookaEOF
26991.39Sfredb
27001.43Sdbjelse
27011.63Sapb  echo '#include "nbtool_config.h"' >include/$ac_header.new
27021.72Sapb	echo '#include "'$srcdir/../../include/$ac_header'"' \
27031.72Sapb		>>include/$ac_header.new
27041.63Sapb	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
27051.63Sapb		rm -f include/$ac_header.new
27061.63Sapb	else
27071.63Sapb		mv -f include/$ac_header.new include/$ac_header
27081.63Sapb	fi
27091.7Stvfi
27101.76Spookadone
27111.76Spooka
27121.76Spooka# Typedefs.
27131.76Spooka# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27141.76Spooka
27151.76Spookafor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27161.76Spooka                  inttypes.h stdint.h unistd.h
27171.76Spookado
27181.76Spookaas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27191.76Spookaecho "$as_me:2719: checking for $ac_header" >&5
27201.76Spookaecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27211.76Spookaif eval "test \"\${$as_ac_Header+set}\" = set"; then
27221.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
27231.76Spookaelse
27241.76Spooka  cat >conftest.$ac_ext <<_ACEOF
27251.76Spooka#line 2725 "configure"
27261.76Spooka#include "confdefs.h"
27271.76Spooka$ac_includes_default
27281.76Spooka#include <$ac_header>
27291.76Spooka_ACEOF
27301.76Spookarm -f conftest.$ac_objext
27311.76Spookaif { (eval echo "$as_me:2731: \"$ac_compile\"") >&5
27321.76Spooka  (eval $ac_compile) 2>&5
27331.76Spooka  ac_status=$?
27341.76Spooka  echo "$as_me:2734: \$? = $ac_status" >&5
27351.76Spooka  (exit $ac_status); } &&
27361.76Spooka         { ac_try='test -s conftest.$ac_objext'
27371.76Spooka  { (eval echo "$as_me:2737: \"$ac_try\"") >&5
27381.76Spooka  (eval $ac_try) 2>&5
27391.76Spooka  ac_status=$?
27401.76Spooka  echo "$as_me:2740: \$? = $ac_status" >&5
27411.76Spooka  (exit $ac_status); }; }; then
27421.76Spooka  eval "$as_ac_Header=yes"
27431.76Spookaelse
27441.76Spooka  echo "$as_me: failed program was:" >&5
27451.76Spookacat conftest.$ac_ext >&5
27461.76Spookaeval "$as_ac_Header=no"
27471.76Spookafi
27481.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
27491.76Spookafi
27501.76Spookaecho "$as_me:2750: result: `eval echo '${'$as_ac_Header'}'`" >&5
27511.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27521.76Spookaif test `eval echo '${'$as_ac_Header'}'` = yes; then
27531.76Spooka  cat >>confdefs.h <<EOF
27541.76Spooka#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27551.76SpookaEOF
27561.74Schristos
27571.76Spookafi
27581.66Stsutsuidone
27591.66Stsutsui
27601.76Spookaecho "$as_me:2760: checking for size_t" >&5
27611.76Spookaecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27621.76Spookaif test "${ac_cv_type_size_t+set}" = set; then
27631.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
27641.76Spookaelse
27651.76Spooka  cat >conftest.$ac_ext <<_ACEOF
27661.76Spooka#line 2766 "configure"
27671.76Spooka#include "confdefs.h"
27681.76Spooka$ac_includes_default
27691.76Spookaint
27701.76Spookamain ()
27711.76Spooka{
27721.76Spookaif ((size_t *) 0)
27731.76Spooka  return 0;
27741.76Spookaif (sizeof (size_t))
27751.76Spooka  return 0;
27761.76Spooka  ;
27771.76Spooka  return 0;
27781.76Spooka}
27791.76Spooka_ACEOF
27801.76Spookarm -f conftest.$ac_objext
27811.76Spookaif { (eval echo "$as_me:2781: \"$ac_compile\"") >&5
27821.76Spooka  (eval $ac_compile) 2>&5
27831.76Spooka  ac_status=$?
27841.76Spooka  echo "$as_me:2784: \$? = $ac_status" >&5
27851.76Spooka  (exit $ac_status); } &&
27861.76Spooka         { ac_try='test -s conftest.$ac_objext'
27871.76Spooka  { (eval echo "$as_me:2787: \"$ac_try\"") >&5
27881.76Spooka  (eval $ac_try) 2>&5
27891.76Spooka  ac_status=$?
27901.76Spooka  echo "$as_me:2790: \$? = $ac_status" >&5
27911.76Spooka  (exit $ac_status); }; }; then
27921.76Spooka  ac_cv_type_size_t=yes
27931.76Spookaelse
27941.76Spooka  echo "$as_me: failed program was:" >&5
27951.76Spookacat conftest.$ac_ext >&5
27961.76Spookaac_cv_type_size_t=no
27971.76Spookafi
27981.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
27991.76Spookafi
28001.76Spookaecho "$as_me:2800: result: $ac_cv_type_size_t" >&5
28011.76Spookaecho "${ECHO_T}$ac_cv_type_size_t" >&6
28021.76Spookaif test $ac_cv_type_size_t = yes; then
28031.76Spooka  :
28041.76Spookaelse
28051.76Spooka
28061.76Spookacat >>confdefs.h <<EOF
28071.76Spooka#define size_t unsigned
28081.76SpookaEOF
28091.76Spooka
28101.76Spookafi
28111.76Spooka
28121.76Spookaecho "$as_me:2812: checking for id_t" >&5
28131.76Spookaecho $ECHO_N "checking for id_t... $ECHO_C" >&6
28141.76Spookaif test "${ac_cv_type_id_t+set}" = set; then
28151.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
28161.76Spookaelse
28171.76Spooka  cat >conftest.$ac_ext <<_ACEOF
28181.76Spooka#line 2818 "configure"
28191.76Spooka#include "confdefs.h"
28201.76Spooka$ac_includes_default
28211.76Spookaint
28221.76Spookamain ()
28231.76Spooka{
28241.76Spookaif ((id_t *) 0)
28251.76Spooka  return 0;
28261.76Spookaif (sizeof (id_t))
28271.76Spooka  return 0;
28281.76Spooka  ;
28291.76Spooka  return 0;
28301.76Spooka}
28311.76Spooka_ACEOF
28321.76Spookarm -f conftest.$ac_objext
28331.76Spookaif { (eval echo "$as_me:2833: \"$ac_compile\"") >&5
28341.76Spooka  (eval $ac_compile) 2>&5
28351.76Spooka  ac_status=$?
28361.76Spooka  echo "$as_me:2836: \$? = $ac_status" >&5
28371.76Spooka  (exit $ac_status); } &&
28381.76Spooka         { ac_try='test -s conftest.$ac_objext'
28391.76Spooka  { (eval echo "$as_me:2839: \"$ac_try\"") >&5
28401.76Spooka  (eval $ac_try) 2>&5
28411.76Spooka  ac_status=$?
28421.76Spooka  echo "$as_me:2842: \$? = $ac_status" >&5
28431.76Spooka  (exit $ac_status); }; }; then
28441.76Spooka  ac_cv_type_id_t=yes
28451.76Spookaelse
28461.76Spooka  echo "$as_me: failed program was:" >&5
28471.76Spookacat conftest.$ac_ext >&5
28481.76Spookaac_cv_type_id_t=no
28491.76Spookafi
28501.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
28511.76Spookafi
28521.76Spookaecho "$as_me:2852: result: $ac_cv_type_id_t" >&5
28531.76Spookaecho "${ECHO_T}$ac_cv_type_id_t" >&6
28541.76Spookaif test $ac_cv_type_id_t = yes; then
28551.76Spooka
28561.76Spookacat >>confdefs.h <<EOF
28571.76Spooka#define HAVE_ID_T 1
28581.76SpookaEOF
28591.76Spooka
28601.76Spookafi
28611.76Spookaecho "$as_me:2861: checking for long long" >&5
28621.76Spookaecho $ECHO_N "checking for long long... $ECHO_C" >&6
28631.76Spookaif test "${ac_cv_type_long_long+set}" = set; then
28641.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
28651.76Spookaelse
28661.76Spooka  cat >conftest.$ac_ext <<_ACEOF
28671.76Spooka#line 2867 "configure"
28681.76Spooka#include "confdefs.h"
28691.76Spooka$ac_includes_default
28701.76Spookaint
28711.76Spookamain ()
28721.76Spooka{
28731.76Spookaif ((long long *) 0)
28741.76Spooka  return 0;
28751.76Spookaif (sizeof (long long))
28761.76Spooka  return 0;
28771.76Spooka  ;
28781.76Spooka  return 0;
28791.76Spooka}
28801.76Spooka_ACEOF
28811.76Spookarm -f conftest.$ac_objext
28821.76Spookaif { (eval echo "$as_me:2882: \"$ac_compile\"") >&5
28831.76Spooka  (eval $ac_compile) 2>&5
28841.76Spooka  ac_status=$?
28851.76Spooka  echo "$as_me:2885: \$? = $ac_status" >&5
28861.76Spooka  (exit $ac_status); } &&
28871.76Spooka         { ac_try='test -s conftest.$ac_objext'
28881.76Spooka  { (eval echo "$as_me:2888: \"$ac_try\"") >&5
28891.76Spooka  (eval $ac_try) 2>&5
28901.76Spooka  ac_status=$?
28911.76Spooka  echo "$as_me:2891: \$? = $ac_status" >&5
28921.76Spooka  (exit $ac_status); }; }; then
28931.76Spooka  ac_cv_type_long_long=yes
28941.76Spookaelse
28951.76Spooka  echo "$as_me: failed program was:" >&5
28961.76Spookacat conftest.$ac_ext >&5
28971.76Spookaac_cv_type_long_long=no
28981.76Spookafi
28991.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
29001.76Spookafi
29011.76Spookaecho "$as_me:2901: result: $ac_cv_type_long_long" >&5
29021.76Spookaecho "${ECHO_T}$ac_cv_type_long_long" >&6
29031.76Spookaif test $ac_cv_type_long_long = yes; then
29041.76Spooka
29051.76Spookacat >>confdefs.h <<EOF
29061.76Spooka#define HAVE_LONG_LONG 1
29071.76SpookaEOF
29081.76Spooka
29091.76Spookafi
29101.76Spookaecho "$as_me:2910: checking for u_long" >&5
29111.76Spookaecho $ECHO_N "checking for u_long... $ECHO_C" >&6
29121.76Spookaif test "${ac_cv_type_u_long+set}" = set; then
29131.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
29141.76Spookaelse
29151.76Spooka  cat >conftest.$ac_ext <<_ACEOF
29161.76Spooka#line 2916 "configure"
29171.76Spooka#include "confdefs.h"
29181.76Spooka$ac_includes_default
29191.76Spookaint
29201.76Spookamain ()
29211.76Spooka{
29221.76Spookaif ((u_long *) 0)
29231.76Spooka  return 0;
29241.76Spookaif (sizeof (u_long))
29251.76Spooka  return 0;
29261.76Spooka  ;
29271.76Spooka  return 0;
29281.76Spooka}
29291.76Spooka_ACEOF
29301.76Spookarm -f conftest.$ac_objext
29311.76Spookaif { (eval echo "$as_me:2931: \"$ac_compile\"") >&5
29321.76Spooka  (eval $ac_compile) 2>&5
29331.76Spooka  ac_status=$?
29341.76Spooka  echo "$as_me:2934: \$? = $ac_status" >&5
29351.76Spooka  (exit $ac_status); } &&
29361.76Spooka         { ac_try='test -s conftest.$ac_objext'
29371.76Spooka  { (eval echo "$as_me:2937: \"$ac_try\"") >&5
29381.76Spooka  (eval $ac_try) 2>&5
29391.76Spooka  ac_status=$?
29401.76Spooka  echo "$as_me:2940: \$? = $ac_status" >&5
29411.76Spooka  (exit $ac_status); }; }; then
29421.76Spooka  ac_cv_type_u_long=yes
29431.76Spookaelse
29441.76Spooka  echo "$as_me: failed program was:" >&5
29451.76Spookacat conftest.$ac_ext >&5
29461.76Spookaac_cv_type_u_long=no
29471.76Spookafi
29481.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
29491.76Spookafi
29501.76Spookaecho "$as_me:2950: result: $ac_cv_type_u_long" >&5
29511.76Spookaecho "${ECHO_T}$ac_cv_type_u_long" >&6
29521.76Spookaif test $ac_cv_type_u_long = yes; then
29531.76Spooka
29541.76Spookacat >>confdefs.h <<EOF
29551.76Spooka#define HAVE_U_LONG 1
29561.76SpookaEOF
29571.76Spooka
29581.76Spookafi
29591.76Spookaecho "$as_me:2959: checking for u_char" >&5
29601.76Spookaecho $ECHO_N "checking for u_char... $ECHO_C" >&6
29611.76Spookaif test "${ac_cv_type_u_char+set}" = set; then
29621.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
29631.76Spookaelse
29641.76Spooka  cat >conftest.$ac_ext <<_ACEOF
29651.76Spooka#line 2965 "configure"
29661.76Spooka#include "confdefs.h"
29671.76Spooka$ac_includes_default
29681.76Spookaint
29691.76Spookamain ()
29701.76Spooka{
29711.76Spookaif ((u_char *) 0)
29721.76Spooka  return 0;
29731.76Spookaif (sizeof (u_char))
29741.76Spooka  return 0;
29751.76Spooka  ;
29761.76Spooka  return 0;
29771.76Spooka}
29781.76Spooka_ACEOF
29791.76Spookarm -f conftest.$ac_objext
29801.76Spookaif { (eval echo "$as_me:2980: \"$ac_compile\"") >&5
29811.76Spooka  (eval $ac_compile) 2>&5
29821.76Spooka  ac_status=$?
29831.76Spooka  echo "$as_me:2983: \$? = $ac_status" >&5
29841.76Spooka  (exit $ac_status); } &&
29851.76Spooka         { ac_try='test -s conftest.$ac_objext'
29861.76Spooka  { (eval echo "$as_me:2986: \"$ac_try\"") >&5
29871.76Spooka  (eval $ac_try) 2>&5
29881.76Spooka  ac_status=$?
29891.76Spooka  echo "$as_me:2989: \$? = $ac_status" >&5
29901.76Spooka  (exit $ac_status); }; }; then
29911.76Spooka  ac_cv_type_u_char=yes
29921.76Spookaelse
29931.76Spooka  echo "$as_me: failed program was:" >&5
29941.76Spookacat conftest.$ac_ext >&5
29951.76Spookaac_cv_type_u_char=no
29961.76Spookafi
29971.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
29981.76Spookafi
29991.76Spookaecho "$as_me:2999: result: $ac_cv_type_u_char" >&5
30001.76Spookaecho "${ECHO_T}$ac_cv_type_u_char" >&6
30011.76Spookaif test $ac_cv_type_u_char = yes; then
30021.76Spooka
30031.76Spookacat >>confdefs.h <<EOF
30041.76Spooka#define HAVE_U_CHAR 1
30051.76SpookaEOF
30061.76Spooka
30071.76Spookafi
30081.76Spookaecho "$as_me:3008: checking for u_short" >&5
30091.76Spookaecho $ECHO_N "checking for u_short... $ECHO_C" >&6
30101.76Spookaif test "${ac_cv_type_u_short+set}" = set; then
30111.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
30121.76Spookaelse
30131.76Spooka  cat >conftest.$ac_ext <<_ACEOF
30141.76Spooka#line 3014 "configure"
30151.76Spooka#include "confdefs.h"
30161.76Spooka$ac_includes_default
30171.76Spookaint
30181.76Spookamain ()
30191.76Spooka{
30201.76Spookaif ((u_short *) 0)
30211.76Spooka  return 0;
30221.76Spookaif (sizeof (u_short))
30231.76Spooka  return 0;
30241.76Spooka  ;
30251.76Spooka  return 0;
30261.76Spooka}
30271.76Spooka_ACEOF
30281.76Spookarm -f conftest.$ac_objext
30291.76Spookaif { (eval echo "$as_me:3029: \"$ac_compile\"") >&5
30301.76Spooka  (eval $ac_compile) 2>&5
30311.76Spooka  ac_status=$?
30321.76Spooka  echo "$as_me:3032: \$? = $ac_status" >&5
30331.76Spooka  (exit $ac_status); } &&
30341.76Spooka         { ac_try='test -s conftest.$ac_objext'
30351.76Spooka  { (eval echo "$as_me:3035: \"$ac_try\"") >&5
30361.76Spooka  (eval $ac_try) 2>&5
30371.76Spooka  ac_status=$?
30381.76Spooka  echo "$as_me:3038: \$? = $ac_status" >&5
30391.76Spooka  (exit $ac_status); }; }; then
30401.76Spooka  ac_cv_type_u_short=yes
30411.76Spookaelse
30421.76Spooka  echo "$as_me: failed program was:" >&5
30431.76Spookacat conftest.$ac_ext >&5
30441.76Spookaac_cv_type_u_short=no
30451.76Spookafi
30461.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
30471.76Spookafi
30481.76Spookaecho "$as_me:3048: result: $ac_cv_type_u_short" >&5
30491.76Spookaecho "${ECHO_T}$ac_cv_type_u_short" >&6
30501.76Spookaif test $ac_cv_type_u_short = yes; then
30511.76Spooka
30521.76Spookacat >>confdefs.h <<EOF
30531.76Spooka#define HAVE_U_SHORT 1
30541.76SpookaEOF
30551.76Spooka
30561.76Spookafi
30571.76Spookaecho "$as_me:3057: checking for u_int" >&5
30581.76Spookaecho $ECHO_N "checking for u_int... $ECHO_C" >&6
30591.76Spookaif test "${ac_cv_type_u_int+set}" = set; then
30601.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
30611.76Spookaelse
30621.76Spooka  cat >conftest.$ac_ext <<_ACEOF
30631.76Spooka#line 3063 "configure"
30641.76Spooka#include "confdefs.h"
30651.76Spooka$ac_includes_default
30661.76Spookaint
30671.76Spookamain ()
30681.76Spooka{
30691.76Spookaif ((u_int *) 0)
30701.76Spooka  return 0;
30711.76Spookaif (sizeof (u_int))
30721.76Spooka  return 0;
30731.76Spooka  ;
30741.76Spooka  return 0;
30751.76Spooka}
30761.76Spooka_ACEOF
30771.76Spookarm -f conftest.$ac_objext
30781.76Spookaif { (eval echo "$as_me:3078: \"$ac_compile\"") >&5
30791.76Spooka  (eval $ac_compile) 2>&5
30801.76Spooka  ac_status=$?
30811.76Spooka  echo "$as_me:3081: \$? = $ac_status" >&5
30821.76Spooka  (exit $ac_status); } &&
30831.76Spooka         { ac_try='test -s conftest.$ac_objext'
30841.76Spooka  { (eval echo "$as_me:3084: \"$ac_try\"") >&5
30851.76Spooka  (eval $ac_try) 2>&5
30861.76Spooka  ac_status=$?
30871.76Spooka  echo "$as_me:3087: \$? = $ac_status" >&5
30881.76Spooka  (exit $ac_status); }; }; then
30891.76Spooka  ac_cv_type_u_int=yes
30901.76Spookaelse
30911.76Spooka  echo "$as_me: failed program was:" >&5
30921.76Spookacat conftest.$ac_ext >&5
30931.76Spookaac_cv_type_u_int=no
30941.76Spookafi
30951.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
30961.76Spookafi
30971.76Spookaecho "$as_me:3097: result: $ac_cv_type_u_int" >&5
30981.76Spookaecho "${ECHO_T}$ac_cv_type_u_int" >&6
30991.76Spookaif test $ac_cv_type_u_int = yes; then
31001.76Spooka
31011.76Spookacat >>confdefs.h <<EOF
31021.76Spooka#define HAVE_U_INT 1
31031.76SpookaEOF
31041.76Spooka
31051.76Spookafi
31061.76Spookaecho "$as_me:3106: checking for u_quad_t" >&5
31071.76Spookaecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
31081.76Spookaif test "${ac_cv_type_u_quad_t+set}" = set; then
31091.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
31101.76Spookaelse
31111.76Spooka  cat >conftest.$ac_ext <<_ACEOF
31121.76Spooka#line 3112 "configure"
31131.76Spooka#include "confdefs.h"
31141.76Spooka$ac_includes_default
31151.76Spookaint
31161.76Spookamain ()
31171.76Spooka{
31181.76Spookaif ((u_quad_t *) 0)
31191.76Spooka  return 0;
31201.76Spookaif (sizeof (u_quad_t))
31211.76Spooka  return 0;
31221.76Spooka  ;
31231.76Spooka  return 0;
31241.76Spooka}
31251.76Spooka_ACEOF
31261.76Spookarm -f conftest.$ac_objext
31271.76Spookaif { (eval echo "$as_me:3127: \"$ac_compile\"") >&5
31281.76Spooka  (eval $ac_compile) 2>&5
31291.76Spooka  ac_status=$?
31301.76Spooka  echo "$as_me:3130: \$? = $ac_status" >&5
31311.76Spooka  (exit $ac_status); } &&
31321.76Spooka         { ac_try='test -s conftest.$ac_objext'
31331.76Spooka  { (eval echo "$as_me:3133: \"$ac_try\"") >&5
31341.76Spooka  (eval $ac_try) 2>&5
31351.76Spooka  ac_status=$?
31361.76Spooka  echo "$as_me:3136: \$? = $ac_status" >&5
31371.76Spooka  (exit $ac_status); }; }; then
31381.76Spooka  ac_cv_type_u_quad_t=yes
31391.76Spookaelse
31401.76Spooka  echo "$as_me: failed program was:" >&5
31411.76Spookacat conftest.$ac_ext >&5
31421.76Spookaac_cv_type_u_quad_t=no
31431.76Spookafi
31441.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
31451.76Spookafi
31461.76Spookaecho "$as_me:3146: result: $ac_cv_type_u_quad_t" >&5
31471.76Spookaecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
31481.76Spookaif test $ac_cv_type_u_quad_t = yes; then
31491.76Spooka
31501.76Spookacat >>confdefs.h <<EOF
31511.76Spooka#define HAVE_U_QUAD_T 1
31521.76SpookaEOF
31531.76Spooka
31541.76Spookafi
31551.76Spooka
31561.76Spookaecho "$as_me:3156: checking for socklen_t" >&5
31571.76Spookaecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
31581.76Spookaif test "${ac_cv_type_socklen_t+set}" = set; then
31591.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
31601.76Spookaelse
31611.76Spooka  cat >conftest.$ac_ext <<_ACEOF
31621.76Spooka#line 3162 "configure"
31631.76Spooka#include "confdefs.h"
31641.76Spooka#include <sys/types.h>
31651.76Spooka#ifdef HAVE_RPC_TYPES_H
31661.76Spooka#include <rpc/types.h>
31671.76Spooka#endif
31681.76Spooka#include <sys/socket.h>
31691.76Spooka
31701.76Spookaint
31711.76Spookamain ()
31721.76Spooka{
31731.76Spookaif ((socklen_t *) 0)
31741.76Spooka  return 0;
31751.76Spookaif (sizeof (socklen_t))
31761.76Spooka  return 0;
31771.76Spooka  ;
31781.76Spooka  return 0;
31791.76Spooka}
31801.76Spooka_ACEOF
31811.76Spookarm -f conftest.$ac_objext
31821.76Spookaif { (eval echo "$as_me:3182: \"$ac_compile\"") >&5
31831.76Spooka  (eval $ac_compile) 2>&5
31841.76Spooka  ac_status=$?
31851.76Spooka  echo "$as_me:3185: \$? = $ac_status" >&5
31861.76Spooka  (exit $ac_status); } &&
31871.76Spooka         { ac_try='test -s conftest.$ac_objext'
31881.76Spooka  { (eval echo "$as_me:3188: \"$ac_try\"") >&5
31891.76Spooka  (eval $ac_try) 2>&5
31901.76Spooka  ac_status=$?
31911.76Spooka  echo "$as_me:3191: \$? = $ac_status" >&5
31921.76Spooka  (exit $ac_status); }; }; then
31931.76Spooka  ac_cv_type_socklen_t=yes
31941.76Spookaelse
31951.76Spooka  echo "$as_me: failed program was:" >&5
31961.76Spookacat conftest.$ac_ext >&5
31971.76Spookaac_cv_type_socklen_t=no
31981.76Spookafi
31991.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
32001.76Spookafi
32011.76Spookaecho "$as_me:3201: result: $ac_cv_type_socklen_t" >&5
32021.76Spookaecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
32031.76Spookaif test $ac_cv_type_socklen_t = yes; then
32041.76Spooka
32051.76Spookacat >>confdefs.h <<\EOF
32061.76Spooka#define HAVE_SOCKLEN_T 1
32071.76SpookaEOF
32081.76Spooka
32091.76Spookafi
32101.76Spooka
32111.76Spooka	echo "$as_me:3211: checking for uint8_t" >&5
32121.76Spookaecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32131.76Spookaif test "${ac_cv_type_uint8_t+set}" = set; then
32141.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
32151.76Spookaelse
32161.76Spooka  cat >conftest.$ac_ext <<_ACEOF
32171.76Spooka#line 3217 "configure"
32181.76Spooka#include "confdefs.h"
32191.76Spooka$ac_includes_default
32201.76Spookaint
32211.76Spookamain ()
32221.76Spooka{
32231.76Spookaif ((uint8_t *) 0)
32241.76Spooka  return 0;
32251.76Spookaif (sizeof (uint8_t))
32261.76Spooka  return 0;
32271.76Spooka  ;
32281.76Spooka  return 0;
32291.76Spooka}
32301.76Spooka_ACEOF
32311.76Spookarm -f conftest.$ac_objext
32321.76Spookaif { (eval echo "$as_me:3232: \"$ac_compile\"") >&5
32331.76Spooka  (eval $ac_compile) 2>&5
32341.76Spooka  ac_status=$?
32351.76Spooka  echo "$as_me:3235: \$? = $ac_status" >&5
32361.76Spooka  (exit $ac_status); } &&
32371.76Spooka         { ac_try='test -s conftest.$ac_objext'
32381.76Spooka  { (eval echo "$as_me:3238: \"$ac_try\"") >&5
32391.76Spooka  (eval $ac_try) 2>&5
32401.76Spooka  ac_status=$?
32411.76Spooka  echo "$as_me:3241: \$? = $ac_status" >&5
32421.76Spooka  (exit $ac_status); }; }; then
32431.76Spooka  ac_cv_type_uint8_t=yes
32441.76Spookaelse
32451.76Spooka  echo "$as_me: failed program was:" >&5
32461.76Spookacat conftest.$ac_ext >&5
32471.76Spookaac_cv_type_uint8_t=no
32481.76Spookafi
32491.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
32501.76Spookafi
32511.76Spookaecho "$as_me:3251: result: $ac_cv_type_uint8_t" >&5
32521.76Spookaecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32531.76Spookaif test $ac_cv_type_uint8_t = yes; then
32541.76Spooka  :
32551.76Spookaelse
32561.76Spooka
32571.76Spooka		echo "$as_me:3257: checking for u_int8_t" >&5
32581.76Spookaecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32591.76Spookaif test "${ac_cv_type_u_int8_t+set}" = set; then
32601.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
32611.76Spookaelse
32621.76Spooka  cat >conftest.$ac_ext <<_ACEOF
32631.76Spooka#line 3263 "configure"
32641.76Spooka#include "confdefs.h"
32651.76Spooka$ac_includes_default
32661.76Spookaint
32671.76Spookamain ()
32681.76Spooka{
32691.76Spookaif ((u_int8_t *) 0)
32701.76Spooka  return 0;
32711.76Spookaif (sizeof (u_int8_t))
32721.76Spooka  return 0;
32731.76Spooka  ;
32741.76Spooka  return 0;
32751.76Spooka}
32761.76Spooka_ACEOF
32771.76Spookarm -f conftest.$ac_objext
32781.76Spookaif { (eval echo "$as_me:3278: \"$ac_compile\"") >&5
32791.76Spooka  (eval $ac_compile) 2>&5
32801.76Spooka  ac_status=$?
32811.76Spooka  echo "$as_me:3281: \$? = $ac_status" >&5
32821.76Spooka  (exit $ac_status); } &&
32831.76Spooka         { ac_try='test -s conftest.$ac_objext'
32841.76Spooka  { (eval echo "$as_me:3284: \"$ac_try\"") >&5
32851.76Spooka  (eval $ac_try) 2>&5
32861.76Spooka  ac_status=$?
32871.76Spooka  echo "$as_me:3287: \$? = $ac_status" >&5
32881.76Spooka  (exit $ac_status); }; }; then
32891.76Spooka  ac_cv_type_u_int8_t=yes
32901.76Spookaelse
32911.76Spooka  echo "$as_me: failed program was:" >&5
32921.76Spookacat conftest.$ac_ext >&5
32931.76Spookaac_cv_type_u_int8_t=no
32941.76Spookafi
32951.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
32961.76Spookafi
32971.76Spookaecho "$as_me:3297: result: $ac_cv_type_u_int8_t" >&5
32981.76Spookaecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32991.76Spookaif test $ac_cv_type_u_int8_t = yes; then
33001.76Spooka
33011.76Spookacat >>confdefs.h <<\EOF
33021.76Spooka#define uint8_t u_int8_t
33031.76SpookaEOF
33041.76Spooka
33051.76Spookaelse
33061.76Spooka  { { echo "$as_me:3306: error: cannot find a suitable type for uint8_t" >&5
33071.76Spookaecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
33081.76Spooka   { (exit 1); exit 1; }; }
33091.76Spookafi
33101.76Spooka
33111.76Spookafi
33121.76Spooka
33131.76Spooka	echo "$as_me:3313: checking for u_int8_t" >&5
33141.76Spookaecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
33151.76Spookaif test "${ac_cv_type_u_int8_t+set}" = set; then
33161.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
33171.76Spookaelse
33181.76Spooka  cat >conftest.$ac_ext <<_ACEOF
33191.76Spooka#line 3319 "configure"
33201.76Spooka#include "confdefs.h"
33211.76Spooka$ac_includes_default
33221.76Spookaint
33231.76Spookamain ()
33241.76Spooka{
33251.76Spookaif ((u_int8_t *) 0)
33261.76Spooka  return 0;
33271.76Spookaif (sizeof (u_int8_t))
33281.76Spooka  return 0;
33291.76Spooka  ;
33301.76Spooka  return 0;
33311.76Spooka}
33321.76Spooka_ACEOF
33331.76Spookarm -f conftest.$ac_objext
33341.76Spookaif { (eval echo "$as_me:3334: \"$ac_compile\"") >&5
33351.76Spooka  (eval $ac_compile) 2>&5
33361.76Spooka  ac_status=$?
33371.76Spooka  echo "$as_me:3337: \$? = $ac_status" >&5
33381.76Spooka  (exit $ac_status); } &&
33391.76Spooka         { ac_try='test -s conftest.$ac_objext'
33401.76Spooka  { (eval echo "$as_me:3340: \"$ac_try\"") >&5
33411.76Spooka  (eval $ac_try) 2>&5
33421.76Spooka  ac_status=$?
33431.76Spooka  echo "$as_me:3343: \$? = $ac_status" >&5
33441.76Spooka  (exit $ac_status); }; }; then
33451.76Spooka  ac_cv_type_u_int8_t=yes
33461.76Spookaelse
33471.76Spooka  echo "$as_me: failed program was:" >&5
33481.76Spookacat conftest.$ac_ext >&5
33491.76Spookaac_cv_type_u_int8_t=no
33501.76Spookafi
33511.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
33521.76Spookafi
33531.76Spookaecho "$as_me:3353: result: $ac_cv_type_u_int8_t" >&5
33541.76Spookaecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
33551.76Spookaif test $ac_cv_type_u_int8_t = yes; then
33561.76Spooka  :
33571.76Spookaelse
33581.76Spooka
33591.76Spooka		echo "$as_me:3359: checking for uint8_t" >&5
33601.76Spookaecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
33611.76Spookaif test "${ac_cv_type_uint8_t+set}" = set; then
33621.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
33631.76Spookaelse
33641.76Spooka  cat >conftest.$ac_ext <<_ACEOF
33651.76Spooka#line 3365 "configure"
33661.76Spooka#include "confdefs.h"
33671.76Spooka$ac_includes_default
33681.76Spookaint
33691.76Spookamain ()
33701.76Spooka{
33711.76Spookaif ((uint8_t *) 0)
33721.76Spooka  return 0;
33731.76Spookaif (sizeof (uint8_t))
33741.76Spooka  return 0;
33751.76Spooka  ;
33761.76Spooka  return 0;
33771.76Spooka}
33781.76Spooka_ACEOF
33791.76Spookarm -f conftest.$ac_objext
33801.76Spookaif { (eval echo "$as_me:3380: \"$ac_compile\"") >&5
33811.76Spooka  (eval $ac_compile) 2>&5
33821.76Spooka  ac_status=$?
33831.76Spooka  echo "$as_me:3383: \$? = $ac_status" >&5
33841.76Spooka  (exit $ac_status); } &&
33851.76Spooka         { ac_try='test -s conftest.$ac_objext'
33861.76Spooka  { (eval echo "$as_me:3386: \"$ac_try\"") >&5
33871.76Spooka  (eval $ac_try) 2>&5
33881.76Spooka  ac_status=$?
33891.76Spooka  echo "$as_me:3389: \$? = $ac_status" >&5
33901.76Spooka  (exit $ac_status); }; }; then
33911.76Spooka  ac_cv_type_uint8_t=yes
33921.76Spookaelse
33931.76Spooka  echo "$as_me: failed program was:" >&5
33941.76Spookacat conftest.$ac_ext >&5
33951.76Spookaac_cv_type_uint8_t=no
33961.76Spookafi
33971.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
33981.76Spookafi
33991.76Spookaecho "$as_me:3399: result: $ac_cv_type_uint8_t" >&5
34001.76Spookaecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
34011.76Spookaif test $ac_cv_type_uint8_t = yes; then
34021.76Spooka
34031.76Spookacat >>confdefs.h <<\EOF
34041.76Spooka#define u_int8_t uint8_t
34051.76SpookaEOF
34061.76Spooka
34071.76Spookaelse
34081.76Spooka  { { echo "$as_me:3408: error: cannot find a suitable type for u_int8_t" >&5
34091.76Spookaecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
34101.76Spooka   { (exit 1); exit 1; }; }
34111.76Spookafi
34121.76Spooka
34131.76Spookafi
34141.76Spooka
34151.76Spooka	echo "$as_me:3415: checking for uint16_t" >&5
34161.76Spookaecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
34171.76Spookaif test "${ac_cv_type_uint16_t+set}" = set; then
34181.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
34191.76Spookaelse
34201.76Spooka  cat >conftest.$ac_ext <<_ACEOF
34211.76Spooka#line 3421 "configure"
34221.76Spooka#include "confdefs.h"
34231.76Spooka$ac_includes_default
34241.76Spookaint
34251.76Spookamain ()
34261.76Spooka{
34271.76Spookaif ((uint16_t *) 0)
34281.76Spooka  return 0;
34291.76Spookaif (sizeof (uint16_t))
34301.76Spooka  return 0;
34311.76Spooka  ;
34321.76Spooka  return 0;
34331.76Spooka}
34341.76Spooka_ACEOF
34351.76Spookarm -f conftest.$ac_objext
34361.76Spookaif { (eval echo "$as_me:3436: \"$ac_compile\"") >&5
34371.76Spooka  (eval $ac_compile) 2>&5
34381.76Spooka  ac_status=$?
34391.76Spooka  echo "$as_me:3439: \$? = $ac_status" >&5
34401.76Spooka  (exit $ac_status); } &&
34411.76Spooka         { ac_try='test -s conftest.$ac_objext'
34421.76Spooka  { (eval echo "$as_me:3442: \"$ac_try\"") >&5
34431.76Spooka  (eval $ac_try) 2>&5
34441.76Spooka  ac_status=$?
34451.76Spooka  echo "$as_me:3445: \$? = $ac_status" >&5
34461.76Spooka  (exit $ac_status); }; }; then
34471.76Spooka  ac_cv_type_uint16_t=yes
34481.76Spookaelse
34491.76Spooka  echo "$as_me: failed program was:" >&5
34501.76Spookacat conftest.$ac_ext >&5
34511.76Spookaac_cv_type_uint16_t=no
34521.76Spookafi
34531.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
34541.76Spookafi
34551.76Spookaecho "$as_me:3455: result: $ac_cv_type_uint16_t" >&5
34561.76Spookaecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34571.76Spookaif test $ac_cv_type_uint16_t = yes; then
34581.76Spooka  :
34591.76Spookaelse
34601.76Spooka
34611.76Spooka		echo "$as_me:3461: checking for u_int16_t" >&5
34621.76Spookaecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
34631.76Spookaif test "${ac_cv_type_u_int16_t+set}" = set; then
34641.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
34651.76Spookaelse
34661.76Spooka  cat >conftest.$ac_ext <<_ACEOF
34671.76Spooka#line 3467 "configure"
34681.76Spooka#include "confdefs.h"
34691.76Spooka$ac_includes_default
34701.76Spookaint
34711.76Spookamain ()
34721.76Spooka{
34731.76Spookaif ((u_int16_t *) 0)
34741.76Spooka  return 0;
34751.76Spookaif (sizeof (u_int16_t))
34761.76Spooka  return 0;
34771.76Spooka  ;
34781.76Spooka  return 0;
34791.76Spooka}
34801.76Spooka_ACEOF
34811.76Spookarm -f conftest.$ac_objext
34821.76Spookaif { (eval echo "$as_me:3482: \"$ac_compile\"") >&5
34831.76Spooka  (eval $ac_compile) 2>&5
34841.76Spooka  ac_status=$?
34851.76Spooka  echo "$as_me:3485: \$? = $ac_status" >&5
34861.76Spooka  (exit $ac_status); } &&
34871.76Spooka         { ac_try='test -s conftest.$ac_objext'
34881.76Spooka  { (eval echo "$as_me:3488: \"$ac_try\"") >&5
34891.76Spooka  (eval $ac_try) 2>&5
34901.76Spooka  ac_status=$?
34911.76Spooka  echo "$as_me:3491: \$? = $ac_status" >&5
34921.76Spooka  (exit $ac_status); }; }; then
34931.76Spooka  ac_cv_type_u_int16_t=yes
34941.76Spookaelse
34951.76Spooka  echo "$as_me: failed program was:" >&5
34961.76Spookacat conftest.$ac_ext >&5
34971.76Spookaac_cv_type_u_int16_t=no
34981.76Spookafi
34991.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
35001.76Spookafi
35011.76Spookaecho "$as_me:3501: result: $ac_cv_type_u_int16_t" >&5
35021.76Spookaecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35031.76Spookaif test $ac_cv_type_u_int16_t = yes; then
35041.76Spooka
35051.76Spookacat >>confdefs.h <<\EOF
35061.76Spooka#define uint16_t u_int16_t
35071.76SpookaEOF
35081.76Spooka
35091.76Spookaelse
35101.76Spooka  { { echo "$as_me:3510: error: cannot find a suitable type for uint16_t" >&5
35111.76Spookaecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
35121.76Spooka   { (exit 1); exit 1; }; }
35131.76Spookafi
35141.76Spooka
35151.76Spookafi
35161.76Spooka
35171.76Spooka	echo "$as_me:3517: checking for u_int16_t" >&5
35181.76Spookaecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
35191.76Spookaif test "${ac_cv_type_u_int16_t+set}" = set; then
35201.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
35211.76Spookaelse
35221.76Spooka  cat >conftest.$ac_ext <<_ACEOF
35231.76Spooka#line 3523 "configure"
35241.76Spooka#include "confdefs.h"
35251.76Spooka$ac_includes_default
35261.76Spookaint
35271.76Spookamain ()
35281.76Spooka{
35291.76Spookaif ((u_int16_t *) 0)
35301.76Spooka  return 0;
35311.76Spookaif (sizeof (u_int16_t))
35321.76Spooka  return 0;
35331.76Spooka  ;
35341.76Spooka  return 0;
35351.76Spooka}
35361.76Spooka_ACEOF
35371.76Spookarm -f conftest.$ac_objext
35381.76Spookaif { (eval echo "$as_me:3538: \"$ac_compile\"") >&5
35391.76Spooka  (eval $ac_compile) 2>&5
35401.76Spooka  ac_status=$?
35411.76Spooka  echo "$as_me:3541: \$? = $ac_status" >&5
35421.76Spooka  (exit $ac_status); } &&
35431.76Spooka         { ac_try='test -s conftest.$ac_objext'
35441.76Spooka  { (eval echo "$as_me:3544: \"$ac_try\"") >&5
35451.76Spooka  (eval $ac_try) 2>&5
35461.76Spooka  ac_status=$?
35471.76Spooka  echo "$as_me:3547: \$? = $ac_status" >&5
35481.76Spooka  (exit $ac_status); }; }; then
35491.76Spooka  ac_cv_type_u_int16_t=yes
35501.76Spookaelse
35511.76Spooka  echo "$as_me: failed program was:" >&5
35521.76Spookacat conftest.$ac_ext >&5
35531.76Spookaac_cv_type_u_int16_t=no
35541.76Spookafi
35551.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
35561.76Spookafi
35571.76Spookaecho "$as_me:3557: result: $ac_cv_type_u_int16_t" >&5
35581.76Spookaecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35591.76Spookaif test $ac_cv_type_u_int16_t = yes; then
35601.76Spooka  :
35611.76Spookaelse
35621.76Spooka
35631.76Spooka		echo "$as_me:3563: checking for uint16_t" >&5
35641.76Spookaecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
35651.76Spookaif test "${ac_cv_type_uint16_t+set}" = set; then
35661.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
35671.76Spookaelse
35681.76Spooka  cat >conftest.$ac_ext <<_ACEOF
35691.76Spooka#line 3569 "configure"
35701.76Spooka#include "confdefs.h"
35711.76Spooka$ac_includes_default
35721.76Spookaint
35731.76Spookamain ()
35741.76Spooka{
35751.76Spookaif ((uint16_t *) 0)
35761.76Spooka  return 0;
35771.76Spookaif (sizeof (uint16_t))
35781.76Spooka  return 0;
35791.76Spooka  ;
35801.76Spooka  return 0;
35811.76Spooka}
35821.76Spooka_ACEOF
35831.76Spookarm -f conftest.$ac_objext
35841.76Spookaif { (eval echo "$as_me:3584: \"$ac_compile\"") >&5
35851.76Spooka  (eval $ac_compile) 2>&5
35861.76Spooka  ac_status=$?
35871.76Spooka  echo "$as_me:3587: \$? = $ac_status" >&5
35881.76Spooka  (exit $ac_status); } &&
35891.76Spooka         { ac_try='test -s conftest.$ac_objext'
35901.76Spooka  { (eval echo "$as_me:3590: \"$ac_try\"") >&5
35911.76Spooka  (eval $ac_try) 2>&5
35921.76Spooka  ac_status=$?
35931.76Spooka  echo "$as_me:3593: \$? = $ac_status" >&5
35941.76Spooka  (exit $ac_status); }; }; then
35951.76Spooka  ac_cv_type_uint16_t=yes
35961.76Spookaelse
35971.76Spooka  echo "$as_me: failed program was:" >&5
35981.76Spookacat conftest.$ac_ext >&5
35991.76Spookaac_cv_type_uint16_t=no
36001.76Spookafi
36011.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
36021.76Spookafi
36031.76Spookaecho "$as_me:3603: result: $ac_cv_type_uint16_t" >&5
36041.76Spookaecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
36051.76Spookaif test $ac_cv_type_uint16_t = yes; then
36061.76Spooka
36071.76Spookacat >>confdefs.h <<\EOF
36081.76Spooka#define u_int16_t uint16_t
36091.76SpookaEOF
36101.76Spooka
36111.76Spookaelse
36121.76Spooka  { { echo "$as_me:3612: error: cannot find a suitable type for u_int16_t" >&5
36131.76Spookaecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
36141.76Spooka   { (exit 1); exit 1; }; }
36151.76Spookafi
36161.76Spooka
36171.76Spookafi
36181.76Spooka
36191.76Spooka	echo "$as_me:3619: checking for uint32_t" >&5
36201.76Spookaecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
36211.76Spookaif test "${ac_cv_type_uint32_t+set}" = set; then
36221.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
36231.76Spookaelse
36241.76Spooka  cat >conftest.$ac_ext <<_ACEOF
36251.76Spooka#line 3625 "configure"
36261.76Spooka#include "confdefs.h"
36271.76Spooka$ac_includes_default
36281.76Spookaint
36291.76Spookamain ()
36301.76Spooka{
36311.76Spookaif ((uint32_t *) 0)
36321.76Spooka  return 0;
36331.76Spookaif (sizeof (uint32_t))
36341.76Spooka  return 0;
36351.76Spooka  ;
36361.76Spooka  return 0;
36371.76Spooka}
36381.76Spooka_ACEOF
36391.76Spookarm -f conftest.$ac_objext
36401.76Spookaif { (eval echo "$as_me:3640: \"$ac_compile\"") >&5
36411.76Spooka  (eval $ac_compile) 2>&5
36421.76Spooka  ac_status=$?
36431.76Spooka  echo "$as_me:3643: \$? = $ac_status" >&5
36441.76Spooka  (exit $ac_status); } &&
36451.76Spooka         { ac_try='test -s conftest.$ac_objext'
36461.76Spooka  { (eval echo "$as_me:3646: \"$ac_try\"") >&5
36471.76Spooka  (eval $ac_try) 2>&5
36481.76Spooka  ac_status=$?
36491.76Spooka  echo "$as_me:3649: \$? = $ac_status" >&5
36501.76Spooka  (exit $ac_status); }; }; then
36511.76Spooka  ac_cv_type_uint32_t=yes
36521.76Spookaelse
36531.76Spooka  echo "$as_me: failed program was:" >&5
36541.76Spookacat conftest.$ac_ext >&5
36551.76Spookaac_cv_type_uint32_t=no
36561.76Spookafi
36571.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
36581.76Spookafi
36591.76Spookaecho "$as_me:3659: result: $ac_cv_type_uint32_t" >&5
36601.76Spookaecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36611.76Spookaif test $ac_cv_type_uint32_t = yes; then
36621.76Spooka  :
36631.76Spookaelse
36641.76Spooka
36651.76Spooka		echo "$as_me:3665: checking for u_int32_t" >&5
36661.76Spookaecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
36671.76Spookaif test "${ac_cv_type_u_int32_t+set}" = set; then
36681.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
36691.76Spookaelse
36701.76Spooka  cat >conftest.$ac_ext <<_ACEOF
36711.76Spooka#line 3671 "configure"
36721.76Spooka#include "confdefs.h"
36731.76Spooka$ac_includes_default
36741.76Spookaint
36751.76Spookamain ()
36761.76Spooka{
36771.76Spookaif ((u_int32_t *) 0)
36781.76Spooka  return 0;
36791.76Spookaif (sizeof (u_int32_t))
36801.76Spooka  return 0;
36811.76Spooka  ;
36821.76Spooka  return 0;
36831.76Spooka}
36841.76Spooka_ACEOF
36851.76Spookarm -f conftest.$ac_objext
36861.76Spookaif { (eval echo "$as_me:3686: \"$ac_compile\"") >&5
36871.76Spooka  (eval $ac_compile) 2>&5
36881.76Spooka  ac_status=$?
36891.76Spooka  echo "$as_me:3689: \$? = $ac_status" >&5
36901.76Spooka  (exit $ac_status); } &&
36911.76Spooka         { ac_try='test -s conftest.$ac_objext'
36921.76Spooka  { (eval echo "$as_me:3692: \"$ac_try\"") >&5
36931.76Spooka  (eval $ac_try) 2>&5
36941.76Spooka  ac_status=$?
36951.76Spooka  echo "$as_me:3695: \$? = $ac_status" >&5
36961.76Spooka  (exit $ac_status); }; }; then
36971.76Spooka  ac_cv_type_u_int32_t=yes
36981.76Spookaelse
36991.76Spooka  echo "$as_me: failed program was:" >&5
37001.76Spookacat conftest.$ac_ext >&5
37011.76Spookaac_cv_type_u_int32_t=no
37021.76Spookafi
37031.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
37041.76Spookafi
37051.76Spookaecho "$as_me:3705: result: $ac_cv_type_u_int32_t" >&5
37061.76Spookaecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37071.76Spookaif test $ac_cv_type_u_int32_t = yes; then
37081.76Spooka
37091.76Spookacat >>confdefs.h <<\EOF
37101.76Spooka#define uint32_t u_int32_t
37111.76SpookaEOF
37121.76Spooka
37131.76Spookaelse
37141.76Spooka  { { echo "$as_me:3714: error: cannot find a suitable type for uint32_t" >&5
37151.76Spookaecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
37161.76Spooka   { (exit 1); exit 1; }; }
37171.76Spookafi
37181.76Spooka
37191.76Spookafi
37201.76Spooka
37211.76Spooka	echo "$as_me:3721: checking for u_int32_t" >&5
37221.76Spookaecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
37231.76Spookaif test "${ac_cv_type_u_int32_t+set}" = set; then
37241.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
37251.76Spookaelse
37261.76Spooka  cat >conftest.$ac_ext <<_ACEOF
37271.76Spooka#line 3727 "configure"
37281.76Spooka#include "confdefs.h"
37291.76Spooka$ac_includes_default
37301.76Spookaint
37311.76Spookamain ()
37321.76Spooka{
37331.76Spookaif ((u_int32_t *) 0)
37341.76Spooka  return 0;
37351.76Spookaif (sizeof (u_int32_t))
37361.76Spooka  return 0;
37371.76Spooka  ;
37381.76Spooka  return 0;
37391.76Spooka}
37401.76Spooka_ACEOF
37411.76Spookarm -f conftest.$ac_objext
37421.76Spookaif { (eval echo "$as_me:3742: \"$ac_compile\"") >&5
37431.76Spooka  (eval $ac_compile) 2>&5
37441.76Spooka  ac_status=$?
37451.76Spooka  echo "$as_me:3745: \$? = $ac_status" >&5
37461.76Spooka  (exit $ac_status); } &&
37471.76Spooka         { ac_try='test -s conftest.$ac_objext'
37481.76Spooka  { (eval echo "$as_me:3748: \"$ac_try\"") >&5
37491.76Spooka  (eval $ac_try) 2>&5
37501.76Spooka  ac_status=$?
37511.76Spooka  echo "$as_me:3751: \$? = $ac_status" >&5
37521.76Spooka  (exit $ac_status); }; }; then
37531.76Spooka  ac_cv_type_u_int32_t=yes
37541.76Spookaelse
37551.76Spooka  echo "$as_me: failed program was:" >&5
37561.76Spookacat conftest.$ac_ext >&5
37571.76Spookaac_cv_type_u_int32_t=no
37581.76Spookafi
37591.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
37601.76Spookafi
37611.76Spookaecho "$as_me:3761: result: $ac_cv_type_u_int32_t" >&5
37621.76Spookaecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37631.76Spookaif test $ac_cv_type_u_int32_t = yes; then
37641.76Spooka  :
37651.76Spookaelse
37661.76Spooka
37671.76Spooka		echo "$as_me:3767: checking for uint32_t" >&5
37681.76Spookaecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
37691.76Spookaif test "${ac_cv_type_uint32_t+set}" = set; then
37701.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
37711.76Spookaelse
37721.76Spooka  cat >conftest.$ac_ext <<_ACEOF
37731.76Spooka#line 3773 "configure"
37741.76Spooka#include "confdefs.h"
37751.76Spooka$ac_includes_default
37761.76Spookaint
37771.76Spookamain ()
37781.76Spooka{
37791.76Spookaif ((uint32_t *) 0)
37801.76Spooka  return 0;
37811.76Spookaif (sizeof (uint32_t))
37821.76Spooka  return 0;
37831.76Spooka  ;
37841.76Spooka  return 0;
37851.76Spooka}
37861.76Spooka_ACEOF
37871.76Spookarm -f conftest.$ac_objext
37881.76Spookaif { (eval echo "$as_me:3788: \"$ac_compile\"") >&5
37891.76Spooka  (eval $ac_compile) 2>&5
37901.76Spooka  ac_status=$?
37911.76Spooka  echo "$as_me:3791: \$? = $ac_status" >&5
37921.76Spooka  (exit $ac_status); } &&
37931.76Spooka         { ac_try='test -s conftest.$ac_objext'
37941.76Spooka  { (eval echo "$as_me:3794: \"$ac_try\"") >&5
37951.76Spooka  (eval $ac_try) 2>&5
37961.76Spooka  ac_status=$?
37971.76Spooka  echo "$as_me:3797: \$? = $ac_status" >&5
37981.76Spooka  (exit $ac_status); }; }; then
37991.76Spooka  ac_cv_type_uint32_t=yes
38001.76Spookaelse
38011.76Spooka  echo "$as_me: failed program was:" >&5
38021.76Spookacat conftest.$ac_ext >&5
38031.76Spookaac_cv_type_uint32_t=no
38041.76Spookafi
38051.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
38061.76Spookafi
38071.76Spookaecho "$as_me:3807: result: $ac_cv_type_uint32_t" >&5
38081.76Spookaecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
38091.76Spookaif test $ac_cv_type_uint32_t = yes; then
38101.76Spooka
38111.76Spookacat >>confdefs.h <<\EOF
38121.76Spooka#define u_int32_t uint32_t
38131.76SpookaEOF
38141.76Spooka
38151.76Spookaelse
38161.76Spooka  { { echo "$as_me:3816: error: cannot find a suitable type for u_int32_t" >&5
38171.76Spookaecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
38181.76Spooka   { (exit 1); exit 1; }; }
38191.76Spookafi
38201.76Spooka
38211.76Spookafi
38221.76Spooka
38231.76Spooka	echo "$as_me:3823: checking for uint64_t" >&5
38241.76Spookaecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
38251.76Spookaif test "${ac_cv_type_uint64_t+set}" = set; then
38261.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
38271.76Spookaelse
38281.76Spooka  cat >conftest.$ac_ext <<_ACEOF
38291.76Spooka#line 3829 "configure"
38301.76Spooka#include "confdefs.h"
38311.76Spooka$ac_includes_default
38321.76Spookaint
38331.76Spookamain ()
38341.76Spooka{
38351.76Spookaif ((uint64_t *) 0)
38361.76Spooka  return 0;
38371.76Spookaif (sizeof (uint64_t))
38381.76Spooka  return 0;
38391.76Spooka  ;
38401.76Spooka  return 0;
38411.76Spooka}
38421.76Spooka_ACEOF
38431.76Spookarm -f conftest.$ac_objext
38441.76Spookaif { (eval echo "$as_me:3844: \"$ac_compile\"") >&5
38451.76Spooka  (eval $ac_compile) 2>&5
38461.76Spooka  ac_status=$?
38471.76Spooka  echo "$as_me:3847: \$? = $ac_status" >&5
38481.76Spooka  (exit $ac_status); } &&
38491.76Spooka         { ac_try='test -s conftest.$ac_objext'
38501.76Spooka  { (eval echo "$as_me:3850: \"$ac_try\"") >&5
38511.76Spooka  (eval $ac_try) 2>&5
38521.76Spooka  ac_status=$?
38531.76Spooka  echo "$as_me:3853: \$? = $ac_status" >&5
38541.76Spooka  (exit $ac_status); }; }; then
38551.76Spooka  ac_cv_type_uint64_t=yes
38561.76Spookaelse
38571.76Spooka  echo "$as_me: failed program was:" >&5
38581.76Spookacat conftest.$ac_ext >&5
38591.76Spookaac_cv_type_uint64_t=no
38601.76Spookafi
38611.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
38621.76Spookafi
38631.76Spookaecho "$as_me:3863: result: $ac_cv_type_uint64_t" >&5
38641.76Spookaecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38651.76Spookaif test $ac_cv_type_uint64_t = yes; then
38661.76Spooka  :
38671.76Spookaelse
38681.76Spooka
38691.76Spooka		echo "$as_me:3869: checking for u_int64_t" >&5
38701.76Spookaecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
38711.76Spookaif test "${ac_cv_type_u_int64_t+set}" = set; then
38721.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
38731.76Spookaelse
38741.76Spooka  cat >conftest.$ac_ext <<_ACEOF
38751.76Spooka#line 3875 "configure"
38761.76Spooka#include "confdefs.h"
38771.76Spooka$ac_includes_default
38781.76Spookaint
38791.76Spookamain ()
38801.76Spooka{
38811.76Spookaif ((u_int64_t *) 0)
38821.76Spooka  return 0;
38831.76Spookaif (sizeof (u_int64_t))
38841.76Spooka  return 0;
38851.76Spooka  ;
38861.76Spooka  return 0;
38871.76Spooka}
38881.76Spooka_ACEOF
38891.76Spookarm -f conftest.$ac_objext
38901.76Spookaif { (eval echo "$as_me:3890: \"$ac_compile\"") >&5
38911.76Spooka  (eval $ac_compile) 2>&5
38921.76Spooka  ac_status=$?
38931.76Spooka  echo "$as_me:3893: \$? = $ac_status" >&5
38941.76Spooka  (exit $ac_status); } &&
38951.76Spooka         { ac_try='test -s conftest.$ac_objext'
38961.76Spooka  { (eval echo "$as_me:3896: \"$ac_try\"") >&5
38971.76Spooka  (eval $ac_try) 2>&5
38981.76Spooka  ac_status=$?
38991.76Spooka  echo "$as_me:3899: \$? = $ac_status" >&5
39001.76Spooka  (exit $ac_status); }; }; then
39011.76Spooka  ac_cv_type_u_int64_t=yes
39021.76Spookaelse
39031.76Spooka  echo "$as_me: failed program was:" >&5
39041.76Spookacat conftest.$ac_ext >&5
39051.76Spookaac_cv_type_u_int64_t=no
39061.76Spookafi
39071.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
39081.76Spookafi
39091.76Spookaecho "$as_me:3909: result: $ac_cv_type_u_int64_t" >&5
39101.76Spookaecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39111.76Spookaif test $ac_cv_type_u_int64_t = yes; then
39121.76Spooka
39131.76Spookacat >>confdefs.h <<\EOF
39141.76Spooka#define uint64_t u_int64_t
39151.76SpookaEOF
39161.76Spooka
39171.76Spookaelse
39181.76Spooka  { { echo "$as_me:3918: error: cannot find a suitable type for uint64_t" >&5
39191.76Spookaecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
39201.76Spooka   { (exit 1); exit 1; }; }
39211.76Spookafi
39221.76Spooka
39231.76Spookafi
39241.76Spooka
39251.76Spooka	echo "$as_me:3925: checking for u_int64_t" >&5
39261.76Spookaecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
39271.76Spookaif test "${ac_cv_type_u_int64_t+set}" = set; then
39281.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
39291.76Spookaelse
39301.76Spooka  cat >conftest.$ac_ext <<_ACEOF
39311.76Spooka#line 3931 "configure"
39321.76Spooka#include "confdefs.h"
39331.76Spooka$ac_includes_default
39341.76Spookaint
39351.76Spookamain ()
39361.76Spooka{
39371.76Spookaif ((u_int64_t *) 0)
39381.76Spooka  return 0;
39391.76Spookaif (sizeof (u_int64_t))
39401.76Spooka  return 0;
39411.76Spooka  ;
39421.76Spooka  return 0;
39431.76Spooka}
39441.76Spooka_ACEOF
39451.76Spookarm -f conftest.$ac_objext
39461.76Spookaif { (eval echo "$as_me:3946: \"$ac_compile\"") >&5
39471.76Spooka  (eval $ac_compile) 2>&5
39481.76Spooka  ac_status=$?
39491.76Spooka  echo "$as_me:3949: \$? = $ac_status" >&5
39501.76Spooka  (exit $ac_status); } &&
39511.76Spooka         { ac_try='test -s conftest.$ac_objext'
39521.76Spooka  { (eval echo "$as_me:3952: \"$ac_try\"") >&5
39531.76Spooka  (eval $ac_try) 2>&5
39541.76Spooka  ac_status=$?
39551.76Spooka  echo "$as_me:3955: \$? = $ac_status" >&5
39561.76Spooka  (exit $ac_status); }; }; then
39571.76Spooka  ac_cv_type_u_int64_t=yes
39581.76Spookaelse
39591.76Spooka  echo "$as_me: failed program was:" >&5
39601.76Spookacat conftest.$ac_ext >&5
39611.76Spookaac_cv_type_u_int64_t=no
39621.76Spookafi
39631.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
39641.76Spookafi
39651.76Spookaecho "$as_me:3965: result: $ac_cv_type_u_int64_t" >&5
39661.76Spookaecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39671.76Spookaif test $ac_cv_type_u_int64_t = yes; then
39681.76Spooka  :
39691.76Spookaelse
39701.76Spooka
39711.76Spooka		echo "$as_me:3971: checking for uint64_t" >&5
39721.76Spookaecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
39731.76Spookaif test "${ac_cv_type_uint64_t+set}" = set; then
39741.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
39751.76Spookaelse
39761.76Spooka  cat >conftest.$ac_ext <<_ACEOF
39771.76Spooka#line 3977 "configure"
39781.76Spooka#include "confdefs.h"
39791.76Spooka$ac_includes_default
39801.76Spookaint
39811.76Spookamain ()
39821.76Spooka{
39831.76Spookaif ((uint64_t *) 0)
39841.76Spooka  return 0;
39851.76Spookaif (sizeof (uint64_t))
39861.76Spooka  return 0;
39871.76Spooka  ;
39881.76Spooka  return 0;
39891.76Spooka}
39901.76Spooka_ACEOF
39911.76Spookarm -f conftest.$ac_objext
39921.76Spookaif { (eval echo "$as_me:3992: \"$ac_compile\"") >&5
39931.76Spooka  (eval $ac_compile) 2>&5
39941.76Spooka  ac_status=$?
39951.76Spooka  echo "$as_me:3995: \$? = $ac_status" >&5
39961.76Spooka  (exit $ac_status); } &&
39971.76Spooka         { ac_try='test -s conftest.$ac_objext'
39981.76Spooka  { (eval echo "$as_me:3998: \"$ac_try\"") >&5
39991.76Spooka  (eval $ac_try) 2>&5
40001.76Spooka  ac_status=$?
40011.76Spooka  echo "$as_me:4001: \$? = $ac_status" >&5
40021.76Spooka  (exit $ac_status); }; }; then
40031.76Spooka  ac_cv_type_uint64_t=yes
40041.76Spookaelse
40051.76Spooka  echo "$as_me: failed program was:" >&5
40061.76Spookacat conftest.$ac_ext >&5
40071.76Spookaac_cv_type_uint64_t=no
40081.76Spookafi
40091.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
40101.76Spookafi
40111.76Spookaecho "$as_me:4011: result: $ac_cv_type_uint64_t" >&5
40121.76Spookaecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
40131.76Spookaif test $ac_cv_type_uint64_t = yes; then
40141.76Spooka
40151.76Spookacat >>confdefs.h <<\EOF
40161.76Spooka#define u_int64_t uint64_t
40171.76SpookaEOF
40181.76Spooka
40191.76Spookaelse
40201.76Spooka  { { echo "$as_me:4020: error: cannot find a suitable type for u_int64_t" >&5
40211.76Spookaecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
40221.76Spooka   { (exit 1); exit 1; }; }
40231.76Spookafi
40241.76Spooka
40251.76Spookafi
40261.76Spooka
40271.76Spooka# Struct members.
40281.76Spookaecho "$as_me:4028: checking for DIR.dd_fd" >&5
40291.76Spookaecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
40301.76Spookaif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
40311.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
40321.76Spookaelse
40331.76Spooka  cat >conftest.$ac_ext <<_ACEOF
40341.76Spooka#line 4034 "configure"
40351.76Spooka#include "confdefs.h"
40361.76Spooka#include <sys/types.h>
40371.76Spooka#include <dirent.h>
40381.76Spooka
40391.76Spookaint
40401.76Spookamain ()
40411.76Spooka{
40421.76Spookastatic DIR ac_aggr;
40431.76Spookaif (ac_aggr.dd_fd)
40441.76Spookareturn 0;
40451.76Spooka  ;
40461.76Spooka  return 0;
40471.76Spooka}
40481.76Spooka_ACEOF
40491.76Spookarm -f conftest.$ac_objext
40501.76Spookaif { (eval echo "$as_me:4050: \"$ac_compile\"") >&5
40511.76Spooka  (eval $ac_compile) 2>&5
40521.76Spooka  ac_status=$?
40531.76Spooka  echo "$as_me:4053: \$? = $ac_status" >&5
40541.76Spooka  (exit $ac_status); } &&
40551.76Spooka         { ac_try='test -s conftest.$ac_objext'
40561.76Spooka  { (eval echo "$as_me:4056: \"$ac_try\"") >&5
40571.76Spooka  (eval $ac_try) 2>&5
40581.76Spooka  ac_status=$?
40591.76Spooka  echo "$as_me:4059: \$? = $ac_status" >&5
40601.76Spooka  (exit $ac_status); }; }; then
40611.76Spooka  ac_cv_member_DIR_dd_fd=yes
40621.76Spookaelse
40631.76Spooka  echo "$as_me: failed program was:" >&5
40641.76Spookacat conftest.$ac_ext >&5
40651.76Spookaac_cv_member_DIR_dd_fd=no
40661.76Spookafi
40671.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
40681.76Spookafi
40691.76Spookaecho "$as_me:4069: result: $ac_cv_member_DIR_dd_fd" >&5
40701.76Spookaecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40711.76Spookaif test $ac_cv_member_DIR_dd_fd = yes; then
40721.76Spooka
40731.76Spookacat >>confdefs.h <<EOF
40741.76Spooka#define HAVE_DIR_DD_FD 1
40751.76SpookaEOF
40761.76Spooka
40771.76Spookafi
40781.76Spookaecho "$as_me:4078: checking for DIR.__dd_fd" >&5
40791.76Spookaecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
40801.76Spookaif test "${ac_cv_member_DIR___dd_fd+set}" = set; then
40811.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
40821.76Spookaelse
40831.76Spooka  cat >conftest.$ac_ext <<_ACEOF
40841.76Spooka#line 4084 "configure"
40851.76Spooka#include "confdefs.h"
40861.76Spooka#include <sys/types.h>
40871.76Spooka#include <dirent.h>
40881.76Spooka
40891.76Spookaint
40901.76Spookamain ()
40911.76Spooka{
40921.76Spookastatic DIR ac_aggr;
40931.76Spookaif (ac_aggr.__dd_fd)
40941.76Spookareturn 0;
40951.76Spooka  ;
40961.76Spooka  return 0;
40971.76Spooka}
40981.76Spooka_ACEOF
40991.76Spookarm -f conftest.$ac_objext
41001.76Spookaif { (eval echo "$as_me:4100: \"$ac_compile\"") >&5
41011.76Spooka  (eval $ac_compile) 2>&5
41021.76Spooka  ac_status=$?
41031.76Spooka  echo "$as_me:4103: \$? = $ac_status" >&5
41041.76Spooka  (exit $ac_status); } &&
41051.76Spooka         { ac_try='test -s conftest.$ac_objext'
41061.76Spooka  { (eval echo "$as_me:4106: \"$ac_try\"") >&5
41071.76Spooka  (eval $ac_try) 2>&5
41081.76Spooka  ac_status=$?
41091.76Spooka  echo "$as_me:4109: \$? = $ac_status" >&5
41101.76Spooka  (exit $ac_status); }; }; then
41111.76Spooka  ac_cv_member_DIR___dd_fd=yes
41121.76Spookaelse
41131.76Spooka  echo "$as_me: failed program was:" >&5
41141.76Spookacat conftest.$ac_ext >&5
41151.76Spookaac_cv_member_DIR___dd_fd=no
41161.76Spookafi
41171.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
41181.76Spookafi
41191.76Spookaecho "$as_me:4119: result: $ac_cv_member_DIR___dd_fd" >&5
41201.76Spookaecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
41211.76Spookaif test $ac_cv_member_DIR___dd_fd = yes; then
41221.76Spooka
41231.76Spookacat >>confdefs.h <<EOF
41241.76Spooka#define HAVE_DIR___DD_FD 1
41251.76SpookaEOF
41261.76Spooka
41271.76Spookafi
41281.76Spookaecho "$as_me:4128: checking for struct dirent.d_namlen" >&5
41291.76Spookaecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
41301.76Spookaif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
41311.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
41321.76Spookaelse
41331.76Spooka  cat >conftest.$ac_ext <<_ACEOF
41341.76Spooka#line 4134 "configure"
41351.76Spooka#include "confdefs.h"
41361.76Spooka#include <sys/types.h>
41371.76Spooka#include <dirent.h>
41381.76Spooka
41391.76Spookaint
41401.76Spookamain ()
41411.76Spooka{
41421.76Spookastatic struct dirent ac_aggr;
41431.76Spookaif (ac_aggr.d_namlen)
41441.76Spookareturn 0;
41451.76Spooka  ;
41461.76Spooka  return 0;
41471.76Spooka}
41481.76Spooka_ACEOF
41491.76Spookarm -f conftest.$ac_objext
41501.76Spookaif { (eval echo "$as_me:4150: \"$ac_compile\"") >&5
41511.76Spooka  (eval $ac_compile) 2>&5
41521.76Spooka  ac_status=$?
41531.76Spooka  echo "$as_me:4153: \$? = $ac_status" >&5
41541.76Spooka  (exit $ac_status); } &&
41551.76Spooka         { ac_try='test -s conftest.$ac_objext'
41561.76Spooka  { (eval echo "$as_me:4156: \"$ac_try\"") >&5
41571.76Spooka  (eval $ac_try) 2>&5
41581.76Spooka  ac_status=$?
41591.76Spooka  echo "$as_me:4159: \$? = $ac_status" >&5
41601.76Spooka  (exit $ac_status); }; }; then
41611.76Spooka  ac_cv_member_struct_dirent_d_namlen=yes
41621.76Spookaelse
41631.76Spooka  echo "$as_me: failed program was:" >&5
41641.76Spookacat conftest.$ac_ext >&5
41651.76Spookaac_cv_member_struct_dirent_d_namlen=no
41661.76Spookafi
41671.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
41681.76Spookafi
41691.76Spookaecho "$as_me:4169: result: $ac_cv_member_struct_dirent_d_namlen" >&5
41701.76Spookaecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
41711.76Spookaif test $ac_cv_member_struct_dirent_d_namlen = yes; then
41721.76Spooka
41731.76Spookacat >>confdefs.h <<EOF
41741.76Spooka#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41751.76SpookaEOF
41761.76Spooka
41771.76Spookafi
41781.76Spooka
41791.76Spookaecho "$as_me:4179: checking for struct stat.st_flags" >&5
41801.76Spookaecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
41811.76Spookaif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
41821.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
41831.76Spookaelse
41841.76Spooka  cat >conftest.$ac_ext <<_ACEOF
41851.76Spooka#line 4185 "configure"
41861.76Spooka#include "confdefs.h"
41871.76Spooka#include <sys/stat.h>
41881.76Spooka
41891.76Spookaint
41901.76Spookamain ()
41911.76Spooka{
41921.76Spookastatic struct stat ac_aggr;
41931.76Spookaif (ac_aggr.st_flags)
41941.76Spookareturn 0;
41951.76Spooka  ;
41961.76Spooka  return 0;
41971.76Spooka}
41981.76Spooka_ACEOF
41991.76Spookarm -f conftest.$ac_objext
42001.76Spookaif { (eval echo "$as_me:4200: \"$ac_compile\"") >&5
42011.76Spooka  (eval $ac_compile) 2>&5
42021.76Spooka  ac_status=$?
42031.76Spooka  echo "$as_me:4203: \$? = $ac_status" >&5
42041.76Spooka  (exit $ac_status); } &&
42051.76Spooka         { ac_try='test -s conftest.$ac_objext'
42061.76Spooka  { (eval echo "$as_me:4206: \"$ac_try\"") >&5
42071.76Spooka  (eval $ac_try) 2>&5
42081.76Spooka  ac_status=$?
42091.76Spooka  echo "$as_me:4209: \$? = $ac_status" >&5
42101.76Spooka  (exit $ac_status); }; }; then
42111.76Spooka  ac_cv_member_struct_stat_st_flags=yes
42121.76Spookaelse
42131.76Spooka  echo "$as_me: failed program was:" >&5
42141.76Spookacat conftest.$ac_ext >&5
42151.76Spookaac_cv_member_struct_stat_st_flags=no
42161.76Spookafi
42171.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
42181.76Spookafi
42191.76Spookaecho "$as_me:4219: result: $ac_cv_member_struct_stat_st_flags" >&5
42201.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
42211.76Spookaif test $ac_cv_member_struct_stat_st_flags = yes; then
42221.76Spooka
42231.76Spookacat >>confdefs.h <<EOF
42241.76Spooka#define HAVE_STRUCT_STAT_ST_FLAGS 1
42251.76SpookaEOF
42261.76Spooka
42271.76Spookafi
42281.76Spookaecho "$as_me:4228: checking for struct stat.st_gen" >&5
42291.76Spookaecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
42301.76Spookaif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
42311.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
42321.76Spookaelse
42331.76Spooka  cat >conftest.$ac_ext <<_ACEOF
42341.76Spooka#line 4234 "configure"
42351.76Spooka#include "confdefs.h"
42361.76Spooka#include <sys/stat.h>
42371.76Spooka
42381.76Spookaint
42391.76Spookamain ()
42401.76Spooka{
42411.76Spookastatic struct stat ac_aggr;
42421.76Spookaif (ac_aggr.st_gen)
42431.76Spookareturn 0;
42441.76Spooka  ;
42451.76Spooka  return 0;
42461.76Spooka}
42471.76Spooka_ACEOF
42481.76Spookarm -f conftest.$ac_objext
42491.76Spookaif { (eval echo "$as_me:4249: \"$ac_compile\"") >&5
42501.76Spooka  (eval $ac_compile) 2>&5
42511.76Spooka  ac_status=$?
42521.76Spooka  echo "$as_me:4252: \$? = $ac_status" >&5
42531.76Spooka  (exit $ac_status); } &&
42541.76Spooka         { ac_try='test -s conftest.$ac_objext'
42551.76Spooka  { (eval echo "$as_me:4255: \"$ac_try\"") >&5
42561.76Spooka  (eval $ac_try) 2>&5
42571.76Spooka  ac_status=$?
42581.76Spooka  echo "$as_me:4258: \$? = $ac_status" >&5
42591.76Spooka  (exit $ac_status); }; }; then
42601.76Spooka  ac_cv_member_struct_stat_st_gen=yes
42611.76Spookaelse
42621.76Spooka  echo "$as_me: failed program was:" >&5
42631.76Spookacat conftest.$ac_ext >&5
42641.76Spookaac_cv_member_struct_stat_st_gen=no
42651.76Spookafi
42661.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
42671.76Spookafi
42681.76Spookaecho "$as_me:4268: result: $ac_cv_member_struct_stat_st_gen" >&5
42691.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42701.76Spookaif test $ac_cv_member_struct_stat_st_gen = yes; then
42711.76Spooka
42721.76Spookacat >>confdefs.h <<EOF
42731.76Spooka#define HAVE_STRUCT_STAT_ST_GEN 1
42741.76SpookaEOF
42751.76Spooka
42761.76Spookafi
42771.76Spookaecho "$as_me:4277: checking for struct stat.st_birthtime" >&5
42781.76Spookaecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42791.76Spookaif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42801.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
42811.76Spookaelse
42821.76Spooka  cat >conftest.$ac_ext <<_ACEOF
42831.76Spooka#line 4283 "configure"
42841.76Spooka#include "confdefs.h"
42851.76Spooka#include <sys/stat.h>
42861.76Spooka
42871.76Spookaint
42881.76Spookamain ()
42891.76Spooka{
42901.76Spookastatic struct stat ac_aggr;
42911.76Spookaif (ac_aggr.st_birthtime)
42921.76Spookareturn 0;
42931.76Spooka  ;
42941.76Spooka  return 0;
42951.76Spooka}
42961.76Spooka_ACEOF
42971.76Spookarm -f conftest.$ac_objext
42981.76Spookaif { (eval echo "$as_me:4298: \"$ac_compile\"") >&5
42991.76Spooka  (eval $ac_compile) 2>&5
43001.76Spooka  ac_status=$?
43011.76Spooka  echo "$as_me:4301: \$? = $ac_status" >&5
43021.76Spooka  (exit $ac_status); } &&
43031.76Spooka         { ac_try='test -s conftest.$ac_objext'
43041.76Spooka  { (eval echo "$as_me:4304: \"$ac_try\"") >&5
43051.76Spooka  (eval $ac_try) 2>&5
43061.76Spooka  ac_status=$?
43071.76Spooka  echo "$as_me:4307: \$? = $ac_status" >&5
43081.76Spooka  (exit $ac_status); }; }; then
43091.76Spooka  ac_cv_member_struct_stat_st_birthtime=yes
43101.76Spookaelse
43111.76Spooka  echo "$as_me: failed program was:" >&5
43121.76Spookacat conftest.$ac_ext >&5
43131.76Spookaac_cv_member_struct_stat_st_birthtime=no
43141.76Spookafi
43151.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
43161.76Spookafi
43171.76Spookaecho "$as_me:4317: result: $ac_cv_member_struct_stat_st_birthtime" >&5
43181.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
43191.76Spookaif test $ac_cv_member_struct_stat_st_birthtime = yes; then
43201.76Spooka
43211.76Spookacat >>confdefs.h <<EOF
43221.76Spooka#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
43231.76SpookaEOF
43241.76Spooka
43251.76Spookafi
43261.76Spookaecho "$as_me:4326: checking for struct stat.st_birthtimensec" >&5
43271.76Spookaecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
43281.76Spookaif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
43291.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
43301.76Spookaelse
43311.76Spooka  cat >conftest.$ac_ext <<_ACEOF
43321.76Spooka#line 4332 "configure"
43331.76Spooka#include "confdefs.h"
43341.76Spooka#include <sys/stat.h>
43351.76Spooka
43361.76Spookaint
43371.76Spookamain ()
43381.76Spooka{
43391.76Spookastatic struct stat ac_aggr;
43401.76Spookaif (ac_aggr.st_birthtimensec)
43411.76Spookareturn 0;
43421.76Spooka  ;
43431.76Spooka  return 0;
43441.76Spooka}
43451.76Spooka_ACEOF
43461.76Spookarm -f conftest.$ac_objext
43471.76Spookaif { (eval echo "$as_me:4347: \"$ac_compile\"") >&5
43481.76Spooka  (eval $ac_compile) 2>&5
43491.76Spooka  ac_status=$?
43501.76Spooka  echo "$as_me:4350: \$? = $ac_status" >&5
43511.76Spooka  (exit $ac_status); } &&
43521.76Spooka         { ac_try='test -s conftest.$ac_objext'
43531.76Spooka  { (eval echo "$as_me:4353: \"$ac_try\"") >&5
43541.76Spooka  (eval $ac_try) 2>&5
43551.76Spooka  ac_status=$?
43561.76Spooka  echo "$as_me:4356: \$? = $ac_status" >&5
43571.76Spooka  (exit $ac_status); }; }; then
43581.76Spooka  ac_cv_member_struct_stat_st_birthtimensec=yes
43591.76Spookaelse
43601.76Spooka  echo "$as_me: failed program was:" >&5
43611.76Spookacat conftest.$ac_ext >&5
43621.76Spookaac_cv_member_struct_stat_st_birthtimensec=no
43631.76Spookafi
43641.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
43651.76Spookafi
43661.76Spookaecho "$as_me:4366: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
43671.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
43681.76Spookaif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
43691.76Spooka
43701.76Spookacat >>confdefs.h <<EOF
43711.76Spooka#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
43721.76SpookaEOF
43731.76Spooka
43741.76Spookafi
43751.76Spookaecho "$as_me:4375: checking for struct stat.st_atim" >&5
43761.76Spookaecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
43771.76Spookaif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
43781.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
43791.76Spookaelse
43801.76Spooka  cat >conftest.$ac_ext <<_ACEOF
43811.76Spooka#line 4381 "configure"
43821.76Spooka#include "confdefs.h"
43831.76Spooka#include <sys/stat.h>
43841.76Spooka
43851.76Spookaint
43861.76Spookamain ()
43871.76Spooka{
43881.76Spookastatic struct stat ac_aggr;
43891.76Spookaif (ac_aggr.st_atim)
43901.76Spookareturn 0;
43911.76Spooka  ;
43921.76Spooka  return 0;
43931.76Spooka}
43941.76Spooka_ACEOF
43951.76Spookarm -f conftest.$ac_objext
43961.76Spookaif { (eval echo "$as_me:4396: \"$ac_compile\"") >&5
43971.76Spooka  (eval $ac_compile) 2>&5
43981.76Spooka  ac_status=$?
43991.76Spooka  echo "$as_me:4399: \$? = $ac_status" >&5
44001.76Spooka  (exit $ac_status); } &&
44011.76Spooka         { ac_try='test -s conftest.$ac_objext'
44021.76Spooka  { (eval echo "$as_me:4402: \"$ac_try\"") >&5
44031.76Spooka  (eval $ac_try) 2>&5
44041.76Spooka  ac_status=$?
44051.76Spooka  echo "$as_me:4405: \$? = $ac_status" >&5
44061.76Spooka  (exit $ac_status); }; }; then
44071.76Spooka  ac_cv_member_struct_stat_st_atim=yes
44081.76Spookaelse
44091.76Spooka  echo "$as_me: failed program was:" >&5
44101.76Spookacat conftest.$ac_ext >&5
44111.76Spookaac_cv_member_struct_stat_st_atim=no
44121.76Spookafi
44131.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
44141.76Spookafi
44151.76Spookaecho "$as_me:4415: result: $ac_cv_member_struct_stat_st_atim" >&5
44161.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
44171.76Spookaif test $ac_cv_member_struct_stat_st_atim = yes; then
44181.76Spooka
44191.76Spookacat >>confdefs.h <<EOF
44201.76Spooka#define HAVE_STRUCT_STAT_ST_ATIM 1
44211.76SpookaEOF
44221.76Spooka
44231.76Spookafi
44241.76Spookaecho "$as_me:4424: checking for struct stat.st_mtimensec" >&5
44251.76Spookaecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
44261.76Spookaif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
44271.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
44281.76Spookaelse
44291.76Spooka  cat >conftest.$ac_ext <<_ACEOF
44301.76Spooka#line 4430 "configure"
44311.76Spooka#include "confdefs.h"
44321.76Spooka#include <sys/stat.h>
44331.76Spooka
44341.76Spookaint
44351.76Spookamain ()
44361.76Spooka{
44371.76Spookastatic struct stat ac_aggr;
44381.76Spookaif (ac_aggr.st_mtimensec)
44391.76Spookareturn 0;
44401.76Spooka  ;
44411.76Spooka  return 0;
44421.76Spooka}
44431.76Spooka_ACEOF
44441.76Spookarm -f conftest.$ac_objext
44451.76Spookaif { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
44461.76Spooka  (eval $ac_compile) 2>&5
44471.76Spooka  ac_status=$?
44481.76Spooka  echo "$as_me:4448: \$? = $ac_status" >&5
44491.76Spooka  (exit $ac_status); } &&
44501.76Spooka         { ac_try='test -s conftest.$ac_objext'
44511.76Spooka  { (eval echo "$as_me:4451: \"$ac_try\"") >&5
44521.76Spooka  (eval $ac_try) 2>&5
44531.76Spooka  ac_status=$?
44541.76Spooka  echo "$as_me:4454: \$? = $ac_status" >&5
44551.76Spooka  (exit $ac_status); }; }; then
44561.76Spooka  ac_cv_member_struct_stat_st_mtimensec=yes
44571.76Spookaelse
44581.76Spooka  echo "$as_me: failed program was:" >&5
44591.76Spookacat conftest.$ac_ext >&5
44601.76Spookaac_cv_member_struct_stat_st_mtimensec=no
44611.76Spookafi
44621.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
44631.76Spookafi
44641.76Spookaecho "$as_me:4464: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
44651.76Spookaecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
44661.76Spookaif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
44671.76Spooka
44681.76Spookacat >>confdefs.h <<EOF
44691.76Spooka#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
44701.76SpookaEOF
44711.76Spooka
44721.76Spookafi
44731.76Spooka
44741.76Spookaecho "$as_me:4474: checking for struct statvfs.f_iosize" >&5
44751.76Spookaecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
44761.76Spookaif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
44771.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
44781.76Spookaelse
44791.76Spooka  cat >conftest.$ac_ext <<_ACEOF
44801.76Spooka#line 4480 "configure"
44811.76Spooka#include "confdefs.h"
44821.76Spooka#include <sys/statvfs.h>
44831.76Spooka
44841.76Spookaint
44851.76Spookamain ()
44861.76Spooka{
44871.76Spookastatic struct statvfs ac_aggr;
44881.76Spookaif (ac_aggr.f_iosize)
44891.76Spookareturn 0;
44901.76Spooka  ;
44911.76Spooka  return 0;
44921.76Spooka}
44931.76Spooka_ACEOF
44941.76Spookarm -f conftest.$ac_objext
44951.76Spookaif { (eval echo "$as_me:4495: \"$ac_compile\"") >&5
44961.76Spooka  (eval $ac_compile) 2>&5
44971.76Spooka  ac_status=$?
44981.76Spooka  echo "$as_me:4498: \$? = $ac_status" >&5
44991.76Spooka  (exit $ac_status); } &&
45001.76Spooka         { ac_try='test -s conftest.$ac_objext'
45011.76Spooka  { (eval echo "$as_me:4501: \"$ac_try\"") >&5
45021.76Spooka  (eval $ac_try) 2>&5
45031.76Spooka  ac_status=$?
45041.76Spooka  echo "$as_me:4504: \$? = $ac_status" >&5
45051.76Spooka  (exit $ac_status); }; }; then
45061.76Spooka  ac_cv_member_struct_statvfs_f_iosize=yes
45071.76Spookaelse
45081.76Spooka  echo "$as_me: failed program was:" >&5
45091.76Spookacat conftest.$ac_ext >&5
45101.76Spookaac_cv_member_struct_statvfs_f_iosize=no
45111.76Spookafi
45121.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
45131.76Spookafi
45141.76Spookaecho "$as_me:4514: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
45151.76Spookaecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
45161.76Spookaif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
45171.76Spooka
45181.76Spookacat >>confdefs.h <<EOF
45191.76Spooka#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
45201.76SpookaEOF
45211.76Spooka
45221.76Spookafi
45231.76Spooka
45241.76Spooka# Global variable decls.
45251.76Spookaecho "$as_me:4525: checking whether optind is declared" >&5
45261.76Spookaecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
45271.76Spookaif test "${ac_cv_have_decl_optind+set}" = set; then
45281.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
45291.76Spookaelse
45301.76Spooka  cat >conftest.$ac_ext <<_ACEOF
45311.76Spooka#line 4531 "configure"
45321.76Spooka#include "confdefs.h"
45331.76Spooka
45341.76Spooka#include <stdio.h>
45351.76Spooka#include <stdlib.h>
45361.76Spooka#include <unistd.h>
45371.76Spooka#ifdef HAVE_GETOPT_H
45381.76Spooka#include <getopt.h>
45391.76Spooka#endif
45401.76Spooka
45411.76Spookaint
45421.76Spookamain ()
45431.76Spooka{
45441.76Spooka#ifndef optind
45451.76Spooka  char *p = (char *) optind;
45461.76Spooka#endif
45471.76Spooka
45481.76Spooka  ;
45491.76Spooka  return 0;
45501.76Spooka}
45511.76Spooka_ACEOF
45521.76Spookarm -f conftest.$ac_objext
45531.76Spookaif { (eval echo "$as_me:4553: \"$ac_compile\"") >&5
45541.76Spooka  (eval $ac_compile) 2>&5
45551.76Spooka  ac_status=$?
45561.76Spooka  echo "$as_me:4556: \$? = $ac_status" >&5
45571.76Spooka  (exit $ac_status); } &&
45581.76Spooka         { ac_try='test -s conftest.$ac_objext'
45591.76Spooka  { (eval echo "$as_me:4559: \"$ac_try\"") >&5
45601.76Spooka  (eval $ac_try) 2>&5
45611.76Spooka  ac_status=$?
45621.76Spooka  echo "$as_me:4562: \$? = $ac_status" >&5
45631.76Spooka  (exit $ac_status); }; }; then
45641.76Spooka  ac_cv_have_decl_optind=yes
45651.76Spookaelse
45661.76Spooka  echo "$as_me: failed program was:" >&5
45671.76Spookacat conftest.$ac_ext >&5
45681.76Spookaac_cv_have_decl_optind=no
45691.76Spookafi
45701.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
45711.76Spookafi
45721.76Spookaecho "$as_me:4572: result: $ac_cv_have_decl_optind" >&5
45731.76Spookaecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
45741.76Spookaif test $ac_cv_have_decl_optind = yes; then
45751.76Spooka
45761.76Spookacat >>confdefs.h <<EOF
45771.76Spooka#define HAVE_DECL_OPTIND 1
45781.76SpookaEOF
45791.76Spooka
45801.76Spookaelse
45811.76Spooka  cat >>confdefs.h <<EOF
45821.76Spooka#define HAVE_DECL_OPTIND 0
45831.76SpookaEOF
45841.76Spooka
45851.76Spookafi
45861.76Spookaecho "$as_me:4586: checking whether optreset is declared" >&5
45871.76Spookaecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
45881.76Spookaif test "${ac_cv_have_decl_optreset+set}" = set; then
45891.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
45901.76Spookaelse
45911.76Spooka  cat >conftest.$ac_ext <<_ACEOF
45921.76Spooka#line 4592 "configure"
45931.76Spooka#include "confdefs.h"
45941.76Spooka
45951.76Spooka#include <stdio.h>
45961.76Spooka#include <stdlib.h>
45971.76Spooka#include <unistd.h>
45981.76Spooka#ifdef HAVE_GETOPT_H
45991.76Spooka#include <getopt.h>
46001.76Spooka#endif
46011.76Spooka
46021.76Spookaint
46031.76Spookamain ()
46041.76Spooka{
46051.76Spooka#ifndef optreset
46061.76Spooka  char *p = (char *) optreset;
46071.76Spooka#endif
46081.76Spooka
46091.76Spooka  ;
46101.76Spooka  return 0;
46111.76Spooka}
46121.76Spooka_ACEOF
46131.76Spookarm -f conftest.$ac_objext
46141.76Spookaif { (eval echo "$as_me:4614: \"$ac_compile\"") >&5
46151.76Spooka  (eval $ac_compile) 2>&5
46161.76Spooka  ac_status=$?
46171.76Spooka  echo "$as_me:4617: \$? = $ac_status" >&5
46181.76Spooka  (exit $ac_status); } &&
46191.76Spooka         { ac_try='test -s conftest.$ac_objext'
46201.76Spooka  { (eval echo "$as_me:4620: \"$ac_try\"") >&5
46211.76Spooka  (eval $ac_try) 2>&5
46221.76Spooka  ac_status=$?
46231.76Spooka  echo "$as_me:4623: \$? = $ac_status" >&5
46241.76Spooka  (exit $ac_status); }; }; then
46251.76Spooka  ac_cv_have_decl_optreset=yes
46261.76Spookaelse
46271.76Spooka  echo "$as_me: failed program was:" >&5
46281.76Spookacat conftest.$ac_ext >&5
46291.76Spookaac_cv_have_decl_optreset=no
46301.76Spookafi
46311.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
46321.76Spookafi
46331.76Spookaecho "$as_me:4633: result: $ac_cv_have_decl_optreset" >&5
46341.76Spookaecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
46351.76Spookaif test $ac_cv_have_decl_optreset = yes; then
46361.76Spooka
46371.76Spookacat >>confdefs.h <<EOF
46381.76Spooka#define HAVE_DECL_OPTRESET 1
46391.76SpookaEOF
46401.76Spooka
46411.76Spookaelse
46421.76Spooka  cat >>confdefs.h <<EOF
46431.76Spooka#define HAVE_DECL_OPTRESET 0
46441.76SpookaEOF
46451.76Spooka
46461.76Spookafi
46471.76Spooka
46481.76Spookaecho "$as_me:4648: checking whether sys_signame is declared" >&5
46491.76Spookaecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
46501.76Spookaif test "${ac_cv_have_decl_sys_signame+set}" = set; then
46511.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
46521.76Spookaelse
46531.76Spooka  cat >conftest.$ac_ext <<_ACEOF
46541.76Spooka#line 4654 "configure"
46551.76Spooka#include "confdefs.h"
46561.76Spooka#include <signal.h>
46571.76Spooka
46581.76Spookaint
46591.76Spookamain ()
46601.76Spooka{
46611.76Spooka#ifndef sys_signame
46621.76Spooka  char *p = (char *) sys_signame;
46631.76Spooka#endif
46641.76Spooka
46651.76Spooka  ;
46661.76Spooka  return 0;
46671.76Spooka}
46681.76Spooka_ACEOF
46691.76Spookarm -f conftest.$ac_objext
46701.76Spookaif { (eval echo "$as_me:4670: \"$ac_compile\"") >&5
46711.76Spooka  (eval $ac_compile) 2>&5
46721.76Spooka  ac_status=$?
46731.76Spooka  echo "$as_me:4673: \$? = $ac_status" >&5
46741.76Spooka  (exit $ac_status); } &&
46751.76Spooka         { ac_try='test -s conftest.$ac_objext'
46761.76Spooka  { (eval echo "$as_me:4676: \"$ac_try\"") >&5
46771.76Spooka  (eval $ac_try) 2>&5
46781.76Spooka  ac_status=$?
46791.76Spooka  echo "$as_me:4679: \$? = $ac_status" >&5
46801.76Spooka  (exit $ac_status); }; }; then
46811.76Spooka  ac_cv_have_decl_sys_signame=yes
46821.76Spookaelse
46831.76Spooka  echo "$as_me: failed program was:" >&5
46841.76Spookacat conftest.$ac_ext >&5
46851.76Spookaac_cv_have_decl_sys_signame=no
46861.76Spookafi
46871.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
46881.76Spookafi
46891.76Spookaecho "$as_me:4689: result: $ac_cv_have_decl_sys_signame" >&5
46901.76Spookaecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
46911.76Spookaif test $ac_cv_have_decl_sys_signame = yes; then
46921.76Spooka
46931.76Spookacat >>confdefs.h <<EOF
46941.76Spooka#define HAVE_DECL_SYS_SIGNAME 1
46951.76SpookaEOF
46961.76Spooka
46971.76Spookaelse
46981.76Spooka  cat >>confdefs.h <<EOF
46991.76Spooka#define HAVE_DECL_SYS_SIGNAME 0
47001.76SpookaEOF
47011.76Spooka
47021.76Spookafi
47031.76Spooka
47041.76Spooka# Library functions (where a .h check isn't enough).
47051.76Spooka# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
47061.76Spooka# for constant arguments.  Useless!
47071.76Spookaecho "$as_me:4707: checking for working alloca.h" >&5
47081.76Spookaecho $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
47091.76Spookaif test "${ac_cv_working_alloca_h+set}" = set; then
47101.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
47111.76Spookaelse
47121.76Spooka  cat >conftest.$ac_ext <<_ACEOF
47131.76Spooka#line 4713 "configure"
47141.76Spooka#include "confdefs.h"
47151.76Spooka#include <alloca.h>
47161.76Spookaint
47171.76Spookamain ()
47181.76Spooka{
47191.76Spookachar *p = (char *) alloca (2 * sizeof (int));
47201.76Spooka  ;
47211.76Spooka  return 0;
47221.76Spooka}
47231.76Spooka_ACEOF
47241.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
47251.76Spookaif { (eval echo "$as_me:4725: \"$ac_link\"") >&5
47261.76Spooka  (eval $ac_link) 2>&5
47271.76Spooka  ac_status=$?
47281.76Spooka  echo "$as_me:4728: \$? = $ac_status" >&5
47291.76Spooka  (exit $ac_status); } &&
47301.76Spooka         { ac_try='test -s conftest$ac_exeext'
47311.76Spooka  { (eval echo "$as_me:4731: \"$ac_try\"") >&5
47321.76Spooka  (eval $ac_try) 2>&5
47331.76Spooka  ac_status=$?
47341.76Spooka  echo "$as_me:4734: \$? = $ac_status" >&5
47351.76Spooka  (exit $ac_status); }; }; then
47361.76Spooka  ac_cv_working_alloca_h=yes
47371.76Spookaelse
47381.76Spooka  echo "$as_me: failed program was:" >&5
47391.76Spookacat conftest.$ac_ext >&5
47401.76Spookaac_cv_working_alloca_h=no
47411.76Spookafi
47421.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47431.76Spookafi
47441.76Spookaecho "$as_me:4744: result: $ac_cv_working_alloca_h" >&5
47451.76Spookaecho "${ECHO_T}$ac_cv_working_alloca_h" >&6
47461.76Spookaif test $ac_cv_working_alloca_h = yes; then
47471.76Spooka
47481.76Spookacat >>confdefs.h <<\EOF
47491.76Spooka#define HAVE_ALLOCA_H 1
47501.76SpookaEOF
47511.76Spooka
47521.76Spookafi
47531.76Spooka
47541.76Spookaecho "$as_me:4754: checking for alloca" >&5
47551.76Spookaecho $ECHO_N "checking for alloca... $ECHO_C" >&6
47561.76Spookaif test "${ac_cv_func_alloca_works+set}" = set; then
47571.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
47581.76Spookaelse
47591.76Spooka  cat >conftest.$ac_ext <<_ACEOF
47601.76Spooka#line 4760 "configure"
47611.76Spooka#include "confdefs.h"
47621.76Spooka#ifdef __GNUC__
47631.76Spooka# define alloca __builtin_alloca
47641.76Spooka#else
47651.76Spooka# ifdef _MSC_VER
47661.76Spooka#  include <malloc.h>
47671.76Spooka#  define alloca _alloca
47681.76Spooka# else
47691.76Spooka#  if HAVE_ALLOCA_H
47701.76Spooka#   include <alloca.h>
47711.76Spooka#  else
47721.76Spooka#   ifdef _AIX
47731.76Spooka #pragma alloca
47741.76Spooka#   else
47751.76Spooka#    ifndef alloca /* predefined by HP cc +Olibcalls */
47761.76Spookachar *alloca ();
47771.76Spooka#    endif
47781.76Spooka#   endif
47791.76Spooka#  endif
47801.76Spooka# endif
47811.76Spooka#endif
47821.76Spooka
47831.76Spookaint
47841.76Spookamain ()
47851.76Spooka{
47861.76Spookachar *p = (char *) alloca (1);
47871.76Spooka  ;
47881.76Spooka  return 0;
47891.76Spooka}
47901.76Spooka_ACEOF
47911.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
47921.76Spookaif { (eval echo "$as_me:4792: \"$ac_link\"") >&5
47931.76Spooka  (eval $ac_link) 2>&5
47941.76Spooka  ac_status=$?
47951.76Spooka  echo "$as_me:4795: \$? = $ac_status" >&5
47961.76Spooka  (exit $ac_status); } &&
47971.76Spooka         { ac_try='test -s conftest$ac_exeext'
47981.76Spooka  { (eval echo "$as_me:4798: \"$ac_try\"") >&5
47991.76Spooka  (eval $ac_try) 2>&5
48001.76Spooka  ac_status=$?
48011.76Spooka  echo "$as_me:4801: \$? = $ac_status" >&5
48021.76Spooka  (exit $ac_status); }; }; then
48031.76Spooka  ac_cv_func_alloca_works=yes
48041.76Spookaelse
48051.76Spooka  echo "$as_me: failed program was:" >&5
48061.76Spookacat conftest.$ac_ext >&5
48071.76Spookaac_cv_func_alloca_works=no
48081.76Spookafi
48091.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48101.76Spookafi
48111.76Spookaecho "$as_me:4811: result: $ac_cv_func_alloca_works" >&5
48121.76Spookaecho "${ECHO_T}$ac_cv_func_alloca_works" >&6
48131.76Spooka
48141.76Spookaif test $ac_cv_func_alloca_works = yes; then
48151.76Spooka
48161.76Spookacat >>confdefs.h <<\EOF
48171.76Spooka#define HAVE_ALLOCA 1
48181.76SpookaEOF
48191.76Spooka
48201.76Spookaelse
48211.76Spooka  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
48221.76Spooka# that cause trouble.  Some versions do not even contain alloca or
48231.76Spooka# contain a buggy version.  If you still want to use their alloca,
48241.76Spooka# use ar to extract alloca.o from them instead of compiling alloca.c.
48251.76Spooka
48261.76SpookaALLOCA=alloca.$ac_objext
48271.76Spooka
48281.76Spookacat >>confdefs.h <<\EOF
48291.76Spooka#define C_ALLOCA 1
48301.76SpookaEOF
48311.76Spooka
48321.76Spookaecho "$as_me:4832: checking whether \`alloca.c' needs Cray hooks" >&5
48331.76Spookaecho $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
48341.76Spookaif test "${ac_cv_os_cray+set}" = set; then
48351.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
48361.76Spookaelse
48371.76Spooka  cat >conftest.$ac_ext <<_ACEOF
48381.76Spooka#line 4838 "configure"
48391.76Spooka#include "confdefs.h"
48401.76Spooka#if defined(CRAY) && ! defined(CRAY2)
48411.76Spookawebecray
48421.76Spooka#else
48431.76Spookawenotbecray
48441.76Spooka#endif
48451.76Spooka
48461.76Spooka_ACEOF
48471.76Spookaif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48481.76Spooka  egrep "webecray" >/dev/null 2>&1; then
48491.76Spooka  ac_cv_os_cray=yes
48501.76Spookaelse
48511.76Spooka  ac_cv_os_cray=no
48521.76Spookafi
48531.76Spookarm -f conftest*
48541.76Spooka
48551.76Spookafi
48561.76Spookaecho "$as_me:4856: result: $ac_cv_os_cray" >&5
48571.76Spookaecho "${ECHO_T}$ac_cv_os_cray" >&6
48581.76Spookaif test $ac_cv_os_cray = yes; then
48591.76Spooka  for ac_func in _getb67 GETB67 getb67; do
48601.76Spooka    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48611.76Spookaecho "$as_me:4861: checking for $ac_func" >&5
48621.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48631.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
48641.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
48651.76Spookaelse
48661.76Spooka  cat >conftest.$ac_ext <<_ACEOF
48671.76Spooka#line 4867 "configure"
48681.76Spooka#include "confdefs.h"
48691.76Spooka/* System header to define __stub macros and hopefully few prototypes,
48701.76Spooka    which can conflict with char $ac_func (); below.  */
48711.76Spooka#include <assert.h>
48721.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
48731.76Spooka#ifdef __cplusplus
48741.76Spookaextern "C"
48751.76Spooka#endif
48761.76Spooka/* We use char because int might match the return type of a gcc2
48771.76Spooka   builtin and then its argument prototype would still apply.  */
48781.76Spookachar $ac_func ();
48791.76Spookachar (*f) ();
48801.76Spooka
48811.76Spookaint
48821.76Spookamain ()
48831.76Spooka{
48841.76Spooka/* The GNU C library defines this for functions which it implements
48851.76Spooka    to always fail with ENOSYS.  Some functions are actually named
48861.76Spooka    something starting with __ and the normal name is an alias.  */
48871.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48881.76Spookachoke me
48891.76Spooka#else
48901.76Spookaf = $ac_func;
48911.76Spooka#endif
48921.76Spooka
48931.76Spooka  ;
48941.76Spooka  return 0;
48951.76Spooka}
48961.76Spooka_ACEOF
48971.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
48981.76Spookaif { (eval echo "$as_me:4898: \"$ac_link\"") >&5
48991.76Spooka  (eval $ac_link) 2>&5
49001.76Spooka  ac_status=$?
49011.76Spooka  echo "$as_me:4901: \$? = $ac_status" >&5
49021.76Spooka  (exit $ac_status); } &&
49031.76Spooka         { ac_try='test -s conftest$ac_exeext'
49041.76Spooka  { (eval echo "$as_me:4904: \"$ac_try\"") >&5
49051.76Spooka  (eval $ac_try) 2>&5
49061.76Spooka  ac_status=$?
49071.76Spooka  echo "$as_me:4907: \$? = $ac_status" >&5
49081.76Spooka  (exit $ac_status); }; }; then
49091.76Spooka  eval "$as_ac_var=yes"
49101.76Spookaelse
49111.76Spooka  echo "$as_me: failed program was:" >&5
49121.76Spookacat conftest.$ac_ext >&5
49131.76Spookaeval "$as_ac_var=no"
49141.76Spookafi
49151.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49161.76Spookafi
49171.76Spookaecho "$as_me:4917: result: `eval echo '${'$as_ac_var'}'`" >&5
49181.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49191.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
49201.76Spooka
49211.76Spookacat >>confdefs.h <<EOF
49221.76Spooka#define CRAY_STACKSEG_END $ac_func
49231.76SpookaEOF
49241.76Spooka
49251.76Spooka    break
49261.76Spookafi
49271.76Spooka
49281.76Spooka  done
49291.76Spookafi
49301.76Spooka
49311.76Spookaecho "$as_me:4931: checking stack direction for C alloca" >&5
49321.76Spookaecho $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
49331.76Spookaif test "${ac_cv_c_stack_direction+set}" = set; then
49341.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
49351.76Spookaelse
49361.76Spooka  if test "$cross_compiling" = yes; then
49371.76Spooka  ac_cv_c_stack_direction=0
49381.76Spookaelse
49391.76Spooka  cat >conftest.$ac_ext <<_ACEOF
49401.76Spooka#line 4940 "configure"
49411.76Spooka#include "confdefs.h"
49421.76Spookaint
49431.76Spookafind_stack_direction ()
49441.76Spooka{
49451.76Spooka  static char *addr = 0;
49461.76Spooka  auto char dummy;
49471.76Spooka  if (addr == 0)
49481.76Spooka    {
49491.76Spooka      addr = &dummy;
49501.76Spooka      return find_stack_direction ();
49511.76Spooka    }
49521.76Spooka  else
49531.76Spooka    return (&dummy > addr) ? 1 : -1;
49541.76Spooka}
49551.76Spooka
49561.76Spookaint
49571.76Spookamain ()
49581.76Spooka{
49591.76Spooka  exit (find_stack_direction () < 0);
49601.76Spooka}
49611.76Spooka_ACEOF
49621.76Spookarm -f conftest$ac_exeext
49631.76Spookaif { (eval echo "$as_me:4963: \"$ac_link\"") >&5
49641.76Spooka  (eval $ac_link) 2>&5
49651.76Spooka  ac_status=$?
49661.76Spooka  echo "$as_me:4966: \$? = $ac_status" >&5
49671.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49681.76Spooka  { (eval echo "$as_me:4968: \"$ac_try\"") >&5
49691.76Spooka  (eval $ac_try) 2>&5
49701.76Spooka  ac_status=$?
49711.76Spooka  echo "$as_me:4971: \$? = $ac_status" >&5
49721.76Spooka  (exit $ac_status); }; }; then
49731.76Spooka  ac_cv_c_stack_direction=1
49741.76Spookaelse
49751.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
49761.76Spookaecho "$as_me: failed program was:" >&5
49771.76Spookacat conftest.$ac_ext >&5
49781.76Spookaac_cv_c_stack_direction=-1
49791.76Spookafi
49801.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49811.76Spookafi
49821.76Spookafi
49831.76Spookaecho "$as_me:4983: result: $ac_cv_c_stack_direction" >&5
49841.76Spookaecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
49851.76Spooka
49861.76Spookacat >>confdefs.h <<EOF
49871.76Spooka#define STACK_DIRECTION $ac_cv_c_stack_direction
49881.76SpookaEOF
49891.76Spooka
49901.76Spookafi
49911.76Spooka
49921.76Spookafor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
49931.76Spooka	dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \
49941.76Spooka	getopt getopt_long group_from_gid gid_from_group \
49951.76Spooka	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
49961.76Spooka	mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \
49971.76Spooka	pwrite raise_default_signal random setenv \
49981.77Sapb	setgroupent setprogname setpassent \
49991.77Sapb	snprintb_m snprintf strlcat strlcpy strmode \
50001.76Spooka	strndup strsep strsuftoll strtoll \
50011.76Spooka	user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
50021.76Spookado
50031.76Spookaas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50041.77Sapbecho "$as_me:5004: checking for $ac_func" >&5
50051.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50061.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
50071.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
50081.76Spookaelse
50091.76Spooka  cat >conftest.$ac_ext <<_ACEOF
50101.77Sapb#line 5010 "configure"
50111.76Spooka#include "confdefs.h"
50121.76Spooka/* System header to define __stub macros and hopefully few prototypes,
50131.76Spooka    which can conflict with char $ac_func (); below.  */
50141.76Spooka#include <assert.h>
50151.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
50161.76Spooka#ifdef __cplusplus
50171.76Spookaextern "C"
50181.76Spooka#endif
50191.76Spooka/* We use char because int might match the return type of a gcc2
50201.76Spooka   builtin and then its argument prototype would still apply.  */
50211.76Spookachar $ac_func ();
50221.76Spookachar (*f) ();
50231.76Spooka
50241.76Spookaint
50251.76Spookamain ()
50261.76Spooka{
50271.76Spooka/* The GNU C library defines this for functions which it implements
50281.76Spooka    to always fail with ENOSYS.  Some functions are actually named
50291.76Spooka    something starting with __ and the normal name is an alias.  */
50301.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50311.76Spookachoke me
50321.76Spooka#else
50331.76Spookaf = $ac_func;
50341.76Spooka#endif
50351.76Spooka
50361.76Spooka  ;
50371.76Spooka  return 0;
50381.76Spooka}
50391.76Spooka_ACEOF
50401.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
50411.77Sapbif { (eval echo "$as_me:5041: \"$ac_link\"") >&5
50421.76Spooka  (eval $ac_link) 2>&5
50431.76Spooka  ac_status=$?
50441.77Sapb  echo "$as_me:5044: \$? = $ac_status" >&5
50451.76Spooka  (exit $ac_status); } &&
50461.76Spooka         { ac_try='test -s conftest$ac_exeext'
50471.77Sapb  { (eval echo "$as_me:5047: \"$ac_try\"") >&5
50481.76Spooka  (eval $ac_try) 2>&5
50491.76Spooka  ac_status=$?
50501.77Sapb  echo "$as_me:5050: \$? = $ac_status" >&5
50511.76Spooka  (exit $ac_status); }; }; then
50521.76Spooka  eval "$as_ac_var=yes"
50531.76Spookaelse
50541.76Spooka  echo "$as_me: failed program was:" >&5
50551.76Spookacat conftest.$ac_ext >&5
50561.76Spookaeval "$as_ac_var=no"
50571.76Spookafi
50581.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50591.76Spookafi
50601.77Sapbecho "$as_me:5060: result: `eval echo '${'$as_ac_var'}'`" >&5
50611.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50621.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
50631.76Spooka  cat >>confdefs.h <<EOF
50641.76Spooka#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50651.76SpookaEOF
50661.76Spooka
50671.76Spookafi
50681.76Spookadone
50691.76Spooka
50701.77Sapbecho "$as_me:5070: checking whether user_from_uid is declared" >&5
50711.76Spookaecho $ECHO_N "checking whether user_from_uid is declared... $ECHO_C" >&6
50721.76Spookaif test "${ac_cv_have_decl_user_from_uid+set}" = set; then
50731.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
50741.76Spookaelse
50751.76Spooka  cat >conftest.$ac_ext <<_ACEOF
50761.77Sapb#line 5076 "configure"
50771.76Spooka#include "confdefs.h"
50781.76Spooka
50791.76Spooka#include <pwd.h>
50801.76Spooka
50811.76Spookaint
50821.76Spookamain ()
50831.76Spooka{
50841.76Spooka#ifndef user_from_uid
50851.76Spooka  char *p = (char *) user_from_uid;
50861.76Spooka#endif
50871.76Spooka
50881.76Spooka  ;
50891.76Spooka  return 0;
50901.76Spooka}
50911.76Spooka_ACEOF
50921.76Spookarm -f conftest.$ac_objext
50931.77Sapbif { (eval echo "$as_me:5093: \"$ac_compile\"") >&5
50941.76Spooka  (eval $ac_compile) 2>&5
50951.76Spooka  ac_status=$?
50961.77Sapb  echo "$as_me:5096: \$? = $ac_status" >&5
50971.76Spooka  (exit $ac_status); } &&
50981.76Spooka         { ac_try='test -s conftest.$ac_objext'
50991.77Sapb  { (eval echo "$as_me:5099: \"$ac_try\"") >&5
51001.76Spooka  (eval $ac_try) 2>&5
51011.76Spooka  ac_status=$?
51021.77Sapb  echo "$as_me:5102: \$? = $ac_status" >&5
51031.76Spooka  (exit $ac_status); }; }; then
51041.76Spooka  ac_cv_have_decl_user_from_uid=yes
51051.76Spookaelse
51061.76Spooka  echo "$as_me: failed program was:" >&5
51071.76Spookacat conftest.$ac_ext >&5
51081.76Spookaac_cv_have_decl_user_from_uid=no
51091.76Spookafi
51101.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
51111.76Spookafi
51121.77Sapbecho "$as_me:5112: result: $ac_cv_have_decl_user_from_uid" >&5
51131.76Spookaecho "${ECHO_T}$ac_cv_have_decl_user_from_uid" >&6
51141.76Spookaif test $ac_cv_have_decl_user_from_uid = yes; then
51151.76Spooka
51161.76Spookacat >>confdefs.h <<EOF
51171.76Spooka#define HAVE_DECL_USER_FROM_UID 1
51181.76SpookaEOF
51191.76Spooka
51201.76Spookaelse
51211.76Spooka  cat >>confdefs.h <<EOF
51221.76Spooka#define HAVE_DECL_USER_FROM_UID 0
51231.76SpookaEOF
51241.76Spooka
51251.76Spookafi
51261.77Sapbecho "$as_me:5126: checking whether uid_from_user is declared" >&5
51271.76Spookaecho $ECHO_N "checking whether uid_from_user is declared... $ECHO_C" >&6
51281.76Spookaif test "${ac_cv_have_decl_uid_from_user+set}" = set; then
51291.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
51301.76Spookaelse
51311.76Spooka  cat >conftest.$ac_ext <<_ACEOF
51321.77Sapb#line 5132 "configure"
51331.76Spooka#include "confdefs.h"
51341.76Spooka
51351.76Spooka#include <pwd.h>
51361.76Spooka
51371.76Spookaint
51381.76Spookamain ()
51391.76Spooka{
51401.76Spooka#ifndef uid_from_user
51411.76Spooka  char *p = (char *) uid_from_user;
51421.76Spooka#endif
51431.76Spooka
51441.76Spooka  ;
51451.76Spooka  return 0;
51461.76Spooka}
51471.76Spooka_ACEOF
51481.76Spookarm -f conftest.$ac_objext
51491.77Sapbif { (eval echo "$as_me:5149: \"$ac_compile\"") >&5
51501.76Spooka  (eval $ac_compile) 2>&5
51511.76Spooka  ac_status=$?
51521.77Sapb  echo "$as_me:5152: \$? = $ac_status" >&5
51531.76Spooka  (exit $ac_status); } &&
51541.76Spooka         { ac_try='test -s conftest.$ac_objext'
51551.77Sapb  { (eval echo "$as_me:5155: \"$ac_try\"") >&5
51561.76Spooka  (eval $ac_try) 2>&5
51571.76Spooka  ac_status=$?
51581.77Sapb  echo "$as_me:5158: \$? = $ac_status" >&5
51591.76Spooka  (exit $ac_status); }; }; then
51601.76Spooka  ac_cv_have_decl_uid_from_user=yes
51611.76Spookaelse
51621.76Spooka  echo "$as_me: failed program was:" >&5
51631.76Spookacat conftest.$ac_ext >&5
51641.76Spookaac_cv_have_decl_uid_from_user=no
51651.76Spookafi
51661.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
51671.76Spookafi
51681.77Sapbecho "$as_me:5168: result: $ac_cv_have_decl_uid_from_user" >&5
51691.76Spookaecho "${ECHO_T}$ac_cv_have_decl_uid_from_user" >&6
51701.76Spookaif test $ac_cv_have_decl_uid_from_user = yes; then
51711.76Spooka
51721.76Spookacat >>confdefs.h <<EOF
51731.76Spooka#define HAVE_DECL_UID_FROM_USER 1
51741.76SpookaEOF
51751.76Spooka
51761.76Spookaelse
51771.76Spooka  cat >>confdefs.h <<EOF
51781.76Spooka#define HAVE_DECL_UID_FROM_USER 0
51791.76SpookaEOF
51801.76Spooka
51811.76Spookafi
51821.77Sapbecho "$as_me:5182: checking whether pwcache_userdb is declared" >&5
51831.76Spookaecho $ECHO_N "checking whether pwcache_userdb is declared... $ECHO_C" >&6
51841.76Spookaif test "${ac_cv_have_decl_pwcache_userdb+set}" = set; then
51851.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
51861.76Spookaelse
51871.76Spooka  cat >conftest.$ac_ext <<_ACEOF
51881.77Sapb#line 5188 "configure"
51891.76Spooka#include "confdefs.h"
51901.76Spooka
51911.76Spooka#include <pwd.h>
51921.76Spooka
51931.76Spookaint
51941.76Spookamain ()
51951.76Spooka{
51961.76Spooka#ifndef pwcache_userdb
51971.76Spooka  char *p = (char *) pwcache_userdb;
51981.76Spooka#endif
51991.76Spooka
52001.76Spooka  ;
52011.76Spooka  return 0;
52021.76Spooka}
52031.76Spooka_ACEOF
52041.76Spookarm -f conftest.$ac_objext
52051.77Sapbif { (eval echo "$as_me:5205: \"$ac_compile\"") >&5
52061.76Spooka  (eval $ac_compile) 2>&5
52071.76Spooka  ac_status=$?
52081.77Sapb  echo "$as_me:5208: \$? = $ac_status" >&5
52091.76Spooka  (exit $ac_status); } &&
52101.76Spooka         { ac_try='test -s conftest.$ac_objext'
52111.77Sapb  { (eval echo "$as_me:5211: \"$ac_try\"") >&5
52121.76Spooka  (eval $ac_try) 2>&5
52131.76Spooka  ac_status=$?
52141.77Sapb  echo "$as_me:5214: \$? = $ac_status" >&5
52151.76Spooka  (exit $ac_status); }; }; then
52161.76Spooka  ac_cv_have_decl_pwcache_userdb=yes
52171.76Spookaelse
52181.76Spooka  echo "$as_me: failed program was:" >&5
52191.76Spookacat conftest.$ac_ext >&5
52201.76Spookaac_cv_have_decl_pwcache_userdb=no
52211.76Spookafi
52221.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
52231.76Spookafi
52241.77Sapbecho "$as_me:5224: result: $ac_cv_have_decl_pwcache_userdb" >&5
52251.76Spookaecho "${ECHO_T}$ac_cv_have_decl_pwcache_userdb" >&6
52261.76Spookaif test $ac_cv_have_decl_pwcache_userdb = yes; then
52271.76Spooka
52281.76Spookacat >>confdefs.h <<EOF
52291.76Spooka#define HAVE_DECL_PWCACHE_USERDB 1
52301.76SpookaEOF
52311.76Spooka
52321.76Spookaelse
52331.76Spooka  cat >>confdefs.h <<EOF
52341.76Spooka#define HAVE_DECL_PWCACHE_USERDB 0
52351.76SpookaEOF
52361.76Spooka
52371.76Spookafi
52381.76Spooka
52391.77Sapbecho "$as_me:5239: checking whether group_from_gid is declared" >&5
52401.76Spookaecho $ECHO_N "checking whether group_from_gid is declared... $ECHO_C" >&6
52411.76Spookaif test "${ac_cv_have_decl_group_from_gid+set}" = set; then
52421.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
52431.76Spookaelse
52441.76Spooka  cat >conftest.$ac_ext <<_ACEOF
52451.77Sapb#line 5245 "configure"
52461.76Spooka#include "confdefs.h"
52471.76Spooka
52481.76Spooka#include <grp.h>
52491.76Spooka
52501.76Spookaint
52511.76Spookamain ()
52521.76Spooka{
52531.76Spooka#ifndef group_from_gid
52541.76Spooka  char *p = (char *) group_from_gid;
52551.76Spooka#endif
52561.76Spooka
52571.76Spooka  ;
52581.76Spooka  return 0;
52591.76Spooka}
52601.76Spooka_ACEOF
52611.76Spookarm -f conftest.$ac_objext
52621.77Sapbif { (eval echo "$as_me:5262: \"$ac_compile\"") >&5
52631.76Spooka  (eval $ac_compile) 2>&5
52641.76Spooka  ac_status=$?
52651.77Sapb  echo "$as_me:5265: \$? = $ac_status" >&5
52661.76Spooka  (exit $ac_status); } &&
52671.76Spooka         { ac_try='test -s conftest.$ac_objext'
52681.77Sapb  { (eval echo "$as_me:5268: \"$ac_try\"") >&5
52691.76Spooka  (eval $ac_try) 2>&5
52701.76Spooka  ac_status=$?
52711.77Sapb  echo "$as_me:5271: \$? = $ac_status" >&5
52721.76Spooka  (exit $ac_status); }; }; then
52731.76Spooka  ac_cv_have_decl_group_from_gid=yes
52741.76Spookaelse
52751.76Spooka  echo "$as_me: failed program was:" >&5
52761.76Spookacat conftest.$ac_ext >&5
52771.76Spookaac_cv_have_decl_group_from_gid=no
52781.76Spookafi
52791.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
52801.76Spookafi
52811.77Sapbecho "$as_me:5281: result: $ac_cv_have_decl_group_from_gid" >&5
52821.76Spookaecho "${ECHO_T}$ac_cv_have_decl_group_from_gid" >&6
52831.76Spookaif test $ac_cv_have_decl_group_from_gid = yes; then
52841.76Spooka
52851.76Spookacat >>confdefs.h <<EOF
52861.76Spooka#define HAVE_DECL_GROUP_FROM_GID 1
52871.76SpookaEOF
52881.76Spooka
52891.76Spookaelse
52901.76Spooka  cat >>confdefs.h <<EOF
52911.76Spooka#define HAVE_DECL_GROUP_FROM_GID 0
52921.76SpookaEOF
52931.76Spooka
52941.76Spookafi
52951.77Sapbecho "$as_me:5295: checking whether gid_from_group is declared" >&5
52961.76Spookaecho $ECHO_N "checking whether gid_from_group is declared... $ECHO_C" >&6
52971.76Spookaif test "${ac_cv_have_decl_gid_from_group+set}" = set; then
52981.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
52991.76Spookaelse
53001.76Spooka  cat >conftest.$ac_ext <<_ACEOF
53011.77Sapb#line 5301 "configure"
53021.76Spooka#include "confdefs.h"
53031.76Spooka
53041.76Spooka#include <grp.h>
53051.76Spooka
53061.76Spookaint
53071.76Spookamain ()
53081.76Spooka{
53091.76Spooka#ifndef gid_from_group
53101.76Spooka  char *p = (char *) gid_from_group;
53111.76Spooka#endif
53121.76Spooka
53131.76Spooka  ;
53141.76Spooka  return 0;
53151.76Spooka}
53161.76Spooka_ACEOF
53171.76Spookarm -f conftest.$ac_objext
53181.77Sapbif { (eval echo "$as_me:5318: \"$ac_compile\"") >&5
53191.76Spooka  (eval $ac_compile) 2>&5
53201.76Spooka  ac_status=$?
53211.77Sapb  echo "$as_me:5321: \$? = $ac_status" >&5
53221.76Spooka  (exit $ac_status); } &&
53231.76Spooka         { ac_try='test -s conftest.$ac_objext'
53241.77Sapb  { (eval echo "$as_me:5324: \"$ac_try\"") >&5
53251.76Spooka  (eval $ac_try) 2>&5
53261.76Spooka  ac_status=$?
53271.77Sapb  echo "$as_me:5327: \$? = $ac_status" >&5
53281.76Spooka  (exit $ac_status); }; }; then
53291.76Spooka  ac_cv_have_decl_gid_from_group=yes
53301.76Spookaelse
53311.76Spooka  echo "$as_me: failed program was:" >&5
53321.76Spookacat conftest.$ac_ext >&5
53331.76Spookaac_cv_have_decl_gid_from_group=no
53341.76Spookafi
53351.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
53361.76Spookafi
53371.77Sapbecho "$as_me:5337: result: $ac_cv_have_decl_gid_from_group" >&5
53381.76Spookaecho "${ECHO_T}$ac_cv_have_decl_gid_from_group" >&6
53391.76Spookaif test $ac_cv_have_decl_gid_from_group = yes; then
53401.76Spooka
53411.76Spookacat >>confdefs.h <<EOF
53421.76Spooka#define HAVE_DECL_GID_FROM_GROUP 1
53431.76SpookaEOF
53441.76Spooka
53451.76Spookaelse
53461.76Spooka  cat >>confdefs.h <<EOF
53471.76Spooka#define HAVE_DECL_GID_FROM_GROUP 0
53481.76SpookaEOF
53491.76Spooka
53501.76Spookafi
53511.77Sapbecho "$as_me:5351: checking whether pwcache_groupdb is declared" >&5
53521.76Spookaecho $ECHO_N "checking whether pwcache_groupdb is declared... $ECHO_C" >&6
53531.76Spookaif test "${ac_cv_have_decl_pwcache_groupdb+set}" = set; then
53541.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
53551.76Spookaelse
53561.76Spooka  cat >conftest.$ac_ext <<_ACEOF
53571.77Sapb#line 5357 "configure"
53581.76Spooka#include "confdefs.h"
53591.76Spooka
53601.76Spooka#include <grp.h>
53611.76Spooka
53621.76Spookaint
53631.76Spookamain ()
53641.76Spooka{
53651.76Spooka#ifndef pwcache_groupdb
53661.76Spooka  char *p = (char *) pwcache_groupdb;
53671.76Spooka#endif
53681.76Spooka
53691.76Spooka  ;
53701.76Spooka  return 0;
53711.76Spooka}
53721.76Spooka_ACEOF
53731.76Spookarm -f conftest.$ac_objext
53741.77Sapbif { (eval echo "$as_me:5374: \"$ac_compile\"") >&5
53751.76Spooka  (eval $ac_compile) 2>&5
53761.76Spooka  ac_status=$?
53771.77Sapb  echo "$as_me:5377: \$? = $ac_status" >&5
53781.76Spooka  (exit $ac_status); } &&
53791.76Spooka         { ac_try='test -s conftest.$ac_objext'
53801.77Sapb  { (eval echo "$as_me:5380: \"$ac_try\"") >&5
53811.76Spooka  (eval $ac_try) 2>&5
53821.76Spooka  ac_status=$?
53831.77Sapb  echo "$as_me:5383: \$? = $ac_status" >&5
53841.76Spooka  (exit $ac_status); }; }; then
53851.76Spooka  ac_cv_have_decl_pwcache_groupdb=yes
53861.76Spookaelse
53871.76Spooka  echo "$as_me: failed program was:" >&5
53881.76Spookacat conftest.$ac_ext >&5
53891.76Spookaac_cv_have_decl_pwcache_groupdb=no
53901.76Spookafi
53911.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
53921.76Spookafi
53931.77Sapbecho "$as_me:5393: result: $ac_cv_have_decl_pwcache_groupdb" >&5
53941.76Spookaecho "${ECHO_T}$ac_cv_have_decl_pwcache_groupdb" >&6
53951.76Spookaif test $ac_cv_have_decl_pwcache_groupdb = yes; then
53961.76Spooka
53971.76Spookacat >>confdefs.h <<EOF
53981.76Spooka#define HAVE_DECL_PWCACHE_GROUPDB 1
53991.76SpookaEOF
54001.76Spooka
54011.76Spookaelse
54021.76Spooka  cat >>confdefs.h <<EOF
54031.76Spooka#define HAVE_DECL_PWCACHE_GROUPDB 0
54041.76SpookaEOF
54051.74Schristos
54061.76Spookafi
54071.66Stsutsui
54081.77Sapbecho "$as_me:5408: checking whether strndup is declared" >&5
54091.76Spookaecho $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
54101.76Spookaif test "${ac_cv_have_decl_strndup+set}" = set; then
54111.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
54121.66Stsutsuielse
54131.76Spooka  cat >conftest.$ac_ext <<_ACEOF
54141.77Sapb#line 5414 "configure"
54151.76Spooka#include "confdefs.h"
54161.76Spooka#include <string.h>
54171.76Spooka
54181.76Spookaint
54191.76Spookamain ()
54201.76Spooka{
54211.76Spooka#ifndef strndup
54221.76Spooka  char *p = (char *) strndup;
54231.76Spooka#endif
54241.52Sdbj
54251.76Spooka  ;
54261.76Spooka  return 0;
54271.76Spooka}
54281.6Stv_ACEOF
54291.76Spookarm -f conftest.$ac_objext
54301.77Sapbif { (eval echo "$as_me:5430: \"$ac_compile\"") >&5
54311.76Spooka  (eval $ac_compile) 2>&5
54321.76Spooka  ac_status=$?
54331.77Sapb  echo "$as_me:5433: \$? = $ac_status" >&5
54341.76Spooka  (exit $ac_status); } &&
54351.76Spooka         { ac_try='test -s conftest.$ac_objext'
54361.77Sapb  { (eval echo "$as_me:5436: \"$ac_try\"") >&5
54371.76Spooka  (eval $ac_try) 2>&5
54381.76Spooka  ac_status=$?
54391.77Sapb  echo "$as_me:5439: \$? = $ac_status" >&5
54401.76Spooka  (exit $ac_status); }; }; then
54411.76Spooka  ac_cv_have_decl_strndup=yes
54421.76Spookaelse
54431.76Spooka  echo "$as_me: failed program was:" >&5
54441.76Spookacat conftest.$ac_ext >&5
54451.76Spookaac_cv_have_decl_strndup=no
54461.76Spookafi
54471.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
54481.6Stvfi
54491.77Sapbecho "$as_me:5449: result: $ac_cv_have_decl_strndup" >&5
54501.76Spookaecho "${ECHO_T}$ac_cv_have_decl_strndup" >&6
54511.76Spookaif test $ac_cv_have_decl_strndup = yes; then
54521.6Stv
54531.76Spookacat >>confdefs.h <<EOF
54541.76Spooka#define HAVE_DECL_STRNDUP 1
54551.76SpookaEOF
54561.38Sfredb
54571.76Spookaelse
54581.76Spooka  cat >>confdefs.h <<EOF
54591.76Spooka#define HAVE_DECL_STRNDUP 0
54601.76SpookaEOF
54611.39Sfredb
54621.38Sfredbfi
54631.45Sjmc
54641.77Sapbecho "$as_me:5464: checking whether strsuftoll is declared" >&5
54651.76Spookaecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
54661.76Spookaif test "${ac_cv_have_decl_strsuftoll+set}" = set; then
54671.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
54681.76Spookaelse
54691.76Spooka  cat >conftest.$ac_ext <<_ACEOF
54701.77Sapb#line 5470 "configure"
54711.76Spooka#include "confdefs.h"
54721.76Spooka#include <stdlib.h>
54731.7Stv
54741.76Spookaint
54751.76Spookamain ()
54761.76Spooka{
54771.76Spooka#ifndef strsuftoll
54781.76Spooka  char *p = (char *) strsuftoll;
54791.76Spooka#endif
54801.7Stv
54811.76Spooka  ;
54821.76Spooka  return 0;
54831.76Spooka}
54841.76Spooka_ACEOF
54851.76Spookarm -f conftest.$ac_objext
54861.77Sapbif { (eval echo "$as_me:5486: \"$ac_compile\"") >&5
54871.76Spooka  (eval $ac_compile) 2>&5
54881.76Spooka  ac_status=$?
54891.77Sapb  echo "$as_me:5489: \$? = $ac_status" >&5
54901.76Spooka  (exit $ac_status); } &&
54911.76Spooka         { ac_try='test -s conftest.$ac_objext'
54921.77Sapb  { (eval echo "$as_me:5492: \"$ac_try\"") >&5
54931.76Spooka  (eval $ac_try) 2>&5
54941.76Spooka  ac_status=$?
54951.77Sapb  echo "$as_me:5495: \$? = $ac_status" >&5
54961.76Spooka  (exit $ac_status); }; }; then
54971.76Spooka  ac_cv_have_decl_strsuftoll=yes
54981.76Spookaelse
54991.76Spooka  echo "$as_me: failed program was:" >&5
55001.76Spookacat conftest.$ac_ext >&5
55011.76Spookaac_cv_have_decl_strsuftoll=no
55021.76Spookafi
55031.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
55041.7Stvfi
55051.77Sapbecho "$as_me:5505: result: $ac_cv_have_decl_strsuftoll" >&5
55061.76Spookaecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
55071.76Spookaif test $ac_cv_have_decl_strsuftoll = yes; then
55081.35Sthorpej
55091.76Spookacat >>confdefs.h <<EOF
55101.76Spooka#define HAVE_DECL_STRSUFTOLL 1
55111.76SpookaEOF
55121.9Stv
55131.76Spookaelse
55141.76Spooka  cat >>confdefs.h <<EOF
55151.76Spooka#define HAVE_DECL_STRSUFTOLL 0
55161.76SpookaEOF
55171.9Stv
55181.63Sapbfi
55191.65Schristos
55201.77Sapbecho "$as_me:5520: checking whether lchflags is declared" >&5
55211.76Spookaecho $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
55221.76Spookaif test "${ac_cv_have_decl_lchflags+set}" = set; then
55231.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
55241.76Spookaelse
55251.76Spooka  cat >conftest.$ac_ext <<_ACEOF
55261.77Sapb#line 5526 "configure"
55271.76Spooka#include "confdefs.h"
55281.76Spooka
55291.76Spooka#include <sys/stat.h>
55301.76Spooka#include <unistd.h>
55311.63Sapb
55321.76Spookaint
55331.76Spookamain ()
55341.76Spooka{
55351.76Spooka#ifndef lchflags
55361.76Spooka  char *p = (char *) lchflags;
55371.76Spooka#endif
55381.63Sapb
55391.76Spooka  ;
55401.76Spooka  return 0;
55411.76Spooka}
55421.76Spooka_ACEOF
55431.76Spookarm -f conftest.$ac_objext
55441.77Sapbif { (eval echo "$as_me:5544: \"$ac_compile\"") >&5
55451.76Spooka  (eval $ac_compile) 2>&5
55461.76Spooka  ac_status=$?
55471.77Sapb  echo "$as_me:5547: \$? = $ac_status" >&5
55481.76Spooka  (exit $ac_status); } &&
55491.76Spooka         { ac_try='test -s conftest.$ac_objext'
55501.77Sapb  { (eval echo "$as_me:5550: \"$ac_try\"") >&5
55511.76Spooka  (eval $ac_try) 2>&5
55521.76Spooka  ac_status=$?
55531.77Sapb  echo "$as_me:5553: \$? = $ac_status" >&5
55541.76Spooka  (exit $ac_status); }; }; then
55551.76Spooka  ac_cv_have_decl_lchflags=yes
55561.76Spookaelse
55571.76Spooka  echo "$as_me: failed program was:" >&5
55581.76Spookacat conftest.$ac_ext >&5
55591.76Spookaac_cv_have_decl_lchflags=no
55601.63Sapbfi
55611.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
55621.76Spookafi
55631.77Sapbecho "$as_me:5563: result: $ac_cv_have_decl_lchflags" >&5
55641.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
55651.76Spookaif test $ac_cv_have_decl_lchflags = yes; then
55661.74Schristos
55671.76Spookacat >>confdefs.h <<EOF
55681.76Spooka#define HAVE_DECL_LCHFLAGS 1
55691.76SpookaEOF
55701.65Schristos
55711.76Spookaelse
55721.76Spooka  cat >>confdefs.h <<EOF
55731.76Spooka#define HAVE_DECL_LCHFLAGS 0
55741.76SpookaEOF
55751.65Schristos
55761.74Schristosfi
55771.77Sapbecho "$as_me:5577: checking whether lchmod is declared" >&5
55781.76Spookaecho $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
55791.76Spookaif test "${ac_cv_have_decl_lchmod+set}" = set; then
55801.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
55811.76Spookaelse
55821.76Spooka  cat >conftest.$ac_ext <<_ACEOF
55831.77Sapb#line 5583 "configure"
55841.76Spooka#include "confdefs.h"
55851.63Sapb
55861.76Spooka#include <sys/stat.h>
55871.76Spooka#include <unistd.h>
55881.74Schristos
55891.76Spookaint
55901.76Spookamain ()
55911.76Spooka{
55921.76Spooka#ifndef lchmod
55931.76Spooka  char *p = (char *) lchmod;
55941.76Spooka#endif
55951.74Schristos
55961.76Spooka  ;
55971.76Spooka  return 0;
55981.76Spooka}
55991.76Spooka_ACEOF
56001.76Spookarm -f conftest.$ac_objext
56011.77Sapbif { (eval echo "$as_me:5601: \"$ac_compile\"") >&5
56021.76Spooka  (eval $ac_compile) 2>&5
56031.76Spooka  ac_status=$?
56041.77Sapb  echo "$as_me:5604: \$? = $ac_status" >&5
56051.76Spooka  (exit $ac_status); } &&
56061.76Spooka         { ac_try='test -s conftest.$ac_objext'
56071.77Sapb  { (eval echo "$as_me:5607: \"$ac_try\"") >&5
56081.76Spooka  (eval $ac_try) 2>&5
56091.76Spooka  ac_status=$?
56101.77Sapb  echo "$as_me:5610: \$? = $ac_status" >&5
56111.76Spooka  (exit $ac_status); }; }; then
56121.76Spooka  ac_cv_have_decl_lchmod=yes
56131.76Spookaelse
56141.76Spooka  echo "$as_me: failed program was:" >&5
56151.76Spookacat conftest.$ac_ext >&5
56161.76Spookaac_cv_have_decl_lchmod=no
56171.61Schristosfi
56181.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
56191.76Spookafi
56201.77Sapbecho "$as_me:5620: result: $ac_cv_have_decl_lchmod" >&5
56211.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
56221.76Spookaif test $ac_cv_have_decl_lchmod = yes; then
56231.65Schristos
56241.76Spookacat >>confdefs.h <<EOF
56251.76Spooka#define HAVE_DECL_LCHMOD 1
56261.76SpookaEOF
56271.53Sdogcow
56281.76Spookaelse
56291.76Spooka  cat >>confdefs.h <<EOF
56301.76Spooka#define HAVE_DECL_LCHMOD 0
56311.76SpookaEOF
56321.40Satatat
56331.40Satatatfi
56341.77Sapbecho "$as_me:5634: checking whether lchown is declared" >&5
56351.76Spookaecho $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
56361.76Spookaif test "${ac_cv_have_decl_lchown+set}" = set; then
56371.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
56381.76Spookaelse
56391.76Spooka  cat >conftest.$ac_ext <<_ACEOF
56401.77Sapb#line 5640 "configure"
56411.76Spooka#include "confdefs.h"
56421.63Sapb
56431.76Spooka#include <sys/stat.h>
56441.76Spooka#include <unistd.h>
56451.65Schristos
56461.76Spookaint
56471.76Spookamain ()
56481.76Spooka{
56491.76Spooka#ifndef lchown
56501.76Spooka  char *p = (char *) lchown;
56511.76Spooka#endif
56521.65Schristos
56531.76Spooka  ;
56541.76Spooka  return 0;
56551.76Spooka}
56561.76Spooka_ACEOF
56571.76Spookarm -f conftest.$ac_objext
56581.77Sapbif { (eval echo "$as_me:5658: \"$ac_compile\"") >&5
56591.76Spooka  (eval $ac_compile) 2>&5
56601.76Spooka  ac_status=$?
56611.77Sapb  echo "$as_me:5661: \$? = $ac_status" >&5
56621.76Spooka  (exit $ac_status); } &&
56631.76Spooka         { ac_try='test -s conftest.$ac_objext'
56641.77Sapb  { (eval echo "$as_me:5664: \"$ac_try\"") >&5
56651.76Spooka  (eval $ac_try) 2>&5
56661.76Spooka  ac_status=$?
56671.77Sapb  echo "$as_me:5667: \$? = $ac_status" >&5
56681.76Spooka  (exit $ac_status); }; }; then
56691.76Spooka  ac_cv_have_decl_lchown=yes
56701.76Spookaelse
56711.76Spooka  echo "$as_me: failed program was:" >&5
56721.76Spookacat conftest.$ac_ext >&5
56731.76Spookaac_cv_have_decl_lchown=no
56741.63Sapbfi
56751.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
56761.76Spookafi
56771.77Sapbecho "$as_me:5677: result: $ac_cv_have_decl_lchown" >&5
56781.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchown" >&6
56791.76Spookaif test $ac_cv_have_decl_lchown = yes; then
56801.65Schristos
56811.76Spookacat >>confdefs.h <<EOF
56821.76Spooka#define HAVE_DECL_LCHOWN 1
56831.76SpookaEOF
56841.65Schristos
56851.76Spookaelse
56861.76Spooka  cat >>confdefs.h <<EOF
56871.76Spooka#define HAVE_DECL_LCHOWN 0
56881.76SpookaEOF
56891.60Sapb
56901.76Spookafi
56911.63Sapb
56921.77Sapbecho "$as_me:5692: checking whether htobe16 is declared" >&5
56931.76Spookaecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
56941.76Spookaif test "${ac_cv_have_decl_htobe16+set}" = set; then
56951.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
56961.63Sapbelse
56971.76Spooka  cat >conftest.$ac_ext <<_ACEOF
56981.77Sapb#line 5698 "configure"
56991.76Spooka#include "confdefs.h"
57001.76Spooka#include <sys/types.h>
57011.53Sdogcow
57021.76Spookaint
57031.76Spookamain ()
57041.76Spooka{
57051.76Spooka#ifndef htobe16
57061.76Spooka  char *p = (char *) htobe16;
57071.76Spooka#endif
57081.65Schristos
57091.76Spooka  ;
57101.76Spooka  return 0;
57111.76Spooka}
57121.76Spooka_ACEOF
57131.76Spookarm -f conftest.$ac_objext
57141.77Sapbif { (eval echo "$as_me:5714: \"$ac_compile\"") >&5
57151.76Spooka  (eval $ac_compile) 2>&5
57161.76Spooka  ac_status=$?
57171.77Sapb  echo "$as_me:5717: \$? = $ac_status" >&5
57181.76Spooka  (exit $ac_status); } &&
57191.76Spooka         { ac_try='test -s conftest.$ac_objext'
57201.77Sapb  { (eval echo "$as_me:5720: \"$ac_try\"") >&5
57211.76Spooka  (eval $ac_try) 2>&5
57221.76Spooka  ac_status=$?
57231.77Sapb  echo "$as_me:5723: \$? = $ac_status" >&5
57241.76Spooka  (exit $ac_status); }; }; then
57251.76Spooka  ac_cv_have_decl_htobe16=yes
57261.40Satatatelse
57271.76Spooka  echo "$as_me: failed program was:" >&5
57281.76Spookacat conftest.$ac_ext >&5
57291.76Spookaac_cv_have_decl_htobe16=no
57301.40Satatatfi
57311.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
57321.74Schristosfi
57331.77Sapbecho "$as_me:5733: result: $ac_cv_have_decl_htobe16" >&5
57341.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
57351.76Spookaif test $ac_cv_have_decl_htobe16 = yes; then
57361.61Schristos
57371.76Spookacat >>confdefs.h <<EOF
57381.76Spooka#define HAVE_DECL_HTOBE16 1
57391.76SpookaEOF
57401.53Sdogcow
57411.7Stvelse
57421.76Spooka  cat >>confdefs.h <<EOF
57431.76Spooka#define HAVE_DECL_HTOBE16 0
57441.76SpookaEOF
57451.7Stv
57461.76Spookafi
57471.77Sapbecho "$as_me:5747: checking whether htobe32 is declared" >&5
57481.76Spookaecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
57491.76Spookaif test "${ac_cv_have_decl_htobe32+set}" = set; then
57501.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
57511.76Spookaelse
57521.76Spooka  cat >conftest.$ac_ext <<_ACEOF
57531.77Sapb#line 5753 "configure"
57541.76Spooka#include "confdefs.h"
57551.76Spooka#include <sys/types.h>
57561.60Sapb
57571.76Spookaint
57581.76Spookamain ()
57591.76Spooka{
57601.76Spooka#ifndef htobe32
57611.76Spooka  char *p = (char *) htobe32;
57621.76Spooka#endif
57631.63Sapb
57641.76Spooka  ;
57651.76Spooka  return 0;
57661.76Spooka}
57671.76Spooka_ACEOF
57681.76Spookarm -f conftest.$ac_objext
57691.77Sapbif { (eval echo "$as_me:5769: \"$ac_compile\"") >&5
57701.76Spooka  (eval $ac_compile) 2>&5
57711.76Spooka  ac_status=$?
57721.77Sapb  echo "$as_me:5772: \$? = $ac_status" >&5
57731.76Spooka  (exit $ac_status); } &&
57741.76Spooka         { ac_try='test -s conftest.$ac_objext'
57751.77Sapb  { (eval echo "$as_me:5775: \"$ac_try\"") >&5
57761.76Spooka  (eval $ac_try) 2>&5
57771.76Spooka  ac_status=$?
57781.77Sapb  echo "$as_me:5778: \$? = $ac_status" >&5
57791.76Spooka  (exit $ac_status); }; }; then
57801.76Spooka  ac_cv_have_decl_htobe32=yes
57811.7Stvelse
57821.76Spooka  echo "$as_me: failed program was:" >&5
57831.76Spookacat conftest.$ac_ext >&5
57841.76Spookaac_cv_have_decl_htobe32=no
57851.7Stvfi
57861.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
57871.7Stvfi
57881.77Sapbecho "$as_me:5788: result: $ac_cv_have_decl_htobe32" >&5
57891.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
57901.76Spookaif test $ac_cv_have_decl_htobe32 = yes; then
57911.7Stv
57921.76Spookacat >>confdefs.h <<EOF
57931.76Spooka#define HAVE_DECL_HTOBE32 1
57941.76SpookaEOF
57951.4Stv
57961.76Spookaelse
57971.76Spooka  cat >>confdefs.h <<EOF
57981.76Spooka#define HAVE_DECL_HTOBE32 0
57991.76SpookaEOF
58001.63Sapb
58011.76Spookafi
58021.77Sapbecho "$as_me:5802: checking whether htobe64 is declared" >&5
58031.76Spookaecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
58041.76Spookaif test "${ac_cv_have_decl_htobe64+set}" = set; then
58051.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
58061.63Sapbelse
58071.76Spooka  cat >conftest.$ac_ext <<_ACEOF
58081.77Sapb#line 5808 "configure"
58091.76Spooka#include "confdefs.h"
58101.76Spooka#include <sys/types.h>
58111.65Schristos
58121.76Spookaint
58131.76Spookamain ()
58141.76Spooka{
58151.76Spooka#ifndef htobe64
58161.76Spooka  char *p = (char *) htobe64;
58171.76Spooka#endif
58181.63Sapb
58191.76Spooka  ;
58201.76Spooka  return 0;
58211.76Spooka}
58221.76Spooka_ACEOF
58231.76Spookarm -f conftest.$ac_objext
58241.77Sapbif { (eval echo "$as_me:5824: \"$ac_compile\"") >&5
58251.76Spooka  (eval $ac_compile) 2>&5
58261.76Spooka  ac_status=$?
58271.77Sapb  echo "$as_me:5827: \$? = $ac_status" >&5
58281.76Spooka  (exit $ac_status); } &&
58291.76Spooka         { ac_try='test -s conftest.$ac_objext'
58301.77Sapb  { (eval echo "$as_me:5830: \"$ac_try\"") >&5
58311.76Spooka  (eval $ac_try) 2>&5
58321.76Spooka  ac_status=$?
58331.77Sapb  echo "$as_me:5833: \$? = $ac_status" >&5
58341.76Spooka  (exit $ac_status); }; }; then
58351.76Spooka  ac_cv_have_decl_htobe64=yes
58361.53Sdogcowelse
58371.76Spooka  echo "$as_me: failed program was:" >&5
58381.76Spookacat conftest.$ac_ext >&5
58391.76Spookaac_cv_have_decl_htobe64=no
58401.53Sdogcowfi
58411.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
58421.61Schristosfi
58431.77Sapbecho "$as_me:5843: result: $ac_cv_have_decl_htobe64" >&5
58441.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
58451.76Spookaif test $ac_cv_have_decl_htobe64 = yes; then
58461.65Schristos
58471.76Spookacat >>confdefs.h <<EOF
58481.76Spooka#define HAVE_DECL_HTOBE64 1
58491.76SpookaEOF
58501.65Schristos
58511.65Schristoselse
58521.76Spooka  cat >>confdefs.h <<EOF
58531.76Spooka#define HAVE_DECL_HTOBE64 0
58541.76SpookaEOF
58551.53Sdogcow
58561.76Spookafi
58571.77Sapbecho "$as_me:5857: checking whether htole16 is declared" >&5
58581.76Spookaecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
58591.76Spookaif test "${ac_cv_have_decl_htole16+set}" = set; then
58601.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
58611.76Spookaelse
58621.76Spooka  cat >conftest.$ac_ext <<_ACEOF
58631.77Sapb#line 5863 "configure"
58641.76Spooka#include "confdefs.h"
58651.76Spooka#include <sys/types.h>
58661.65Schristos
58671.76Spookaint
58681.76Spookamain ()
58691.76Spooka{
58701.76Spooka#ifndef htole16
58711.76Spooka  char *p = (char *) htole16;
58721.76Spooka#endif
58731.53Sdogcow
58741.76Spooka  ;
58751.76Spooka  return 0;
58761.76Spooka}
58771.76Spooka_ACEOF
58781.76Spookarm -f conftest.$ac_objext
58791.77Sapbif { (eval echo "$as_me:5879: \"$ac_compile\"") >&5
58801.76Spooka  (eval $ac_compile) 2>&5
58811.76Spooka  ac_status=$?
58821.77Sapb  echo "$as_me:5882: \$? = $ac_status" >&5
58831.76Spooka  (exit $ac_status); } &&
58841.76Spooka         { ac_try='test -s conftest.$ac_objext'
58851.77Sapb  { (eval echo "$as_me:5885: \"$ac_try\"") >&5
58861.76Spooka  (eval $ac_try) 2>&5
58871.76Spooka  ac_status=$?
58881.77Sapb  echo "$as_me:5888: \$? = $ac_status" >&5
58891.76Spooka  (exit $ac_status); }; }; then
58901.76Spooka  ac_cv_have_decl_htole16=yes
58911.7Stvelse
58921.76Spooka  echo "$as_me: failed program was:" >&5
58931.76Spookacat conftest.$ac_ext >&5
58941.76Spookaac_cv_have_decl_htole16=no
58951.7Stvfi
58961.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
58971.7Stvfi
58981.77Sapbecho "$as_me:5898: result: $ac_cv_have_decl_htole16" >&5
58991.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
59001.76Spookaif test $ac_cv_have_decl_htole16 = yes; then
59011.65Schristos
59021.76Spookacat >>confdefs.h <<EOF
59031.76Spooka#define HAVE_DECL_HTOLE16 1
59041.76SpookaEOF
59051.7Stv
59061.76Spookaelse
59071.76Spooka  cat >>confdefs.h <<EOF
59081.76Spooka#define HAVE_DECL_HTOLE16 0
59091.76SpookaEOF
59101.61Schristos
59111.76Spookafi
59121.77Sapbecho "$as_me:5912: checking whether htole32 is declared" >&5
59131.76Spookaecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
59141.76Spookaif test "${ac_cv_have_decl_htole32+set}" = set; then
59151.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
59161.7Stvelse
59171.76Spooka  cat >conftest.$ac_ext <<_ACEOF
59181.77Sapb#line 5918 "configure"
59191.76Spooka#include "confdefs.h"
59201.76Spooka#include <sys/types.h>
59211.61Schristos
59221.76Spookaint
59231.76Spookamain ()
59241.76Spooka{
59251.76Spooka#ifndef htole32
59261.76Spooka  char *p = (char *) htole32;
59271.76Spooka#endif
59281.7Stv
59291.76Spooka  ;
59301.76Spooka  return 0;
59311.76Spooka}
59321.76Spooka_ACEOF
59331.76Spookarm -f conftest.$ac_objext
59341.77Sapbif { (eval echo "$as_me:5934: \"$ac_compile\"") >&5
59351.76Spooka  (eval $ac_compile) 2>&5
59361.76Spooka  ac_status=$?
59371.77Sapb  echo "$as_me:5937: \$? = $ac_status" >&5
59381.76Spooka  (exit $ac_status); } &&
59391.76Spooka         { ac_try='test -s conftest.$ac_objext'
59401.77Sapb  { (eval echo "$as_me:5940: \"$ac_try\"") >&5
59411.76Spooka  (eval $ac_try) 2>&5
59421.76Spooka  ac_status=$?
59431.77Sapb  echo "$as_me:5943: \$? = $ac_status" >&5
59441.76Spooka  (exit $ac_status); }; }; then
59451.76Spooka  ac_cv_have_decl_htole32=yes
59461.7Stvelse
59471.76Spooka  echo "$as_me: failed program was:" >&5
59481.76Spookacat conftest.$ac_ext >&5
59491.76Spookaac_cv_have_decl_htole32=no
59501.7Stvfi
59511.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
59521.7Stvfi
59531.77Sapbecho "$as_me:5953: result: $ac_cv_have_decl_htole32" >&5
59541.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
59551.76Spookaif test $ac_cv_have_decl_htole32 = yes; then
59561.61Schristos
59571.76Spookacat >>confdefs.h <<EOF
59581.76Spooka#define HAVE_DECL_HTOLE32 1
59591.76SpookaEOF
59601.7Stv
59611.7Stvelse
59621.76Spooka  cat >>confdefs.h <<EOF
59631.76Spooka#define HAVE_DECL_HTOLE32 0
59641.76SpookaEOF
59651.7Stv
59661.76Spookafi
59671.77Sapbecho "$as_me:5967: checking whether htole64 is declared" >&5
59681.76Spookaecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
59691.76Spookaif test "${ac_cv_have_decl_htole64+set}" = set; then
59701.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
59711.76Spookaelse
59721.76Spooka  cat >conftest.$ac_ext <<_ACEOF
59731.77Sapb#line 5973 "configure"
59741.76Spooka#include "confdefs.h"
59751.76Spooka#include <sys/types.h>
59761.4Stv
59771.76Spookaint
59781.76Spookamain ()
59791.76Spooka{
59801.76Spooka#ifndef htole64
59811.76Spooka  char *p = (char *) htole64;
59821.76Spooka#endif
59831.4Stv
59841.76Spooka  ;
59851.76Spooka  return 0;
59861.76Spooka}
59871.76Spooka_ACEOF
59881.76Spookarm -f conftest.$ac_objext
59891.77Sapbif { (eval echo "$as_me:5989: \"$ac_compile\"") >&5
59901.76Spooka  (eval $ac_compile) 2>&5
59911.76Spooka  ac_status=$?
59921.77Sapb  echo "$as_me:5992: \$? = $ac_status" >&5
59931.76Spooka  (exit $ac_status); } &&
59941.76Spooka         { ac_try='test -s conftest.$ac_objext'
59951.77Sapb  { (eval echo "$as_me:5995: \"$ac_try\"") >&5
59961.76Spooka  (eval $ac_try) 2>&5
59971.76Spooka  ac_status=$?
59981.77Sapb  echo "$as_me:5998: \$? = $ac_status" >&5
59991.76Spooka  (exit $ac_status); }; }; then
60001.76Spooka  ac_cv_have_decl_htole64=yes
60011.4Stvelse
60021.76Spooka  echo "$as_me: failed program was:" >&5
60031.76Spookacat conftest.$ac_ext >&5
60041.76Spookaac_cv_have_decl_htole64=no
60051.4Stvfi
60061.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
60071.4Stvfi
60081.77Sapbecho "$as_me:6008: result: $ac_cv_have_decl_htole64" >&5
60091.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
60101.76Spookaif test $ac_cv_have_decl_htole64 = yes; then
60111.61Schristos
60121.76Spookacat >>confdefs.h <<EOF
60131.76Spooka#define HAVE_DECL_HTOLE64 1
60141.76SpookaEOF
60151.74Schristos
60161.76Spookaelse
60171.76Spooka  cat >>confdefs.h <<EOF
60181.76Spooka#define HAVE_DECL_HTOLE64 0
60191.76SpookaEOF
60201.74Schristos
60211.76Spookafi
60221.77Sapbecho "$as_me:6022: checking whether be16toh is declared" >&5
60231.76Spookaecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
60241.76Spookaif test "${ac_cv_have_decl_be16toh+set}" = set; then
60251.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
60261.4Stvelse
60271.76Spooka  cat >conftest.$ac_ext <<_ACEOF
60281.77Sapb#line 6028 "configure"
60291.76Spooka#include "confdefs.h"
60301.76Spooka#include <sys/types.h>
60311.4Stv
60321.76Spookaint
60331.76Spookamain ()
60341.76Spooka{
60351.76Spooka#ifndef be16toh
60361.76Spooka  char *p = (char *) be16toh;
60371.76Spooka#endif
60381.63Sapb
60391.76Spooka  ;
60401.76Spooka  return 0;
60411.76Spooka}
60421.76Spooka_ACEOF
60431.76Spookarm -f conftest.$ac_objext
60441.77Sapbif { (eval echo "$as_me:6044: \"$ac_compile\"") >&5
60451.76Spooka  (eval $ac_compile) 2>&5
60461.76Spooka  ac_status=$?
60471.77Sapb  echo "$as_me:6047: \$? = $ac_status" >&5
60481.76Spooka  (exit $ac_status); } &&
60491.76Spooka         { ac_try='test -s conftest.$ac_objext'
60501.77Sapb  { (eval echo "$as_me:6050: \"$ac_try\"") >&5
60511.76Spooka  (eval $ac_try) 2>&5
60521.76Spooka  ac_status=$?
60531.77Sapb  echo "$as_me:6053: \$? = $ac_status" >&5
60541.76Spooka  (exit $ac_status); }; }; then
60551.76Spooka  ac_cv_have_decl_be16toh=yes
60561.19Sbjh21else
60571.76Spooka  echo "$as_me: failed program was:" >&5
60581.76Spookacat conftest.$ac_ext >&5
60591.76Spookaac_cv_have_decl_be16toh=no
60601.19Sbjh21fi
60611.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
60621.19Sbjh21fi
60631.77Sapbecho "$as_me:6063: result: $ac_cv_have_decl_be16toh" >&5
60641.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
60651.76Spookaif test $ac_cv_have_decl_be16toh = yes; then
60661.63Sapb
60671.76Spookacat >>confdefs.h <<EOF
60681.76Spooka#define HAVE_DECL_BE16TOH 1
60691.76SpookaEOF
60701.19Sbjh21
60711.63Sapbelse
60721.76Spooka  cat >>confdefs.h <<EOF
60731.76Spooka#define HAVE_DECL_BE16TOH 0
60741.76SpookaEOF
60751.19Sbjh21
60761.76Spookafi
60771.77Sapbecho "$as_me:6077: checking whether be32toh is declared" >&5
60781.76Spookaecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
60791.76Spookaif test "${ac_cv_have_decl_be32toh+set}" = set; then
60801.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
60811.76Spookaelse
60821.76Spooka  cat >conftest.$ac_ext <<_ACEOF
60831.77Sapb#line 6083 "configure"
60841.76Spooka#include "confdefs.h"
60851.76Spooka#include <sys/types.h>
60861.63Sapb
60871.76Spookaint
60881.76Spookamain ()
60891.76Spooka{
60901.76Spooka#ifndef be32toh
60911.76Spooka  char *p = (char *) be32toh;
60921.76Spooka#endif
60931.19Sbjh21
60941.76Spooka  ;
60951.76Spooka  return 0;
60961.76Spooka}
60971.76Spooka_ACEOF
60981.76Spookarm -f conftest.$ac_objext
60991.77Sapbif { (eval echo "$as_me:6099: \"$ac_compile\"") >&5
61001.76Spooka  (eval $ac_compile) 2>&5
61011.76Spooka  ac_status=$?
61021.77Sapb  echo "$as_me:6102: \$? = $ac_status" >&5
61031.76Spooka  (exit $ac_status); } &&
61041.76Spooka         { ac_try='test -s conftest.$ac_objext'
61051.77Sapb  { (eval echo "$as_me:6105: \"$ac_try\"") >&5
61061.76Spooka  (eval $ac_try) 2>&5
61071.76Spooka  ac_status=$?
61081.77Sapb  echo "$as_me:6108: \$? = $ac_status" >&5
61091.76Spooka  (exit $ac_status); }; }; then
61101.76Spooka  ac_cv_have_decl_be32toh=yes
61111.19Sbjh21else
61121.76Spooka  echo "$as_me: failed program was:" >&5
61131.76Spookacat conftest.$ac_ext >&5
61141.76Spookaac_cv_have_decl_be32toh=no
61151.19Sbjh21fi
61161.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
61171.76Spookafi
61181.77Sapbecho "$as_me:6118: result: $ac_cv_have_decl_be32toh" >&5
61191.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
61201.76Spookaif test $ac_cv_have_decl_be32toh = yes; then
61211.76Spooka
61221.76Spookacat >>confdefs.h <<EOF
61231.76Spooka#define HAVE_DECL_BE32TOH 1
61241.76SpookaEOF
61251.74Schristos
61261.76Spookaelse
61271.76Spooka  cat >>confdefs.h <<EOF
61281.76Spooka#define HAVE_DECL_BE32TOH 0
61291.76SpookaEOF
61301.74Schristos
61311.19Sbjh21fi
61321.77Sapbecho "$as_me:6132: checking whether be64toh is declared" >&5
61331.76Spookaecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
61341.76Spookaif test "${ac_cv_have_decl_be64toh+set}" = set; then
61351.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
61361.76Spookaelse
61371.76Spooka  cat >conftest.$ac_ext <<_ACEOF
61381.77Sapb#line 6138 "configure"
61391.76Spooka#include "confdefs.h"
61401.76Spooka#include <sys/types.h>
61411.19Sbjh21
61421.76Spookaint
61431.76Spookamain ()
61441.76Spooka{
61451.76Spooka#ifndef be64toh
61461.76Spooka  char *p = (char *) be64toh;
61471.76Spooka#endif
61481.19Sbjh21
61491.76Spooka  ;
61501.76Spooka  return 0;
61511.76Spooka}
61521.74Schristos_ACEOF
61531.76Spookarm -f conftest.$ac_objext
61541.77Sapbif { (eval echo "$as_me:6154: \"$ac_compile\"") >&5
61551.76Spooka  (eval $ac_compile) 2>&5
61561.76Spooka  ac_status=$?
61571.77Sapb  echo "$as_me:6157: \$? = $ac_status" >&5
61581.76Spooka  (exit $ac_status); } &&
61591.76Spooka         { ac_try='test -s conftest.$ac_objext'
61601.77Sapb  { (eval echo "$as_me:6160: \"$ac_try\"") >&5
61611.76Spooka  (eval $ac_try) 2>&5
61621.76Spooka  ac_status=$?
61631.77Sapb  echo "$as_me:6163: \$? = $ac_status" >&5
61641.76Spooka  (exit $ac_status); }; }; then
61651.76Spooka  ac_cv_have_decl_be64toh=yes
61661.76Spookaelse
61671.76Spooka  echo "$as_me: failed program was:" >&5
61681.76Spookacat conftest.$ac_ext >&5
61691.76Spookaac_cv_have_decl_be64toh=no
61701.63Sapbfi
61711.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
61721.63Sapbfi
61731.77Sapbecho "$as_me:6173: result: $ac_cv_have_decl_be64toh" >&5
61741.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
61751.76Spookaif test $ac_cv_have_decl_be64toh = yes; then
61761.39Sfredb
61771.76Spookacat >>confdefs.h <<EOF
61781.76Spooka#define HAVE_DECL_BE64TOH 1
61791.76SpookaEOF
61801.63Sapb
61811.76Spookaelse
61821.76Spooka  cat >>confdefs.h <<EOF
61831.76Spooka#define HAVE_DECL_BE64TOH 0
61841.76SpookaEOF
61851.61Schristos
61861.63Sapbfi
61871.77Sapbecho "$as_me:6187: checking whether le16toh is declared" >&5
61881.76Spookaecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
61891.76Spookaif test "${ac_cv_have_decl_le16toh+set}" = set; then
61901.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
61911.76Spookaelse
61921.76Spooka  cat >conftest.$ac_ext <<_ACEOF
61931.77Sapb#line 6193 "configure"
61941.76Spooka#include "confdefs.h"
61951.76Spooka#include <sys/types.h>
61961.63Sapb
61971.76Spookaint
61981.76Spookamain ()
61991.76Spooka{
62001.76Spooka#ifndef le16toh
62011.76Spooka  char *p = (char *) le16toh;
62021.76Spooka#endif
62031.19Sbjh21
62041.76Spooka  ;
62051.76Spooka  return 0;
62061.76Spooka}
62071.19Sbjh21_ACEOF
62081.76Spookarm -f conftest.$ac_objext
62091.77Sapbif { (eval echo "$as_me:6209: \"$ac_compile\"") >&5
62101.76Spooka  (eval $ac_compile) 2>&5
62111.76Spooka  ac_status=$?
62121.77Sapb  echo "$as_me:6212: \$? = $ac_status" >&5
62131.76Spooka  (exit $ac_status); } &&
62141.76Spooka         { ac_try='test -s conftest.$ac_objext'
62151.77Sapb  { (eval echo "$as_me:6215: \"$ac_try\"") >&5
62161.76Spooka  (eval $ac_try) 2>&5
62171.76Spooka  ac_status=$?
62181.77Sapb  echo "$as_me:6218: \$? = $ac_status" >&5
62191.76Spooka  (exit $ac_status); }; }; then
62201.76Spooka  ac_cv_have_decl_le16toh=yes
62211.76Spookaelse
62221.76Spooka  echo "$as_me: failed program was:" >&5
62231.76Spookacat conftest.$ac_ext >&5
62241.76Spookaac_cv_have_decl_le16toh=no
62251.76Spookafi
62261.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
62271.19Sbjh21fi
62281.77Sapbecho "$as_me:6228: result: $ac_cv_have_decl_le16toh" >&5
62291.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
62301.76Spookaif test $ac_cv_have_decl_le16toh = yes; then
62311.63Sapb
62321.76Spookacat >>confdefs.h <<EOF
62331.76Spooka#define HAVE_DECL_LE16TOH 1
62341.76SpookaEOF
62351.63Sapb
62361.76Spookaelse
62371.76Spooka  cat >>confdefs.h <<EOF
62381.76Spooka#define HAVE_DECL_LE16TOH 0
62391.76SpookaEOF
62401.19Sbjh21
62411.19Sbjh21fi
62421.77Sapbecho "$as_me:6242: checking whether le32toh is declared" >&5
62431.76Spookaecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
62441.76Spookaif test "${ac_cv_have_decl_le32toh+set}" = set; then
62451.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
62461.76Spookaelse
62471.76Spooka  cat >conftest.$ac_ext <<_ACEOF
62481.77Sapb#line 6248 "configure"
62491.76Spooka#include "confdefs.h"
62501.76Spooka#include <sys/types.h>
62511.76Spooka
62521.76Spookaint
62531.76Spookamain ()
62541.76Spooka{
62551.76Spooka#ifndef le32toh
62561.76Spooka  char *p = (char *) le32toh;
62571.76Spooka#endif
62581.74Schristos
62591.76Spooka  ;
62601.76Spooka  return 0;
62611.76Spooka}
62621.74Schristos_ACEOF
62631.76Spookarm -f conftest.$ac_objext
62641.77Sapbif { (eval echo "$as_me:6264: \"$ac_compile\"") >&5
62651.76Spooka  (eval $ac_compile) 2>&5
62661.76Spooka  ac_status=$?
62671.77Sapb  echo "$as_me:6267: \$? = $ac_status" >&5
62681.76Spooka  (exit $ac_status); } &&
62691.76Spooka         { ac_try='test -s conftest.$ac_objext'
62701.77Sapb  { (eval echo "$as_me:6270: \"$ac_try\"") >&5
62711.76Spooka  (eval $ac_try) 2>&5
62721.76Spooka  ac_status=$?
62731.77Sapb  echo "$as_me:6273: \$? = $ac_status" >&5
62741.76Spooka  (exit $ac_status); }; }; then
62751.76Spooka  ac_cv_have_decl_le32toh=yes
62761.76Spookaelse
62771.76Spooka  echo "$as_me: failed program was:" >&5
62781.76Spookacat conftest.$ac_ext >&5
62791.76Spookaac_cv_have_decl_le32toh=no
62801.76Spookafi
62811.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
62821.19Sbjh21fi
62831.77Sapbecho "$as_me:6283: result: $ac_cv_have_decl_le32toh" >&5
62841.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
62851.76Spookaif test $ac_cv_have_decl_le32toh = yes; then
62861.19Sbjh21
62871.76Spookacat >>confdefs.h <<EOF
62881.76Spooka#define HAVE_DECL_LE32TOH 1
62891.76SpookaEOF
62901.19Sbjh21
62911.76Spookaelse
62921.76Spooka  cat >>confdefs.h <<EOF
62931.76Spooka#define HAVE_DECL_LE32TOH 0
62941.76SpookaEOF
62951.19Sbjh21
62961.19Sbjh21fi
62971.77Sapbecho "$as_me:6297: checking whether le64toh is declared" >&5
62981.76Spookaecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
62991.76Spookaif test "${ac_cv_have_decl_le64toh+set}" = set; then
63001.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
63011.76Spookaelse
63021.76Spooka  cat >conftest.$ac_ext <<_ACEOF
63031.77Sapb#line 6303 "configure"
63041.76Spooka#include "confdefs.h"
63051.76Spooka#include <sys/types.h>
63061.76Spooka
63071.76Spookaint
63081.76Spookamain ()
63091.76Spooka{
63101.76Spooka#ifndef le64toh
63111.76Spooka  char *p = (char *) le64toh;
63121.76Spooka#endif
63131.74Schristos
63141.76Spooka  ;
63151.76Spooka  return 0;
63161.76Spooka}
63171.74Schristos_ACEOF
63181.76Spookarm -f conftest.$ac_objext
63191.77Sapbif { (eval echo "$as_me:6319: \"$ac_compile\"") >&5
63201.76Spooka  (eval $ac_compile) 2>&5
63211.76Spooka  ac_status=$?
63221.77Sapb  echo "$as_me:6322: \$? = $ac_status" >&5
63231.76Spooka  (exit $ac_status); } &&
63241.76Spooka         { ac_try='test -s conftest.$ac_objext'
63251.77Sapb  { (eval echo "$as_me:6325: \"$ac_try\"") >&5
63261.76Spooka  (eval $ac_try) 2>&5
63271.76Spooka  ac_status=$?
63281.77Sapb  echo "$as_me:6328: \$? = $ac_status" >&5
63291.76Spooka  (exit $ac_status); }; }; then
63301.76Spooka  ac_cv_have_decl_le64toh=yes
63311.76Spookaelse
63321.76Spooka  echo "$as_me: failed program was:" >&5
63331.76Spookacat conftest.$ac_ext >&5
63341.76Spookaac_cv_have_decl_le64toh=no
63351.43Sdbjfi
63361.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
63371.43Sdbjfi
63381.77Sapbecho "$as_me:6338: result: $ac_cv_have_decl_le64toh" >&5
63391.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
63401.76Spookaif test $ac_cv_have_decl_le64toh = yes; then
63411.40Satatat
63421.76Spookacat >>confdefs.h <<EOF
63431.76Spooka#define HAVE_DECL_LE64TOH 1
63441.76SpookaEOF
63451.61Schristos
63461.76Spookaelse
63471.76Spooka  cat >>confdefs.h <<EOF
63481.76Spooka#define HAVE_DECL_LE64TOH 0
63491.76SpookaEOF
63501.61Schristos
63511.74Schristosfi
63521.61Schristos
63531.77Sapbecho "$as_me:6353: checking whether bswap16 is declared" >&5
63541.76Spookaecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
63551.76Spookaif test "${ac_cv_have_decl_bswap16+set}" = set; then
63561.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
63571.76Spookaelse
63581.76Spooka  cat >conftest.$ac_ext <<_ACEOF
63591.77Sapb#line 6359 "configure"
63601.76Spooka#include "confdefs.h"
63611.76Spooka#include <machine/bswap.h>
63621.61Schristos
63631.76Spookaint
63641.76Spookamain ()
63651.76Spooka{
63661.76Spooka#ifndef bswap16
63671.76Spooka  char *p = (char *) bswap16;
63681.76Spooka#endif
63691.61Schristos
63701.76Spooka  ;
63711.76Spooka  return 0;
63721.76Spooka}
63731.76Spooka_ACEOF
63741.76Spookarm -f conftest.$ac_objext
63751.77Sapbif { (eval echo "$as_me:6375: \"$ac_compile\"") >&5
63761.76Spooka  (eval $ac_compile) 2>&5
63771.76Spooka  ac_status=$?
63781.77Sapb  echo "$as_me:6378: \$? = $ac_status" >&5
63791.76Spooka  (exit $ac_status); } &&
63801.76Spooka         { ac_try='test -s conftest.$ac_objext'
63811.77Sapb  { (eval echo "$as_me:6381: \"$ac_try\"") >&5
63821.76Spooka  (eval $ac_try) 2>&5
63831.76Spooka  ac_status=$?
63841.77Sapb  echo "$as_me:6384: \$? = $ac_status" >&5
63851.76Spooka  (exit $ac_status); }; }; then
63861.76Spooka  ac_cv_have_decl_bswap16=yes
63871.63Sapbelse
63881.76Spooka  echo "$as_me: failed program was:" >&5
63891.76Spookacat conftest.$ac_ext >&5
63901.76Spookaac_cv_have_decl_bswap16=no
63911.76Spookafi
63921.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
63931.63Sapbfi
63941.77Sapbecho "$as_me:6394: result: $ac_cv_have_decl_bswap16" >&5
63951.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
63961.76Spookaif test $ac_cv_have_decl_bswap16 = yes; then
63971.61Schristos
63981.76Spookacat >>confdefs.h <<EOF
63991.76Spooka#define HAVE_DECL_BSWAP16 1
64001.76SpookaEOF
64011.61Schristos
64021.63Sapbelse
64031.76Spooka  cat >>confdefs.h <<EOF
64041.76Spooka#define HAVE_DECL_BSWAP16 0
64051.76SpookaEOF
64061.76Spooka
64071.63Sapbfi
64081.77Sapbecho "$as_me:6408: checking whether bswap32 is declared" >&5
64091.76Spookaecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
64101.76Spookaif test "${ac_cv_have_decl_bswap32+set}" = set; then
64111.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
64121.76Spookaelse
64131.76Spooka  cat >conftest.$ac_ext <<_ACEOF
64141.77Sapb#line 6414 "configure"
64151.76Spooka#include "confdefs.h"
64161.76Spooka#include <machine/bswap.h>
64171.76Spooka
64181.76Spookaint
64191.76Spookamain ()
64201.76Spooka{
64211.76Spooka#ifndef bswap32
64221.76Spooka  char *p = (char *) bswap32;
64231.76Spooka#endif
64241.61Schristos
64251.76Spooka  ;
64261.76Spooka  return 0;
64271.76Spooka}
64281.74Schristos_ACEOF
64291.76Spookarm -f conftest.$ac_objext
64301.77Sapbif { (eval echo "$as_me:6430: \"$ac_compile\"") >&5
64311.76Spooka  (eval $ac_compile) 2>&5
64321.76Spooka  ac_status=$?
64331.77Sapb  echo "$as_me:6433: \$? = $ac_status" >&5
64341.76Spooka  (exit $ac_status); } &&
64351.76Spooka         { ac_try='test -s conftest.$ac_objext'
64361.77Sapb  { (eval echo "$as_me:6436: \"$ac_try\"") >&5
64371.76Spooka  (eval $ac_try) 2>&5
64381.76Spooka  ac_status=$?
64391.77Sapb  echo "$as_me:6439: \$? = $ac_status" >&5
64401.76Spooka  (exit $ac_status); }; }; then
64411.76Spooka  ac_cv_have_decl_bswap32=yes
64421.45Sjmcelse
64431.76Spooka  echo "$as_me: failed program was:" >&5
64441.76Spookacat conftest.$ac_ext >&5
64451.76Spookaac_cv_have_decl_bswap32=no
64461.76Spookafi
64471.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
64481.45Sjmcfi
64491.77Sapbecho "$as_me:6449: result: $ac_cv_have_decl_bswap32" >&5
64501.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
64511.76Spookaif test $ac_cv_have_decl_bswap32 = yes; then
64521.45Sjmc
64531.76Spookacat >>confdefs.h <<EOF
64541.76Spooka#define HAVE_DECL_BSWAP32 1
64551.76SpookaEOF
64561.45Sjmc
64571.76Spookaelse
64581.76Spooka  cat >>confdefs.h <<EOF
64591.76Spooka#define HAVE_DECL_BSWAP32 0
64601.76SpookaEOF
64611.61Schristos
64621.76Spookafi
64631.77Sapbecho "$as_me:6463: checking whether bswap64 is declared" >&5
64641.76Spookaecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
64651.76Spookaif test "${ac_cv_have_decl_bswap64+set}" = set; then
64661.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
64671.55Swizelse
64681.76Spooka  cat >conftest.$ac_ext <<_ACEOF
64691.77Sapb#line 6469 "configure"
64701.76Spooka#include "confdefs.h"
64711.76Spooka#include <machine/bswap.h>
64721.76Spooka
64731.55Swizint
64741.55Swizmain ()
64751.55Swiz{
64761.76Spooka#ifndef bswap64
64771.76Spooka  char *p = (char *) bswap64;
64781.76Spooka#endif
64791.76Spooka
64801.55Swiz  ;
64811.55Swiz  return 0;
64821.55Swiz}
64831.55Swiz_ACEOF
64841.76Spookarm -f conftest.$ac_objext
64851.77Sapbif { (eval echo "$as_me:6485: \"$ac_compile\"") >&5
64861.76Spooka  (eval $ac_compile) 2>&5
64871.76Spooka  ac_status=$?
64881.77Sapb  echo "$as_me:6488: \$? = $ac_status" >&5
64891.76Spooka  (exit $ac_status); } &&
64901.76Spooka         { ac_try='test -s conftest.$ac_objext'
64911.77Sapb  { (eval echo "$as_me:6491: \"$ac_try\"") >&5
64921.76Spooka  (eval $ac_try) 2>&5
64931.76Spooka  ac_status=$?
64941.77Sapb  echo "$as_me:6494: \$? = $ac_status" >&5
64951.76Spooka  (exit $ac_status); }; }; then
64961.76Spooka  ac_cv_have_decl_bswap64=yes
64971.55Swizelse
64981.76Spooka  echo "$as_me: failed program was:" >&5
64991.76Spookacat conftest.$ac_ext >&5
65001.76Spookaac_cv_have_decl_bswap64=no
65011.55Swizfi
65021.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
65031.55Swizfi
65041.77Sapbecho "$as_me:6504: result: $ac_cv_have_decl_bswap64" >&5
65051.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
65061.76Spookaif test $ac_cv_have_decl_bswap64 = yes; then
65071.76Spooka
65081.76Spookacat >>confdefs.h <<EOF
65091.76Spooka#define HAVE_DECL_BSWAP64 1
65101.76SpookaEOF
65111.55Swiz
65121.76Spookaelse
65131.76Spooka  cat >>confdefs.h <<EOF
65141.76Spooka#define HAVE_DECL_BSWAP64 0
65151.76SpookaEOF
65161.55Swiz
65171.55Swizfi
65181.55Swiz
65191.77Sapbecho "$as_me:6519: checking whether be16enc is declared" >&5
65201.76Spookaecho $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
65211.76Spookaif test "${ac_cv_have_decl_be16enc+set}" = set; then
65221.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
65231.45Sjmcelse
65241.76Spooka  cat >conftest.$ac_ext <<_ACEOF
65251.77Sapb#line 6525 "configure"
65261.76Spooka#include "confdefs.h"
65271.76Spooka#include <sys/endian.h>
65281.53Sdogcow
65291.52Sdbjint
65301.52Sdbjmain ()
65311.52Sdbj{
65321.76Spooka#ifndef be16enc
65331.76Spooka  char *p = (char *) be16enc;
65341.76Spooka#endif
65351.76Spooka
65361.48Sjmc  ;
65371.48Sjmc  return 0;
65381.48Sjmc}
65391.48Sjmc_ACEOF
65401.76Spookarm -f conftest.$ac_objext
65411.77Sapbif { (eval echo "$as_me:6541: \"$ac_compile\"") >&5
65421.76Spooka  (eval $ac_compile) 2>&5
65431.76Spooka  ac_status=$?
65441.77Sapb  echo "$as_me:6544: \$? = $ac_status" >&5
65451.76Spooka  (exit $ac_status); } &&
65461.76Spooka         { ac_try='test -s conftest.$ac_objext'
65471.77Sapb  { (eval echo "$as_me:6547: \"$ac_try\"") >&5
65481.76Spooka  (eval $ac_try) 2>&5
65491.76Spooka  ac_status=$?
65501.77Sapb  echo "$as_me:6550: \$? = $ac_status" >&5
65511.76Spooka  (exit $ac_status); }; }; then
65521.76Spooka  ac_cv_have_decl_be16enc=yes
65531.48Sjmcelse
65541.76Spooka  echo "$as_me: failed program was:" >&5
65551.76Spookacat conftest.$ac_ext >&5
65561.76Spookaac_cv_have_decl_be16enc=no
65571.48Sjmcfi
65581.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
65591.48Sjmcfi
65601.77Sapbecho "$as_me:6560: result: $ac_cv_have_decl_be16enc" >&5
65611.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
65621.76Spookaif test $ac_cv_have_decl_be16enc = yes; then
65631.61Schristos
65641.76Spookacat >>confdefs.h <<EOF
65651.76Spooka#define HAVE_DECL_BE16ENC 1
65661.76SpookaEOF
65671.53Sdogcow
65681.76Spookaelse
65691.76Spooka  cat >>confdefs.h <<EOF
65701.76Spooka#define HAVE_DECL_BE16ENC 0
65711.76SpookaEOF
65721.48Sjmc
65731.76Spookafi
65741.77Sapbecho "$as_me:6574: checking whether le16enc is declared" >&5
65751.76Spookaecho $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
65761.76Spookaif test "${ac_cv_have_decl_le16enc+set}" = set; then
65771.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
65781.48Sjmcelse
65791.76Spooka  cat >conftest.$ac_ext <<_ACEOF
65801.77Sapb#line 6580 "configure"
65811.76Spooka#include "confdefs.h"
65821.76Spooka#include <sys/endian.h>
65831.53Sdogcow
65841.76Spookaint
65851.76Spookamain ()
65861.76Spooka{
65871.76Spooka#ifndef le16enc
65881.76Spooka  char *p = (char *) le16enc;
65891.53Sdogcow#endif
65901.53Sdogcow
65911.76Spooka  ;
65921.76Spooka  return 0;
65931.76Spooka}
65941.53Sdogcow_ACEOF
65951.76Spookarm -f conftest.$ac_objext
65961.77Sapbif { (eval echo "$as_me:6596: \"$ac_compile\"") >&5
65971.76Spooka  (eval $ac_compile) 2>&5
65981.76Spooka  ac_status=$?
65991.77Sapb  echo "$as_me:6599: \$? = $ac_status" >&5
66001.76Spooka  (exit $ac_status); } &&
66011.76Spooka         { ac_try='test -s conftest.$ac_objext'
66021.77Sapb  { (eval echo "$as_me:6602: \"$ac_try\"") >&5
66031.76Spooka  (eval $ac_try) 2>&5
66041.76Spooka  ac_status=$?
66051.77Sapb  echo "$as_me:6605: \$? = $ac_status" >&5
66061.76Spooka  (exit $ac_status); }; }; then
66071.76Spooka  ac_cv_have_decl_le16enc=yes
66081.53Sdogcowelse
66091.76Spooka  echo "$as_me: failed program was:" >&5
66101.76Spookacat conftest.$ac_ext >&5
66111.76Spookaac_cv_have_decl_le16enc=no
66121.53Sdogcowfi
66131.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
66141.53Sdogcowfi
66151.77Sapbecho "$as_me:6615: result: $ac_cv_have_decl_le16enc" >&5
66161.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
66171.76Spookaif test $ac_cv_have_decl_le16enc = yes; then
66181.61Schristos
66191.76Spookacat >>confdefs.h <<EOF
66201.76Spooka#define HAVE_DECL_LE16ENC 1
66211.76SpookaEOF
66221.53Sdogcow
66231.76Spookaelse
66241.76Spooka  cat >>confdefs.h <<EOF
66251.76Spooka#define HAVE_DECL_LE16ENC 0
66261.76SpookaEOF
66271.61Schristos
66281.63Sapbfi
66291.77Sapbecho "$as_me:6629: checking whether be16dec is declared" >&5
66301.76Spookaecho $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
66311.76Spookaif test "${ac_cv_have_decl_be16dec+set}" = set; then
66321.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
66331.76Spookaelse
66341.76Spooka  cat >conftest.$ac_ext <<_ACEOF
66351.77Sapb#line 6635 "configure"
66361.76Spooka#include "confdefs.h"
66371.76Spooka#include <sys/endian.h>
66381.53Sdogcow
66391.74Schristosint
66401.76Spookamain ()
66411.74Schristos{
66421.76Spooka#ifndef be16dec
66431.76Spooka  char *p = (char *) be16dec;
66441.76Spooka#endif
66451.53Sdogcow
66461.76Spooka  ;
66471.76Spooka  return 0;
66481.53Sdogcow}
66491.53Sdogcow_ACEOF
66501.76Spookarm -f conftest.$ac_objext
66511.77Sapbif { (eval echo "$as_me:6651: \"$ac_compile\"") >&5
66521.76Spooka  (eval $ac_compile) 2>&5
66531.76Spooka  ac_status=$?
66541.77Sapb  echo "$as_me:6654: \$? = $ac_status" >&5
66551.76Spooka  (exit $ac_status); } &&
66561.76Spooka         { ac_try='test -s conftest.$ac_objext'
66571.77Sapb  { (eval echo "$as_me:6657: \"$ac_try\"") >&5
66581.76Spooka  (eval $ac_try) 2>&5
66591.76Spooka  ac_status=$?
66601.77Sapb  echo "$as_me:6660: \$? = $ac_status" >&5
66611.76Spooka  (exit $ac_status); }; }; then
66621.76Spooka  ac_cv_have_decl_be16dec=yes
66631.53Sdogcowelse
66641.76Spooka  echo "$as_me: failed program was:" >&5
66651.76Spookacat conftest.$ac_ext >&5
66661.76Spookaac_cv_have_decl_be16dec=no
66671.53Sdogcowfi
66681.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
66691.74Schristosfi
66701.77Sapbecho "$as_me:6670: result: $ac_cv_have_decl_be16dec" >&5
66711.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
66721.76Spookaif test $ac_cv_have_decl_be16dec = yes; then
66731.53Sdogcow
66741.76Spookacat >>confdefs.h <<EOF
66751.76Spooka#define HAVE_DECL_BE16DEC 1
66761.76SpookaEOF
66771.53Sdogcow
66781.76Spookaelse
66791.76Spooka  cat >>confdefs.h <<EOF
66801.76Spooka#define HAVE_DECL_BE16DEC 0
66811.76SpookaEOF
66821.53Sdogcow
66831.53Sdogcowfi
66841.77Sapbecho "$as_me:6684: checking whether le16dec is declared" >&5
66851.76Spookaecho $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
66861.76Spookaif test "${ac_cv_have_decl_le16dec+set}" = set; then
66871.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
66881.76Spookaelse
66891.76Spooka  cat >conftest.$ac_ext <<_ACEOF
66901.77Sapb#line 6690 "configure"
66911.76Spooka#include "confdefs.h"
66921.76Spooka#include <sys/endian.h>
66931.74Schristos
66941.76Spookaint
66951.76Spookamain ()
66961.76Spooka{
66971.76Spooka#ifndef le16dec
66981.76Spooka  char *p = (char *) le16dec;
66991.76Spooka#endif
67001.61Schristos
67011.76Spooka  ;
67021.76Spooka  return 0;
67031.76Spooka}
67041.76Spooka_ACEOF
67051.76Spookarm -f conftest.$ac_objext
67061.77Sapbif { (eval echo "$as_me:6706: \"$ac_compile\"") >&5
67071.76Spooka  (eval $ac_compile) 2>&5
67081.76Spooka  ac_status=$?
67091.77Sapb  echo "$as_me:6709: \$? = $ac_status" >&5
67101.76Spooka  (exit $ac_status); } &&
67111.76Spooka         { ac_try='test -s conftest.$ac_objext'
67121.77Sapb  { (eval echo "$as_me:6712: \"$ac_try\"") >&5
67131.76Spooka  (eval $ac_try) 2>&5
67141.76Spooka  ac_status=$?
67151.77Sapb  echo "$as_me:6715: \$? = $ac_status" >&5
67161.76Spooka  (exit $ac_status); }; }; then
67171.76Spooka  ac_cv_have_decl_le16dec=yes
67181.53Sdogcowelse
67191.76Spooka  echo "$as_me: failed program was:" >&5
67201.76Spookacat conftest.$ac_ext >&5
67211.76Spookaac_cv_have_decl_le16dec=no
67221.53Sdogcowfi
67231.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
67241.76Spookafi
67251.77Sapbecho "$as_me:6725: result: $ac_cv_have_decl_le16dec" >&5
67261.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
67271.76Spookaif test $ac_cv_have_decl_le16dec = yes; then
67281.53Sdogcow
67291.76Spookacat >>confdefs.h <<EOF
67301.76Spooka#define HAVE_DECL_LE16DEC 1
67311.76SpookaEOF
67321.53Sdogcow
67331.53Sdogcowelse
67341.76Spooka  cat >>confdefs.h <<EOF
67351.76Spooka#define HAVE_DECL_LE16DEC 0
67361.76SpookaEOF
67371.76Spooka
67381.53Sdogcowfi
67391.77Sapbecho "$as_me:6739: checking whether be32enc is declared" >&5
67401.76Spookaecho $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
67411.76Spookaif test "${ac_cv_have_decl_be32enc+set}" = set; then
67421.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
67431.76Spookaelse
67441.76Spooka  cat >conftest.$ac_ext <<_ACEOF
67451.77Sapb#line 6745 "configure"
67461.76Spooka#include "confdefs.h"
67471.76Spooka#include <sys/endian.h>
67481.76Spooka
67491.76Spookaint
67501.76Spookamain ()
67511.76Spooka{
67521.76Spooka#ifndef be32enc
67531.76Spooka  char *p = (char *) be32enc;
67541.76Spooka#endif
67551.61Schristos
67561.76Spooka  ;
67571.76Spooka  return 0;
67581.76Spooka}
67591.74Schristos_ACEOF
67601.76Spookarm -f conftest.$ac_objext
67611.77Sapbif { (eval echo "$as_me:6761: \"$ac_compile\"") >&5
67621.76Spooka  (eval $ac_compile) 2>&5
67631.76Spooka  ac_status=$?
67641.77Sapb  echo "$as_me:6764: \$? = $ac_status" >&5
67651.76Spooka  (exit $ac_status); } &&
67661.76Spooka         { ac_try='test -s conftest.$ac_objext'
67671.77Sapb  { (eval echo "$as_me:6767: \"$ac_try\"") >&5
67681.76Spooka  (eval $ac_try) 2>&5
67691.76Spooka  ac_status=$?
67701.77Sapb  echo "$as_me:6770: \$? = $ac_status" >&5
67711.76Spooka  (exit $ac_status); }; }; then
67721.76Spooka  ac_cv_have_decl_be32enc=yes
67731.53Sdogcowelse
67741.76Spooka  echo "$as_me: failed program was:" >&5
67751.76Spookacat conftest.$ac_ext >&5
67761.76Spookaac_cv_have_decl_be32enc=no
67771.76Spookafi
67781.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
67791.53Sdogcowfi
67801.77Sapbecho "$as_me:6780: result: $ac_cv_have_decl_be32enc" >&5
67811.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
67821.76Spookaif test $ac_cv_have_decl_be32enc = yes; then
67831.53Sdogcow
67841.76Spookacat >>confdefs.h <<EOF
67851.76Spooka#define HAVE_DECL_BE32ENC 1
67861.76SpookaEOF
67871.61Schristos
67881.76Spookaelse
67891.76Spooka  cat >>confdefs.h <<EOF
67901.76Spooka#define HAVE_DECL_BE32ENC 0
67911.76SpookaEOF
67921.53Sdogcow
67931.76Spookafi
67941.77Sapbecho "$as_me:6794: checking whether le32enc is declared" >&5
67951.76Spookaecho $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
67961.76Spookaif test "${ac_cv_have_decl_le32enc+set}" = set; then
67971.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
67981.53Sdogcowelse
67991.76Spooka  cat >conftest.$ac_ext <<_ACEOF
68001.77Sapb#line 6800 "configure"
68011.76Spooka#include "confdefs.h"
68021.76Spooka#include <sys/endian.h>
68031.76Spooka
68041.76Spookaint
68051.76Spookamain ()
68061.76Spooka{
68071.76Spooka#ifndef le32enc
68081.76Spooka  char *p = (char *) le32enc;
68091.76Spooka#endif
68101.53Sdogcow
68111.76Spooka  ;
68121.76Spooka  return 0;
68131.76Spooka}
68141.74Schristos_ACEOF
68151.76Spookarm -f conftest.$ac_objext
68161.77Sapbif { (eval echo "$as_me:6816: \"$ac_compile\"") >&5
68171.76Spooka  (eval $ac_compile) 2>&5
68181.76Spooka  ac_status=$?
68191.77Sapb  echo "$as_me:6819: \$? = $ac_status" >&5
68201.76Spooka  (exit $ac_status); } &&
68211.76Spooka         { ac_try='test -s conftest.$ac_objext'
68221.77Sapb  { (eval echo "$as_me:6822: \"$ac_try\"") >&5
68231.76Spooka  (eval $ac_try) 2>&5
68241.76Spooka  ac_status=$?
68251.77Sapb  echo "$as_me:6825: \$? = $ac_status" >&5
68261.76Spooka  (exit $ac_status); }; }; then
68271.76Spooka  ac_cv_have_decl_le32enc=yes
68281.53Sdogcowelse
68291.76Spooka  echo "$as_me: failed program was:" >&5
68301.76Spookacat conftest.$ac_ext >&5
68311.76Spookaac_cv_have_decl_le32enc=no
68321.76Spookafi
68331.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
68341.53Sdogcowfi
68351.77Sapbecho "$as_me:6835: result: $ac_cv_have_decl_le32enc" >&5
68361.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
68371.76Spookaif test $ac_cv_have_decl_le32enc = yes; then
68381.61Schristos
68391.76Spookacat >>confdefs.h <<EOF
68401.76Spooka#define HAVE_DECL_LE32ENC 1
68411.76SpookaEOF
68421.53Sdogcow
68431.53Sdogcowelse
68441.76Spooka  cat >>confdefs.h <<EOF
68451.76Spooka#define HAVE_DECL_LE32ENC 0
68461.76SpookaEOF
68471.76Spooka
68481.53Sdogcowfi
68491.77Sapbecho "$as_me:6849: checking whether be32dec is declared" >&5
68501.76Spookaecho $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
68511.76Spookaif test "${ac_cv_have_decl_be32dec+set}" = set; then
68521.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
68531.76Spookaelse
68541.76Spooka  cat >conftest.$ac_ext <<_ACEOF
68551.77Sapb#line 6855 "configure"
68561.76Spooka#include "confdefs.h"
68571.76Spooka#include <sys/endian.h>
68581.76Spooka
68591.76Spookaint
68601.76Spookamain ()
68611.76Spooka{
68621.76Spooka#ifndef be32dec
68631.76Spooka  char *p = (char *) be32dec;
68641.76Spooka#endif
68651.53Sdogcow
68661.76Spooka  ;
68671.76Spooka  return 0;
68681.76Spooka}
68691.74Schristos_ACEOF
68701.76Spookarm -f conftest.$ac_objext
68711.77Sapbif { (eval echo "$as_me:6871: \"$ac_compile\"") >&5
68721.76Spooka  (eval $ac_compile) 2>&5
68731.76Spooka  ac_status=$?
68741.77Sapb  echo "$as_me:6874: \$? = $ac_status" >&5
68751.76Spooka  (exit $ac_status); } &&
68761.76Spooka         { ac_try='test -s conftest.$ac_objext'
68771.77Sapb  { (eval echo "$as_me:6877: \"$ac_try\"") >&5
68781.76Spooka  (eval $ac_try) 2>&5
68791.76Spooka  ac_status=$?
68801.77Sapb  echo "$as_me:6880: \$? = $ac_status" >&5
68811.76Spooka  (exit $ac_status); }; }; then
68821.76Spooka  ac_cv_have_decl_be32dec=yes
68831.53Sdogcowelse
68841.76Spooka  echo "$as_me: failed program was:" >&5
68851.76Spookacat conftest.$ac_ext >&5
68861.76Spookaac_cv_have_decl_be32dec=no
68871.76Spookafi
68881.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
68891.53Sdogcowfi
68901.77Sapbecho "$as_me:6890: result: $ac_cv_have_decl_be32dec" >&5
68911.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
68921.76Spookaif test $ac_cv_have_decl_be32dec = yes; then
68931.61Schristos
68941.76Spookacat >>confdefs.h <<EOF
68951.76Spooka#define HAVE_DECL_BE32DEC 1
68961.76SpookaEOF
68971.53Sdogcow
68981.53Sdogcowelse
68991.76Spooka  cat >>confdefs.h <<EOF
69001.76Spooka#define HAVE_DECL_BE32DEC 0
69011.76SpookaEOF
69021.76Spooka
69031.74Schristosfi
69041.77Sapbecho "$as_me:6904: checking whether le32dec is declared" >&5
69051.76Spookaecho $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
69061.76Spookaif test "${ac_cv_have_decl_le32dec+set}" = set; then
69071.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
69081.76Spookaelse
69091.76Spooka  cat >conftest.$ac_ext <<_ACEOF
69101.77Sapb#line 6910 "configure"
69111.76Spooka#include "confdefs.h"
69121.76Spooka#include <sys/endian.h>
69131.76Spooka
69141.76Spookaint
69151.76Spookamain ()
69161.76Spooka{
69171.76Spooka#ifndef le32dec
69181.76Spooka  char *p = (char *) le32dec;
69191.76Spooka#endif
69201.53Sdogcow
69211.76Spooka  ;
69221.76Spooka  return 0;
69231.76Spooka}
69241.74Schristos_ACEOF
69251.76Spookarm -f conftest.$ac_objext
69261.77Sapbif { (eval echo "$as_me:6926: \"$ac_compile\"") >&5
69271.76Spooka  (eval $ac_compile) 2>&5
69281.76Spooka  ac_status=$?
69291.77Sapb  echo "$as_me:6929: \$? = $ac_status" >&5
69301.76Spooka  (exit $ac_status); } &&
69311.76Spooka         { ac_try='test -s conftest.$ac_objext'
69321.77Sapb  { (eval echo "$as_me:6932: \"$ac_try\"") >&5
69331.76Spooka  (eval $ac_try) 2>&5
69341.76Spooka  ac_status=$?
69351.77Sapb  echo "$as_me:6935: \$? = $ac_status" >&5
69361.76Spooka  (exit $ac_status); }; }; then
69371.76Spooka  ac_cv_have_decl_le32dec=yes
69381.53Sdogcowelse
69391.76Spooka  echo "$as_me: failed program was:" >&5
69401.76Spookacat conftest.$ac_ext >&5
69411.76Spookaac_cv_have_decl_le32dec=no
69421.76Spookafi
69431.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
69441.53Sdogcowfi
69451.77Sapbecho "$as_me:6945: result: $ac_cv_have_decl_le32dec" >&5
69461.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
69471.76Spookaif test $ac_cv_have_decl_le32dec = yes; then
69481.61Schristos
69491.76Spookacat >>confdefs.h <<EOF
69501.76Spooka#define HAVE_DECL_LE32DEC 1
69511.76SpookaEOF
69521.53Sdogcow
69531.53Sdogcowelse
69541.76Spooka  cat >>confdefs.h <<EOF
69551.76Spooka#define HAVE_DECL_LE32DEC 0
69561.76SpookaEOF
69571.76Spooka
69581.53Sdogcowfi
69591.77Sapbecho "$as_me:6959: checking whether be64enc is declared" >&5
69601.76Spookaecho $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
69611.76Spookaif test "${ac_cv_have_decl_be64enc+set}" = set; then
69621.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
69631.76Spookaelse
69641.76Spooka  cat >conftest.$ac_ext <<_ACEOF
69651.77Sapb#line 6965 "configure"
69661.76Spooka#include "confdefs.h"
69671.76Spooka#include <sys/endian.h>
69681.76Spooka
69691.76Spookaint
69701.76Spookamain ()
69711.76Spooka{
69721.76Spooka#ifndef be64enc
69731.76Spooka  char *p = (char *) be64enc;
69741.76Spooka#endif
69751.53Sdogcow
69761.76Spooka  ;
69771.76Spooka  return 0;
69781.76Spooka}
69791.74Schristos_ACEOF
69801.76Spookarm -f conftest.$ac_objext
69811.77Sapbif { (eval echo "$as_me:6981: \"$ac_compile\"") >&5
69821.76Spooka  (eval $ac_compile) 2>&5
69831.76Spooka  ac_status=$?
69841.77Sapb  echo "$as_me:6984: \$? = $ac_status" >&5
69851.76Spooka  (exit $ac_status); } &&
69861.76Spooka         { ac_try='test -s conftest.$ac_objext'
69871.77Sapb  { (eval echo "$as_me:6987: \"$ac_try\"") >&5
69881.76Spooka  (eval $ac_try) 2>&5
69891.76Spooka  ac_status=$?
69901.77Sapb  echo "$as_me:6990: \$? = $ac_status" >&5
69911.76Spooka  (exit $ac_status); }; }; then
69921.76Spooka  ac_cv_have_decl_be64enc=yes
69931.53Sdogcowelse
69941.76Spooka  echo "$as_me: failed program was:" >&5
69951.76Spookacat conftest.$ac_ext >&5
69961.76Spookaac_cv_have_decl_be64enc=no
69971.53Sdogcowfi
69981.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
69991.76Spookafi
70001.77Sapbecho "$as_me:7000: result: $ac_cv_have_decl_be64enc" >&5
70011.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
70021.76Spookaif test $ac_cv_have_decl_be64enc = yes; then
70031.61Schristos
70041.76Spookacat >>confdefs.h <<EOF
70051.76Spooka#define HAVE_DECL_BE64ENC 1
70061.76SpookaEOF
70071.53Sdogcow
70081.53Sdogcowelse
70091.76Spooka  cat >>confdefs.h <<EOF
70101.76Spooka#define HAVE_DECL_BE64ENC 0
70111.76SpookaEOF
70121.76Spooka
70131.74Schristosfi
70141.77Sapbecho "$as_me:7014: checking whether le64enc is declared" >&5
70151.76Spookaecho $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
70161.76Spookaif test "${ac_cv_have_decl_le64enc+set}" = set; then
70171.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
70181.74Schristoselse
70191.76Spooka  cat >conftest.$ac_ext <<_ACEOF
70201.77Sapb#line 7020 "configure"
70211.76Spooka#include "confdefs.h"
70221.76Spooka#include <sys/endian.h>
70231.74Schristos
70241.76Spookaint
70251.76Spookamain ()
70261.76Spooka{
70271.76Spooka#ifndef le64enc
70281.76Spooka  char *p = (char *) le64enc;
70291.76Spooka#endif
70301.53Sdogcow
70311.76Spooka  ;
70321.76Spooka  return 0;
70331.76Spooka}
70341.74Schristos_ACEOF
70351.76Spookarm -f conftest.$ac_objext
70361.77Sapbif { (eval echo "$as_me:7036: \"$ac_compile\"") >&5
70371.76Spooka  (eval $ac_compile) 2>&5
70381.76Spooka  ac_status=$?
70391.77Sapb  echo "$as_me:7039: \$? = $ac_status" >&5
70401.76Spooka  (exit $ac_status); } &&
70411.76Spooka         { ac_try='test -s conftest.$ac_objext'
70421.77Sapb  { (eval echo "$as_me:7042: \"$ac_try\"") >&5
70431.76Spooka  (eval $ac_try) 2>&5
70441.76Spooka  ac_status=$?
70451.77Sapb  echo "$as_me:7045: \$? = $ac_status" >&5
70461.76Spooka  (exit $ac_status); }; }; then
70471.76Spooka  ac_cv_have_decl_le64enc=yes
70481.74Schristoselse
70491.76Spooka  echo "$as_me: failed program was:" >&5
70501.76Spookacat conftest.$ac_ext >&5
70511.76Spookaac_cv_have_decl_le64enc=no
70521.74Schristosfi
70531.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
70541.53Sdogcowfi
70551.77Sapbecho "$as_me:7055: result: $ac_cv_have_decl_le64enc" >&5
70561.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
70571.76Spookaif test $ac_cv_have_decl_le64enc = yes; then
70581.74Schristos
70591.76Spookacat >>confdefs.h <<EOF
70601.76Spooka#define HAVE_DECL_LE64ENC 1
70611.76SpookaEOF
70621.61Schristos
70631.74Schristoselse
70641.76Spooka  cat >>confdefs.h <<EOF
70651.76Spooka#define HAVE_DECL_LE64ENC 0
70661.76SpookaEOF
70671.53Sdogcow
70681.74Schristosfi
70691.77Sapbecho "$as_me:7069: checking whether be64dec is declared" >&5
70701.76Spookaecho $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
70711.76Spookaif test "${ac_cv_have_decl_be64dec+set}" = set; then
70721.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
70731.74Schristoselse
70741.76Spooka  cat >conftest.$ac_ext <<_ACEOF
70751.77Sapb#line 7075 "configure"
70761.76Spooka#include "confdefs.h"
70771.76Spooka#include <sys/endian.h>
70781.74Schristos
70791.76Spookaint
70801.76Spookamain ()
70811.76Spooka{
70821.76Spooka#ifndef be64dec
70831.76Spooka  char *p = (char *) be64dec;
70841.76Spooka#endif
70851.54Swiz
70861.76Spooka  ;
70871.76Spooka  return 0;
70881.76Spooka}
70891.74Schristos_ACEOF
70901.76Spookarm -f conftest.$ac_objext
70911.77Sapbif { (eval echo "$as_me:7091: \"$ac_compile\"") >&5
70921.76Spooka  (eval $ac_compile) 2>&5
70931.76Spooka  ac_status=$?
70941.77Sapb  echo "$as_me:7094: \$? = $ac_status" >&5
70951.76Spooka  (exit $ac_status); } &&
70961.76Spooka         { ac_try='test -s conftest.$ac_objext'
70971.77Sapb  { (eval echo "$as_me:7097: \"$ac_try\"") >&5
70981.76Spooka  (eval $ac_try) 2>&5
70991.76Spooka  ac_status=$?
71001.77Sapb  echo "$as_me:7100: \$? = $ac_status" >&5
71011.76Spooka  (exit $ac_status); }; }; then
71021.76Spooka  ac_cv_have_decl_be64dec=yes
71031.74Schristoselse
71041.76Spooka  echo "$as_me: failed program was:" >&5
71051.76Spookacat conftest.$ac_ext >&5
71061.76Spookaac_cv_have_decl_be64dec=no
71071.74Schristosfi
71081.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
71091.54Swizfi
71101.77Sapbecho "$as_me:7110: result: $ac_cv_have_decl_be64dec" >&5
71111.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
71121.76Spookaif test $ac_cv_have_decl_be64dec = yes; then
71131.61Schristos
71141.76Spookacat >>confdefs.h <<EOF
71151.76Spooka#define HAVE_DECL_BE64DEC 1
71161.76SpookaEOF
71171.74Schristos
71181.76Spookaelse
71191.76Spooka  cat >>confdefs.h <<EOF
71201.76Spooka#define HAVE_DECL_BE64DEC 0
71211.76SpookaEOF
71221.53Sdogcow
71231.76Spookafi
71241.77Sapbecho "$as_me:7124: checking whether le64dec is declared" >&5
71251.76Spookaecho $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
71261.76Spookaif test "${ac_cv_have_decl_le64dec+set}" = set; then
71271.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
71281.54Swizelse
71291.76Spooka  cat >conftest.$ac_ext <<_ACEOF
71301.77Sapb#line 7130 "configure"
71311.76Spooka#include "confdefs.h"
71321.76Spooka#include <sys/endian.h>
71331.76Spooka
71341.76Spookaint
71351.76Spookamain ()
71361.76Spooka{
71371.76Spooka#ifndef le64dec
71381.76Spooka  char *p = (char *) le64dec;
71391.76Spooka#endif
71401.53Sdogcow
71411.76Spooka  ;
71421.76Spooka  return 0;
71431.76Spooka}
71441.74Schristos_ACEOF
71451.76Spookarm -f conftest.$ac_objext
71461.77Sapbif { (eval echo "$as_me:7146: \"$ac_compile\"") >&5
71471.76Spooka  (eval $ac_compile) 2>&5
71481.76Spooka  ac_status=$?
71491.77Sapb  echo "$as_me:7149: \$? = $ac_status" >&5
71501.76Spooka  (exit $ac_status); } &&
71511.76Spooka         { ac_try='test -s conftest.$ac_objext'
71521.77Sapb  { (eval echo "$as_me:7152: \"$ac_try\"") >&5
71531.76Spooka  (eval $ac_try) 2>&5
71541.76Spooka  ac_status=$?
71551.77Sapb  echo "$as_me:7155: \$? = $ac_status" >&5
71561.76Spooka  (exit $ac_status); }; }; then
71571.76Spooka  ac_cv_have_decl_le64dec=yes
71581.74Schristoselse
71591.76Spooka  echo "$as_me: failed program was:" >&5
71601.76Spookacat conftest.$ac_ext >&5
71611.76Spookaac_cv_have_decl_le64dec=no
71621.54Swizfi
71631.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
71641.54Swizfi
71651.77Sapbecho "$as_me:7165: result: $ac_cv_have_decl_le64dec" >&5
71661.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
71671.76Spookaif test $ac_cv_have_decl_le64dec = yes; then
71681.61Schristos
71691.76Spookacat >>confdefs.h <<EOF
71701.76Spooka#define HAVE_DECL_LE64DEC 1
71711.76SpookaEOF
71721.74Schristos
71731.76Spookaelse
71741.76Spooka  cat >>confdefs.h <<EOF
71751.76Spooka#define HAVE_DECL_LE64DEC 0
71761.76SpookaEOF
71771.54Swiz
71781.74Schristosfi
71791.54Swiz
71801.77Sapbecho "$as_me:7180: checking whether fstatvfs is declared" >&5
71811.76Spookaecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
71821.76Spookaif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
71831.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
71841.74Schristoselse
71851.76Spooka  cat >conftest.$ac_ext <<_ACEOF
71861.77Sapb#line 7186 "configure"
71871.76Spooka#include "confdefs.h"
71881.76Spooka#include <sys/statvfs.h>
71891.76Spooka
71901.76Spookaint
71911.76Spookamain ()
71921.76Spooka{
71931.76Spooka#ifndef fstatvfs
71941.76Spooka  char *p = (char *) fstatvfs;
71951.76Spooka#endif
71961.74Schristos
71971.76Spooka  ;
71981.76Spooka  return 0;
71991.76Spooka}
72001.74Schristos_ACEOF
72011.76Spookarm -f conftest.$ac_objext
72021.77Sapbif { (eval echo "$as_me:7202: \"$ac_compile\"") >&5
72031.76Spooka  (eval $ac_compile) 2>&5
72041.76Spooka  ac_status=$?
72051.77Sapb  echo "$as_me:7205: \$? = $ac_status" >&5
72061.76Spooka  (exit $ac_status); } &&
72071.76Spooka         { ac_try='test -s conftest.$ac_objext'
72081.77Sapb  { (eval echo "$as_me:7208: \"$ac_try\"") >&5
72091.76Spooka  (eval $ac_try) 2>&5
72101.76Spooka  ac_status=$?
72111.77Sapb  echo "$as_me:7211: \$? = $ac_status" >&5
72121.76Spooka  (exit $ac_status); }; }; then
72131.76Spooka  ac_cv_have_decl_fstatvfs=yes
72141.54Swizelse
72151.76Spooka  echo "$as_me: failed program was:" >&5
72161.76Spookacat conftest.$ac_ext >&5
72171.76Spookaac_cv_have_decl_fstatvfs=no
72181.74Schristosfi
72191.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
72201.74Schristosfi
72211.77Sapbecho "$as_me:7221: result: $ac_cv_have_decl_fstatvfs" >&5
72221.76Spookaecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
72231.76Spookaif test $ac_cv_have_decl_fstatvfs = yes; then
72241.54Swiz
72251.76Spookacat >>confdefs.h <<EOF
72261.76Spooka#define HAVE_DECL_FSTATVFS 1
72271.76SpookaEOF
72281.74Schristos
72291.74Schristoselse
72301.76Spooka  cat >>confdefs.h <<EOF
72311.76Spooka#define HAVE_DECL_FSTATVFS 0
72321.76SpookaEOF
72331.61Schristos
72341.74Schristosfi
72351.54Swiz
72361.77Sapbecho "$as_me:7236: checking whether setgroupent is declared" >&5
72371.76Spookaecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
72381.76Spookaif test "${ac_cv_have_decl_setgroupent+set}" = set; then
72391.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
72401.54Swizelse
72411.76Spooka  cat >conftest.$ac_ext <<_ACEOF
72421.77Sapb#line 7242 "configure"
72431.76Spooka#include "confdefs.h"
72441.54Swiz
72451.76Spooka#include <sys/types.h>
72461.76Spooka#include <grp.h>
72471.76Spooka#include <pwd.h>
72481.45Sjmc
72491.76Spookaint
72501.76Spookamain ()
72511.76Spooka{
72521.76Spooka#ifndef setgroupent
72531.76Spooka  char *p = (char *) setgroupent;
72541.76Spooka#endif
72551.53Sdogcow
72561.76Spooka  ;
72571.76Spooka  return 0;
72581.76Spooka}
72591.74Schristos_ACEOF
72601.76Spookarm -f conftest.$ac_objext
72611.77Sapbif { (eval echo "$as_me:7261: \"$ac_compile\"") >&5
72621.76Spooka  (eval $ac_compile) 2>&5
72631.76Spooka  ac_status=$?
72641.77Sapb  echo "$as_me:7264: \$? = $ac_status" >&5
72651.76Spooka  (exit $ac_status); } &&
72661.76Spooka         { ac_try='test -s conftest.$ac_objext'
72671.77Sapb  { (eval echo "$as_me:7267: \"$ac_try\"") >&5
72681.76Spooka  (eval $ac_try) 2>&5
72691.76Spooka  ac_status=$?
72701.77Sapb  echo "$as_me:7270: \$? = $ac_status" >&5
72711.76Spooka  (exit $ac_status); }; }; then
72721.76Spooka  ac_cv_have_decl_setgroupent=yes
72731.74Schristoselse
72741.76Spooka  echo "$as_me: failed program was:" >&5
72751.76Spookacat conftest.$ac_ext >&5
72761.76Spookaac_cv_have_decl_setgroupent=no
72771.74Schristosfi
72781.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
72791.1Stvfi
72801.77Sapbecho "$as_me:7280: result: $ac_cv_have_decl_setgroupent" >&5
72811.76Spookaecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
72821.76Spookaif test $ac_cv_have_decl_setgroupent = yes; then
72831.54Swiz
72841.76Spookacat >>confdefs.h <<EOF
72851.76Spooka#define HAVE_DECL_SETGROUPENT 1
72861.76SpookaEOF
72871.74Schristos
72881.76Spookaelse
72891.76Spooka  cat >>confdefs.h <<EOF
72901.76Spooka#define HAVE_DECL_SETGROUPENT 0
72911.76SpookaEOF
72921.54Swiz
72931.76Spookafi
72941.77Sapbecho "$as_me:7294: checking whether setpassent is declared" >&5
72951.76Spookaecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
72961.76Spookaif test "${ac_cv_have_decl_setpassent+set}" = set; then
72971.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
72981.54Swizelse
72991.76Spooka  cat >conftest.$ac_ext <<_ACEOF
73001.77Sapb#line 7300 "configure"
73011.76Spooka#include "confdefs.h"
73021.54Swiz
73031.33Sthorpej#include <sys/types.h>
73041.8Stv#include <grp.h>
73051.8Stv#include <pwd.h>
73061.8Stv
73071.76Spookaint
73081.76Spookamain ()
73091.76Spooka{
73101.76Spooka#ifndef setpassent
73111.76Spooka  char *p = (char *) setpassent;
73121.76Spooka#endif
73131.76Spooka
73141.76Spooka  ;
73151.76Spooka  return 0;
73161.76Spooka}
73171.76Spooka_ACEOF
73181.76Spookarm -f conftest.$ac_objext
73191.77Sapbif { (eval echo "$as_me:7319: \"$ac_compile\"") >&5
73201.76Spooka  (eval $ac_compile) 2>&5
73211.76Spooka  ac_status=$?
73221.77Sapb  echo "$as_me:7322: \$? = $ac_status" >&5
73231.76Spooka  (exit $ac_status); } &&
73241.76Spooka         { ac_try='test -s conftest.$ac_objext'
73251.77Sapb  { (eval echo "$as_me:7325: \"$ac_try\"") >&5
73261.76Spooka  (eval $ac_try) 2>&5
73271.76Spooka  ac_status=$?
73281.77Sapb  echo "$as_me:7328: \$? = $ac_status" >&5
73291.76Spooka  (exit $ac_status); }; }; then
73301.76Spooka  ac_cv_have_decl_setpassent=yes
73311.8Stvelse
73321.76Spooka  echo "$as_me: failed program was:" >&5
73331.76Spookacat conftest.$ac_ext >&5
73341.76Spookaac_cv_have_decl_setpassent=no
73351.8Stvfi
73361.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
73371.76Spookafi
73381.77Sapbecho "$as_me:7338: result: $ac_cv_have_decl_setpassent" >&5
73391.76Spookaecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
73401.76Spookaif test $ac_cv_have_decl_setpassent = yes; then
73411.8Stv
73421.76Spookacat >>confdefs.h <<EOF
73431.76Spooka#define HAVE_DECL_SETPASSENT 1
73441.76SpookaEOF
73451.8Stv
73461.8Stvelse
73471.76Spooka  cat >>confdefs.h <<EOF
73481.76Spooka#define HAVE_DECL_SETPASSENT 0
73491.76SpookaEOF
73501.76Spooka
73511.8Stvfi
73521.8Stv
73531.4Stv# regcomp() and regexec() are also names of functions in the old V8
73541.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
73551.4Stv
73561.77Sapbecho "$as_me:7356: checking for regfree in -lregex" >&5
73571.76Spookaecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
73581.76Spookaif test "${ac_cv_lib_regex_regfree+set}" = set; then
73591.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
73601.4Stvelse
73611.4Stv  ac_check_lib_save_LIBS=$LIBS
73621.4StvLIBS="-lregex  $LIBS"
73631.76Spookacat >conftest.$ac_ext <<_ACEOF
73641.77Sapb#line 7364 "configure"
73651.76Spooka#include "confdefs.h"
73661.4Stv
73671.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
73681.4Stv#ifdef __cplusplus
73691.4Stvextern "C"
73701.4Stv#endif
73711.76Spooka/* We use char because int might match the return type of a gcc2
73721.76Spooka   builtin and then its argument prototype would still apply.  */
73731.4Stvchar regfree ();
73741.4Stvint
73751.4Stvmain ()
73761.4Stv{
73771.76Spookaregfree ();
73781.4Stv  ;
73791.4Stv  return 0;
73801.4Stv}
73811.4Stv_ACEOF
73821.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
73831.77Sapbif { (eval echo "$as_me:7383: \"$ac_link\"") >&5
73841.76Spooka  (eval $ac_link) 2>&5
73851.76Spooka  ac_status=$?
73861.77Sapb  echo "$as_me:7386: \$? = $ac_status" >&5
73871.76Spooka  (exit $ac_status); } &&
73881.76Spooka         { ac_try='test -s conftest$ac_exeext'
73891.77Sapb  { (eval echo "$as_me:7389: \"$ac_try\"") >&5
73901.76Spooka  (eval $ac_try) 2>&5
73911.76Spooka  ac_status=$?
73921.77Sapb  echo "$as_me:7392: \$? = $ac_status" >&5
73931.76Spooka  (exit $ac_status); }; }; then
73941.4Stv  ac_cv_lib_regex_regfree=yes
73951.4Stvelse
73961.76Spooka  echo "$as_me: failed program was:" >&5
73971.76Spookacat conftest.$ac_ext >&5
73981.76Spookaac_cv_lib_regex_regfree=no
73991.4Stvfi
74001.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74011.4StvLIBS=$ac_check_lib_save_LIBS
74021.4Stvfi
74031.77Sapbecho "$as_me:7403: result: $ac_cv_lib_regex_regfree" >&5
74041.76Spookaecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
74051.76Spookaif test $ac_cv_lib_regex_regfree = yes; then
74061.76Spooka  cat >>confdefs.h <<EOF
74071.4Stv#define HAVE_LIBREGEX 1
74081.76SpookaEOF
74091.4Stv
74101.4Stv  LIBS="-lregex $LIBS"
74111.4Stv
74121.4Stvfi
74131.4Stv
74141.77Sapbecho "$as_me:7414: checking for library containing regfree" >&5
74151.76Spookaecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
74161.76Spookaif test "${ac_cv_search_regfree+set}" = set; then
74171.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
74181.1Stvelse
74191.1Stv  ac_func_search_save_LIBS=$LIBS
74201.76Spookaac_cv_search_regfree=no
74211.76Spookacat >conftest.$ac_ext <<_ACEOF
74221.77Sapb#line 7422 "configure"
74231.76Spooka#include "confdefs.h"
74241.1Stv
74251.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
74261.1Stv#ifdef __cplusplus
74271.1Stvextern "C"
74281.1Stv#endif
74291.76Spooka/* We use char because int might match the return type of a gcc2
74301.76Spooka   builtin and then its argument prototype would still apply.  */
74311.4Stvchar regfree ();
74321.1Stvint
74331.1Stvmain ()
74341.1Stv{
74351.76Spookaregfree ();
74361.1Stv  ;
74371.1Stv  return 0;
74381.1Stv}
74391.1Stv_ACEOF
74401.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
74411.77Sapbif { (eval echo "$as_me:7441: \"$ac_link\"") >&5
74421.76Spooka  (eval $ac_link) 2>&5
74431.76Spooka  ac_status=$?
74441.77Sapb  echo "$as_me:7444: \$? = $ac_status" >&5
74451.76Spooka  (exit $ac_status); } &&
74461.76Spooka         { ac_try='test -s conftest$ac_exeext'
74471.77Sapb  { (eval echo "$as_me:7447: \"$ac_try\"") >&5
74481.76Spooka  (eval $ac_try) 2>&5
74491.76Spooka  ac_status=$?
74501.77Sapb  echo "$as_me:7450: \$? = $ac_status" >&5
74511.76Spooka  (exit $ac_status); }; }; then
74521.76Spooka  ac_cv_search_regfree="none required"
74531.76Spookaelse
74541.76Spooka  echo "$as_me: failed program was:" >&5
74551.76Spookacat conftest.$ac_ext >&5
74561.76Spookafi
74571.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74581.76Spookaif test "$ac_cv_search_regfree" = no; then
74591.76Spooka  for ac_lib in rx posix; do
74601.66Stsutsui    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
74611.76Spooka    cat >conftest.$ac_ext <<_ACEOF
74621.77Sapb#line 7462 "configure"
74631.76Spooka#include "confdefs.h"
74641.1Stv
74651.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
74661.76Spooka#ifdef __cplusplus
74671.76Spookaextern "C"
74681.76Spooka#endif
74691.76Spooka/* We use char because int might match the return type of a gcc2
74701.76Spooka   builtin and then its argument prototype would still apply.  */
74711.76Spookachar regfree ();
74721.76Spookaint
74731.76Spookamain ()
74741.76Spooka{
74751.76Spookaregfree ();
74761.76Spooka  ;
74771.76Spooka  return 0;
74781.76Spooka}
74791.76Spooka_ACEOF
74801.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
74811.77Sapbif { (eval echo "$as_me:7481: \"$ac_link\"") >&5
74821.76Spooka  (eval $ac_link) 2>&5
74831.76Spooka  ac_status=$?
74841.77Sapb  echo "$as_me:7484: \$? = $ac_status" >&5
74851.76Spooka  (exit $ac_status); } &&
74861.76Spooka         { ac_try='test -s conftest$ac_exeext'
74871.77Sapb  { (eval echo "$as_me:7487: \"$ac_try\"") >&5
74881.76Spooka  (eval $ac_try) 2>&5
74891.76Spooka  ac_status=$?
74901.77Sapb  echo "$as_me:7490: \$? = $ac_status" >&5
74911.76Spooka  (exit $ac_status); }; }; then
74921.76Spooka  ac_cv_search_regfree="-l$ac_lib"
74931.76Spookabreak
74941.66Stsutsuielse
74951.76Spooka  echo "$as_me: failed program was:" >&5
74961.76Spookacat conftest.$ac_ext >&5
74971.76Spookafi
74981.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74991.76Spooka  done
75001.1Stvfi
75011.1StvLIBS=$ac_func_search_save_LIBS
75021.1Stvfi
75031.77Sapbecho "$as_me:7503: result: $ac_cv_search_regfree" >&5
75041.76Spookaecho "${ECHO_T}$ac_cv_search_regfree" >&6
75051.76Spookaif test "$ac_cv_search_regfree" != no; then
75061.76Spooka  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
75071.1Stv
75081.1Stvfi
75091.1Stv
75101.78Sjmcneillecho "$as_me:7510: checking for clock_gettime in -lrt" >&5
75111.78Sjmcneillecho $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
75121.78Sjmcneillif test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
75131.78Sjmcneill  echo $ECHO_N "(cached) $ECHO_C" >&6
75141.78Sjmcneillelse
75151.78Sjmcneill  ac_check_lib_save_LIBS=$LIBS
75161.78SjmcneillLIBS="-lrt  $LIBS"
75171.78Sjmcneillcat >conftest.$ac_ext <<_ACEOF
75181.78Sjmcneill#line 7518 "configure"
75191.78Sjmcneill#include "confdefs.h"
75201.78Sjmcneill
75211.78Sjmcneill/* Override any gcc2 internal prototype to avoid an error.  */
75221.78Sjmcneill#ifdef __cplusplus
75231.78Sjmcneillextern "C"
75241.78Sjmcneill#endif
75251.78Sjmcneill/* We use char because int might match the return type of a gcc2
75261.78Sjmcneill   builtin and then its argument prototype would still apply.  */
75271.78Sjmcneillchar clock_gettime ();
75281.78Sjmcneillint
75291.78Sjmcneillmain ()
75301.78Sjmcneill{
75311.78Sjmcneillclock_gettime ();
75321.78Sjmcneill  ;
75331.78Sjmcneill  return 0;
75341.78Sjmcneill}
75351.78Sjmcneill_ACEOF
75361.78Sjmcneillrm -f conftest.$ac_objext conftest$ac_exeext
75371.78Sjmcneillif { (eval echo "$as_me:7537: \"$ac_link\"") >&5
75381.78Sjmcneill  (eval $ac_link) 2>&5
75391.78Sjmcneill  ac_status=$?
75401.78Sjmcneill  echo "$as_me:7540: \$? = $ac_status" >&5
75411.78Sjmcneill  (exit $ac_status); } &&
75421.78Sjmcneill         { ac_try='test -s conftest$ac_exeext'
75431.78Sjmcneill  { (eval echo "$as_me:7543: \"$ac_try\"") >&5
75441.78Sjmcneill  (eval $ac_try) 2>&5
75451.78Sjmcneill  ac_status=$?
75461.78Sjmcneill  echo "$as_me:7546: \$? = $ac_status" >&5
75471.78Sjmcneill  (exit $ac_status); }; }; then
75481.78Sjmcneill  ac_cv_lib_rt_clock_gettime=yes
75491.78Sjmcneillelse
75501.78Sjmcneill  echo "$as_me: failed program was:" >&5
75511.78Sjmcneillcat conftest.$ac_ext >&5
75521.78Sjmcneillac_cv_lib_rt_clock_gettime=no
75531.78Sjmcneillfi
75541.78Sjmcneillrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75551.78SjmcneillLIBS=$ac_check_lib_save_LIBS
75561.78Sjmcneillfi
75571.78Sjmcneillecho "$as_me:7557: result: $ac_cv_lib_rt_clock_gettime" >&5
75581.78Sjmcneillecho "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
75591.78Sjmcneillif test $ac_cv_lib_rt_clock_gettime = yes; then
75601.78Sjmcneill  cat >>confdefs.h <<EOF
75611.78Sjmcneill#define HAVE_LIBRT 1
75621.78SjmcneillEOF
75631.78Sjmcneill
75641.78Sjmcneill  LIBS="-lrt $LIBS"
75651.78Sjmcneill
75661.78Sjmcneillfi
75671.78Sjmcneill
75681.76Spookafor ac_func in fparseln
75691.76Spookado
75701.76Spookaas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75711.78Sjmcneillecho "$as_me:7571: checking for $ac_func" >&5
75721.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75731.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
75741.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
75751.76Spookaelse
75761.76Spooka  cat >conftest.$ac_ext <<_ACEOF
75771.78Sjmcneill#line 7577 "configure"
75781.76Spooka#include "confdefs.h"
75791.76Spooka/* System header to define __stub macros and hopefully few prototypes,
75801.76Spooka    which can conflict with char $ac_func (); below.  */
75811.76Spooka#include <assert.h>
75821.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
75831.76Spooka#ifdef __cplusplus
75841.76Spookaextern "C"
75851.76Spooka#endif
75861.76Spooka/* We use char because int might match the return type of a gcc2
75871.76Spooka   builtin and then its argument prototype would still apply.  */
75881.76Spookachar $ac_func ();
75891.76Spookachar (*f) ();
75901.74Schristos
75911.76Spookaint
75921.76Spookamain ()
75931.76Spooka{
75941.76Spooka/* The GNU C library defines this for functions which it implements
75951.76Spooka    to always fail with ENOSYS.  Some functions are actually named
75961.76Spooka    something starting with __ and the normal name is an alias.  */
75971.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75981.76Spookachoke me
75991.76Spooka#else
76001.76Spookaf = $ac_func;
76011.76Spooka#endif
76021.68Stnozaki
76031.76Spooka  ;
76041.76Spooka  return 0;
76051.76Spooka}
76061.76Spooka_ACEOF
76071.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
76081.78Sjmcneillif { (eval echo "$as_me:7608: \"$ac_link\"") >&5
76091.76Spooka  (eval $ac_link) 2>&5
76101.76Spooka  ac_status=$?
76111.78Sjmcneill  echo "$as_me:7611: \$? = $ac_status" >&5
76121.76Spooka  (exit $ac_status); } &&
76131.76Spooka         { ac_try='test -s conftest$ac_exeext'
76141.78Sjmcneill  { (eval echo "$as_me:7614: \"$ac_try\"") >&5
76151.76Spooka  (eval $ac_try) 2>&5
76161.76Spooka  ac_status=$?
76171.78Sjmcneill  echo "$as_me:7617: \$? = $ac_status" >&5
76181.76Spooka  (exit $ac_status); }; }; then
76191.76Spooka  eval "$as_ac_var=yes"
76201.76Spookaelse
76211.76Spooka  echo "$as_me: failed program was:" >&5
76221.76Spookacat conftest.$ac_ext >&5
76231.76Spookaeval "$as_ac_var=no"
76241.76Spookafi
76251.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76261.76Spookafi
76271.78Sjmcneillecho "$as_me:7627: result: `eval echo '${'$as_ac_var'}'`" >&5
76281.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76291.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
76301.76Spooka  cat >>confdefs.h <<EOF
76311.76Spooka#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76321.76SpookaEOF
76331.76Spooka
76341.78Sjmcneill    echo "$as_me:7634: checking if fparseln seems to work" >&5
76351.76Spookaecho $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6
76361.76Spooka    if test "$cross_compiling" = yes; then
76371.78Sjmcneill  { echo "$as_me:7637: WARNING: cross compiling: not checking farseln" >&5
76381.76Spookaecho "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
76391.76Spooka
76401.76Spookaelse
76411.76Spooka  cat >conftest.$ac_ext <<_ACEOF
76421.78Sjmcneill#line 7642 "configure"
76431.76Spooka#include "confdefs.h"
76441.68Stnozaki
76451.68Stnozaki#define _NETBSD_SOURCE
76461.68Stnozaki#include <stdio.h>
76471.68Stnozaki#include <stdlib.h>
76481.68Stnozaki#define CONFTEST	"conftest.fparseln"
76491.68Stnozaki#define COMMENT		'#'
76501.68Stnozakiint
76511.68Stnozakimain(void)
76521.68Stnozaki{
76531.68Stnozaki	static const char delim[3] = { '\0', '\0', COMMENT };
76541.68Stnozaki	FILE *fp;
76551.68Stnozaki	char *ptr;
76561.68Stnozaki	fp = fopen(CONFTEST, "w+");
76571.68Stnozaki	if (fp != NULL) {
76581.68Stnozaki		unlink(CONFTEST);
76591.68Stnozaki		ungetc(COMMENT, fp);
76601.68Stnozaki		ptr = fparseln(fp, NULL, NULL, delim,
76611.68Stnozaki		    FPARSELN_UNESCALL);
76621.68Stnozaki		fclose(fp);
76631.68Stnozaki		if (ptr == NULL)
76641.68Stnozaki			exit(0);
76651.68Stnozaki	}
76661.68Stnozaki	exit(1);
76671.68Stnozaki}
76681.68Stnozaki
76691.68Stnozaki_ACEOF
76701.76Spookarm -f conftest$ac_exeext
76711.78Sjmcneillif { (eval echo "$as_me:7671: \"$ac_link\"") >&5
76721.76Spooka  (eval $ac_link) 2>&5
76731.76Spooka  ac_status=$?
76741.78Sjmcneill  echo "$as_me:7674: \$? = $ac_status" >&5
76751.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76761.78Sjmcneill  { (eval echo "$as_me:7676: \"$ac_try\"") >&5
76771.76Spooka  (eval $ac_try) 2>&5
76781.76Spooka  ac_status=$?
76791.78Sjmcneill  echo "$as_me:7679: \$? = $ac_status" >&5
76801.76Spooka  (exit $ac_status); }; }; then
76811.78Sjmcneill  echo "$as_me:7681: result: yes" >&5
76821.76Spookaecho "${ECHO_T}yes" >&6
76831.76Spookaelse
76841.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
76851.76Spookaecho "$as_me: failed program was:" >&5
76861.76Spookacat conftest.$ac_ext >&5
76871.78Sjmcneillecho "$as_me:7687: result: no" >&5
76881.76Spookaecho "${ECHO_T}no" >&6
76891.76Spooka
76901.76Spookacat >>confdefs.h <<\EOF
76911.76Spooka#define BROKEN_FPARSELN 1
76921.76SpookaEOF
76931.68Stnozaki
76941.68Stnozakifi
76951.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76961.68Stnozakifi
76971.68Stnozaki
76981.68Stnozakifi
76991.68Stnozakidone
77001.68Stnozaki
77011.72Sapb# Variables substituted via @VARNAME@ in defs.mk.in
77021.72SapbHAVE_PTHREAD_H=$ac_cv_header_pthread_h
77031.72Sapb
77041.1Stvcat >confcache <<\_ACEOF
77051.1Stv# This file is a shell script that caches the results of configure
77061.1Stv# tests run on this system so they can be shared between configure
77071.1Stv# scripts and configure runs, see configure's option --config-cache.
77081.1Stv# It is not useful on other systems.  If it contains results you don't
77091.1Stv# want to keep, you may remove or edit it.
77101.1Stv#
77111.1Stv# config.status only pays attention to the cache file if you give it
77121.1Stv# the --recheck option to rerun configure.
77131.1Stv#
77141.76Spooka# `ac_cv_env_foo' variables (set or unset) will be overriden when
77151.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
77161.1Stv# following values.
77171.1Stv
77181.1Stv_ACEOF
77191.1Stv
77201.1Stv# The following way of writing the cache mishandles newlines in values,
77211.1Stv# but we know of no workaround that is simple, portable, and efficient.
77221.76Spooka# So, don't put newlines in cache variables' values.
77231.74Schristos# Ultrix sh set writes to stderr and can't be redirected directly,
77241.74Schristos# and sets the high bit in the cache file unless we assign to the vars.
77251.76Spooka{
77261.65Schristos  (set) 2>&1 |
77271.76Spooka    case `(ac_space=' '; set | grep ac_space) 2>&1` in
77281.76Spooka    *ac_space=\ *)
77291.76Spooka      # `set' does not quote correctly, so add quotes (double-quote
77301.76Spooka      # substitution turns \\\\ into \\, and sed turns \\ into \).
77311.65Schristos      sed -n \
77321.76Spooka        "s/'/'\\\\''/g;
77331.76Spooka    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77341.76Spooka      ;;
77351.65Schristos    *)
77361.65Schristos      # `set' quotes correctly as required by POSIX, so do not add quotes.
77371.76Spooka      sed -n \
77381.76Spooka        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
77391.65Schristos      ;;
77401.76Spooka    esac;
77411.76Spooka} |
77421.65Schristos  sed '
77431.65Schristos     t clear
77441.76Spooka     : clear
77451.65Schristos     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77461.65Schristos     t end
77471.76Spooka     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77481.76Spooka     : end' >>confcache
77491.76Spookaif cmp -s $cache_file confcache; then :; else
77501.76Spooka  if test -w $cache_file; then
77511.76Spooka    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
77521.76Spooka    cat confcache >$cache_file
77531.65Schristos  else
77541.76Spooka    echo "not updating unwritable cache $cache_file"
77551.65Schristos  fi
77561.65Schristosfi
77571.66Stsutsuirm -f confcache
77581.65Schristos
77591.66Stsutsuitest "x$prefix" = xNONE && prefix=$ac_default_prefix
77601.66Stsutsui# Let make expand exec_prefix.
77611.66Stsutsuitest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
77621.65Schristos
77631.76Spooka# VPATH may cause trouble with some makes, so we remove $(srcdir),
77641.76Spooka# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
77651.76Spooka# trailing colons and then remove the whole line if VPATH becomes empty
77661.76Spooka# (actually we leave an empty line to preserve line numbers).
77671.76Spookaif test "x$srcdir" = x.; then
77681.76Spooka  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
77691.76Spookas/:*\$(srcdir):*/:/;
77701.76Spookas/:*\${srcdir}:*/:/;
77711.76Spookas/:*@srcdir@:*/:/;
77721.76Spookas/^\([^=]*=[ 	]*\):*/\1/;
77731.76Spookas/:*$//;
77741.76Spookas/^[^=]*=[ 	]*$//;
77751.76Spooka}'
77761.76Spookafi
77771.76Spooka
77781.74SchristosDEFS=-DHAVE_CONFIG_H
77791.74Schristos
77801.76Spooka: ${CONFIG_STATUS=./config.status}
77811.66Stsutsuiac_clean_files_save=$ac_clean_files
77821.66Stsutsuiac_clean_files="$ac_clean_files $CONFIG_STATUS"
77831.78Sjmcneill{ echo "$as_me:7783: creating $CONFIG_STATUS" >&5
77841.76Spookaecho "$as_me: creating $CONFIG_STATUS" >&6;}
77851.76Spookacat >$CONFIG_STATUS <<_ACEOF
77861.66Stsutsui#! $SHELL
77871.76Spooka# Generated automatically by configure.
77881.66Stsutsui# Run this file to recreate the current configuration.
77891.66Stsutsui# Compiler output produced by configure, useful for debugging
77901.66Stsutsui# configure, is in config.log if it exists.
77911.65Schristos
77921.66Stsutsuidebug=false
77931.76SpookaSHELL=\${CONFIG_SHELL-$SHELL}
77941.76Spookaac_cs_invocation="\$0 \$@"
77951.76Spooka
77961.76Spooka_ACEOF
77971.74Schristos
77981.76Spookacat >>$CONFIG_STATUS <<\_ACEOF
77991.76Spooka# Be Bourne compatible
78001.76Spookaif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78011.74Schristos  emulate sh
78021.74Schristos  NULLCMD=:
78031.76Spookaelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
78041.76Spooka  set -o posix
78051.74Schristosfi
78061.65Schristos
78071.76Spooka# Name of the executable.
78081.76Spookaas_me=`echo "$0" |sed 's,.*[\\/],,'`
78091.74Schristos
78101.76Spookaif expr a : '\(a\)' >/dev/null 2>&1; then
78111.1Stv  as_expr=expr
78121.1Stvelse
78131.1Stv  as_expr=false
78141.1Stvfi
78151.1Stv
78161.1Stvrm -f conf$$ conf$$.exe conf$$.file
78171.76Spookaecho >conf$$.file
78181.76Spookaif ln -s conf$$.file conf$$ 2>/dev/null; then
78191.76Spooka  # We could just check for DJGPP; but this test a) works b) is more generic
78201.76Spooka  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
78211.76Spooka  if test -f conf$$.exe; then
78221.76Spooka    # Don't use ln at all; we don't have any links
78231.76Spooka    as_ln_s='cp -p'
78241.76Spooka  else
78251.74Schristos    as_ln_s='ln -s'
78261.66Stsutsui  fi
78271.76Spookaelif ln conf$$.file conf$$ 2>/dev/null; then
78281.76Spooka  as_ln_s=ln
78291.1Stvelse
78301.76Spooka  as_ln_s='cp -p'
78311.1Stvfi
78321.76Spookarm -f conf$$ conf$$.exe conf$$.file
78331.1Stv
78341.76Spookaas_executable_p="test -f"
78351.63Sapb
78361.76Spooka# Support unset when possible.
78371.76Spookaif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
78381.76Spooka  as_unset=unset
78391.61Schristoselse
78401.76Spooka  as_unset=false
78411.61Schristosfi
78421.61Schristos
78431.76Spooka# NLS nuisances.
78441.76Spooka$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
78451.76Spooka$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
78461.76Spooka$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
78471.76Spooka$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
78481.76Spooka$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
78491.76Spooka$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
78501.76Spooka$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
78511.76Spooka$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78521.1Stv
78531.76Spooka# IFS
78541.76Spooka# We need space, tab and new line, in precisely that order.
78551.76Spookaas_nl='
78561.76Spooka'
78571.76SpookaIFS=" 	$as_nl"
78581.1Stv
78591.76Spooka# CDPATH.
78601.76Spooka$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
78611.1Stv
78621.1Stvexec 6>&1
78631.1Stv
78641.66Stsutsui_ACEOF
78651.1Stv
78661.76Spooka# Files that config.status was made for.
78671.76Spookaif test -n "$ac_config_files"; then
78681.76Spooka  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
78691.76Spookafi
78701.1Stv
78711.76Spookaif test -n "$ac_config_headers"; then
78721.76Spooka  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
78731.76Spookafi
78741.1Stv
78751.76Spookaif test -n "$ac_config_links"; then
78761.76Spooka  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
78771.76Spookafi
78781.1Stv
78791.76Spookaif test -n "$ac_config_commands"; then
78801.76Spooka  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
78811.76Spookafi
78821.1Stv
78831.76Spookacat >>$CONFIG_STATUS <<\EOF
78841.1Stv
78851.1Stvac_cs_usage="\
78861.76Spooka\`$as_me' instantiates files from templates according to the
78871.76Spookacurrent configuration.
78881.1Stv
78891.76SpookaUsage: $0 [OPTIONS] [FILE]...
78901.1Stv
78911.1Stv  -h, --help       print this help, then exit
78921.76Spooka  -V, --version    print version number, then exit
78931.1Stv  -d, --debug      don't remove temporary files
78941.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
78951.76Spooka  --file=FILE[:TEMPLATE]
78961.66Stsutsui                   instantiate the configuration file FILE
78971.76Spooka  --header=FILE[:TEMPLATE]
78981.66Stsutsui                   instantiate the configuration header FILE
78991.1Stv
79001.1StvConfiguration files:
79011.1Stv$config_files
79021.1Stv
79031.1StvConfiguration headers:
79041.1Stv$config_headers
79051.1Stv
79061.76SpookaReport bugs to <bug-autoconf@gnu.org>."
79071.76SpookaEOF
79081.1Stv
79091.76Spookacat >>$CONFIG_STATUS <<EOF
79101.1Stvac_cs_version="\\
79111.1Stvlibnbcompat config.status noversion
79121.76Spookaconfigured by $0, generated by GNU Autoconf 2.52,
79131.76Spooka  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
79141.1Stv
79151.76SpookaCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
79161.76SpookaFree Software Foundation, Inc.
79171.1StvThis config.status script is free software; the Free Software Foundation
79181.1Stvgives unlimited permission to copy, distribute and modify it."
79191.76Spookasrcdir=$srcdir
79201.76SpookaEOF
79211.1Stv
79221.76Spookacat >>$CONFIG_STATUS <<\EOF
79231.76Spooka# If no file are specified by the user, then we need to provide default
79241.76Spooka# value.  By we need to know if files were specified by the user.
79251.1Stvac_need_defaults=:
79261.1Stvwhile test $# != 0
79271.1Stvdo
79281.1Stv  case $1 in
79291.76Spooka  --*=*)
79301.76Spooka    ac_option=`expr "x$1" : 'x\([^=]*\)='`
79311.76Spooka    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
79321.76Spooka    shift
79331.76Spooka    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
79341.76Spooka    shift
79351.1Stv    ;;
79361.76Spooka  -*);;
79371.76Spooka  *) # This is not an option, so the user has probably given explicit
79381.76Spooka     # arguments.
79391.76Spooka     ac_need_defaults=false;;
79401.1Stv  esac
79411.1Stv
79421.76Spooka  case $1 in
79431.1Stv  # Handling of the options.
79441.76SpookaEOF
79451.76Spookacat >>$CONFIG_STATUS <<EOF
79461.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79471.76Spooka    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
79481.76Spooka    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
79491.76SpookaEOF
79501.76Spookacat >>$CONFIG_STATUS <<\EOF
79511.76Spooka  --version | --vers* | -V )
79521.76Spooka    echo "$ac_cs_version"; exit 0 ;;
79531.76Spooka  --he | --h)
79541.76Spooka    # Conflict between --help and --header
79551.78Sjmcneill    { { echo "$as_me:7955: error: ambiguous option: $1
79561.76SpookaTry \`$0 --help' for more information." >&5
79571.76Spookaecho "$as_me: error: ambiguous option: $1
79581.76SpookaTry \`$0 --help' for more information." >&2;}
79591.76Spooka   { (exit 1); exit 1; }; };;
79601.76Spooka  --help | --hel | -h )
79611.76Spooka    echo "$ac_cs_usage"; exit 0 ;;
79621.76Spooka  --debug | --d* | -d )
79631.1Stv    debug=: ;;
79641.1Stv  --file | --fil | --fi | --f )
79651.76Spooka    shift
79661.76Spooka    CONFIG_FILES="$CONFIG_FILES $1"
79671.1Stv    ac_need_defaults=false;;
79681.1Stv  --header | --heade | --head | --hea )
79691.76Spooka    shift
79701.76Spooka    CONFIG_HEADERS="$CONFIG_HEADERS $1"
79711.1Stv    ac_need_defaults=false;;
79721.1Stv
79731.1Stv  # This is an error.
79741.78Sjmcneill  -*) { { echo "$as_me:7974: error: unrecognized option: $1
79751.76SpookaTry \`$0 --help' for more information." >&5
79761.76Spookaecho "$as_me: error: unrecognized option: $1
79771.76SpookaTry \`$0 --help' for more information." >&2;}
79781.76Spooka   { (exit 1); exit 1; }; } ;;
79791.1Stv
79801.76Spooka  *) ac_config_targets="$ac_config_targets $1" ;;
79811.1Stv
79821.1Stv  esac
79831.1Stv  shift
79841.1Stvdone
79851.1Stv
79861.76Spookaexec 5>>config.log
79871.76Spookacat >&5 << _ACEOF
79881.74Schristos
79891.76Spooka## ----------------------- ##
79901.76Spooka## Running config.status.  ##
79911.76Spooka## ----------------------- ##
79921.1Stv
79931.76SpookaThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
79941.76Spooka  CONFIG_FILES    = $CONFIG_FILES
79951.76Spooka  CONFIG_HEADERS  = $CONFIG_HEADERS
79961.76Spooka  CONFIG_LINKS    = $CONFIG_LINKS
79971.76Spooka  CONFIG_COMMANDS = $CONFIG_COMMANDS
79981.76Spooka  > $ac_cs_invocation
79991.76Spookaon `(hostname || uname -n) 2>/dev/null | sed 1q`
80001.1Stv
80011.1Stv_ACEOF
80021.76SpookaEOF
80031.1Stv
80041.76Spookacat >>$CONFIG_STATUS <<\EOF
80051.1Stvfor ac_config_target in $ac_config_targets
80061.1Stvdo
80071.76Spooka  case "$ac_config_target" in
80081.76Spooka  # Handling of arguments.
80091.76Spooka  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
80101.76Spooka  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
80111.78Sjmcneill  *) { { echo "$as_me:8011: error: invalid argument: $ac_config_target" >&5
80121.76Spookaecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
80131.76Spooka   { (exit 1); exit 1; }; };;
80141.1Stv  esac
80151.1Stvdone
80161.1Stv
80171.1Stv# If the user did not use the arguments to specify the items to instantiate,
80181.1Stv# then the envvar interface is used.  Set only those that are not.
80191.1Stv# We use the long form for the default assignment because of an extremely
80201.1Stv# bizarre bug on SunOS 4.1.3.
80211.1Stvif $ac_need_defaults; then
80221.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80231.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80241.1Stvfi
80251.1Stv
80261.76Spooka# Create a temporary directory, and hook for its removal unless debugging.
80271.1Stv$debug ||
80281.1Stv{
80291.76Spooka  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
80301.76Spooka  trap '{ (exit 1); exit 1; }' 1 2 13 15
80311.1Stv}
80321.76Spooka
80331.74Schristos# Create a (secure) tmp directory for tmp files.
80341.76Spooka: ${TMPDIR=/tmp}
80351.1Stv{
80361.76Spooka  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
80371.76Spooka  test -n "$tmp" && test -d "$tmp"
80381.1Stv}  ||
80391.1Stv{
80401.76Spooka  tmp=$TMPDIR/cs$$-$RANDOM
80411.76Spooka  (umask 077 && mkdir $tmp)
80421.76Spooka} ||
80431.76Spooka{
80441.76Spooka   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
80451.76Spooka   { (exit 1); exit 1; }
80461.76Spooka}
80471.1Stv
80481.76SpookaEOF
80491.66Stsutsui
80501.76Spookacat >>$CONFIG_STATUS <<EOF
80511.66Stsutsui
80521.76Spooka#
80531.76Spooka# CONFIG_FILES section.
80541.76Spooka#
80551.1Stv
80561.76Spooka# No need to generate the scripts if there are no CONFIG_FILES.
80571.76Spooka# This happens for instance when ./config.status config.h
80581.76Spookaif test -n "\$CONFIG_FILES"; then
80591.76Spooka  # Protect against being on the right side of a sed subst in config.status.
80601.76Spooka  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
80611.76Spooka   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
80621.76Spookas,@SHELL@,$SHELL,;t t
80631.76Spookas,@exec_prefix@,$exec_prefix,;t t
80641.76Spookas,@prefix@,$prefix,;t t
80651.76Spookas,@program_transform_name@,$program_transform_name,;t t
80661.76Spookas,@bindir@,$bindir,;t t
80671.76Spookas,@sbindir@,$sbindir,;t t
80681.76Spookas,@libexecdir@,$libexecdir,;t t
80691.76Spookas,@datadir@,$datadir,;t t
80701.76Spookas,@sysconfdir@,$sysconfdir,;t t
80711.76Spookas,@sharedstatedir@,$sharedstatedir,;t t
80721.76Spookas,@localstatedir@,$localstatedir,;t t
80731.76Spookas,@libdir@,$libdir,;t t
80741.76Spookas,@includedir@,$includedir,;t t
80751.76Spookas,@oldincludedir@,$oldincludedir,;t t
80761.76Spookas,@infodir@,$infodir,;t t
80771.76Spookas,@mandir@,$mandir,;t t
80781.76Spookas,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
80791.76Spookas,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
80801.76Spookas,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
80811.76Spookas,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
80821.76Spookas,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
80831.76Spookas,@build_alias@,$build_alias,;t t
80841.76Spookas,@host_alias@,$host_alias,;t t
80851.76Spookas,@target_alias@,$target_alias,;t t
80861.76Spookas,@ECHO_C@,$ECHO_C,;t t
80871.76Spookas,@ECHO_N@,$ECHO_N,;t t
80881.76Spookas,@ECHO_T@,$ECHO_T,;t t
80891.76Spookas,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
80901.76Spookas,@DEFS@,$DEFS,;t t
80911.76Spookas,@LIBS@,$LIBS,;t t
80921.76Spookas,@CC@,$CC,;t t
80931.76Spookas,@CFLAGS@,$CFLAGS,;t t
80941.76Spookas,@LDFLAGS@,$LDFLAGS,;t t
80951.76Spookas,@CPPFLAGS@,$CPPFLAGS,;t t
80961.76Spookas,@ac_ct_CC@,$ac_ct_CC,;t t
80971.76Spookas,@EXEEXT@,$EXEEXT,;t t
80981.76Spookas,@OBJEXT@,$OBJEXT,;t t
80991.76Spookas,@CPP@,$CPP,;t t
81001.76Spookas,@BSHELL@,$BSHELL,;t t
81011.76Spookas,@ALLOCA@,$ALLOCA,;t t
81021.76Spookas,@HAVE_PTHREAD_H@,$HAVE_PTHREAD_H,;t t
81031.76SpookaCEOF
81041.76Spooka
81051.76SpookaEOF
81061.76Spooka
81071.76Spooka  cat >>$CONFIG_STATUS <<\EOF
81081.76Spooka  # Split the substitutions into bite-sized pieces for seds with
81091.76Spooka  # small command number limits, like on Digital OSF/1 and HP-UX.
81101.76Spooka  ac_max_sed_lines=48
81111.76Spooka  ac_sed_frag=1 # Number of current file.
81121.76Spooka  ac_beg=1 # First line for current file.
81131.76Spooka  ac_end=$ac_max_sed_lines # Line after last line for current file.
81141.76Spooka  ac_more_lines=:
81151.76Spooka  ac_sed_cmds=
81161.76Spooka  while $ac_more_lines; do
81171.76Spooka    if test $ac_beg -gt 1; then
81181.76Spooka      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
81191.76Spooka    else
81201.76Spooka      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
81211.76Spooka    fi
81221.76Spooka    if test ! -s $tmp/subs.frag; then
81231.76Spooka      ac_more_lines=false
81241.76Spooka    else
81251.76Spooka      # The purpose of the label and of the branching condition is to
81261.76Spooka      # speed up the sed processing (if there are no `@' at all, there
81271.76Spooka      # is no need to browse any of the substitutions).
81281.76Spooka      # These are the two extra sed commands mentioned above.
81291.76Spooka      (echo ':t
81301.76Spooka  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
81311.76Spooka      if test -z "$ac_sed_cmds"; then
81321.76Spooka  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
81331.76Spooka      else
81341.76Spooka  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
81351.76Spooka      fi
81361.76Spooka      ac_sed_frag=`expr $ac_sed_frag + 1`
81371.76Spooka      ac_beg=$ac_end
81381.76Spooka      ac_end=`expr $ac_end + $ac_max_sed_lines`
81391.76Spooka    fi
81401.76Spooka  done
81411.76Spooka  if test -z "$ac_sed_cmds"; then
81421.76Spooka    ac_sed_cmds=cat
81431.76Spooka  fi
81441.76Spookafi # test -n "$CONFIG_FILES"
81451.65Schristos
81461.76SpookaEOF
81471.76Spookacat >>$CONFIG_STATUS <<\EOF
81481.76Spookafor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
81491.76Spooka  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
81501.76Spooka  case $ac_file in
81511.76Spooka  - | *:- | *:-:* ) # input from stdin
81521.76Spooka        cat >$tmp/stdin
81531.76Spooka        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
81541.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
81551.76Spooka  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
81561.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
81571.76Spooka  * )   ac_file_in=$ac_file.in ;;
81581.76Spooka  esac
81591.65Schristos
81601.76Spooka  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
81611.76Spooka  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81621.76Spooka         X"$ac_file" : 'X\(//\)[^/]' \| \
81631.76Spooka         X"$ac_file" : 'X\(//\)$' \| \
81641.76Spooka         X"$ac_file" : 'X\(/\)' \| \
81651.76Spooka         .     : '\(.\)' 2>/dev/null ||
81661.76Spookaecho X"$ac_file" |
81671.76Spooka    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
81681.76Spooka  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
81691.76Spooka  	  /^X\(\/\/\)$/{ s//\1/; q; }
81701.76Spooka  	  /^X\(\/\).*/{ s//\1/; q; }
81711.76Spooka  	  s/.*/./; q'`
81721.76Spooka  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
81731.76Spooka    { case "$ac_dir" in
81741.76Spooka  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
81751.76Spooka  *)                      as_incr_dir=.;;
81761.76Spookaesac
81771.76Spookaas_dummy="$ac_dir"
81781.76Spookafor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
81791.76Spooka  case $as_mkdir_dir in
81801.76Spooka    # Skip DOS drivespec
81811.76Spooka    ?:) as_incr_dir=$as_mkdir_dir ;;
81821.76Spooka    *)
81831.76Spooka      as_incr_dir=$as_incr_dir/$as_mkdir_dir
81841.76Spooka      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
81851.76Spooka    ;;
81861.76Spooka  esac
81871.76Spookadone; }
81881.65Schristos
81891.76Spooka    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
81901.76Spooka    # A "../" for each directory in $ac_dir_suffix.
81911.76Spooka    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
81921.65Schristos  else
81931.76Spooka    ac_dir_suffix= ac_dots=
81941.1Stv  fi
81951.65Schristos
81961.76Spooka  case $srcdir in
81971.76Spooka  .)  ac_srcdir=.
81981.76Spooka      if test -z "$ac_dots"; then
81991.76Spooka         ac_top_srcdir=.
82001.76Spooka      else
82011.76Spooka         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
82021.76Spooka      fi ;;
82031.76Spooka  [\\/]* | ?:[\\/]* )
82041.76Spooka      ac_srcdir=$srcdir$ac_dir_suffix;
82051.76Spooka      ac_top_srcdir=$srcdir ;;
82061.76Spooka  *) # Relative path.
82071.76Spooka    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
82081.76Spooka    ac_top_srcdir=$ac_dots$srcdir ;;
82091.76Spooka  esac
82101.74Schristos
82111.76Spooka  if test x"$ac_file" != x-; then
82121.78Sjmcneill    { echo "$as_me:8212: creating $ac_file" >&5
82131.76Spookaecho "$as_me: creating $ac_file" >&6;}
82141.76Spooka    rm -f "$ac_file"
82151.76Spooka  fi
82161.76Spooka  # Let's still pretend it is `configure' which instantiates (i.e., don't
82171.76Spooka  # use $as_me), people would be surprised to read:
82181.76Spooka  #    /* config.h.  Generated automatically by config.status.  */
82191.76Spooka  configure_input="Generated automatically from `echo $ac_file_in |
82201.76Spooka                                                 sed 's,.*/,,'` by configure."
82211.76Spooka
82221.76Spooka  # First look for the input files in the build tree, otherwise in the
82231.76Spooka  # src tree.
82241.76Spooka  ac_file_inputs=`IFS=:
82251.76Spooka    for f in $ac_file_in; do
82261.76Spooka      case $f in
82271.76Spooka      -) echo $tmp/stdin ;;
82281.76Spooka      [\\/$]*)
82291.76Spooka         # Absolute (can't be DOS-style, as IFS=:)
82301.78Sjmcneill         test -f "$f" || { { echo "$as_me:8230: error: cannot find input file: $f" >&5
82311.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
82321.76Spooka   { (exit 1); exit 1; }; }
82331.76Spooka         echo $f;;
82341.76Spooka      *) # Relative
82351.76Spooka         if test -f "$f"; then
82361.76Spooka           # Build tree
82371.76Spooka           echo $f
82381.76Spooka         elif test -f "$srcdir/$f"; then
82391.76Spooka           # Source tree
82401.76Spooka           echo $srcdir/$f
82411.76Spooka         else
82421.76Spooka           # /dev/null tree
82431.78Sjmcneill           { { echo "$as_me:8243: error: cannot find input file: $f" >&5
82441.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
82451.76Spooka   { (exit 1); exit 1; }; }
82461.76Spooka         fi;;
82471.76Spooka      esac
82481.76Spooka    done` || { (exit 1); exit 1; }
82491.76SpookaEOF
82501.76Spookacat >>$CONFIG_STATUS <<EOF
82511.76Spooka  sed "$ac_vpsub
82521.76Spooka$extrasub
82531.76SpookaEOF
82541.76Spookacat >>$CONFIG_STATUS <<\EOF
82551.76Spooka:t
82561.76Spooka/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82571.76Spookas,@configure_input@,$configure_input,;t t
82581.76Spookas,@srcdir@,$ac_srcdir,;t t
82591.76Spookas,@top_srcdir@,$ac_top_srcdir,;t t
82601.76Spooka" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
82611.76Spooka  rm -f $tmp/stdin
82621.76Spooka  if test x"$ac_file" != x-; then
82631.76Spooka    mv $tmp/out $ac_file
82641.66Stsutsui  else
82651.76Spooka    cat $tmp/out
82661.76Spooka    rm -f $tmp/out
82671.66Stsutsui  fi
82681.76Spooka
82691.66Stsutsuidone
82701.76SpookaEOF
82711.76Spookacat >>$CONFIG_STATUS <<\EOF
82721.66Stsutsui
82731.76Spooka#
82741.76Spooka# CONFIG_HEADER section.
82751.76Spooka#
82761.66Stsutsui
82771.76Spooka# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
82781.76Spooka# NAME is the cpp macro being defined and VALUE is the value it is being given.
82791.76Spooka#
82801.76Spooka# ac_d sets the value in "#define NAME VALUE" lines.
82811.76Spookaac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
82821.76Spookaac_dB='[ 	].*$,\1#\2'
82831.76Spookaac_dC=' '
82841.76Spookaac_dD=',;t'
82851.76Spooka# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
82861.76Spookaac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
82871.76Spookaac_uB='$,\1#\2define\3'
82881.76Spookaac_uC=' '
82891.76Spookaac_uD=',;t'
82901.1Stv
82911.76Spookafor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
82921.76Spooka  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
82931.76Spooka  case $ac_file in
82941.76Spooka  - | *:- | *:-:* ) # input from stdin
82951.76Spooka        cat >$tmp/stdin
82961.76Spooka        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82971.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
82981.76Spooka  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82991.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
83001.76Spooka  * )   ac_file_in=$ac_file.in ;;
83011.74Schristos  esac
83021.74Schristos
83031.78Sjmcneill  test x"$ac_file" != x- && { echo "$as_me:8303: creating $ac_file" >&5
83041.76Spookaecho "$as_me: creating $ac_file" >&6;}
83051.76Spooka
83061.76Spooka  # First look for the input files in the build tree, otherwise in the
83071.76Spooka  # src tree.
83081.76Spooka  ac_file_inputs=`IFS=:
83091.76Spooka    for f in $ac_file_in; do
83101.76Spooka      case $f in
83111.76Spooka      -) echo $tmp/stdin ;;
83121.76Spooka      [\\/$]*)
83131.76Spooka         # Absolute (can't be DOS-style, as IFS=:)
83141.78Sjmcneill         test -f "$f" || { { echo "$as_me:8314: error: cannot find input file: $f" >&5
83151.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
83161.76Spooka   { (exit 1); exit 1; }; }
83171.76Spooka         echo $f;;
83181.76Spooka      *) # Relative
83191.76Spooka         if test -f "$f"; then
83201.76Spooka           # Build tree
83211.76Spooka           echo $f
83221.76Spooka         elif test -f "$srcdir/$f"; then
83231.76Spooka           # Source tree
83241.76Spooka           echo $srcdir/$f
83251.76Spooka         else
83261.76Spooka           # /dev/null tree
83271.78Sjmcneill           { { echo "$as_me:8327: error: cannot find input file: $f" >&5
83281.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
83291.76Spooka   { (exit 1); exit 1; }; }
83301.76Spooka         fi;;
83311.74Schristos      esac
83321.76Spooka    done` || { (exit 1); exit 1; }
83331.76Spooka  # Remove the trailing spaces.
83341.76Spooka  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
83351.76Spooka
83361.76SpookaEOF
83371.76Spooka
83381.76Spooka# Transform confdefs.h into two sed scripts, `conftest.defines' and
83391.76Spooka# `conftest.undefs', that substitutes the proper values into
83401.76Spooka# config.h.in to produce config.h.  The first handles `#define'
83411.76Spooka# templates, and the second `#undef' templates.
83421.76Spooka# And first: Protect against being on the right side of a sed subst in
83431.76Spooka# config.status.  Protect against being in an unquoted here document
83441.76Spooka# in config.status.
83451.76Spookarm -f conftest.defines conftest.undefs
83461.76Spooka# Using a here document instead of a string reduces the quoting nightmare.
83471.76Spooka# Putting comments in sed scripts is not portable.
83481.76Spooka#
83491.76Spooka# `end' is used to avoid that the second main sed command (meant for
83501.76Spooka# 0-ary CPP macros) applies to n-ary macro definitions.
83511.76Spooka# See the Autoconf documentation for `clear'.
83521.76Spookacat >confdef2sed.sed <<\EOF
83531.76Spookas/[\\&,]/\\&/g
83541.76Spookas,[\\$`],\\&,g
83551.76Spookat clear
83561.76Spooka: clear
83571.76Spookas,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
83581.76Spookat end
83591.76Spookas,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
83601.76Spooka: end
83611.76SpookaEOF
83621.76Spooka# If some macros were called several times there might be several times
83631.76Spooka# the same #defines, which is useless.  Nevertheless, we may not want to
83641.76Spooka# sort them, since we want the *last* AC-DEFINE to be honored.
83651.76Spookauniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
83661.76Spookased 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
83671.76Spookarm -f confdef2sed.sed
83681.76Spooka
83691.76Spooka# This sed command replaces #undef with comments.  This is necessary, for
83701.76Spooka# example, in the case of _POSIX_SOURCE, which is predefined and required
83711.76Spooka# on some systems where configure will not decide to define it.
83721.76Spookacat >>conftest.undefs <<\EOF
83731.76Spookas,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
83741.76SpookaEOF
83751.76Spooka
83761.76Spooka# Break up conftest.defines because some shells have a limit on the size
83771.76Spooka# of here documents, and old seds have small limits too (100 cmds).
83781.76Spookaecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
83791.76Spookaecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
83801.76Spookaecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
83811.76Spookaecho '  :' >>$CONFIG_STATUS
83821.76Spookarm -f conftest.tail
83831.76Spookawhile grep . conftest.defines >/dev/null
83841.76Spookado
83851.76Spooka  # Write a limited-size here document to $tmp/defines.sed.
83861.76Spooka  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
83871.76Spooka  # Speed up: don't consider the non `#define' lines.
83881.76Spooka  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
83891.76Spooka  # Work around the forget-to-reset-the-flag bug.
83901.76Spooka  echo 't clr' >>$CONFIG_STATUS
83911.76Spooka  echo ': clr' >>$CONFIG_STATUS
83921.76Spooka  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
83931.76Spooka  echo 'CEOF
83941.76Spooka  sed -f $tmp/defines.sed $tmp/in >$tmp/out
83951.76Spooka  rm -f $tmp/in
83961.76Spooka  mv $tmp/out $tmp/in
83971.76Spooka' >>$CONFIG_STATUS
83981.76Spooka  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
83991.76Spooka  rm -f conftest.defines
84001.76Spooka  mv conftest.tail conftest.defines
84011.76Spookadone
84021.76Spookarm -f conftest.defines
84031.76Spookaecho '  fi # egrep' >>$CONFIG_STATUS
84041.76Spookaecho >>$CONFIG_STATUS
84051.76Spooka
84061.76Spooka# Break up conftest.undefs because some shells have a limit on the size
84071.76Spooka# of here documents, and old seds have small limits too (100 cmds).
84081.76Spookaecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
84091.76Spookarm -f conftest.tail
84101.76Spookawhile grep . conftest.undefs >/dev/null
84111.76Spookado
84121.76Spooka  # Write a limited-size here document to $tmp/undefs.sed.
84131.76Spooka  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
84141.76Spooka  # Speed up: don't consider the non `#undef'
84151.76Spooka  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
84161.76Spooka  # Work around the forget-to-reset-the-flag bug.
84171.76Spooka  echo 't clr' >>$CONFIG_STATUS
84181.76Spooka  echo ': clr' >>$CONFIG_STATUS
84191.76Spooka  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
84201.76Spooka  echo 'CEOF
84211.76Spooka  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
84221.76Spooka  rm -f $tmp/in
84231.76Spooka  mv $tmp/out $tmp/in
84241.76Spooka' >>$CONFIG_STATUS
84251.76Spooka  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
84261.76Spooka  rm -f conftest.undefs
84271.76Spooka  mv conftest.tail conftest.undefs
84281.76Spookadone
84291.76Spookarm -f conftest.undefs
84301.76Spooka
84311.76Spookacat >>$CONFIG_STATUS <<\EOF
84321.76Spooka  # Let's still pretend it is `configure' which instantiates (i.e., don't
84331.76Spooka  # use $as_me), people would be surprised to read:
84341.76Spooka  #    /* config.h.  Generated automatically by config.status.  */
84351.76Spooka  if test x"$ac_file" = x-; then
84361.76Spooka    echo "/* Generated automatically by configure.  */" >$tmp/config.h
84371.76Spooka  else
84381.76Spooka    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
84391.76Spooka  fi
84401.76Spooka  cat $tmp/in >>$tmp/config.h
84411.76Spooka  rm -f $tmp/in
84421.76Spooka  if test x"$ac_file" != x-; then
84431.76Spooka    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
84441.78Sjmcneill      { echo "$as_me:8444: $ac_file is unchanged" >&5
84451.76Spookaecho "$as_me: $ac_file is unchanged" >&6;}
84461.76Spooka    else
84471.76Spooka      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84481.76Spooka         X"$ac_file" : 'X\(//\)[^/]' \| \
84491.76Spooka         X"$ac_file" : 'X\(//\)$' \| \
84501.76Spooka         X"$ac_file" : 'X\(/\)' \| \
84511.76Spooka         .     : '\(.\)' 2>/dev/null ||
84521.76Spookaecho X"$ac_file" |
84531.76Spooka    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84541.76Spooka  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84551.76Spooka  	  /^X\(\/\/\)$/{ s//\1/; q; }
84561.76Spooka  	  /^X\(\/\).*/{ s//\1/; q; }
84571.76Spooka  	  s/.*/./; q'`
84581.76Spooka      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
84591.76Spooka        { case "$ac_dir" in
84601.76Spooka  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
84611.76Spooka  *)                      as_incr_dir=.;;
84621.76Spookaesac
84631.76Spookaas_dummy="$ac_dir"
84641.76Spookafor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
84651.76Spooka  case $as_mkdir_dir in
84661.76Spooka    # Skip DOS drivespec
84671.76Spooka    ?:) as_incr_dir=$as_mkdir_dir ;;
84681.76Spooka    *)
84691.76Spooka      as_incr_dir=$as_incr_dir/$as_mkdir_dir
84701.76Spooka      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
84711.66Stsutsui    ;;
84721.66Stsutsui  esac
84731.76Spookadone; }
84741.66Stsutsui
84751.76Spooka      fi
84761.76Spooka      rm -f $ac_file
84771.76Spooka      mv $tmp/config.h $ac_file
84781.1Stv    fi
84791.1Stv  else
84801.76Spooka    cat $tmp/config.h
84811.76Spooka    rm -f $tmp/config.h
84821.1Stv  fi
84831.76Spookadone
84841.76SpookaEOF
84851.74Schristos
84861.76Spookacat >>$CONFIG_STATUS <<\EOF
84871.74Schristos
84881.76Spooka{ (exit 0); exit 0; }
84891.76SpookaEOF
84901.76Spookachmod +x $CONFIG_STATUS
84911.1Stvac_clean_files=$ac_clean_files_save
84921.1Stv
84931.1Stv# configure is writing to config.log, and then calls config.status.
84941.1Stv# config.status does its own redirection, appending to config.log.
84951.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
84961.1Stv# by configure, so config.status won't be able to write to it; its
84971.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
84981.1Stv# effectively closing config.log, so it can be properly (re)opened and
84991.1Stv# appended to by config.status.  When coming back to configure, we
85001.1Stv# need to make the FD available again.
85011.1Stvif test "$no_create" != yes; then
85021.1Stv  ac_cs_success=:
85031.1Stv  exec 5>/dev/null
85041.76Spooka  $SHELL $CONFIG_STATUS || ac_cs_success=false
85051.1Stv  exec 5>>config.log
85061.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85071.1Stv  # would make configure fail if this is the last instruction.
85081.76Spooka  $ac_cs_success || { (exit 1); exit 1; }
85091.1Stvfi
85101.1Stv
8511