configure revision 1.79
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.79Sjmcneillecho "$as_me:4524: checking for struct tm.tm_gmtoff" >&5
45251.79Sjmcneillecho $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
45261.79Sjmcneillif test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
45271.79Sjmcneill  echo $ECHO_N "(cached) $ECHO_C" >&6
45281.79Sjmcneillelse
45291.79Sjmcneill  cat >conftest.$ac_ext <<_ACEOF
45301.79Sjmcneill#line 4530 "configure"
45311.79Sjmcneill#include "confdefs.h"
45321.79Sjmcneill#include <time.h>
45331.79Sjmcneill
45341.79Sjmcneillint
45351.79Sjmcneillmain ()
45361.79Sjmcneill{
45371.79Sjmcneillstatic struct tm ac_aggr;
45381.79Sjmcneillif (ac_aggr.tm_gmtoff)
45391.79Sjmcneillreturn 0;
45401.79Sjmcneill  ;
45411.79Sjmcneill  return 0;
45421.79Sjmcneill}
45431.79Sjmcneill_ACEOF
45441.79Sjmcneillrm -f conftest.$ac_objext
45451.79Sjmcneillif { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
45461.79Sjmcneill  (eval $ac_compile) 2>&5
45471.79Sjmcneill  ac_status=$?
45481.79Sjmcneill  echo "$as_me:4548: \$? = $ac_status" >&5
45491.79Sjmcneill  (exit $ac_status); } &&
45501.79Sjmcneill         { ac_try='test -s conftest.$ac_objext'
45511.79Sjmcneill  { (eval echo "$as_me:4551: \"$ac_try\"") >&5
45521.79Sjmcneill  (eval $ac_try) 2>&5
45531.79Sjmcneill  ac_status=$?
45541.79Sjmcneill  echo "$as_me:4554: \$? = $ac_status" >&5
45551.79Sjmcneill  (exit $ac_status); }; }; then
45561.79Sjmcneill  ac_cv_member_struct_tm_tm_gmtoff=yes
45571.79Sjmcneillelse
45581.79Sjmcneill  echo "$as_me: failed program was:" >&5
45591.79Sjmcneillcat conftest.$ac_ext >&5
45601.79Sjmcneillac_cv_member_struct_tm_tm_gmtoff=no
45611.79Sjmcneillfi
45621.79Sjmcneillrm -f conftest.$ac_objext conftest.$ac_ext
45631.79Sjmcneillfi
45641.79Sjmcneillecho "$as_me:4564: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
45651.79Sjmcneillecho "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
45661.79Sjmcneillif test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
45671.79Sjmcneill
45681.79Sjmcneillcat >>confdefs.h <<EOF
45691.79Sjmcneill#define HAVE_STRUCT_TM_TM_GMTOFF 1
45701.79SjmcneillEOF
45711.79Sjmcneill
45721.79Sjmcneillfi
45731.79Sjmcneill
45741.76Spooka# Global variable decls.
45751.79Sjmcneillecho "$as_me:4575: checking whether optind is declared" >&5
45761.76Spookaecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
45771.76Spookaif test "${ac_cv_have_decl_optind+set}" = set; then
45781.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
45791.76Spookaelse
45801.76Spooka  cat >conftest.$ac_ext <<_ACEOF
45811.79Sjmcneill#line 4581 "configure"
45821.76Spooka#include "confdefs.h"
45831.76Spooka
45841.76Spooka#include <stdio.h>
45851.76Spooka#include <stdlib.h>
45861.76Spooka#include <unistd.h>
45871.76Spooka#ifdef HAVE_GETOPT_H
45881.76Spooka#include <getopt.h>
45891.76Spooka#endif
45901.76Spooka
45911.76Spookaint
45921.76Spookamain ()
45931.76Spooka{
45941.76Spooka#ifndef optind
45951.76Spooka  char *p = (char *) optind;
45961.76Spooka#endif
45971.76Spooka
45981.76Spooka  ;
45991.76Spooka  return 0;
46001.76Spooka}
46011.76Spooka_ACEOF
46021.76Spookarm -f conftest.$ac_objext
46031.79Sjmcneillif { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
46041.76Spooka  (eval $ac_compile) 2>&5
46051.76Spooka  ac_status=$?
46061.79Sjmcneill  echo "$as_me:4606: \$? = $ac_status" >&5
46071.76Spooka  (exit $ac_status); } &&
46081.76Spooka         { ac_try='test -s conftest.$ac_objext'
46091.79Sjmcneill  { (eval echo "$as_me:4609: \"$ac_try\"") >&5
46101.76Spooka  (eval $ac_try) 2>&5
46111.76Spooka  ac_status=$?
46121.79Sjmcneill  echo "$as_me:4612: \$? = $ac_status" >&5
46131.76Spooka  (exit $ac_status); }; }; then
46141.76Spooka  ac_cv_have_decl_optind=yes
46151.76Spookaelse
46161.76Spooka  echo "$as_me: failed program was:" >&5
46171.76Spookacat conftest.$ac_ext >&5
46181.76Spookaac_cv_have_decl_optind=no
46191.76Spookafi
46201.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
46211.76Spookafi
46221.79Sjmcneillecho "$as_me:4622: result: $ac_cv_have_decl_optind" >&5
46231.76Spookaecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
46241.76Spookaif test $ac_cv_have_decl_optind = yes; then
46251.76Spooka
46261.76Spookacat >>confdefs.h <<EOF
46271.76Spooka#define HAVE_DECL_OPTIND 1
46281.76SpookaEOF
46291.76Spooka
46301.76Spookaelse
46311.76Spooka  cat >>confdefs.h <<EOF
46321.76Spooka#define HAVE_DECL_OPTIND 0
46331.76SpookaEOF
46341.76Spooka
46351.76Spookafi
46361.79Sjmcneillecho "$as_me:4636: checking whether optreset is declared" >&5
46371.76Spookaecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
46381.76Spookaif test "${ac_cv_have_decl_optreset+set}" = set; then
46391.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
46401.76Spookaelse
46411.76Spooka  cat >conftest.$ac_ext <<_ACEOF
46421.79Sjmcneill#line 4642 "configure"
46431.76Spooka#include "confdefs.h"
46441.76Spooka
46451.76Spooka#include <stdio.h>
46461.76Spooka#include <stdlib.h>
46471.76Spooka#include <unistd.h>
46481.76Spooka#ifdef HAVE_GETOPT_H
46491.76Spooka#include <getopt.h>
46501.76Spooka#endif
46511.76Spooka
46521.76Spookaint
46531.76Spookamain ()
46541.76Spooka{
46551.76Spooka#ifndef optreset
46561.76Spooka  char *p = (char *) optreset;
46571.76Spooka#endif
46581.76Spooka
46591.76Spooka  ;
46601.76Spooka  return 0;
46611.76Spooka}
46621.76Spooka_ACEOF
46631.76Spookarm -f conftest.$ac_objext
46641.79Sjmcneillif { (eval echo "$as_me:4664: \"$ac_compile\"") >&5
46651.76Spooka  (eval $ac_compile) 2>&5
46661.76Spooka  ac_status=$?
46671.79Sjmcneill  echo "$as_me:4667: \$? = $ac_status" >&5
46681.76Spooka  (exit $ac_status); } &&
46691.76Spooka         { ac_try='test -s conftest.$ac_objext'
46701.79Sjmcneill  { (eval echo "$as_me:4670: \"$ac_try\"") >&5
46711.76Spooka  (eval $ac_try) 2>&5
46721.76Spooka  ac_status=$?
46731.79Sjmcneill  echo "$as_me:4673: \$? = $ac_status" >&5
46741.76Spooka  (exit $ac_status); }; }; then
46751.76Spooka  ac_cv_have_decl_optreset=yes
46761.76Spookaelse
46771.76Spooka  echo "$as_me: failed program was:" >&5
46781.76Spookacat conftest.$ac_ext >&5
46791.76Spookaac_cv_have_decl_optreset=no
46801.76Spookafi
46811.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
46821.76Spookafi
46831.79Sjmcneillecho "$as_me:4683: result: $ac_cv_have_decl_optreset" >&5
46841.76Spookaecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
46851.76Spookaif test $ac_cv_have_decl_optreset = yes; then
46861.76Spooka
46871.76Spookacat >>confdefs.h <<EOF
46881.76Spooka#define HAVE_DECL_OPTRESET 1
46891.76SpookaEOF
46901.76Spooka
46911.76Spookaelse
46921.76Spooka  cat >>confdefs.h <<EOF
46931.76Spooka#define HAVE_DECL_OPTRESET 0
46941.76SpookaEOF
46951.76Spooka
46961.76Spookafi
46971.76Spooka
46981.79Sjmcneillecho "$as_me:4698: checking whether sys_signame is declared" >&5
46991.76Spookaecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
47001.76Spookaif test "${ac_cv_have_decl_sys_signame+set}" = set; then
47011.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
47021.76Spookaelse
47031.76Spooka  cat >conftest.$ac_ext <<_ACEOF
47041.79Sjmcneill#line 4704 "configure"
47051.76Spooka#include "confdefs.h"
47061.76Spooka#include <signal.h>
47071.76Spooka
47081.76Spookaint
47091.76Spookamain ()
47101.76Spooka{
47111.76Spooka#ifndef sys_signame
47121.76Spooka  char *p = (char *) sys_signame;
47131.76Spooka#endif
47141.76Spooka
47151.76Spooka  ;
47161.76Spooka  return 0;
47171.76Spooka}
47181.76Spooka_ACEOF
47191.76Spookarm -f conftest.$ac_objext
47201.79Sjmcneillif { (eval echo "$as_me:4720: \"$ac_compile\"") >&5
47211.76Spooka  (eval $ac_compile) 2>&5
47221.76Spooka  ac_status=$?
47231.79Sjmcneill  echo "$as_me:4723: \$? = $ac_status" >&5
47241.76Spooka  (exit $ac_status); } &&
47251.76Spooka         { ac_try='test -s conftest.$ac_objext'
47261.79Sjmcneill  { (eval echo "$as_me:4726: \"$ac_try\"") >&5
47271.76Spooka  (eval $ac_try) 2>&5
47281.76Spooka  ac_status=$?
47291.79Sjmcneill  echo "$as_me:4729: \$? = $ac_status" >&5
47301.76Spooka  (exit $ac_status); }; }; then
47311.76Spooka  ac_cv_have_decl_sys_signame=yes
47321.76Spookaelse
47331.76Spooka  echo "$as_me: failed program was:" >&5
47341.76Spookacat conftest.$ac_ext >&5
47351.76Spookaac_cv_have_decl_sys_signame=no
47361.76Spookafi
47371.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
47381.76Spookafi
47391.79Sjmcneillecho "$as_me:4739: result: $ac_cv_have_decl_sys_signame" >&5
47401.76Spookaecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
47411.76Spookaif test $ac_cv_have_decl_sys_signame = yes; then
47421.76Spooka
47431.76Spookacat >>confdefs.h <<EOF
47441.76Spooka#define HAVE_DECL_SYS_SIGNAME 1
47451.76SpookaEOF
47461.76Spooka
47471.76Spookaelse
47481.76Spooka  cat >>confdefs.h <<EOF
47491.76Spooka#define HAVE_DECL_SYS_SIGNAME 0
47501.76SpookaEOF
47511.76Spooka
47521.76Spookafi
47531.76Spooka
47541.76Spooka# Library functions (where a .h check isn't enough).
47551.76Spooka# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
47561.76Spooka# for constant arguments.  Useless!
47571.79Sjmcneillecho "$as_me:4757: checking for working alloca.h" >&5
47581.76Spookaecho $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
47591.76Spookaif test "${ac_cv_working_alloca_h+set}" = set; then
47601.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
47611.76Spookaelse
47621.76Spooka  cat >conftest.$ac_ext <<_ACEOF
47631.79Sjmcneill#line 4763 "configure"
47641.76Spooka#include "confdefs.h"
47651.76Spooka#include <alloca.h>
47661.76Spookaint
47671.76Spookamain ()
47681.76Spooka{
47691.76Spookachar *p = (char *) alloca (2 * sizeof (int));
47701.76Spooka  ;
47711.76Spooka  return 0;
47721.76Spooka}
47731.76Spooka_ACEOF
47741.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
47751.79Sjmcneillif { (eval echo "$as_me:4775: \"$ac_link\"") >&5
47761.76Spooka  (eval $ac_link) 2>&5
47771.76Spooka  ac_status=$?
47781.79Sjmcneill  echo "$as_me:4778: \$? = $ac_status" >&5
47791.76Spooka  (exit $ac_status); } &&
47801.76Spooka         { ac_try='test -s conftest$ac_exeext'
47811.79Sjmcneill  { (eval echo "$as_me:4781: \"$ac_try\"") >&5
47821.76Spooka  (eval $ac_try) 2>&5
47831.76Spooka  ac_status=$?
47841.79Sjmcneill  echo "$as_me:4784: \$? = $ac_status" >&5
47851.76Spooka  (exit $ac_status); }; }; then
47861.76Spooka  ac_cv_working_alloca_h=yes
47871.76Spookaelse
47881.76Spooka  echo "$as_me: failed program was:" >&5
47891.76Spookacat conftest.$ac_ext >&5
47901.76Spookaac_cv_working_alloca_h=no
47911.76Spookafi
47921.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47931.76Spookafi
47941.79Sjmcneillecho "$as_me:4794: result: $ac_cv_working_alloca_h" >&5
47951.76Spookaecho "${ECHO_T}$ac_cv_working_alloca_h" >&6
47961.76Spookaif test $ac_cv_working_alloca_h = yes; then
47971.76Spooka
47981.76Spookacat >>confdefs.h <<\EOF
47991.76Spooka#define HAVE_ALLOCA_H 1
48001.76SpookaEOF
48011.76Spooka
48021.76Spookafi
48031.76Spooka
48041.79Sjmcneillecho "$as_me:4804: checking for alloca" >&5
48051.76Spookaecho $ECHO_N "checking for alloca... $ECHO_C" >&6
48061.76Spookaif test "${ac_cv_func_alloca_works+set}" = set; then
48071.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
48081.76Spookaelse
48091.76Spooka  cat >conftest.$ac_ext <<_ACEOF
48101.79Sjmcneill#line 4810 "configure"
48111.76Spooka#include "confdefs.h"
48121.76Spooka#ifdef __GNUC__
48131.76Spooka# define alloca __builtin_alloca
48141.76Spooka#else
48151.76Spooka# ifdef _MSC_VER
48161.76Spooka#  include <malloc.h>
48171.76Spooka#  define alloca _alloca
48181.76Spooka# else
48191.76Spooka#  if HAVE_ALLOCA_H
48201.76Spooka#   include <alloca.h>
48211.76Spooka#  else
48221.76Spooka#   ifdef _AIX
48231.76Spooka #pragma alloca
48241.76Spooka#   else
48251.76Spooka#    ifndef alloca /* predefined by HP cc +Olibcalls */
48261.76Spookachar *alloca ();
48271.76Spooka#    endif
48281.76Spooka#   endif
48291.76Spooka#  endif
48301.76Spooka# endif
48311.76Spooka#endif
48321.76Spooka
48331.76Spookaint
48341.76Spookamain ()
48351.76Spooka{
48361.76Spookachar *p = (char *) alloca (1);
48371.76Spooka  ;
48381.76Spooka  return 0;
48391.76Spooka}
48401.76Spooka_ACEOF
48411.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
48421.79Sjmcneillif { (eval echo "$as_me:4842: \"$ac_link\"") >&5
48431.76Spooka  (eval $ac_link) 2>&5
48441.76Spooka  ac_status=$?
48451.79Sjmcneill  echo "$as_me:4845: \$? = $ac_status" >&5
48461.76Spooka  (exit $ac_status); } &&
48471.76Spooka         { ac_try='test -s conftest$ac_exeext'
48481.79Sjmcneill  { (eval echo "$as_me:4848: \"$ac_try\"") >&5
48491.76Spooka  (eval $ac_try) 2>&5
48501.76Spooka  ac_status=$?
48511.79Sjmcneill  echo "$as_me:4851: \$? = $ac_status" >&5
48521.76Spooka  (exit $ac_status); }; }; then
48531.76Spooka  ac_cv_func_alloca_works=yes
48541.76Spookaelse
48551.76Spooka  echo "$as_me: failed program was:" >&5
48561.76Spookacat conftest.$ac_ext >&5
48571.76Spookaac_cv_func_alloca_works=no
48581.76Spookafi
48591.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48601.76Spookafi
48611.79Sjmcneillecho "$as_me:4861: result: $ac_cv_func_alloca_works" >&5
48621.76Spookaecho "${ECHO_T}$ac_cv_func_alloca_works" >&6
48631.76Spooka
48641.76Spookaif test $ac_cv_func_alloca_works = yes; then
48651.76Spooka
48661.76Spookacat >>confdefs.h <<\EOF
48671.76Spooka#define HAVE_ALLOCA 1
48681.76SpookaEOF
48691.76Spooka
48701.76Spookaelse
48711.76Spooka  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
48721.76Spooka# that cause trouble.  Some versions do not even contain alloca or
48731.76Spooka# contain a buggy version.  If you still want to use their alloca,
48741.76Spooka# use ar to extract alloca.o from them instead of compiling alloca.c.
48751.76Spooka
48761.76SpookaALLOCA=alloca.$ac_objext
48771.76Spooka
48781.76Spookacat >>confdefs.h <<\EOF
48791.76Spooka#define C_ALLOCA 1
48801.76SpookaEOF
48811.76Spooka
48821.79Sjmcneillecho "$as_me:4882: checking whether \`alloca.c' needs Cray hooks" >&5
48831.76Spookaecho $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
48841.76Spookaif test "${ac_cv_os_cray+set}" = set; then
48851.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
48861.76Spookaelse
48871.76Spooka  cat >conftest.$ac_ext <<_ACEOF
48881.79Sjmcneill#line 4888 "configure"
48891.76Spooka#include "confdefs.h"
48901.76Spooka#if defined(CRAY) && ! defined(CRAY2)
48911.76Spookawebecray
48921.76Spooka#else
48931.76Spookawenotbecray
48941.76Spooka#endif
48951.76Spooka
48961.76Spooka_ACEOF
48971.76Spookaif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48981.76Spooka  egrep "webecray" >/dev/null 2>&1; then
48991.76Spooka  ac_cv_os_cray=yes
49001.76Spookaelse
49011.76Spooka  ac_cv_os_cray=no
49021.76Spookafi
49031.76Spookarm -f conftest*
49041.76Spooka
49051.76Spookafi
49061.79Sjmcneillecho "$as_me:4906: result: $ac_cv_os_cray" >&5
49071.76Spookaecho "${ECHO_T}$ac_cv_os_cray" >&6
49081.76Spookaif test $ac_cv_os_cray = yes; then
49091.76Spooka  for ac_func in _getb67 GETB67 getb67; do
49101.76Spooka    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49111.79Sjmcneillecho "$as_me:4911: checking for $ac_func" >&5
49121.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49131.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
49141.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
49151.76Spookaelse
49161.76Spooka  cat >conftest.$ac_ext <<_ACEOF
49171.79Sjmcneill#line 4917 "configure"
49181.76Spooka#include "confdefs.h"
49191.76Spooka/* System header to define __stub macros and hopefully few prototypes,
49201.76Spooka    which can conflict with char $ac_func (); below.  */
49211.76Spooka#include <assert.h>
49221.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
49231.76Spooka#ifdef __cplusplus
49241.76Spookaextern "C"
49251.76Spooka#endif
49261.76Spooka/* We use char because int might match the return type of a gcc2
49271.76Spooka   builtin and then its argument prototype would still apply.  */
49281.76Spookachar $ac_func ();
49291.76Spookachar (*f) ();
49301.76Spooka
49311.76Spookaint
49321.76Spookamain ()
49331.76Spooka{
49341.76Spooka/* The GNU C library defines this for functions which it implements
49351.76Spooka    to always fail with ENOSYS.  Some functions are actually named
49361.76Spooka    something starting with __ and the normal name is an alias.  */
49371.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49381.76Spookachoke me
49391.76Spooka#else
49401.76Spookaf = $ac_func;
49411.76Spooka#endif
49421.76Spooka
49431.76Spooka  ;
49441.76Spooka  return 0;
49451.76Spooka}
49461.76Spooka_ACEOF
49471.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
49481.79Sjmcneillif { (eval echo "$as_me:4948: \"$ac_link\"") >&5
49491.76Spooka  (eval $ac_link) 2>&5
49501.76Spooka  ac_status=$?
49511.79Sjmcneill  echo "$as_me:4951: \$? = $ac_status" >&5
49521.76Spooka  (exit $ac_status); } &&
49531.76Spooka         { ac_try='test -s conftest$ac_exeext'
49541.79Sjmcneill  { (eval echo "$as_me:4954: \"$ac_try\"") >&5
49551.76Spooka  (eval $ac_try) 2>&5
49561.76Spooka  ac_status=$?
49571.79Sjmcneill  echo "$as_me:4957: \$? = $ac_status" >&5
49581.76Spooka  (exit $ac_status); }; }; then
49591.76Spooka  eval "$as_ac_var=yes"
49601.76Spookaelse
49611.76Spooka  echo "$as_me: failed program was:" >&5
49621.76Spookacat conftest.$ac_ext >&5
49631.76Spookaeval "$as_ac_var=no"
49641.76Spookafi
49651.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49661.76Spookafi
49671.79Sjmcneillecho "$as_me:4967: result: `eval echo '${'$as_ac_var'}'`" >&5
49681.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49691.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
49701.76Spooka
49711.76Spookacat >>confdefs.h <<EOF
49721.76Spooka#define CRAY_STACKSEG_END $ac_func
49731.76SpookaEOF
49741.76Spooka
49751.76Spooka    break
49761.76Spookafi
49771.76Spooka
49781.76Spooka  done
49791.76Spookafi
49801.76Spooka
49811.79Sjmcneillecho "$as_me:4981: checking stack direction for C alloca" >&5
49821.76Spookaecho $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
49831.76Spookaif test "${ac_cv_c_stack_direction+set}" = set; then
49841.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
49851.76Spookaelse
49861.76Spooka  if test "$cross_compiling" = yes; then
49871.76Spooka  ac_cv_c_stack_direction=0
49881.76Spookaelse
49891.76Spooka  cat >conftest.$ac_ext <<_ACEOF
49901.79Sjmcneill#line 4990 "configure"
49911.76Spooka#include "confdefs.h"
49921.76Spookaint
49931.76Spookafind_stack_direction ()
49941.76Spooka{
49951.76Spooka  static char *addr = 0;
49961.76Spooka  auto char dummy;
49971.76Spooka  if (addr == 0)
49981.76Spooka    {
49991.76Spooka      addr = &dummy;
50001.76Spooka      return find_stack_direction ();
50011.76Spooka    }
50021.76Spooka  else
50031.76Spooka    return (&dummy > addr) ? 1 : -1;
50041.76Spooka}
50051.76Spooka
50061.76Spookaint
50071.76Spookamain ()
50081.76Spooka{
50091.76Spooka  exit (find_stack_direction () < 0);
50101.76Spooka}
50111.76Spooka_ACEOF
50121.76Spookarm -f conftest$ac_exeext
50131.79Sjmcneillif { (eval echo "$as_me:5013: \"$ac_link\"") >&5
50141.76Spooka  (eval $ac_link) 2>&5
50151.76Spooka  ac_status=$?
50161.79Sjmcneill  echo "$as_me:5016: \$? = $ac_status" >&5
50171.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
50181.79Sjmcneill  { (eval echo "$as_me:5018: \"$ac_try\"") >&5
50191.76Spooka  (eval $ac_try) 2>&5
50201.76Spooka  ac_status=$?
50211.79Sjmcneill  echo "$as_me:5021: \$? = $ac_status" >&5
50221.76Spooka  (exit $ac_status); }; }; then
50231.76Spooka  ac_cv_c_stack_direction=1
50241.76Spookaelse
50251.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
50261.76Spookaecho "$as_me: failed program was:" >&5
50271.76Spookacat conftest.$ac_ext >&5
50281.76Spookaac_cv_c_stack_direction=-1
50291.76Spookafi
50301.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
50311.76Spookafi
50321.76Spookafi
50331.79Sjmcneillecho "$as_me:5033: result: $ac_cv_c_stack_direction" >&5
50341.76Spookaecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
50351.76Spooka
50361.76Spookacat >>confdefs.h <<EOF
50371.76Spooka#define STACK_DIRECTION $ac_cv_c_stack_direction
50381.76SpookaEOF
50391.76Spooka
50401.76Spookafi
50411.76Spooka
50421.76Spookafor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
50431.76Spooka	dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \
50441.76Spooka	getopt getopt_long group_from_gid gid_from_group \
50451.76Spooka	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
50461.76Spooka	mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \
50471.76Spooka	pwrite raise_default_signal random setenv \
50481.77Sapb	setgroupent setprogname setpassent \
50491.77Sapb	snprintb_m snprintf strlcat strlcpy strmode \
50501.76Spooka	strndup strsep strsuftoll strtoll \
50511.76Spooka	user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
50521.76Spookado
50531.76Spookaas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50541.79Sjmcneillecho "$as_me:5054: checking for $ac_func" >&5
50551.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50561.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
50571.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
50581.76Spookaelse
50591.76Spooka  cat >conftest.$ac_ext <<_ACEOF
50601.79Sjmcneill#line 5060 "configure"
50611.76Spooka#include "confdefs.h"
50621.76Spooka/* System header to define __stub macros and hopefully few prototypes,
50631.76Spooka    which can conflict with char $ac_func (); below.  */
50641.76Spooka#include <assert.h>
50651.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
50661.76Spooka#ifdef __cplusplus
50671.76Spookaextern "C"
50681.76Spooka#endif
50691.76Spooka/* We use char because int might match the return type of a gcc2
50701.76Spooka   builtin and then its argument prototype would still apply.  */
50711.76Spookachar $ac_func ();
50721.76Spookachar (*f) ();
50731.76Spooka
50741.76Spookaint
50751.76Spookamain ()
50761.76Spooka{
50771.76Spooka/* The GNU C library defines this for functions which it implements
50781.76Spooka    to always fail with ENOSYS.  Some functions are actually named
50791.76Spooka    something starting with __ and the normal name is an alias.  */
50801.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50811.76Spookachoke me
50821.76Spooka#else
50831.76Spookaf = $ac_func;
50841.76Spooka#endif
50851.76Spooka
50861.76Spooka  ;
50871.76Spooka  return 0;
50881.76Spooka}
50891.76Spooka_ACEOF
50901.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
50911.79Sjmcneillif { (eval echo "$as_me:5091: \"$ac_link\"") >&5
50921.76Spooka  (eval $ac_link) 2>&5
50931.76Spooka  ac_status=$?
50941.79Sjmcneill  echo "$as_me:5094: \$? = $ac_status" >&5
50951.76Spooka  (exit $ac_status); } &&
50961.76Spooka         { ac_try='test -s conftest$ac_exeext'
50971.79Sjmcneill  { (eval echo "$as_me:5097: \"$ac_try\"") >&5
50981.76Spooka  (eval $ac_try) 2>&5
50991.76Spooka  ac_status=$?
51001.79Sjmcneill  echo "$as_me:5100: \$? = $ac_status" >&5
51011.76Spooka  (exit $ac_status); }; }; then
51021.76Spooka  eval "$as_ac_var=yes"
51031.76Spookaelse
51041.76Spooka  echo "$as_me: failed program was:" >&5
51051.76Spookacat conftest.$ac_ext >&5
51061.76Spookaeval "$as_ac_var=no"
51071.76Spookafi
51081.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51091.76Spookafi
51101.79Sjmcneillecho "$as_me:5110: result: `eval echo '${'$as_ac_var'}'`" >&5
51111.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51121.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
51131.76Spooka  cat >>confdefs.h <<EOF
51141.76Spooka#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51151.76SpookaEOF
51161.76Spooka
51171.76Spookafi
51181.76Spookadone
51191.76Spooka
51201.79Sjmcneillecho "$as_me:5120: checking whether user_from_uid is declared" >&5
51211.76Spookaecho $ECHO_N "checking whether user_from_uid is declared... $ECHO_C" >&6
51221.76Spookaif test "${ac_cv_have_decl_user_from_uid+set}" = set; then
51231.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
51241.76Spookaelse
51251.76Spooka  cat >conftest.$ac_ext <<_ACEOF
51261.79Sjmcneill#line 5126 "configure"
51271.76Spooka#include "confdefs.h"
51281.76Spooka
51291.76Spooka#include <pwd.h>
51301.76Spooka
51311.76Spookaint
51321.76Spookamain ()
51331.76Spooka{
51341.76Spooka#ifndef user_from_uid
51351.76Spooka  char *p = (char *) user_from_uid;
51361.76Spooka#endif
51371.76Spooka
51381.76Spooka  ;
51391.76Spooka  return 0;
51401.76Spooka}
51411.76Spooka_ACEOF
51421.76Spookarm -f conftest.$ac_objext
51431.79Sjmcneillif { (eval echo "$as_me:5143: \"$ac_compile\"") >&5
51441.76Spooka  (eval $ac_compile) 2>&5
51451.76Spooka  ac_status=$?
51461.79Sjmcneill  echo "$as_me:5146: \$? = $ac_status" >&5
51471.76Spooka  (exit $ac_status); } &&
51481.76Spooka         { ac_try='test -s conftest.$ac_objext'
51491.79Sjmcneill  { (eval echo "$as_me:5149: \"$ac_try\"") >&5
51501.76Spooka  (eval $ac_try) 2>&5
51511.76Spooka  ac_status=$?
51521.79Sjmcneill  echo "$as_me:5152: \$? = $ac_status" >&5
51531.76Spooka  (exit $ac_status); }; }; then
51541.76Spooka  ac_cv_have_decl_user_from_uid=yes
51551.76Spookaelse
51561.76Spooka  echo "$as_me: failed program was:" >&5
51571.76Spookacat conftest.$ac_ext >&5
51581.76Spookaac_cv_have_decl_user_from_uid=no
51591.76Spookafi
51601.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
51611.76Spookafi
51621.79Sjmcneillecho "$as_me:5162: result: $ac_cv_have_decl_user_from_uid" >&5
51631.76Spookaecho "${ECHO_T}$ac_cv_have_decl_user_from_uid" >&6
51641.76Spookaif test $ac_cv_have_decl_user_from_uid = yes; then
51651.76Spooka
51661.76Spookacat >>confdefs.h <<EOF
51671.76Spooka#define HAVE_DECL_USER_FROM_UID 1
51681.76SpookaEOF
51691.76Spooka
51701.76Spookaelse
51711.76Spooka  cat >>confdefs.h <<EOF
51721.76Spooka#define HAVE_DECL_USER_FROM_UID 0
51731.76SpookaEOF
51741.76Spooka
51751.76Spookafi
51761.79Sjmcneillecho "$as_me:5176: checking whether uid_from_user is declared" >&5
51771.76Spookaecho $ECHO_N "checking whether uid_from_user is declared... $ECHO_C" >&6
51781.76Spookaif test "${ac_cv_have_decl_uid_from_user+set}" = set; then
51791.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
51801.76Spookaelse
51811.76Spooka  cat >conftest.$ac_ext <<_ACEOF
51821.79Sjmcneill#line 5182 "configure"
51831.76Spooka#include "confdefs.h"
51841.76Spooka
51851.76Spooka#include <pwd.h>
51861.76Spooka
51871.76Spookaint
51881.76Spookamain ()
51891.76Spooka{
51901.76Spooka#ifndef uid_from_user
51911.76Spooka  char *p = (char *) uid_from_user;
51921.76Spooka#endif
51931.76Spooka
51941.76Spooka  ;
51951.76Spooka  return 0;
51961.76Spooka}
51971.76Spooka_ACEOF
51981.76Spookarm -f conftest.$ac_objext
51991.79Sjmcneillif { (eval echo "$as_me:5199: \"$ac_compile\"") >&5
52001.76Spooka  (eval $ac_compile) 2>&5
52011.76Spooka  ac_status=$?
52021.79Sjmcneill  echo "$as_me:5202: \$? = $ac_status" >&5
52031.76Spooka  (exit $ac_status); } &&
52041.76Spooka         { ac_try='test -s conftest.$ac_objext'
52051.79Sjmcneill  { (eval echo "$as_me:5205: \"$ac_try\"") >&5
52061.76Spooka  (eval $ac_try) 2>&5
52071.76Spooka  ac_status=$?
52081.79Sjmcneill  echo "$as_me:5208: \$? = $ac_status" >&5
52091.76Spooka  (exit $ac_status); }; }; then
52101.76Spooka  ac_cv_have_decl_uid_from_user=yes
52111.76Spookaelse
52121.76Spooka  echo "$as_me: failed program was:" >&5
52131.76Spookacat conftest.$ac_ext >&5
52141.76Spookaac_cv_have_decl_uid_from_user=no
52151.76Spookafi
52161.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
52171.76Spookafi
52181.79Sjmcneillecho "$as_me:5218: result: $ac_cv_have_decl_uid_from_user" >&5
52191.76Spookaecho "${ECHO_T}$ac_cv_have_decl_uid_from_user" >&6
52201.76Spookaif test $ac_cv_have_decl_uid_from_user = yes; then
52211.76Spooka
52221.76Spookacat >>confdefs.h <<EOF
52231.76Spooka#define HAVE_DECL_UID_FROM_USER 1
52241.76SpookaEOF
52251.76Spooka
52261.76Spookaelse
52271.76Spooka  cat >>confdefs.h <<EOF
52281.76Spooka#define HAVE_DECL_UID_FROM_USER 0
52291.76SpookaEOF
52301.76Spooka
52311.76Spookafi
52321.79Sjmcneillecho "$as_me:5232: checking whether pwcache_userdb is declared" >&5
52331.76Spookaecho $ECHO_N "checking whether pwcache_userdb is declared... $ECHO_C" >&6
52341.76Spookaif test "${ac_cv_have_decl_pwcache_userdb+set}" = set; then
52351.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
52361.76Spookaelse
52371.76Spooka  cat >conftest.$ac_ext <<_ACEOF
52381.79Sjmcneill#line 5238 "configure"
52391.76Spooka#include "confdefs.h"
52401.76Spooka
52411.76Spooka#include <pwd.h>
52421.76Spooka
52431.76Spookaint
52441.76Spookamain ()
52451.76Spooka{
52461.76Spooka#ifndef pwcache_userdb
52471.76Spooka  char *p = (char *) pwcache_userdb;
52481.76Spooka#endif
52491.76Spooka
52501.76Spooka  ;
52511.76Spooka  return 0;
52521.76Spooka}
52531.76Spooka_ACEOF
52541.76Spookarm -f conftest.$ac_objext
52551.79Sjmcneillif { (eval echo "$as_me:5255: \"$ac_compile\"") >&5
52561.76Spooka  (eval $ac_compile) 2>&5
52571.76Spooka  ac_status=$?
52581.79Sjmcneill  echo "$as_me:5258: \$? = $ac_status" >&5
52591.76Spooka  (exit $ac_status); } &&
52601.76Spooka         { ac_try='test -s conftest.$ac_objext'
52611.79Sjmcneill  { (eval echo "$as_me:5261: \"$ac_try\"") >&5
52621.76Spooka  (eval $ac_try) 2>&5
52631.76Spooka  ac_status=$?
52641.79Sjmcneill  echo "$as_me:5264: \$? = $ac_status" >&5
52651.76Spooka  (exit $ac_status); }; }; then
52661.76Spooka  ac_cv_have_decl_pwcache_userdb=yes
52671.76Spookaelse
52681.76Spooka  echo "$as_me: failed program was:" >&5
52691.76Spookacat conftest.$ac_ext >&5
52701.76Spookaac_cv_have_decl_pwcache_userdb=no
52711.76Spookafi
52721.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
52731.76Spookafi
52741.79Sjmcneillecho "$as_me:5274: result: $ac_cv_have_decl_pwcache_userdb" >&5
52751.76Spookaecho "${ECHO_T}$ac_cv_have_decl_pwcache_userdb" >&6
52761.76Spookaif test $ac_cv_have_decl_pwcache_userdb = yes; then
52771.76Spooka
52781.76Spookacat >>confdefs.h <<EOF
52791.76Spooka#define HAVE_DECL_PWCACHE_USERDB 1
52801.76SpookaEOF
52811.76Spooka
52821.76Spookaelse
52831.76Spooka  cat >>confdefs.h <<EOF
52841.76Spooka#define HAVE_DECL_PWCACHE_USERDB 0
52851.76SpookaEOF
52861.76Spooka
52871.76Spookafi
52881.76Spooka
52891.79Sjmcneillecho "$as_me:5289: checking whether group_from_gid is declared" >&5
52901.76Spookaecho $ECHO_N "checking whether group_from_gid is declared... $ECHO_C" >&6
52911.76Spookaif test "${ac_cv_have_decl_group_from_gid+set}" = set; then
52921.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
52931.76Spookaelse
52941.76Spooka  cat >conftest.$ac_ext <<_ACEOF
52951.79Sjmcneill#line 5295 "configure"
52961.76Spooka#include "confdefs.h"
52971.76Spooka
52981.76Spooka#include <grp.h>
52991.76Spooka
53001.76Spookaint
53011.76Spookamain ()
53021.76Spooka{
53031.76Spooka#ifndef group_from_gid
53041.76Spooka  char *p = (char *) group_from_gid;
53051.76Spooka#endif
53061.76Spooka
53071.76Spooka  ;
53081.76Spooka  return 0;
53091.76Spooka}
53101.76Spooka_ACEOF
53111.76Spookarm -f conftest.$ac_objext
53121.79Sjmcneillif { (eval echo "$as_me:5312: \"$ac_compile\"") >&5
53131.76Spooka  (eval $ac_compile) 2>&5
53141.76Spooka  ac_status=$?
53151.79Sjmcneill  echo "$as_me:5315: \$? = $ac_status" >&5
53161.76Spooka  (exit $ac_status); } &&
53171.76Spooka         { ac_try='test -s conftest.$ac_objext'
53181.79Sjmcneill  { (eval echo "$as_me:5318: \"$ac_try\"") >&5
53191.76Spooka  (eval $ac_try) 2>&5
53201.76Spooka  ac_status=$?
53211.79Sjmcneill  echo "$as_me:5321: \$? = $ac_status" >&5
53221.76Spooka  (exit $ac_status); }; }; then
53231.76Spooka  ac_cv_have_decl_group_from_gid=yes
53241.76Spookaelse
53251.76Spooka  echo "$as_me: failed program was:" >&5
53261.76Spookacat conftest.$ac_ext >&5
53271.76Spookaac_cv_have_decl_group_from_gid=no
53281.76Spookafi
53291.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
53301.76Spookafi
53311.79Sjmcneillecho "$as_me:5331: result: $ac_cv_have_decl_group_from_gid" >&5
53321.76Spookaecho "${ECHO_T}$ac_cv_have_decl_group_from_gid" >&6
53331.76Spookaif test $ac_cv_have_decl_group_from_gid = yes; then
53341.76Spooka
53351.76Spookacat >>confdefs.h <<EOF
53361.76Spooka#define HAVE_DECL_GROUP_FROM_GID 1
53371.76SpookaEOF
53381.76Spooka
53391.76Spookaelse
53401.76Spooka  cat >>confdefs.h <<EOF
53411.76Spooka#define HAVE_DECL_GROUP_FROM_GID 0
53421.76SpookaEOF
53431.76Spooka
53441.76Spookafi
53451.79Sjmcneillecho "$as_me:5345: checking whether gid_from_group is declared" >&5
53461.76Spookaecho $ECHO_N "checking whether gid_from_group is declared... $ECHO_C" >&6
53471.76Spookaif test "${ac_cv_have_decl_gid_from_group+set}" = set; then
53481.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
53491.76Spookaelse
53501.76Spooka  cat >conftest.$ac_ext <<_ACEOF
53511.79Sjmcneill#line 5351 "configure"
53521.76Spooka#include "confdefs.h"
53531.76Spooka
53541.76Spooka#include <grp.h>
53551.76Spooka
53561.76Spookaint
53571.76Spookamain ()
53581.76Spooka{
53591.76Spooka#ifndef gid_from_group
53601.76Spooka  char *p = (char *) gid_from_group;
53611.76Spooka#endif
53621.76Spooka
53631.76Spooka  ;
53641.76Spooka  return 0;
53651.76Spooka}
53661.76Spooka_ACEOF
53671.76Spookarm -f conftest.$ac_objext
53681.79Sjmcneillif { (eval echo "$as_me:5368: \"$ac_compile\"") >&5
53691.76Spooka  (eval $ac_compile) 2>&5
53701.76Spooka  ac_status=$?
53711.79Sjmcneill  echo "$as_me:5371: \$? = $ac_status" >&5
53721.76Spooka  (exit $ac_status); } &&
53731.76Spooka         { ac_try='test -s conftest.$ac_objext'
53741.79Sjmcneill  { (eval echo "$as_me:5374: \"$ac_try\"") >&5
53751.76Spooka  (eval $ac_try) 2>&5
53761.76Spooka  ac_status=$?
53771.79Sjmcneill  echo "$as_me:5377: \$? = $ac_status" >&5
53781.76Spooka  (exit $ac_status); }; }; then
53791.76Spooka  ac_cv_have_decl_gid_from_group=yes
53801.76Spookaelse
53811.76Spooka  echo "$as_me: failed program was:" >&5
53821.76Spookacat conftest.$ac_ext >&5
53831.76Spookaac_cv_have_decl_gid_from_group=no
53841.76Spookafi
53851.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
53861.76Spookafi
53871.79Sjmcneillecho "$as_me:5387: result: $ac_cv_have_decl_gid_from_group" >&5
53881.76Spookaecho "${ECHO_T}$ac_cv_have_decl_gid_from_group" >&6
53891.76Spookaif test $ac_cv_have_decl_gid_from_group = yes; then
53901.76Spooka
53911.76Spookacat >>confdefs.h <<EOF
53921.76Spooka#define HAVE_DECL_GID_FROM_GROUP 1
53931.76SpookaEOF
53941.76Spooka
53951.76Spookaelse
53961.76Spooka  cat >>confdefs.h <<EOF
53971.76Spooka#define HAVE_DECL_GID_FROM_GROUP 0
53981.76SpookaEOF
53991.76Spooka
54001.76Spookafi
54011.79Sjmcneillecho "$as_me:5401: checking whether pwcache_groupdb is declared" >&5
54021.76Spookaecho $ECHO_N "checking whether pwcache_groupdb is declared... $ECHO_C" >&6
54031.76Spookaif test "${ac_cv_have_decl_pwcache_groupdb+set}" = set; then
54041.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
54051.76Spookaelse
54061.76Spooka  cat >conftest.$ac_ext <<_ACEOF
54071.79Sjmcneill#line 5407 "configure"
54081.76Spooka#include "confdefs.h"
54091.76Spooka
54101.76Spooka#include <grp.h>
54111.76Spooka
54121.76Spookaint
54131.76Spookamain ()
54141.76Spooka{
54151.76Spooka#ifndef pwcache_groupdb
54161.76Spooka  char *p = (char *) pwcache_groupdb;
54171.76Spooka#endif
54181.76Spooka
54191.76Spooka  ;
54201.76Spooka  return 0;
54211.76Spooka}
54221.76Spooka_ACEOF
54231.76Spookarm -f conftest.$ac_objext
54241.79Sjmcneillif { (eval echo "$as_me:5424: \"$ac_compile\"") >&5
54251.76Spooka  (eval $ac_compile) 2>&5
54261.76Spooka  ac_status=$?
54271.79Sjmcneill  echo "$as_me:5427: \$? = $ac_status" >&5
54281.76Spooka  (exit $ac_status); } &&
54291.76Spooka         { ac_try='test -s conftest.$ac_objext'
54301.79Sjmcneill  { (eval echo "$as_me:5430: \"$ac_try\"") >&5
54311.76Spooka  (eval $ac_try) 2>&5
54321.76Spooka  ac_status=$?
54331.79Sjmcneill  echo "$as_me:5433: \$? = $ac_status" >&5
54341.76Spooka  (exit $ac_status); }; }; then
54351.76Spooka  ac_cv_have_decl_pwcache_groupdb=yes
54361.76Spookaelse
54371.76Spooka  echo "$as_me: failed program was:" >&5
54381.76Spookacat conftest.$ac_ext >&5
54391.76Spookaac_cv_have_decl_pwcache_groupdb=no
54401.76Spookafi
54411.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
54421.76Spookafi
54431.79Sjmcneillecho "$as_me:5443: result: $ac_cv_have_decl_pwcache_groupdb" >&5
54441.76Spookaecho "${ECHO_T}$ac_cv_have_decl_pwcache_groupdb" >&6
54451.76Spookaif test $ac_cv_have_decl_pwcache_groupdb = yes; then
54461.76Spooka
54471.76Spookacat >>confdefs.h <<EOF
54481.76Spooka#define HAVE_DECL_PWCACHE_GROUPDB 1
54491.76SpookaEOF
54501.76Spooka
54511.76Spookaelse
54521.76Spooka  cat >>confdefs.h <<EOF
54531.76Spooka#define HAVE_DECL_PWCACHE_GROUPDB 0
54541.76SpookaEOF
54551.74Schristos
54561.76Spookafi
54571.66Stsutsui
54581.79Sjmcneillecho "$as_me:5458: checking whether strndup is declared" >&5
54591.76Spookaecho $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
54601.76Spookaif test "${ac_cv_have_decl_strndup+set}" = set; then
54611.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
54621.66Stsutsuielse
54631.76Spooka  cat >conftest.$ac_ext <<_ACEOF
54641.79Sjmcneill#line 5464 "configure"
54651.76Spooka#include "confdefs.h"
54661.76Spooka#include <string.h>
54671.76Spooka
54681.76Spookaint
54691.76Spookamain ()
54701.76Spooka{
54711.76Spooka#ifndef strndup
54721.76Spooka  char *p = (char *) strndup;
54731.76Spooka#endif
54741.52Sdbj
54751.76Spooka  ;
54761.76Spooka  return 0;
54771.76Spooka}
54781.6Stv_ACEOF
54791.76Spookarm -f conftest.$ac_objext
54801.79Sjmcneillif { (eval echo "$as_me:5480: \"$ac_compile\"") >&5
54811.76Spooka  (eval $ac_compile) 2>&5
54821.76Spooka  ac_status=$?
54831.79Sjmcneill  echo "$as_me:5483: \$? = $ac_status" >&5
54841.76Spooka  (exit $ac_status); } &&
54851.76Spooka         { ac_try='test -s conftest.$ac_objext'
54861.79Sjmcneill  { (eval echo "$as_me:5486: \"$ac_try\"") >&5
54871.76Spooka  (eval $ac_try) 2>&5
54881.76Spooka  ac_status=$?
54891.79Sjmcneill  echo "$as_me:5489: \$? = $ac_status" >&5
54901.76Spooka  (exit $ac_status); }; }; then
54911.76Spooka  ac_cv_have_decl_strndup=yes
54921.76Spookaelse
54931.76Spooka  echo "$as_me: failed program was:" >&5
54941.76Spookacat conftest.$ac_ext >&5
54951.76Spookaac_cv_have_decl_strndup=no
54961.76Spookafi
54971.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
54981.6Stvfi
54991.79Sjmcneillecho "$as_me:5499: result: $ac_cv_have_decl_strndup" >&5
55001.76Spookaecho "${ECHO_T}$ac_cv_have_decl_strndup" >&6
55011.76Spookaif test $ac_cv_have_decl_strndup = yes; then
55021.6Stv
55031.76Spookacat >>confdefs.h <<EOF
55041.76Spooka#define HAVE_DECL_STRNDUP 1
55051.76SpookaEOF
55061.38Sfredb
55071.76Spookaelse
55081.76Spooka  cat >>confdefs.h <<EOF
55091.76Spooka#define HAVE_DECL_STRNDUP 0
55101.76SpookaEOF
55111.39Sfredb
55121.38Sfredbfi
55131.45Sjmc
55141.79Sjmcneillecho "$as_me:5514: checking whether strsuftoll is declared" >&5
55151.76Spookaecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
55161.76Spookaif test "${ac_cv_have_decl_strsuftoll+set}" = set; then
55171.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
55181.76Spookaelse
55191.76Spooka  cat >conftest.$ac_ext <<_ACEOF
55201.79Sjmcneill#line 5520 "configure"
55211.76Spooka#include "confdefs.h"
55221.76Spooka#include <stdlib.h>
55231.7Stv
55241.76Spookaint
55251.76Spookamain ()
55261.76Spooka{
55271.76Spooka#ifndef strsuftoll
55281.76Spooka  char *p = (char *) strsuftoll;
55291.76Spooka#endif
55301.7Stv
55311.76Spooka  ;
55321.76Spooka  return 0;
55331.76Spooka}
55341.76Spooka_ACEOF
55351.76Spookarm -f conftest.$ac_objext
55361.79Sjmcneillif { (eval echo "$as_me:5536: \"$ac_compile\"") >&5
55371.76Spooka  (eval $ac_compile) 2>&5
55381.76Spooka  ac_status=$?
55391.79Sjmcneill  echo "$as_me:5539: \$? = $ac_status" >&5
55401.76Spooka  (exit $ac_status); } &&
55411.76Spooka         { ac_try='test -s conftest.$ac_objext'
55421.79Sjmcneill  { (eval echo "$as_me:5542: \"$ac_try\"") >&5
55431.76Spooka  (eval $ac_try) 2>&5
55441.76Spooka  ac_status=$?
55451.79Sjmcneill  echo "$as_me:5545: \$? = $ac_status" >&5
55461.76Spooka  (exit $ac_status); }; }; then
55471.76Spooka  ac_cv_have_decl_strsuftoll=yes
55481.76Spookaelse
55491.76Spooka  echo "$as_me: failed program was:" >&5
55501.76Spookacat conftest.$ac_ext >&5
55511.76Spookaac_cv_have_decl_strsuftoll=no
55521.76Spookafi
55531.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
55541.7Stvfi
55551.79Sjmcneillecho "$as_me:5555: result: $ac_cv_have_decl_strsuftoll" >&5
55561.76Spookaecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
55571.76Spookaif test $ac_cv_have_decl_strsuftoll = yes; then
55581.35Sthorpej
55591.76Spookacat >>confdefs.h <<EOF
55601.76Spooka#define HAVE_DECL_STRSUFTOLL 1
55611.76SpookaEOF
55621.9Stv
55631.76Spookaelse
55641.76Spooka  cat >>confdefs.h <<EOF
55651.76Spooka#define HAVE_DECL_STRSUFTOLL 0
55661.76SpookaEOF
55671.9Stv
55681.63Sapbfi
55691.65Schristos
55701.79Sjmcneillecho "$as_me:5570: checking whether lchflags is declared" >&5
55711.76Spookaecho $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
55721.76Spookaif test "${ac_cv_have_decl_lchflags+set}" = set; then
55731.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
55741.76Spookaelse
55751.76Spooka  cat >conftest.$ac_ext <<_ACEOF
55761.79Sjmcneill#line 5576 "configure"
55771.76Spooka#include "confdefs.h"
55781.76Spooka
55791.76Spooka#include <sys/stat.h>
55801.76Spooka#include <unistd.h>
55811.63Sapb
55821.76Spookaint
55831.76Spookamain ()
55841.76Spooka{
55851.76Spooka#ifndef lchflags
55861.76Spooka  char *p = (char *) lchflags;
55871.76Spooka#endif
55881.63Sapb
55891.76Spooka  ;
55901.76Spooka  return 0;
55911.76Spooka}
55921.76Spooka_ACEOF
55931.76Spookarm -f conftest.$ac_objext
55941.79Sjmcneillif { (eval echo "$as_me:5594: \"$ac_compile\"") >&5
55951.76Spooka  (eval $ac_compile) 2>&5
55961.76Spooka  ac_status=$?
55971.79Sjmcneill  echo "$as_me:5597: \$? = $ac_status" >&5
55981.76Spooka  (exit $ac_status); } &&
55991.76Spooka         { ac_try='test -s conftest.$ac_objext'
56001.79Sjmcneill  { (eval echo "$as_me:5600: \"$ac_try\"") >&5
56011.76Spooka  (eval $ac_try) 2>&5
56021.76Spooka  ac_status=$?
56031.79Sjmcneill  echo "$as_me:5603: \$? = $ac_status" >&5
56041.76Spooka  (exit $ac_status); }; }; then
56051.76Spooka  ac_cv_have_decl_lchflags=yes
56061.76Spookaelse
56071.76Spooka  echo "$as_me: failed program was:" >&5
56081.76Spookacat conftest.$ac_ext >&5
56091.76Spookaac_cv_have_decl_lchflags=no
56101.63Sapbfi
56111.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
56121.76Spookafi
56131.79Sjmcneillecho "$as_me:5613: result: $ac_cv_have_decl_lchflags" >&5
56141.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
56151.76Spookaif test $ac_cv_have_decl_lchflags = yes; then
56161.74Schristos
56171.76Spookacat >>confdefs.h <<EOF
56181.76Spooka#define HAVE_DECL_LCHFLAGS 1
56191.76SpookaEOF
56201.65Schristos
56211.76Spookaelse
56221.76Spooka  cat >>confdefs.h <<EOF
56231.76Spooka#define HAVE_DECL_LCHFLAGS 0
56241.76SpookaEOF
56251.65Schristos
56261.74Schristosfi
56271.79Sjmcneillecho "$as_me:5627: checking whether lchmod is declared" >&5
56281.76Spookaecho $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
56291.76Spookaif test "${ac_cv_have_decl_lchmod+set}" = set; then
56301.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
56311.76Spookaelse
56321.76Spooka  cat >conftest.$ac_ext <<_ACEOF
56331.79Sjmcneill#line 5633 "configure"
56341.76Spooka#include "confdefs.h"
56351.63Sapb
56361.76Spooka#include <sys/stat.h>
56371.76Spooka#include <unistd.h>
56381.74Schristos
56391.76Spookaint
56401.76Spookamain ()
56411.76Spooka{
56421.76Spooka#ifndef lchmod
56431.76Spooka  char *p = (char *) lchmod;
56441.76Spooka#endif
56451.74Schristos
56461.76Spooka  ;
56471.76Spooka  return 0;
56481.76Spooka}
56491.76Spooka_ACEOF
56501.76Spookarm -f conftest.$ac_objext
56511.79Sjmcneillif { (eval echo "$as_me:5651: \"$ac_compile\"") >&5
56521.76Spooka  (eval $ac_compile) 2>&5
56531.76Spooka  ac_status=$?
56541.79Sjmcneill  echo "$as_me:5654: \$? = $ac_status" >&5
56551.76Spooka  (exit $ac_status); } &&
56561.76Spooka         { ac_try='test -s conftest.$ac_objext'
56571.79Sjmcneill  { (eval echo "$as_me:5657: \"$ac_try\"") >&5
56581.76Spooka  (eval $ac_try) 2>&5
56591.76Spooka  ac_status=$?
56601.79Sjmcneill  echo "$as_me:5660: \$? = $ac_status" >&5
56611.76Spooka  (exit $ac_status); }; }; then
56621.76Spooka  ac_cv_have_decl_lchmod=yes
56631.76Spookaelse
56641.76Spooka  echo "$as_me: failed program was:" >&5
56651.76Spookacat conftest.$ac_ext >&5
56661.76Spookaac_cv_have_decl_lchmod=no
56671.61Schristosfi
56681.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
56691.76Spookafi
56701.79Sjmcneillecho "$as_me:5670: result: $ac_cv_have_decl_lchmod" >&5
56711.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
56721.76Spookaif test $ac_cv_have_decl_lchmod = yes; then
56731.65Schristos
56741.76Spookacat >>confdefs.h <<EOF
56751.76Spooka#define HAVE_DECL_LCHMOD 1
56761.76SpookaEOF
56771.53Sdogcow
56781.76Spookaelse
56791.76Spooka  cat >>confdefs.h <<EOF
56801.76Spooka#define HAVE_DECL_LCHMOD 0
56811.76SpookaEOF
56821.40Satatat
56831.40Satatatfi
56841.79Sjmcneillecho "$as_me:5684: checking whether lchown is declared" >&5
56851.76Spookaecho $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
56861.76Spookaif test "${ac_cv_have_decl_lchown+set}" = set; then
56871.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
56881.76Spookaelse
56891.76Spooka  cat >conftest.$ac_ext <<_ACEOF
56901.79Sjmcneill#line 5690 "configure"
56911.76Spooka#include "confdefs.h"
56921.63Sapb
56931.76Spooka#include <sys/stat.h>
56941.76Spooka#include <unistd.h>
56951.65Schristos
56961.76Spookaint
56971.76Spookamain ()
56981.76Spooka{
56991.76Spooka#ifndef lchown
57001.76Spooka  char *p = (char *) lchown;
57011.76Spooka#endif
57021.65Schristos
57031.76Spooka  ;
57041.76Spooka  return 0;
57051.76Spooka}
57061.76Spooka_ACEOF
57071.76Spookarm -f conftest.$ac_objext
57081.79Sjmcneillif { (eval echo "$as_me:5708: \"$ac_compile\"") >&5
57091.76Spooka  (eval $ac_compile) 2>&5
57101.76Spooka  ac_status=$?
57111.79Sjmcneill  echo "$as_me:5711: \$? = $ac_status" >&5
57121.76Spooka  (exit $ac_status); } &&
57131.76Spooka         { ac_try='test -s conftest.$ac_objext'
57141.79Sjmcneill  { (eval echo "$as_me:5714: \"$ac_try\"") >&5
57151.76Spooka  (eval $ac_try) 2>&5
57161.76Spooka  ac_status=$?
57171.79Sjmcneill  echo "$as_me:5717: \$? = $ac_status" >&5
57181.76Spooka  (exit $ac_status); }; }; then
57191.76Spooka  ac_cv_have_decl_lchown=yes
57201.76Spookaelse
57211.76Spooka  echo "$as_me: failed program was:" >&5
57221.76Spookacat conftest.$ac_ext >&5
57231.76Spookaac_cv_have_decl_lchown=no
57241.63Sapbfi
57251.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
57261.76Spookafi
57271.79Sjmcneillecho "$as_me:5727: result: $ac_cv_have_decl_lchown" >&5
57281.76Spookaecho "${ECHO_T}$ac_cv_have_decl_lchown" >&6
57291.76Spookaif test $ac_cv_have_decl_lchown = yes; then
57301.65Schristos
57311.76Spookacat >>confdefs.h <<EOF
57321.76Spooka#define HAVE_DECL_LCHOWN 1
57331.76SpookaEOF
57341.65Schristos
57351.76Spookaelse
57361.76Spooka  cat >>confdefs.h <<EOF
57371.76Spooka#define HAVE_DECL_LCHOWN 0
57381.76SpookaEOF
57391.60Sapb
57401.76Spookafi
57411.63Sapb
57421.79Sjmcneillecho "$as_me:5742: checking whether htobe16 is declared" >&5
57431.76Spookaecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
57441.76Spookaif test "${ac_cv_have_decl_htobe16+set}" = set; then
57451.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
57461.63Sapbelse
57471.76Spooka  cat >conftest.$ac_ext <<_ACEOF
57481.79Sjmcneill#line 5748 "configure"
57491.76Spooka#include "confdefs.h"
57501.76Spooka#include <sys/types.h>
57511.53Sdogcow
57521.76Spookaint
57531.76Spookamain ()
57541.76Spooka{
57551.76Spooka#ifndef htobe16
57561.76Spooka  char *p = (char *) htobe16;
57571.76Spooka#endif
57581.65Schristos
57591.76Spooka  ;
57601.76Spooka  return 0;
57611.76Spooka}
57621.76Spooka_ACEOF
57631.76Spookarm -f conftest.$ac_objext
57641.79Sjmcneillif { (eval echo "$as_me:5764: \"$ac_compile\"") >&5
57651.76Spooka  (eval $ac_compile) 2>&5
57661.76Spooka  ac_status=$?
57671.79Sjmcneill  echo "$as_me:5767: \$? = $ac_status" >&5
57681.76Spooka  (exit $ac_status); } &&
57691.76Spooka         { ac_try='test -s conftest.$ac_objext'
57701.79Sjmcneill  { (eval echo "$as_me:5770: \"$ac_try\"") >&5
57711.76Spooka  (eval $ac_try) 2>&5
57721.76Spooka  ac_status=$?
57731.79Sjmcneill  echo "$as_me:5773: \$? = $ac_status" >&5
57741.76Spooka  (exit $ac_status); }; }; then
57751.76Spooka  ac_cv_have_decl_htobe16=yes
57761.40Satatatelse
57771.76Spooka  echo "$as_me: failed program was:" >&5
57781.76Spookacat conftest.$ac_ext >&5
57791.76Spookaac_cv_have_decl_htobe16=no
57801.40Satatatfi
57811.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
57821.74Schristosfi
57831.79Sjmcneillecho "$as_me:5783: result: $ac_cv_have_decl_htobe16" >&5
57841.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
57851.76Spookaif test $ac_cv_have_decl_htobe16 = yes; then
57861.61Schristos
57871.76Spookacat >>confdefs.h <<EOF
57881.76Spooka#define HAVE_DECL_HTOBE16 1
57891.76SpookaEOF
57901.53Sdogcow
57911.7Stvelse
57921.76Spooka  cat >>confdefs.h <<EOF
57931.76Spooka#define HAVE_DECL_HTOBE16 0
57941.76SpookaEOF
57951.7Stv
57961.76Spookafi
57971.79Sjmcneillecho "$as_me:5797: checking whether htobe32 is declared" >&5
57981.76Spookaecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
57991.76Spookaif test "${ac_cv_have_decl_htobe32+set}" = set; then
58001.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
58011.76Spookaelse
58021.76Spooka  cat >conftest.$ac_ext <<_ACEOF
58031.79Sjmcneill#line 5803 "configure"
58041.76Spooka#include "confdefs.h"
58051.76Spooka#include <sys/types.h>
58061.60Sapb
58071.76Spookaint
58081.76Spookamain ()
58091.76Spooka{
58101.76Spooka#ifndef htobe32
58111.76Spooka  char *p = (char *) htobe32;
58121.76Spooka#endif
58131.63Sapb
58141.76Spooka  ;
58151.76Spooka  return 0;
58161.76Spooka}
58171.76Spooka_ACEOF
58181.76Spookarm -f conftest.$ac_objext
58191.79Sjmcneillif { (eval echo "$as_me:5819: \"$ac_compile\"") >&5
58201.76Spooka  (eval $ac_compile) 2>&5
58211.76Spooka  ac_status=$?
58221.79Sjmcneill  echo "$as_me:5822: \$? = $ac_status" >&5
58231.76Spooka  (exit $ac_status); } &&
58241.76Spooka         { ac_try='test -s conftest.$ac_objext'
58251.79Sjmcneill  { (eval echo "$as_me:5825: \"$ac_try\"") >&5
58261.76Spooka  (eval $ac_try) 2>&5
58271.76Spooka  ac_status=$?
58281.79Sjmcneill  echo "$as_me:5828: \$? = $ac_status" >&5
58291.76Spooka  (exit $ac_status); }; }; then
58301.76Spooka  ac_cv_have_decl_htobe32=yes
58311.7Stvelse
58321.76Spooka  echo "$as_me: failed program was:" >&5
58331.76Spookacat conftest.$ac_ext >&5
58341.76Spookaac_cv_have_decl_htobe32=no
58351.7Stvfi
58361.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
58371.7Stvfi
58381.79Sjmcneillecho "$as_me:5838: result: $ac_cv_have_decl_htobe32" >&5
58391.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
58401.76Spookaif test $ac_cv_have_decl_htobe32 = yes; then
58411.7Stv
58421.76Spookacat >>confdefs.h <<EOF
58431.76Spooka#define HAVE_DECL_HTOBE32 1
58441.76SpookaEOF
58451.4Stv
58461.76Spookaelse
58471.76Spooka  cat >>confdefs.h <<EOF
58481.76Spooka#define HAVE_DECL_HTOBE32 0
58491.76SpookaEOF
58501.63Sapb
58511.76Spookafi
58521.79Sjmcneillecho "$as_me:5852: checking whether htobe64 is declared" >&5
58531.76Spookaecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
58541.76Spookaif test "${ac_cv_have_decl_htobe64+set}" = set; then
58551.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
58561.63Sapbelse
58571.76Spooka  cat >conftest.$ac_ext <<_ACEOF
58581.79Sjmcneill#line 5858 "configure"
58591.76Spooka#include "confdefs.h"
58601.76Spooka#include <sys/types.h>
58611.65Schristos
58621.76Spookaint
58631.76Spookamain ()
58641.76Spooka{
58651.76Spooka#ifndef htobe64
58661.76Spooka  char *p = (char *) htobe64;
58671.76Spooka#endif
58681.63Sapb
58691.76Spooka  ;
58701.76Spooka  return 0;
58711.76Spooka}
58721.76Spooka_ACEOF
58731.76Spookarm -f conftest.$ac_objext
58741.79Sjmcneillif { (eval echo "$as_me:5874: \"$ac_compile\"") >&5
58751.76Spooka  (eval $ac_compile) 2>&5
58761.76Spooka  ac_status=$?
58771.79Sjmcneill  echo "$as_me:5877: \$? = $ac_status" >&5
58781.76Spooka  (exit $ac_status); } &&
58791.76Spooka         { ac_try='test -s conftest.$ac_objext'
58801.79Sjmcneill  { (eval echo "$as_me:5880: \"$ac_try\"") >&5
58811.76Spooka  (eval $ac_try) 2>&5
58821.76Spooka  ac_status=$?
58831.79Sjmcneill  echo "$as_me:5883: \$? = $ac_status" >&5
58841.76Spooka  (exit $ac_status); }; }; then
58851.76Spooka  ac_cv_have_decl_htobe64=yes
58861.53Sdogcowelse
58871.76Spooka  echo "$as_me: failed program was:" >&5
58881.76Spookacat conftest.$ac_ext >&5
58891.76Spookaac_cv_have_decl_htobe64=no
58901.53Sdogcowfi
58911.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
58921.61Schristosfi
58931.79Sjmcneillecho "$as_me:5893: result: $ac_cv_have_decl_htobe64" >&5
58941.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
58951.76Spookaif test $ac_cv_have_decl_htobe64 = yes; then
58961.65Schristos
58971.76Spookacat >>confdefs.h <<EOF
58981.76Spooka#define HAVE_DECL_HTOBE64 1
58991.76SpookaEOF
59001.65Schristos
59011.65Schristoselse
59021.76Spooka  cat >>confdefs.h <<EOF
59031.76Spooka#define HAVE_DECL_HTOBE64 0
59041.76SpookaEOF
59051.53Sdogcow
59061.76Spookafi
59071.79Sjmcneillecho "$as_me:5907: checking whether htole16 is declared" >&5
59081.76Spookaecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
59091.76Spookaif test "${ac_cv_have_decl_htole16+set}" = set; then
59101.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
59111.76Spookaelse
59121.76Spooka  cat >conftest.$ac_ext <<_ACEOF
59131.79Sjmcneill#line 5913 "configure"
59141.76Spooka#include "confdefs.h"
59151.76Spooka#include <sys/types.h>
59161.65Schristos
59171.76Spookaint
59181.76Spookamain ()
59191.76Spooka{
59201.76Spooka#ifndef htole16
59211.76Spooka  char *p = (char *) htole16;
59221.76Spooka#endif
59231.53Sdogcow
59241.76Spooka  ;
59251.76Spooka  return 0;
59261.76Spooka}
59271.76Spooka_ACEOF
59281.76Spookarm -f conftest.$ac_objext
59291.79Sjmcneillif { (eval echo "$as_me:5929: \"$ac_compile\"") >&5
59301.76Spooka  (eval $ac_compile) 2>&5
59311.76Spooka  ac_status=$?
59321.79Sjmcneill  echo "$as_me:5932: \$? = $ac_status" >&5
59331.76Spooka  (exit $ac_status); } &&
59341.76Spooka         { ac_try='test -s conftest.$ac_objext'
59351.79Sjmcneill  { (eval echo "$as_me:5935: \"$ac_try\"") >&5
59361.76Spooka  (eval $ac_try) 2>&5
59371.76Spooka  ac_status=$?
59381.79Sjmcneill  echo "$as_me:5938: \$? = $ac_status" >&5
59391.76Spooka  (exit $ac_status); }; }; then
59401.76Spooka  ac_cv_have_decl_htole16=yes
59411.7Stvelse
59421.76Spooka  echo "$as_me: failed program was:" >&5
59431.76Spookacat conftest.$ac_ext >&5
59441.76Spookaac_cv_have_decl_htole16=no
59451.7Stvfi
59461.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
59471.7Stvfi
59481.79Sjmcneillecho "$as_me:5948: result: $ac_cv_have_decl_htole16" >&5
59491.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
59501.76Spookaif test $ac_cv_have_decl_htole16 = yes; then
59511.65Schristos
59521.76Spookacat >>confdefs.h <<EOF
59531.76Spooka#define HAVE_DECL_HTOLE16 1
59541.76SpookaEOF
59551.7Stv
59561.76Spookaelse
59571.76Spooka  cat >>confdefs.h <<EOF
59581.76Spooka#define HAVE_DECL_HTOLE16 0
59591.76SpookaEOF
59601.61Schristos
59611.76Spookafi
59621.79Sjmcneillecho "$as_me:5962: checking whether htole32 is declared" >&5
59631.76Spookaecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
59641.76Spookaif test "${ac_cv_have_decl_htole32+set}" = set; then
59651.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
59661.7Stvelse
59671.76Spooka  cat >conftest.$ac_ext <<_ACEOF
59681.79Sjmcneill#line 5968 "configure"
59691.76Spooka#include "confdefs.h"
59701.76Spooka#include <sys/types.h>
59711.61Schristos
59721.76Spookaint
59731.76Spookamain ()
59741.76Spooka{
59751.76Spooka#ifndef htole32
59761.76Spooka  char *p = (char *) htole32;
59771.76Spooka#endif
59781.7Stv
59791.76Spooka  ;
59801.76Spooka  return 0;
59811.76Spooka}
59821.76Spooka_ACEOF
59831.76Spookarm -f conftest.$ac_objext
59841.79Sjmcneillif { (eval echo "$as_me:5984: \"$ac_compile\"") >&5
59851.76Spooka  (eval $ac_compile) 2>&5
59861.76Spooka  ac_status=$?
59871.79Sjmcneill  echo "$as_me:5987: \$? = $ac_status" >&5
59881.76Spooka  (exit $ac_status); } &&
59891.76Spooka         { ac_try='test -s conftest.$ac_objext'
59901.79Sjmcneill  { (eval echo "$as_me:5990: \"$ac_try\"") >&5
59911.76Spooka  (eval $ac_try) 2>&5
59921.76Spooka  ac_status=$?
59931.79Sjmcneill  echo "$as_me:5993: \$? = $ac_status" >&5
59941.76Spooka  (exit $ac_status); }; }; then
59951.76Spooka  ac_cv_have_decl_htole32=yes
59961.7Stvelse
59971.76Spooka  echo "$as_me: failed program was:" >&5
59981.76Spookacat conftest.$ac_ext >&5
59991.76Spookaac_cv_have_decl_htole32=no
60001.7Stvfi
60011.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
60021.7Stvfi
60031.79Sjmcneillecho "$as_me:6003: result: $ac_cv_have_decl_htole32" >&5
60041.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
60051.76Spookaif test $ac_cv_have_decl_htole32 = yes; then
60061.61Schristos
60071.76Spookacat >>confdefs.h <<EOF
60081.76Spooka#define HAVE_DECL_HTOLE32 1
60091.76SpookaEOF
60101.7Stv
60111.7Stvelse
60121.76Spooka  cat >>confdefs.h <<EOF
60131.76Spooka#define HAVE_DECL_HTOLE32 0
60141.76SpookaEOF
60151.7Stv
60161.76Spookafi
60171.79Sjmcneillecho "$as_me:6017: checking whether htole64 is declared" >&5
60181.76Spookaecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
60191.76Spookaif test "${ac_cv_have_decl_htole64+set}" = set; then
60201.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
60211.76Spookaelse
60221.76Spooka  cat >conftest.$ac_ext <<_ACEOF
60231.79Sjmcneill#line 6023 "configure"
60241.76Spooka#include "confdefs.h"
60251.76Spooka#include <sys/types.h>
60261.4Stv
60271.76Spookaint
60281.76Spookamain ()
60291.76Spooka{
60301.76Spooka#ifndef htole64
60311.76Spooka  char *p = (char *) htole64;
60321.76Spooka#endif
60331.4Stv
60341.76Spooka  ;
60351.76Spooka  return 0;
60361.76Spooka}
60371.76Spooka_ACEOF
60381.76Spookarm -f conftest.$ac_objext
60391.79Sjmcneillif { (eval echo "$as_me:6039: \"$ac_compile\"") >&5
60401.76Spooka  (eval $ac_compile) 2>&5
60411.76Spooka  ac_status=$?
60421.79Sjmcneill  echo "$as_me:6042: \$? = $ac_status" >&5
60431.76Spooka  (exit $ac_status); } &&
60441.76Spooka         { ac_try='test -s conftest.$ac_objext'
60451.79Sjmcneill  { (eval echo "$as_me:6045: \"$ac_try\"") >&5
60461.76Spooka  (eval $ac_try) 2>&5
60471.76Spooka  ac_status=$?
60481.79Sjmcneill  echo "$as_me:6048: \$? = $ac_status" >&5
60491.76Spooka  (exit $ac_status); }; }; then
60501.76Spooka  ac_cv_have_decl_htole64=yes
60511.4Stvelse
60521.76Spooka  echo "$as_me: failed program was:" >&5
60531.76Spookacat conftest.$ac_ext >&5
60541.76Spookaac_cv_have_decl_htole64=no
60551.4Stvfi
60561.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
60571.4Stvfi
60581.79Sjmcneillecho "$as_me:6058: result: $ac_cv_have_decl_htole64" >&5
60591.76Spookaecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
60601.76Spookaif test $ac_cv_have_decl_htole64 = yes; then
60611.61Schristos
60621.76Spookacat >>confdefs.h <<EOF
60631.76Spooka#define HAVE_DECL_HTOLE64 1
60641.76SpookaEOF
60651.74Schristos
60661.76Spookaelse
60671.76Spooka  cat >>confdefs.h <<EOF
60681.76Spooka#define HAVE_DECL_HTOLE64 0
60691.76SpookaEOF
60701.74Schristos
60711.76Spookafi
60721.79Sjmcneillecho "$as_me:6072: checking whether be16toh is declared" >&5
60731.76Spookaecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
60741.76Spookaif test "${ac_cv_have_decl_be16toh+set}" = set; then
60751.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
60761.4Stvelse
60771.76Spooka  cat >conftest.$ac_ext <<_ACEOF
60781.79Sjmcneill#line 6078 "configure"
60791.76Spooka#include "confdefs.h"
60801.76Spooka#include <sys/types.h>
60811.4Stv
60821.76Spookaint
60831.76Spookamain ()
60841.76Spooka{
60851.76Spooka#ifndef be16toh
60861.76Spooka  char *p = (char *) be16toh;
60871.76Spooka#endif
60881.63Sapb
60891.76Spooka  ;
60901.76Spooka  return 0;
60911.76Spooka}
60921.76Spooka_ACEOF
60931.76Spookarm -f conftest.$ac_objext
60941.79Sjmcneillif { (eval echo "$as_me:6094: \"$ac_compile\"") >&5
60951.76Spooka  (eval $ac_compile) 2>&5
60961.76Spooka  ac_status=$?
60971.79Sjmcneill  echo "$as_me:6097: \$? = $ac_status" >&5
60981.76Spooka  (exit $ac_status); } &&
60991.76Spooka         { ac_try='test -s conftest.$ac_objext'
61001.79Sjmcneill  { (eval echo "$as_me:6100: \"$ac_try\"") >&5
61011.76Spooka  (eval $ac_try) 2>&5
61021.76Spooka  ac_status=$?
61031.79Sjmcneill  echo "$as_me:6103: \$? = $ac_status" >&5
61041.76Spooka  (exit $ac_status); }; }; then
61051.76Spooka  ac_cv_have_decl_be16toh=yes
61061.19Sbjh21else
61071.76Spooka  echo "$as_me: failed program was:" >&5
61081.76Spookacat conftest.$ac_ext >&5
61091.76Spookaac_cv_have_decl_be16toh=no
61101.19Sbjh21fi
61111.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
61121.19Sbjh21fi
61131.79Sjmcneillecho "$as_me:6113: result: $ac_cv_have_decl_be16toh" >&5
61141.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
61151.76Spookaif test $ac_cv_have_decl_be16toh = yes; then
61161.63Sapb
61171.76Spookacat >>confdefs.h <<EOF
61181.76Spooka#define HAVE_DECL_BE16TOH 1
61191.76SpookaEOF
61201.19Sbjh21
61211.63Sapbelse
61221.76Spooka  cat >>confdefs.h <<EOF
61231.76Spooka#define HAVE_DECL_BE16TOH 0
61241.76SpookaEOF
61251.19Sbjh21
61261.76Spookafi
61271.79Sjmcneillecho "$as_me:6127: checking whether be32toh is declared" >&5
61281.76Spookaecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
61291.76Spookaif test "${ac_cv_have_decl_be32toh+set}" = set; then
61301.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
61311.76Spookaelse
61321.76Spooka  cat >conftest.$ac_ext <<_ACEOF
61331.79Sjmcneill#line 6133 "configure"
61341.76Spooka#include "confdefs.h"
61351.76Spooka#include <sys/types.h>
61361.63Sapb
61371.76Spookaint
61381.76Spookamain ()
61391.76Spooka{
61401.76Spooka#ifndef be32toh
61411.76Spooka  char *p = (char *) be32toh;
61421.76Spooka#endif
61431.19Sbjh21
61441.76Spooka  ;
61451.76Spooka  return 0;
61461.76Spooka}
61471.76Spooka_ACEOF
61481.76Spookarm -f conftest.$ac_objext
61491.79Sjmcneillif { (eval echo "$as_me:6149: \"$ac_compile\"") >&5
61501.76Spooka  (eval $ac_compile) 2>&5
61511.76Spooka  ac_status=$?
61521.79Sjmcneill  echo "$as_me:6152: \$? = $ac_status" >&5
61531.76Spooka  (exit $ac_status); } &&
61541.76Spooka         { ac_try='test -s conftest.$ac_objext'
61551.79Sjmcneill  { (eval echo "$as_me:6155: \"$ac_try\"") >&5
61561.76Spooka  (eval $ac_try) 2>&5
61571.76Spooka  ac_status=$?
61581.79Sjmcneill  echo "$as_me:6158: \$? = $ac_status" >&5
61591.76Spooka  (exit $ac_status); }; }; then
61601.76Spooka  ac_cv_have_decl_be32toh=yes
61611.19Sbjh21else
61621.76Spooka  echo "$as_me: failed program was:" >&5
61631.76Spookacat conftest.$ac_ext >&5
61641.76Spookaac_cv_have_decl_be32toh=no
61651.19Sbjh21fi
61661.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
61671.76Spookafi
61681.79Sjmcneillecho "$as_me:6168: result: $ac_cv_have_decl_be32toh" >&5
61691.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
61701.76Spookaif test $ac_cv_have_decl_be32toh = yes; then
61711.76Spooka
61721.76Spookacat >>confdefs.h <<EOF
61731.76Spooka#define HAVE_DECL_BE32TOH 1
61741.76SpookaEOF
61751.74Schristos
61761.76Spookaelse
61771.76Spooka  cat >>confdefs.h <<EOF
61781.76Spooka#define HAVE_DECL_BE32TOH 0
61791.76SpookaEOF
61801.74Schristos
61811.19Sbjh21fi
61821.79Sjmcneillecho "$as_me:6182: checking whether be64toh is declared" >&5
61831.76Spookaecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
61841.76Spookaif test "${ac_cv_have_decl_be64toh+set}" = set; then
61851.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
61861.76Spookaelse
61871.76Spooka  cat >conftest.$ac_ext <<_ACEOF
61881.79Sjmcneill#line 6188 "configure"
61891.76Spooka#include "confdefs.h"
61901.76Spooka#include <sys/types.h>
61911.19Sbjh21
61921.76Spookaint
61931.76Spookamain ()
61941.76Spooka{
61951.76Spooka#ifndef be64toh
61961.76Spooka  char *p = (char *) be64toh;
61971.76Spooka#endif
61981.19Sbjh21
61991.76Spooka  ;
62001.76Spooka  return 0;
62011.76Spooka}
62021.74Schristos_ACEOF
62031.76Spookarm -f conftest.$ac_objext
62041.79Sjmcneillif { (eval echo "$as_me:6204: \"$ac_compile\"") >&5
62051.76Spooka  (eval $ac_compile) 2>&5
62061.76Spooka  ac_status=$?
62071.79Sjmcneill  echo "$as_me:6207: \$? = $ac_status" >&5
62081.76Spooka  (exit $ac_status); } &&
62091.76Spooka         { ac_try='test -s conftest.$ac_objext'
62101.79Sjmcneill  { (eval echo "$as_me:6210: \"$ac_try\"") >&5
62111.76Spooka  (eval $ac_try) 2>&5
62121.76Spooka  ac_status=$?
62131.79Sjmcneill  echo "$as_me:6213: \$? = $ac_status" >&5
62141.76Spooka  (exit $ac_status); }; }; then
62151.76Spooka  ac_cv_have_decl_be64toh=yes
62161.76Spookaelse
62171.76Spooka  echo "$as_me: failed program was:" >&5
62181.76Spookacat conftest.$ac_ext >&5
62191.76Spookaac_cv_have_decl_be64toh=no
62201.63Sapbfi
62211.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
62221.63Sapbfi
62231.79Sjmcneillecho "$as_me:6223: result: $ac_cv_have_decl_be64toh" >&5
62241.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
62251.76Spookaif test $ac_cv_have_decl_be64toh = yes; then
62261.39Sfredb
62271.76Spookacat >>confdefs.h <<EOF
62281.76Spooka#define HAVE_DECL_BE64TOH 1
62291.76SpookaEOF
62301.63Sapb
62311.76Spookaelse
62321.76Spooka  cat >>confdefs.h <<EOF
62331.76Spooka#define HAVE_DECL_BE64TOH 0
62341.76SpookaEOF
62351.61Schristos
62361.63Sapbfi
62371.79Sjmcneillecho "$as_me:6237: checking whether le16toh is declared" >&5
62381.76Spookaecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
62391.76Spookaif test "${ac_cv_have_decl_le16toh+set}" = set; then
62401.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
62411.76Spookaelse
62421.76Spooka  cat >conftest.$ac_ext <<_ACEOF
62431.79Sjmcneill#line 6243 "configure"
62441.76Spooka#include "confdefs.h"
62451.76Spooka#include <sys/types.h>
62461.63Sapb
62471.76Spookaint
62481.76Spookamain ()
62491.76Spooka{
62501.76Spooka#ifndef le16toh
62511.76Spooka  char *p = (char *) le16toh;
62521.76Spooka#endif
62531.19Sbjh21
62541.76Spooka  ;
62551.76Spooka  return 0;
62561.76Spooka}
62571.19Sbjh21_ACEOF
62581.76Spookarm -f conftest.$ac_objext
62591.79Sjmcneillif { (eval echo "$as_me:6259: \"$ac_compile\"") >&5
62601.76Spooka  (eval $ac_compile) 2>&5
62611.76Spooka  ac_status=$?
62621.79Sjmcneill  echo "$as_me:6262: \$? = $ac_status" >&5
62631.76Spooka  (exit $ac_status); } &&
62641.76Spooka         { ac_try='test -s conftest.$ac_objext'
62651.79Sjmcneill  { (eval echo "$as_me:6265: \"$ac_try\"") >&5
62661.76Spooka  (eval $ac_try) 2>&5
62671.76Spooka  ac_status=$?
62681.79Sjmcneill  echo "$as_me:6268: \$? = $ac_status" >&5
62691.76Spooka  (exit $ac_status); }; }; then
62701.76Spooka  ac_cv_have_decl_le16toh=yes
62711.76Spookaelse
62721.76Spooka  echo "$as_me: failed program was:" >&5
62731.76Spookacat conftest.$ac_ext >&5
62741.76Spookaac_cv_have_decl_le16toh=no
62751.76Spookafi
62761.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
62771.19Sbjh21fi
62781.79Sjmcneillecho "$as_me:6278: result: $ac_cv_have_decl_le16toh" >&5
62791.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
62801.76Spookaif test $ac_cv_have_decl_le16toh = yes; then
62811.63Sapb
62821.76Spookacat >>confdefs.h <<EOF
62831.76Spooka#define HAVE_DECL_LE16TOH 1
62841.76SpookaEOF
62851.63Sapb
62861.76Spookaelse
62871.76Spooka  cat >>confdefs.h <<EOF
62881.76Spooka#define HAVE_DECL_LE16TOH 0
62891.76SpookaEOF
62901.19Sbjh21
62911.19Sbjh21fi
62921.79Sjmcneillecho "$as_me:6292: checking whether le32toh is declared" >&5
62931.76Spookaecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
62941.76Spookaif test "${ac_cv_have_decl_le32toh+set}" = set; then
62951.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
62961.76Spookaelse
62971.76Spooka  cat >conftest.$ac_ext <<_ACEOF
62981.79Sjmcneill#line 6298 "configure"
62991.76Spooka#include "confdefs.h"
63001.76Spooka#include <sys/types.h>
63011.76Spooka
63021.76Spookaint
63031.76Spookamain ()
63041.76Spooka{
63051.76Spooka#ifndef le32toh
63061.76Spooka  char *p = (char *) le32toh;
63071.76Spooka#endif
63081.74Schristos
63091.76Spooka  ;
63101.76Spooka  return 0;
63111.76Spooka}
63121.74Schristos_ACEOF
63131.76Spookarm -f conftest.$ac_objext
63141.79Sjmcneillif { (eval echo "$as_me:6314: \"$ac_compile\"") >&5
63151.76Spooka  (eval $ac_compile) 2>&5
63161.76Spooka  ac_status=$?
63171.79Sjmcneill  echo "$as_me:6317: \$? = $ac_status" >&5
63181.76Spooka  (exit $ac_status); } &&
63191.76Spooka         { ac_try='test -s conftest.$ac_objext'
63201.79Sjmcneill  { (eval echo "$as_me:6320: \"$ac_try\"") >&5
63211.76Spooka  (eval $ac_try) 2>&5
63221.76Spooka  ac_status=$?
63231.79Sjmcneill  echo "$as_me:6323: \$? = $ac_status" >&5
63241.76Spooka  (exit $ac_status); }; }; then
63251.76Spooka  ac_cv_have_decl_le32toh=yes
63261.76Spookaelse
63271.76Spooka  echo "$as_me: failed program was:" >&5
63281.76Spookacat conftest.$ac_ext >&5
63291.76Spookaac_cv_have_decl_le32toh=no
63301.76Spookafi
63311.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
63321.19Sbjh21fi
63331.79Sjmcneillecho "$as_me:6333: result: $ac_cv_have_decl_le32toh" >&5
63341.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
63351.76Spookaif test $ac_cv_have_decl_le32toh = yes; then
63361.19Sbjh21
63371.76Spookacat >>confdefs.h <<EOF
63381.76Spooka#define HAVE_DECL_LE32TOH 1
63391.76SpookaEOF
63401.19Sbjh21
63411.76Spookaelse
63421.76Spooka  cat >>confdefs.h <<EOF
63431.76Spooka#define HAVE_DECL_LE32TOH 0
63441.76SpookaEOF
63451.19Sbjh21
63461.19Sbjh21fi
63471.79Sjmcneillecho "$as_me:6347: checking whether le64toh is declared" >&5
63481.76Spookaecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
63491.76Spookaif test "${ac_cv_have_decl_le64toh+set}" = set; then
63501.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
63511.76Spookaelse
63521.76Spooka  cat >conftest.$ac_ext <<_ACEOF
63531.79Sjmcneill#line 6353 "configure"
63541.76Spooka#include "confdefs.h"
63551.76Spooka#include <sys/types.h>
63561.76Spooka
63571.76Spookaint
63581.76Spookamain ()
63591.76Spooka{
63601.76Spooka#ifndef le64toh
63611.76Spooka  char *p = (char *) le64toh;
63621.76Spooka#endif
63631.74Schristos
63641.76Spooka  ;
63651.76Spooka  return 0;
63661.76Spooka}
63671.74Schristos_ACEOF
63681.76Spookarm -f conftest.$ac_objext
63691.79Sjmcneillif { (eval echo "$as_me:6369: \"$ac_compile\"") >&5
63701.76Spooka  (eval $ac_compile) 2>&5
63711.76Spooka  ac_status=$?
63721.79Sjmcneill  echo "$as_me:6372: \$? = $ac_status" >&5
63731.76Spooka  (exit $ac_status); } &&
63741.76Spooka         { ac_try='test -s conftest.$ac_objext'
63751.79Sjmcneill  { (eval echo "$as_me:6375: \"$ac_try\"") >&5
63761.76Spooka  (eval $ac_try) 2>&5
63771.76Spooka  ac_status=$?
63781.79Sjmcneill  echo "$as_me:6378: \$? = $ac_status" >&5
63791.76Spooka  (exit $ac_status); }; }; then
63801.76Spooka  ac_cv_have_decl_le64toh=yes
63811.76Spookaelse
63821.76Spooka  echo "$as_me: failed program was:" >&5
63831.76Spookacat conftest.$ac_ext >&5
63841.76Spookaac_cv_have_decl_le64toh=no
63851.43Sdbjfi
63861.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
63871.43Sdbjfi
63881.79Sjmcneillecho "$as_me:6388: result: $ac_cv_have_decl_le64toh" >&5
63891.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
63901.76Spookaif test $ac_cv_have_decl_le64toh = yes; then
63911.40Satatat
63921.76Spookacat >>confdefs.h <<EOF
63931.76Spooka#define HAVE_DECL_LE64TOH 1
63941.76SpookaEOF
63951.61Schristos
63961.76Spookaelse
63971.76Spooka  cat >>confdefs.h <<EOF
63981.76Spooka#define HAVE_DECL_LE64TOH 0
63991.76SpookaEOF
64001.61Schristos
64011.74Schristosfi
64021.61Schristos
64031.79Sjmcneillecho "$as_me:6403: checking whether bswap16 is declared" >&5
64041.76Spookaecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
64051.76Spookaif test "${ac_cv_have_decl_bswap16+set}" = set; then
64061.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
64071.76Spookaelse
64081.76Spooka  cat >conftest.$ac_ext <<_ACEOF
64091.79Sjmcneill#line 6409 "configure"
64101.76Spooka#include "confdefs.h"
64111.76Spooka#include <machine/bswap.h>
64121.61Schristos
64131.76Spookaint
64141.76Spookamain ()
64151.76Spooka{
64161.76Spooka#ifndef bswap16
64171.76Spooka  char *p = (char *) bswap16;
64181.76Spooka#endif
64191.61Schristos
64201.76Spooka  ;
64211.76Spooka  return 0;
64221.76Spooka}
64231.76Spooka_ACEOF
64241.76Spookarm -f conftest.$ac_objext
64251.79Sjmcneillif { (eval echo "$as_me:6425: \"$ac_compile\"") >&5
64261.76Spooka  (eval $ac_compile) 2>&5
64271.76Spooka  ac_status=$?
64281.79Sjmcneill  echo "$as_me:6428: \$? = $ac_status" >&5
64291.76Spooka  (exit $ac_status); } &&
64301.76Spooka         { ac_try='test -s conftest.$ac_objext'
64311.79Sjmcneill  { (eval echo "$as_me:6431: \"$ac_try\"") >&5
64321.76Spooka  (eval $ac_try) 2>&5
64331.76Spooka  ac_status=$?
64341.79Sjmcneill  echo "$as_me:6434: \$? = $ac_status" >&5
64351.76Spooka  (exit $ac_status); }; }; then
64361.76Spooka  ac_cv_have_decl_bswap16=yes
64371.63Sapbelse
64381.76Spooka  echo "$as_me: failed program was:" >&5
64391.76Spookacat conftest.$ac_ext >&5
64401.76Spookaac_cv_have_decl_bswap16=no
64411.76Spookafi
64421.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
64431.63Sapbfi
64441.79Sjmcneillecho "$as_me:6444: result: $ac_cv_have_decl_bswap16" >&5
64451.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
64461.76Spookaif test $ac_cv_have_decl_bswap16 = yes; then
64471.61Schristos
64481.76Spookacat >>confdefs.h <<EOF
64491.76Spooka#define HAVE_DECL_BSWAP16 1
64501.76SpookaEOF
64511.61Schristos
64521.63Sapbelse
64531.76Spooka  cat >>confdefs.h <<EOF
64541.76Spooka#define HAVE_DECL_BSWAP16 0
64551.76SpookaEOF
64561.76Spooka
64571.63Sapbfi
64581.79Sjmcneillecho "$as_me:6458: checking whether bswap32 is declared" >&5
64591.76Spookaecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
64601.76Spookaif test "${ac_cv_have_decl_bswap32+set}" = set; then
64611.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
64621.76Spookaelse
64631.76Spooka  cat >conftest.$ac_ext <<_ACEOF
64641.79Sjmcneill#line 6464 "configure"
64651.76Spooka#include "confdefs.h"
64661.76Spooka#include <machine/bswap.h>
64671.76Spooka
64681.76Spookaint
64691.76Spookamain ()
64701.76Spooka{
64711.76Spooka#ifndef bswap32
64721.76Spooka  char *p = (char *) bswap32;
64731.76Spooka#endif
64741.61Schristos
64751.76Spooka  ;
64761.76Spooka  return 0;
64771.76Spooka}
64781.74Schristos_ACEOF
64791.76Spookarm -f conftest.$ac_objext
64801.79Sjmcneillif { (eval echo "$as_me:6480: \"$ac_compile\"") >&5
64811.76Spooka  (eval $ac_compile) 2>&5
64821.76Spooka  ac_status=$?
64831.79Sjmcneill  echo "$as_me:6483: \$? = $ac_status" >&5
64841.76Spooka  (exit $ac_status); } &&
64851.76Spooka         { ac_try='test -s conftest.$ac_objext'
64861.79Sjmcneill  { (eval echo "$as_me:6486: \"$ac_try\"") >&5
64871.76Spooka  (eval $ac_try) 2>&5
64881.76Spooka  ac_status=$?
64891.79Sjmcneill  echo "$as_me:6489: \$? = $ac_status" >&5
64901.76Spooka  (exit $ac_status); }; }; then
64911.76Spooka  ac_cv_have_decl_bswap32=yes
64921.45Sjmcelse
64931.76Spooka  echo "$as_me: failed program was:" >&5
64941.76Spookacat conftest.$ac_ext >&5
64951.76Spookaac_cv_have_decl_bswap32=no
64961.76Spookafi
64971.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
64981.45Sjmcfi
64991.79Sjmcneillecho "$as_me:6499: result: $ac_cv_have_decl_bswap32" >&5
65001.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
65011.76Spookaif test $ac_cv_have_decl_bswap32 = yes; then
65021.45Sjmc
65031.76Spookacat >>confdefs.h <<EOF
65041.76Spooka#define HAVE_DECL_BSWAP32 1
65051.76SpookaEOF
65061.45Sjmc
65071.76Spookaelse
65081.76Spooka  cat >>confdefs.h <<EOF
65091.76Spooka#define HAVE_DECL_BSWAP32 0
65101.76SpookaEOF
65111.61Schristos
65121.76Spookafi
65131.79Sjmcneillecho "$as_me:6513: checking whether bswap64 is declared" >&5
65141.76Spookaecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
65151.76Spookaif test "${ac_cv_have_decl_bswap64+set}" = set; then
65161.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
65171.55Swizelse
65181.76Spooka  cat >conftest.$ac_ext <<_ACEOF
65191.79Sjmcneill#line 6519 "configure"
65201.76Spooka#include "confdefs.h"
65211.76Spooka#include <machine/bswap.h>
65221.76Spooka
65231.55Swizint
65241.55Swizmain ()
65251.55Swiz{
65261.76Spooka#ifndef bswap64
65271.76Spooka  char *p = (char *) bswap64;
65281.76Spooka#endif
65291.76Spooka
65301.55Swiz  ;
65311.55Swiz  return 0;
65321.55Swiz}
65331.55Swiz_ACEOF
65341.76Spookarm -f conftest.$ac_objext
65351.79Sjmcneillif { (eval echo "$as_me:6535: \"$ac_compile\"") >&5
65361.76Spooka  (eval $ac_compile) 2>&5
65371.76Spooka  ac_status=$?
65381.79Sjmcneill  echo "$as_me:6538: \$? = $ac_status" >&5
65391.76Spooka  (exit $ac_status); } &&
65401.76Spooka         { ac_try='test -s conftest.$ac_objext'
65411.79Sjmcneill  { (eval echo "$as_me:6541: \"$ac_try\"") >&5
65421.76Spooka  (eval $ac_try) 2>&5
65431.76Spooka  ac_status=$?
65441.79Sjmcneill  echo "$as_me:6544: \$? = $ac_status" >&5
65451.76Spooka  (exit $ac_status); }; }; then
65461.76Spooka  ac_cv_have_decl_bswap64=yes
65471.55Swizelse
65481.76Spooka  echo "$as_me: failed program was:" >&5
65491.76Spookacat conftest.$ac_ext >&5
65501.76Spookaac_cv_have_decl_bswap64=no
65511.55Swizfi
65521.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
65531.55Swizfi
65541.79Sjmcneillecho "$as_me:6554: result: $ac_cv_have_decl_bswap64" >&5
65551.76Spookaecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
65561.76Spookaif test $ac_cv_have_decl_bswap64 = yes; then
65571.76Spooka
65581.76Spookacat >>confdefs.h <<EOF
65591.76Spooka#define HAVE_DECL_BSWAP64 1
65601.76SpookaEOF
65611.55Swiz
65621.76Spookaelse
65631.76Spooka  cat >>confdefs.h <<EOF
65641.76Spooka#define HAVE_DECL_BSWAP64 0
65651.76SpookaEOF
65661.55Swiz
65671.55Swizfi
65681.55Swiz
65691.79Sjmcneillecho "$as_me:6569: checking whether be16enc is declared" >&5
65701.76Spookaecho $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
65711.76Spookaif test "${ac_cv_have_decl_be16enc+set}" = set; then
65721.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
65731.45Sjmcelse
65741.76Spooka  cat >conftest.$ac_ext <<_ACEOF
65751.79Sjmcneill#line 6575 "configure"
65761.76Spooka#include "confdefs.h"
65771.76Spooka#include <sys/endian.h>
65781.53Sdogcow
65791.52Sdbjint
65801.52Sdbjmain ()
65811.52Sdbj{
65821.76Spooka#ifndef be16enc
65831.76Spooka  char *p = (char *) be16enc;
65841.76Spooka#endif
65851.76Spooka
65861.48Sjmc  ;
65871.48Sjmc  return 0;
65881.48Sjmc}
65891.48Sjmc_ACEOF
65901.76Spookarm -f conftest.$ac_objext
65911.79Sjmcneillif { (eval echo "$as_me:6591: \"$ac_compile\"") >&5
65921.76Spooka  (eval $ac_compile) 2>&5
65931.76Spooka  ac_status=$?
65941.79Sjmcneill  echo "$as_me:6594: \$? = $ac_status" >&5
65951.76Spooka  (exit $ac_status); } &&
65961.76Spooka         { ac_try='test -s conftest.$ac_objext'
65971.79Sjmcneill  { (eval echo "$as_me:6597: \"$ac_try\"") >&5
65981.76Spooka  (eval $ac_try) 2>&5
65991.76Spooka  ac_status=$?
66001.79Sjmcneill  echo "$as_me:6600: \$? = $ac_status" >&5
66011.76Spooka  (exit $ac_status); }; }; then
66021.76Spooka  ac_cv_have_decl_be16enc=yes
66031.48Sjmcelse
66041.76Spooka  echo "$as_me: failed program was:" >&5
66051.76Spookacat conftest.$ac_ext >&5
66061.76Spookaac_cv_have_decl_be16enc=no
66071.48Sjmcfi
66081.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
66091.48Sjmcfi
66101.79Sjmcneillecho "$as_me:6610: result: $ac_cv_have_decl_be16enc" >&5
66111.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
66121.76Spookaif test $ac_cv_have_decl_be16enc = yes; then
66131.61Schristos
66141.76Spookacat >>confdefs.h <<EOF
66151.76Spooka#define HAVE_DECL_BE16ENC 1
66161.76SpookaEOF
66171.53Sdogcow
66181.76Spookaelse
66191.76Spooka  cat >>confdefs.h <<EOF
66201.76Spooka#define HAVE_DECL_BE16ENC 0
66211.76SpookaEOF
66221.48Sjmc
66231.76Spookafi
66241.79Sjmcneillecho "$as_me:6624: checking whether le16enc is declared" >&5
66251.76Spookaecho $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
66261.76Spookaif test "${ac_cv_have_decl_le16enc+set}" = set; then
66271.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
66281.48Sjmcelse
66291.76Spooka  cat >conftest.$ac_ext <<_ACEOF
66301.79Sjmcneill#line 6630 "configure"
66311.76Spooka#include "confdefs.h"
66321.76Spooka#include <sys/endian.h>
66331.53Sdogcow
66341.76Spookaint
66351.76Spookamain ()
66361.76Spooka{
66371.76Spooka#ifndef le16enc
66381.76Spooka  char *p = (char *) le16enc;
66391.53Sdogcow#endif
66401.53Sdogcow
66411.76Spooka  ;
66421.76Spooka  return 0;
66431.76Spooka}
66441.53Sdogcow_ACEOF
66451.76Spookarm -f conftest.$ac_objext
66461.79Sjmcneillif { (eval echo "$as_me:6646: \"$ac_compile\"") >&5
66471.76Spooka  (eval $ac_compile) 2>&5
66481.76Spooka  ac_status=$?
66491.79Sjmcneill  echo "$as_me:6649: \$? = $ac_status" >&5
66501.76Spooka  (exit $ac_status); } &&
66511.76Spooka         { ac_try='test -s conftest.$ac_objext'
66521.79Sjmcneill  { (eval echo "$as_me:6652: \"$ac_try\"") >&5
66531.76Spooka  (eval $ac_try) 2>&5
66541.76Spooka  ac_status=$?
66551.79Sjmcneill  echo "$as_me:6655: \$? = $ac_status" >&5
66561.76Spooka  (exit $ac_status); }; }; then
66571.76Spooka  ac_cv_have_decl_le16enc=yes
66581.53Sdogcowelse
66591.76Spooka  echo "$as_me: failed program was:" >&5
66601.76Spookacat conftest.$ac_ext >&5
66611.76Spookaac_cv_have_decl_le16enc=no
66621.53Sdogcowfi
66631.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
66641.53Sdogcowfi
66651.79Sjmcneillecho "$as_me:6665: result: $ac_cv_have_decl_le16enc" >&5
66661.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
66671.76Spookaif test $ac_cv_have_decl_le16enc = yes; then
66681.61Schristos
66691.76Spookacat >>confdefs.h <<EOF
66701.76Spooka#define HAVE_DECL_LE16ENC 1
66711.76SpookaEOF
66721.53Sdogcow
66731.76Spookaelse
66741.76Spooka  cat >>confdefs.h <<EOF
66751.76Spooka#define HAVE_DECL_LE16ENC 0
66761.76SpookaEOF
66771.61Schristos
66781.63Sapbfi
66791.79Sjmcneillecho "$as_me:6679: checking whether be16dec is declared" >&5
66801.76Spookaecho $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
66811.76Spookaif test "${ac_cv_have_decl_be16dec+set}" = set; then
66821.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
66831.76Spookaelse
66841.76Spooka  cat >conftest.$ac_ext <<_ACEOF
66851.79Sjmcneill#line 6685 "configure"
66861.76Spooka#include "confdefs.h"
66871.76Spooka#include <sys/endian.h>
66881.53Sdogcow
66891.74Schristosint
66901.76Spookamain ()
66911.74Schristos{
66921.76Spooka#ifndef be16dec
66931.76Spooka  char *p = (char *) be16dec;
66941.76Spooka#endif
66951.53Sdogcow
66961.76Spooka  ;
66971.76Spooka  return 0;
66981.53Sdogcow}
66991.53Sdogcow_ACEOF
67001.76Spookarm -f conftest.$ac_objext
67011.79Sjmcneillif { (eval echo "$as_me:6701: \"$ac_compile\"") >&5
67021.76Spooka  (eval $ac_compile) 2>&5
67031.76Spooka  ac_status=$?
67041.79Sjmcneill  echo "$as_me:6704: \$? = $ac_status" >&5
67051.76Spooka  (exit $ac_status); } &&
67061.76Spooka         { ac_try='test -s conftest.$ac_objext'
67071.79Sjmcneill  { (eval echo "$as_me:6707: \"$ac_try\"") >&5
67081.76Spooka  (eval $ac_try) 2>&5
67091.76Spooka  ac_status=$?
67101.79Sjmcneill  echo "$as_me:6710: \$? = $ac_status" >&5
67111.76Spooka  (exit $ac_status); }; }; then
67121.76Spooka  ac_cv_have_decl_be16dec=yes
67131.53Sdogcowelse
67141.76Spooka  echo "$as_me: failed program was:" >&5
67151.76Spookacat conftest.$ac_ext >&5
67161.76Spookaac_cv_have_decl_be16dec=no
67171.53Sdogcowfi
67181.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
67191.74Schristosfi
67201.79Sjmcneillecho "$as_me:6720: result: $ac_cv_have_decl_be16dec" >&5
67211.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
67221.76Spookaif test $ac_cv_have_decl_be16dec = yes; then
67231.53Sdogcow
67241.76Spookacat >>confdefs.h <<EOF
67251.76Spooka#define HAVE_DECL_BE16DEC 1
67261.76SpookaEOF
67271.53Sdogcow
67281.76Spookaelse
67291.76Spooka  cat >>confdefs.h <<EOF
67301.76Spooka#define HAVE_DECL_BE16DEC 0
67311.76SpookaEOF
67321.53Sdogcow
67331.53Sdogcowfi
67341.79Sjmcneillecho "$as_me:6734: checking whether le16dec is declared" >&5
67351.76Spookaecho $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
67361.76Spookaif test "${ac_cv_have_decl_le16dec+set}" = set; then
67371.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
67381.76Spookaelse
67391.76Spooka  cat >conftest.$ac_ext <<_ACEOF
67401.79Sjmcneill#line 6740 "configure"
67411.76Spooka#include "confdefs.h"
67421.76Spooka#include <sys/endian.h>
67431.74Schristos
67441.76Spookaint
67451.76Spookamain ()
67461.76Spooka{
67471.76Spooka#ifndef le16dec
67481.76Spooka  char *p = (char *) le16dec;
67491.76Spooka#endif
67501.61Schristos
67511.76Spooka  ;
67521.76Spooka  return 0;
67531.76Spooka}
67541.76Spooka_ACEOF
67551.76Spookarm -f conftest.$ac_objext
67561.79Sjmcneillif { (eval echo "$as_me:6756: \"$ac_compile\"") >&5
67571.76Spooka  (eval $ac_compile) 2>&5
67581.76Spooka  ac_status=$?
67591.79Sjmcneill  echo "$as_me:6759: \$? = $ac_status" >&5
67601.76Spooka  (exit $ac_status); } &&
67611.76Spooka         { ac_try='test -s conftest.$ac_objext'
67621.79Sjmcneill  { (eval echo "$as_me:6762: \"$ac_try\"") >&5
67631.76Spooka  (eval $ac_try) 2>&5
67641.76Spooka  ac_status=$?
67651.79Sjmcneill  echo "$as_me:6765: \$? = $ac_status" >&5
67661.76Spooka  (exit $ac_status); }; }; then
67671.76Spooka  ac_cv_have_decl_le16dec=yes
67681.53Sdogcowelse
67691.76Spooka  echo "$as_me: failed program was:" >&5
67701.76Spookacat conftest.$ac_ext >&5
67711.76Spookaac_cv_have_decl_le16dec=no
67721.53Sdogcowfi
67731.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
67741.76Spookafi
67751.79Sjmcneillecho "$as_me:6775: result: $ac_cv_have_decl_le16dec" >&5
67761.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
67771.76Spookaif test $ac_cv_have_decl_le16dec = yes; then
67781.53Sdogcow
67791.76Spookacat >>confdefs.h <<EOF
67801.76Spooka#define HAVE_DECL_LE16DEC 1
67811.76SpookaEOF
67821.53Sdogcow
67831.53Sdogcowelse
67841.76Spooka  cat >>confdefs.h <<EOF
67851.76Spooka#define HAVE_DECL_LE16DEC 0
67861.76SpookaEOF
67871.76Spooka
67881.53Sdogcowfi
67891.79Sjmcneillecho "$as_me:6789: checking whether be32enc is declared" >&5
67901.76Spookaecho $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
67911.76Spookaif test "${ac_cv_have_decl_be32enc+set}" = set; then
67921.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
67931.76Spookaelse
67941.76Spooka  cat >conftest.$ac_ext <<_ACEOF
67951.79Sjmcneill#line 6795 "configure"
67961.76Spooka#include "confdefs.h"
67971.76Spooka#include <sys/endian.h>
67981.76Spooka
67991.76Spookaint
68001.76Spookamain ()
68011.76Spooka{
68021.76Spooka#ifndef be32enc
68031.76Spooka  char *p = (char *) be32enc;
68041.76Spooka#endif
68051.61Schristos
68061.76Spooka  ;
68071.76Spooka  return 0;
68081.76Spooka}
68091.74Schristos_ACEOF
68101.76Spookarm -f conftest.$ac_objext
68111.79Sjmcneillif { (eval echo "$as_me:6811: \"$ac_compile\"") >&5
68121.76Spooka  (eval $ac_compile) 2>&5
68131.76Spooka  ac_status=$?
68141.79Sjmcneill  echo "$as_me:6814: \$? = $ac_status" >&5
68151.76Spooka  (exit $ac_status); } &&
68161.76Spooka         { ac_try='test -s conftest.$ac_objext'
68171.79Sjmcneill  { (eval echo "$as_me:6817: \"$ac_try\"") >&5
68181.76Spooka  (eval $ac_try) 2>&5
68191.76Spooka  ac_status=$?
68201.79Sjmcneill  echo "$as_me:6820: \$? = $ac_status" >&5
68211.76Spooka  (exit $ac_status); }; }; then
68221.76Spooka  ac_cv_have_decl_be32enc=yes
68231.53Sdogcowelse
68241.76Spooka  echo "$as_me: failed program was:" >&5
68251.76Spookacat conftest.$ac_ext >&5
68261.76Spookaac_cv_have_decl_be32enc=no
68271.76Spookafi
68281.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
68291.53Sdogcowfi
68301.79Sjmcneillecho "$as_me:6830: result: $ac_cv_have_decl_be32enc" >&5
68311.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
68321.76Spookaif test $ac_cv_have_decl_be32enc = yes; then
68331.53Sdogcow
68341.76Spookacat >>confdefs.h <<EOF
68351.76Spooka#define HAVE_DECL_BE32ENC 1
68361.76SpookaEOF
68371.61Schristos
68381.76Spookaelse
68391.76Spooka  cat >>confdefs.h <<EOF
68401.76Spooka#define HAVE_DECL_BE32ENC 0
68411.76SpookaEOF
68421.53Sdogcow
68431.76Spookafi
68441.79Sjmcneillecho "$as_me:6844: checking whether le32enc is declared" >&5
68451.76Spookaecho $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
68461.76Spookaif test "${ac_cv_have_decl_le32enc+set}" = set; then
68471.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
68481.53Sdogcowelse
68491.76Spooka  cat >conftest.$ac_ext <<_ACEOF
68501.79Sjmcneill#line 6850 "configure"
68511.76Spooka#include "confdefs.h"
68521.76Spooka#include <sys/endian.h>
68531.76Spooka
68541.76Spookaint
68551.76Spookamain ()
68561.76Spooka{
68571.76Spooka#ifndef le32enc
68581.76Spooka  char *p = (char *) le32enc;
68591.76Spooka#endif
68601.53Sdogcow
68611.76Spooka  ;
68621.76Spooka  return 0;
68631.76Spooka}
68641.74Schristos_ACEOF
68651.76Spookarm -f conftest.$ac_objext
68661.79Sjmcneillif { (eval echo "$as_me:6866: \"$ac_compile\"") >&5
68671.76Spooka  (eval $ac_compile) 2>&5
68681.76Spooka  ac_status=$?
68691.79Sjmcneill  echo "$as_me:6869: \$? = $ac_status" >&5
68701.76Spooka  (exit $ac_status); } &&
68711.76Spooka         { ac_try='test -s conftest.$ac_objext'
68721.79Sjmcneill  { (eval echo "$as_me:6872: \"$ac_try\"") >&5
68731.76Spooka  (eval $ac_try) 2>&5
68741.76Spooka  ac_status=$?
68751.79Sjmcneill  echo "$as_me:6875: \$? = $ac_status" >&5
68761.76Spooka  (exit $ac_status); }; }; then
68771.76Spooka  ac_cv_have_decl_le32enc=yes
68781.53Sdogcowelse
68791.76Spooka  echo "$as_me: failed program was:" >&5
68801.76Spookacat conftest.$ac_ext >&5
68811.76Spookaac_cv_have_decl_le32enc=no
68821.76Spookafi
68831.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
68841.53Sdogcowfi
68851.79Sjmcneillecho "$as_me:6885: result: $ac_cv_have_decl_le32enc" >&5
68861.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
68871.76Spookaif test $ac_cv_have_decl_le32enc = yes; then
68881.61Schristos
68891.76Spookacat >>confdefs.h <<EOF
68901.76Spooka#define HAVE_DECL_LE32ENC 1
68911.76SpookaEOF
68921.53Sdogcow
68931.53Sdogcowelse
68941.76Spooka  cat >>confdefs.h <<EOF
68951.76Spooka#define HAVE_DECL_LE32ENC 0
68961.76SpookaEOF
68971.76Spooka
68981.53Sdogcowfi
68991.79Sjmcneillecho "$as_me:6899: checking whether be32dec is declared" >&5
69001.76Spookaecho $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
69011.76Spookaif test "${ac_cv_have_decl_be32dec+set}" = set; then
69021.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
69031.76Spookaelse
69041.76Spooka  cat >conftest.$ac_ext <<_ACEOF
69051.79Sjmcneill#line 6905 "configure"
69061.76Spooka#include "confdefs.h"
69071.76Spooka#include <sys/endian.h>
69081.76Spooka
69091.76Spookaint
69101.76Spookamain ()
69111.76Spooka{
69121.76Spooka#ifndef be32dec
69131.76Spooka  char *p = (char *) be32dec;
69141.76Spooka#endif
69151.53Sdogcow
69161.76Spooka  ;
69171.76Spooka  return 0;
69181.76Spooka}
69191.74Schristos_ACEOF
69201.76Spookarm -f conftest.$ac_objext
69211.79Sjmcneillif { (eval echo "$as_me:6921: \"$ac_compile\"") >&5
69221.76Spooka  (eval $ac_compile) 2>&5
69231.76Spooka  ac_status=$?
69241.79Sjmcneill  echo "$as_me:6924: \$? = $ac_status" >&5
69251.76Spooka  (exit $ac_status); } &&
69261.76Spooka         { ac_try='test -s conftest.$ac_objext'
69271.79Sjmcneill  { (eval echo "$as_me:6927: \"$ac_try\"") >&5
69281.76Spooka  (eval $ac_try) 2>&5
69291.76Spooka  ac_status=$?
69301.79Sjmcneill  echo "$as_me:6930: \$? = $ac_status" >&5
69311.76Spooka  (exit $ac_status); }; }; then
69321.76Spooka  ac_cv_have_decl_be32dec=yes
69331.53Sdogcowelse
69341.76Spooka  echo "$as_me: failed program was:" >&5
69351.76Spookacat conftest.$ac_ext >&5
69361.76Spookaac_cv_have_decl_be32dec=no
69371.76Spookafi
69381.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
69391.53Sdogcowfi
69401.79Sjmcneillecho "$as_me:6940: result: $ac_cv_have_decl_be32dec" >&5
69411.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
69421.76Spookaif test $ac_cv_have_decl_be32dec = yes; then
69431.61Schristos
69441.76Spookacat >>confdefs.h <<EOF
69451.76Spooka#define HAVE_DECL_BE32DEC 1
69461.76SpookaEOF
69471.53Sdogcow
69481.53Sdogcowelse
69491.76Spooka  cat >>confdefs.h <<EOF
69501.76Spooka#define HAVE_DECL_BE32DEC 0
69511.76SpookaEOF
69521.76Spooka
69531.74Schristosfi
69541.79Sjmcneillecho "$as_me:6954: checking whether le32dec is declared" >&5
69551.76Spookaecho $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
69561.76Spookaif test "${ac_cv_have_decl_le32dec+set}" = set; then
69571.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
69581.76Spookaelse
69591.76Spooka  cat >conftest.$ac_ext <<_ACEOF
69601.79Sjmcneill#line 6960 "configure"
69611.76Spooka#include "confdefs.h"
69621.76Spooka#include <sys/endian.h>
69631.76Spooka
69641.76Spookaint
69651.76Spookamain ()
69661.76Spooka{
69671.76Spooka#ifndef le32dec
69681.76Spooka  char *p = (char *) le32dec;
69691.76Spooka#endif
69701.53Sdogcow
69711.76Spooka  ;
69721.76Spooka  return 0;
69731.76Spooka}
69741.74Schristos_ACEOF
69751.76Spookarm -f conftest.$ac_objext
69761.79Sjmcneillif { (eval echo "$as_me:6976: \"$ac_compile\"") >&5
69771.76Spooka  (eval $ac_compile) 2>&5
69781.76Spooka  ac_status=$?
69791.79Sjmcneill  echo "$as_me:6979: \$? = $ac_status" >&5
69801.76Spooka  (exit $ac_status); } &&
69811.76Spooka         { ac_try='test -s conftest.$ac_objext'
69821.79Sjmcneill  { (eval echo "$as_me:6982: \"$ac_try\"") >&5
69831.76Spooka  (eval $ac_try) 2>&5
69841.76Spooka  ac_status=$?
69851.79Sjmcneill  echo "$as_me:6985: \$? = $ac_status" >&5
69861.76Spooka  (exit $ac_status); }; }; then
69871.76Spooka  ac_cv_have_decl_le32dec=yes
69881.53Sdogcowelse
69891.76Spooka  echo "$as_me: failed program was:" >&5
69901.76Spookacat conftest.$ac_ext >&5
69911.76Spookaac_cv_have_decl_le32dec=no
69921.76Spookafi
69931.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
69941.53Sdogcowfi
69951.79Sjmcneillecho "$as_me:6995: result: $ac_cv_have_decl_le32dec" >&5
69961.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
69971.76Spookaif test $ac_cv_have_decl_le32dec = yes; then
69981.61Schristos
69991.76Spookacat >>confdefs.h <<EOF
70001.76Spooka#define HAVE_DECL_LE32DEC 1
70011.76SpookaEOF
70021.53Sdogcow
70031.53Sdogcowelse
70041.76Spooka  cat >>confdefs.h <<EOF
70051.76Spooka#define HAVE_DECL_LE32DEC 0
70061.76SpookaEOF
70071.76Spooka
70081.53Sdogcowfi
70091.79Sjmcneillecho "$as_me:7009: checking whether be64enc is declared" >&5
70101.76Spookaecho $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
70111.76Spookaif test "${ac_cv_have_decl_be64enc+set}" = set; then
70121.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
70131.76Spookaelse
70141.76Spooka  cat >conftest.$ac_ext <<_ACEOF
70151.79Sjmcneill#line 7015 "configure"
70161.76Spooka#include "confdefs.h"
70171.76Spooka#include <sys/endian.h>
70181.76Spooka
70191.76Spookaint
70201.76Spookamain ()
70211.76Spooka{
70221.76Spooka#ifndef be64enc
70231.76Spooka  char *p = (char *) be64enc;
70241.76Spooka#endif
70251.53Sdogcow
70261.76Spooka  ;
70271.76Spooka  return 0;
70281.76Spooka}
70291.74Schristos_ACEOF
70301.76Spookarm -f conftest.$ac_objext
70311.79Sjmcneillif { (eval echo "$as_me:7031: \"$ac_compile\"") >&5
70321.76Spooka  (eval $ac_compile) 2>&5
70331.76Spooka  ac_status=$?
70341.79Sjmcneill  echo "$as_me:7034: \$? = $ac_status" >&5
70351.76Spooka  (exit $ac_status); } &&
70361.76Spooka         { ac_try='test -s conftest.$ac_objext'
70371.79Sjmcneill  { (eval echo "$as_me:7037: \"$ac_try\"") >&5
70381.76Spooka  (eval $ac_try) 2>&5
70391.76Spooka  ac_status=$?
70401.79Sjmcneill  echo "$as_me:7040: \$? = $ac_status" >&5
70411.76Spooka  (exit $ac_status); }; }; then
70421.76Spooka  ac_cv_have_decl_be64enc=yes
70431.53Sdogcowelse
70441.76Spooka  echo "$as_me: failed program was:" >&5
70451.76Spookacat conftest.$ac_ext >&5
70461.76Spookaac_cv_have_decl_be64enc=no
70471.53Sdogcowfi
70481.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
70491.76Spookafi
70501.79Sjmcneillecho "$as_me:7050: result: $ac_cv_have_decl_be64enc" >&5
70511.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
70521.76Spookaif test $ac_cv_have_decl_be64enc = yes; then
70531.61Schristos
70541.76Spookacat >>confdefs.h <<EOF
70551.76Spooka#define HAVE_DECL_BE64ENC 1
70561.76SpookaEOF
70571.53Sdogcow
70581.53Sdogcowelse
70591.76Spooka  cat >>confdefs.h <<EOF
70601.76Spooka#define HAVE_DECL_BE64ENC 0
70611.76SpookaEOF
70621.76Spooka
70631.74Schristosfi
70641.79Sjmcneillecho "$as_me:7064: checking whether le64enc is declared" >&5
70651.76Spookaecho $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
70661.76Spookaif test "${ac_cv_have_decl_le64enc+set}" = set; then
70671.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
70681.74Schristoselse
70691.76Spooka  cat >conftest.$ac_ext <<_ACEOF
70701.79Sjmcneill#line 7070 "configure"
70711.76Spooka#include "confdefs.h"
70721.76Spooka#include <sys/endian.h>
70731.74Schristos
70741.76Spookaint
70751.76Spookamain ()
70761.76Spooka{
70771.76Spooka#ifndef le64enc
70781.76Spooka  char *p = (char *) le64enc;
70791.76Spooka#endif
70801.53Sdogcow
70811.76Spooka  ;
70821.76Spooka  return 0;
70831.76Spooka}
70841.74Schristos_ACEOF
70851.76Spookarm -f conftest.$ac_objext
70861.79Sjmcneillif { (eval echo "$as_me:7086: \"$ac_compile\"") >&5
70871.76Spooka  (eval $ac_compile) 2>&5
70881.76Spooka  ac_status=$?
70891.79Sjmcneill  echo "$as_me:7089: \$? = $ac_status" >&5
70901.76Spooka  (exit $ac_status); } &&
70911.76Spooka         { ac_try='test -s conftest.$ac_objext'
70921.79Sjmcneill  { (eval echo "$as_me:7092: \"$ac_try\"") >&5
70931.76Spooka  (eval $ac_try) 2>&5
70941.76Spooka  ac_status=$?
70951.79Sjmcneill  echo "$as_me:7095: \$? = $ac_status" >&5
70961.76Spooka  (exit $ac_status); }; }; then
70971.76Spooka  ac_cv_have_decl_le64enc=yes
70981.74Schristoselse
70991.76Spooka  echo "$as_me: failed program was:" >&5
71001.76Spookacat conftest.$ac_ext >&5
71011.76Spookaac_cv_have_decl_le64enc=no
71021.74Schristosfi
71031.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
71041.53Sdogcowfi
71051.79Sjmcneillecho "$as_me:7105: result: $ac_cv_have_decl_le64enc" >&5
71061.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
71071.76Spookaif test $ac_cv_have_decl_le64enc = yes; then
71081.74Schristos
71091.76Spookacat >>confdefs.h <<EOF
71101.76Spooka#define HAVE_DECL_LE64ENC 1
71111.76SpookaEOF
71121.61Schristos
71131.74Schristoselse
71141.76Spooka  cat >>confdefs.h <<EOF
71151.76Spooka#define HAVE_DECL_LE64ENC 0
71161.76SpookaEOF
71171.53Sdogcow
71181.74Schristosfi
71191.79Sjmcneillecho "$as_me:7119: checking whether be64dec is declared" >&5
71201.76Spookaecho $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
71211.76Spookaif test "${ac_cv_have_decl_be64dec+set}" = set; then
71221.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
71231.74Schristoselse
71241.76Spooka  cat >conftest.$ac_ext <<_ACEOF
71251.79Sjmcneill#line 7125 "configure"
71261.76Spooka#include "confdefs.h"
71271.76Spooka#include <sys/endian.h>
71281.74Schristos
71291.76Spookaint
71301.76Spookamain ()
71311.76Spooka{
71321.76Spooka#ifndef be64dec
71331.76Spooka  char *p = (char *) be64dec;
71341.76Spooka#endif
71351.54Swiz
71361.76Spooka  ;
71371.76Spooka  return 0;
71381.76Spooka}
71391.74Schristos_ACEOF
71401.76Spookarm -f conftest.$ac_objext
71411.79Sjmcneillif { (eval echo "$as_me:7141: \"$ac_compile\"") >&5
71421.76Spooka  (eval $ac_compile) 2>&5
71431.76Spooka  ac_status=$?
71441.79Sjmcneill  echo "$as_me:7144: \$? = $ac_status" >&5
71451.76Spooka  (exit $ac_status); } &&
71461.76Spooka         { ac_try='test -s conftest.$ac_objext'
71471.79Sjmcneill  { (eval echo "$as_me:7147: \"$ac_try\"") >&5
71481.76Spooka  (eval $ac_try) 2>&5
71491.76Spooka  ac_status=$?
71501.79Sjmcneill  echo "$as_me:7150: \$? = $ac_status" >&5
71511.76Spooka  (exit $ac_status); }; }; then
71521.76Spooka  ac_cv_have_decl_be64dec=yes
71531.74Schristoselse
71541.76Spooka  echo "$as_me: failed program was:" >&5
71551.76Spookacat conftest.$ac_ext >&5
71561.76Spookaac_cv_have_decl_be64dec=no
71571.74Schristosfi
71581.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
71591.54Swizfi
71601.79Sjmcneillecho "$as_me:7160: result: $ac_cv_have_decl_be64dec" >&5
71611.76Spookaecho "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
71621.76Spookaif test $ac_cv_have_decl_be64dec = yes; then
71631.61Schristos
71641.76Spookacat >>confdefs.h <<EOF
71651.76Spooka#define HAVE_DECL_BE64DEC 1
71661.76SpookaEOF
71671.74Schristos
71681.76Spookaelse
71691.76Spooka  cat >>confdefs.h <<EOF
71701.76Spooka#define HAVE_DECL_BE64DEC 0
71711.76SpookaEOF
71721.53Sdogcow
71731.76Spookafi
71741.79Sjmcneillecho "$as_me:7174: checking whether le64dec is declared" >&5
71751.76Spookaecho $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
71761.76Spookaif test "${ac_cv_have_decl_le64dec+set}" = set; then
71771.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
71781.54Swizelse
71791.76Spooka  cat >conftest.$ac_ext <<_ACEOF
71801.79Sjmcneill#line 7180 "configure"
71811.76Spooka#include "confdefs.h"
71821.76Spooka#include <sys/endian.h>
71831.76Spooka
71841.76Spookaint
71851.76Spookamain ()
71861.76Spooka{
71871.76Spooka#ifndef le64dec
71881.76Spooka  char *p = (char *) le64dec;
71891.76Spooka#endif
71901.53Sdogcow
71911.76Spooka  ;
71921.76Spooka  return 0;
71931.76Spooka}
71941.74Schristos_ACEOF
71951.76Spookarm -f conftest.$ac_objext
71961.79Sjmcneillif { (eval echo "$as_me:7196: \"$ac_compile\"") >&5
71971.76Spooka  (eval $ac_compile) 2>&5
71981.76Spooka  ac_status=$?
71991.79Sjmcneill  echo "$as_me:7199: \$? = $ac_status" >&5
72001.76Spooka  (exit $ac_status); } &&
72011.76Spooka         { ac_try='test -s conftest.$ac_objext'
72021.79Sjmcneill  { (eval echo "$as_me:7202: \"$ac_try\"") >&5
72031.76Spooka  (eval $ac_try) 2>&5
72041.76Spooka  ac_status=$?
72051.79Sjmcneill  echo "$as_me:7205: \$? = $ac_status" >&5
72061.76Spooka  (exit $ac_status); }; }; then
72071.76Spooka  ac_cv_have_decl_le64dec=yes
72081.74Schristoselse
72091.76Spooka  echo "$as_me: failed program was:" >&5
72101.76Spookacat conftest.$ac_ext >&5
72111.76Spookaac_cv_have_decl_le64dec=no
72121.54Swizfi
72131.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
72141.54Swizfi
72151.79Sjmcneillecho "$as_me:7215: result: $ac_cv_have_decl_le64dec" >&5
72161.76Spookaecho "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
72171.76Spookaif test $ac_cv_have_decl_le64dec = yes; then
72181.61Schristos
72191.76Spookacat >>confdefs.h <<EOF
72201.76Spooka#define HAVE_DECL_LE64DEC 1
72211.76SpookaEOF
72221.74Schristos
72231.76Spookaelse
72241.76Spooka  cat >>confdefs.h <<EOF
72251.76Spooka#define HAVE_DECL_LE64DEC 0
72261.76SpookaEOF
72271.54Swiz
72281.74Schristosfi
72291.54Swiz
72301.79Sjmcneillecho "$as_me:7230: checking whether fstatvfs is declared" >&5
72311.76Spookaecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
72321.76Spookaif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
72331.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
72341.74Schristoselse
72351.76Spooka  cat >conftest.$ac_ext <<_ACEOF
72361.79Sjmcneill#line 7236 "configure"
72371.76Spooka#include "confdefs.h"
72381.76Spooka#include <sys/statvfs.h>
72391.76Spooka
72401.76Spookaint
72411.76Spookamain ()
72421.76Spooka{
72431.76Spooka#ifndef fstatvfs
72441.76Spooka  char *p = (char *) fstatvfs;
72451.76Spooka#endif
72461.74Schristos
72471.76Spooka  ;
72481.76Spooka  return 0;
72491.76Spooka}
72501.74Schristos_ACEOF
72511.76Spookarm -f conftest.$ac_objext
72521.79Sjmcneillif { (eval echo "$as_me:7252: \"$ac_compile\"") >&5
72531.76Spooka  (eval $ac_compile) 2>&5
72541.76Spooka  ac_status=$?
72551.79Sjmcneill  echo "$as_me:7255: \$? = $ac_status" >&5
72561.76Spooka  (exit $ac_status); } &&
72571.76Spooka         { ac_try='test -s conftest.$ac_objext'
72581.79Sjmcneill  { (eval echo "$as_me:7258: \"$ac_try\"") >&5
72591.76Spooka  (eval $ac_try) 2>&5
72601.76Spooka  ac_status=$?
72611.79Sjmcneill  echo "$as_me:7261: \$? = $ac_status" >&5
72621.76Spooka  (exit $ac_status); }; }; then
72631.76Spooka  ac_cv_have_decl_fstatvfs=yes
72641.54Swizelse
72651.76Spooka  echo "$as_me: failed program was:" >&5
72661.76Spookacat conftest.$ac_ext >&5
72671.76Spookaac_cv_have_decl_fstatvfs=no
72681.74Schristosfi
72691.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
72701.74Schristosfi
72711.79Sjmcneillecho "$as_me:7271: result: $ac_cv_have_decl_fstatvfs" >&5
72721.76Spookaecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
72731.76Spookaif test $ac_cv_have_decl_fstatvfs = yes; then
72741.54Swiz
72751.76Spookacat >>confdefs.h <<EOF
72761.76Spooka#define HAVE_DECL_FSTATVFS 1
72771.76SpookaEOF
72781.74Schristos
72791.74Schristoselse
72801.76Spooka  cat >>confdefs.h <<EOF
72811.76Spooka#define HAVE_DECL_FSTATVFS 0
72821.76SpookaEOF
72831.61Schristos
72841.74Schristosfi
72851.54Swiz
72861.79Sjmcneillecho "$as_me:7286: checking whether setgroupent is declared" >&5
72871.76Spookaecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
72881.76Spookaif test "${ac_cv_have_decl_setgroupent+set}" = set; then
72891.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
72901.54Swizelse
72911.76Spooka  cat >conftest.$ac_ext <<_ACEOF
72921.79Sjmcneill#line 7292 "configure"
72931.76Spooka#include "confdefs.h"
72941.54Swiz
72951.76Spooka#include <sys/types.h>
72961.76Spooka#include <grp.h>
72971.76Spooka#include <pwd.h>
72981.45Sjmc
72991.76Spookaint
73001.76Spookamain ()
73011.76Spooka{
73021.76Spooka#ifndef setgroupent
73031.76Spooka  char *p = (char *) setgroupent;
73041.76Spooka#endif
73051.53Sdogcow
73061.76Spooka  ;
73071.76Spooka  return 0;
73081.76Spooka}
73091.74Schristos_ACEOF
73101.76Spookarm -f conftest.$ac_objext
73111.79Sjmcneillif { (eval echo "$as_me:7311: \"$ac_compile\"") >&5
73121.76Spooka  (eval $ac_compile) 2>&5
73131.76Spooka  ac_status=$?
73141.79Sjmcneill  echo "$as_me:7314: \$? = $ac_status" >&5
73151.76Spooka  (exit $ac_status); } &&
73161.76Spooka         { ac_try='test -s conftest.$ac_objext'
73171.79Sjmcneill  { (eval echo "$as_me:7317: \"$ac_try\"") >&5
73181.76Spooka  (eval $ac_try) 2>&5
73191.76Spooka  ac_status=$?
73201.79Sjmcneill  echo "$as_me:7320: \$? = $ac_status" >&5
73211.76Spooka  (exit $ac_status); }; }; then
73221.76Spooka  ac_cv_have_decl_setgroupent=yes
73231.74Schristoselse
73241.76Spooka  echo "$as_me: failed program was:" >&5
73251.76Spookacat conftest.$ac_ext >&5
73261.76Spookaac_cv_have_decl_setgroupent=no
73271.74Schristosfi
73281.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
73291.1Stvfi
73301.79Sjmcneillecho "$as_me:7330: result: $ac_cv_have_decl_setgroupent" >&5
73311.76Spookaecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
73321.76Spookaif test $ac_cv_have_decl_setgroupent = yes; then
73331.54Swiz
73341.76Spookacat >>confdefs.h <<EOF
73351.76Spooka#define HAVE_DECL_SETGROUPENT 1
73361.76SpookaEOF
73371.74Schristos
73381.76Spookaelse
73391.76Spooka  cat >>confdefs.h <<EOF
73401.76Spooka#define HAVE_DECL_SETGROUPENT 0
73411.76SpookaEOF
73421.54Swiz
73431.76Spookafi
73441.79Sjmcneillecho "$as_me:7344: checking whether setpassent is declared" >&5
73451.76Spookaecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
73461.76Spookaif test "${ac_cv_have_decl_setpassent+set}" = set; then
73471.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
73481.54Swizelse
73491.76Spooka  cat >conftest.$ac_ext <<_ACEOF
73501.79Sjmcneill#line 7350 "configure"
73511.76Spooka#include "confdefs.h"
73521.54Swiz
73531.33Sthorpej#include <sys/types.h>
73541.8Stv#include <grp.h>
73551.8Stv#include <pwd.h>
73561.8Stv
73571.76Spookaint
73581.76Spookamain ()
73591.76Spooka{
73601.76Spooka#ifndef setpassent
73611.76Spooka  char *p = (char *) setpassent;
73621.76Spooka#endif
73631.76Spooka
73641.76Spooka  ;
73651.76Spooka  return 0;
73661.76Spooka}
73671.76Spooka_ACEOF
73681.76Spookarm -f conftest.$ac_objext
73691.79Sjmcneillif { (eval echo "$as_me:7369: \"$ac_compile\"") >&5
73701.76Spooka  (eval $ac_compile) 2>&5
73711.76Spooka  ac_status=$?
73721.79Sjmcneill  echo "$as_me:7372: \$? = $ac_status" >&5
73731.76Spooka  (exit $ac_status); } &&
73741.76Spooka         { ac_try='test -s conftest.$ac_objext'
73751.79Sjmcneill  { (eval echo "$as_me:7375: \"$ac_try\"") >&5
73761.76Spooka  (eval $ac_try) 2>&5
73771.76Spooka  ac_status=$?
73781.79Sjmcneill  echo "$as_me:7378: \$? = $ac_status" >&5
73791.76Spooka  (exit $ac_status); }; }; then
73801.76Spooka  ac_cv_have_decl_setpassent=yes
73811.8Stvelse
73821.76Spooka  echo "$as_me: failed program was:" >&5
73831.76Spookacat conftest.$ac_ext >&5
73841.76Spookaac_cv_have_decl_setpassent=no
73851.8Stvfi
73861.76Spookarm -f conftest.$ac_objext conftest.$ac_ext
73871.76Spookafi
73881.79Sjmcneillecho "$as_me:7388: result: $ac_cv_have_decl_setpassent" >&5
73891.76Spookaecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
73901.76Spookaif test $ac_cv_have_decl_setpassent = yes; then
73911.8Stv
73921.76Spookacat >>confdefs.h <<EOF
73931.76Spooka#define HAVE_DECL_SETPASSENT 1
73941.76SpookaEOF
73951.8Stv
73961.8Stvelse
73971.76Spooka  cat >>confdefs.h <<EOF
73981.76Spooka#define HAVE_DECL_SETPASSENT 0
73991.76SpookaEOF
74001.76Spooka
74011.8Stvfi
74021.8Stv
74031.4Stv# regcomp() and regexec() are also names of functions in the old V8
74041.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
74051.4Stv
74061.79Sjmcneillecho "$as_me:7406: checking for regfree in -lregex" >&5
74071.76Spookaecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
74081.76Spookaif test "${ac_cv_lib_regex_regfree+set}" = set; then
74091.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
74101.4Stvelse
74111.4Stv  ac_check_lib_save_LIBS=$LIBS
74121.4StvLIBS="-lregex  $LIBS"
74131.76Spookacat >conftest.$ac_ext <<_ACEOF
74141.79Sjmcneill#line 7414 "configure"
74151.76Spooka#include "confdefs.h"
74161.4Stv
74171.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
74181.4Stv#ifdef __cplusplus
74191.4Stvextern "C"
74201.4Stv#endif
74211.76Spooka/* We use char because int might match the return type of a gcc2
74221.76Spooka   builtin and then its argument prototype would still apply.  */
74231.4Stvchar regfree ();
74241.4Stvint
74251.4Stvmain ()
74261.4Stv{
74271.76Spookaregfree ();
74281.4Stv  ;
74291.4Stv  return 0;
74301.4Stv}
74311.4Stv_ACEOF
74321.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
74331.79Sjmcneillif { (eval echo "$as_me:7433: \"$ac_link\"") >&5
74341.76Spooka  (eval $ac_link) 2>&5
74351.76Spooka  ac_status=$?
74361.79Sjmcneill  echo "$as_me:7436: \$? = $ac_status" >&5
74371.76Spooka  (exit $ac_status); } &&
74381.76Spooka         { ac_try='test -s conftest$ac_exeext'
74391.79Sjmcneill  { (eval echo "$as_me:7439: \"$ac_try\"") >&5
74401.76Spooka  (eval $ac_try) 2>&5
74411.76Spooka  ac_status=$?
74421.79Sjmcneill  echo "$as_me:7442: \$? = $ac_status" >&5
74431.76Spooka  (exit $ac_status); }; }; then
74441.4Stv  ac_cv_lib_regex_regfree=yes
74451.4Stvelse
74461.76Spooka  echo "$as_me: failed program was:" >&5
74471.76Spookacat conftest.$ac_ext >&5
74481.76Spookaac_cv_lib_regex_regfree=no
74491.4Stvfi
74501.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74511.4StvLIBS=$ac_check_lib_save_LIBS
74521.4Stvfi
74531.79Sjmcneillecho "$as_me:7453: result: $ac_cv_lib_regex_regfree" >&5
74541.76Spookaecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
74551.76Spookaif test $ac_cv_lib_regex_regfree = yes; then
74561.76Spooka  cat >>confdefs.h <<EOF
74571.4Stv#define HAVE_LIBREGEX 1
74581.76SpookaEOF
74591.4Stv
74601.4Stv  LIBS="-lregex $LIBS"
74611.4Stv
74621.4Stvfi
74631.4Stv
74641.79Sjmcneillecho "$as_me:7464: checking for library containing regfree" >&5
74651.76Spookaecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
74661.76Spookaif test "${ac_cv_search_regfree+set}" = set; then
74671.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
74681.1Stvelse
74691.1Stv  ac_func_search_save_LIBS=$LIBS
74701.76Spookaac_cv_search_regfree=no
74711.76Spookacat >conftest.$ac_ext <<_ACEOF
74721.79Sjmcneill#line 7472 "configure"
74731.76Spooka#include "confdefs.h"
74741.1Stv
74751.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
74761.1Stv#ifdef __cplusplus
74771.1Stvextern "C"
74781.1Stv#endif
74791.76Spooka/* We use char because int might match the return type of a gcc2
74801.76Spooka   builtin and then its argument prototype would still apply.  */
74811.4Stvchar regfree ();
74821.1Stvint
74831.1Stvmain ()
74841.1Stv{
74851.76Spookaregfree ();
74861.1Stv  ;
74871.1Stv  return 0;
74881.1Stv}
74891.1Stv_ACEOF
74901.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
74911.79Sjmcneillif { (eval echo "$as_me:7491: \"$ac_link\"") >&5
74921.76Spooka  (eval $ac_link) 2>&5
74931.76Spooka  ac_status=$?
74941.79Sjmcneill  echo "$as_me:7494: \$? = $ac_status" >&5
74951.76Spooka  (exit $ac_status); } &&
74961.76Spooka         { ac_try='test -s conftest$ac_exeext'
74971.79Sjmcneill  { (eval echo "$as_me:7497: \"$ac_try\"") >&5
74981.76Spooka  (eval $ac_try) 2>&5
74991.76Spooka  ac_status=$?
75001.79Sjmcneill  echo "$as_me:7500: \$? = $ac_status" >&5
75011.76Spooka  (exit $ac_status); }; }; then
75021.76Spooka  ac_cv_search_regfree="none required"
75031.76Spookaelse
75041.76Spooka  echo "$as_me: failed program was:" >&5
75051.76Spookacat conftest.$ac_ext >&5
75061.76Spookafi
75071.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75081.76Spookaif test "$ac_cv_search_regfree" = no; then
75091.76Spooka  for ac_lib in rx posix; do
75101.66Stsutsui    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
75111.76Spooka    cat >conftest.$ac_ext <<_ACEOF
75121.79Sjmcneill#line 7512 "configure"
75131.76Spooka#include "confdefs.h"
75141.1Stv
75151.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
75161.76Spooka#ifdef __cplusplus
75171.76Spookaextern "C"
75181.76Spooka#endif
75191.76Spooka/* We use char because int might match the return type of a gcc2
75201.76Spooka   builtin and then its argument prototype would still apply.  */
75211.76Spookachar regfree ();
75221.76Spookaint
75231.76Spookamain ()
75241.76Spooka{
75251.76Spookaregfree ();
75261.76Spooka  ;
75271.76Spooka  return 0;
75281.76Spooka}
75291.76Spooka_ACEOF
75301.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
75311.79Sjmcneillif { (eval echo "$as_me:7531: \"$ac_link\"") >&5
75321.76Spooka  (eval $ac_link) 2>&5
75331.76Spooka  ac_status=$?
75341.79Sjmcneill  echo "$as_me:7534: \$? = $ac_status" >&5
75351.76Spooka  (exit $ac_status); } &&
75361.76Spooka         { ac_try='test -s conftest$ac_exeext'
75371.79Sjmcneill  { (eval echo "$as_me:7537: \"$ac_try\"") >&5
75381.76Spooka  (eval $ac_try) 2>&5
75391.76Spooka  ac_status=$?
75401.79Sjmcneill  echo "$as_me:7540: \$? = $ac_status" >&5
75411.76Spooka  (exit $ac_status); }; }; then
75421.76Spooka  ac_cv_search_regfree="-l$ac_lib"
75431.76Spookabreak
75441.66Stsutsuielse
75451.76Spooka  echo "$as_me: failed program was:" >&5
75461.76Spookacat conftest.$ac_ext >&5
75471.76Spookafi
75481.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75491.76Spooka  done
75501.1Stvfi
75511.1StvLIBS=$ac_func_search_save_LIBS
75521.1Stvfi
75531.79Sjmcneillecho "$as_me:7553: result: $ac_cv_search_regfree" >&5
75541.76Spookaecho "${ECHO_T}$ac_cv_search_regfree" >&6
75551.76Spookaif test "$ac_cv_search_regfree" != no; then
75561.76Spooka  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
75571.1Stv
75581.1Stvfi
75591.1Stv
75601.79Sjmcneillecho "$as_me:7560: checking for clock_gettime in -lrt" >&5
75611.78Sjmcneillecho $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
75621.78Sjmcneillif test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
75631.78Sjmcneill  echo $ECHO_N "(cached) $ECHO_C" >&6
75641.78Sjmcneillelse
75651.78Sjmcneill  ac_check_lib_save_LIBS=$LIBS
75661.78SjmcneillLIBS="-lrt  $LIBS"
75671.78Sjmcneillcat >conftest.$ac_ext <<_ACEOF
75681.79Sjmcneill#line 7568 "configure"
75691.78Sjmcneill#include "confdefs.h"
75701.78Sjmcneill
75711.78Sjmcneill/* Override any gcc2 internal prototype to avoid an error.  */
75721.78Sjmcneill#ifdef __cplusplus
75731.78Sjmcneillextern "C"
75741.78Sjmcneill#endif
75751.78Sjmcneill/* We use char because int might match the return type of a gcc2
75761.78Sjmcneill   builtin and then its argument prototype would still apply.  */
75771.78Sjmcneillchar clock_gettime ();
75781.78Sjmcneillint
75791.78Sjmcneillmain ()
75801.78Sjmcneill{
75811.78Sjmcneillclock_gettime ();
75821.78Sjmcneill  ;
75831.78Sjmcneill  return 0;
75841.78Sjmcneill}
75851.78Sjmcneill_ACEOF
75861.78Sjmcneillrm -f conftest.$ac_objext conftest$ac_exeext
75871.79Sjmcneillif { (eval echo "$as_me:7587: \"$ac_link\"") >&5
75881.78Sjmcneill  (eval $ac_link) 2>&5
75891.78Sjmcneill  ac_status=$?
75901.79Sjmcneill  echo "$as_me:7590: \$? = $ac_status" >&5
75911.78Sjmcneill  (exit $ac_status); } &&
75921.78Sjmcneill         { ac_try='test -s conftest$ac_exeext'
75931.79Sjmcneill  { (eval echo "$as_me:7593: \"$ac_try\"") >&5
75941.78Sjmcneill  (eval $ac_try) 2>&5
75951.78Sjmcneill  ac_status=$?
75961.79Sjmcneill  echo "$as_me:7596: \$? = $ac_status" >&5
75971.78Sjmcneill  (exit $ac_status); }; }; then
75981.78Sjmcneill  ac_cv_lib_rt_clock_gettime=yes
75991.78Sjmcneillelse
76001.78Sjmcneill  echo "$as_me: failed program was:" >&5
76011.78Sjmcneillcat conftest.$ac_ext >&5
76021.78Sjmcneillac_cv_lib_rt_clock_gettime=no
76031.78Sjmcneillfi
76041.78Sjmcneillrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76051.78SjmcneillLIBS=$ac_check_lib_save_LIBS
76061.78Sjmcneillfi
76071.79Sjmcneillecho "$as_me:7607: result: $ac_cv_lib_rt_clock_gettime" >&5
76081.78Sjmcneillecho "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
76091.78Sjmcneillif test $ac_cv_lib_rt_clock_gettime = yes; then
76101.78Sjmcneill  cat >>confdefs.h <<EOF
76111.78Sjmcneill#define HAVE_LIBRT 1
76121.78SjmcneillEOF
76131.78Sjmcneill
76141.78Sjmcneill  LIBS="-lrt $LIBS"
76151.78Sjmcneill
76161.78Sjmcneillfi
76171.78Sjmcneill
76181.76Spookafor ac_func in fparseln
76191.76Spookado
76201.76Spookaas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76211.79Sjmcneillecho "$as_me:7621: checking for $ac_func" >&5
76221.76Spookaecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76231.76Spookaif eval "test \"\${$as_ac_var+set}\" = set"; then
76241.76Spooka  echo $ECHO_N "(cached) $ECHO_C" >&6
76251.76Spookaelse
76261.76Spooka  cat >conftest.$ac_ext <<_ACEOF
76271.79Sjmcneill#line 7627 "configure"
76281.76Spooka#include "confdefs.h"
76291.76Spooka/* System header to define __stub macros and hopefully few prototypes,
76301.76Spooka    which can conflict with char $ac_func (); below.  */
76311.76Spooka#include <assert.h>
76321.76Spooka/* Override any gcc2 internal prototype to avoid an error.  */
76331.76Spooka#ifdef __cplusplus
76341.76Spookaextern "C"
76351.76Spooka#endif
76361.76Spooka/* We use char because int might match the return type of a gcc2
76371.76Spooka   builtin and then its argument prototype would still apply.  */
76381.76Spookachar $ac_func ();
76391.76Spookachar (*f) ();
76401.74Schristos
76411.76Spookaint
76421.76Spookamain ()
76431.76Spooka{
76441.76Spooka/* The GNU C library defines this for functions which it implements
76451.76Spooka    to always fail with ENOSYS.  Some functions are actually named
76461.76Spooka    something starting with __ and the normal name is an alias.  */
76471.76Spooka#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76481.76Spookachoke me
76491.76Spooka#else
76501.76Spookaf = $ac_func;
76511.76Spooka#endif
76521.68Stnozaki
76531.76Spooka  ;
76541.76Spooka  return 0;
76551.76Spooka}
76561.76Spooka_ACEOF
76571.76Spookarm -f conftest.$ac_objext conftest$ac_exeext
76581.79Sjmcneillif { (eval echo "$as_me:7658: \"$ac_link\"") >&5
76591.76Spooka  (eval $ac_link) 2>&5
76601.76Spooka  ac_status=$?
76611.79Sjmcneill  echo "$as_me:7661: \$? = $ac_status" >&5
76621.76Spooka  (exit $ac_status); } &&
76631.76Spooka         { ac_try='test -s conftest$ac_exeext'
76641.79Sjmcneill  { (eval echo "$as_me:7664: \"$ac_try\"") >&5
76651.76Spooka  (eval $ac_try) 2>&5
76661.76Spooka  ac_status=$?
76671.79Sjmcneill  echo "$as_me:7667: \$? = $ac_status" >&5
76681.76Spooka  (exit $ac_status); }; }; then
76691.76Spooka  eval "$as_ac_var=yes"
76701.76Spookaelse
76711.76Spooka  echo "$as_me: failed program was:" >&5
76721.76Spookacat conftest.$ac_ext >&5
76731.76Spookaeval "$as_ac_var=no"
76741.76Spookafi
76751.76Spookarm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76761.76Spookafi
76771.79Sjmcneillecho "$as_me:7677: result: `eval echo '${'$as_ac_var'}'`" >&5
76781.76Spookaecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76791.76Spookaif test `eval echo '${'$as_ac_var'}'` = yes; then
76801.76Spooka  cat >>confdefs.h <<EOF
76811.76Spooka#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76821.76SpookaEOF
76831.76Spooka
76841.79Sjmcneill    echo "$as_me:7684: checking if fparseln seems to work" >&5
76851.76Spookaecho $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6
76861.76Spooka    if test "$cross_compiling" = yes; then
76871.79Sjmcneill  { echo "$as_me:7687: WARNING: cross compiling: not checking farseln" >&5
76881.76Spookaecho "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
76891.76Spooka
76901.76Spookaelse
76911.76Spooka  cat >conftest.$ac_ext <<_ACEOF
76921.79Sjmcneill#line 7692 "configure"
76931.76Spooka#include "confdefs.h"
76941.68Stnozaki
76951.68Stnozaki#define _NETBSD_SOURCE
76961.68Stnozaki#include <stdio.h>
76971.68Stnozaki#include <stdlib.h>
76981.68Stnozaki#define CONFTEST	"conftest.fparseln"
76991.68Stnozaki#define COMMENT		'#'
77001.68Stnozakiint
77011.68Stnozakimain(void)
77021.68Stnozaki{
77031.68Stnozaki	static const char delim[3] = { '\0', '\0', COMMENT };
77041.68Stnozaki	FILE *fp;
77051.68Stnozaki	char *ptr;
77061.68Stnozaki	fp = fopen(CONFTEST, "w+");
77071.68Stnozaki	if (fp != NULL) {
77081.68Stnozaki		unlink(CONFTEST);
77091.68Stnozaki		ungetc(COMMENT, fp);
77101.68Stnozaki		ptr = fparseln(fp, NULL, NULL, delim,
77111.68Stnozaki		    FPARSELN_UNESCALL);
77121.68Stnozaki		fclose(fp);
77131.68Stnozaki		if (ptr == NULL)
77141.68Stnozaki			exit(0);
77151.68Stnozaki	}
77161.68Stnozaki	exit(1);
77171.68Stnozaki}
77181.68Stnozaki
77191.68Stnozaki_ACEOF
77201.76Spookarm -f conftest$ac_exeext
77211.79Sjmcneillif { (eval echo "$as_me:7721: \"$ac_link\"") >&5
77221.76Spooka  (eval $ac_link) 2>&5
77231.76Spooka  ac_status=$?
77241.79Sjmcneill  echo "$as_me:7724: \$? = $ac_status" >&5
77251.76Spooka  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77261.79Sjmcneill  { (eval echo "$as_me:7726: \"$ac_try\"") >&5
77271.76Spooka  (eval $ac_try) 2>&5
77281.76Spooka  ac_status=$?
77291.79Sjmcneill  echo "$as_me:7729: \$? = $ac_status" >&5
77301.76Spooka  (exit $ac_status); }; }; then
77311.79Sjmcneill  echo "$as_me:7731: result: yes" >&5
77321.76Spookaecho "${ECHO_T}yes" >&6
77331.76Spookaelse
77341.76Spooka  echo "$as_me: program exited with status $ac_status" >&5
77351.76Spookaecho "$as_me: failed program was:" >&5
77361.76Spookacat conftest.$ac_ext >&5
77371.79Sjmcneillecho "$as_me:7737: result: no" >&5
77381.76Spookaecho "${ECHO_T}no" >&6
77391.76Spooka
77401.76Spookacat >>confdefs.h <<\EOF
77411.76Spooka#define BROKEN_FPARSELN 1
77421.76SpookaEOF
77431.68Stnozaki
77441.68Stnozakifi
77451.76Spookarm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77461.68Stnozakifi
77471.68Stnozaki
77481.68Stnozakifi
77491.68Stnozakidone
77501.68Stnozaki
77511.72Sapb# Variables substituted via @VARNAME@ in defs.mk.in
77521.72SapbHAVE_PTHREAD_H=$ac_cv_header_pthread_h
77531.72Sapb
77541.1Stvcat >confcache <<\_ACEOF
77551.1Stv# This file is a shell script that caches the results of configure
77561.1Stv# tests run on this system so they can be shared between configure
77571.1Stv# scripts and configure runs, see configure's option --config-cache.
77581.1Stv# It is not useful on other systems.  If it contains results you don't
77591.1Stv# want to keep, you may remove or edit it.
77601.1Stv#
77611.1Stv# config.status only pays attention to the cache file if you give it
77621.1Stv# the --recheck option to rerun configure.
77631.1Stv#
77641.76Spooka# `ac_cv_env_foo' variables (set or unset) will be overriden when
77651.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
77661.1Stv# following values.
77671.1Stv
77681.1Stv_ACEOF
77691.1Stv
77701.1Stv# The following way of writing the cache mishandles newlines in values,
77711.1Stv# but we know of no workaround that is simple, portable, and efficient.
77721.76Spooka# So, don't put newlines in cache variables' values.
77731.74Schristos# Ultrix sh set writes to stderr and can't be redirected directly,
77741.74Schristos# and sets the high bit in the cache file unless we assign to the vars.
77751.76Spooka{
77761.65Schristos  (set) 2>&1 |
77771.76Spooka    case `(ac_space=' '; set | grep ac_space) 2>&1` in
77781.76Spooka    *ac_space=\ *)
77791.76Spooka      # `set' does not quote correctly, so add quotes (double-quote
77801.76Spooka      # substitution turns \\\\ into \\, and sed turns \\ into \).
77811.65Schristos      sed -n \
77821.76Spooka        "s/'/'\\\\''/g;
77831.76Spooka    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77841.76Spooka      ;;
77851.65Schristos    *)
77861.65Schristos      # `set' quotes correctly as required by POSIX, so do not add quotes.
77871.76Spooka      sed -n \
77881.76Spooka        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
77891.65Schristos      ;;
77901.76Spooka    esac;
77911.76Spooka} |
77921.65Schristos  sed '
77931.65Schristos     t clear
77941.76Spooka     : clear
77951.65Schristos     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77961.65Schristos     t end
77971.76Spooka     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77981.76Spooka     : end' >>confcache
77991.76Spookaif cmp -s $cache_file confcache; then :; else
78001.76Spooka  if test -w $cache_file; then
78011.76Spooka    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
78021.76Spooka    cat confcache >$cache_file
78031.65Schristos  else
78041.76Spooka    echo "not updating unwritable cache $cache_file"
78051.65Schristos  fi
78061.65Schristosfi
78071.66Stsutsuirm -f confcache
78081.65Schristos
78091.66Stsutsuitest "x$prefix" = xNONE && prefix=$ac_default_prefix
78101.66Stsutsui# Let make expand exec_prefix.
78111.66Stsutsuitest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78121.65Schristos
78131.76Spooka# VPATH may cause trouble with some makes, so we remove $(srcdir),
78141.76Spooka# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
78151.76Spooka# trailing colons and then remove the whole line if VPATH becomes empty
78161.76Spooka# (actually we leave an empty line to preserve line numbers).
78171.76Spookaif test "x$srcdir" = x.; then
78181.76Spooka  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
78191.76Spookas/:*\$(srcdir):*/:/;
78201.76Spookas/:*\${srcdir}:*/:/;
78211.76Spookas/:*@srcdir@:*/:/;
78221.76Spookas/^\([^=]*=[ 	]*\):*/\1/;
78231.76Spookas/:*$//;
78241.76Spookas/^[^=]*=[ 	]*$//;
78251.76Spooka}'
78261.76Spookafi
78271.76Spooka
78281.74SchristosDEFS=-DHAVE_CONFIG_H
78291.74Schristos
78301.76Spooka: ${CONFIG_STATUS=./config.status}
78311.66Stsutsuiac_clean_files_save=$ac_clean_files
78321.66Stsutsuiac_clean_files="$ac_clean_files $CONFIG_STATUS"
78331.79Sjmcneill{ echo "$as_me:7833: creating $CONFIG_STATUS" >&5
78341.76Spookaecho "$as_me: creating $CONFIG_STATUS" >&6;}
78351.76Spookacat >$CONFIG_STATUS <<_ACEOF
78361.66Stsutsui#! $SHELL
78371.76Spooka# Generated automatically by configure.
78381.66Stsutsui# Run this file to recreate the current configuration.
78391.66Stsutsui# Compiler output produced by configure, useful for debugging
78401.66Stsutsui# configure, is in config.log if it exists.
78411.65Schristos
78421.66Stsutsuidebug=false
78431.76SpookaSHELL=\${CONFIG_SHELL-$SHELL}
78441.76Spookaac_cs_invocation="\$0 \$@"
78451.76Spooka
78461.76Spooka_ACEOF
78471.74Schristos
78481.76Spookacat >>$CONFIG_STATUS <<\_ACEOF
78491.76Spooka# Be Bourne compatible
78501.76Spookaif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78511.74Schristos  emulate sh
78521.74Schristos  NULLCMD=:
78531.76Spookaelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
78541.76Spooka  set -o posix
78551.74Schristosfi
78561.65Schristos
78571.76Spooka# Name of the executable.
78581.76Spookaas_me=`echo "$0" |sed 's,.*[\\/],,'`
78591.74Schristos
78601.76Spookaif expr a : '\(a\)' >/dev/null 2>&1; then
78611.1Stv  as_expr=expr
78621.1Stvelse
78631.1Stv  as_expr=false
78641.1Stvfi
78651.1Stv
78661.1Stvrm -f conf$$ conf$$.exe conf$$.file
78671.76Spookaecho >conf$$.file
78681.76Spookaif ln -s conf$$.file conf$$ 2>/dev/null; then
78691.76Spooka  # We could just check for DJGPP; but this test a) works b) is more generic
78701.76Spooka  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
78711.76Spooka  if test -f conf$$.exe; then
78721.76Spooka    # Don't use ln at all; we don't have any links
78731.76Spooka    as_ln_s='cp -p'
78741.76Spooka  else
78751.74Schristos    as_ln_s='ln -s'
78761.66Stsutsui  fi
78771.76Spookaelif ln conf$$.file conf$$ 2>/dev/null; then
78781.76Spooka  as_ln_s=ln
78791.1Stvelse
78801.76Spooka  as_ln_s='cp -p'
78811.1Stvfi
78821.76Spookarm -f conf$$ conf$$.exe conf$$.file
78831.1Stv
78841.76Spookaas_executable_p="test -f"
78851.63Sapb
78861.76Spooka# Support unset when possible.
78871.76Spookaif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
78881.76Spooka  as_unset=unset
78891.61Schristoselse
78901.76Spooka  as_unset=false
78911.61Schristosfi
78921.61Schristos
78931.76Spooka# NLS nuisances.
78941.76Spooka$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
78951.76Spooka$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
78961.76Spooka$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
78971.76Spooka$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
78981.76Spooka$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
78991.76Spooka$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
79001.76Spooka$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
79011.76Spooka$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
79021.1Stv
79031.76Spooka# IFS
79041.76Spooka# We need space, tab and new line, in precisely that order.
79051.76Spookaas_nl='
79061.76Spooka'
79071.76SpookaIFS=" 	$as_nl"
79081.1Stv
79091.76Spooka# CDPATH.
79101.76Spooka$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
79111.1Stv
79121.1Stvexec 6>&1
79131.1Stv
79141.66Stsutsui_ACEOF
79151.1Stv
79161.76Spooka# Files that config.status was made for.
79171.76Spookaif test -n "$ac_config_files"; then
79181.76Spooka  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
79191.76Spookafi
79201.1Stv
79211.76Spookaif test -n "$ac_config_headers"; then
79221.76Spooka  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
79231.76Spookafi
79241.1Stv
79251.76Spookaif test -n "$ac_config_links"; then
79261.76Spooka  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
79271.76Spookafi
79281.1Stv
79291.76Spookaif test -n "$ac_config_commands"; then
79301.76Spooka  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
79311.76Spookafi
79321.1Stv
79331.76Spookacat >>$CONFIG_STATUS <<\EOF
79341.1Stv
79351.1Stvac_cs_usage="\
79361.76Spooka\`$as_me' instantiates files from templates according to the
79371.76Spookacurrent configuration.
79381.1Stv
79391.76SpookaUsage: $0 [OPTIONS] [FILE]...
79401.1Stv
79411.1Stv  -h, --help       print this help, then exit
79421.76Spooka  -V, --version    print version number, then exit
79431.1Stv  -d, --debug      don't remove temporary files
79441.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
79451.76Spooka  --file=FILE[:TEMPLATE]
79461.66Stsutsui                   instantiate the configuration file FILE
79471.76Spooka  --header=FILE[:TEMPLATE]
79481.66Stsutsui                   instantiate the configuration header FILE
79491.1Stv
79501.1StvConfiguration files:
79511.1Stv$config_files
79521.1Stv
79531.1StvConfiguration headers:
79541.1Stv$config_headers
79551.1Stv
79561.76SpookaReport bugs to <bug-autoconf@gnu.org>."
79571.76SpookaEOF
79581.1Stv
79591.76Spookacat >>$CONFIG_STATUS <<EOF
79601.1Stvac_cs_version="\\
79611.1Stvlibnbcompat config.status noversion
79621.76Spookaconfigured by $0, generated by GNU Autoconf 2.52,
79631.76Spooka  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
79641.1Stv
79651.76SpookaCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
79661.76SpookaFree Software Foundation, Inc.
79671.1StvThis config.status script is free software; the Free Software Foundation
79681.1Stvgives unlimited permission to copy, distribute and modify it."
79691.76Spookasrcdir=$srcdir
79701.76SpookaEOF
79711.1Stv
79721.76Spookacat >>$CONFIG_STATUS <<\EOF
79731.76Spooka# If no file are specified by the user, then we need to provide default
79741.76Spooka# value.  By we need to know if files were specified by the user.
79751.1Stvac_need_defaults=:
79761.1Stvwhile test $# != 0
79771.1Stvdo
79781.1Stv  case $1 in
79791.76Spooka  --*=*)
79801.76Spooka    ac_option=`expr "x$1" : 'x\([^=]*\)='`
79811.76Spooka    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
79821.76Spooka    shift
79831.76Spooka    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
79841.76Spooka    shift
79851.1Stv    ;;
79861.76Spooka  -*);;
79871.76Spooka  *) # This is not an option, so the user has probably given explicit
79881.76Spooka     # arguments.
79891.76Spooka     ac_need_defaults=false;;
79901.1Stv  esac
79911.1Stv
79921.76Spooka  case $1 in
79931.1Stv  # Handling of the options.
79941.76SpookaEOF
79951.76Spookacat >>$CONFIG_STATUS <<EOF
79961.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79971.76Spooka    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
79981.76Spooka    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
79991.76SpookaEOF
80001.76Spookacat >>$CONFIG_STATUS <<\EOF
80011.76Spooka  --version | --vers* | -V )
80021.76Spooka    echo "$ac_cs_version"; exit 0 ;;
80031.76Spooka  --he | --h)
80041.76Spooka    # Conflict between --help and --header
80051.79Sjmcneill    { { echo "$as_me:8005: error: ambiguous option: $1
80061.76SpookaTry \`$0 --help' for more information." >&5
80071.76Spookaecho "$as_me: error: ambiguous option: $1
80081.76SpookaTry \`$0 --help' for more information." >&2;}
80091.76Spooka   { (exit 1); exit 1; }; };;
80101.76Spooka  --help | --hel | -h )
80111.76Spooka    echo "$ac_cs_usage"; exit 0 ;;
80121.76Spooka  --debug | --d* | -d )
80131.1Stv    debug=: ;;
80141.1Stv  --file | --fil | --fi | --f )
80151.76Spooka    shift
80161.76Spooka    CONFIG_FILES="$CONFIG_FILES $1"
80171.1Stv    ac_need_defaults=false;;
80181.1Stv  --header | --heade | --head | --hea )
80191.76Spooka    shift
80201.76Spooka    CONFIG_HEADERS="$CONFIG_HEADERS $1"
80211.1Stv    ac_need_defaults=false;;
80221.1Stv
80231.1Stv  # This is an error.
80241.79Sjmcneill  -*) { { echo "$as_me:8024: error: unrecognized option: $1
80251.76SpookaTry \`$0 --help' for more information." >&5
80261.76Spookaecho "$as_me: error: unrecognized option: $1
80271.76SpookaTry \`$0 --help' for more information." >&2;}
80281.76Spooka   { (exit 1); exit 1; }; } ;;
80291.1Stv
80301.76Spooka  *) ac_config_targets="$ac_config_targets $1" ;;
80311.1Stv
80321.1Stv  esac
80331.1Stv  shift
80341.1Stvdone
80351.1Stv
80361.76Spookaexec 5>>config.log
80371.76Spookacat >&5 << _ACEOF
80381.74Schristos
80391.76Spooka## ----------------------- ##
80401.76Spooka## Running config.status.  ##
80411.76Spooka## ----------------------- ##
80421.1Stv
80431.76SpookaThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
80441.76Spooka  CONFIG_FILES    = $CONFIG_FILES
80451.76Spooka  CONFIG_HEADERS  = $CONFIG_HEADERS
80461.76Spooka  CONFIG_LINKS    = $CONFIG_LINKS
80471.76Spooka  CONFIG_COMMANDS = $CONFIG_COMMANDS
80481.76Spooka  > $ac_cs_invocation
80491.76Spookaon `(hostname || uname -n) 2>/dev/null | sed 1q`
80501.1Stv
80511.1Stv_ACEOF
80521.76SpookaEOF
80531.1Stv
80541.76Spookacat >>$CONFIG_STATUS <<\EOF
80551.1Stvfor ac_config_target in $ac_config_targets
80561.1Stvdo
80571.76Spooka  case "$ac_config_target" in
80581.76Spooka  # Handling of arguments.
80591.76Spooka  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
80601.76Spooka  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
80611.79Sjmcneill  *) { { echo "$as_me:8061: error: invalid argument: $ac_config_target" >&5
80621.76Spookaecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
80631.76Spooka   { (exit 1); exit 1; }; };;
80641.1Stv  esac
80651.1Stvdone
80661.1Stv
80671.1Stv# If the user did not use the arguments to specify the items to instantiate,
80681.1Stv# then the envvar interface is used.  Set only those that are not.
80691.1Stv# We use the long form for the default assignment because of an extremely
80701.1Stv# bizarre bug on SunOS 4.1.3.
80711.1Stvif $ac_need_defaults; then
80721.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80731.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80741.1Stvfi
80751.1Stv
80761.76Spooka# Create a temporary directory, and hook for its removal unless debugging.
80771.1Stv$debug ||
80781.1Stv{
80791.76Spooka  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
80801.76Spooka  trap '{ (exit 1); exit 1; }' 1 2 13 15
80811.1Stv}
80821.76Spooka
80831.74Schristos# Create a (secure) tmp directory for tmp files.
80841.76Spooka: ${TMPDIR=/tmp}
80851.1Stv{
80861.76Spooka  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
80871.76Spooka  test -n "$tmp" && test -d "$tmp"
80881.1Stv}  ||
80891.1Stv{
80901.76Spooka  tmp=$TMPDIR/cs$$-$RANDOM
80911.76Spooka  (umask 077 && mkdir $tmp)
80921.76Spooka} ||
80931.76Spooka{
80941.76Spooka   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
80951.76Spooka   { (exit 1); exit 1; }
80961.76Spooka}
80971.1Stv
80981.76SpookaEOF
80991.66Stsutsui
81001.76Spookacat >>$CONFIG_STATUS <<EOF
81011.66Stsutsui
81021.76Spooka#
81031.76Spooka# CONFIG_FILES section.
81041.76Spooka#
81051.1Stv
81061.76Spooka# No need to generate the scripts if there are no CONFIG_FILES.
81071.76Spooka# This happens for instance when ./config.status config.h
81081.76Spookaif test -n "\$CONFIG_FILES"; then
81091.76Spooka  # Protect against being on the right side of a sed subst in config.status.
81101.76Spooka  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
81111.76Spooka   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
81121.76Spookas,@SHELL@,$SHELL,;t t
81131.76Spookas,@exec_prefix@,$exec_prefix,;t t
81141.76Spookas,@prefix@,$prefix,;t t
81151.76Spookas,@program_transform_name@,$program_transform_name,;t t
81161.76Spookas,@bindir@,$bindir,;t t
81171.76Spookas,@sbindir@,$sbindir,;t t
81181.76Spookas,@libexecdir@,$libexecdir,;t t
81191.76Spookas,@datadir@,$datadir,;t t
81201.76Spookas,@sysconfdir@,$sysconfdir,;t t
81211.76Spookas,@sharedstatedir@,$sharedstatedir,;t t
81221.76Spookas,@localstatedir@,$localstatedir,;t t
81231.76Spookas,@libdir@,$libdir,;t t
81241.76Spookas,@includedir@,$includedir,;t t
81251.76Spookas,@oldincludedir@,$oldincludedir,;t t
81261.76Spookas,@infodir@,$infodir,;t t
81271.76Spookas,@mandir@,$mandir,;t t
81281.76Spookas,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
81291.76Spookas,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
81301.76Spookas,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
81311.76Spookas,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
81321.76Spookas,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
81331.76Spookas,@build_alias@,$build_alias,;t t
81341.76Spookas,@host_alias@,$host_alias,;t t
81351.76Spookas,@target_alias@,$target_alias,;t t
81361.76Spookas,@ECHO_C@,$ECHO_C,;t t
81371.76Spookas,@ECHO_N@,$ECHO_N,;t t
81381.76Spookas,@ECHO_T@,$ECHO_T,;t t
81391.76Spookas,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
81401.76Spookas,@DEFS@,$DEFS,;t t
81411.76Spookas,@LIBS@,$LIBS,;t t
81421.76Spookas,@CC@,$CC,;t t
81431.76Spookas,@CFLAGS@,$CFLAGS,;t t
81441.76Spookas,@LDFLAGS@,$LDFLAGS,;t t
81451.76Spookas,@CPPFLAGS@,$CPPFLAGS,;t t
81461.76Spookas,@ac_ct_CC@,$ac_ct_CC,;t t
81471.76Spookas,@EXEEXT@,$EXEEXT,;t t
81481.76Spookas,@OBJEXT@,$OBJEXT,;t t
81491.76Spookas,@CPP@,$CPP,;t t
81501.76Spookas,@BSHELL@,$BSHELL,;t t
81511.76Spookas,@ALLOCA@,$ALLOCA,;t t
81521.76Spookas,@HAVE_PTHREAD_H@,$HAVE_PTHREAD_H,;t t
81531.76SpookaCEOF
81541.76Spooka
81551.76SpookaEOF
81561.76Spooka
81571.76Spooka  cat >>$CONFIG_STATUS <<\EOF
81581.76Spooka  # Split the substitutions into bite-sized pieces for seds with
81591.76Spooka  # small command number limits, like on Digital OSF/1 and HP-UX.
81601.76Spooka  ac_max_sed_lines=48
81611.76Spooka  ac_sed_frag=1 # Number of current file.
81621.76Spooka  ac_beg=1 # First line for current file.
81631.76Spooka  ac_end=$ac_max_sed_lines # Line after last line for current file.
81641.76Spooka  ac_more_lines=:
81651.76Spooka  ac_sed_cmds=
81661.76Spooka  while $ac_more_lines; do
81671.76Spooka    if test $ac_beg -gt 1; then
81681.76Spooka      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
81691.76Spooka    else
81701.76Spooka      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
81711.76Spooka    fi
81721.76Spooka    if test ! -s $tmp/subs.frag; then
81731.76Spooka      ac_more_lines=false
81741.76Spooka    else
81751.76Spooka      # The purpose of the label and of the branching condition is to
81761.76Spooka      # speed up the sed processing (if there are no `@' at all, there
81771.76Spooka      # is no need to browse any of the substitutions).
81781.76Spooka      # These are the two extra sed commands mentioned above.
81791.76Spooka      (echo ':t
81801.76Spooka  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
81811.76Spooka      if test -z "$ac_sed_cmds"; then
81821.76Spooka  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
81831.76Spooka      else
81841.76Spooka  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
81851.76Spooka      fi
81861.76Spooka      ac_sed_frag=`expr $ac_sed_frag + 1`
81871.76Spooka      ac_beg=$ac_end
81881.76Spooka      ac_end=`expr $ac_end + $ac_max_sed_lines`
81891.76Spooka    fi
81901.76Spooka  done
81911.76Spooka  if test -z "$ac_sed_cmds"; then
81921.76Spooka    ac_sed_cmds=cat
81931.76Spooka  fi
81941.76Spookafi # test -n "$CONFIG_FILES"
81951.65Schristos
81961.76SpookaEOF
81971.76Spookacat >>$CONFIG_STATUS <<\EOF
81981.76Spookafor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
81991.76Spooka  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
82001.76Spooka  case $ac_file in
82011.76Spooka  - | *:- | *:-:* ) # input from stdin
82021.76Spooka        cat >$tmp/stdin
82031.76Spooka        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82041.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
82051.76Spooka  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82061.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
82071.76Spooka  * )   ac_file_in=$ac_file.in ;;
82081.76Spooka  esac
82091.65Schristos
82101.76Spooka  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
82111.76Spooka  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82121.76Spooka         X"$ac_file" : 'X\(//\)[^/]' \| \
82131.76Spooka         X"$ac_file" : 'X\(//\)$' \| \
82141.76Spooka         X"$ac_file" : 'X\(/\)' \| \
82151.76Spooka         .     : '\(.\)' 2>/dev/null ||
82161.76Spookaecho X"$ac_file" |
82171.76Spooka    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
82181.76Spooka  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
82191.76Spooka  	  /^X\(\/\/\)$/{ s//\1/; q; }
82201.76Spooka  	  /^X\(\/\).*/{ s//\1/; q; }
82211.76Spooka  	  s/.*/./; q'`
82221.76Spooka  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
82231.76Spooka    { case "$ac_dir" in
82241.76Spooka  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
82251.76Spooka  *)                      as_incr_dir=.;;
82261.76Spookaesac
82271.76Spookaas_dummy="$ac_dir"
82281.76Spookafor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
82291.76Spooka  case $as_mkdir_dir in
82301.76Spooka    # Skip DOS drivespec
82311.76Spooka    ?:) as_incr_dir=$as_mkdir_dir ;;
82321.76Spooka    *)
82331.76Spooka      as_incr_dir=$as_incr_dir/$as_mkdir_dir
82341.76Spooka      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
82351.76Spooka    ;;
82361.76Spooka  esac
82371.76Spookadone; }
82381.65Schristos
82391.76Spooka    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
82401.76Spooka    # A "../" for each directory in $ac_dir_suffix.
82411.76Spooka    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
82421.65Schristos  else
82431.76Spooka    ac_dir_suffix= ac_dots=
82441.1Stv  fi
82451.65Schristos
82461.76Spooka  case $srcdir in
82471.76Spooka  .)  ac_srcdir=.
82481.76Spooka      if test -z "$ac_dots"; then
82491.76Spooka         ac_top_srcdir=.
82501.76Spooka      else
82511.76Spooka         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
82521.76Spooka      fi ;;
82531.76Spooka  [\\/]* | ?:[\\/]* )
82541.76Spooka      ac_srcdir=$srcdir$ac_dir_suffix;
82551.76Spooka      ac_top_srcdir=$srcdir ;;
82561.76Spooka  *) # Relative path.
82571.76Spooka    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
82581.76Spooka    ac_top_srcdir=$ac_dots$srcdir ;;
82591.76Spooka  esac
82601.74Schristos
82611.76Spooka  if test x"$ac_file" != x-; then
82621.79Sjmcneill    { echo "$as_me:8262: creating $ac_file" >&5
82631.76Spookaecho "$as_me: creating $ac_file" >&6;}
82641.76Spooka    rm -f "$ac_file"
82651.76Spooka  fi
82661.76Spooka  # Let's still pretend it is `configure' which instantiates (i.e., don't
82671.76Spooka  # use $as_me), people would be surprised to read:
82681.76Spooka  #    /* config.h.  Generated automatically by config.status.  */
82691.76Spooka  configure_input="Generated automatically from `echo $ac_file_in |
82701.76Spooka                                                 sed 's,.*/,,'` by configure."
82711.76Spooka
82721.76Spooka  # First look for the input files in the build tree, otherwise in the
82731.76Spooka  # src tree.
82741.76Spooka  ac_file_inputs=`IFS=:
82751.76Spooka    for f in $ac_file_in; do
82761.76Spooka      case $f in
82771.76Spooka      -) echo $tmp/stdin ;;
82781.76Spooka      [\\/$]*)
82791.76Spooka         # Absolute (can't be DOS-style, as IFS=:)
82801.79Sjmcneill         test -f "$f" || { { echo "$as_me:8280: error: cannot find input file: $f" >&5
82811.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
82821.76Spooka   { (exit 1); exit 1; }; }
82831.76Spooka         echo $f;;
82841.76Spooka      *) # Relative
82851.76Spooka         if test -f "$f"; then
82861.76Spooka           # Build tree
82871.76Spooka           echo $f
82881.76Spooka         elif test -f "$srcdir/$f"; then
82891.76Spooka           # Source tree
82901.76Spooka           echo $srcdir/$f
82911.76Spooka         else
82921.76Spooka           # /dev/null tree
82931.79Sjmcneill           { { echo "$as_me:8293: error: cannot find input file: $f" >&5
82941.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
82951.76Spooka   { (exit 1); exit 1; }; }
82961.76Spooka         fi;;
82971.76Spooka      esac
82981.76Spooka    done` || { (exit 1); exit 1; }
82991.76SpookaEOF
83001.76Spookacat >>$CONFIG_STATUS <<EOF
83011.76Spooka  sed "$ac_vpsub
83021.76Spooka$extrasub
83031.76SpookaEOF
83041.76Spookacat >>$CONFIG_STATUS <<\EOF
83051.76Spooka:t
83061.76Spooka/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83071.76Spookas,@configure_input@,$configure_input,;t t
83081.76Spookas,@srcdir@,$ac_srcdir,;t t
83091.76Spookas,@top_srcdir@,$ac_top_srcdir,;t t
83101.76Spooka" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
83111.76Spooka  rm -f $tmp/stdin
83121.76Spooka  if test x"$ac_file" != x-; then
83131.76Spooka    mv $tmp/out $ac_file
83141.66Stsutsui  else
83151.76Spooka    cat $tmp/out
83161.76Spooka    rm -f $tmp/out
83171.66Stsutsui  fi
83181.76Spooka
83191.66Stsutsuidone
83201.76SpookaEOF
83211.76Spookacat >>$CONFIG_STATUS <<\EOF
83221.66Stsutsui
83231.76Spooka#
83241.76Spooka# CONFIG_HEADER section.
83251.76Spooka#
83261.66Stsutsui
83271.76Spooka# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
83281.76Spooka# NAME is the cpp macro being defined and VALUE is the value it is being given.
83291.76Spooka#
83301.76Spooka# ac_d sets the value in "#define NAME VALUE" lines.
83311.76Spookaac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
83321.76Spookaac_dB='[ 	].*$,\1#\2'
83331.76Spookaac_dC=' '
83341.76Spookaac_dD=',;t'
83351.76Spooka# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
83361.76Spookaac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
83371.76Spookaac_uB='$,\1#\2define\3'
83381.76Spookaac_uC=' '
83391.76Spookaac_uD=',;t'
83401.1Stv
83411.76Spookafor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
83421.76Spooka  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
83431.76Spooka  case $ac_file in
83441.76Spooka  - | *:- | *:-:* ) # input from stdin
83451.76Spooka        cat >$tmp/stdin
83461.76Spooka        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
83471.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
83481.76Spooka  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
83491.76Spooka        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
83501.76Spooka  * )   ac_file_in=$ac_file.in ;;
83511.74Schristos  esac
83521.74Schristos
83531.79Sjmcneill  test x"$ac_file" != x- && { echo "$as_me:8353: creating $ac_file" >&5
83541.76Spookaecho "$as_me: creating $ac_file" >&6;}
83551.76Spooka
83561.76Spooka  # First look for the input files in the build tree, otherwise in the
83571.76Spooka  # src tree.
83581.76Spooka  ac_file_inputs=`IFS=:
83591.76Spooka    for f in $ac_file_in; do
83601.76Spooka      case $f in
83611.76Spooka      -) echo $tmp/stdin ;;
83621.76Spooka      [\\/$]*)
83631.76Spooka         # Absolute (can't be DOS-style, as IFS=:)
83641.79Sjmcneill         test -f "$f" || { { echo "$as_me:8364: error: cannot find input file: $f" >&5
83651.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
83661.76Spooka   { (exit 1); exit 1; }; }
83671.76Spooka         echo $f;;
83681.76Spooka      *) # Relative
83691.76Spooka         if test -f "$f"; then
83701.76Spooka           # Build tree
83711.76Spooka           echo $f
83721.76Spooka         elif test -f "$srcdir/$f"; then
83731.76Spooka           # Source tree
83741.76Spooka           echo $srcdir/$f
83751.76Spooka         else
83761.76Spooka           # /dev/null tree
83771.79Sjmcneill           { { echo "$as_me:8377: error: cannot find input file: $f" >&5
83781.76Spookaecho "$as_me: error: cannot find input file: $f" >&2;}
83791.76Spooka   { (exit 1); exit 1; }; }
83801.76Spooka         fi;;
83811.74Schristos      esac
83821.76Spooka    done` || { (exit 1); exit 1; }
83831.76Spooka  # Remove the trailing spaces.
83841.76Spooka  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
83851.76Spooka
83861.76SpookaEOF
83871.76Spooka
83881.76Spooka# Transform confdefs.h into two sed scripts, `conftest.defines' and
83891.76Spooka# `conftest.undefs', that substitutes the proper values into
83901.76Spooka# config.h.in to produce config.h.  The first handles `#define'
83911.76Spooka# templates, and the second `#undef' templates.
83921.76Spooka# And first: Protect against being on the right side of a sed subst in
83931.76Spooka# config.status.  Protect against being in an unquoted here document
83941.76Spooka# in config.status.
83951.76Spookarm -f conftest.defines conftest.undefs
83961.76Spooka# Using a here document instead of a string reduces the quoting nightmare.
83971.76Spooka# Putting comments in sed scripts is not portable.
83981.76Spooka#
83991.76Spooka# `end' is used to avoid that the second main sed command (meant for
84001.76Spooka# 0-ary CPP macros) applies to n-ary macro definitions.
84011.76Spooka# See the Autoconf documentation for `clear'.
84021.76Spookacat >confdef2sed.sed <<\EOF
84031.76Spookas/[\\&,]/\\&/g
84041.76Spookas,[\\$`],\\&,g
84051.76Spookat clear
84061.76Spooka: clear
84071.76Spookas,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
84081.76Spookat end
84091.76Spookas,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
84101.76Spooka: end
84111.76SpookaEOF
84121.76Spooka# If some macros were called several times there might be several times
84131.76Spooka# the same #defines, which is useless.  Nevertheless, we may not want to
84141.76Spooka# sort them, since we want the *last* AC-DEFINE to be honored.
84151.76Spookauniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
84161.76Spookased 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
84171.76Spookarm -f confdef2sed.sed
84181.76Spooka
84191.76Spooka# This sed command replaces #undef with comments.  This is necessary, for
84201.76Spooka# example, in the case of _POSIX_SOURCE, which is predefined and required
84211.76Spooka# on some systems where configure will not decide to define it.
84221.76Spookacat >>conftest.undefs <<\EOF
84231.76Spookas,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
84241.76SpookaEOF
84251.76Spooka
84261.76Spooka# Break up conftest.defines because some shells have a limit on the size
84271.76Spooka# of here documents, and old seds have small limits too (100 cmds).
84281.76Spookaecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
84291.76Spookaecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
84301.76Spookaecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
84311.76Spookaecho '  :' >>$CONFIG_STATUS
84321.76Spookarm -f conftest.tail
84331.76Spookawhile grep . conftest.defines >/dev/null
84341.76Spookado
84351.76Spooka  # Write a limited-size here document to $tmp/defines.sed.
84361.76Spooka  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
84371.76Spooka  # Speed up: don't consider the non `#define' lines.
84381.76Spooka  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
84391.76Spooka  # Work around the forget-to-reset-the-flag bug.
84401.76Spooka  echo 't clr' >>$CONFIG_STATUS
84411.76Spooka  echo ': clr' >>$CONFIG_STATUS
84421.76Spooka  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
84431.76Spooka  echo 'CEOF
84441.76Spooka  sed -f $tmp/defines.sed $tmp/in >$tmp/out
84451.76Spooka  rm -f $tmp/in
84461.76Spooka  mv $tmp/out $tmp/in
84471.76Spooka' >>$CONFIG_STATUS
84481.76Spooka  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
84491.76Spooka  rm -f conftest.defines
84501.76Spooka  mv conftest.tail conftest.defines
84511.76Spookadone
84521.76Spookarm -f conftest.defines
84531.76Spookaecho '  fi # egrep' >>$CONFIG_STATUS
84541.76Spookaecho >>$CONFIG_STATUS
84551.76Spooka
84561.76Spooka# Break up conftest.undefs because some shells have a limit on the size
84571.76Spooka# of here documents, and old seds have small limits too (100 cmds).
84581.76Spookaecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
84591.76Spookarm -f conftest.tail
84601.76Spookawhile grep . conftest.undefs >/dev/null
84611.76Spookado
84621.76Spooka  # Write a limited-size here document to $tmp/undefs.sed.
84631.76Spooka  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
84641.76Spooka  # Speed up: don't consider the non `#undef'
84651.76Spooka  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
84661.76Spooka  # Work around the forget-to-reset-the-flag bug.
84671.76Spooka  echo 't clr' >>$CONFIG_STATUS
84681.76Spooka  echo ': clr' >>$CONFIG_STATUS
84691.76Spooka  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
84701.76Spooka  echo 'CEOF
84711.76Spooka  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
84721.76Spooka  rm -f $tmp/in
84731.76Spooka  mv $tmp/out $tmp/in
84741.76Spooka' >>$CONFIG_STATUS
84751.76Spooka  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
84761.76Spooka  rm -f conftest.undefs
84771.76Spooka  mv conftest.tail conftest.undefs
84781.76Spookadone
84791.76Spookarm -f conftest.undefs
84801.76Spooka
84811.76Spookacat >>$CONFIG_STATUS <<\EOF
84821.76Spooka  # Let's still pretend it is `configure' which instantiates (i.e., don't
84831.76Spooka  # use $as_me), people would be surprised to read:
84841.76Spooka  #    /* config.h.  Generated automatically by config.status.  */
84851.76Spooka  if test x"$ac_file" = x-; then
84861.76Spooka    echo "/* Generated automatically by configure.  */" >$tmp/config.h
84871.76Spooka  else
84881.76Spooka    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
84891.76Spooka  fi
84901.76Spooka  cat $tmp/in >>$tmp/config.h
84911.76Spooka  rm -f $tmp/in
84921.76Spooka  if test x"$ac_file" != x-; then
84931.76Spooka    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
84941.79Sjmcneill      { echo "$as_me:8494: $ac_file is unchanged" >&5
84951.76Spookaecho "$as_me: $ac_file is unchanged" >&6;}
84961.76Spooka    else
84971.76Spooka      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84981.76Spooka         X"$ac_file" : 'X\(//\)[^/]' \| \
84991.76Spooka         X"$ac_file" : 'X\(//\)$' \| \
85001.76Spooka         X"$ac_file" : 'X\(/\)' \| \
85011.76Spooka         .     : '\(.\)' 2>/dev/null ||
85021.76Spookaecho X"$ac_file" |
85031.76Spooka    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
85041.76Spooka  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
85051.76Spooka  	  /^X\(\/\/\)$/{ s//\1/; q; }
85061.76Spooka  	  /^X\(\/\).*/{ s//\1/; q; }
85071.76Spooka  	  s/.*/./; q'`
85081.76Spooka      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
85091.76Spooka        { case "$ac_dir" in
85101.76Spooka  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
85111.76Spooka  *)                      as_incr_dir=.;;
85121.76Spookaesac
85131.76Spookaas_dummy="$ac_dir"
85141.76Spookafor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
85151.76Spooka  case $as_mkdir_dir in
85161.76Spooka    # Skip DOS drivespec
85171.76Spooka    ?:) as_incr_dir=$as_mkdir_dir ;;
85181.76Spooka    *)
85191.76Spooka      as_incr_dir=$as_incr_dir/$as_mkdir_dir
85201.76Spooka      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
85211.66Stsutsui    ;;
85221.66Stsutsui  esac
85231.76Spookadone; }
85241.66Stsutsui
85251.76Spooka      fi
85261.76Spooka      rm -f $ac_file
85271.76Spooka      mv $tmp/config.h $ac_file
85281.1Stv    fi
85291.1Stv  else
85301.76Spooka    cat $tmp/config.h
85311.76Spooka    rm -f $tmp/config.h
85321.1Stv  fi
85331.76Spookadone
85341.76SpookaEOF
85351.74Schristos
85361.76Spookacat >>$CONFIG_STATUS <<\EOF
85371.74Schristos
85381.76Spooka{ (exit 0); exit 0; }
85391.76SpookaEOF
85401.76Spookachmod +x $CONFIG_STATUS
85411.1Stvac_clean_files=$ac_clean_files_save
85421.1Stv
85431.1Stv# configure is writing to config.log, and then calls config.status.
85441.1Stv# config.status does its own redirection, appending to config.log.
85451.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
85461.1Stv# by configure, so config.status won't be able to write to it; its
85471.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
85481.1Stv# effectively closing config.log, so it can be properly (re)opened and
85491.1Stv# appended to by config.status.  When coming back to configure, we
85501.1Stv# need to make the FD available again.
85511.1Stvif test "$no_create" != yes; then
85521.1Stv  ac_cs_success=:
85531.1Stv  exec 5>/dev/null
85541.76Spooka  $SHELL $CONFIG_STATUS || ac_cs_success=false
85551.1Stv  exec 5>>config.log
85561.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85571.1Stv  # would make configure fail if this is the last instruction.
85581.76Spooka  $ac_cs_success || { (exit 1); exit 1; }
85591.1Stvfi
85601.1Stv
8561