configure revision 1.63
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.63Sapb# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.63Sapb# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.63Sapb# Free Software Foundation, Inc.
91.1Stv# This configure script is free software; the Free Software Foundation
101.1Stv# gives unlimited permission to copy, distribute and modify it.
111.1Stv
121.1Stv# Avoid depending upon Character Ranges.
131.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz'
141.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
151.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS
161.1Stvas_cr_digits='0123456789'
171.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits
181.1Stv
191.63Sapb# Sed expression to map a string onto a valid variable name.
201.63Sapbas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.61Schristos
221.63Sapb# Sed expression to map a string onto a valid CPP name.
231.63Sapbas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.61Schristos
251.63Sapb# Be Bourne compatible
261.63Sapbif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.63Sapb  emulate sh
281.63Sapb  NULLCMD=:
291.63Sapbelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.63Sapb  set -o posix
311.63Sapbfi
321.53Sdogcow
331.63Sapb# Name of the executable.
341.63Sapbas_me=`echo "$0" |sed 's,.*[\\/],,'`
351.1Stv
361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
371.1Stv  as_expr=expr
381.1Stvelse
391.1Stv  as_expr=false
401.1Stvfi
411.1Stv
421.1Stvrm -f conf$$ conf$$.exe conf$$.file
431.1Stvecho >conf$$.file
441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
451.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
461.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.1Stv  if test -f conf$$.exe; then
481.1Stv    # Don't use ln at all; we don't have any links
491.1Stv    as_ln_s='cp -p'
501.1Stv  else
511.1Stv    as_ln_s='ln -s'
521.1Stv  fi
531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
541.1Stv  as_ln_s=ln
551.1Stvelse
561.1Stv  as_ln_s='cp -p'
571.1Stvfi
581.1Stvrm -f conf$$ conf$$.exe conf$$.file
591.1Stv
601.63Sapbas_executable_p="test -f"
611.63Sapb
621.63Sapb# Support unset when possible.
631.63Sapbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.63Sapb  as_unset=unset
651.61Schristoselse
661.63Sapb  as_unset=false
671.61Schristosfi
681.61Schristos
691.63Sapb# NLS nuisances.
701.63Sapb$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.63Sapb$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.63Sapb$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.63Sapb$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.63Sapb$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.63Sapb$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.63Sapb$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.63Sapb$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.1Stv
791.1Stv# IFS
801.1Stv# We need space, tab and new line, in precisely that order.
811.1Stvas_nl='
821.1Stv'
831.1StvIFS=" 	$as_nl"
841.1Stv
851.1Stv# CDPATH.
861.63Sapb$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
871.1Stv
881.1Stv# Name of the host.
891.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
901.1Stv# so uname gets run too.
911.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
921.1Stv
931.1Stvexec 6>&1
941.1Stv
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.63SapbMFLAGS= MAKEFLAGS=
1021.1StvSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.1Stv# Maximum number of lines to put in a shell here document.
1051.1Stv# This variable seems obsolete.  It should probably be removed, and
1061.1Stv# only ac_max_sed_lines should be used.
1071.1Stv: ${ac_max_here_lines=38}
1081.1Stv
1091.1Stv# Factoring default headers for most tests.
1101.1Stvac_includes_default="\
1111.1Stv#include <stdio.h>
1121.1Stv#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.1Stv#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.1Stv#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.1Stv# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.1Stv#if HAVE_STRING_H
1271.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.1Stv#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.1Stv#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.1Stv#else
1381.1Stv# if HAVE_STDINT_H
1391.1Stv#  include <stdint.h>
1401.1Stv# endif
1411.1Stv#endif
1421.1Stv#if HAVE_UNISTD_H
1431.1Stv# include <unistd.h>
1441.1Stv#endif"
1451.1Stv
1461.1Stv# Initialize some variables set by options.
1471.1Stvac_init_help=
1481.1Stvac_init_version=false
1491.1Stv# The variables have the same names as the options, with
1501.1Stv# dashes changed to underlines.
1511.1Stvcache_file=/dev/null
1521.1Stvexec_prefix=NONE
1531.1Stvno_create=
1541.1Stvno_recursion=
1551.1Stvprefix=NONE
1561.1Stvprogram_prefix=NONE
1571.1Stvprogram_suffix=NONE
1581.1Stvprogram_transform_name=s,x,x,
1591.1Stvsilent=
1601.1Stvsite=
1611.1Stvsrcdir=
1621.1Stvverbose=
1631.1Stvx_includes=NONE
1641.1Stvx_libraries=NONE
1651.1Stv
1661.1Stv# Installation directory options.
1671.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
1681.1Stv# and all the variables that are supposed to be based on exec_prefix
1691.1Stv# by default will actually change.
1701.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
1711.1Stvbindir='${exec_prefix}/bin'
1721.1Stvsbindir='${exec_prefix}/sbin'
1731.1Stvlibexecdir='${exec_prefix}/libexec'
1741.1Stvdatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.1Stvlibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.1Stvinfodir='${prefix}/info'
1821.1Stvmandir='${prefix}/man'
1831.1Stv
1841.63Sapb# Identity of this package.
1851.63SapbPACKAGE_NAME='libnbcompat'
1861.63SapbPACKAGE_TARNAME='libnbcompat'
1871.63SapbPACKAGE_VERSION='noversion'
1881.63SapbPACKAGE_STRING='libnbcompat noversion'
1891.63SapbPACKAGE_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.1Stv    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2021.1Stv
2031.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
2041.1Stv
2051.1Stv  case $ac_option in
2061.1Stv
2071.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
2081.1Stv    ac_prev=bindir ;;
2091.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2101.1Stv    bindir=$ac_optarg ;;
2111.1Stv
2121.1Stv  -build | --build | --buil | --bui | --bu)
2131.1Stv    ac_prev=build_alias ;;
2141.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2151.1Stv    build_alias=$ac_optarg ;;
2161.1Stv
2171.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
2181.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2191.1Stv    ac_prev=cache_file ;;
2201.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2211.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2221.1Stv    cache_file=$ac_optarg ;;
2231.1Stv
2241.1Stv  --config-cache | -C)
2251.1Stv    cache_file=config.cache ;;
2261.1Stv
2271.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.1Stv  | --da=*)
2311.1Stv    datadir=$ac_optarg ;;
2321.1Stv
2331.1Stv  -disable-* | --disable-*)
2341.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2351.1Stv    # Reject names that are not valid shell variable names.
2361.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2371.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2381.1Stv   { (exit 1); exit 1; }; }
2391.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.1Stv    eval "enable_$ac_feature=no" ;;
2411.1Stv
2421.1Stv  -enable-* | --enable-*)
2431.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2441.1Stv    # Reject names that are not valid shell variable names.
2451.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2461.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2471.1Stv   { (exit 1); exit 1; }; }
2481.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.1Stv    case $ac_option in
2501.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.1Stv      *) ac_optarg=yes ;;
2521.1Stv    esac
2531.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
2541.1Stv
2551.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2561.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2571.1Stv  | --exec | --exe | --ex)
2581.1Stv    ac_prev=exec_prefix ;;
2591.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2601.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2611.1Stv  | --exec=* | --exe=* | --ex=*)
2621.1Stv    exec_prefix=$ac_optarg ;;
2631.1Stv
2641.1Stv  -gas | --gas | --ga | --g)
2651.1Stv    # Obsolete; use --with-gas.
2661.1Stv    with_gas=yes ;;
2671.1Stv
2681.1Stv  -help | --help | --hel | --he | -h)
2691.1Stv    ac_init_help=long ;;
2701.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2711.1Stv    ac_init_help=recursive ;;
2721.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2731.1Stv    ac_init_help=short ;;
2741.1Stv
2751.1Stv  -host | --host | --hos | --ho)
2761.1Stv    ac_prev=host_alias ;;
2771.1Stv  -host=* | --host=* | --hos=* | --ho=*)
2781.1Stv    host_alias=$ac_optarg ;;
2791.1Stv
2801.1Stv  -includedir | --includedir | --includedi | --included | --include \
2811.1Stv  | --includ | --inclu | --incl | --inc)
2821.1Stv    ac_prev=includedir ;;
2831.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2841.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
2851.1Stv    includedir=$ac_optarg ;;
2861.1Stv
2871.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
2881.1Stv    ac_prev=infodir ;;
2891.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2901.1Stv    infodir=$ac_optarg ;;
2911.1Stv
2921.1Stv  -libdir | --libdir | --libdi | --libd)
2931.1Stv    ac_prev=libdir ;;
2941.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2951.1Stv    libdir=$ac_optarg ;;
2961.1Stv
2971.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2981.1Stv  | --libexe | --libex | --libe)
2991.1Stv    ac_prev=libexecdir ;;
3001.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
3011.1Stv  | --libexe=* | --libex=* | --libe=*)
3021.1Stv    libexecdir=$ac_optarg ;;
3031.1Stv
3041.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
3051.1Stv  | --localstate | --localstat | --localsta | --localst \
3061.1Stv  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3111.1Stv    localstatedir=$ac_optarg ;;
3121.1Stv
3131.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3141.1Stv    ac_prev=mandir ;;
3151.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3161.1Stv    mandir=$ac_optarg ;;
3171.1Stv
3181.1Stv  -nfp | --nfp | --nf)
3191.1Stv    # Obsolete; use --without-fp.
3201.1Stv    with_fp=no ;;
3211.1Stv
3221.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3231.63Sapb  | --no-cr | --no-c)
3241.1Stv    no_create=yes ;;
3251.1Stv
3261.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3271.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
3281.1Stv    no_recursion=yes ;;
3291.1Stv
3301.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
3311.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3321.1Stv  | --oldin | --oldi | --old | --ol | --o)
3331.1Stv    ac_prev=oldincludedir ;;
3341.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3351.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3361.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3371.1Stv    oldincludedir=$ac_optarg ;;
3381.1Stv
3391.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3401.1Stv    ac_prev=prefix ;;
3411.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3421.1Stv    prefix=$ac_optarg ;;
3431.1Stv
3441.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
3451.1Stv  | --program-pre | --program-pr | --program-p)
3461.1Stv    ac_prev=program_prefix ;;
3471.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
3481.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3491.1Stv    program_prefix=$ac_optarg ;;
3501.1Stv
3511.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
3521.1Stv  | --program-suf | --program-su | --program-s)
3531.1Stv    ac_prev=program_suffix ;;
3541.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
3551.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3561.1Stv    program_suffix=$ac_optarg ;;
3571.1Stv
3581.1Stv  -program-transform-name | --program-transform-name \
3591.1Stv  | --program-transform-nam | --program-transform-na \
3601.1Stv  | --program-transform-n | --program-transform- \
3611.1Stv  | --program-transform | --program-transfor \
3621.1Stv  | --program-transfo | --program-transf \
3631.1Stv  | --program-trans | --program-tran \
3641.1Stv  | --progr-tra | --program-tr | --program-t)
3651.1Stv    ac_prev=program_transform_name ;;
3661.1Stv  -program-transform-name=* | --program-transform-name=* \
3671.1Stv  | --program-transform-nam=* | --program-transform-na=* \
3681.1Stv  | --program-transform-n=* | --program-transform-=* \
3691.1Stv  | --program-transform=* | --program-transfor=* \
3701.1Stv  | --program-transfo=* | --program-transf=* \
3711.1Stv  | --program-trans=* | --program-tran=* \
3721.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
3731.1Stv    program_transform_name=$ac_optarg ;;
3741.1Stv
3751.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3761.1Stv  | -silent | --silent | --silen | --sile | --sil)
3771.1Stv    silent=yes ;;
3781.1Stv
3791.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3801.1Stv    ac_prev=sbindir ;;
3811.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3821.1Stv  | --sbi=* | --sb=*)
3831.1Stv    sbindir=$ac_optarg ;;
3841.1Stv
3851.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3861.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3871.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
3881.1Stv  | --sha | --sh)
3891.1Stv    ac_prev=sharedstatedir ;;
3901.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3911.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3921.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3931.1Stv  | --sha=* | --sh=*)
3941.1Stv    sharedstatedir=$ac_optarg ;;
3951.1Stv
3961.1Stv  -site | --site | --sit)
3971.1Stv    ac_prev=site ;;
3981.1Stv  -site=* | --site=* | --sit=*)
3991.1Stv    site=$ac_optarg ;;
4001.1Stv
4011.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4021.1Stv    ac_prev=srcdir ;;
4031.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4041.1Stv    srcdir=$ac_optarg ;;
4051.1Stv
4061.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4071.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
4081.1Stv    ac_prev=sysconfdir ;;
4091.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4101.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4111.1Stv    sysconfdir=$ac_optarg ;;
4121.1Stv
4131.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
4141.1Stv    ac_prev=target_alias ;;
4151.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4161.1Stv    target_alias=$ac_optarg ;;
4171.1Stv
4181.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
4191.1Stv    verbose=yes ;;
4201.1Stv
4211.1Stv  -version | --version | --versio | --versi | --vers | -V)
4221.1Stv    ac_init_version=: ;;
4231.1Stv
4241.1Stv  -with-* | --with-*)
4251.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4261.1Stv    # Reject names that are not valid shell variable names.
4271.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4281.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4291.1Stv   { (exit 1); exit 1; }; }
4301.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.1Stv    case $ac_option in
4321.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.1Stv      *) ac_optarg=yes ;;
4341.1Stv    esac
4351.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
4361.1Stv
4371.1Stv  -without-* | --without-*)
4381.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4391.1Stv    # Reject names that are not valid shell variable names.
4401.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4411.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4421.1Stv   { (exit 1); exit 1; }; }
4431.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.1Stv    eval "with_$ac_package=no" ;;
4451.1Stv
4461.1Stv  --x)
4471.1Stv    # Obsolete; use --with-x.
4481.1Stv    with_x=yes ;;
4491.1Stv
4501.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4511.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
4521.1Stv    ac_prev=x_includes ;;
4531.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4541.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4551.1Stv    x_includes=$ac_optarg ;;
4561.1Stv
4571.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
4581.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4591.1Stv    ac_prev=x_libraries ;;
4601.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4611.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4621.1Stv    x_libraries=$ac_optarg ;;
4631.1Stv
4641.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
4651.1StvTry \`$0 --help' for more information." >&2
4661.1Stv   { (exit 1); exit 1; }; }
4671.1Stv    ;;
4681.1Stv
4691.1Stv  *=*)
4701.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
4711.1Stv    # Reject names that are not valid shell variable names.
4721.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4731.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4741.1Stv   { (exit 1); exit 1; }; }
4751.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.1Stv    eval "$ac_envvar='$ac_optarg'"
4771.1Stv    export $ac_envvar ;;
4781.1Stv
4791.1Stv  *)
4801.1Stv    # FIXME: should be removed in autoconf 3.0.
4811.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4821.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4831.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4841.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4851.1Stv    ;;
4861.1Stv
4871.1Stv  esac
4881.1Stvdone
4891.1Stv
4901.1Stvif test -n "$ac_prev"; then
4911.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4921.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
4931.1Stv   { (exit 1); exit 1; }; }
4941.1Stvfi
4951.1Stv
4961.1Stv# Be sure to have absolute paths.
4971.1Stvfor ac_var in exec_prefix prefix
4981.1Stvdo
4991.1Stv  eval ac_val=$`echo $ac_var`
5001.1Stv  case $ac_val in
5011.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.63Sapb    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.1Stv   { (exit 1); exit 1; }; };;
5041.1Stv  esac
5051.1Stvdone
5061.1Stv
5071.1Stv# Be sure to have absolute paths.
5081.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.63Sapb              localstatedir libdir includedir oldincludedir infodir mandir
5101.1Stvdo
5111.1Stv  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.1Stv    [\\/$]* | ?:[\\/]* ) ;;
5141.63Sapb    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.1Stv   { (exit 1); exit 1; }; };;
5161.1Stv  esac
5171.1Stvdone
5181.1Stv
5191.1Stv# There might be people who depend on the old broken behavior: `$host'
5201.1Stv# used to hold the argument of --host etc.
5211.1Stvbuild=$build_alias
5221.1Stvhost=$host_alias
5231.1Stvtarget=$target_alias
5241.1Stv
5251.63Sapb# FIXME: should be removed in autoconf 3.0.
5261.1Stvif test "x$host_alias" != x; then
5271.1Stv  if test "x$build_alias" = x; then
5281.1Stv    cross_compiling=maybe
5291.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5301.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
5311.1Stv  elif test "x$build_alias" != "x$host_alias"; then
5321.1Stv    cross_compiling=yes
5331.1Stv  fi
5341.1Stvfi
5351.1Stv
5361.1Stvac_tool_prefix=
5371.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
5381.1Stv
5391.1Stvtest "$silent" = yes && exec 6>/dev/null
5401.1Stv
5411.1Stv# Find the source files, if location was not specified.
5421.1Stvif test -z "$srcdir"; then
5431.1Stv  ac_srcdir_defaulted=yes
5441.1Stv  # Try the directory containing this script, then its parent.
5451.63Sapb  ac_prog=$0
5461.63Sapb  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.63Sapb  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.1Stv  if test ! -r $srcdir/$ac_unique_file; then
5501.1Stv    srcdir=..
5511.1Stv  fi
5521.1Stvelse
5531.1Stv  ac_srcdir_defaulted=no
5541.1Stvfi
5551.1Stvif test ! -r $srcdir/$ac_unique_file; then
5561.1Stv  if test "$ac_srcdir_defaulted" = yes; then
5571.63Sapb    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.63Sapb    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.1Stv   { (exit 1); exit 1; }; }
5621.1Stv  fi
5631.1Stvfi
5641.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.1Stvac_env_build_alias_set=${build_alias+set}
5661.1Stvac_env_build_alias_value=$build_alias
5671.1Stvac_cv_env_build_alias_set=${build_alias+set}
5681.1Stvac_cv_env_build_alias_value=$build_alias
5691.1Stvac_env_host_alias_set=${host_alias+set}
5701.1Stvac_env_host_alias_value=$host_alias
5711.1Stvac_cv_env_host_alias_set=${host_alias+set}
5721.1Stvac_cv_env_host_alias_value=$host_alias
5731.1Stvac_env_target_alias_set=${target_alias+set}
5741.1Stvac_env_target_alias_value=$target_alias
5751.1Stvac_cv_env_target_alias_set=${target_alias+set}
5761.1Stvac_cv_env_target_alias_value=$target_alias
5771.1Stvac_env_CC_set=${CC+set}
5781.1Stvac_env_CC_value=$CC
5791.1Stvac_cv_env_CC_set=${CC+set}
5801.1Stvac_cv_env_CC_value=$CC
5811.1Stvac_env_CFLAGS_set=${CFLAGS+set}
5821.1Stvac_env_CFLAGS_value=$CFLAGS
5831.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.1Stvac_cv_env_CFLAGS_value=$CFLAGS
5851.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
5861.1Stvac_env_LDFLAGS_value=$LDFLAGS
5871.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
5891.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
5911.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.1Stvac_env_CPP_set=${CPP+set}
5941.1Stvac_env_CPP_value=$CPP
5951.1Stvac_cv_env_CPP_set=${CPP+set}
5961.1Stvac_cv_env_CPP_value=$CPP
5971.1Stv
5981.1Stv#
5991.1Stv# Report the --help message.
6001.1Stv#
6011.1Stvif test "$ac_init_help" = "long"; then
6021.1Stv  # Omit some internal or obsolete options to make the list less imposing.
6031.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
6041.63Sapb  cat <<EOF
6051.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems.
6061.1Stv
6071.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
6081.1Stv
6091.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
6101.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
6111.1Stv
6121.1StvDefaults for the options are specified in brackets.
6131.1Stv
6141.1StvConfiguration:
6151.1Stv  -h, --help              display this help and exit
6161.1Stv      --help=short        display options specific to this package
6171.1Stv      --help=recursive    display the short help of all the included packages
6181.1Stv  -V, --version           display version information and exit
6191.1Stv  -q, --quiet, --silent   do not print \`checking...' messages
6201.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
6211.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
6221.1Stv  -n, --no-create         do not create output files
6231.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
6241.1Stv
6251.63SapbEOF
6261.1Stv
6271.63Sapb  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.63Sapb                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.63Sapb                          [PREFIX]
6331.1Stv
6341.1StvBy default, \`make install' will install all the files in
6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
6371.1Stvfor instance \`--prefix=\$HOME'.
6381.1Stv
6391.1StvFor better control, use the options below.
6401.1Stv
6411.1StvFine tuning of the installation directories:
6421.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
6431.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6441.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
6451.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
6461.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6471.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6481.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6491.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
6501.1Stv  --includedir=DIR       C header files [PREFIX/include]
6511.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6521.1Stv  --infodir=DIR          info documentation [PREFIX/info]
6531.1Stv  --mandir=DIR           man documentation [PREFIX/man]
6541.63SapbEOF
6551.1Stv
6561.63Sapb  cat <<\EOF
6571.63SapbEOF
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.63Sapb  cat <<\EOF
6651.1Stv
6661.1StvSome influential environment variables:
6671.1Stv  CC          C compiler command
6681.1Stv  CFLAGS      C compiler flags
6691.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
6701.1Stv              nonstandard directory <lib dir>
6711.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.1Stv              headers in a nonstandard directory <include dir>
6731.1Stv  CPP         C preprocessor
6741.1Stv
6751.1StvUse these variables to override the choices made by `configure' or to help
6761.1Stvit to find libraries and programs with nonstandard names/locations.
6771.1Stv
6781.41SsaloReport bugs to <lib-bug-people@NetBSD.org>.
6791.63SapbEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.1Stv  ac_popdir=`pwd`
6851.63Sapb  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.63Sapb    cd $ac_subdir
6871.63Sapb    # A "../" for each directory in /$ac_subdir.
6881.63Sapb    ac_dots=`echo $ac_subdir |
6891.63Sapb             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.63Sapb
6911.63Sapb    case $srcdir in
6921.63Sapb    .) # No --srcdir option.  We are building in place.
6931.63Sapb      ac_sub_srcdir=$srcdir ;;
6941.63Sapb    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.63Sapb      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.63Sapb    *) # Relative path.
6971.63Sapb      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.63Sapb    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.63Sapb    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.63Sapb      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.63Sapb    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.63Sapb      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.63Sapb    elif test -f $ac_sub_srcdir/configure.ac ||
7081.63Sapb           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.63Sapb      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.1Stv    fi
7141.1Stv    cd $ac_popdir
7151.1Stv  done
7161.1Stvfi
7171.1Stv
7181.1Stvtest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.63Sapb  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.63Sapbgenerated by GNU Autoconf 2.52
7231.1Stv
7241.63SapbCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.63SapbFree 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.63SapbEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.63Sapbcat >&5 <<EOF
7331.1StvThis file contains any messages produced by compilers while
7341.1Stvrunning configure, to aid debugging if configure makes a mistake.
7351.1Stv
7361.1StvIt was created by libnbcompat $as_me noversion, which was
7371.63Sapbgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.63SapbEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.63Sapb## ---------- ##
7451.63Sapb## Platform.  ##
7461.63Sapb## ---------- ##
7471.1Stv
7481.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7491.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
7501.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
7511.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
7521.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
7531.1Stv
7541.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7551.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7561.1Stv
7571.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7581.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7591.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7601.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
7611.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7621.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7631.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7641.1Stv
7651.63SapbPATH = $PATH
7661.63Sapb
7671.61Schristos_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.63Sapbcat >&5 <<EOF
7711.63Sapb## ------------ ##
7721.63Sapb## Core tests.  ##
7731.63Sapb## ------------ ##
7741.1Stv
7751.63SapbEOF
7761.1Stv
7771.1Stv# Keep a trace of the command line.
7781.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
7791.1Stv# Also quote any args containing shell meta-characters.
7801.1Stvac_configure_args=
7811.1Stvac_sep=
7821.63Sapbfor ac_arg
7831.1Stvdo
7841.63Sapb  case $ac_arg in
7851.63Sapb  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.63Sapb  | --no-cr | --no-c) ;;
7871.63Sapb  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.63Sapb  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.63Sapb  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.63Sapb    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.63Sapb    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.63Sapb    ac_sep=" " ;;
7931.63Sapb  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.63Sapb     ac_sep=" " ;;
7951.63Sapb  esac
7961.63Sapb  # 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.63Sapb  echo >&5
8051.63Sapb  echo "## ----------------- ##" >&5
8061.63Sapb  echo "## Cache variables.  ##" >&5
8071.63Sapb  echo "## ----------------- ##" >&5
8081.63Sapb  echo >&5
8091.63Sapb  # The following way of writing the cache mishandles newlines in values,
8101.1Stv{
8111.1Stv  (set) 2>&1 |
8121.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.1Stv    *ac_space=\ *)
8141.1Stv      sed -n \
8151.63Sapb        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.63Sapb    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.63Sapb        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.63Sapb} >&5
8241.63Sapb  sed "/^$/d" confdefs.h >conftest.log
8251.63Sapb  if test -s conftest.log; then
8261.63Sapb    echo >&5
8271.63Sapb    echo "## ------------ ##" >&5
8281.63Sapb    echo "## confdefs.h.  ##" >&5
8291.63Sapb    echo "## ------------ ##" >&5
8301.63Sapb    echo >&5
8311.63Sapb    cat conftest.log >&5
8321.63Sapb  fi
8331.63Sapb  (echo; echo) >&5
8341.63Sapb  test "$ac_signal" != 0 &&
8351.63Sapb    echo "$as_me: caught signal $ac_signal" >&5
8361.63Sapb  echo "$as_me: exit $exit_status" >&5
8371.63Sapb  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.1Stv     ' 0
8401.1Stvfor ac_signal in 1 2 13 15; do
8411.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
8421.1Stvdone
8431.1Stvac_signal=0
8441.1Stv
8451.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
8461.1Stvrm -rf conftest* confdefs.h
8471.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.1Stvecho >confdefs.h
8491.1Stv
8501.1Stv# Let the site file select an alternate cache file if it wants to.
8511.1Stv# Prefer explicitly selected file to automatically selected ones.
8521.1Stvif test -z "$CONFIG_SITE"; then
8531.1Stv  if test "x$prefix" != xNONE; then
8541.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.1Stv  else
8561.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.1Stv  fi
8581.1Stvfi
8591.1Stvfor ac_site_file in $CONFIG_SITE; do
8601.1Stv  if test -r "$ac_site_file"; then
8611.63Sapb    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.63Sapb    cat "$ac_site_file" >&5
8641.1Stv    . "$ac_site_file"
8651.1Stv  fi
8661.1Stvdone
8671.1Stv
8681.1Stvif test -r "$cache_file"; then
8691.1Stv  # Some versions of bash will fail to source /dev/null (special
8701.1Stv  # files actually), so we avoid doing that.
8711.1Stv  if test -f "$cache_file"; then
8721.63Sapb    { echo "$as_me:872: loading cache $cache_file" >&5
8731.1Stvecho "$as_me: loading cache $cache_file" >&6;}
8741.1Stv    case $cache_file in
8751.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.1Stv      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.63Sapb  { echo "$as_me:880: creating cache $cache_file" >&5
8811.1Stvecho "$as_me: creating cache $cache_file" >&6;}
8821.1Stv  >$cache_file
8831.1Stvfi
8841.1Stv
8851.1Stv# Check that the precious variables saved in the cache have kept the same
8861.1Stv# value.
8871.1Stvac_cache_corrupted=false
8881.1Stvfor ac_var in `(set) 2>&1 |
8891.63Sapb               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
8901.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8911.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
8921.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.63Sapb      { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8971.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8981.1Stv      ac_cache_corrupted=: ;;
8991.1Stv    ,set)
9001.63Sapb      { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
9011.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9021.1Stv      ac_cache_corrupted=: ;;
9031.1Stv    ,);;
9041.1Stv    *)
9051.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
9061.63Sapb        { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
9071.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9081.63Sapb        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.63Sapb        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.63Sapb        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.63Sapb  # Pass precious variables to config.status.  It doesn't matter if
9161.63Sapb  # we pass some twice (in addition to the command line arguments).
9171.1Stv  if test "$ac_new_set" = set; then
9181.1Stv    case $ac_new_val in
9191.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.63Sapb      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.63Sapb      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.63Sapb      ;;
9231.63Sapb    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.63Sapb       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.63Sapb  { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
9301.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
9311.63Sapb  { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
9321.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9331.1Stv   { (exit 1); exit 1; }; }
9341.1Stvfi
9351.1Stv
9361.1Stvac_ext=c
9371.1Stvac_cpp='$CPP $CPPFLAGS'
9381.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9391.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9401.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9411.1Stv
9421.63Sapbcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.63Sapb  *c*,-n*) ECHO_N= ECHO_C='
9441.63Sapb' ECHO_T='	' ;;
9451.63Sapb  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.63Sapb  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.63Sapbesac
9481.63Sapbecho "#! $SHELL" >conftest.sh
9491.63Sapbecho  "exit 0"   >>conftest.sh
9501.63Sapbchmod +x conftest.sh
9511.63Sapbif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.63Sapb  (PATH=".;."; conftest.sh) 2>&5
9531.63Sapb  ac_status=$?
9541.63Sapb  echo "$as_me:954: \$? = $ac_status" >&5
9551.63Sapb  (exit $ac_status); }; then
9561.63Sapb  ac_path_separator=';'
9571.63Sapbelse
9581.63Sapb  ac_path_separator=:
9591.63Sapbfi
9601.63SapbPATH_SEPARATOR="$ac_path_separator"
9611.63Sapbrm -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.63Sapbecho "$as_me:979: checking for $ac_word" >&5
9801.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811.1Stvif test "${ac_cv_prog_CC+set}" = set; then
9821.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
9831.1Stvelse
9841.1Stv  if test -n "$CC"; then
9851.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
9861.1Stvelse
9871.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
9881.63Sapbac_dummy="$PATH"
9891.63Sapbfor ac_dir in $ac_dummy; do
9901.63Sapb  IFS=$ac_save_IFS
9911.63Sapb  test -z "$ac_dir" && ac_dir=.
9921.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
9931.63Sapbac_cv_prog_CC="${ac_tool_prefix}gcc"
9941.63Sapbecho "$as_me:994: found $ac_dir/$ac_word" >&5
9951.63Sapbbreak
9961.1Stvdone
9971.1Stv
9981.1Stvfi
9991.1Stvfi
10001.1StvCC=$ac_cv_prog_CC
10011.1Stvif test -n "$CC"; then
10021.63Sapb  echo "$as_me:1002: result: $CC" >&5
10031.1Stvecho "${ECHO_T}$CC" >&6
10041.1Stvelse
10051.63Sapb  echo "$as_me:1005: result: no" >&5
10061.1Stvecho "${ECHO_T}no" >&6
10071.1Stvfi
10081.1Stv
10091.1Stvfi
10101.1Stvif test -z "$ac_cv_prog_CC"; then
10111.1Stv  ac_ct_CC=$CC
10121.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10131.1Stvset dummy gcc; ac_word=$2
10141.63Sapbecho "$as_me:1014: checking for $ac_word" >&5
10151.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10161.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10171.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10181.1Stvelse
10191.1Stv  if test -n "$ac_ct_CC"; then
10201.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10211.1Stvelse
10221.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10231.63Sapbac_dummy="$PATH"
10241.63Sapbfor ac_dir in $ac_dummy; do
10251.63Sapb  IFS=$ac_save_IFS
10261.63Sapb  test -z "$ac_dir" && ac_dir=.
10271.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
10281.63Sapbac_cv_prog_ac_ct_CC="gcc"
10291.63Sapbecho "$as_me:1029: found $ac_dir/$ac_word" >&5
10301.63Sapbbreak
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.63Sapb  echo "$as_me:1037: result: $ac_ct_CC" >&5
10381.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10391.1Stvelse
10401.63Sapb  echo "$as_me:1040: result: no" >&5
10411.1Stvecho "${ECHO_T}no" >&6
10421.1Stvfi
10431.1Stv
10441.1Stv  CC=$ac_ct_CC
10451.1Stvelse
10461.1Stv  CC="$ac_cv_prog_CC"
10471.1Stvfi
10481.1Stv
10491.1Stvif test -z "$CC"; then
10501.1Stv  if test -n "$ac_tool_prefix"; then
10511.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10521.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10531.63Sapbecho "$as_me:1053: checking for $ac_word" >&5
10541.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10551.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10561.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10571.1Stvelse
10581.1Stv  if test -n "$CC"; then
10591.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10601.1Stvelse
10611.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10621.63Sapbac_dummy="$PATH"
10631.63Sapbfor ac_dir in $ac_dummy; do
10641.63Sapb  IFS=$ac_save_IFS
10651.63Sapb  test -z "$ac_dir" && ac_dir=.
10661.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
10671.63Sapbac_cv_prog_CC="${ac_tool_prefix}cc"
10681.63Sapbecho "$as_me:1068: found $ac_dir/$ac_word" >&5
10691.63Sapbbreak
10701.1Stvdone
10711.1Stv
10721.1Stvfi
10731.1Stvfi
10741.1StvCC=$ac_cv_prog_CC
10751.1Stvif test -n "$CC"; then
10761.63Sapb  echo "$as_me:1076: result: $CC" >&5
10771.1Stvecho "${ECHO_T}$CC" >&6
10781.1Stvelse
10791.63Sapb  echo "$as_me:1079: result: no" >&5
10801.1Stvecho "${ECHO_T}no" >&6
10811.1Stvfi
10821.1Stv
10831.1Stvfi
10841.1Stvif test -z "$ac_cv_prog_CC"; then
10851.1Stv  ac_ct_CC=$CC
10861.1Stv  # Extract the first word of "cc", so it can be a program name with args.
10871.1Stvset dummy cc; ac_word=$2
10881.63Sapbecho "$as_me:1088: checking for $ac_word" >&5
10891.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10901.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10911.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10921.1Stvelse
10931.1Stv  if test -n "$ac_ct_CC"; then
10941.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10951.1Stvelse
10961.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
10971.63Sapbac_dummy="$PATH"
10981.63Sapbfor ac_dir in $ac_dummy; do
10991.63Sapb  IFS=$ac_save_IFS
11001.63Sapb  test -z "$ac_dir" && ac_dir=.
11011.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11021.63Sapbac_cv_prog_ac_ct_CC="cc"
11031.63Sapbecho "$as_me:1103: found $ac_dir/$ac_word" >&5
11041.63Sapbbreak
11051.1Stvdone
11061.1Stv
11071.1Stvfi
11081.1Stvfi
11091.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11101.1Stvif test -n "$ac_ct_CC"; then
11111.63Sapb  echo "$as_me:1111: result: $ac_ct_CC" >&5
11121.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11131.1Stvelse
11141.63Sapb  echo "$as_me:1114: result: no" >&5
11151.1Stvecho "${ECHO_T}no" >&6
11161.1Stvfi
11171.1Stv
11181.1Stv  CC=$ac_ct_CC
11191.1Stvelse
11201.1Stv  CC="$ac_cv_prog_CC"
11211.1Stvfi
11221.1Stv
11231.1Stvfi
11241.1Stvif test -z "$CC"; then
11251.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11261.1Stvset dummy cc; ac_word=$2
11271.63Sapbecho "$as_me:1127: checking for $ac_word" >&5
11281.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11291.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11301.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11311.1Stvelse
11321.1Stv  if test -n "$CC"; then
11331.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11341.1Stvelse
11351.1Stv  ac_prog_rejected=no
11361.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
11371.63Sapbac_dummy="$PATH"
11381.63Sapbfor ac_dir in $ac_dummy; do
11391.63Sapb  IFS=$ac_save_IFS
11401.63Sapb  test -z "$ac_dir" && ac_dir=.
11411.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11421.63Sapbif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11431.63Sapb  ac_prog_rejected=yes
11441.63Sapb  continue
11451.63Sapbfi
11461.63Sapbac_cv_prog_CC="cc"
11471.63Sapbecho "$as_me:1147: found $ac_dir/$ac_word" >&5
11481.63Sapbbreak
11491.1Stvdone
11501.1Stv
11511.1Stvif test $ac_prog_rejected = yes; then
11521.1Stv  # We found a bogon in the path, so make sure we never use it.
11531.1Stv  set dummy $ac_cv_prog_CC
11541.1Stv  shift
11551.1Stv  if test $# != 0; then
11561.1Stv    # We chose a different compiler from the bogus one.
11571.1Stv    # However, it has the same basename, so the bogon will be chosen
11581.1Stv    # first if we set CC to just the basename; use the full file name.
11591.1Stv    shift
11601.63Sapb    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11611.63Sapb    shift
11621.63Sapb    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.63Sapb  echo "$as_me:1169: result: $CC" >&5
11701.1Stvecho "${ECHO_T}$CC" >&6
11711.1Stvelse
11721.63Sapb  echo "$as_me:1172: result: no" >&5
11731.1Stvecho "${ECHO_T}no" >&6
11741.1Stvfi
11751.1Stv
11761.1Stvfi
11771.1Stvif test -z "$CC"; then
11781.1Stv  if test -n "$ac_tool_prefix"; then
11791.1Stv  for ac_prog in cl
11801.1Stv  do
11811.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11821.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
11831.63Sapbecho "$as_me:1183: checking for $ac_word" >&5
11841.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11851.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11861.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11871.1Stvelse
11881.1Stv  if test -n "$CC"; then
11891.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11901.1Stvelse
11911.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
11921.63Sapbac_dummy="$PATH"
11931.63Sapbfor ac_dir in $ac_dummy; do
11941.63Sapb  IFS=$ac_save_IFS
11951.63Sapb  test -z "$ac_dir" && ac_dir=.
11961.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
11971.63Sapbac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11981.63Sapbecho "$as_me:1198: found $ac_dir/$ac_word" >&5
11991.63Sapbbreak
12001.1Stvdone
12011.1Stv
12021.1Stvfi
12031.1Stvfi
12041.1StvCC=$ac_cv_prog_CC
12051.1Stvif test -n "$CC"; then
12061.63Sapb  echo "$as_me:1206: result: $CC" >&5
12071.1Stvecho "${ECHO_T}$CC" >&6
12081.1Stvelse
12091.63Sapb  echo "$as_me:1209: result: no" >&5
12101.1Stvecho "${ECHO_T}no" >&6
12111.1Stvfi
12121.1Stv
12131.1Stv    test -n "$CC" && break
12141.1Stv  done
12151.1Stvfi
12161.1Stvif test -z "$CC"; then
12171.1Stv  ac_ct_CC=$CC
12181.1Stv  for ac_prog in cl
12191.1Stvdo
12201.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12211.1Stvset dummy $ac_prog; ac_word=$2
12221.63Sapbecho "$as_me:1222: checking for $ac_word" >&5
12231.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12251.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12261.1Stvelse
12271.1Stv  if test -n "$ac_ct_CC"; then
12281.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12291.1Stvelse
12301.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
12311.63Sapbac_dummy="$PATH"
12321.63Sapbfor ac_dir in $ac_dummy; do
12331.63Sapb  IFS=$ac_save_IFS
12341.63Sapb  test -z "$ac_dir" && ac_dir=.
12351.63Sapb  $as_executable_p "$ac_dir/$ac_word" || continue
12361.63Sapbac_cv_prog_ac_ct_CC="$ac_prog"
12371.63Sapbecho "$as_me:1237: found $ac_dir/$ac_word" >&5
12381.63Sapbbreak
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.63Sapb  echo "$as_me:1245: result: $ac_ct_CC" >&5
12461.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12471.1Stvelse
12481.63Sapb  echo "$as_me:1248: result: no" >&5
12491.1Stvecho "${ECHO_T}no" >&6
12501.1Stvfi
12511.1Stv
12521.1Stv  test -n "$ac_ct_CC" && break
12531.1Stvdone
12541.1Stv
12551.1Stv  CC=$ac_ct_CC
12561.1Stvfi
12571.1Stv
12581.1Stvfi
12591.1Stv
12601.63Sapbtest -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
12611.63Sapbecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
12621.1Stv   { (exit 1); exit 1; }; }
12631.1Stv
12641.1Stv# Provide some information about the compiler.
12651.63Sapbecho "$as_me:1265:" \
12661.1Stv     "checking for C compiler version" >&5
12671.1Stvac_compiler=`set X $ac_compile; echo $2`
12681.63Sapb{ (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
12691.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
12701.1Stv  ac_status=$?
12711.63Sapb  echo "$as_me:1271: \$? = $ac_status" >&5
12721.1Stv  (exit $ac_status); }
12731.63Sapb{ (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
12741.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
12751.1Stv  ac_status=$?
12761.63Sapb  echo "$as_me:1276: \$? = $ac_status" >&5
12771.1Stv  (exit $ac_status); }
12781.63Sapb{ (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
12791.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
12801.1Stv  ac_status=$?
12811.63Sapb  echo "$as_me:1281: \$? = $ac_status" >&5
12821.1Stv  (exit $ac_status); }
12831.1Stv
12841.1Stvcat >conftest.$ac_ext <<_ACEOF
12851.63Sapb#line 1285 "configure"
12861.63Sapb#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.63Sapbac_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.63Sapbecho "$as_me:1301: checking for C compiler default output" >&5
13021.63Sapbecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13031.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13041.63Sapbif { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
13051.1Stv  (eval $ac_link_default) 2>&5
13061.1Stv  ac_status=$?
13071.63Sapb  echo "$as_me:1307: \$? = $ac_status" >&5
13081.1Stv  (exit $ac_status); }; then
13091.1Stv  # Find the output, starting from the most likely.  This scheme is
13101.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13111.1Stv# resort.
13121.63Sapbfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13131.63Sapb                ls a.out conftest 2>/dev/null;
13141.63Sapb                ls a.* conftest.* 2>/dev/null`; do
13151.1Stv  case $ac_file in
13161.63Sapb    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13171.63Sapb    a.out ) # We found the default executable, but exeext='' is most
13181.63Sapb            # certainly right.
13191.63Sapb            break;;
13201.63Sapb    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13211.63Sapb          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13221.63Sapb          export ac_cv_exeext
13231.63Sapb          break;;
13241.63Sapb    * ) break;;
13251.1Stv  esac
13261.1Stvdone
13271.1Stvelse
13281.1Stv  echo "$as_me: failed program was:" >&5
13291.63Sapbcat conftest.$ac_ext >&5
13301.63Sapb{ { echo "$as_me:1330: error: C compiler cannot create executables" >&5
13311.63Sapbecho "$as_me: error: C compiler cannot create executables" >&2;}
13321.1Stv   { (exit 77); exit 77; }; }
13331.1Stvfi
13341.1Stv
13351.1Stvac_exeext=$ac_cv_exeext
13361.63Sapbecho "$as_me:1336: result: $ac_file" >&5
13371.1Stvecho "${ECHO_T}$ac_file" >&6
13381.1Stv
13391.1Stv# Check the compiler produces executables we can run.  If not, either
13401.1Stv# the compiler is broken, or we cross compile.
13411.63Sapbecho "$as_me:1341: checking whether the C compiler works" >&5
13421.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13431.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13441.1Stv# If not cross compiling, check that we can run a simple program.
13451.1Stvif test "$cross_compiling" != yes; then
13461.1Stv  if { ac_try='./$ac_file'
13471.63Sapb  { (eval echo "$as_me:1347: \"$ac_try\"") >&5
13481.1Stv  (eval $ac_try) 2>&5
13491.1Stv  ac_status=$?
13501.63Sapb  echo "$as_me:1350: \$? = $ac_status" >&5
13511.1Stv  (exit $ac_status); }; }; then
13521.1Stv    cross_compiling=no
13531.1Stv  else
13541.1Stv    if test "$cross_compiling" = maybe; then
13551.1Stv	cross_compiling=yes
13561.1Stv    else
13571.63Sapb	{ { echo "$as_me:1357: error: cannot run C compiled programs.
13581.63SapbIf you meant to cross compile, use \`--host'." >&5
13591.1Stvecho "$as_me: error: cannot run C compiled programs.
13601.63SapbIf you meant to cross compile, use \`--host'." >&2;}
13611.1Stv   { (exit 1); exit 1; }; }
13621.1Stv    fi
13631.1Stv  fi
13641.1Stvfi
13651.63Sapbecho "$as_me:1365: result: yes" >&5
13661.1Stvecho "${ECHO_T}yes" >&6
13671.1Stv
13681.63Sapbrm -f a.out a.exe conftest$ac_cv_exeext
13691.1Stvac_clean_files=$ac_clean_files_save
13701.1Stv# Check the compiler produces executables we can run.  If not, either
13711.1Stv# the compiler is broken, or we cross compile.
13721.63Sapbecho "$as_me:1372: checking whether we are cross compiling" >&5
13731.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13741.63Sapbecho "$as_me:1374: result: $cross_compiling" >&5
13751.1Stvecho "${ECHO_T}$cross_compiling" >&6
13761.1Stv
13771.63Sapbecho "$as_me:1377: checking for executable suffix" >&5
13781.63Sapbecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13791.63Sapbif { (eval echo "$as_me:1379: \"$ac_link\"") >&5
13801.1Stv  (eval $ac_link) 2>&5
13811.1Stv  ac_status=$?
13821.63Sapb  echo "$as_me:1382: \$? = $ac_status" >&5
13831.1Stv  (exit $ac_status); }; then
13841.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
13851.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
13861.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
13871.1Stv# `rm'.
13881.63Sapbfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13891.1Stv  case $ac_file in
13901.63Sapb    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13911.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13921.63Sapb          export ac_cv_exeext
13931.63Sapb          break;;
13941.1Stv    * ) break;;
13951.1Stv  esac
13961.1Stvdone
13971.1Stvelse
13981.63Sapb  { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
13991.63Sapbecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
14001.1Stv   { (exit 1); exit 1; }; }
14011.1Stvfi
14021.1Stv
14031.1Stvrm -f conftest$ac_cv_exeext
14041.63Sapbecho "$as_me:1404: result: $ac_cv_exeext" >&5
14051.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14061.1Stv
14071.1Stvrm -f conftest.$ac_ext
14081.1StvEXEEXT=$ac_cv_exeext
14091.1Stvac_exeext=$EXEEXT
14101.63Sapbecho "$as_me:1410: checking for object suffix" >&5
14111.63Sapbecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14121.1Stvif test "${ac_cv_objext+set}" = set; then
14131.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14141.1Stvelse
14151.1Stv  cat >conftest.$ac_ext <<_ACEOF
14161.63Sapb#line 1416 "configure"
14171.63Sapb#include "confdefs.h"
14181.1Stv
14191.1Stvint
14201.1Stvmain ()
14211.1Stv{
14221.1Stv
14231.1Stv  ;
14241.1Stv  return 0;
14251.1Stv}
14261.1Stv_ACEOF
14271.1Stvrm -f conftest.o conftest.obj
14281.63Sapbif { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
14291.1Stv  (eval $ac_compile) 2>&5
14301.1Stv  ac_status=$?
14311.63Sapb  echo "$as_me:1431: \$? = $ac_status" >&5
14321.1Stv  (exit $ac_status); }; then
14331.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14341.1Stv  case $ac_file in
14351.63Sapb    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14361.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14371.1Stv       break;;
14381.1Stv  esac
14391.1Stvdone
14401.1Stvelse
14411.1Stv  echo "$as_me: failed program was:" >&5
14421.63Sapbcat conftest.$ac_ext >&5
14431.63Sapb{ { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
14441.63Sapbecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14451.1Stv   { (exit 1); exit 1; }; }
14461.1Stvfi
14471.1Stv
14481.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14491.1Stvfi
14501.63Sapbecho "$as_me:1450: result: $ac_cv_objext" >&5
14511.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14521.1StvOBJEXT=$ac_cv_objext
14531.1Stvac_objext=$OBJEXT
14541.63Sapbecho "$as_me:1454: checking whether we are using the GNU C compiler" >&5
14551.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14561.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14571.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14581.1Stvelse
14591.1Stv  cat >conftest.$ac_ext <<_ACEOF
14601.63Sapb#line 1460 "configure"
14611.63Sapb#include "confdefs.h"
14621.1Stv
14631.1Stvint
14641.1Stvmain ()
14651.1Stv{
14661.1Stv#ifndef __GNUC__
14671.1Stv       choke me
14681.1Stv#endif
14691.1Stv
14701.1Stv  ;
14711.1Stv  return 0;
14721.1Stv}
14731.1Stv_ACEOF
14741.1Stvrm -f conftest.$ac_objext
14751.63Sapbif { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
14761.63Sapb  (eval $ac_compile) 2>&5
14771.1Stv  ac_status=$?
14781.63Sapb  echo "$as_me:1478: \$? = $ac_status" >&5
14791.1Stv  (exit $ac_status); } &&
14801.63Sapb         { ac_try='test -s conftest.$ac_objext'
14811.63Sapb  { (eval echo "$as_me:1481: \"$ac_try\"") >&5
14821.53Sdogcow  (eval $ac_try) 2>&5
14831.53Sdogcow  ac_status=$?
14841.63Sapb  echo "$as_me:1484: \$? = $ac_status" >&5
14851.63Sapb  (exit $ac_status); }; }; then
14861.1Stv  ac_compiler_gnu=yes
14871.1Stvelse
14881.1Stv  echo "$as_me: failed program was:" >&5
14891.63Sapbcat conftest.$ac_ext >&5
14901.1Stvac_compiler_gnu=no
14911.1Stvfi
14921.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
14931.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14941.1Stv
14951.1Stvfi
14961.63Sapbecho "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
14971.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14981.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
14991.1Stvac_test_CFLAGS=${CFLAGS+set}
15001.1Stvac_save_CFLAGS=$CFLAGS
15011.1StvCFLAGS="-g"
15021.63Sapbecho "$as_me:1502: checking whether $CC accepts -g" >&5
15031.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15041.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15051.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15061.1Stvelse
15071.1Stv  cat >conftest.$ac_ext <<_ACEOF
15081.63Sapb#line 1508 "configure"
15091.63Sapb#include "confdefs.h"
15101.1Stv
15111.1Stvint
15121.1Stvmain ()
15131.1Stv{
15141.1Stv
15151.1Stv  ;
15161.1Stv  return 0;
15171.1Stv}
15181.1Stv_ACEOF
15191.1Stvrm -f conftest.$ac_objext
15201.63Sapbif { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
15211.63Sapb  (eval $ac_compile) 2>&5
15221.1Stv  ac_status=$?
15231.63Sapb  echo "$as_me:1523: \$? = $ac_status" >&5
15241.52Sdbj  (exit $ac_status); } &&
15251.63Sapb         { ac_try='test -s conftest.$ac_objext'
15261.63Sapb  { (eval echo "$as_me:1526: \"$ac_try\"") >&5
15271.61Schristos  (eval $ac_try) 2>&5
15281.61Schristos  ac_status=$?
15291.63Sapb  echo "$as_me:1529: \$? = $ac_status" >&5
15301.1Stv  (exit $ac_status); }; }; then
15311.1Stv  ac_cv_prog_cc_g=yes
15321.1Stvelse
15331.1Stv  echo "$as_me: failed program was:" >&5
15341.63Sapbcat conftest.$ac_ext >&5
15351.1Stvac_cv_prog_cc_g=no
15361.1Stvfi
15371.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
15381.1Stvfi
15391.63Sapbecho "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
15401.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15411.1Stvif test "$ac_test_CFLAGS" = set; then
15421.1Stv  CFLAGS=$ac_save_CFLAGS
15431.1Stvelif test $ac_cv_prog_cc_g = yes; then
15441.1Stv  if test "$GCC" = yes; then
15451.1Stv    CFLAGS="-g -O2"
15461.1Stv  else
15471.1Stv    CFLAGS="-g"
15481.1Stv  fi
15491.1Stvelse
15501.1Stv  if test "$GCC" = yes; then
15511.1Stv    CFLAGS="-O2"
15521.1Stv  else
15531.1Stv    CFLAGS=
15541.1Stv  fi
15551.1Stvfi
15561.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15571.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
15581.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
15591.1Stv# the declaration of exit, since it's the most demanding environment.
15601.1Stvcat >conftest.$ac_ext <<_ACEOF
15611.1Stv#ifndef __cplusplus
15621.1Stv  choke me
15631.1Stv#endif
15641.1Stv_ACEOF
15651.1Stvrm -f conftest.$ac_objext
15661.63Sapbif { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
15671.63Sapb  (eval $ac_compile) 2>&5
15681.1Stv  ac_status=$?
15691.63Sapb  echo "$as_me:1569: \$? = $ac_status" >&5
15701.1Stv  (exit $ac_status); } &&
15711.63Sapb         { ac_try='test -s conftest.$ac_objext'
15721.63Sapb  { (eval echo "$as_me:1572: \"$ac_try\"") >&5
15731.50Sjmc  (eval $ac_try) 2>&5
15741.50Sjmc  ac_status=$?
15751.63Sapb  echo "$as_me:1575: \$? = $ac_status" >&5
15761.1Stv  (exit $ac_status); }; }; then
15771.1Stv  for ac_declaration in \
15781.63Sapb   ''\
15791.63Sapb   '#include <stdlib.h>' \
15801.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
15811.1Stv   'extern "C" void std::exit (int); using std::exit;' \
15821.1Stv   'extern "C" void exit (int) throw ();' \
15831.1Stv   'extern "C" void exit (int);' \
15841.1Stv   'void exit (int);'
15851.1Stvdo
15861.1Stv  cat >conftest.$ac_ext <<_ACEOF
15871.63Sapb#line 1587 "configure"
15881.63Sapb#include "confdefs.h"
15891.63Sapb#include <stdlib.h>
15901.61Schristos$ac_declaration
15911.1Stvint
15921.1Stvmain ()
15931.1Stv{
15941.1Stvexit (42);
15951.1Stv  ;
15961.1Stv  return 0;
15971.1Stv}
15981.1Stv_ACEOF
15991.1Stvrm -f conftest.$ac_objext
16001.63Sapbif { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
16011.63Sapb  (eval $ac_compile) 2>&5
16021.1Stv  ac_status=$?
16031.63Sapb  echo "$as_me:1603: \$? = $ac_status" >&5
16041.1Stv  (exit $ac_status); } &&
16051.63Sapb         { ac_try='test -s conftest.$ac_objext'
16061.63Sapb  { (eval echo "$as_me:1606: \"$ac_try\"") >&5
16071.50Sjmc  (eval $ac_try) 2>&5
16081.50Sjmc  ac_status=$?
16091.63Sapb  echo "$as_me:1609: \$? = $ac_status" >&5
16101.1Stv  (exit $ac_status); }; }; then
16111.1Stv  :
16121.1Stvelse
16131.1Stv  echo "$as_me: failed program was:" >&5
16141.63Sapbcat conftest.$ac_ext >&5
16151.1Stvcontinue
16161.1Stvfi
16171.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
16181.1Stv  cat >conftest.$ac_ext <<_ACEOF
16191.63Sapb#line 1619 "configure"
16201.63Sapb#include "confdefs.h"
16211.1Stv$ac_declaration
16221.1Stvint
16231.1Stvmain ()
16241.1Stv{
16251.1Stvexit (42);
16261.1Stv  ;
16271.1Stv  return 0;
16281.1Stv}
16291.1Stv_ACEOF
16301.1Stvrm -f conftest.$ac_objext
16311.63Sapbif { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
16321.63Sapb  (eval $ac_compile) 2>&5
16331.1Stv  ac_status=$?
16341.63Sapb  echo "$as_me:1634: \$? = $ac_status" >&5
16351.1Stv  (exit $ac_status); } &&
16361.63Sapb         { ac_try='test -s conftest.$ac_objext'
16371.63Sapb  { (eval echo "$as_me:1637: \"$ac_try\"") >&5
16381.61Schristos  (eval $ac_try) 2>&5
16391.61Schristos  ac_status=$?
16401.63Sapb  echo "$as_me:1640: \$? = $ac_status" >&5
16411.1Stv  (exit $ac_status); }; }; then
16421.1Stv  break
16431.1Stvelse
16441.1Stv  echo "$as_me: failed program was:" >&5
16451.63Sapbcat conftest.$ac_ext >&5
16461.1Stvfi
16471.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
16481.1Stvdone
16491.1Stvrm -f conftest*
16501.1Stvif test -n "$ac_declaration"; then
16511.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16521.1Stv  echo $ac_declaration      >>confdefs.h
16531.1Stv  echo '#endif'             >>confdefs.h
16541.1Stvfi
16551.1Stv
16561.1Stvelse
16571.1Stv  echo "$as_me: failed program was:" >&5
16581.63Sapbcat conftest.$ac_ext >&5
16591.1Stvfi
16601.63Sapbrm -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.63Sapbecho "$as_me:1672: checking how to run the C preprocessor" >&5
16731.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16741.1Stv# On Suns, sometimes $CPP names a directory.
16751.1Stvif test -n "$CPP" && test -d "$CPP"; then
16761.1Stv  CPP=
16771.1Stvfi
16781.1Stvif test -z "$CPP"; then
16791.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
16801.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
16811.1Stvelse
16821.1Stv      # Double quotes because CPP needs to be expanded
16831.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16841.1Stv    do
16851.1Stv      ac_preproc_ok=false
16861.1Stvfor ac_c_preproc_warn_flag in '' yes
16871.1Stvdo
16881.1Stv  # Use a header file that comes with gcc, so configuring glibc
16891.1Stv  # with a fresh cross-compiler works.
16901.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
16911.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
16921.1Stv  cat >conftest.$ac_ext <<_ACEOF
16931.63Sapb#line 1693 "configure"
16941.63Sapb#include "confdefs.h"
16951.63Sapb#include <assert.h>
16961.63Sapb                     Syntax error
16971.48Sjmc_ACEOF
16981.63Sapbif { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
16991.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17001.1Stv  ac_status=$?
17011.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17021.1Stv  rm -f conftest.er1
17031.1Stv  cat conftest.err >&5
17041.63Sapb  echo "$as_me:1704: \$? = $ac_status" >&5
17051.1Stv  (exit $ac_status); } >/dev/null; then
17061.1Stv  if test -s conftest.err; then
17071.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17081.1Stv  else
17091.1Stv    ac_cpp_err=
17101.1Stv  fi
17111.1Stvelse
17121.1Stv  ac_cpp_err=yes
17131.1Stvfi
17141.1Stvif test -z "$ac_cpp_err"; then
17151.1Stv  :
17161.1Stvelse
17171.1Stv  echo "$as_me: failed program was:" >&5
17181.63Sapb  cat conftest.$ac_ext >&5
17191.1Stv  # Broken: fails on valid input.
17201.1Stvcontinue
17211.1Stvfi
17221.1Stvrm -f conftest.err conftest.$ac_ext
17231.1Stv
17241.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
17251.1Stv  # can be detected and how.
17261.1Stv  cat >conftest.$ac_ext <<_ACEOF
17271.63Sapb#line 1727 "configure"
17281.63Sapb#include "confdefs.h"
17291.1Stv#include <ac_nonexistent.h>
17301.1Stv_ACEOF
17311.63Sapbif { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
17321.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17331.1Stv  ac_status=$?
17341.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17351.1Stv  rm -f conftest.er1
17361.1Stv  cat conftest.err >&5
17371.63Sapb  echo "$as_me:1737: \$? = $ac_status" >&5
17381.1Stv  (exit $ac_status); } >/dev/null; then
17391.1Stv  if test -s conftest.err; then
17401.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17411.1Stv  else
17421.1Stv    ac_cpp_err=
17431.1Stv  fi
17441.1Stvelse
17451.1Stv  ac_cpp_err=yes
17461.1Stvfi
17471.1Stvif test -z "$ac_cpp_err"; then
17481.1Stv  # Broken: success on invalid input.
17491.1Stvcontinue
17501.1Stvelse
17511.1Stv  echo "$as_me: failed program was:" >&5
17521.63Sapb  cat conftest.$ac_ext >&5
17531.1Stv  # Passes both tests.
17541.1Stvac_preproc_ok=:
17551.1Stvbreak
17561.1Stvfi
17571.1Stvrm -f conftest.err conftest.$ac_ext
17581.1Stv
17591.1Stvdone
17601.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17611.1Stvrm -f conftest.err conftest.$ac_ext
17621.1Stvif $ac_preproc_ok; then
17631.1Stv  break
17641.1Stvfi
17651.1Stv
17661.1Stv    done
17671.1Stv    ac_cv_prog_CPP=$CPP
17681.1Stv
17691.1Stvfi
17701.1Stv  CPP=$ac_cv_prog_CPP
17711.1Stvelse
17721.1Stv  ac_cv_prog_CPP=$CPP
17731.1Stvfi
17741.63Sapbecho "$as_me:1774: result: $CPP" >&5
17751.1Stvecho "${ECHO_T}$CPP" >&6
17761.1Stvac_preproc_ok=false
17771.1Stvfor ac_c_preproc_warn_flag in '' yes
17781.1Stvdo
17791.1Stv  # Use a header file that comes with gcc, so configuring glibc
17801.1Stv  # with a fresh cross-compiler works.
17811.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
17821.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
17831.1Stv  cat >conftest.$ac_ext <<_ACEOF
17841.63Sapb#line 1784 "configure"
17851.63Sapb#include "confdefs.h"
17861.63Sapb#include <assert.h>
17871.63Sapb                     Syntax error
17881.53Sdogcow_ACEOF
17891.63Sapbif { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
17901.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17911.1Stv  ac_status=$?
17921.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
17931.1Stv  rm -f conftest.er1
17941.1Stv  cat conftest.err >&5
17951.63Sapb  echo "$as_me:1795: \$? = $ac_status" >&5
17961.1Stv  (exit $ac_status); } >/dev/null; then
17971.1Stv  if test -s conftest.err; then
17981.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17991.1Stv  else
18001.1Stv    ac_cpp_err=
18011.1Stv  fi
18021.1Stvelse
18031.1Stv  ac_cpp_err=yes
18041.1Stvfi
18051.1Stvif test -z "$ac_cpp_err"; then
18061.1Stv  :
18071.1Stvelse
18081.1Stv  echo "$as_me: failed program was:" >&5
18091.63Sapb  cat conftest.$ac_ext >&5
18101.1Stv  # Broken: fails on valid input.
18111.1Stvcontinue
18121.1Stvfi
18131.1Stvrm -f conftest.err conftest.$ac_ext
18141.1Stv
18151.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18161.1Stv  # can be detected and how.
18171.1Stv  cat >conftest.$ac_ext <<_ACEOF
18181.63Sapb#line 1818 "configure"
18191.63Sapb#include "confdefs.h"
18201.1Stv#include <ac_nonexistent.h>
18211.1Stv_ACEOF
18221.63Sapbif { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
18231.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18241.1Stv  ac_status=$?
18251.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
18261.1Stv  rm -f conftest.er1
18271.1Stv  cat conftest.err >&5
18281.63Sapb  echo "$as_me:1828: \$? = $ac_status" >&5
18291.1Stv  (exit $ac_status); } >/dev/null; then
18301.1Stv  if test -s conftest.err; then
18311.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18321.1Stv  else
18331.1Stv    ac_cpp_err=
18341.1Stv  fi
18351.1Stvelse
18361.45Sjmc  ac_cpp_err=yes
18371.45Sjmcfi
18381.45Sjmcif test -z "$ac_cpp_err"; then
18391.45Sjmc  # Broken: success on invalid input.
18401.45Sjmccontinue
18411.45Sjmcelse
18421.45Sjmc  echo "$as_me: failed program was:" >&5
18431.63Sapb  cat conftest.$ac_ext >&5
18441.45Sjmc  # Passes both tests.
18451.45Sjmcac_preproc_ok=:
18461.45Sjmcbreak
18471.45Sjmcfi
18481.45Sjmcrm -f conftest.err conftest.$ac_ext
18491.45Sjmc
18501.45Sjmcdone
18511.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18521.45Sjmcrm -f conftest.err conftest.$ac_ext
18531.45Sjmcif $ac_preproc_ok; then
18541.45Sjmc  :
18551.45Sjmcelse
18561.63Sapb  { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
18571.63Sapbecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
18581.45Sjmc   { (exit 1); exit 1; }; }
18591.45Sjmcfi
18601.45Sjmc
18611.45Sjmcac_ext=c
18621.45Sjmcac_cpp='$CPP $CPPFLAGS'
18631.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18641.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18651.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu
18661.45Sjmc
18671.63Sapb            echo "$as_me:1867: checking for NetBSD" >&5
18681.45Sjmcecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
18691.45Sjmc      cat >conftest.$ac_ext <<_ACEOF
18701.63Sapb#line 1870 "configure"
18711.63Sapb#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.63Sapb  egrep "yes" >/dev/null 2>&1; then
18791.63Sapb  echo "$as_me:1879: result: yes" >&5
18801.45Sjmcecho "${ECHO_T}yes" >&6
18811.54Swiz
18821.63Sapbcat >>confdefs.h <<\EOF
18831.45Sjmc#define _POSIX_SOURCE 1
18841.63SapbEOF
18851.54Swiz
18861.63Sapbcat >>confdefs.h <<\EOF
18871.45Sjmc#define _POSIX_C_SOURCE 200112L
18881.63SapbEOF
18891.54Swiz
18901.63Sapbcat >>confdefs.h <<\EOF
18911.45Sjmc#define _XOPEN_SOURCE 600
18921.63SapbEOF
18931.45Sjmc
18941.45Sjmcelse
18951.63Sapb  echo "$as_me:1895: result: no" >&5
18961.45Sjmcecho "${ECHO_T}no" >&6
18971.45Sjmcfi
18981.45Sjmcrm -f conftest*
18991.45Sjmc
19001.45Sjmc# Extract the first word of "sh", so it can be a program name with args.
19011.45Sjmcset dummy sh; ac_word=$2
19021.63Sapbecho "$as_me:1902: checking for $ac_word" >&5
19031.45Sjmcecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19041.45Sjmcif test "${ac_cv_path_BSHELL+set}" = set; then
19051.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19061.45Sjmcelse
19071.45Sjmc  case $BSHELL in
19081.45Sjmc  [\\/]* | ?:[\\/]*)
19091.45Sjmc  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
19101.45Sjmc  ;;
19111.45Sjmc  *)
19121.63Sapb  ac_save_IFS=$IFS; IFS=$ac_path_separator
19131.63Sapbac_dummy="$PATH"
19141.63Sapbfor ac_dir in $ac_dummy; do
19151.63Sapb  IFS=$ac_save_IFS
19161.63Sapb  test -z "$ac_dir" && ac_dir=.
19171.63Sapb  if $as_executable_p "$ac_dir/$ac_word"; then
19181.63Sapb   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19191.63Sapb   echo "$as_me:1919: found $ac_dir/$ac_word" >&5
19201.63Sapb   break
19211.63Sapbfi
19221.45Sjmcdone
19231.45Sjmc
19241.45Sjmc  ;;
19251.45Sjmcesac
19261.45Sjmcfi
19271.45SjmcBSHELL=$ac_cv_path_BSHELL
19281.45Sjmc
19291.45Sjmcif test -n "$BSHELL"; then
19301.63Sapb  echo "$as_me:1930: result: $BSHELL" >&5
19311.45Sjmcecho "${ECHO_T}$BSHELL" >&6
19321.45Sjmcelse
19331.63Sapb  echo "$as_me:1933: result: no" >&5
19341.45Sjmcecho "${ECHO_T}no" >&6
19351.45Sjmcfi
19361.45Sjmc
19371.45Sjmcif test x"$BSHELL" = x; then
19381.63Sapb	{ { echo "$as_me:1938: error: sh must be somewhere on \$PATH" >&5
19391.45Sjmcecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
19401.45Sjmc   { (exit 1); exit 1; }; }
19411.45Sjmcfi
19421.54Swiz
19431.63Sapbcat >>confdefs.h <<EOF
19441.45Sjmc#define PATH_BSHELL "$BSHELL"
19451.63SapbEOF
19461.53Sdogcow
19471.63Sapbecho "$as_me:1947: checking whether byte ordering is bigendian" >&5
19481.45Sjmcecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19491.45Sjmcif test "${ac_cv_c_bigendian+set}" = set; then
19501.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19511.45Sjmcelse
19521.63Sapb  ac_cv_c_bigendian=unknown
19531.63Sapb# See if sys/param.h defines the BYTE_ORDER macro.
19541.45Sjmccat >conftest.$ac_ext <<_ACEOF
19551.63Sapb#line 1955 "configure"
19561.63Sapb#include "confdefs.h"
19571.45Sjmc#include <sys/types.h>
19581.45Sjmc#include <sys/param.h>
19591.45Sjmc
19601.45Sjmcint
19611.45Sjmcmain ()
19621.45Sjmc{
19631.45Sjmc#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19641.45Sjmc bogus endian macros
19651.45Sjmc#endif
19661.45Sjmc
19671.45Sjmc  ;
19681.45Sjmc  return 0;
19691.45Sjmc}
19701.45Sjmc_ACEOF
19711.45Sjmcrm -f conftest.$ac_objext
19721.63Sapbif { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
19731.63Sapb  (eval $ac_compile) 2>&5
19741.45Sjmc  ac_status=$?
19751.63Sapb  echo "$as_me:1975: \$? = $ac_status" >&5
19761.45Sjmc  (exit $ac_status); } &&
19771.63Sapb         { ac_try='test -s conftest.$ac_objext'
19781.63Sapb  { (eval echo "$as_me:1978: \"$ac_try\"") >&5
19791.61Schristos  (eval $ac_try) 2>&5
19801.61Schristos  ac_status=$?
19811.63Sapb  echo "$as_me:1981: \$? = $ac_status" >&5
19821.45Sjmc  (exit $ac_status); }; }; then
19831.45Sjmc  # It does; now see whether it defined to BIG_ENDIAN or not.
19841.45Sjmccat >conftest.$ac_ext <<_ACEOF
19851.63Sapb#line 1985 "configure"
19861.63Sapb#include "confdefs.h"
19871.45Sjmc#include <sys/types.h>
19881.45Sjmc#include <sys/param.h>
19891.45Sjmc
19901.45Sjmcint
19911.45Sjmcmain ()
19921.45Sjmc{
19931.45Sjmc#if BYTE_ORDER != BIG_ENDIAN
19941.45Sjmc not big endian
19951.45Sjmc#endif
19961.45Sjmc
19971.45Sjmc  ;
19981.45Sjmc  return 0;
19991.45Sjmc}
20001.45Sjmc_ACEOF
20011.45Sjmcrm -f conftest.$ac_objext
20021.63Sapbif { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
20031.63Sapb  (eval $ac_compile) 2>&5
20041.45Sjmc  ac_status=$?
20051.63Sapb  echo "$as_me:2005: \$? = $ac_status" >&5
20061.45Sjmc  (exit $ac_status); } &&
20071.63Sapb         { ac_try='test -s conftest.$ac_objext'
20081.63Sapb  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
20091.61Schristos  (eval $ac_try) 2>&5
20101.61Schristos  ac_status=$?
20111.63Sapb  echo "$as_me:2011: \$? = $ac_status" >&5
20121.45Sjmc  (exit $ac_status); }; }; then
20131.45Sjmc  ac_cv_c_bigendian=yes
20141.45Sjmcelse
20151.45Sjmc  echo "$as_me: failed program was:" >&5
20161.63Sapbcat conftest.$ac_ext >&5
20171.45Sjmcac_cv_c_bigendian=no
20181.45Sjmcfi
20191.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
20201.61Schristoselse
20211.61Schristos  echo "$as_me: failed program was:" >&5
20221.63Sapbcat conftest.$ac_ext >&5
20231.63Sapbfi
20241.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
20251.63Sapbif test $ac_cv_c_bigendian = unknown; then
20261.61Schristosif test "$cross_compiling" = yes; then
20271.63Sapb  { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
20281.63Sapbecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20291.63Sapb   { (exit 1); exit 1; }; }
20301.45Sjmcelse
20311.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
20321.63Sapb#line 2032 "configure"
20331.63Sapb#include "confdefs.h"
20341.45Sjmcint
20351.45Sjmcmain ()
20361.45Sjmc{
20371.45Sjmc  /* Are we little or big endian?  From Harbison&Steele.  */
20381.45Sjmc  union
20391.45Sjmc  {
20401.45Sjmc    long l;
20411.45Sjmc    char c[sizeof (long)];
20421.45Sjmc  } u;
20431.45Sjmc  u.l = 1;
20441.45Sjmc  exit (u.c[sizeof (long) - 1] == 1);
20451.45Sjmc}
20461.45Sjmc_ACEOF
20471.45Sjmcrm -f conftest$ac_exeext
20481.63Sapbif { (eval echo "$as_me:2048: \"$ac_link\"") >&5
20491.45Sjmc  (eval $ac_link) 2>&5
20501.45Sjmc  ac_status=$?
20511.63Sapb  echo "$as_me:2051: \$? = $ac_status" >&5
20521.45Sjmc  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20531.63Sapb  { (eval echo "$as_me:2053: \"$ac_try\"") >&5
20541.45Sjmc  (eval $ac_try) 2>&5
20551.45Sjmc  ac_status=$?
20561.63Sapb  echo "$as_me:2056: \$? = $ac_status" >&5
20571.45Sjmc  (exit $ac_status); }; }; then
20581.45Sjmc  ac_cv_c_bigendian=no
20591.45Sjmcelse
20601.45Sjmc  echo "$as_me: program exited with status $ac_status" >&5
20611.45Sjmcecho "$as_me: failed program was:" >&5
20621.63Sapbcat conftest.$ac_ext >&5
20631.45Sjmcac_cv_c_bigendian=yes
20641.45Sjmcfi
20651.63Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20661.45Sjmcfi
20671.1Stvfi
20681.1Stvfi
20691.63Sapbecho "$as_me:2069: result: $ac_cv_c_bigendian" >&5
20701.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20711.63Sapbif test $ac_cv_c_bigendian = yes; then
20721.45Sjmc
20731.63Sapbcat >>confdefs.h <<\EOF
20741.45Sjmc#define WORDS_BIGENDIAN 1
20751.63SapbEOF
20761.63Sapb
20771.63Sapbfi
20781.52Sdbj
20791.63Sapbecho "$as_me:2079: checking for ANSI C header files" >&5
20801.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20811.6Stvif test "${ac_cv_header_stdc+set}" = set; then
20821.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20831.6Stvelse
20841.6Stv  cat >conftest.$ac_ext <<_ACEOF
20851.63Sapb#line 2085 "configure"
20861.63Sapb#include "confdefs.h"
20871.6Stv#include <stdlib.h>
20881.6Stv#include <stdarg.h>
20891.6Stv#include <string.h>
20901.6Stv#include <float.h>
20911.6Stv
20921.6Stv_ACEOF
20931.63Sapbif { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
20941.63Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20951.39Sfredb  ac_status=$?
20961.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
20971.50Sjmc  rm -f conftest.er1
20981.50Sjmc  cat conftest.err >&5
20991.63Sapb  echo "$as_me:2099: \$? = $ac_status" >&5
21001.63Sapb  (exit $ac_status); } >/dev/null; then
21011.63Sapb  if test -s conftest.err; then
21021.63Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
21031.63Sapb  else
21041.63Sapb    ac_cpp_err=
21051.63Sapb  fi
21061.63Sapbelse
21071.63Sapb  ac_cpp_err=yes
21081.63Sapbfi
21091.63Sapbif test -z "$ac_cpp_err"; then
21101.6Stv  ac_cv_header_stdc=yes
21111.6Stvelse
21121.6Stv  echo "$as_me: failed program was:" >&5
21131.63Sapb  cat conftest.$ac_ext >&5
21141.63Sapb  ac_cv_header_stdc=no
21151.6Stvfi
21161.63Sapbrm -f conftest.err conftest.$ac_ext
21171.6Stv
21181.6Stvif test $ac_cv_header_stdc = yes; then
21191.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21201.6Stv  cat >conftest.$ac_ext <<_ACEOF
21211.63Sapb#line 2121 "configure"
21221.63Sapb#include "confdefs.h"
21231.6Stv#include <string.h>
21241.6Stv
21251.6Stv_ACEOF
21261.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21271.63Sapb  egrep "memchr" >/dev/null 2>&1; then
21281.6Stv  :
21291.6Stvelse
21301.6Stv  ac_cv_header_stdc=no
21311.6Stvfi
21321.6Stvrm -f conftest*
21331.6Stv
21341.6Stvfi
21351.6Stv
21361.6Stvif test $ac_cv_header_stdc = yes; then
21371.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21381.6Stv  cat >conftest.$ac_ext <<_ACEOF
21391.63Sapb#line 2139 "configure"
21401.63Sapb#include "confdefs.h"
21411.6Stv#include <stdlib.h>
21421.6Stv
21431.6Stv_ACEOF
21441.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451.63Sapb  egrep "free" >/dev/null 2>&1; then
21461.6Stv  :
21471.6Stvelse
21481.6Stv  ac_cv_header_stdc=no
21491.6Stvfi
21501.6Stvrm -f conftest*
21511.6Stv
21521.6Stvfi
21531.6Stv
21541.6Stvif test $ac_cv_header_stdc = yes; then
21551.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21561.6Stv  if test "$cross_compiling" = yes; then
21571.6Stv  :
21581.6Stvelse
21591.6Stv  cat >conftest.$ac_ext <<_ACEOF
21601.63Sapb#line 2160 "configure"
21611.63Sapb#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.63Sapb# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21681.63Sapb                     || ('j' <= (c) && (c) <= 'r') \
21691.63Sapb                     || ('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.63Sapb        || toupper (i) != TOUPPER (i))
21811.6Stv      exit(2);
21821.6Stv  exit (0);
21831.6Stv}
21841.6Stv_ACEOF
21851.6Stvrm -f conftest$ac_exeext
21861.63Sapbif { (eval echo "$as_me:2186: \"$ac_link\"") >&5
21871.6Stv  (eval $ac_link) 2>&5
21881.6Stv  ac_status=$?
21891.63Sapb  echo "$as_me:2189: \$? = $ac_status" >&5
21901.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21911.63Sapb  { (eval echo "$as_me:2191: \"$ac_try\"") >&5
21921.6Stv  (eval $ac_try) 2>&5
21931.6Stv  ac_status=$?
21941.63Sapb  echo "$as_me:2194: \$? = $ac_status" >&5
21951.6Stv  (exit $ac_status); }; }; then
21961.6Stv  :
21971.6Stvelse
21981.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21991.6Stvecho "$as_me: failed program was:" >&5
22001.63Sapbcat conftest.$ac_ext >&5
22011.6Stvac_cv_header_stdc=no
22021.6Stvfi
22031.63Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22041.6Stvfi
22051.6Stvfi
22061.6Stvfi
22071.63Sapbecho "$as_me:2207: result: $ac_cv_header_stdc" >&5
22081.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
22091.6Stvif test $ac_cv_header_stdc = yes; then
22101.6Stv
22111.63Sapbcat >>confdefs.h <<\EOF
22121.6Stv#define STDC_HEADERS 1
22131.63SapbEOF
22141.6Stv
22151.6Stvfi
22161.6Stv
22171.6Stv# Confirm existence of zlib.  (This is available as a default install
22181.6Stv# option on many OS's; this could be added as a reachover build in the
22191.6Stv# future.)
22201.63Sapbecho "$as_me:2220: checking for zlib.h" >&5
22211.63Sapbecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22221.63Sapbif test "${ac_cv_header_zlib_h+set}" = set; then
22231.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22241.39Sfredbelse
22251.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
22261.63Sapb#line 2226 "configure"
22271.63Sapb#include "confdefs.h"
22281.63Sapb#include <zlib.h>
22291.61Schristos_ACEOF
22301.63Sapbif { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
22311.63Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22321.4Stv  ac_status=$?
22331.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
22341.50Sjmc  rm -f conftest.er1
22351.50Sjmc  cat conftest.err >&5
22361.63Sapb  echo "$as_me:2236: \$? = $ac_status" >&5
22371.63Sapb  (exit $ac_status); } >/dev/null; then
22381.63Sapb  if test -s conftest.err; then
22391.63Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
22401.63Sapb  else
22411.63Sapb    ac_cpp_err=
22421.63Sapb  fi
22431.63Sapbelse
22441.63Sapb  ac_cpp_err=yes
22451.63Sapbfi
22461.63Sapbif test -z "$ac_cpp_err"; then
22471.63Sapb  ac_cv_header_zlib_h=yes
22481.4Stvelse
22491.4Stv  echo "$as_me: failed program was:" >&5
22501.63Sapb  cat conftest.$ac_ext >&5
22511.63Sapb  ac_cv_header_zlib_h=no
22521.4Stvfi
22531.63Sapbrm -f conftest.err conftest.$ac_ext
22541.4Stvfi
22551.63Sapbecho "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
22561.63Sapbecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22571.63Sapbif test $ac_cv_header_zlib_h = yes; then
22581.63Sapb  :
22591.63Sapbelse
22601.63Sapb  { { echo "$as_me:2260: error: zlib must be installed in a compiler-visible path" >&5
22611.63Sapbecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22621.63Sapb   { (exit 1); exit 1; }; }
22631.6Stvfi
22641.6Stv
22651.63Sapbecho "$as_me:2265: checking for gzdopen in -lz" >&5
22661.63Sapbecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22671.63Sapbif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22681.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
22691.52Sdbjelse
22701.52Sdbj  ac_check_lib_save_LIBS=$LIBS
22711.52SdbjLIBS="-lz  $LIBS"
22721.52Sdbjcat >conftest.$ac_ext <<_ACEOF
22731.63Sapb#line 2273 "configure"
22741.63Sapb#include "confdefs.h"
22751.48Sjmc
22761.52Sdbj/* Override any gcc2 internal prototype to avoid an error.  */
22771.6Stv#ifdef __cplusplus
22781.6Stvextern "C"
22791.6Stv#endif
22801.6Stv/* We use char because int might match the return type of a gcc2
22811.6Stv   builtin and then its argument prototype would still apply.  */
22821.6Stvchar gzdopen ();
22831.6Stvint
22841.6Stvmain ()
22851.6Stv{
22861.6Stvgzdopen ();
22871.6Stv  ;
22881.6Stv  return 0;
22891.6Stv}
22901.6Stv_ACEOF
22911.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22921.63Sapbif { (eval echo "$as_me:2292: \"$ac_link\"") >&5
22931.63Sapb  (eval $ac_link) 2>&5
22941.6Stv  ac_status=$?
22951.63Sapb  echo "$as_me:2295: \$? = $ac_status" >&5
22961.6Stv  (exit $ac_status); } &&
22971.63Sapb         { ac_try='test -s conftest$ac_exeext'
22981.63Sapb  { (eval echo "$as_me:2298: \"$ac_try\"") >&5
22991.61Schristos  (eval $ac_try) 2>&5
23001.61Schristos  ac_status=$?
23011.63Sapb  echo "$as_me:2301: \$? = $ac_status" >&5
23021.6Stv  (exit $ac_status); }; }; then
23031.6Stv  ac_cv_lib_z_gzdopen=yes
23041.6Stvelse
23051.6Stv  echo "$as_me: failed program was:" >&5
23061.63Sapbcat conftest.$ac_ext >&5
23071.6Stvac_cv_lib_z_gzdopen=no
23081.6Stvfi
23091.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23101.6StvLIBS=$ac_check_lib_save_LIBS
23111.6Stvfi
23121.63Sapbecho "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
23131.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
23141.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
23151.63Sapb  cat >>confdefs.h <<EOF
23161.6Stv#define HAVE_LIBZ 1
23171.63SapbEOF
23181.4Stv
23191.6Stv  LIBS="-lz $LIBS"
23201.6Stv
23211.4Stvelse
23221.63Sapb  { { echo "$as_me:2322: error: zlib must be installed in a compiler-visible path" >&5
23231.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
23241.4Stv   { (exit 1); exit 1; }; }
23251.4Stvfi
23261.4Stv
23271.6Stv# Make sure certain required headers are available.
23281.6Stv# These are not necessarily required by the code, but they are not
23291.6Stv# currently conditionalized.
23301.4Stv
23311.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
23321.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
23331.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
23341.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
23351.43Sdbj	termios.h unistd.h
23361.43Sdbjdo
23371.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23381.63Sapbecho "$as_me:2338: checking for $ac_header" >&5
23391.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23401.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
23411.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
23421.61Schristoselse
23431.63Sapb  cat >conftest.$ac_ext <<_ACEOF
23441.63Sapb#line 2344 "configure"
23451.63Sapb#include "confdefs.h"
23461.48Sjmc#include <$ac_header>
23471.48Sjmc_ACEOF
23481.63Sapbif { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
23491.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23501.4Stv  ac_status=$?
23511.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
23521.4Stv  rm -f conftest.er1
23531.4Stv  cat conftest.err >&5
23541.63Sapb  echo "$as_me:2354: \$? = $ac_status" >&5
23551.4Stv  (exit $ac_status); } >/dev/null; then
23561.4Stv  if test -s conftest.err; then
23571.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23581.4Stv  else
23591.4Stv    ac_cpp_err=
23601.4Stv  fi
23611.4Stvelse
23621.6Stv  ac_cpp_err=yes
23631.6Stvfi
23641.6Stvif test -z "$ac_cpp_err"; then
23651.63Sapb  eval "$as_ac_Header=yes"
23661.6Stvelse
23671.6Stv  echo "$as_me: failed program was:" >&5
23681.63Sapb  cat conftest.$ac_ext >&5
23691.63Sapb  eval "$as_ac_Header=no"
23701.6Stvfi
23711.6Stvrm -f conftest.err conftest.$ac_ext
23721.6Stvfi
23731.63Sapbecho "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
23741.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23751.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23761.63Sapb  cat >>confdefs.h <<EOF
23771.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23781.63SapbEOF
23791.6Stv
23801.6Stvelse
23811.63Sapb  { { echo "$as_me:2381: error: standard system header file not found" >&5
23821.6Stvecho "$as_me: error: standard system header file not found" >&2;}
23831.6Stv   { (exit 1); exit 1; }; }
23841.6Stvfi
23851.6Stvdone
23861.6Stv
23871.6Stv# Find headers that may not be available.
23881.6Stv
23891.6Stvac_header_dirent=no
23901.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23911.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23921.63Sapbecho "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
23931.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23941.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23951.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23961.6Stvelse
23971.6Stv  cat >conftest.$ac_ext <<_ACEOF
23981.63Sapb#line 2398 "configure"
23991.63Sapb#include "confdefs.h"
24001.6Stv#include <sys/types.h>
24011.6Stv#include <$ac_hdr>
24021.6Stv
24031.6Stvint
24041.6Stvmain ()
24051.6Stv{
24061.6Stvif ((DIR *) 0)
24071.6Stvreturn 0;
24081.6Stv  ;
24091.6Stv  return 0;
24101.6Stv}
24111.6Stv_ACEOF
24121.6Stvrm -f conftest.$ac_objext
24131.63Sapbif { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
24141.63Sapb  (eval $ac_compile) 2>&5
24151.6Stv  ac_status=$?
24161.63Sapb  echo "$as_me:2416: \$? = $ac_status" >&5
24171.6Stv  (exit $ac_status); } &&
24181.63Sapb         { ac_try='test -s conftest.$ac_objext'
24191.63Sapb  { (eval echo "$as_me:2419: \"$ac_try\"") >&5
24201.50Sjmc  (eval $ac_try) 2>&5
24211.50Sjmc  ac_status=$?
24221.63Sapb  echo "$as_me:2422: \$? = $ac_status" >&5
24231.6Stv  (exit $ac_status); }; }; then
24241.6Stv  eval "$as_ac_Header=yes"
24251.6Stvelse
24261.6Stv  echo "$as_me: failed program was:" >&5
24271.63Sapbcat conftest.$ac_ext >&5
24281.6Stveval "$as_ac_Header=no"
24291.6Stvfi
24301.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
24311.6Stvfi
24321.63Sapbecho "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
24331.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24341.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
24351.63Sapb  cat >>confdefs.h <<EOF
24361.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24371.63SapbEOF
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.63Sapb  echo "$as_me:2445: checking for opendir in -ldir" >&5
24461.63Sapbecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24471.63Sapbif test "${ac_cv_lib_dir_opendir+set}" = set; then
24481.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24491.6Stvelse
24501.63Sapb  ac_check_lib_save_LIBS=$LIBS
24511.63SapbLIBS="-ldir  $LIBS"
24521.6Stvcat >conftest.$ac_ext <<_ACEOF
24531.63Sapb#line 2453 "configure"
24541.63Sapb#include "confdefs.h"
24551.48Sjmc
24561.48Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
24571.48Sjmc#ifdef __cplusplus
24581.48Sjmcextern "C"
24591.48Sjmc#endif
24601.48Sjmc/* We use char because int might match the return type of a gcc2
24611.48Sjmc   builtin and then its argument prototype would still apply.  */
24621.48Sjmcchar opendir ();
24631.48Sjmcint
24641.48Sjmcmain ()
24651.48Sjmc{
24661.48Sjmcopendir ();
24671.48Sjmc  ;
24681.48Sjmc  return 0;
24691.48Sjmc}
24701.48Sjmc_ACEOF
24711.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
24721.63Sapbif { (eval echo "$as_me:2472: \"$ac_link\"") >&5
24731.63Sapb  (eval $ac_link) 2>&5
24741.6Stv  ac_status=$?
24751.63Sapb  echo "$as_me:2475: \$? = $ac_status" >&5
24761.6Stv  (exit $ac_status); } &&
24771.63Sapb         { ac_try='test -s conftest$ac_exeext'
24781.63Sapb  { (eval echo "$as_me:2478: \"$ac_try\"") >&5
24791.53Sdogcow  (eval $ac_try) 2>&5
24801.53Sdogcow  ac_status=$?
24811.63Sapb  echo "$as_me:2481: \$? = $ac_status" >&5
24821.6Stv  (exit $ac_status); }; }; then
24831.63Sapb  ac_cv_lib_dir_opendir=yes
24841.6Stvelse
24851.6Stv  echo "$as_me: failed program was:" >&5
24861.63Sapbcat conftest.$ac_ext >&5
24871.63Sapbac_cv_lib_dir_opendir=no
24881.63Sapbfi
24891.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24901.63SapbLIBS=$ac_check_lib_save_LIBS
24911.63Sapbfi
24921.63Sapbecho "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
24931.63Sapbecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24941.63Sapbif test $ac_cv_lib_dir_opendir = yes; then
24951.63Sapb  LIBS="$LIBS -ldir"
24961.63Sapbfi
24971.61Schristos
24981.63Sapbelse
24991.63Sapb  echo "$as_me:2499: checking for opendir in -lx" >&5
25001.63Sapbecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
25011.63Sapbif test "${ac_cv_lib_x_opendir+set}" = set; then
25021.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
25031.63Sapbelse
25041.63Sapb  ac_check_lib_save_LIBS=$LIBS
25051.63SapbLIBS="-lx  $LIBS"
25061.63Sapbcat >conftest.$ac_ext <<_ACEOF
25071.63Sapb#line 2507 "configure"
25081.63Sapb#include "confdefs.h"
25091.6Stv
25101.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
25111.6Stv#ifdef __cplusplus
25121.6Stvextern "C"
25131.6Stv#endif
25141.6Stv/* We use char because int might match the return type of a gcc2
25151.6Stv   builtin and then its argument prototype would still apply.  */
25161.6Stvchar opendir ();
25171.6Stvint
25181.6Stvmain ()
25191.6Stv{
25201.6Stvopendir ();
25211.6Stv  ;
25221.6Stv  return 0;
25231.6Stv}
25241.6Stv_ACEOF
25251.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
25261.63Sapbif { (eval echo "$as_me:2526: \"$ac_link\"") >&5
25271.63Sapb  (eval $ac_link) 2>&5
25281.48Sjmc  ac_status=$?
25291.63Sapb  echo "$as_me:2529: \$? = $ac_status" >&5
25301.48Sjmc  (exit $ac_status); } &&
25311.63Sapb         { ac_try='test -s conftest$ac_exeext'
25321.63Sapb  { (eval echo "$as_me:2532: \"$ac_try\"") >&5
25331.50Sjmc  (eval $ac_try) 2>&5
25341.50Sjmc  ac_status=$?
25351.63Sapb  echo "$as_me:2535: \$? = $ac_status" >&5
25361.48Sjmc  (exit $ac_status); }; }; then
25371.63Sapb  ac_cv_lib_x_opendir=yes
25381.48Sjmcelse
25391.48Sjmc  echo "$as_me: failed program was:" >&5
25401.63Sapbcat conftest.$ac_ext >&5
25411.63Sapbac_cv_lib_x_opendir=no
25421.48Sjmcfi
25431.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25441.63SapbLIBS=$ac_check_lib_save_LIBS
25451.48Sjmcfi
25461.63Sapbecho "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
25471.63Sapbecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25481.63Sapbif test $ac_cv_lib_x_opendir = yes; then
25491.63Sapb  LIBS="$LIBS -lx"
25501.6Stvfi
25511.39Sfredb
25521.6Stvfi
25531.6Stv
25541.63Sapbfor ac_header in sys/sysmacros.h sys/syslimits.h \
25551.63Sapb	getopt.h features.h malloc.h sys/poll.h stddef.h
25561.63Sapbdo
25571.63Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25581.63Sapbecho "$as_me:2558: checking for $ac_header" >&5
25591.63Sapbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25601.63Sapbif eval "test \"\${$as_ac_Header+set}\" = set"; then
25611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25621.48Sjmcelse
25631.63Sapb  cat >conftest.$ac_ext <<_ACEOF
25641.63Sapb#line 2564 "configure"
25651.63Sapb#include "confdefs.h"
25661.63Sapb#include <$ac_header>
25671.61Schristos_ACEOF
25681.63Sapbif { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
25691.63Sapb  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25701.6Stv  ac_status=$?
25711.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
25721.6Stv  rm -f conftest.er1
25731.6Stv  cat conftest.err >&5
25741.63Sapb  echo "$as_me:2574: \$? = $ac_status" >&5
25751.63Sapb  (exit $ac_status); } >/dev/null; then
25761.63Sapb  if test -s conftest.err; then
25771.63Sapb    ac_cpp_err=$ac_c_preproc_warn_flag
25781.63Sapb  else
25791.63Sapb    ac_cpp_err=
25801.63Sapb  fi
25811.63Sapbelse
25821.63Sapb  ac_cpp_err=yes
25831.63Sapbfi
25841.63Sapbif test -z "$ac_cpp_err"; then
25851.63Sapb  eval "$as_ac_Header=yes"
25861.6Stvelse
25871.6Stv  echo "$as_me: failed program was:" >&5
25881.63Sapb  cat conftest.$ac_ext >&5
25891.63Sapb  eval "$as_ac_Header=no"
25901.63Sapbfi
25911.63Sapbrm -f conftest.err conftest.$ac_ext
25921.63Sapbfi
25931.63Sapbecho "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
25941.63Sapbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25951.63Sapbif test `eval echo '${'$as_ac_Header'}'` = yes; then
25961.63Sapb  cat >>confdefs.h <<EOF
25971.63Sapb#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25981.63SapbEOF
25991.6Stv
26001.6Stvfi
26011.63Sapbdone
26021.6Stv
26031.63Sapbfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
26041.63Sapb	sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
26051.63Sapbdo
26061.63Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26071.63Sapbecho "$as_me:2607: checking for $ac_header" >&5
26081.63Sapbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26091.63Sapbif eval "test \"\${$as_ac_Header+set}\" = set"; then
26101.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26111.61Schristoselse
26121.63Sapb  cat >conftest.$ac_ext <<_ACEOF
26131.63Sapb#line 2613 "configure"
26141.63Sapb#include "confdefs.h"
26151.48Sjmc#include <$ac_header>
26161.48Sjmc_ACEOF
26171.63Sapbif { (eval echo "$as_me:2617: \"$ac_cpp conftest.$ac_ext\"") >&5
26181.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26191.6Stv  ac_status=$?
26201.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
26211.6Stv  rm -f conftest.er1
26221.6Stv  cat conftest.err >&5
26231.63Sapb  echo "$as_me:2623: \$? = $ac_status" >&5
26241.6Stv  (exit $ac_status); } >/dev/null; then
26251.6Stv  if test -s conftest.err; then
26261.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26271.6Stv  else
26281.6Stv    ac_cpp_err=
26291.6Stv  fi
26301.6Stvelse
26311.6Stv  ac_cpp_err=yes
26321.6Stvfi
26331.6Stvif test -z "$ac_cpp_err"; then
26341.63Sapb  eval "$as_ac_Header=yes"
26351.6Stvelse
26361.6Stv  echo "$as_me: failed program was:" >&5
26371.63Sapb  cat conftest.$ac_ext >&5
26381.63Sapb  eval "$as_ac_Header=no"
26391.6Stvfi
26401.6Stvrm -f conftest.err conftest.$ac_ext
26411.6Stvfi
26421.63Sapbecho "$as_me:2642: result: `eval echo '${'$as_ac_Header'}'`" >&5
26431.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26441.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26451.63Sapb  cat >>confdefs.h <<EOF
26461.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26471.63SapbEOF
26481.6Stv
26491.63Sapbelse
26501.63Sapb  test -f include/$ac_header || touch include/$ac_header
26511.6Stvfi
26521.6Stvdone
26531.6Stv
26541.63Sapbfor ac_header in rpc/types.h netconfig.h
26551.7Stvdo
26561.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26571.63Sapbecho "$as_me:2657: checking for $ac_header" >&5
26581.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26591.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26601.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26611.61Schristoselse
26621.63Sapb  cat >conftest.$ac_ext <<_ACEOF
26631.63Sapb#line 2663 "configure"
26641.63Sapb#include "confdefs.h"
26651.7Stv#include <$ac_header>
26661.7Stv_ACEOF
26671.63Sapbif { (eval echo "$as_me:2667: \"$ac_cpp conftest.$ac_ext\"") >&5
26681.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26691.7Stv  ac_status=$?
26701.63Sapb  egrep -v '^ *\+' conftest.er1 >conftest.err
26711.7Stv  rm -f conftest.er1
26721.7Stv  cat conftest.err >&5
26731.63Sapb  echo "$as_me:2673: \$? = $ac_status" >&5
26741.7Stv  (exit $ac_status); } >/dev/null; then
26751.7Stv  if test -s conftest.err; then
26761.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26771.7Stv  else
26781.7Stv    ac_cpp_err=
26791.7Stv  fi
26801.7Stvelse
26811.7Stv  ac_cpp_err=yes
26821.7Stvfi
26831.7Stvif test -z "$ac_cpp_err"; then
26841.63Sapb  eval "$as_ac_Header=yes"
26851.7Stvelse
26861.7Stv  echo "$as_me: failed program was:" >&5
26871.63Sapb  cat conftest.$ac_ext >&5
26881.63Sapb  eval "$as_ac_Header=no"
26891.43Sdbjfi
26901.43Sdbjrm -f conftest.err conftest.$ac_ext
26911.43Sdbjfi
26921.63Sapbecho "$as_me:2692: result: `eval echo '${'$as_ac_Header'}'`" >&5
26931.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26941.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
26951.63Sapb  cat >>confdefs.h <<EOF
26961.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26971.63SapbEOF
26981.39Sfredb
26991.43Sdbjelse
27001.63Sapb  echo '#include "nbtool_config.h"' >include/$ac_header.new
27011.63Sapb	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
27021.63Sapb	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
27031.63Sapb		rm -f include/$ac_header.new
27041.63Sapb	else
27051.63Sapb		mv -f include/$ac_header.new include/$ac_header
27061.63Sapb	fi
27071.7Stvfi
27081.52Sdbjdone
27091.52Sdbj
27101.63Sapb# Typedefs.
27111.63Sapb# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27121.52Sdbj
27131.63Sapbfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27141.63Sapb                  inttypes.h stdint.h unistd.h
27151.52Sdbjdo
27161.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27171.63Sapbecho "$as_me:2717: checking for $ac_header" >&5
27181.52Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27191.52Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
27201.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
27211.52Sdbjelse
27221.63Sapb  cat >conftest.$ac_ext <<_ACEOF
27231.63Sapb#line 2723 "configure"
27241.63Sapb#include "confdefs.h"
27251.52Sdbj$ac_includes_default
27261.52Sdbj#include <$ac_header>
27271.52Sdbj_ACEOF
27281.52Sdbjrm -f conftest.$ac_objext
27291.63Sapbif { (eval echo "$as_me:2729: \"$ac_compile\"") >&5
27301.63Sapb  (eval $ac_compile) 2>&5
27311.52Sdbj  ac_status=$?
27321.63Sapb  echo "$as_me:2732: \$? = $ac_status" >&5
27331.52Sdbj  (exit $ac_status); } &&
27341.63Sapb         { ac_try='test -s conftest.$ac_objext'
27351.63Sapb  { (eval echo "$as_me:2735: \"$ac_try\"") >&5
27361.61Schristos  (eval $ac_try) 2>&5
27371.61Schristos  ac_status=$?
27381.63Sapb  echo "$as_me:2738: \$? = $ac_status" >&5
27391.52Sdbj  (exit $ac_status); }; }; then
27401.63Sapb  eval "$as_ac_Header=yes"
27411.61Schristoselse
27421.61Schristos  echo "$as_me: failed program was:" >&5
27431.63Sapbcat conftest.$ac_ext >&5
27441.63Sapbeval "$as_ac_Header=no"
27451.52Sdbjfi
27461.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
27471.52Sdbjfi
27481.63Sapbecho "$as_me:2748: result: `eval echo '${'$as_ac_Header'}'`" >&5
27491.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27501.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
27511.63Sapb  cat >>confdefs.h <<EOF
27521.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27531.63SapbEOF
27541.48Sjmc
27551.52Sdbjfi
27561.43Sdbjdone
27571.43Sdbj
27581.63Sapbecho "$as_me:2758: checking for size_t" >&5
27591.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27601.6Stvif test "${ac_cv_type_size_t+set}" = set; then
27611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27621.6Stvelse
27631.6Stv  cat >conftest.$ac_ext <<_ACEOF
27641.63Sapb#line 2764 "configure"
27651.63Sapb#include "confdefs.h"
27661.6Stv$ac_includes_default
27671.6Stvint
27681.6Stvmain ()
27691.6Stv{
27701.6Stvif ((size_t *) 0)
27711.6Stv  return 0;
27721.6Stvif (sizeof (size_t))
27731.6Stv  return 0;
27741.6Stv  ;
27751.6Stv  return 0;
27761.6Stv}
27771.6Stv_ACEOF
27781.6Stvrm -f conftest.$ac_objext
27791.63Sapbif { (eval echo "$as_me:2779: \"$ac_compile\"") >&5
27801.63Sapb  (eval $ac_compile) 2>&5
27811.6Stv  ac_status=$?
27821.63Sapb  echo "$as_me:2782: \$? = $ac_status" >&5
27831.6Stv  (exit $ac_status); } &&
27841.63Sapb         { ac_try='test -s conftest.$ac_objext'
27851.63Sapb  { (eval echo "$as_me:2785: \"$ac_try\"") >&5
27861.53Sdogcow  (eval $ac_try) 2>&5
27871.53Sdogcow  ac_status=$?
27881.63Sapb  echo "$as_me:2788: \$? = $ac_status" >&5
27891.6Stv  (exit $ac_status); }; }; then
27901.6Stv  ac_cv_type_size_t=yes
27911.6Stvelse
27921.6Stv  echo "$as_me: failed program was:" >&5
27931.63Sapbcat conftest.$ac_ext >&5
27941.6Stvac_cv_type_size_t=no
27951.6Stvfi
27961.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
27971.6Stvfi
27981.63Sapbecho "$as_me:2798: result: $ac_cv_type_size_t" >&5
27991.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
28001.6Stvif test $ac_cv_type_size_t = yes; then
28011.6Stv  :
28021.6Stvelse
28031.6Stv
28041.63Sapbcat >>confdefs.h <<EOF
28051.6Stv#define size_t unsigned
28061.63SapbEOF
28071.6Stv
28081.6Stvfi
28091.6Stv
28101.63Sapbecho "$as_me:2810: checking for id_t" >&5
28111.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
28121.6Stvif test "${ac_cv_type_id_t+set}" = set; then
28131.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28141.6Stvelse
28151.6Stv  cat >conftest.$ac_ext <<_ACEOF
28161.63Sapb#line 2816 "configure"
28171.63Sapb#include "confdefs.h"
28181.6Stv$ac_includes_default
28191.6Stvint
28201.6Stvmain ()
28211.6Stv{
28221.6Stvif ((id_t *) 0)
28231.6Stv  return 0;
28241.6Stvif (sizeof (id_t))
28251.6Stv  return 0;
28261.6Stv  ;
28271.6Stv  return 0;
28281.6Stv}
28291.6Stv_ACEOF
28301.6Stvrm -f conftest.$ac_objext
28311.63Sapbif { (eval echo "$as_me:2831: \"$ac_compile\"") >&5
28321.63Sapb  (eval $ac_compile) 2>&5
28331.6Stv  ac_status=$?
28341.63Sapb  echo "$as_me:2834: \$? = $ac_status" >&5
28351.6Stv  (exit $ac_status); } &&
28361.63Sapb         { ac_try='test -s conftest.$ac_objext'
28371.63Sapb  { (eval echo "$as_me:2837: \"$ac_try\"") >&5
28381.53Sdogcow  (eval $ac_try) 2>&5
28391.53Sdogcow  ac_status=$?
28401.63Sapb  echo "$as_me:2840: \$? = $ac_status" >&5
28411.6Stv  (exit $ac_status); }; }; then
28421.6Stv  ac_cv_type_id_t=yes
28431.6Stvelse
28441.6Stv  echo "$as_me: failed program was:" >&5
28451.63Sapbcat conftest.$ac_ext >&5
28461.6Stvac_cv_type_id_t=no
28471.6Stvfi
28481.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
28491.6Stvfi
28501.63Sapbecho "$as_me:2850: result: $ac_cv_type_id_t" >&5
28511.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
28521.6Stvif test $ac_cv_type_id_t = yes; then
28531.6Stv
28541.63Sapbcat >>confdefs.h <<EOF
28551.6Stv#define HAVE_ID_T 1
28561.63SapbEOF
28571.6Stv
28581.6Stvfi
28591.63Sapbecho "$as_me:2859: checking for long long" >&5
28601.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
28611.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28621.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28631.6Stvelse
28641.6Stv  cat >conftest.$ac_ext <<_ACEOF
28651.63Sapb#line 2865 "configure"
28661.63Sapb#include "confdefs.h"
28671.6Stv$ac_includes_default
28681.6Stvint
28691.6Stvmain ()
28701.6Stv{
28711.6Stvif ((long long *) 0)
28721.6Stv  return 0;
28731.6Stvif (sizeof (long long))
28741.6Stv  return 0;
28751.6Stv  ;
28761.6Stv  return 0;
28771.6Stv}
28781.6Stv_ACEOF
28791.6Stvrm -f conftest.$ac_objext
28801.63Sapbif { (eval echo "$as_me:2880: \"$ac_compile\"") >&5
28811.63Sapb  (eval $ac_compile) 2>&5
28821.6Stv  ac_status=$?
28831.63Sapb  echo "$as_me:2883: \$? = $ac_status" >&5
28841.6Stv  (exit $ac_status); } &&
28851.63Sapb         { ac_try='test -s conftest.$ac_objext'
28861.63Sapb  { (eval echo "$as_me:2886: \"$ac_try\"") >&5
28871.61Schristos  (eval $ac_try) 2>&5
28881.61Schristos  ac_status=$?
28891.63Sapb  echo "$as_me:2889: \$? = $ac_status" >&5
28901.6Stv  (exit $ac_status); }; }; then
28911.6Stv  ac_cv_type_long_long=yes
28921.6Stvelse
28931.6Stv  echo "$as_me: failed program was:" >&5
28941.63Sapbcat conftest.$ac_ext >&5
28951.6Stvac_cv_type_long_long=no
28961.6Stvfi
28971.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
28981.6Stvfi
28991.63Sapbecho "$as_me:2899: result: $ac_cv_type_long_long" >&5
29001.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
29011.6Stvif test $ac_cv_type_long_long = yes; then
29021.6Stv
29031.63Sapbcat >>confdefs.h <<EOF
29041.52Sdbj#define HAVE_LONG_LONG 1
29051.63SapbEOF
29061.6Stv
29071.6Stvfi
29081.63Sapbecho "$as_me:2908: checking for u_long" >&5
29091.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
29101.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
29111.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
29121.38Sfredbelse
29131.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
29141.63Sapb#line 2914 "configure"
29151.63Sapb#include "confdefs.h"
29161.38Sfredb$ac_includes_default
29171.38Sfredbint
29181.38Sfredbmain ()
29191.38Sfredb{
29201.38Sfredbif ((u_long *) 0)
29211.38Sfredb  return 0;
29221.38Sfredbif (sizeof (u_long))
29231.38Sfredb  return 0;
29241.38Sfredb  ;
29251.38Sfredb  return 0;
29261.38Sfredb}
29271.38Sfredb_ACEOF
29281.38Sfredbrm -f conftest.$ac_objext
29291.63Sapbif { (eval echo "$as_me:2929: \"$ac_compile\"") >&5
29301.63Sapb  (eval $ac_compile) 2>&5
29311.38Sfredb  ac_status=$?
29321.63Sapb  echo "$as_me:2932: \$? = $ac_status" >&5
29331.38Sfredb  (exit $ac_status); } &&
29341.63Sapb         { ac_try='test -s conftest.$ac_objext'
29351.63Sapb  { (eval echo "$as_me:2935: \"$ac_try\"") >&5
29361.38Sfredb  (eval $ac_try) 2>&5
29371.38Sfredb  ac_status=$?
29381.63Sapb  echo "$as_me:2938: \$? = $ac_status" >&5
29391.38Sfredb  (exit $ac_status); }; }; then
29401.38Sfredb  ac_cv_type_u_long=yes
29411.38Sfredbelse
29421.38Sfredb  echo "$as_me: failed program was:" >&5
29431.63Sapbcat conftest.$ac_ext >&5
29441.38Sfredbac_cv_type_u_long=no
29451.38Sfredbfi
29461.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
29471.38Sfredbfi
29481.63Sapbecho "$as_me:2948: result: $ac_cv_type_u_long" >&5
29491.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
29501.38Sfredbif test $ac_cv_type_u_long = yes; then
29511.38Sfredb
29521.63Sapbcat >>confdefs.h <<EOF
29531.38Sfredb#define HAVE_U_LONG 1
29541.63SapbEOF
29551.39Sfredb
29561.38Sfredbfi
29571.63Sapbecho "$as_me:2957: checking for u_char" >&5
29581.45Sjmcecho $ECHO_N "checking for u_char... $ECHO_C" >&6
29591.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then
29601.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
29611.45Sjmcelse
29621.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
29631.63Sapb#line 2963 "configure"
29641.63Sapb#include "confdefs.h"
29651.45Sjmc$ac_includes_default
29661.45Sjmcint
29671.45Sjmcmain ()
29681.45Sjmc{
29691.45Sjmcif ((u_char *) 0)
29701.45Sjmc  return 0;
29711.45Sjmcif (sizeof (u_char))
29721.45Sjmc  return 0;
29731.45Sjmc  ;
29741.45Sjmc  return 0;
29751.45Sjmc}
29761.45Sjmc_ACEOF
29771.45Sjmcrm -f conftest.$ac_objext
29781.63Sapbif { (eval echo "$as_me:2978: \"$ac_compile\"") >&5
29791.63Sapb  (eval $ac_compile) 2>&5
29801.45Sjmc  ac_status=$?
29811.63Sapb  echo "$as_me:2981: \$? = $ac_status" >&5
29821.45Sjmc  (exit $ac_status); } &&
29831.63Sapb         { ac_try='test -s conftest.$ac_objext'
29841.63Sapb  { (eval echo "$as_me:2984: \"$ac_try\"") >&5
29851.61Schristos  (eval $ac_try) 2>&5
29861.61Schristos  ac_status=$?
29871.63Sapb  echo "$as_me:2987: \$? = $ac_status" >&5
29881.45Sjmc  (exit $ac_status); }; }; then
29891.45Sjmc  ac_cv_type_u_char=yes
29901.45Sjmcelse
29911.45Sjmc  echo "$as_me: failed program was:" >&5
29921.63Sapbcat conftest.$ac_ext >&5
29931.45Sjmcac_cv_type_u_char=no
29941.45Sjmcfi
29951.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
29961.45Sjmcfi
29971.63Sapbecho "$as_me:2997: result: $ac_cv_type_u_char" >&5
29981.45Sjmcecho "${ECHO_T}$ac_cv_type_u_char" >&6
29991.45Sjmcif test $ac_cv_type_u_char = yes; then
30001.45Sjmc
30011.63Sapbcat >>confdefs.h <<EOF
30021.45Sjmc#define HAVE_U_CHAR 1
30031.63SapbEOF
30041.45Sjmc
30051.45Sjmcfi
30061.63Sapbecho "$as_me:3006: checking for u_short" >&5
30071.45Sjmcecho $ECHO_N "checking for u_short... $ECHO_C" >&6
30081.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then
30091.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30101.45Sjmcelse
30111.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30121.63Sapb#line 3012 "configure"
30131.63Sapb#include "confdefs.h"
30141.45Sjmc$ac_includes_default
30151.45Sjmcint
30161.45Sjmcmain ()
30171.45Sjmc{
30181.45Sjmcif ((u_short *) 0)
30191.45Sjmc  return 0;
30201.45Sjmcif (sizeof (u_short))
30211.45Sjmc  return 0;
30221.45Sjmc  ;
30231.45Sjmc  return 0;
30241.45Sjmc}
30251.45Sjmc_ACEOF
30261.45Sjmcrm -f conftest.$ac_objext
30271.63Sapbif { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
30281.63Sapb  (eval $ac_compile) 2>&5
30291.45Sjmc  ac_status=$?
30301.63Sapb  echo "$as_me:3030: \$? = $ac_status" >&5
30311.45Sjmc  (exit $ac_status); } &&
30321.63Sapb         { ac_try='test -s conftest.$ac_objext'
30331.63Sapb  { (eval echo "$as_me:3033: \"$ac_try\"") >&5
30341.61Schristos  (eval $ac_try) 2>&5
30351.61Schristos  ac_status=$?
30361.63Sapb  echo "$as_me:3036: \$? = $ac_status" >&5
30371.45Sjmc  (exit $ac_status); }; }; then
30381.45Sjmc  ac_cv_type_u_short=yes
30391.45Sjmcelse
30401.45Sjmc  echo "$as_me: failed program was:" >&5
30411.63Sapbcat conftest.$ac_ext >&5
30421.45Sjmcac_cv_type_u_short=no
30431.45Sjmcfi
30441.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
30451.45Sjmcfi
30461.63Sapbecho "$as_me:3046: result: $ac_cv_type_u_short" >&5
30471.45Sjmcecho "${ECHO_T}$ac_cv_type_u_short" >&6
30481.45Sjmcif test $ac_cv_type_u_short = yes; then
30491.45Sjmc
30501.63Sapbcat >>confdefs.h <<EOF
30511.45Sjmc#define HAVE_U_SHORT 1
30521.63SapbEOF
30531.45Sjmc
30541.45Sjmcfi
30551.63Sapbecho "$as_me:3055: checking for u_int" >&5
30561.45Sjmcecho $ECHO_N "checking for u_int... $ECHO_C" >&6
30571.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then
30581.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30591.45Sjmcelse
30601.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30611.63Sapb#line 3061 "configure"
30621.63Sapb#include "confdefs.h"
30631.45Sjmc$ac_includes_default
30641.45Sjmcint
30651.45Sjmcmain ()
30661.45Sjmc{
30671.45Sjmcif ((u_int *) 0)
30681.45Sjmc  return 0;
30691.45Sjmcif (sizeof (u_int))
30701.45Sjmc  return 0;
30711.45Sjmc  ;
30721.45Sjmc  return 0;
30731.45Sjmc}
30741.45Sjmc_ACEOF
30751.45Sjmcrm -f conftest.$ac_objext
30761.63Sapbif { (eval echo "$as_me:3076: \"$ac_compile\"") >&5
30771.63Sapb  (eval $ac_compile) 2>&5
30781.45Sjmc  ac_status=$?
30791.63Sapb  echo "$as_me:3079: \$? = $ac_status" >&5
30801.45Sjmc  (exit $ac_status); } &&
30811.63Sapb         { ac_try='test -s conftest.$ac_objext'
30821.63Sapb  { (eval echo "$as_me:3082: \"$ac_try\"") >&5
30831.61Schristos  (eval $ac_try) 2>&5
30841.61Schristos  ac_status=$?
30851.63Sapb  echo "$as_me:3085: \$? = $ac_status" >&5
30861.45Sjmc  (exit $ac_status); }; }; then
30871.45Sjmc  ac_cv_type_u_int=yes
30881.45Sjmcelse
30891.45Sjmc  echo "$as_me: failed program was:" >&5
30901.63Sapbcat conftest.$ac_ext >&5
30911.45Sjmcac_cv_type_u_int=no
30921.45Sjmcfi
30931.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
30941.45Sjmcfi
30951.63Sapbecho "$as_me:3095: result: $ac_cv_type_u_int" >&5
30961.45Sjmcecho "${ECHO_T}$ac_cv_type_u_int" >&6
30971.45Sjmcif test $ac_cv_type_u_int = yes; then
30981.45Sjmc
30991.63Sapbcat >>confdefs.h <<EOF
31001.45Sjmc#define HAVE_U_INT 1
31011.63SapbEOF
31021.45Sjmc
31031.45Sjmcfi
31041.63Sapbecho "$as_me:3104: checking for u_quad_t" >&5
31051.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
31061.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
31071.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31081.7Stvelse
31091.7Stv  cat >conftest.$ac_ext <<_ACEOF
31101.63Sapb#line 3110 "configure"
31111.63Sapb#include "confdefs.h"
31121.7Stv$ac_includes_default
31131.7Stvint
31141.7Stvmain ()
31151.7Stv{
31161.7Stvif ((u_quad_t *) 0)
31171.7Stv  return 0;
31181.7Stvif (sizeof (u_quad_t))
31191.7Stv  return 0;
31201.7Stv  ;
31211.7Stv  return 0;
31221.7Stv}
31231.7Stv_ACEOF
31241.7Stvrm -f conftest.$ac_objext
31251.63Sapbif { (eval echo "$as_me:3125: \"$ac_compile\"") >&5
31261.63Sapb  (eval $ac_compile) 2>&5
31271.7Stv  ac_status=$?
31281.63Sapb  echo "$as_me:3128: \$? = $ac_status" >&5
31291.7Stv  (exit $ac_status); } &&
31301.63Sapb         { ac_try='test -s conftest.$ac_objext'
31311.63Sapb  { (eval echo "$as_me:3131: \"$ac_try\"") >&5
31321.48Sjmc  (eval $ac_try) 2>&5
31331.48Sjmc  ac_status=$?
31341.63Sapb  echo "$as_me:3134: \$? = $ac_status" >&5
31351.7Stv  (exit $ac_status); }; }; then
31361.7Stv  ac_cv_type_u_quad_t=yes
31371.7Stvelse
31381.7Stv  echo "$as_me: failed program was:" >&5
31391.63Sapbcat conftest.$ac_ext >&5
31401.7Stvac_cv_type_u_quad_t=no
31411.7Stvfi
31421.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
31431.7Stvfi
31441.63Sapbecho "$as_me:3144: result: $ac_cv_type_u_quad_t" >&5
31451.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
31461.7Stvif test $ac_cv_type_u_quad_t = yes; then
31471.7Stv
31481.63Sapbcat >>confdefs.h <<EOF
31491.7Stv#define HAVE_U_QUAD_T 1
31501.63SapbEOF
31511.7Stv
31521.7Stvfi
31531.35Sthorpej
31541.63Sapbecho "$as_me:3154: checking for socklen_t" >&5
31551.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
31561.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
31571.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
31581.34Sthorpejelse
31591.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
31601.63Sapb#line 3160 "configure"
31611.63Sapb#include "confdefs.h"
31621.35Sthorpej#include <sys/types.h>
31631.35Sthorpej#include <sys/socket.h>
31641.35Sthorpej
31651.34Sthorpejint
31661.34Sthorpejmain ()
31671.34Sthorpej{
31681.34Sthorpejif ((socklen_t *) 0)
31691.34Sthorpej  return 0;
31701.34Sthorpejif (sizeof (socklen_t))
31711.34Sthorpej  return 0;
31721.34Sthorpej  ;
31731.34Sthorpej  return 0;
31741.34Sthorpej}
31751.34Sthorpej_ACEOF
31761.34Sthorpejrm -f conftest.$ac_objext
31771.63Sapbif { (eval echo "$as_me:3177: \"$ac_compile\"") >&5
31781.63Sapb  (eval $ac_compile) 2>&5
31791.34Sthorpej  ac_status=$?
31801.63Sapb  echo "$as_me:3180: \$? = $ac_status" >&5
31811.34Sthorpej  (exit $ac_status); } &&
31821.63Sapb         { ac_try='test -s conftest.$ac_objext'
31831.63Sapb  { (eval echo "$as_me:3183: \"$ac_try\"") >&5
31841.61Schristos  (eval $ac_try) 2>&5
31851.61Schristos  ac_status=$?
31861.63Sapb  echo "$as_me:3186: \$? = $ac_status" >&5
31871.34Sthorpej  (exit $ac_status); }; }; then
31881.34Sthorpej  ac_cv_type_socklen_t=yes
31891.34Sthorpejelse
31901.34Sthorpej  echo "$as_me: failed program was:" >&5
31911.63Sapbcat conftest.$ac_ext >&5
31921.34Sthorpejac_cv_type_socklen_t=no
31931.34Sthorpejfi
31941.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
31951.34Sthorpejfi
31961.63Sapbecho "$as_me:3196: result: $ac_cv_type_socklen_t" >&5
31971.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
31981.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
31991.54Swiz
32001.63Sapbcat >>confdefs.h <<\EOF
32011.34Sthorpej#define HAVE_SOCKLEN_T 1
32021.63SapbEOF
32031.34Sthorpej
32041.34Sthorpejfi
32051.34Sthorpej
32061.63Sapb	echo "$as_me:3206: checking for uint8_t" >&5
32071.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32081.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
32091.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32101.6Stvelse
32111.6Stv  cat >conftest.$ac_ext <<_ACEOF
32121.63Sapb#line 3212 "configure"
32131.63Sapb#include "confdefs.h"
32141.6Stv$ac_includes_default
32151.6Stvint
32161.6Stvmain ()
32171.6Stv{
32181.9Stvif ((uint8_t *) 0)
32191.6Stv  return 0;
32201.9Stvif (sizeof (uint8_t))
32211.6Stv  return 0;
32221.6Stv  ;
32231.6Stv  return 0;
32241.6Stv}
32251.6Stv_ACEOF
32261.6Stvrm -f conftest.$ac_objext
32271.63Sapbif { (eval echo "$as_me:3227: \"$ac_compile\"") >&5
32281.63Sapb  (eval $ac_compile) 2>&5
32291.6Stv  ac_status=$?
32301.63Sapb  echo "$as_me:3230: \$? = $ac_status" >&5
32311.6Stv  (exit $ac_status); } &&
32321.63Sapb         { ac_try='test -s conftest.$ac_objext'
32331.63Sapb  { (eval echo "$as_me:3233: \"$ac_try\"") >&5
32341.61Schristos  (eval $ac_try) 2>&5
32351.61Schristos  ac_status=$?
32361.63Sapb  echo "$as_me:3236: \$? = $ac_status" >&5
32371.6Stv  (exit $ac_status); }; }; then
32381.9Stv  ac_cv_type_uint8_t=yes
32391.9Stvelse
32401.9Stv  echo "$as_me: failed program was:" >&5
32411.63Sapbcat conftest.$ac_ext >&5
32421.9Stvac_cv_type_uint8_t=no
32431.9Stvfi
32441.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
32451.9Stvfi
32461.63Sapbecho "$as_me:3246: result: $ac_cv_type_uint8_t" >&5
32471.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32481.9Stvif test $ac_cv_type_uint8_t = yes; then
32491.9Stv  :
32501.9Stvelse
32511.9Stv
32521.63Sapb		echo "$as_me:3252: checking for u_int8_t" >&5
32531.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32541.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
32551.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32561.9Stvelse
32571.9Stv  cat >conftest.$ac_ext <<_ACEOF
32581.63Sapb#line 3258 "configure"
32591.63Sapb#include "confdefs.h"
32601.9Stv$ac_includes_default
32611.9Stvint
32621.9Stvmain ()
32631.9Stv{
32641.9Stvif ((u_int8_t *) 0)
32651.9Stv  return 0;
32661.9Stvif (sizeof (u_int8_t))
32671.9Stv  return 0;
32681.9Stv  ;
32691.9Stv  return 0;
32701.9Stv}
32711.9Stv_ACEOF
32721.9Stvrm -f conftest.$ac_objext
32731.63Sapbif { (eval echo "$as_me:3273: \"$ac_compile\"") >&5
32741.63Sapb  (eval $ac_compile) 2>&5
32751.9Stv  ac_status=$?
32761.63Sapb  echo "$as_me:3276: \$? = $ac_status" >&5
32771.9Stv  (exit $ac_status); } &&
32781.63Sapb         { ac_try='test -s conftest.$ac_objext'
32791.63Sapb  { (eval echo "$as_me:3279: \"$ac_try\"") >&5
32801.48Sjmc  (eval $ac_try) 2>&5
32811.48Sjmc  ac_status=$?
32821.63Sapb  echo "$as_me:3282: \$? = $ac_status" >&5
32831.9Stv  (exit $ac_status); }; }; then
32841.6Stv  ac_cv_type_u_int8_t=yes
32851.6Stvelse
32861.6Stv  echo "$as_me: failed program was:" >&5
32871.63Sapbcat conftest.$ac_ext >&5
32881.6Stvac_cv_type_u_int8_t=no
32891.6Stvfi
32901.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
32911.6Stvfi
32921.63Sapbecho "$as_me:3292: result: $ac_cv_type_u_int8_t" >&5
32931.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32941.9Stvif test $ac_cv_type_u_int8_t = yes; then
32951.54Swiz
32961.63Sapbcat >>confdefs.h <<\EOF
32971.9Stv#define uint8_t u_int8_t
32981.63SapbEOF
32991.9Stv
33001.9Stvelse
33011.63Sapb  { { echo "$as_me:3301: error: cannot find a suitable type for uint8_t" >&5
33021.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
33031.9Stv   { (exit 1); exit 1; }; }
33041.9Stvfi
33051.9Stv
33061.9Stvfi
33071.9Stv
33081.63Sapb	echo "$as_me:3308: checking for u_int8_t" >&5
33091.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
33101.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
33111.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33121.9Stvelse
33131.9Stv  cat >conftest.$ac_ext <<_ACEOF
33141.63Sapb#line 3314 "configure"
33151.63Sapb#include "confdefs.h"
33161.9Stv$ac_includes_default
33171.9Stvint
33181.9Stvmain ()
33191.9Stv{
33201.9Stvif ((u_int8_t *) 0)
33211.9Stv  return 0;
33221.9Stvif (sizeof (u_int8_t))
33231.9Stv  return 0;
33241.9Stv  ;
33251.9Stv  return 0;
33261.9Stv}
33271.9Stv_ACEOF
33281.9Stvrm -f conftest.$ac_objext
33291.63Sapbif { (eval echo "$as_me:3329: \"$ac_compile\"") >&5
33301.63Sapb  (eval $ac_compile) 2>&5
33311.9Stv  ac_status=$?
33321.63Sapb  echo "$as_me:3332: \$? = $ac_status" >&5
33331.9Stv  (exit $ac_status); } &&
33341.63Sapb         { ac_try='test -s conftest.$ac_objext'
33351.63Sapb  { (eval echo "$as_me:3335: \"$ac_try\"") >&5
33361.61Schristos  (eval $ac_try) 2>&5
33371.61Schristos  ac_status=$?
33381.63Sapb  echo "$as_me:3338: \$? = $ac_status" >&5
33391.9Stv  (exit $ac_status); }; }; then
33401.9Stv  ac_cv_type_u_int8_t=yes
33411.9Stvelse
33421.9Stv  echo "$as_me: failed program was:" >&5
33431.63Sapbcat conftest.$ac_ext >&5
33441.9Stvac_cv_type_u_int8_t=no
33451.9Stvfi
33461.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
33471.9Stvfi
33481.63Sapbecho "$as_me:3348: result: $ac_cv_type_u_int8_t" >&5
33491.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
33501.6Stvif test $ac_cv_type_u_int8_t = yes; then
33511.6Stv  :
33521.6Stvelse
33531.6Stv
33541.63Sapb		echo "$as_me:3354: checking for uint8_t" >&5
33551.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
33561.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
33571.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33581.6Stvelse
33591.6Stv  cat >conftest.$ac_ext <<_ACEOF
33601.63Sapb#line 3360 "configure"
33611.63Sapb#include "confdefs.h"
33621.6Stv$ac_includes_default
33631.6Stvint
33641.6Stvmain ()
33651.6Stv{
33661.6Stvif ((uint8_t *) 0)
33671.6Stv  return 0;
33681.6Stvif (sizeof (uint8_t))
33691.6Stv  return 0;
33701.6Stv  ;
33711.6Stv  return 0;
33721.6Stv}
33731.6Stv_ACEOF
33741.6Stvrm -f conftest.$ac_objext
33751.63Sapbif { (eval echo "$as_me:3375: \"$ac_compile\"") >&5
33761.63Sapb  (eval $ac_compile) 2>&5
33771.6Stv  ac_status=$?
33781.63Sapb  echo "$as_me:3378: \$? = $ac_status" >&5
33791.6Stv  (exit $ac_status); } &&
33801.63Sapb         { ac_try='test -s conftest.$ac_objext'
33811.63Sapb  { (eval echo "$as_me:3381: \"$ac_try\"") >&5
33821.48Sjmc  (eval $ac_try) 2>&5
33831.48Sjmc  ac_status=$?
33841.63Sapb  echo "$as_me:3384: \$? = $ac_status" >&5
33851.6Stv  (exit $ac_status); }; }; then
33861.6Stv  ac_cv_type_uint8_t=yes
33871.4Stvelse
33881.4Stv  echo "$as_me: failed program was:" >&5
33891.63Sapbcat conftest.$ac_ext >&5
33901.6Stvac_cv_type_uint8_t=no
33911.4Stvfi
33921.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
33931.4Stvfi
33941.63Sapbecho "$as_me:3394: result: $ac_cv_type_uint8_t" >&5
33951.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
33961.6Stvif test $ac_cv_type_uint8_t = yes; then
33971.54Swiz
33981.63Sapbcat >>confdefs.h <<\EOF
33991.6Stv#define u_int8_t uint8_t
34001.63SapbEOF
34011.4Stv
34021.6Stvelse
34031.63Sapb  { { echo "$as_me:3403: error: cannot find a suitable type for u_int8_t" >&5
34041.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
34051.6Stv   { (exit 1); exit 1; }; }
34061.6Stvfi
34071.6Stv
34081.4Stvfi
34091.4Stv
34101.63Sapb	echo "$as_me:3410: checking for uint16_t" >&5
34111.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
34121.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
34131.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34141.9Stvelse
34151.9Stv  cat >conftest.$ac_ext <<_ACEOF
34161.63Sapb#line 3416 "configure"
34171.63Sapb#include "confdefs.h"
34181.9Stv$ac_includes_default
34191.9Stvint
34201.9Stvmain ()
34211.9Stv{
34221.9Stvif ((uint16_t *) 0)
34231.9Stv  return 0;
34241.9Stvif (sizeof (uint16_t))
34251.9Stv  return 0;
34261.9Stv  ;
34271.9Stv  return 0;
34281.9Stv}
34291.9Stv_ACEOF
34301.9Stvrm -f conftest.$ac_objext
34311.63Sapbif { (eval echo "$as_me:3431: \"$ac_compile\"") >&5
34321.63Sapb  (eval $ac_compile) 2>&5
34331.9Stv  ac_status=$?
34341.63Sapb  echo "$as_me:3434: \$? = $ac_status" >&5
34351.9Stv  (exit $ac_status); } &&
34361.63Sapb         { ac_try='test -s conftest.$ac_objext'
34371.63Sapb  { (eval echo "$as_me:3437: \"$ac_try\"") >&5
34381.50Sjmc  (eval $ac_try) 2>&5
34391.50Sjmc  ac_status=$?
34401.63Sapb  echo "$as_me:3440: \$? = $ac_status" >&5
34411.9Stv  (exit $ac_status); }; }; then
34421.9Stv  ac_cv_type_uint16_t=yes
34431.9Stvelse
34441.9Stv  echo "$as_me: failed program was:" >&5
34451.63Sapbcat conftest.$ac_ext >&5
34461.9Stvac_cv_type_uint16_t=no
34471.9Stvfi
34481.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
34491.9Stvfi
34501.63Sapbecho "$as_me:3450: result: $ac_cv_type_uint16_t" >&5
34511.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34521.9Stvif test $ac_cv_type_uint16_t = yes; then
34531.9Stv  :
34541.9Stvelse
34551.9Stv
34561.63Sapb		echo "$as_me:3456: checking for u_int16_t" >&5
34571.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
34581.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
34591.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34601.9Stvelse
34611.9Stv  cat >conftest.$ac_ext <<_ACEOF
34621.63Sapb#line 3462 "configure"
34631.63Sapb#include "confdefs.h"
34641.9Stv$ac_includes_default
34651.9Stvint
34661.9Stvmain ()
34671.9Stv{
34681.9Stvif ((u_int16_t *) 0)
34691.9Stv  return 0;
34701.9Stvif (sizeof (u_int16_t))
34711.9Stv  return 0;
34721.9Stv  ;
34731.9Stv  return 0;
34741.9Stv}
34751.9Stv_ACEOF
34761.9Stvrm -f conftest.$ac_objext
34771.63Sapbif { (eval echo "$as_me:3477: \"$ac_compile\"") >&5
34781.63Sapb  (eval $ac_compile) 2>&5
34791.9Stv  ac_status=$?
34801.63Sapb  echo "$as_me:3480: \$? = $ac_status" >&5
34811.9Stv  (exit $ac_status); } &&
34821.63Sapb         { ac_try='test -s conftest.$ac_objext'
34831.63Sapb  { (eval echo "$as_me:3483: \"$ac_try\"") >&5
34841.61Schristos  (eval $ac_try) 2>&5
34851.61Schristos  ac_status=$?
34861.63Sapb  echo "$as_me:3486: \$? = $ac_status" >&5
34871.9Stv  (exit $ac_status); }; }; then
34881.9Stv  ac_cv_type_u_int16_t=yes
34891.9Stvelse
34901.9Stv  echo "$as_me: failed program was:" >&5
34911.63Sapbcat conftest.$ac_ext >&5
34921.9Stvac_cv_type_u_int16_t=no
34931.9Stvfi
34941.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
34951.9Stvfi
34961.63Sapbecho "$as_me:3496: result: $ac_cv_type_u_int16_t" >&5
34971.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
34981.9Stvif test $ac_cv_type_u_int16_t = yes; then
34991.54Swiz
35001.63Sapbcat >>confdefs.h <<\EOF
35011.9Stv#define uint16_t u_int16_t
35021.63SapbEOF
35031.9Stv
35041.9Stvelse
35051.63Sapb  { { echo "$as_me:3505: error: cannot find a suitable type for uint16_t" >&5
35061.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
35071.9Stv   { (exit 1); exit 1; }; }
35081.9Stvfi
35091.9Stv
35101.9Stvfi
35111.9Stv
35121.63Sapb	echo "$as_me:3512: checking for u_int16_t" >&5
35131.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
35141.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
35151.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35161.1Stvelse
35171.1Stv  cat >conftest.$ac_ext <<_ACEOF
35181.63Sapb#line 3518 "configure"
35191.63Sapb#include "confdefs.h"
35201.6Stv$ac_includes_default
35211.6Stvint
35221.6Stvmain ()
35231.6Stv{
35241.6Stvif ((u_int16_t *) 0)
35251.6Stv  return 0;
35261.6Stvif (sizeof (u_int16_t))
35271.6Stv  return 0;
35281.6Stv  ;
35291.6Stv  return 0;
35301.6Stv}
35311.1Stv_ACEOF
35321.6Stvrm -f conftest.$ac_objext
35331.63Sapbif { (eval echo "$as_me:3533: \"$ac_compile\"") >&5
35341.63Sapb  (eval $ac_compile) 2>&5
35351.6Stv  ac_status=$?
35361.63Sapb  echo "$as_me:3536: \$? = $ac_status" >&5
35371.6Stv  (exit $ac_status); } &&
35381.63Sapb         { ac_try='test -s conftest.$ac_objext'
35391.63Sapb  { (eval echo "$as_me:3539: \"$ac_try\"") >&5
35401.50Sjmc  (eval $ac_try) 2>&5
35411.50Sjmc  ac_status=$?
35421.63Sapb  echo "$as_me:3542: \$? = $ac_status" >&5
35431.6Stv  (exit $ac_status); }; }; then
35441.6Stv  ac_cv_type_u_int16_t=yes
35451.1Stvelse
35461.6Stv  echo "$as_me: failed program was:" >&5
35471.63Sapbcat conftest.$ac_ext >&5
35481.6Stvac_cv_type_u_int16_t=no
35491.6Stvfi
35501.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
35511.1Stvfi
35521.63Sapbecho "$as_me:3552: result: $ac_cv_type_u_int16_t" >&5
35531.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35541.6Stvif test $ac_cv_type_u_int16_t = yes; then
35551.6Stv  :
35561.1Stvelse
35571.1Stv
35581.63Sapb		echo "$as_me:3558: checking for uint16_t" >&5
35591.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
35601.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
35611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35621.6Stvelse
35631.1Stv  cat >conftest.$ac_ext <<_ACEOF
35641.63Sapb#line 3564 "configure"
35651.63Sapb#include "confdefs.h"
35661.6Stv$ac_includes_default
35671.6Stvint
35681.6Stvmain ()
35691.6Stv{
35701.6Stvif ((uint16_t *) 0)
35711.6Stv  return 0;
35721.6Stvif (sizeof (uint16_t))
35731.6Stv  return 0;
35741.6Stv  ;
35751.6Stv  return 0;
35761.6Stv}
35771.1Stv_ACEOF
35781.6Stvrm -f conftest.$ac_objext
35791.63Sapbif { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
35801.63Sapb  (eval $ac_compile) 2>&5
35811.6Stv  ac_status=$?
35821.63Sapb  echo "$as_me:3582: \$? = $ac_status" >&5
35831.6Stv  (exit $ac_status); } &&
35841.63Sapb         { ac_try='test -s conftest.$ac_objext'
35851.63Sapb  { (eval echo "$as_me:3585: \"$ac_try\"") >&5
35861.61Schristos  (eval $ac_try) 2>&5
35871.61Schristos  ac_status=$?
35881.63Sapb  echo "$as_me:3588: \$? = $ac_status" >&5
35891.6Stv  (exit $ac_status); }; }; then
35901.6Stv  ac_cv_type_uint16_t=yes
35911.1Stvelse
35921.6Stv  echo "$as_me: failed program was:" >&5
35931.63Sapbcat conftest.$ac_ext >&5
35941.6Stvac_cv_type_uint16_t=no
35951.1Stvfi
35961.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
35971.1Stvfi
35981.63Sapbecho "$as_me:3598: result: $ac_cv_type_uint16_t" >&5
35991.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
36001.6Stvif test $ac_cv_type_uint16_t = yes; then
36011.54Swiz
36021.63Sapbcat >>confdefs.h <<\EOF
36031.6Stv#define u_int16_t uint16_t
36041.63SapbEOF
36051.1Stv
36061.1Stvelse
36071.63Sapb  { { echo "$as_me:3607: error: cannot find a suitable type for u_int16_t" >&5
36081.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
36091.6Stv   { (exit 1); exit 1; }; }
36101.1Stvfi
36111.1Stv
36121.1Stvfi
36131.1Stv
36141.63Sapb	echo "$as_me:3614: checking for uint32_t" >&5
36151.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
36161.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
36171.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36181.9Stvelse
36191.9Stv  cat >conftest.$ac_ext <<_ACEOF
36201.63Sapb#line 3620 "configure"
36211.63Sapb#include "confdefs.h"
36221.9Stv$ac_includes_default
36231.9Stvint
36241.9Stvmain ()
36251.9Stv{
36261.9Stvif ((uint32_t *) 0)
36271.9Stv  return 0;
36281.9Stvif (sizeof (uint32_t))
36291.9Stv  return 0;
36301.9Stv  ;
36311.9Stv  return 0;
36321.9Stv}
36331.9Stv_ACEOF
36341.9Stvrm -f conftest.$ac_objext
36351.63Sapbif { (eval echo "$as_me:3635: \"$ac_compile\"") >&5
36361.63Sapb  (eval $ac_compile) 2>&5
36371.9Stv  ac_status=$?
36381.63Sapb  echo "$as_me:3638: \$? = $ac_status" >&5
36391.9Stv  (exit $ac_status); } &&
36401.63Sapb         { ac_try='test -s conftest.$ac_objext'
36411.63Sapb  { (eval echo "$as_me:3641: \"$ac_try\"") >&5
36421.61Schristos  (eval $ac_try) 2>&5
36431.61Schristos  ac_status=$?
36441.63Sapb  echo "$as_me:3644: \$? = $ac_status" >&5
36451.9Stv  (exit $ac_status); }; }; then
36461.9Stv  ac_cv_type_uint32_t=yes
36471.9Stvelse
36481.9Stv  echo "$as_me: failed program was:" >&5
36491.63Sapbcat conftest.$ac_ext >&5
36501.9Stvac_cv_type_uint32_t=no
36511.9Stvfi
36521.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
36531.9Stvfi
36541.63Sapbecho "$as_me:3654: result: $ac_cv_type_uint32_t" >&5
36551.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36561.9Stvif test $ac_cv_type_uint32_t = yes; then
36571.9Stv  :
36581.9Stvelse
36591.9Stv
36601.63Sapb		echo "$as_me:3660: checking for u_int32_t" >&5
36611.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
36621.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
36631.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36641.1Stvelse
36651.1Stv  cat >conftest.$ac_ext <<_ACEOF
36661.63Sapb#line 3666 "configure"
36671.63Sapb#include "confdefs.h"
36681.9Stv$ac_includes_default
36691.9Stvint
36701.9Stvmain ()
36711.9Stv{
36721.9Stvif ((u_int32_t *) 0)
36731.9Stv  return 0;
36741.9Stvif (sizeof (u_int32_t))
36751.9Stv  return 0;
36761.9Stv  ;
36771.9Stv  return 0;
36781.9Stv}
36791.9Stv_ACEOF
36801.9Stvrm -f conftest.$ac_objext
36811.63Sapbif { (eval echo "$as_me:3681: \"$ac_compile\"") >&5
36821.63Sapb  (eval $ac_compile) 2>&5
36831.9Stv  ac_status=$?
36841.63Sapb  echo "$as_me:3684: \$? = $ac_status" >&5
36851.9Stv  (exit $ac_status); } &&
36861.63Sapb         { ac_try='test -s conftest.$ac_objext'
36871.63Sapb  { (eval echo "$as_me:3687: \"$ac_try\"") >&5
36881.53Sdogcow  (eval $ac_try) 2>&5
36891.53Sdogcow  ac_status=$?
36901.63Sapb  echo "$as_me:3690: \$? = $ac_status" >&5
36911.9Stv  (exit $ac_status); }; }; then
36921.9Stv  ac_cv_type_u_int32_t=yes
36931.9Stvelse
36941.9Stv  echo "$as_me: failed program was:" >&5
36951.63Sapbcat conftest.$ac_ext >&5
36961.9Stvac_cv_type_u_int32_t=no
36971.9Stvfi
36981.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
36991.9Stvfi
37001.63Sapbecho "$as_me:3700: result: $ac_cv_type_u_int32_t" >&5
37011.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37021.9Stvif test $ac_cv_type_u_int32_t = yes; then
37031.54Swiz
37041.63Sapbcat >>confdefs.h <<\EOF
37051.9Stv#define uint32_t u_int32_t
37061.63SapbEOF
37071.9Stv
37081.9Stvelse
37091.63Sapb  { { echo "$as_me:3709: error: cannot find a suitable type for uint32_t" >&5
37101.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
37111.9Stv   { (exit 1); exit 1; }; }
37121.9Stvfi
37131.9Stv
37141.9Stvfi
37151.9Stv
37161.63Sapb	echo "$as_me:3716: checking for u_int32_t" >&5
37171.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
37181.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
37191.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37201.9Stvelse
37211.9Stv  cat >conftest.$ac_ext <<_ACEOF
37221.63Sapb#line 3722 "configure"
37231.63Sapb#include "confdefs.h"
37241.6Stv$ac_includes_default
37251.1Stvint
37261.1Stvmain ()
37271.1Stv{
37281.6Stvif ((u_int32_t *) 0)
37291.6Stv  return 0;
37301.6Stvif (sizeof (u_int32_t))
37311.6Stv  return 0;
37321.6Stv  ;
37331.6Stv  return 0;
37341.1Stv}
37351.1Stv_ACEOF
37361.6Stvrm -f conftest.$ac_objext
37371.63Sapbif { (eval echo "$as_me:3737: \"$ac_compile\"") >&5
37381.63Sapb  (eval $ac_compile) 2>&5
37391.1Stv  ac_status=$?
37401.63Sapb  echo "$as_me:3740: \$? = $ac_status" >&5
37411.6Stv  (exit $ac_status); } &&
37421.63Sapb         { ac_try='test -s conftest.$ac_objext'
37431.63Sapb  { (eval echo "$as_me:3743: \"$ac_try\"") >&5
37441.53Sdogcow  (eval $ac_try) 2>&5
37451.53Sdogcow  ac_status=$?
37461.63Sapb  echo "$as_me:3746: \$? = $ac_status" >&5
37471.1Stv  (exit $ac_status); }; }; then
37481.6Stv  ac_cv_type_u_int32_t=yes
37491.1Stvelse
37501.6Stv  echo "$as_me: failed program was:" >&5
37511.63Sapbcat conftest.$ac_ext >&5
37521.6Stvac_cv_type_u_int32_t=no
37531.1Stvfi
37541.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
37551.1Stvfi
37561.63Sapbecho "$as_me:3756: result: $ac_cv_type_u_int32_t" >&5
37571.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37581.6Stvif test $ac_cv_type_u_int32_t = yes; then
37591.6Stv  :
37601.6Stvelse
37611.1Stv
37621.63Sapb		echo "$as_me:3762: checking for uint32_t" >&5
37631.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
37641.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
37651.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37661.1Stvelse
37671.1Stv  cat >conftest.$ac_ext <<_ACEOF
37681.63Sapb#line 3768 "configure"
37691.63Sapb#include "confdefs.h"
37701.1Stv$ac_includes_default
37711.6Stvint
37721.6Stvmain ()
37731.6Stv{
37741.6Stvif ((uint32_t *) 0)
37751.6Stv  return 0;
37761.6Stvif (sizeof (uint32_t))
37771.6Stv  return 0;
37781.6Stv  ;
37791.6Stv  return 0;
37801.6Stv}
37811.1Stv_ACEOF
37821.1Stvrm -f conftest.$ac_objext
37831.63Sapbif { (eval echo "$as_me:3783: \"$ac_compile\"") >&5
37841.63Sapb  (eval $ac_compile) 2>&5
37851.1Stv  ac_status=$?
37861.63Sapb  echo "$as_me:3786: \$? = $ac_status" >&5
37871.1Stv  (exit $ac_status); } &&
37881.63Sapb         { ac_try='test -s conftest.$ac_objext'
37891.63Sapb  { (eval echo "$as_me:3789: \"$ac_try\"") >&5
37901.48Sjmc  (eval $ac_try) 2>&5
37911.48Sjmc  ac_status=$?
37921.63Sapb  echo "$as_me:3792: \$? = $ac_status" >&5
37931.1Stv  (exit $ac_status); }; }; then
37941.6Stv  ac_cv_type_uint32_t=yes
37951.1Stvelse
37961.1Stv  echo "$as_me: failed program was:" >&5
37971.63Sapbcat conftest.$ac_ext >&5
37981.6Stvac_cv_type_uint32_t=no
37991.1Stvfi
38001.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
38011.1Stvfi
38021.63Sapbecho "$as_me:3802: result: $ac_cv_type_uint32_t" >&5
38031.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
38041.6Stvif test $ac_cv_type_uint32_t = yes; then
38051.54Swiz
38061.63Sapbcat >>confdefs.h <<\EOF
38071.6Stv#define u_int32_t uint32_t
38081.63SapbEOF
38091.1Stv
38101.6Stvelse
38111.63Sapb  { { echo "$as_me:3811: error: cannot find a suitable type for u_int32_t" >&5
38121.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
38131.6Stv   { (exit 1); exit 1; }; }
38141.6Stvfi
38151.6Stv
38161.1Stvfi
38171.1Stv
38181.63Sapb	echo "$as_me:3818: checking for uint64_t" >&5
38191.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
38201.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
38211.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38221.9Stvelse
38231.9Stv  cat >conftest.$ac_ext <<_ACEOF
38241.63Sapb#line 3824 "configure"
38251.63Sapb#include "confdefs.h"
38261.9Stv$ac_includes_default
38271.9Stvint
38281.9Stvmain ()
38291.9Stv{
38301.9Stvif ((uint64_t *) 0)
38311.9Stv  return 0;
38321.9Stvif (sizeof (uint64_t))
38331.9Stv  return 0;
38341.9Stv  ;
38351.9Stv  return 0;
38361.9Stv}
38371.9Stv_ACEOF
38381.9Stvrm -f conftest.$ac_objext
38391.63Sapbif { (eval echo "$as_me:3839: \"$ac_compile\"") >&5
38401.63Sapb  (eval $ac_compile) 2>&5
38411.9Stv  ac_status=$?
38421.63Sapb  echo "$as_me:3842: \$? = $ac_status" >&5
38431.9Stv  (exit $ac_status); } &&
38441.63Sapb         { ac_try='test -s conftest.$ac_objext'
38451.63Sapb  { (eval echo "$as_me:3845: \"$ac_try\"") >&5
38461.50Sjmc  (eval $ac_try) 2>&5
38471.50Sjmc  ac_status=$?
38481.63Sapb  echo "$as_me:3848: \$? = $ac_status" >&5
38491.9Stv  (exit $ac_status); }; }; then
38501.9Stv  ac_cv_type_uint64_t=yes
38511.9Stvelse
38521.9Stv  echo "$as_me: failed program was:" >&5
38531.63Sapbcat conftest.$ac_ext >&5
38541.9Stvac_cv_type_uint64_t=no
38551.9Stvfi
38561.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
38571.9Stvfi
38581.63Sapbecho "$as_me:3858: result: $ac_cv_type_uint64_t" >&5
38591.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38601.9Stvif test $ac_cv_type_uint64_t = yes; then
38611.9Stv  :
38621.9Stvelse
38631.9Stv
38641.63Sapb		echo "$as_me:3864: checking for u_int64_t" >&5
38651.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
38661.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
38671.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38681.9Stvelse
38691.9Stv  cat >conftest.$ac_ext <<_ACEOF
38701.63Sapb#line 3870 "configure"
38711.63Sapb#include "confdefs.h"
38721.9Stv$ac_includes_default
38731.9Stvint
38741.9Stvmain ()
38751.9Stv{
38761.9Stvif ((u_int64_t *) 0)
38771.9Stv  return 0;
38781.9Stvif (sizeof (u_int64_t))
38791.9Stv  return 0;
38801.9Stv  ;
38811.9Stv  return 0;
38821.9Stv}
38831.9Stv_ACEOF
38841.9Stvrm -f conftest.$ac_objext
38851.63Sapbif { (eval echo "$as_me:3885: \"$ac_compile\"") >&5
38861.63Sapb  (eval $ac_compile) 2>&5
38871.9Stv  ac_status=$?
38881.63Sapb  echo "$as_me:3888: \$? = $ac_status" >&5
38891.9Stv  (exit $ac_status); } &&
38901.63Sapb         { ac_try='test -s conftest.$ac_objext'
38911.63Sapb  { (eval echo "$as_me:3891: \"$ac_try\"") >&5
38921.53Sdogcow  (eval $ac_try) 2>&5
38931.53Sdogcow  ac_status=$?
38941.63Sapb  echo "$as_me:3894: \$? = $ac_status" >&5
38951.9Stv  (exit $ac_status); }; }; then
38961.9Stv  ac_cv_type_u_int64_t=yes
38971.9Stvelse
38981.9Stv  echo "$as_me: failed program was:" >&5
38991.63Sapbcat conftest.$ac_ext >&5
39001.9Stvac_cv_type_u_int64_t=no
39011.9Stvfi
39021.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
39031.9Stvfi
39041.63Sapbecho "$as_me:3904: result: $ac_cv_type_u_int64_t" >&5
39051.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39061.9Stvif test $ac_cv_type_u_int64_t = yes; then
39071.54Swiz
39081.63Sapbcat >>confdefs.h <<\EOF
39091.9Stv#define uint64_t u_int64_t
39101.63SapbEOF
39111.9Stv
39121.9Stvelse
39131.63Sapb  { { echo "$as_me:3913: error: cannot find a suitable type for uint64_t" >&5
39141.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
39151.9Stv   { (exit 1); exit 1; }; }
39161.9Stvfi
39171.9Stv
39181.9Stvfi
39191.9Stv
39201.63Sapb	echo "$as_me:3920: checking for u_int64_t" >&5
39211.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
39221.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
39231.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39241.1Stvelse
39251.1Stv  cat >conftest.$ac_ext <<_ACEOF
39261.63Sapb#line 3926 "configure"
39271.63Sapb#include "confdefs.h"
39281.1Stv$ac_includes_default
39291.1Stvint
39301.1Stvmain ()
39311.1Stv{
39321.6Stvif ((u_int64_t *) 0)
39331.1Stv  return 0;
39341.6Stvif (sizeof (u_int64_t))
39351.1Stv  return 0;
39361.1Stv  ;
39371.1Stv  return 0;
39381.1Stv}
39391.1Stv_ACEOF
39401.1Stvrm -f conftest.$ac_objext
39411.63Sapbif { (eval echo "$as_me:3941: \"$ac_compile\"") >&5
39421.63Sapb  (eval $ac_compile) 2>&5
39431.1Stv  ac_status=$?
39441.63Sapb  echo "$as_me:3944: \$? = $ac_status" >&5
39451.1Stv  (exit $ac_status); } &&
39461.63Sapb         { ac_try='test -s conftest.$ac_objext'
39471.63Sapb  { (eval echo "$as_me:3947: \"$ac_try\"") >&5
39481.50Sjmc  (eval $ac_try) 2>&5
39491.50Sjmc  ac_status=$?
39501.63Sapb  echo "$as_me:3950: \$? = $ac_status" >&5
39511.1Stv  (exit $ac_status); }; }; then
39521.6Stv  ac_cv_type_u_int64_t=yes
39531.1Stvelse
39541.1Stv  echo "$as_me: failed program was:" >&5
39551.63Sapbcat conftest.$ac_ext >&5
39561.6Stvac_cv_type_u_int64_t=no
39571.1Stvfi
39581.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
39591.1Stvfi
39601.63Sapbecho "$as_me:3960: result: $ac_cv_type_u_int64_t" >&5
39611.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39621.6Stvif test $ac_cv_type_u_int64_t = yes; then
39631.1Stv  :
39641.1Stvelse
39651.1Stv
39661.63Sapb		echo "$as_me:3966: checking for uint64_t" >&5
39671.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
39681.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
39691.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39701.1Stvelse
39711.1Stv  cat >conftest.$ac_ext <<_ACEOF
39721.63Sapb#line 3972 "configure"
39731.63Sapb#include "confdefs.h"
39741.4Stv$ac_includes_default
39751.4Stvint
39761.4Stvmain ()
39771.4Stv{
39781.6Stvif ((uint64_t *) 0)
39791.4Stv  return 0;
39801.6Stvif (sizeof (uint64_t))
39811.4Stv  return 0;
39821.4Stv  ;
39831.4Stv  return 0;
39841.4Stv}
39851.1Stv_ACEOF
39861.4Stvrm -f conftest.$ac_objext
39871.63Sapbif { (eval echo "$as_me:3987: \"$ac_compile\"") >&5
39881.63Sapb  (eval $ac_compile) 2>&5
39891.4Stv  ac_status=$?
39901.63Sapb  echo "$as_me:3990: \$? = $ac_status" >&5
39911.4Stv  (exit $ac_status); } &&
39921.63Sapb         { ac_try='test -s conftest.$ac_objext'
39931.63Sapb  { (eval echo "$as_me:3993: \"$ac_try\"") >&5
39941.53Sdogcow  (eval $ac_try) 2>&5
39951.53Sdogcow  ac_status=$?
39961.63Sapb  echo "$as_me:3996: \$? = $ac_status" >&5
39971.4Stv  (exit $ac_status); }; }; then
39981.6Stv  ac_cv_type_uint64_t=yes
39991.4Stvelse
40001.4Stv  echo "$as_me: failed program was:" >&5
40011.63Sapbcat conftest.$ac_ext >&5
40021.6Stvac_cv_type_uint64_t=no
40031.4Stvfi
40041.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
40051.4Stvfi
40061.63Sapbecho "$as_me:4006: result: $ac_cv_type_uint64_t" >&5
40071.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
40081.6Stvif test $ac_cv_type_uint64_t = yes; then
40091.54Swiz
40101.63Sapbcat >>confdefs.h <<\EOF
40111.6Stv#define u_int64_t uint64_t
40121.63SapbEOF
40131.4Stv
40141.6Stvelse
40151.63Sapb  { { echo "$as_me:4015: error: cannot find a suitable type for u_int64_t" >&5
40161.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
40171.6Stv   { (exit 1); exit 1; }; }
40181.6Stvfi
40191.4Stv
40201.4Stvfi
40211.4Stv
40221.4Stv# Struct members.
40231.63Sapbecho "$as_me:4023: checking for DIR.dd_fd" >&5
40241.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
40251.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
40261.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40271.7Stvelse
40281.7Stv  cat >conftest.$ac_ext <<_ACEOF
40291.63Sapb#line 4029 "configure"
40301.63Sapb#include "confdefs.h"
40311.32Sthorpej#include <sys/types.h>
40321.7Stv#include <dirent.h>
40331.7Stv
40341.7Stvint
40351.7Stvmain ()
40361.7Stv{
40371.7Stvstatic DIR ac_aggr;
40381.7Stvif (ac_aggr.dd_fd)
40391.7Stvreturn 0;
40401.7Stv  ;
40411.7Stv  return 0;
40421.7Stv}
40431.7Stv_ACEOF
40441.7Stvrm -f conftest.$ac_objext
40451.63Sapbif { (eval echo "$as_me:4045: \"$ac_compile\"") >&5
40461.63Sapb  (eval $ac_compile) 2>&5
40471.53Sdogcow  ac_status=$?
40481.63Sapb  echo "$as_me:4048: \$? = $ac_status" >&5
40491.53Sdogcow  (exit $ac_status); } &&
40501.63Sapb         { ac_try='test -s conftest.$ac_objext'
40511.63Sapb  { (eval echo "$as_me:4051: \"$ac_try\"") >&5
40521.61Schristos  (eval $ac_try) 2>&5
40531.61Schristos  ac_status=$?
40541.63Sapb  echo "$as_me:4054: \$? = $ac_status" >&5
40551.53Sdogcow  (exit $ac_status); }; }; then
40561.53Sdogcow  ac_cv_member_DIR_dd_fd=yes
40571.53Sdogcowelse
40581.53Sdogcow  echo "$as_me: failed program was:" >&5
40591.63Sapbcat conftest.$ac_ext >&5
40601.48Sjmcac_cv_member_DIR_dd_fd=no
40611.48Sjmcfi
40621.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
40631.61Schristosfi
40641.63Sapbecho "$as_me:4064: result: $ac_cv_member_DIR_dd_fd" >&5
40651.48Sjmcecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40661.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then
40671.48Sjmc
40681.63Sapbcat >>confdefs.h <<EOF
40691.48Sjmc#define HAVE_DIR_DD_FD 1
40701.63SapbEOF
40711.48Sjmc
40721.48Sjmcfi
40731.63Sapbecho "$as_me:4073: checking for DIR.__dd_fd" >&5
40741.59Sthorpejecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
40751.59Sthorpejif test "${ac_cv_member_DIR___dd_fd+set}" = set; then
40761.59Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
40771.59Sthorpejelse
40781.59Sthorpej  cat >conftest.$ac_ext <<_ACEOF
40791.63Sapb#line 4079 "configure"
40801.63Sapb#include "confdefs.h"
40811.59Sthorpej#include <sys/types.h>
40821.59Sthorpej#include <dirent.h>
40831.59Sthorpej
40841.59Sthorpejint
40851.59Sthorpejmain ()
40861.59Sthorpej{
40871.59Sthorpejstatic DIR ac_aggr;
40881.59Sthorpejif (ac_aggr.__dd_fd)
40891.59Sthorpejreturn 0;
40901.59Sthorpej  ;
40911.59Sthorpej  return 0;
40921.59Sthorpej}
40931.59Sthorpej_ACEOF
40941.59Sthorpejrm -f conftest.$ac_objext
40951.63Sapbif { (eval echo "$as_me:4095: \"$ac_compile\"") >&5
40961.63Sapb  (eval $ac_compile) 2>&5
40971.61Schristos  ac_status=$?
40981.63Sapb  echo "$as_me:4098: \$? = $ac_status" >&5
40991.61Schristos  (exit $ac_status); } &&
41001.63Sapb         { ac_try='test -s conftest.$ac_objext'
41011.63Sapb  { (eval echo "$as_me:4101: \"$ac_try\"") >&5
41021.61Schristos  (eval $ac_try) 2>&5
41031.61Schristos  ac_status=$?
41041.63Sapb  echo "$as_me:4104: \$? = $ac_status" >&5
41051.61Schristos  (exit $ac_status); }; }; then
41061.61Schristos  ac_cv_member_DIR___dd_fd=yes
41071.61Schristoselse
41081.61Schristos  echo "$as_me: failed program was:" >&5
41091.63Sapbcat conftest.$ac_ext >&5
41101.63Sapbac_cv_member_DIR___dd_fd=no
41111.63Sapbfi
41121.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
41131.63Sapbfi
41141.63Sapbecho "$as_me:4114: result: $ac_cv_member_DIR___dd_fd" >&5
41151.63Sapbecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
41161.63Sapbif test $ac_cv_member_DIR___dd_fd = yes; then
41171.63Sapb
41181.63Sapbcat >>confdefs.h <<EOF
41191.63Sapb#define HAVE_DIR___DD_FD 1
41201.63SapbEOF
41211.61Schristos
41221.63Sapbfi
41231.63Sapbecho "$as_me:4123: checking for struct dirent.d_namlen" >&5
41241.63Sapbecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
41251.63Sapbif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
41261.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
41271.63Sapbelse
41281.63Sapb  cat >conftest.$ac_ext <<_ACEOF
41291.63Sapb#line 4129 "configure"
41301.63Sapb#include "confdefs.h"
41311.61Schristos#include <sys/types.h>
41321.61Schristos#include <dirent.h>
41331.61Schristos
41341.61Schristosint
41351.61Schristosmain ()
41361.61Schristos{
41371.63Sapbstatic struct dirent ac_aggr;
41381.63Sapbif (ac_aggr.d_namlen)
41391.61Schristosreturn 0;
41401.61Schristos  ;
41411.61Schristos  return 0;
41421.61Schristos}
41431.61Schristos_ACEOF
41441.61Schristosrm -f conftest.$ac_objext
41451.63Sapbif { (eval echo "$as_me:4145: \"$ac_compile\"") >&5
41461.63Sapb  (eval $ac_compile) 2>&5
41471.59Sthorpej  ac_status=$?
41481.63Sapb  echo "$as_me:4148: \$? = $ac_status" >&5
41491.59Sthorpej  (exit $ac_status); } &&
41501.63Sapb         { ac_try='test -s conftest.$ac_objext'
41511.63Sapb  { (eval echo "$as_me:4151: \"$ac_try\"") >&5
41521.61Schristos  (eval $ac_try) 2>&5
41531.61Schristos  ac_status=$?
41541.63Sapb  echo "$as_me:4154: \$? = $ac_status" >&5
41551.59Sthorpej  (exit $ac_status); }; }; then
41561.63Sapb  ac_cv_member_struct_dirent_d_namlen=yes
41571.59Sthorpejelse
41581.59Sthorpej  echo "$as_me: failed program was:" >&5
41591.63Sapbcat conftest.$ac_ext >&5
41601.63Sapbac_cv_member_struct_dirent_d_namlen=no
41611.59Sthorpejfi
41621.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
41631.61Schristosfi
41641.63Sapbecho "$as_me:4164: result: $ac_cv_member_struct_dirent_d_namlen" >&5
41651.63Sapbecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
41661.63Sapbif test $ac_cv_member_struct_dirent_d_namlen = yes; then
41671.59Sthorpej
41681.63Sapbcat >>confdefs.h <<EOF
41691.63Sapb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41701.63SapbEOF
41711.61Schristos
41721.63Sapbfi
41731.59Sthorpej
41741.63Sapbecho "$as_me:4174: checking for struct stat.st_flags" >&5
41751.63Sapbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
41761.63Sapbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
41771.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
41781.48Sjmcelse
41791.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
41801.63Sapb#line 4180 "configure"
41811.63Sapb#include "confdefs.h"
41821.63Sapb#include <sys/stat.h>
41831.8Stv
41841.8Stvint
41851.8Stvmain ()
41861.8Stv{
41871.63Sapbstatic struct stat ac_aggr;
41881.63Sapbif (ac_aggr.st_flags)
41891.8Stvreturn 0;
41901.8Stv  ;
41911.8Stv  return 0;
41921.8Stv}
41931.8Stv_ACEOF
41941.8Stvrm -f conftest.$ac_objext
41951.63Sapbif { (eval echo "$as_me:4195: \"$ac_compile\"") >&5
41961.63Sapb  (eval $ac_compile) 2>&5
41971.61Schristos  ac_status=$?
41981.63Sapb  echo "$as_me:4198: \$? = $ac_status" >&5
41991.61Schristos  (exit $ac_status); } &&
42001.63Sapb         { ac_try='test -s conftest.$ac_objext'
42011.63Sapb  { (eval echo "$as_me:4201: \"$ac_try\"") >&5
42021.61Schristos  (eval $ac_try) 2>&5
42031.61Schristos  ac_status=$?
42041.63Sapb  echo "$as_me:4204: \$? = $ac_status" >&5
42051.61Schristos  (exit $ac_status); }; }; then
42061.63Sapb  ac_cv_member_struct_stat_st_flags=yes
42071.61Schristoselse
42081.61Schristos  echo "$as_me: failed program was:" >&5
42091.63Sapbcat conftest.$ac_ext >&5
42101.63Sapbac_cv_member_struct_stat_st_flags=no
42111.63Sapbfi
42121.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
42131.63Sapbfi
42141.63Sapbecho "$as_me:4214: result: $ac_cv_member_struct_stat_st_flags" >&5
42151.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
42161.63Sapbif test $ac_cv_member_struct_stat_st_flags = yes; then
42171.63Sapb
42181.63Sapbcat >>confdefs.h <<EOF
42191.63Sapb#define HAVE_STRUCT_STAT_ST_FLAGS 1
42201.63SapbEOF
42211.61Schristos
42221.63Sapbfi
42231.63Sapbecho "$as_me:4223: checking for struct stat.st_gen" >&5
42241.63Sapbecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
42251.63Sapbif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
42261.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
42271.63Sapbelse
42281.63Sapb  cat >conftest.$ac_ext <<_ACEOF
42291.63Sapb#line 4229 "configure"
42301.63Sapb#include "confdefs.h"
42311.63Sapb#include <sys/stat.h>
42321.61Schristos
42331.61Schristosint
42341.61Schristosmain ()
42351.61Schristos{
42361.63Sapbstatic struct stat ac_aggr;
42371.63Sapbif (ac_aggr.st_gen)
42381.61Schristosreturn 0;
42391.61Schristos  ;
42401.61Schristos  return 0;
42411.61Schristos}
42421.61Schristos_ACEOF
42431.61Schristosrm -f conftest.$ac_objext
42441.63Sapbif { (eval echo "$as_me:4244: \"$ac_compile\"") >&5
42451.63Sapb  (eval $ac_compile) 2>&5
42461.8Stv  ac_status=$?
42471.63Sapb  echo "$as_me:4247: \$? = $ac_status" >&5
42481.8Stv  (exit $ac_status); } &&
42491.63Sapb         { ac_try='test -s conftest.$ac_objext'
42501.63Sapb  { (eval echo "$as_me:4250: \"$ac_try\"") >&5
42511.50Sjmc  (eval $ac_try) 2>&5
42521.50Sjmc  ac_status=$?
42531.63Sapb  echo "$as_me:4253: \$? = $ac_status" >&5
42541.8Stv  (exit $ac_status); }; }; then
42551.63Sapb  ac_cv_member_struct_stat_st_gen=yes
42561.8Stvelse
42571.8Stv  echo "$as_me: failed program was:" >&5
42581.63Sapbcat conftest.$ac_ext >&5
42591.63Sapbac_cv_member_struct_stat_st_gen=no
42601.8Stvfi
42611.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
42621.48Sjmcfi
42631.63Sapbecho "$as_me:4263: result: $ac_cv_member_struct_stat_st_gen" >&5
42641.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42651.63Sapbif test $ac_cv_member_struct_stat_st_gen = yes; then
42661.61Schristos
42671.63Sapbcat >>confdefs.h <<EOF
42681.63Sapb#define HAVE_STRUCT_STAT_ST_GEN 1
42691.63SapbEOF
42701.61Schristos
42711.61Schristosfi
42721.63Sapbecho "$as_me:4272: checking for struct stat.st_birthtime" >&5
42731.63Sapbecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42741.63Sapbif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42751.61Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
42761.61Schristoselse
42771.61Schristos  cat >conftest.$ac_ext <<_ACEOF
42781.63Sapb#line 4278 "configure"
42791.63Sapb#include "confdefs.h"
42801.61Schristos#include <sys/stat.h>
42811.61Schristos
42821.61Schristosint
42831.61Schristosmain ()
42841.61Schristos{
42851.61Schristosstatic struct stat ac_aggr;
42861.63Sapbif (ac_aggr.st_birthtime)
42871.61Schristosreturn 0;
42881.61Schristos  ;
42891.61Schristos  return 0;
42901.61Schristos}
42911.61Schristos_ACEOF
42921.61Schristosrm -f conftest.$ac_objext
42931.63Sapbif { (eval echo "$as_me:4293: \"$ac_compile\"") >&5
42941.63Sapb  (eval $ac_compile) 2>&5
42951.61Schristos  ac_status=$?
42961.63Sapb  echo "$as_me:4296: \$? = $ac_status" >&5
42971.61Schristos  (exit $ac_status); } &&
42981.63Sapb         { ac_try='test -s conftest.$ac_objext'
42991.63Sapb  { (eval echo "$as_me:4299: \"$ac_try\"") >&5
43001.61Schristos  (eval $ac_try) 2>&5
43011.61Schristos  ac_status=$?
43021.63Sapb  echo "$as_me:4302: \$? = $ac_status" >&5
43031.61Schristos  (exit $ac_status); }; }; then
43041.63Sapb  ac_cv_member_struct_stat_st_birthtime=yes
43051.61Schristoselse
43061.61Schristos  echo "$as_me: failed program was:" >&5
43071.63Sapbcat conftest.$ac_ext >&5
43081.63Sapbac_cv_member_struct_stat_st_birthtime=no
43091.63Sapbfi
43101.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
43111.63Sapbfi
43121.63Sapbecho "$as_me:4312: result: $ac_cv_member_struct_stat_st_birthtime" >&5
43131.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
43141.63Sapbif test $ac_cv_member_struct_stat_st_birthtime = yes; then
43151.63Sapb
43161.63Sapbcat >>confdefs.h <<EOF
43171.63Sapb#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
43181.63SapbEOF
43191.61Schristos
43201.63Sapbfi
43211.63Sapbecho "$as_me:4321: checking for struct stat.st_birthtimensec" >&5
43221.63Sapbecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
43231.63Sapbif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
43241.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
43251.63Sapbelse
43261.63Sapb  cat >conftest.$ac_ext <<_ACEOF
43271.63Sapb#line 4327 "configure"
43281.63Sapb#include "confdefs.h"
43291.61Schristos#include <sys/stat.h>
43301.61Schristos
43311.61Schristosint
43321.61Schristosmain ()
43331.61Schristos{
43341.61Schristosstatic struct stat ac_aggr;
43351.63Sapbif (ac_aggr.st_birthtimensec)
43361.61Schristosreturn 0;
43371.61Schristos  ;
43381.61Schristos  return 0;
43391.61Schristos}
43401.61Schristos_ACEOF
43411.61Schristosrm -f conftest.$ac_objext
43421.63Sapbif { (eval echo "$as_me:4342: \"$ac_compile\"") >&5
43431.63Sapb  (eval $ac_compile) 2>&5
43441.61Schristos  ac_status=$?
43451.63Sapb  echo "$as_me:4345: \$? = $ac_status" >&5
43461.61Schristos  (exit $ac_status); } &&
43471.63Sapb         { ac_try='test -s conftest.$ac_objext'
43481.63Sapb  { (eval echo "$as_me:4348: \"$ac_try\"") >&5
43491.61Schristos  (eval $ac_try) 2>&5
43501.61Schristos  ac_status=$?
43511.63Sapb  echo "$as_me:4351: \$? = $ac_status" >&5
43521.61Schristos  (exit $ac_status); }; }; then
43531.63Sapb  ac_cv_member_struct_stat_st_birthtimensec=yes
43541.61Schristoselse
43551.61Schristos  echo "$as_me: failed program was:" >&5
43561.63Sapbcat conftest.$ac_ext >&5
43571.63Sapbac_cv_member_struct_stat_st_birthtimensec=no
43581.61Schristosfi
43591.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
43601.61Schristosfi
43611.63Sapbecho "$as_me:4361: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
43621.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
43631.63Sapbif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
43641.61Schristos
43651.63Sapbcat >>confdefs.h <<EOF
43661.63Sapb#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
43671.63SapbEOF
43681.61Schristos
43691.61Schristosfi
43701.63Sapbecho "$as_me:4370: checking for struct stat.st_atim" >&5
43711.63Sapbecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
43721.63Sapbif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
43731.61Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
43741.61Schristoselse
43751.61Schristos  cat >conftest.$ac_ext <<_ACEOF
43761.63Sapb#line 4376 "configure"
43771.63Sapb#include "confdefs.h"
43781.61Schristos#include <sys/stat.h>
43791.61Schristos
43801.61Schristosint
43811.61Schristosmain ()
43821.61Schristos{
43831.61Schristosstatic struct stat ac_aggr;
43841.63Sapbif (ac_aggr.st_atim)
43851.61Schristosreturn 0;
43861.61Schristos  ;
43871.61Schristos  return 0;
43881.61Schristos}
43891.61Schristos_ACEOF
43901.61Schristosrm -f conftest.$ac_objext
43911.63Sapbif { (eval echo "$as_me:4391: \"$ac_compile\"") >&5
43921.63Sapb  (eval $ac_compile) 2>&5
43931.61Schristos  ac_status=$?
43941.63Sapb  echo "$as_me:4394: \$? = $ac_status" >&5
43951.61Schristos  (exit $ac_status); } &&
43961.63Sapb         { ac_try='test -s conftest.$ac_objext'
43971.63Sapb  { (eval echo "$as_me:4397: \"$ac_try\"") >&5
43981.61Schristos  (eval $ac_try) 2>&5
43991.61Schristos  ac_status=$?
44001.63Sapb  echo "$as_me:4400: \$? = $ac_status" >&5
44011.61Schristos  (exit $ac_status); }; }; then
44021.63Sapb  ac_cv_member_struct_stat_st_atim=yes
44031.61Schristoselse
44041.61Schristos  echo "$as_me: failed program was:" >&5
44051.63Sapbcat conftest.$ac_ext >&5
44061.63Sapbac_cv_member_struct_stat_st_atim=no
44071.63Sapbfi
44081.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
44091.63Sapbfi
44101.63Sapbecho "$as_me:4410: result: $ac_cv_member_struct_stat_st_atim" >&5
44111.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
44121.63Sapbif test $ac_cv_member_struct_stat_st_atim = yes; then
44131.63Sapb
44141.63Sapbcat >>confdefs.h <<EOF
44151.63Sapb#define HAVE_STRUCT_STAT_ST_ATIM 1
44161.63SapbEOF
44171.61Schristos
44181.63Sapbfi
44191.63Sapbecho "$as_me:4419: checking for struct stat.st_mtimensec" >&5
44201.63Sapbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
44211.63Sapbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
44221.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
44231.63Sapbelse
44241.63Sapb  cat >conftest.$ac_ext <<_ACEOF
44251.63Sapb#line 4425 "configure"
44261.63Sapb#include "confdefs.h"
44271.61Schristos#include <sys/stat.h>
44281.53Sdogcow
44291.61Schristosint
44301.61Schristosmain ()
44311.61Schristos{
44321.61Schristosstatic struct stat ac_aggr;
44331.63Sapbif (ac_aggr.st_mtimensec)
44341.61Schristosreturn 0;
44351.61Schristos  ;
44361.61Schristos  return 0;
44371.61Schristos}
44381.61Schristos_ACEOF
44391.61Schristosrm -f conftest.$ac_objext
44401.63Sapbif { (eval echo "$as_me:4440: \"$ac_compile\"") >&5
44411.63Sapb  (eval $ac_compile) 2>&5
44421.61Schristos  ac_status=$?
44431.63Sapb  echo "$as_me:4443: \$? = $ac_status" >&5
44441.61Schristos  (exit $ac_status); } &&
44451.63Sapb         { ac_try='test -s conftest.$ac_objext'
44461.63Sapb  { (eval echo "$as_me:4446: \"$ac_try\"") >&5
44471.61Schristos  (eval $ac_try) 2>&5
44481.61Schristos  ac_status=$?
44491.63Sapb  echo "$as_me:4449: \$? = $ac_status" >&5
44501.61Schristos  (exit $ac_status); }; }; then
44511.63Sapb  ac_cv_member_struct_stat_st_mtimensec=yes
44521.61Schristoselse
44531.61Schristos  echo "$as_me: failed program was:" >&5
44541.63Sapbcat conftest.$ac_ext >&5
44551.63Sapbac_cv_member_struct_stat_st_mtimensec=no
44561.61Schristosfi
44571.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
44581.61Schristosfi
44591.63Sapbecho "$as_me:4459: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
44601.63Sapbecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
44611.63Sapbif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
44621.61Schristos
44631.63Sapbcat >>confdefs.h <<EOF
44641.63Sapb#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
44651.63SapbEOF
44661.61Schristos
44671.63Sapbfi
44681.61Schristos
44691.63Sapbecho "$as_me:4469: checking for struct statvfs.f_iosize" >&5
44701.63Sapbecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
44711.63Sapbif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
44721.61Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
44731.61Schristoselse
44741.61Schristos  cat >conftest.$ac_ext <<_ACEOF
44751.63Sapb#line 4475 "configure"
44761.63Sapb#include "confdefs.h"
44771.63Sapb#include <sys/statvfs.h>
44781.61Schristos
44791.61Schristosint
44801.61Schristosmain ()
44811.61Schristos{
44821.63Sapbstatic struct statvfs ac_aggr;
44831.63Sapbif (ac_aggr.f_iosize)
44841.61Schristosreturn 0;
44851.61Schristos  ;
44861.61Schristos  return 0;
44871.61Schristos}
44881.61Schristos_ACEOF
44891.61Schristosrm -f conftest.$ac_objext
44901.63Sapbif { (eval echo "$as_me:4490: \"$ac_compile\"") >&5
44911.63Sapb  (eval $ac_compile) 2>&5
44921.61Schristos  ac_status=$?
44931.63Sapb  echo "$as_me:4493: \$? = $ac_status" >&5
44941.61Schristos  (exit $ac_status); } &&
44951.63Sapb         { ac_try='test -s conftest.$ac_objext'
44961.63Sapb  { (eval echo "$as_me:4496: \"$ac_try\"") >&5
44971.61Schristos  (eval $ac_try) 2>&5
44981.61Schristos  ac_status=$?
44991.63Sapb  echo "$as_me:4499: \$? = $ac_status" >&5
45001.61Schristos  (exit $ac_status); }; }; then
45011.63Sapb  ac_cv_member_struct_statvfs_f_iosize=yes
45021.61Schristoselse
45031.61Schristos  echo "$as_me: failed program was:" >&5
45041.63Sapbcat conftest.$ac_ext >&5
45051.63Sapbac_cv_member_struct_statvfs_f_iosize=no
45061.63Sapbfi
45071.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
45081.63Sapbfi
45091.63Sapbecho "$as_me:4509: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
45101.63Sapbecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
45111.63Sapbif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
45121.61Schristos
45131.63Sapbcat >>confdefs.h <<EOF
45141.63Sapb#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
45151.63SapbEOF
45161.63Sapb
45171.63Sapbfi
45181.63Sapb
45191.63Sapb# Global variable decls.
45201.63Sapbecho "$as_me:4520: checking whether optind is declared" >&5
45211.63Sapbecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
45221.63Sapbif test "${ac_cv_have_decl_optind+set}" = set; then
45231.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
45241.63Sapbelse
45251.63Sapb  cat >conftest.$ac_ext <<_ACEOF
45261.63Sapb#line 4526 "configure"
45271.63Sapb#include "confdefs.h"
45281.63Sapb
45291.63Sapb#include <stdio.h>
45301.63Sapb#include <stdlib.h>
45311.63Sapb#include <unistd.h>
45321.61Schristos
45331.61Schristosint
45341.61Schristosmain ()
45351.61Schristos{
45361.63Sapb#ifndef optind
45371.63Sapb  char *p = (char *) optind;
45381.63Sapb#endif
45391.63Sapb
45401.61Schristos  ;
45411.61Schristos  return 0;
45421.61Schristos}
45431.61Schristos_ACEOF
45441.61Schristosrm -f conftest.$ac_objext
45451.63Sapbif { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
45461.63Sapb  (eval $ac_compile) 2>&5
45471.61Schristos  ac_status=$?
45481.63Sapb  echo "$as_me:4548: \$? = $ac_status" >&5
45491.61Schristos  (exit $ac_status); } &&
45501.63Sapb         { ac_try='test -s conftest.$ac_objext'
45511.63Sapb  { (eval echo "$as_me:4551: \"$ac_try\"") >&5
45521.61Schristos  (eval $ac_try) 2>&5
45531.61Schristos  ac_status=$?
45541.63Sapb  echo "$as_me:4554: \$? = $ac_status" >&5
45551.61Schristos  (exit $ac_status); }; }; then
45561.63Sapb  ac_cv_have_decl_optind=yes
45571.61Schristoselse
45581.61Schristos  echo "$as_me: failed program was:" >&5
45591.63Sapbcat conftest.$ac_ext >&5
45601.63Sapbac_cv_have_decl_optind=no
45611.61Schristosfi
45621.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
45631.61Schristosfi
45641.63Sapbecho "$as_me:4564: result: $ac_cv_have_decl_optind" >&5
45651.63Sapbecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
45661.63Sapbif test $ac_cv_have_decl_optind = yes; then
45671.61Schristos
45681.63Sapbcat >>confdefs.h <<EOF
45691.63Sapb#define HAVE_DECL_OPTIND 1
45701.63SapbEOF
45711.61Schristos
45721.63Sapbelse
45731.63Sapb  cat >>confdefs.h <<EOF
45741.63Sapb#define HAVE_DECL_OPTIND 0
45751.63SapbEOF
45761.61Schristos
45771.61Schristosfi
45781.63Sapbecho "$as_me:4578: checking whether optreset is declared" >&5
45791.63Sapbecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
45801.63Sapbif test "${ac_cv_have_decl_optreset+set}" = set; then
45811.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
45821.43Sdbjelse
45831.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
45841.63Sapb#line 4584 "configure"
45851.63Sapb#include "confdefs.h"
45861.63Sapb
45871.63Sapb#include <stdio.h>
45881.63Sapb#include <stdlib.h>
45891.63Sapb#include <unistd.h>
45901.40Satatat
45911.40Satatatint
45921.40Satatatmain ()
45931.40Satatat{
45941.63Sapb#ifndef optreset
45951.63Sapb  char *p = (char *) optreset;
45961.63Sapb#endif
45971.63Sapb
45981.40Satatat  ;
45991.40Satatat  return 0;
46001.40Satatat}
46011.40Satatat_ACEOF
46021.40Satatatrm -f conftest.$ac_objext
46031.63Sapbif { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
46041.63Sapb  (eval $ac_compile) 2>&5
46051.53Sdogcow  ac_status=$?
46061.63Sapb  echo "$as_me:4606: \$? = $ac_status" >&5
46071.53Sdogcow  (exit $ac_status); } &&
46081.63Sapb         { ac_try='test -s conftest.$ac_objext'
46091.63Sapb  { (eval echo "$as_me:4609: \"$ac_try\"") >&5
46101.61Schristos  (eval $ac_try) 2>&5
46111.61Schristos  ac_status=$?
46121.63Sapb  echo "$as_me:4612: \$? = $ac_status" >&5
46131.63Sapb  (exit $ac_status); }; }; then
46141.63Sapb  ac_cv_have_decl_optreset=yes
46151.53Sdogcowelse
46161.53Sdogcow  echo "$as_me: failed program was:" >&5
46171.63Sapbcat conftest.$ac_ext >&5
46181.63Sapbac_cv_have_decl_optreset=no
46191.63Sapbfi
46201.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
46211.63Sapbfi
46221.63Sapbecho "$as_me:4622: result: $ac_cv_have_decl_optreset" >&5
46231.63Sapbecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
46241.63Sapbif test $ac_cv_have_decl_optreset = yes; then
46251.63Sapb
46261.63Sapbcat >>confdefs.h <<EOF
46271.63Sapb#define HAVE_DECL_OPTRESET 1
46281.63SapbEOF
46291.63Sapb
46301.63Sapbelse
46311.63Sapb  cat >>confdefs.h <<EOF
46321.63Sapb#define HAVE_DECL_OPTRESET 0
46331.63SapbEOF
46341.63Sapb
46351.63Sapbfi
46361.60Sapb
46371.63Sapbecho "$as_me:4637: checking whether sys_signame is declared" >&5
46381.63Sapbecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
46391.63Sapbif test "${ac_cv_have_decl_sys_signame+set}" = set; then
46401.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
46411.63Sapbelse
46421.63Sapb  cat >conftest.$ac_ext <<_ACEOF
46431.63Sapb#line 4643 "configure"
46441.63Sapb#include "confdefs.h"
46451.63Sapb#include <signal.h>
46461.53Sdogcow
46471.53Sdogcowint
46481.53Sdogcowmain ()
46491.53Sdogcow{
46501.63Sapb#ifndef sys_signame
46511.63Sapb  char *p = (char *) sys_signame;
46521.63Sapb#endif
46531.63Sapb
46541.53Sdogcow  ;
46551.53Sdogcow  return 0;
46561.53Sdogcow}
46571.53Sdogcow_ACEOF
46581.53Sdogcowrm -f conftest.$ac_objext
46591.63Sapbif { (eval echo "$as_me:4659: \"$ac_compile\"") >&5
46601.63Sapb  (eval $ac_compile) 2>&5
46611.40Satatat  ac_status=$?
46621.63Sapb  echo "$as_me:4662: \$? = $ac_status" >&5
46631.40Satatat  (exit $ac_status); } &&
46641.63Sapb         { ac_try='test -s conftest.$ac_objext'
46651.63Sapb  { (eval echo "$as_me:4665: \"$ac_try\"") >&5
46661.50Sjmc  (eval $ac_try) 2>&5
46671.50Sjmc  ac_status=$?
46681.63Sapb  echo "$as_me:4668: \$? = $ac_status" >&5
46691.40Satatat  (exit $ac_status); }; }; then
46701.63Sapb  ac_cv_have_decl_sys_signame=yes
46711.40Satatatelse
46721.40Satatat  echo "$as_me: failed program was:" >&5
46731.63Sapbcat conftest.$ac_ext >&5
46741.63Sapbac_cv_have_decl_sys_signame=no
46751.61Schristosfi
46761.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
46771.40Satatatfi
46781.63Sapbecho "$as_me:4678: result: $ac_cv_have_decl_sys_signame" >&5
46791.63Sapbecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
46801.63Sapbif test $ac_cv_have_decl_sys_signame = yes; then
46811.61Schristos
46821.63Sapbcat >>confdefs.h <<EOF
46831.63Sapb#define HAVE_DECL_SYS_SIGNAME 1
46841.63SapbEOF
46851.53Sdogcow
46861.63Sapbelse
46871.63Sapb  cat >>confdefs.h <<EOF
46881.63Sapb#define HAVE_DECL_SYS_SIGNAME 0
46891.63SapbEOF
46901.40Satatat
46911.40Satatatfi
46921.63Sapb
46931.63Sapb# Library functions (where a .h check isn't enough).
46941.63Sapb# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
46951.63Sapb# for constant arguments.  Useless!
46961.63Sapbecho "$as_me:4696: checking for working alloca.h" >&5
46971.63Sapbecho $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
46981.63Sapbif test "${ac_cv_working_alloca_h+set}" = set; then
46991.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
47001.40Satatatelse
47011.40Satatat  cat >conftest.$ac_ext <<_ACEOF
47021.63Sapb#line 4702 "configure"
47031.63Sapb#include "confdefs.h"
47041.63Sapb#include <alloca.h>
47051.40Satatatint
47061.40Satatatmain ()
47071.40Satatat{
47081.63Sapbchar *p = (char *) alloca (2 * sizeof (int));
47091.40Satatat  ;
47101.40Satatat  return 0;
47111.40Satatat}
47121.40Satatat_ACEOF
47131.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext
47141.63Sapbif { (eval echo "$as_me:4714: \"$ac_link\"") >&5
47151.63Sapb  (eval $ac_link) 2>&5
47161.53Sdogcow  ac_status=$?
47171.63Sapb  echo "$as_me:4717: \$? = $ac_status" >&5
47181.53Sdogcow  (exit $ac_status); } &&
47191.63Sapb         { ac_try='test -s conftest$ac_exeext'
47201.63Sapb  { (eval echo "$as_me:4720: \"$ac_try\"") >&5
47211.53Sdogcow  (eval $ac_try) 2>&5
47221.53Sdogcow  ac_status=$?
47231.63Sapb  echo "$as_me:4723: \$? = $ac_status" >&5
47241.53Sdogcow  (exit $ac_status); }; }; then
47251.63Sapb  ac_cv_working_alloca_h=yes
47261.53Sdogcowelse
47271.53Sdogcow  echo "$as_me: failed program was:" >&5
47281.63Sapbcat conftest.$ac_ext >&5
47291.63Sapbac_cv_working_alloca_h=no
47301.63Sapbfi
47311.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47321.63Sapbfi
47331.63Sapbecho "$as_me:4733: result: $ac_cv_working_alloca_h" >&5
47341.63Sapbecho "${ECHO_T}$ac_cv_working_alloca_h" >&6
47351.63Sapbif test $ac_cv_working_alloca_h = yes; then
47361.63Sapb
47371.63Sapbcat >>confdefs.h <<\EOF
47381.63Sapb#define HAVE_ALLOCA_H 1
47391.63SapbEOF
47401.60Sapb
47411.63Sapbfi
47421.63Sapb
47431.63Sapbecho "$as_me:4743: checking for alloca" >&5
47441.63Sapbecho $ECHO_N "checking for alloca... $ECHO_C" >&6
47451.63Sapbif test "${ac_cv_func_alloca_works+set}" = set; then
47461.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
47471.63Sapbelse
47481.63Sapb  cat >conftest.$ac_ext <<_ACEOF
47491.63Sapb#line 4749 "configure"
47501.63Sapb#include "confdefs.h"
47511.63Sapb#ifdef __GNUC__
47521.63Sapb# define alloca __builtin_alloca
47531.63Sapb#else
47541.63Sapb# ifdef _MSC_VER
47551.63Sapb#  include <malloc.h>
47561.63Sapb#  define alloca _alloca
47571.63Sapb# else
47581.63Sapb#  if HAVE_ALLOCA_H
47591.63Sapb#   include <alloca.h>
47601.63Sapb#  else
47611.63Sapb#   ifdef _AIX
47621.63Sapb #pragma alloca
47631.63Sapb#   else
47641.63Sapb#    ifndef alloca /* predefined by HP cc +Olibcalls */
47651.63Sapbchar *alloca ();
47661.63Sapb#    endif
47671.63Sapb#   endif
47681.63Sapb#  endif
47691.63Sapb# endif
47701.63Sapb#endif
47711.53Sdogcow
47721.53Sdogcowint
47731.53Sdogcowmain ()
47741.53Sdogcow{
47751.63Sapbchar *p = (char *) alloca (1);
47761.53Sdogcow  ;
47771.53Sdogcow  return 0;
47781.53Sdogcow}
47791.53Sdogcow_ACEOF
47801.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext
47811.63Sapbif { (eval echo "$as_me:4781: \"$ac_link\"") >&5
47821.63Sapb  (eval $ac_link) 2>&5
47831.40Satatat  ac_status=$?
47841.63Sapb  echo "$as_me:4784: \$? = $ac_status" >&5
47851.40Satatat  (exit $ac_status); } &&
47861.63Sapb         { ac_try='test -s conftest$ac_exeext'
47871.63Sapb  { (eval echo "$as_me:4787: \"$ac_try\"") >&5
47881.40Satatat  (eval $ac_try) 2>&5
47891.40Satatat  ac_status=$?
47901.63Sapb  echo "$as_me:4790: \$? = $ac_status" >&5
47911.40Satatat  (exit $ac_status); }; }; then
47921.63Sapb  ac_cv_func_alloca_works=yes
47931.40Satatatelse
47941.40Satatat  echo "$as_me: failed program was:" >&5
47951.63Sapbcat conftest.$ac_ext >&5
47961.63Sapbac_cv_func_alloca_works=no
47971.61Schristosfi
47981.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47991.40Satatatfi
48001.63Sapbecho "$as_me:4800: result: $ac_cv_func_alloca_works" >&5
48011.63Sapbecho "${ECHO_T}$ac_cv_func_alloca_works" >&6
48021.63Sapb
48031.63Sapbif test $ac_cv_func_alloca_works = yes; then
48041.63Sapb
48051.63Sapbcat >>confdefs.h <<\EOF
48061.63Sapb#define HAVE_ALLOCA 1
48071.63SapbEOF
48081.63Sapb
48091.63Sapbelse
48101.63Sapb  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
48111.63Sapb# that cause trouble.  Some versions do not even contain alloca or
48121.63Sapb# contain a buggy version.  If you still want to use their alloca,
48131.63Sapb# use ar to extract alloca.o from them instead of compiling alloca.c.
48141.61Schristos
48151.63SapbALLOCA=alloca.$ac_objext
48161.53Sdogcow
48171.63Sapbcat >>confdefs.h <<\EOF
48181.63Sapb#define C_ALLOCA 1
48191.63SapbEOF
48201.40Satatat
48211.63Sapbecho "$as_me:4821: checking whether \`alloca.c' needs Cray hooks" >&5
48221.63Sapbecho $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
48231.63Sapbif test "${ac_cv_os_cray+set}" = set; then
48241.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48251.7Stvelse
48261.7Stv  cat >conftest.$ac_ext <<_ACEOF
48271.63Sapb#line 4827 "configure"
48281.63Sapb#include "confdefs.h"
48291.63Sapb#if defined(CRAY) && ! defined(CRAY2)
48301.63Sapbwebecray
48311.63Sapb#else
48321.63Sapbwenotbecray
48331.63Sapb#endif
48341.7Stv
48351.7Stv_ACEOF
48361.63Sapbif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48371.63Sapb  egrep "webecray" >/dev/null 2>&1; then
48381.63Sapb  ac_cv_os_cray=yes
48391.53Sdogcowelse
48401.63Sapb  ac_cv_os_cray=no
48411.63Sapbfi
48421.63Sapbrm -f conftest*
48431.60Sapb
48441.63Sapbfi
48451.63Sapbecho "$as_me:4845: result: $ac_cv_os_cray" >&5
48461.63Sapbecho "${ECHO_T}$ac_cv_os_cray" >&6
48471.63Sapbif test $ac_cv_os_cray = yes; then
48481.63Sapb  for ac_func in _getb67 GETB67 getb67; do
48491.63Sapb    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48501.63Sapbecho "$as_me:4850: checking for $ac_func" >&5
48511.63Sapbecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48521.63Sapbif eval "test \"\${$as_ac_var+set}\" = set"; then
48531.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
48541.63Sapbelse
48551.63Sapb  cat >conftest.$ac_ext <<_ACEOF
48561.63Sapb#line 4856 "configure"
48571.63Sapb#include "confdefs.h"
48581.63Sapb/* System header to define __stub macros and hopefully few prototypes,
48591.63Sapb    which can conflict with char $ac_func (); below.  */
48601.63Sapb#include <assert.h>
48611.63Sapb/* Override any gcc2 internal prototype to avoid an error.  */
48621.63Sapb#ifdef __cplusplus
48631.63Sapbextern "C"
48641.63Sapb#endif
48651.63Sapb/* We use char because int might match the return type of a gcc2
48661.63Sapb   builtin and then its argument prototype would still apply.  */
48671.63Sapbchar $ac_func ();
48681.63Sapbchar (*f) ();
48691.53Sdogcow
48701.53Sdogcowint
48711.53Sdogcowmain ()
48721.53Sdogcow{
48731.63Sapb/* The GNU C library defines this for functions which it implements
48741.63Sapb    to always fail with ENOSYS.  Some functions are actually named
48751.63Sapb    something starting with __ and the normal name is an alias.  */
48761.63Sapb#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48771.63Sapbchoke me
48781.63Sapb#else
48791.63Sapbf = $ac_func;
48801.63Sapb#endif
48811.63Sapb
48821.53Sdogcow  ;
48831.53Sdogcow  return 0;
48841.53Sdogcow}
48851.53Sdogcow_ACEOF
48861.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext
48871.63Sapbif { (eval echo "$as_me:4887: \"$ac_link\"") >&5
48881.63Sapb  (eval $ac_link) 2>&5
48891.7Stv  ac_status=$?
48901.63Sapb  echo "$as_me:4890: \$? = $ac_status" >&5
48911.7Stv  (exit $ac_status); } &&
48921.63Sapb         { ac_try='test -s conftest$ac_exeext'
48931.63Sapb  { (eval echo "$as_me:4893: \"$ac_try\"") >&5
48941.48Sjmc  (eval $ac_try) 2>&5
48951.48Sjmc  ac_status=$?
48961.63Sapb  echo "$as_me:4896: \$? = $ac_status" >&5
48971.7Stv  (exit $ac_status); }; }; then
48981.63Sapb  eval "$as_ac_var=yes"
48991.7Stvelse
49001.7Stv  echo "$as_me: failed program was:" >&5
49011.63Sapbcat conftest.$ac_ext >&5
49021.63Sapbeval "$as_ac_var=no"
49031.7Stvfi
49041.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49051.7Stvfi
49061.63Sapbecho "$as_me:4906: result: `eval echo '${'$as_ac_var'}'`" >&5
49071.63Sapbecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49081.63Sapbif test `eval echo '${'$as_ac_var'}'` = yes; then
49091.7Stv
49101.63Sapbcat >>confdefs.h <<EOF
49111.63Sapb#define CRAY_STACKSEG_END $ac_func
49121.63SapbEOF
49131.61Schristos
49141.63Sapb    break
49151.63Sapbfi
49161.7Stv
49171.63Sapb  done
49181.7Stvfi
49191.4Stv
49201.63Sapbecho "$as_me:4920: checking stack direction for C alloca" >&5
49211.63Sapbecho $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
49221.63Sapbif test "${ac_cv_c_stack_direction+set}" = set; then
49231.47Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
49241.47Sdbjelse
49251.63Sapb  if test "$cross_compiling" = yes; then
49261.63Sapb  ac_cv_c_stack_direction=0
49271.63Sapbelse
49281.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
49291.63Sapb#line 4929 "configure"
49301.63Sapb#include "confdefs.h"
49311.48Sjmcint
49321.63Sapbfind_stack_direction ()
49331.48Sjmc{
49341.63Sapb  static char *addr = 0;
49351.63Sapb  auto char dummy;
49361.63Sapb  if (addr == 0)
49371.63Sapb    {
49381.63Sapb      addr = &dummy;
49391.63Sapb      return find_stack_direction ();
49401.63Sapb    }
49411.63Sapb  else
49421.63Sapb    return (&dummy > addr) ? 1 : -1;
49431.63Sapb}
49441.63Sapb
49451.63Sapbint
49461.63Sapbmain ()
49471.63Sapb{
49481.63Sapb  exit (find_stack_direction () < 0);
49491.48Sjmc}
49501.48Sjmc_ACEOF
49511.63Sapbrm -f conftest$ac_exeext
49521.63Sapbif { (eval echo "$as_me:4952: \"$ac_link\"") >&5
49531.63Sapb  (eval $ac_link) 2>&5
49541.61Schristos  ac_status=$?
49551.63Sapb  echo "$as_me:4955: \$? = $ac_status" >&5
49561.63Sapb  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49571.63Sapb  { (eval echo "$as_me:4957: \"$ac_try\"") >&5
49581.61Schristos  (eval $ac_try) 2>&5
49591.61Schristos  ac_status=$?
49601.63Sapb  echo "$as_me:4960: \$? = $ac_status" >&5
49611.61Schristos  (exit $ac_status); }; }; then
49621.63Sapb  ac_cv_c_stack_direction=1
49631.61Schristoselse
49641.63Sapb  echo "$as_me: program exited with status $ac_status" >&5
49651.63Sapbecho "$as_me: failed program was:" >&5
49661.63Sapbcat conftest.$ac_ext >&5
49671.63Sapbac_cv_c_stack_direction=-1
49681.63Sapbfi
49691.63Sapbrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49701.63Sapbfi
49711.63Sapbfi
49721.63Sapbecho "$as_me:4972: result: $ac_cv_c_stack_direction" >&5
49731.63Sapbecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
49741.63Sapb
49751.63Sapbcat >>confdefs.h <<EOF
49761.63Sapb#define STACK_DIRECTION $ac_cv_c_stack_direction
49771.63SapbEOF
49781.63Sapb
49791.63Sapbfi
49801.61Schristos
49811.63Sapbfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
49821.63Sapb	esetfunc fgetln flock fparseln futimes getopt getopt_long \
49831.63Sapb	group_from_gid \
49841.63Sapb	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
49851.63Sapb	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
49861.63Sapb	setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \
49871.63Sapb	strndup strsep strsuftoll strtoll \
49881.63Sapb	user_from_uid vasprintf vasnprintf vsnprintf
49891.63Sapbdo
49901.63Sapbas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49911.63Sapbecho "$as_me:4991: checking for $ac_func" >&5
49921.63Sapbecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49931.63Sapbif eval "test \"\${$as_ac_var+set}\" = set"; then
49941.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
49951.63Sapbelse
49961.63Sapb  cat >conftest.$ac_ext <<_ACEOF
49971.63Sapb#line 4997 "configure"
49981.63Sapb#include "confdefs.h"
49991.63Sapb/* System header to define __stub macros and hopefully few prototypes,
50001.63Sapb    which can conflict with char $ac_func (); below.  */
50011.63Sapb#include <assert.h>
50021.63Sapb/* Override any gcc2 internal prototype to avoid an error.  */
50031.63Sapb#ifdef __cplusplus
50041.63Sapbextern "C"
50051.63Sapb#endif
50061.63Sapb/* We use char because int might match the return type of a gcc2
50071.63Sapb   builtin and then its argument prototype would still apply.  */
50081.63Sapbchar $ac_func ();
50091.63Sapbchar (*f) ();
50101.61Schristos
50111.61Schristosint
50121.61Schristosmain ()
50131.61Schristos{
50141.63Sapb/* The GNU C library defines this for functions which it implements
50151.63Sapb    to always fail with ENOSYS.  Some functions are actually named
50161.63Sapb    something starting with __ and the normal name is an alias.  */
50171.63Sapb#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50181.63Sapbchoke me
50191.63Sapb#else
50201.63Sapbf = $ac_func;
50211.63Sapb#endif
50221.63Sapb
50231.61Schristos  ;
50241.61Schristos  return 0;
50251.61Schristos}
50261.61Schristos_ACEOF
50271.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext
50281.63Sapbif { (eval echo "$as_me:5028: \"$ac_link\"") >&5
50291.63Sapb  (eval $ac_link) 2>&5
50301.7Stv  ac_status=$?
50311.63Sapb  echo "$as_me:5031: \$? = $ac_status" >&5
50321.7Stv  (exit $ac_status); } &&
50331.63Sapb         { ac_try='test -s conftest$ac_exeext'
50341.63Sapb  { (eval echo "$as_me:5034: \"$ac_try\"") >&5
50351.61Schristos  (eval $ac_try) 2>&5
50361.61Schristos  ac_status=$?
50371.63Sapb  echo "$as_me:5037: \$? = $ac_status" >&5
50381.53Sdogcow  (exit $ac_status); }; }; then
50391.63Sapb  eval "$as_ac_var=yes"
50401.53Sdogcowelse
50411.53Sdogcow  echo "$as_me: failed program was:" >&5
50421.63Sapbcat conftest.$ac_ext >&5
50431.63Sapbeval "$as_ac_var=no"
50441.53Sdogcowfi
50451.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50461.61Schristosfi
50471.63Sapbecho "$as_me:5047: result: `eval echo '${'$as_ac_var'}'`" >&5
50481.63Sapbecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50491.63Sapbif test `eval echo '${'$as_ac_var'}'` = yes; then
50501.63Sapb  cat >>confdefs.h <<EOF
50511.63Sapb#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50521.63SapbEOF
50531.53Sdogcow
50541.53Sdogcowfi
50551.63Sapbdone
50561.53Sdogcow
50571.63Sapbecho "$as_me:5057: checking whether strsuftoll is declared" >&5
50581.63Sapbecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
50591.63Sapbif test "${ac_cv_have_decl_strsuftoll+set}" = set; then
50601.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
50611.53Sdogcowelse
50621.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
50631.63Sapb#line 5063 "configure"
50641.63Sapb#include "confdefs.h"
50651.53Sdogcow#include <stdlib.h>
50661.61Schristos
50671.53Sdogcowint
50681.53Sdogcowmain ()
50691.53Sdogcow{
50701.63Sapb#ifndef strsuftoll
50711.63Sapb  char *p = (char *) strsuftoll;
50721.53Sdogcow#endif
50731.53Sdogcow
50741.53Sdogcow  ;
50751.53Sdogcow  return 0;
50761.53Sdogcow}
50771.53Sdogcow_ACEOF
50781.53Sdogcowrm -f conftest.$ac_objext
50791.63Sapbif { (eval echo "$as_me:5079: \"$ac_compile\"") >&5
50801.63Sapb  (eval $ac_compile) 2>&5
50811.53Sdogcow  ac_status=$?
50821.63Sapb  echo "$as_me:5082: \$? = $ac_status" >&5
50831.53Sdogcow  (exit $ac_status); } &&
50841.63Sapb         { ac_try='test -s conftest.$ac_objext'
50851.63Sapb  { (eval echo "$as_me:5085: \"$ac_try\"") >&5
50861.61Schristos  (eval $ac_try) 2>&5
50871.61Schristos  ac_status=$?
50881.63Sapb  echo "$as_me:5088: \$? = $ac_status" >&5
50891.7Stv  (exit $ac_status); }; }; then
50901.63Sapb  ac_cv_have_decl_strsuftoll=yes
50911.7Stvelse
50921.7Stv  echo "$as_me: failed program was:" >&5
50931.63Sapbcat conftest.$ac_ext >&5
50941.63Sapbac_cv_have_decl_strsuftoll=no
50951.7Stvfi
50961.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
50971.7Stvfi
50981.63Sapbecho "$as_me:5098: result: $ac_cv_have_decl_strsuftoll" >&5
50991.63Sapbecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
51001.63Sapbif test $ac_cv_have_decl_strsuftoll = yes; then
51011.61Schristos
51021.63Sapbcat >>confdefs.h <<EOF
51031.63Sapb#define HAVE_DECL_STRSUFTOLL 1
51041.63SapbEOF
51051.7Stv
51061.7Stvelse
51071.63Sapb  cat >>confdefs.h <<EOF
51081.63Sapb#define HAVE_DECL_STRSUFTOLL 0
51091.63SapbEOF
51101.61Schristos
51111.63Sapbfi
51121.7Stv
51131.63Sapbecho "$as_me:5113: checking whether htobe16 is declared" >&5
51141.63Sapbecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
51151.63Sapbif test "${ac_cv_have_decl_htobe16+set}" = set; then
51161.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51171.7Stvelse
51181.7Stv  cat >conftest.$ac_ext <<_ACEOF
51191.63Sapb#line 5119 "configure"
51201.63Sapb#include "confdefs.h"
51211.63Sapb#include <sys/types.h>
51221.61Schristos
51231.7Stvint
51241.7Stvmain ()
51251.7Stv{
51261.63Sapb#ifndef htobe16
51271.63Sapb  char *p = (char *) htobe16;
51281.7Stv#endif
51291.7Stv
51301.7Stv  ;
51311.7Stv  return 0;
51321.7Stv}
51331.7Stv_ACEOF
51341.7Stvrm -f conftest.$ac_objext
51351.63Sapbif { (eval echo "$as_me:5135: \"$ac_compile\"") >&5
51361.63Sapb  (eval $ac_compile) 2>&5
51371.7Stv  ac_status=$?
51381.63Sapb  echo "$as_me:5138: \$? = $ac_status" >&5
51391.7Stv  (exit $ac_status); } &&
51401.63Sapb         { ac_try='test -s conftest.$ac_objext'
51411.63Sapb  { (eval echo "$as_me:5141: \"$ac_try\"") >&5
51421.61Schristos  (eval $ac_try) 2>&5
51431.61Schristos  ac_status=$?
51441.63Sapb  echo "$as_me:5144: \$? = $ac_status" >&5
51451.7Stv  (exit $ac_status); }; }; then
51461.63Sapb  ac_cv_have_decl_htobe16=yes
51471.7Stvelse
51481.7Stv  echo "$as_me: failed program was:" >&5
51491.63Sapbcat conftest.$ac_ext >&5
51501.63Sapbac_cv_have_decl_htobe16=no
51511.7Stvfi
51521.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
51531.7Stvfi
51541.63Sapbecho "$as_me:5154: result: $ac_cv_have_decl_htobe16" >&5
51551.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
51561.63Sapbif test $ac_cv_have_decl_htobe16 = yes; then
51571.61Schristos
51581.63Sapbcat >>confdefs.h <<EOF
51591.63Sapb#define HAVE_DECL_HTOBE16 1
51601.63SapbEOF
51611.7Stv
51621.7Stvelse
51631.63Sapb  cat >>confdefs.h <<EOF
51641.63Sapb#define HAVE_DECL_HTOBE16 0
51651.63SapbEOF
51661.7Stv
51671.7Stvfi
51681.63Sapbecho "$as_me:5168: checking whether htobe32 is declared" >&5
51691.63Sapbecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
51701.63Sapbif test "${ac_cv_have_decl_htobe32+set}" = set; then
51711.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51721.4Stvelse
51731.4Stv  cat >conftest.$ac_ext <<_ACEOF
51741.63Sapb#line 5174 "configure"
51751.63Sapb#include "confdefs.h"
51761.63Sapb#include <sys/types.h>
51771.4Stv
51781.4Stvint
51791.4Stvmain ()
51801.4Stv{
51811.63Sapb#ifndef htobe32
51821.63Sapb  char *p = (char *) htobe32;
51831.4Stv#endif
51841.4Stv
51851.4Stv  ;
51861.4Stv  return 0;
51871.4Stv}
51881.4Stv_ACEOF
51891.4Stvrm -f conftest.$ac_objext
51901.63Sapbif { (eval echo "$as_me:5190: \"$ac_compile\"") >&5
51911.63Sapb  (eval $ac_compile) 2>&5
51921.4Stv  ac_status=$?
51931.63Sapb  echo "$as_me:5193: \$? = $ac_status" >&5
51941.4Stv  (exit $ac_status); } &&
51951.63Sapb         { ac_try='test -s conftest.$ac_objext'
51961.63Sapb  { (eval echo "$as_me:5196: \"$ac_try\"") >&5
51971.53Sdogcow  (eval $ac_try) 2>&5
51981.53Sdogcow  ac_status=$?
51991.63Sapb  echo "$as_me:5199: \$? = $ac_status" >&5
52001.4Stv  (exit $ac_status); }; }; then
52011.63Sapb  ac_cv_have_decl_htobe32=yes
52021.4Stvelse
52031.4Stv  echo "$as_me: failed program was:" >&5
52041.63Sapbcat conftest.$ac_ext >&5
52051.63Sapbac_cv_have_decl_htobe32=no
52061.4Stvfi
52071.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
52081.4Stvfi
52091.63Sapbecho "$as_me:5209: result: $ac_cv_have_decl_htobe32" >&5
52101.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
52111.63Sapbif test $ac_cv_have_decl_htobe32 = yes; then
52121.61Schristos
52131.63Sapbcat >>confdefs.h <<EOF
52141.63Sapb#define HAVE_DECL_HTOBE32 1
52151.63SapbEOF
52161.4Stv
52171.4Stvelse
52181.63Sapb  cat >>confdefs.h <<EOF
52191.63Sapb#define HAVE_DECL_HTOBE32 0
52201.63SapbEOF
52211.4Stv
52221.4Stvfi
52231.63Sapbecho "$as_me:5223: checking whether htobe64 is declared" >&5
52241.63Sapbecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
52251.63Sapbif test "${ac_cv_have_decl_htobe64+set}" = set; then
52261.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
52271.19Sbjh21else
52281.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
52291.63Sapb#line 5229 "configure"
52301.63Sapb#include "confdefs.h"
52311.63Sapb#include <sys/types.h>
52321.63Sapb
52331.19Sbjh21int
52341.19Sbjh21main ()
52351.19Sbjh21{
52361.63Sapb#ifndef htobe64
52371.63Sapb  char *p = (char *) htobe64;
52381.63Sapb#endif
52391.63Sapb
52401.19Sbjh21  ;
52411.19Sbjh21  return 0;
52421.19Sbjh21}
52431.19Sbjh21_ACEOF
52441.63Sapbrm -f conftest.$ac_objext
52451.63Sapbif { (eval echo "$as_me:5245: \"$ac_compile\"") >&5
52461.63Sapb  (eval $ac_compile) 2>&5
52471.19Sbjh21  ac_status=$?
52481.63Sapb  echo "$as_me:5248: \$? = $ac_status" >&5
52491.19Sbjh21  (exit $ac_status); } &&
52501.63Sapb         { ac_try='test -s conftest.$ac_objext'
52511.63Sapb  { (eval echo "$as_me:5251: \"$ac_try\"") >&5
52521.50Sjmc  (eval $ac_try) 2>&5
52531.50Sjmc  ac_status=$?
52541.63Sapb  echo "$as_me:5254: \$? = $ac_status" >&5
52551.19Sbjh21  (exit $ac_status); }; }; then
52561.63Sapb  ac_cv_have_decl_htobe64=yes
52571.19Sbjh21else
52581.19Sbjh21  echo "$as_me: failed program was:" >&5
52591.63Sapbcat conftest.$ac_ext >&5
52601.63Sapbac_cv_have_decl_htobe64=no
52611.19Sbjh21fi
52621.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
52631.19Sbjh21fi
52641.63Sapbecho "$as_me:5264: result: $ac_cv_have_decl_htobe64" >&5
52651.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
52661.63Sapbif test $ac_cv_have_decl_htobe64 = yes; then
52671.63Sapb
52681.63Sapbcat >>confdefs.h <<EOF
52691.63Sapb#define HAVE_DECL_HTOBE64 1
52701.63SapbEOF
52711.19Sbjh21
52721.63Sapbelse
52731.63Sapb  cat >>confdefs.h <<EOF
52741.63Sapb#define HAVE_DECL_HTOBE64 0
52751.63SapbEOF
52761.19Sbjh21
52771.19Sbjh21fi
52781.63Sapbecho "$as_me:5278: checking whether htole16 is declared" >&5
52791.63Sapbecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
52801.63Sapbif test "${ac_cv_have_decl_htole16+set}" = set; then
52811.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
52821.19Sbjh21else
52831.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
52841.63Sapb#line 5284 "configure"
52851.63Sapb#include "confdefs.h"
52861.63Sapb#include <sys/types.h>
52871.63Sapb
52881.63Sapbint
52891.63Sapbmain ()
52901.63Sapb{
52911.63Sapb#ifndef htole16
52921.63Sapb  char *p = (char *) htole16;
52931.19Sbjh21#endif
52941.19Sbjh21
52951.19Sbjh21  ;
52961.19Sbjh21  return 0;
52971.19Sbjh21}
52981.19Sbjh21_ACEOF
52991.63Sapbrm -f conftest.$ac_objext
53001.63Sapbif { (eval echo "$as_me:5300: \"$ac_compile\"") >&5
53011.63Sapb  (eval $ac_compile) 2>&5
53021.19Sbjh21  ac_status=$?
53031.63Sapb  echo "$as_me:5303: \$? = $ac_status" >&5
53041.19Sbjh21  (exit $ac_status); } &&
53051.63Sapb         { ac_try='test -s conftest.$ac_objext'
53061.63Sapb  { (eval echo "$as_me:5306: \"$ac_try\"") >&5
53071.50Sjmc  (eval $ac_try) 2>&5
53081.50Sjmc  ac_status=$?
53091.63Sapb  echo "$as_me:5309: \$? = $ac_status" >&5
53101.19Sbjh21  (exit $ac_status); }; }; then
53111.63Sapb  ac_cv_have_decl_htole16=yes
53121.19Sbjh21else
53131.19Sbjh21  echo "$as_me: failed program was:" >&5
53141.63Sapbcat conftest.$ac_ext >&5
53151.63Sapbac_cv_have_decl_htole16=no
53161.19Sbjh21fi
53171.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
53181.19Sbjh21fi
53191.63Sapbecho "$as_me:5319: result: $ac_cv_have_decl_htole16" >&5
53201.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
53211.63Sapbif test $ac_cv_have_decl_htole16 = yes; then
53221.19Sbjh21
53231.63Sapbcat >>confdefs.h <<EOF
53241.63Sapb#define HAVE_DECL_HTOLE16 1
53251.63SapbEOF
53261.19Sbjh21
53271.63Sapbelse
53281.63Sapb  cat >>confdefs.h <<EOF
53291.63Sapb#define HAVE_DECL_HTOLE16 0
53301.63SapbEOF
53311.19Sbjh21
53321.63Sapbfi
53331.63Sapbecho "$as_me:5333: checking whether htole32 is declared" >&5
53341.63Sapbecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
53351.63Sapbif test "${ac_cv_have_decl_htole32+set}" = set; then
53361.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
53371.19Sbjh21else
53381.63Sapb  cat >conftest.$ac_ext <<_ACEOF
53391.63Sapb#line 5339 "configure"
53401.63Sapb#include "confdefs.h"
53411.63Sapb#include <sys/types.h>
53421.19Sbjh21
53431.63Sapbint
53441.63Sapbmain ()
53451.63Sapb{
53461.63Sapb#ifndef htole32
53471.63Sapb  char *p = (char *) htole32;
53481.63Sapb#endif
53491.19Sbjh21
53501.63Sapb  ;
53511.63Sapb  return 0;
53521.63Sapb}
53531.61Schristos_ACEOF
53541.63Sapbrm -f conftest.$ac_objext
53551.63Sapbif { (eval echo "$as_me:5355: \"$ac_compile\"") >&5
53561.63Sapb  (eval $ac_compile) 2>&5
53571.63Sapb  ac_status=$?
53581.63Sapb  echo "$as_me:5358: \$? = $ac_status" >&5
53591.63Sapb  (exit $ac_status); } &&
53601.63Sapb         { ac_try='test -s conftest.$ac_objext'
53611.63Sapb  { (eval echo "$as_me:5361: \"$ac_try\"") >&5
53621.63Sapb  (eval $ac_try) 2>&5
53631.63Sapb  ac_status=$?
53641.63Sapb  echo "$as_me:5364: \$? = $ac_status" >&5
53651.63Sapb  (exit $ac_status); }; }; then
53661.63Sapb  ac_cv_have_decl_htole32=yes
53671.63Sapbelse
53681.63Sapb  echo "$as_me: failed program was:" >&5
53691.63Sapbcat conftest.$ac_ext >&5
53701.63Sapbac_cv_have_decl_htole32=no
53711.63Sapbfi
53721.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
53731.63Sapbfi
53741.63Sapbecho "$as_me:5374: result: $ac_cv_have_decl_htole32" >&5
53751.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
53761.63Sapbif test $ac_cv_have_decl_htole32 = yes; then
53771.39Sfredb
53781.63Sapbcat >>confdefs.h <<EOF
53791.63Sapb#define HAVE_DECL_HTOLE32 1
53801.63SapbEOF
53811.63Sapb
53821.63Sapbelse
53831.63Sapb  cat >>confdefs.h <<EOF
53841.63Sapb#define HAVE_DECL_HTOLE32 0
53851.63SapbEOF
53861.61Schristos
53871.63Sapbfi
53881.63Sapbecho "$as_me:5388: checking whether htole64 is declared" >&5
53891.63Sapbecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
53901.63Sapbif test "${ac_cv_have_decl_htole64+set}" = set; then
53911.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
53921.19Sbjh21else
53931.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
53941.63Sapb#line 5394 "configure"
53951.63Sapb#include "confdefs.h"
53961.63Sapb#include <sys/types.h>
53971.63Sapb
53981.63Sapbint
53991.63Sapbmain ()
54001.63Sapb{
54011.63Sapb#ifndef htole64
54021.63Sapb  char *p = (char *) htole64;
54031.19Sbjh21#endif
54041.19Sbjh21
54051.63Sapb  ;
54061.63Sapb  return 0;
54071.63Sapb}
54081.19Sbjh21_ACEOF
54091.63Sapbrm -f conftest.$ac_objext
54101.63Sapbif { (eval echo "$as_me:5410: \"$ac_compile\"") >&5
54111.63Sapb  (eval $ac_compile) 2>&5
54121.63Sapb  ac_status=$?
54131.63Sapb  echo "$as_me:5413: \$? = $ac_status" >&5
54141.63Sapb  (exit $ac_status); } &&
54151.63Sapb         { ac_try='test -s conftest.$ac_objext'
54161.63Sapb  { (eval echo "$as_me:5416: \"$ac_try\"") >&5
54171.63Sapb  (eval $ac_try) 2>&5
54181.63Sapb  ac_status=$?
54191.63Sapb  echo "$as_me:5419: \$? = $ac_status" >&5
54201.63Sapb  (exit $ac_status); }; }; then
54211.63Sapb  ac_cv_have_decl_htole64=yes
54221.19Sbjh21else
54231.63Sapb  echo "$as_me: failed program was:" >&5
54241.63Sapbcat conftest.$ac_ext >&5
54251.63Sapbac_cv_have_decl_htole64=no
54261.63Sapbfi
54271.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
54281.19Sbjh21fi
54291.63Sapbecho "$as_me:5429: result: $ac_cv_have_decl_htole64" >&5
54301.63Sapbecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
54311.63Sapbif test $ac_cv_have_decl_htole64 = yes; then
54321.63Sapb
54331.63Sapbcat >>confdefs.h <<EOF
54341.63Sapb#define HAVE_DECL_HTOLE64 1
54351.63SapbEOF
54361.63Sapb
54371.63Sapbelse
54381.63Sapb  cat >>confdefs.h <<EOF
54391.63Sapb#define HAVE_DECL_HTOLE64 0
54401.63SapbEOF
54411.19Sbjh21
54421.19Sbjh21fi
54431.63Sapbecho "$as_me:5443: checking whether be16toh is declared" >&5
54441.63Sapbecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
54451.63Sapbif test "${ac_cv_have_decl_be16toh+set}" = set; then
54461.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
54471.19Sbjh21else
54481.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
54491.63Sapb#line 5449 "configure"
54501.63Sapb#include "confdefs.h"
54511.63Sapb#include <sys/types.h>
54521.61Schristos
54531.63Sapbint
54541.63Sapbmain ()
54551.61Schristos{
54561.63Sapb#ifndef be16toh
54571.63Sapb  char *p = (char *) be16toh;
54581.19Sbjh21#endif
54591.19Sbjh21
54601.19Sbjh21  ;
54611.19Sbjh21  return 0;
54621.19Sbjh21}
54631.19Sbjh21_ACEOF
54641.63Sapbrm -f conftest.$ac_objext
54651.63Sapbif { (eval echo "$as_me:5465: \"$ac_compile\"") >&5
54661.63Sapb  (eval $ac_compile) 2>&5
54671.61Schristos  ac_status=$?
54681.63Sapb  echo "$as_me:5468: \$? = $ac_status" >&5
54691.61Schristos  (exit $ac_status); } &&
54701.63Sapb         { ac_try='test -s conftest.$ac_objext'
54711.63Sapb  { (eval echo "$as_me:5471: \"$ac_try\"") >&5
54721.61Schristos  (eval $ac_try) 2>&5
54731.19Sbjh21  ac_status=$?
54741.63Sapb  echo "$as_me:5474: \$? = $ac_status" >&5
54751.19Sbjh21  (exit $ac_status); }; }; then
54761.63Sapb  ac_cv_have_decl_be16toh=yes
54771.19Sbjh21else
54781.19Sbjh21  echo "$as_me: failed program was:" >&5
54791.63Sapbcat conftest.$ac_ext >&5
54801.63Sapbac_cv_have_decl_be16toh=no
54811.19Sbjh21fi
54821.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
54831.19Sbjh21fi
54841.63Sapbecho "$as_me:5484: result: $ac_cv_have_decl_be16toh" >&5
54851.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
54861.63Sapbif test $ac_cv_have_decl_be16toh = yes; then
54871.19Sbjh21
54881.63Sapbcat >>confdefs.h <<EOF
54891.63Sapb#define HAVE_DECL_BE16TOH 1
54901.63SapbEOF
54911.19Sbjh21
54921.63Sapbelse
54931.63Sapb  cat >>confdefs.h <<EOF
54941.63Sapb#define HAVE_DECL_BE16TOH 0
54951.63SapbEOF
54961.19Sbjh21
54971.19Sbjh21fi
54981.63Sapbecho "$as_me:5498: checking whether be32toh is declared" >&5
54991.63Sapbecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
55001.63Sapbif test "${ac_cv_have_decl_be32toh+set}" = set; then
55011.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
55021.19Sbjh21else
55031.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
55041.63Sapb#line 5504 "configure"
55051.63Sapb#include "confdefs.h"
55061.63Sapb#include <sys/types.h>
55071.19Sbjh21
55081.43Sdbjint
55091.43Sdbjmain ()
55101.43Sdbj{
55111.63Sapb#ifndef be32toh
55121.63Sapb  char *p = (char *) be32toh;
55131.63Sapb#endif
55141.63Sapb
55151.63Sapb  ;
55161.63Sapb  return 0;
55171.43Sdbj}
55181.43Sdbj_ACEOF
55191.63Sapbrm -f conftest.$ac_objext
55201.63Sapbif { (eval echo "$as_me:5520: \"$ac_compile\"") >&5
55211.63Sapb  (eval $ac_compile) 2>&5
55221.43Sdbj  ac_status=$?
55231.63Sapb  echo "$as_me:5523: \$? = $ac_status" >&5
55241.63Sapb  (exit $ac_status); } &&
55251.63Sapb         { ac_try='test -s conftest.$ac_objext'
55261.63Sapb  { (eval echo "$as_me:5526: \"$ac_try\"") >&5
55271.43Sdbj  (eval $ac_try) 2>&5
55281.43Sdbj  ac_status=$?
55291.63Sapb  echo "$as_me:5529: \$? = $ac_status" >&5
55301.43Sdbj  (exit $ac_status); }; }; then
55311.63Sapb  ac_cv_have_decl_be32toh=yes
55321.43Sdbjelse
55331.63Sapb  echo "$as_me: failed program was:" >&5
55341.63Sapbcat conftest.$ac_ext >&5
55351.63Sapbac_cv_have_decl_be32toh=no
55361.43Sdbjfi
55371.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
55381.43Sdbjfi
55391.63Sapbecho "$as_me:5539: result: $ac_cv_have_decl_be32toh" >&5
55401.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
55411.63Sapbif test $ac_cv_have_decl_be32toh = yes; then
55421.39Sfredb
55431.63Sapbcat >>confdefs.h <<EOF
55441.63Sapb#define HAVE_DECL_BE32TOH 1
55451.63SapbEOF
55461.61Schristos
55471.63Sapbelse
55481.63Sapb  cat >>confdefs.h <<EOF
55491.63Sapb#define HAVE_DECL_BE32TOH 0
55501.63SapbEOF
55511.39Sfredb
55521.43Sdbjfi
55531.63Sapbecho "$as_me:5553: checking whether be64toh is declared" >&5
55541.63Sapbecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
55551.63Sapbif test "${ac_cv_have_decl_be64toh+set}" = set; then
55561.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
55571.63Sapbelse
55581.63Sapb  cat >conftest.$ac_ext <<_ACEOF
55591.63Sapb#line 5559 "configure"
55601.63Sapb#include "confdefs.h"
55611.63Sapb#include <sys/types.h>
55621.40Satatat
55631.63Sapbint
55641.63Sapbmain ()
55651.63Sapb{
55661.63Sapb#ifndef be64toh
55671.63Sapb  char *p = (char *) be64toh;
55681.63Sapb#endif
55691.61Schristos
55701.63Sapb  ;
55711.63Sapb  return 0;
55721.63Sapb}
55731.63Sapb_ACEOF
55741.63Sapbrm -f conftest.$ac_objext
55751.63Sapbif { (eval echo "$as_me:5575: \"$ac_compile\"") >&5
55761.63Sapb  (eval $ac_compile) 2>&5
55771.63Sapb  ac_status=$?
55781.63Sapb  echo "$as_me:5578: \$? = $ac_status" >&5
55791.63Sapb  (exit $ac_status); } &&
55801.63Sapb         { ac_try='test -s conftest.$ac_objext'
55811.63Sapb  { (eval echo "$as_me:5581: \"$ac_try\"") >&5
55821.63Sapb  (eval $ac_try) 2>&5
55831.63Sapb  ac_status=$?
55841.63Sapb  echo "$as_me:5584: \$? = $ac_status" >&5
55851.63Sapb  (exit $ac_status); }; }; then
55861.63Sapb  ac_cv_have_decl_be64toh=yes
55871.63Sapbelse
55881.63Sapb  echo "$as_me: failed program was:" >&5
55891.63Sapbcat conftest.$ac_ext >&5
55901.63Sapbac_cv_have_decl_be64toh=no
55911.63Sapbfi
55921.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
55931.63Sapbfi
55941.63Sapbecho "$as_me:5594: result: $ac_cv_have_decl_be64toh" >&5
55951.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
55961.63Sapbif test $ac_cv_have_decl_be64toh = yes; then
55971.61Schristos
55981.63Sapbcat >>confdefs.h <<EOF
55991.63Sapb#define HAVE_DECL_BE64TOH 1
56001.63SapbEOF
56011.61Schristos
56021.63Sapbelse
56031.63Sapb  cat >>confdefs.h <<EOF
56041.63Sapb#define HAVE_DECL_BE64TOH 0
56051.63SapbEOF
56061.61Schristos
56071.63Sapbfi
56081.63Sapbecho "$as_me:5608: checking whether le16toh is declared" >&5
56091.63Sapbecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
56101.63Sapbif test "${ac_cv_have_decl_le16toh+set}" = set; then
56111.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
56121.63Sapbelse
56131.63Sapb  cat >conftest.$ac_ext <<_ACEOF
56141.63Sapb#line 5614 "configure"
56151.63Sapb#include "confdefs.h"
56161.63Sapb#include <sys/types.h>
56171.61Schristos
56181.63Sapbint
56191.63Sapbmain ()
56201.63Sapb{
56211.63Sapb#ifndef le16toh
56221.63Sapb  char *p = (char *) le16toh;
56231.63Sapb#endif
56241.61Schristos
56251.63Sapb  ;
56261.63Sapb  return 0;
56271.63Sapb}
56281.63Sapb_ACEOF
56291.63Sapbrm -f conftest.$ac_objext
56301.63Sapbif { (eval echo "$as_me:5630: \"$ac_compile\"") >&5
56311.63Sapb  (eval $ac_compile) 2>&5
56321.63Sapb  ac_status=$?
56331.63Sapb  echo "$as_me:5633: \$? = $ac_status" >&5
56341.63Sapb  (exit $ac_status); } &&
56351.63Sapb         { ac_try='test -s conftest.$ac_objext'
56361.63Sapb  { (eval echo "$as_me:5636: \"$ac_try\"") >&5
56371.63Sapb  (eval $ac_try) 2>&5
56381.63Sapb  ac_status=$?
56391.63Sapb  echo "$as_me:5639: \$? = $ac_status" >&5
56401.63Sapb  (exit $ac_status); }; }; then
56411.63Sapb  ac_cv_have_decl_le16toh=yes
56421.63Sapbelse
56431.63Sapb  echo "$as_me: failed program was:" >&5
56441.63Sapbcat conftest.$ac_ext >&5
56451.63Sapbac_cv_have_decl_le16toh=no
56461.63Sapbfi
56471.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
56481.63Sapbfi
56491.63Sapbecho "$as_me:5649: result: $ac_cv_have_decl_le16toh" >&5
56501.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
56511.63Sapbif test $ac_cv_have_decl_le16toh = yes; then
56521.61Schristos
56531.63Sapbcat >>confdefs.h <<EOF
56541.63Sapb#define HAVE_DECL_LE16TOH 1
56551.63SapbEOF
56561.61Schristos
56571.63Sapbelse
56581.63Sapb  cat >>confdefs.h <<EOF
56591.63Sapb#define HAVE_DECL_LE16TOH 0
56601.63SapbEOF
56611.61Schristos
56621.63Sapbfi
56631.63Sapbecho "$as_me:5663: checking whether le32toh is declared" >&5
56641.63Sapbecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
56651.63Sapbif test "${ac_cv_have_decl_le32toh+set}" = set; then
56661.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
56671.45Sjmcelse
56681.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
56691.63Sapb#line 5669 "configure"
56701.63Sapb#include "confdefs.h"
56711.63Sapb#include <sys/types.h>
56721.61Schristos
56731.63Sapbint
56741.63Sapbmain ()
56751.61Schristos{
56761.63Sapb#ifndef le32toh
56771.63Sapb  char *p = (char *) le32toh;
56781.45Sjmc#endif
56791.45Sjmc
56801.45Sjmc  ;
56811.45Sjmc  return 0;
56821.45Sjmc}
56831.45Sjmc_ACEOF
56841.63Sapbrm -f conftest.$ac_objext
56851.63Sapbif { (eval echo "$as_me:5685: \"$ac_compile\"") >&5
56861.63Sapb  (eval $ac_compile) 2>&5
56871.45Sjmc  ac_status=$?
56881.63Sapb  echo "$as_me:5688: \$? = $ac_status" >&5
56891.45Sjmc  (exit $ac_status); } &&
56901.63Sapb         { ac_try='test -s conftest.$ac_objext'
56911.63Sapb  { (eval echo "$as_me:5691: \"$ac_try\"") >&5
56921.50Sjmc  (eval $ac_try) 2>&5
56931.50Sjmc  ac_status=$?
56941.63Sapb  echo "$as_me:5694: \$? = $ac_status" >&5
56951.45Sjmc  (exit $ac_status); }; }; then
56961.63Sapb  ac_cv_have_decl_le32toh=yes
56971.45Sjmcelse
56981.45Sjmc  echo "$as_me: failed program was:" >&5
56991.63Sapbcat conftest.$ac_ext >&5
57001.63Sapbac_cv_have_decl_le32toh=no
57011.45Sjmcfi
57021.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
57031.45Sjmcfi
57041.63Sapbecho "$as_me:5704: result: $ac_cv_have_decl_le32toh" >&5
57051.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
57061.63Sapbif test $ac_cv_have_decl_le32toh = yes; then
57071.45Sjmc
57081.63Sapbcat >>confdefs.h <<EOF
57091.63Sapb#define HAVE_DECL_LE32TOH 1
57101.63SapbEOF
57111.45Sjmc
57121.63Sapbelse
57131.63Sapb  cat >>confdefs.h <<EOF
57141.63Sapb#define HAVE_DECL_LE32TOH 0
57151.63SapbEOF
57161.61Schristos
57171.63Sapbfi
57181.63Sapbecho "$as_me:5718: checking whether le64toh is declared" >&5
57191.63Sapbecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
57201.63Sapbif test "${ac_cv_have_decl_le64toh+set}" = set; then
57211.55Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
57221.55Swizelse
57231.55Swiz  cat >conftest.$ac_ext <<_ACEOF
57241.63Sapb#line 5724 "configure"
57251.63Sapb#include "confdefs.h"
57261.63Sapb#include <sys/types.h>
57271.55Swiz
57281.55Swizint
57291.55Swizmain ()
57301.55Swiz{
57311.63Sapb#ifndef le64toh
57321.63Sapb  char *p = (char *) le64toh;
57331.55Swiz#endif
57341.55Swiz
57351.55Swiz  ;
57361.55Swiz  return 0;
57371.55Swiz}
57381.55Swiz_ACEOF
57391.55Swizrm -f conftest.$ac_objext
57401.63Sapbif { (eval echo "$as_me:5740: \"$ac_compile\"") >&5
57411.63Sapb  (eval $ac_compile) 2>&5
57421.55Swiz  ac_status=$?
57431.63Sapb  echo "$as_me:5743: \$? = $ac_status" >&5
57441.55Swiz  (exit $ac_status); } &&
57451.63Sapb         { ac_try='test -s conftest.$ac_objext'
57461.63Sapb  { (eval echo "$as_me:5746: \"$ac_try\"") >&5
57471.55Swiz  (eval $ac_try) 2>&5
57481.55Swiz  ac_status=$?
57491.63Sapb  echo "$as_me:5749: \$? = $ac_status" >&5
57501.55Swiz  (exit $ac_status); }; }; then
57511.63Sapb  ac_cv_have_decl_le64toh=yes
57521.55Swizelse
57531.55Swiz  echo "$as_me: failed program was:" >&5
57541.63Sapbcat conftest.$ac_ext >&5
57551.63Sapbac_cv_have_decl_le64toh=no
57561.55Swizfi
57571.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
57581.55Swizfi
57591.63Sapbecho "$as_me:5759: result: $ac_cv_have_decl_le64toh" >&5
57601.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
57611.63Sapbif test $ac_cv_have_decl_le64toh = yes; then
57621.61Schristos
57631.63Sapbcat >>confdefs.h <<EOF
57641.63Sapb#define HAVE_DECL_LE64TOH 1
57651.63SapbEOF
57661.55Swiz
57671.55Swizelse
57681.63Sapb  cat >>confdefs.h <<EOF
57691.63Sapb#define HAVE_DECL_LE64TOH 0
57701.63SapbEOF
57711.55Swiz
57721.55Swizfi
57731.55Swiz
57741.63Sapbecho "$as_me:5774: checking whether bswap16 is declared" >&5
57751.63Sapbecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
57761.63Sapbif test "${ac_cv_have_decl_bswap16+set}" = set; then
57771.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
57781.45Sjmcelse
57791.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
57801.63Sapb#line 5780 "configure"
57811.63Sapb#include "confdefs.h"
57821.63Sapb#include <machine/bswap.h>
57831.53Sdogcow
57841.52Sdbjint
57851.52Sdbjmain ()
57861.52Sdbj{
57871.63Sapb#ifndef bswap16
57881.63Sapb  char *p = (char *) bswap16;
57891.48Sjmc#endif
57901.45Sjmc
57911.48Sjmc  ;
57921.48Sjmc  return 0;
57931.48Sjmc}
57941.48Sjmc_ACEOF
57951.53Sdogcowrm -f conftest.$ac_objext
57961.63Sapbif { (eval echo "$as_me:5796: \"$ac_compile\"") >&5
57971.63Sapb  (eval $ac_compile) 2>&5
57981.48Sjmc  ac_status=$?
57991.63Sapb  echo "$as_me:5799: \$? = $ac_status" >&5
58001.48Sjmc  (exit $ac_status); } &&
58011.63Sapb         { ac_try='test -s conftest.$ac_objext'
58021.63Sapb  { (eval echo "$as_me:5802: \"$ac_try\"") >&5
58031.48Sjmc  (eval $ac_try) 2>&5
58041.48Sjmc  ac_status=$?
58051.63Sapb  echo "$as_me:5805: \$? = $ac_status" >&5
58061.48Sjmc  (exit $ac_status); }; }; then
58071.63Sapb  ac_cv_have_decl_bswap16=yes
58081.48Sjmcelse
58091.48Sjmc  echo "$as_me: failed program was:" >&5
58101.63Sapbcat conftest.$ac_ext >&5
58111.63Sapbac_cv_have_decl_bswap16=no
58121.48Sjmcfi
58131.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
58141.48Sjmcfi
58151.63Sapbecho "$as_me:5815: result: $ac_cv_have_decl_bswap16" >&5
58161.63Sapbecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
58171.63Sapbif test $ac_cv_have_decl_bswap16 = yes; then
58181.61Schristos
58191.63Sapbcat >>confdefs.h <<EOF
58201.63Sapb#define HAVE_DECL_BSWAP16 1
58211.63SapbEOF
58221.53Sdogcow
58231.53Sdogcowelse
58241.63Sapb  cat >>confdefs.h <<EOF
58251.63Sapb#define HAVE_DECL_BSWAP16 0
58261.63SapbEOF
58271.48Sjmc
58281.48Sjmcfi
58291.63Sapbecho "$as_me:5829: checking whether bswap32 is declared" >&5
58301.63Sapbecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
58311.63Sapbif test "${ac_cv_have_decl_bswap32+set}" = set; then
58321.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
58331.48Sjmcelse
58341.48Sjmc  cat >conftest.$ac_ext <<_ACEOF
58351.63Sapb#line 5835 "configure"
58361.63Sapb#include "confdefs.h"
58371.63Sapb#include <machine/bswap.h>
58381.53Sdogcow
58391.53Sdogcowint
58401.53Sdogcowmain ()
58411.53Sdogcow{
58421.63Sapb#ifndef bswap32
58431.63Sapb  char *p = (char *) bswap32;
58441.53Sdogcow#endif
58451.53Sdogcow
58461.53Sdogcow  ;
58471.53Sdogcow  return 0;
58481.53Sdogcow}
58491.53Sdogcow_ACEOF
58501.53Sdogcowrm -f conftest.$ac_objext
58511.63Sapbif { (eval echo "$as_me:5851: \"$ac_compile\"") >&5
58521.63Sapb  (eval $ac_compile) 2>&5
58531.53Sdogcow  ac_status=$?
58541.63Sapb  echo "$as_me:5854: \$? = $ac_status" >&5
58551.53Sdogcow  (exit $ac_status); } &&
58561.63Sapb         { ac_try='test -s conftest.$ac_objext'
58571.63Sapb  { (eval echo "$as_me:5857: \"$ac_try\"") >&5
58581.53Sdogcow  (eval $ac_try) 2>&5
58591.53Sdogcow  ac_status=$?
58601.63Sapb  echo "$as_me:5860: \$? = $ac_status" >&5
58611.53Sdogcow  (exit $ac_status); }; }; then
58621.63Sapb  ac_cv_have_decl_bswap32=yes
58631.53Sdogcowelse
58641.53Sdogcow  echo "$as_me: failed program was:" >&5
58651.63Sapbcat conftest.$ac_ext >&5
58661.63Sapbac_cv_have_decl_bswap32=no
58671.53Sdogcowfi
58681.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
58691.53Sdogcowfi
58701.63Sapbecho "$as_me:5870: result: $ac_cv_have_decl_bswap32" >&5
58711.63Sapbecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
58721.63Sapbif test $ac_cv_have_decl_bswap32 = yes; then
58731.61Schristos
58741.63Sapbcat >>confdefs.h <<EOF
58751.63Sapb#define HAVE_DECL_BSWAP32 1
58761.63SapbEOF
58771.53Sdogcow
58781.53Sdogcowelse
58791.63Sapb  cat >>confdefs.h <<EOF
58801.63Sapb#define HAVE_DECL_BSWAP32 0
58811.63SapbEOF
58821.53Sdogcow
58831.53Sdogcowfi
58841.63Sapbecho "$as_me:5884: checking whether bswap64 is declared" >&5
58851.63Sapbecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
58861.63Sapbif test "${ac_cv_have_decl_bswap64+set}" = set; then
58871.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
58881.53Sdogcowelse
58891.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
58901.63Sapb#line 5890 "configure"
58911.63Sapb#include "confdefs.h"
58921.63Sapb#include <machine/bswap.h>
58931.53Sdogcow
58941.53Sdogcowint
58951.53Sdogcowmain ()
58961.53Sdogcow{
58971.63Sapb#ifndef bswap64
58981.63Sapb  char *p = (char *) bswap64;
58991.53Sdogcow#endif
59001.53Sdogcow
59011.53Sdogcow  ;
59021.53Sdogcow  return 0;
59031.53Sdogcow}
59041.53Sdogcow_ACEOF
59051.53Sdogcowrm -f conftest.$ac_objext
59061.63Sapbif { (eval echo "$as_me:5906: \"$ac_compile\"") >&5
59071.63Sapb  (eval $ac_compile) 2>&5
59081.53Sdogcow  ac_status=$?
59091.63Sapb  echo "$as_me:5909: \$? = $ac_status" >&5
59101.53Sdogcow  (exit $ac_status); } &&
59111.63Sapb         { ac_try='test -s conftest.$ac_objext'
59121.63Sapb  { (eval echo "$as_me:5912: \"$ac_try\"") >&5
59131.53Sdogcow  (eval $ac_try) 2>&5
59141.53Sdogcow  ac_status=$?
59151.63Sapb  echo "$as_me:5915: \$? = $ac_status" >&5
59161.53Sdogcow  (exit $ac_status); }; }; then
59171.63Sapb  ac_cv_have_decl_bswap64=yes
59181.53Sdogcowelse
59191.53Sdogcow  echo "$as_me: failed program was:" >&5
59201.63Sapbcat conftest.$ac_ext >&5
59211.63Sapbac_cv_have_decl_bswap64=no
59221.53Sdogcowfi
59231.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
59241.53Sdogcowfi
59251.63Sapbecho "$as_me:5925: result: $ac_cv_have_decl_bswap64" >&5
59261.63Sapbecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
59271.63Sapbif test $ac_cv_have_decl_bswap64 = yes; then
59281.61Schristos
59291.63Sapbcat >>confdefs.h <<EOF
59301.63Sapb#define HAVE_DECL_BSWAP64 1
59311.63SapbEOF
59321.53Sdogcow
59331.53Sdogcowelse
59341.63Sapb  cat >>confdefs.h <<EOF
59351.63Sapb#define HAVE_DECL_BSWAP64 0
59361.63SapbEOF
59371.61Schristos
59381.63Sapbfi
59391.53Sdogcow
59401.63Sapbecho "$as_me:5940: checking whether be16enc is declared" >&5
59411.63Sapbecho $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
59421.63Sapbif test "${ac_cv_have_decl_be16enc+set}" = set; then
59431.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
59441.53Sdogcowelse
59451.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
59461.63Sapb#line 5946 "configure"
59471.63Sapb#include "confdefs.h"
59481.63Sapb#include <sys/endian.h>
59491.53Sdogcow
59501.53Sdogcowint
59511.53Sdogcowmain ()
59521.53Sdogcow{
59531.63Sapb#ifndef be16enc
59541.63Sapb  char *p = (char *) be16enc;
59551.53Sdogcow#endif
59561.53Sdogcow
59571.53Sdogcow  ;
59581.53Sdogcow  return 0;
59591.53Sdogcow}
59601.53Sdogcow_ACEOF
59611.53Sdogcowrm -f conftest.$ac_objext
59621.63Sapbif { (eval echo "$as_me:5962: \"$ac_compile\"") >&5
59631.63Sapb  (eval $ac_compile) 2>&5
59641.53Sdogcow  ac_status=$?
59651.63Sapb  echo "$as_me:5965: \$? = $ac_status" >&5
59661.53Sdogcow  (exit $ac_status); } &&
59671.63Sapb         { ac_try='test -s conftest.$ac_objext'
59681.63Sapb  { (eval echo "$as_me:5968: \"$ac_try\"") >&5
59691.53Sdogcow  (eval $ac_try) 2>&5
59701.53Sdogcow  ac_status=$?
59711.63Sapb  echo "$as_me:5971: \$? = $ac_status" >&5
59721.53Sdogcow  (exit $ac_status); }; }; then
59731.63Sapb  ac_cv_have_decl_be16enc=yes
59741.53Sdogcowelse
59751.53Sdogcow  echo "$as_me: failed program was:" >&5
59761.63Sapbcat conftest.$ac_ext >&5
59771.63Sapbac_cv_have_decl_be16enc=no
59781.53Sdogcowfi
59791.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
59801.53Sdogcowfi
59811.63Sapbecho "$as_me:5981: result: $ac_cv_have_decl_be16enc" >&5
59821.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
59831.63Sapbif test $ac_cv_have_decl_be16enc = yes; then
59841.61Schristos
59851.63Sapbcat >>confdefs.h <<EOF
59861.63Sapb#define HAVE_DECL_BE16ENC 1
59871.63SapbEOF
59881.53Sdogcow
59891.53Sdogcowelse
59901.63Sapb  cat >>confdefs.h <<EOF
59911.63Sapb#define HAVE_DECL_BE16ENC 0
59921.63SapbEOF
59931.53Sdogcow
59941.53Sdogcowfi
59951.63Sapbecho "$as_me:5995: checking whether le16enc is declared" >&5
59961.63Sapbecho $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
59971.63Sapbif test "${ac_cv_have_decl_le16enc+set}" = set; then
59981.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
59991.53Sdogcowelse
60001.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
60011.63Sapb#line 6001 "configure"
60021.63Sapb#include "confdefs.h"
60031.63Sapb#include <sys/endian.h>
60041.53Sdogcow
60051.53Sdogcowint
60061.53Sdogcowmain ()
60071.53Sdogcow{
60081.63Sapb#ifndef le16enc
60091.63Sapb  char *p = (char *) le16enc;
60101.53Sdogcow#endif
60111.53Sdogcow
60121.53Sdogcow  ;
60131.53Sdogcow  return 0;
60141.53Sdogcow}
60151.53Sdogcow_ACEOF
60161.53Sdogcowrm -f conftest.$ac_objext
60171.63Sapbif { (eval echo "$as_me:6017: \"$ac_compile\"") >&5
60181.63Sapb  (eval $ac_compile) 2>&5
60191.53Sdogcow  ac_status=$?
60201.63Sapb  echo "$as_me:6020: \$? = $ac_status" >&5
60211.53Sdogcow  (exit $ac_status); } &&
60221.63Sapb         { ac_try='test -s conftest.$ac_objext'
60231.63Sapb  { (eval echo "$as_me:6023: \"$ac_try\"") >&5
60241.61Schristos  (eval $ac_try) 2>&5
60251.61Schristos  ac_status=$?
60261.63Sapb  echo "$as_me:6026: \$? = $ac_status" >&5
60271.53Sdogcow  (exit $ac_status); }; }; then
60281.63Sapb  ac_cv_have_decl_le16enc=yes
60291.53Sdogcowelse
60301.53Sdogcow  echo "$as_me: failed program was:" >&5
60311.63Sapbcat conftest.$ac_ext >&5
60321.63Sapbac_cv_have_decl_le16enc=no
60331.53Sdogcowfi
60341.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
60351.53Sdogcowfi
60361.63Sapbecho "$as_me:6036: result: $ac_cv_have_decl_le16enc" >&5
60371.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
60381.63Sapbif test $ac_cv_have_decl_le16enc = yes; then
60391.61Schristos
60401.63Sapbcat >>confdefs.h <<EOF
60411.63Sapb#define HAVE_DECL_LE16ENC 1
60421.63SapbEOF
60431.53Sdogcow
60441.53Sdogcowelse
60451.63Sapb  cat >>confdefs.h <<EOF
60461.63Sapb#define HAVE_DECL_LE16ENC 0
60471.63SapbEOF
60481.53Sdogcow
60491.53Sdogcowfi
60501.63Sapbecho "$as_me:6050: checking whether be16dec is declared" >&5
60511.63Sapbecho $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
60521.63Sapbif test "${ac_cv_have_decl_be16dec+set}" = set; then
60531.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
60541.53Sdogcowelse
60551.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
60561.63Sapb#line 6056 "configure"
60571.63Sapb#include "confdefs.h"
60581.63Sapb#include <sys/endian.h>
60591.53Sdogcow
60601.53Sdogcowint
60611.53Sdogcowmain ()
60621.53Sdogcow{
60631.63Sapb#ifndef be16dec
60641.63Sapb  char *p = (char *) be16dec;
60651.53Sdogcow#endif
60661.53Sdogcow
60671.53Sdogcow  ;
60681.53Sdogcow  return 0;
60691.53Sdogcow}
60701.53Sdogcow_ACEOF
60711.53Sdogcowrm -f conftest.$ac_objext
60721.63Sapbif { (eval echo "$as_me:6072: \"$ac_compile\"") >&5
60731.63Sapb  (eval $ac_compile) 2>&5
60741.53Sdogcow  ac_status=$?
60751.63Sapb  echo "$as_me:6075: \$? = $ac_status" >&5
60761.53Sdogcow  (exit $ac_status); } &&
60771.63Sapb         { ac_try='test -s conftest.$ac_objext'
60781.63Sapb  { (eval echo "$as_me:6078: \"$ac_try\"") >&5
60791.61Schristos  (eval $ac_try) 2>&5
60801.61Schristos  ac_status=$?
60811.63Sapb  echo "$as_me:6081: \$? = $ac_status" >&5
60821.53Sdogcow  (exit $ac_status); }; }; then
60831.63Sapb  ac_cv_have_decl_be16dec=yes
60841.53Sdogcowelse
60851.53Sdogcow  echo "$as_me: failed program was:" >&5
60861.63Sapbcat conftest.$ac_ext >&5
60871.63Sapbac_cv_have_decl_be16dec=no
60881.53Sdogcowfi
60891.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
60901.53Sdogcowfi
60911.63Sapbecho "$as_me:6091: result: $ac_cv_have_decl_be16dec" >&5
60921.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
60931.63Sapbif test $ac_cv_have_decl_be16dec = yes; then
60941.61Schristos
60951.63Sapbcat >>confdefs.h <<EOF
60961.63Sapb#define HAVE_DECL_BE16DEC 1
60971.63SapbEOF
60981.53Sdogcow
60991.53Sdogcowelse
61001.63Sapb  cat >>confdefs.h <<EOF
61011.63Sapb#define HAVE_DECL_BE16DEC 0
61021.63SapbEOF
61031.53Sdogcow
61041.53Sdogcowfi
61051.63Sapbecho "$as_me:6105: checking whether le16dec is declared" >&5
61061.63Sapbecho $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
61071.63Sapbif test "${ac_cv_have_decl_le16dec+set}" = set; then
61081.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
61091.53Sdogcowelse
61101.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
61111.63Sapb#line 6111 "configure"
61121.63Sapb#include "confdefs.h"
61131.63Sapb#include <sys/endian.h>
61141.53Sdogcow
61151.53Sdogcowint
61161.53Sdogcowmain ()
61171.53Sdogcow{
61181.63Sapb#ifndef le16dec
61191.63Sapb  char *p = (char *) le16dec;
61201.53Sdogcow#endif
61211.53Sdogcow
61221.53Sdogcow  ;
61231.53Sdogcow  return 0;
61241.53Sdogcow}
61251.53Sdogcow_ACEOF
61261.53Sdogcowrm -f conftest.$ac_objext
61271.63Sapbif { (eval echo "$as_me:6127: \"$ac_compile\"") >&5
61281.63Sapb  (eval $ac_compile) 2>&5
61291.53Sdogcow  ac_status=$?
61301.63Sapb  echo "$as_me:6130: \$? = $ac_status" >&5
61311.53Sdogcow  (exit $ac_status); } &&
61321.63Sapb         { ac_try='test -s conftest.$ac_objext'
61331.63Sapb  { (eval echo "$as_me:6133: \"$ac_try\"") >&5
61341.61Schristos  (eval $ac_try) 2>&5
61351.61Schristos  ac_status=$?
61361.63Sapb  echo "$as_me:6136: \$? = $ac_status" >&5
61371.53Sdogcow  (exit $ac_status); }; }; then
61381.63Sapb  ac_cv_have_decl_le16dec=yes
61391.53Sdogcowelse
61401.53Sdogcow  echo "$as_me: failed program was:" >&5
61411.63Sapbcat conftest.$ac_ext >&5
61421.63Sapbac_cv_have_decl_le16dec=no
61431.53Sdogcowfi
61441.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
61451.53Sdogcowfi
61461.63Sapbecho "$as_me:6146: result: $ac_cv_have_decl_le16dec" >&5
61471.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
61481.63Sapbif test $ac_cv_have_decl_le16dec = yes; then
61491.61Schristos
61501.63Sapbcat >>confdefs.h <<EOF
61511.63Sapb#define HAVE_DECL_LE16DEC 1
61521.63SapbEOF
61531.53Sdogcow
61541.53Sdogcowelse
61551.63Sapb  cat >>confdefs.h <<EOF
61561.63Sapb#define HAVE_DECL_LE16DEC 0
61571.63SapbEOF
61581.53Sdogcow
61591.53Sdogcowfi
61601.63Sapbecho "$as_me:6160: checking whether be32enc is declared" >&5
61611.63Sapbecho $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
61621.63Sapbif test "${ac_cv_have_decl_be32enc+set}" = set; then
61631.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
61641.53Sdogcowelse
61651.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
61661.63Sapb#line 6166 "configure"
61671.63Sapb#include "confdefs.h"
61681.63Sapb#include <sys/endian.h>
61691.53Sdogcow
61701.53Sdogcowint
61711.53Sdogcowmain ()
61721.53Sdogcow{
61731.63Sapb#ifndef be32enc
61741.63Sapb  char *p = (char *) be32enc;
61751.53Sdogcow#endif
61761.53Sdogcow
61771.53Sdogcow  ;
61781.53Sdogcow  return 0;
61791.53Sdogcow}
61801.53Sdogcow_ACEOF
61811.53Sdogcowrm -f conftest.$ac_objext
61821.63Sapbif { (eval echo "$as_me:6182: \"$ac_compile\"") >&5
61831.63Sapb  (eval $ac_compile) 2>&5
61841.53Sdogcow  ac_status=$?
61851.63Sapb  echo "$as_me:6185: \$? = $ac_status" >&5
61861.53Sdogcow  (exit $ac_status); } &&
61871.63Sapb         { ac_try='test -s conftest.$ac_objext'
61881.63Sapb  { (eval echo "$as_me:6188: \"$ac_try\"") >&5
61891.53Sdogcow  (eval $ac_try) 2>&5
61901.53Sdogcow  ac_status=$?
61911.63Sapb  echo "$as_me:6191: \$? = $ac_status" >&5
61921.53Sdogcow  (exit $ac_status); }; }; then
61931.63Sapb  ac_cv_have_decl_be32enc=yes
61941.53Sdogcowelse
61951.53Sdogcow  echo "$as_me: failed program was:" >&5
61961.63Sapbcat conftest.$ac_ext >&5
61971.63Sapbac_cv_have_decl_be32enc=no
61981.53Sdogcowfi
61991.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
62001.53Sdogcowfi
62011.63Sapbecho "$as_me:6201: result: $ac_cv_have_decl_be32enc" >&5
62021.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
62031.63Sapbif test $ac_cv_have_decl_be32enc = yes; then
62041.61Schristos
62051.63Sapbcat >>confdefs.h <<EOF
62061.63Sapb#define HAVE_DECL_BE32ENC 1
62071.63SapbEOF
62081.53Sdogcow
62091.53Sdogcowelse
62101.63Sapb  cat >>confdefs.h <<EOF
62111.63Sapb#define HAVE_DECL_BE32ENC 0
62121.63SapbEOF
62131.53Sdogcow
62141.53Sdogcowfi
62151.63Sapbecho "$as_me:6215: checking whether le32enc is declared" >&5
62161.63Sapbecho $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
62171.63Sapbif test "${ac_cv_have_decl_le32enc+set}" = set; then
62181.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
62191.53Sdogcowelse
62201.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
62211.63Sapb#line 6221 "configure"
62221.63Sapb#include "confdefs.h"
62231.63Sapb#include <sys/endian.h>
62241.53Sdogcow
62251.53Sdogcowint
62261.53Sdogcowmain ()
62271.53Sdogcow{
62281.63Sapb#ifndef le32enc
62291.63Sapb  char *p = (char *) le32enc;
62301.53Sdogcow#endif
62311.53Sdogcow
62321.53Sdogcow  ;
62331.53Sdogcow  return 0;
62341.53Sdogcow}
62351.53Sdogcow_ACEOF
62361.53Sdogcowrm -f conftest.$ac_objext
62371.63Sapbif { (eval echo "$as_me:6237: \"$ac_compile\"") >&5
62381.63Sapb  (eval $ac_compile) 2>&5
62391.53Sdogcow  ac_status=$?
62401.63Sapb  echo "$as_me:6240: \$? = $ac_status" >&5
62411.53Sdogcow  (exit $ac_status); } &&
62421.63Sapb         { ac_try='test -s conftest.$ac_objext'
62431.63Sapb  { (eval echo "$as_me:6243: \"$ac_try\"") >&5
62441.61Schristos  (eval $ac_try) 2>&5
62451.61Schristos  ac_status=$?
62461.63Sapb  echo "$as_me:6246: \$? = $ac_status" >&5
62471.53Sdogcow  (exit $ac_status); }; }; then
62481.63Sapb  ac_cv_have_decl_le32enc=yes
62491.53Sdogcowelse
62501.53Sdogcow  echo "$as_me: failed program was:" >&5
62511.63Sapbcat conftest.$ac_ext >&5
62521.63Sapbac_cv_have_decl_le32enc=no
62531.53Sdogcowfi
62541.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
62551.53Sdogcowfi
62561.63Sapbecho "$as_me:6256: result: $ac_cv_have_decl_le32enc" >&5
62571.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
62581.63Sapbif test $ac_cv_have_decl_le32enc = yes; then
62591.61Schristos
62601.63Sapbcat >>confdefs.h <<EOF
62611.63Sapb#define HAVE_DECL_LE32ENC 1
62621.63SapbEOF
62631.53Sdogcow
62641.53Sdogcowelse
62651.63Sapb  cat >>confdefs.h <<EOF
62661.63Sapb#define HAVE_DECL_LE32ENC 0
62671.63SapbEOF
62681.53Sdogcow
62691.53Sdogcowfi
62701.63Sapbecho "$as_me:6270: checking whether be32dec is declared" >&5
62711.63Sapbecho $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
62721.63Sapbif test "${ac_cv_have_decl_be32dec+set}" = set; then
62731.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
62741.53Sdogcowelse
62751.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
62761.63Sapb#line 6276 "configure"
62771.63Sapb#include "confdefs.h"
62781.63Sapb#include <sys/endian.h>
62791.53Sdogcow
62801.53Sdogcowint
62811.53Sdogcowmain ()
62821.53Sdogcow{
62831.63Sapb#ifndef be32dec
62841.63Sapb  char *p = (char *) be32dec;
62851.53Sdogcow#endif
62861.53Sdogcow
62871.53Sdogcow  ;
62881.53Sdogcow  return 0;
62891.53Sdogcow}
62901.53Sdogcow_ACEOF
62911.53Sdogcowrm -f conftest.$ac_objext
62921.63Sapbif { (eval echo "$as_me:6292: \"$ac_compile\"") >&5
62931.63Sapb  (eval $ac_compile) 2>&5
62941.53Sdogcow  ac_status=$?
62951.63Sapb  echo "$as_me:6295: \$? = $ac_status" >&5
62961.53Sdogcow  (exit $ac_status); } &&
62971.63Sapb         { ac_try='test -s conftest.$ac_objext'
62981.63Sapb  { (eval echo "$as_me:6298: \"$ac_try\"") >&5
62991.61Schristos  (eval $ac_try) 2>&5
63001.61Schristos  ac_status=$?
63011.63Sapb  echo "$as_me:6301: \$? = $ac_status" >&5
63021.53Sdogcow  (exit $ac_status); }; }; then
63031.63Sapb  ac_cv_have_decl_be32dec=yes
63041.53Sdogcowelse
63051.53Sdogcow  echo "$as_me: failed program was:" >&5
63061.63Sapbcat conftest.$ac_ext >&5
63071.63Sapbac_cv_have_decl_be32dec=no
63081.53Sdogcowfi
63091.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
63101.53Sdogcowfi
63111.63Sapbecho "$as_me:6311: result: $ac_cv_have_decl_be32dec" >&5
63121.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
63131.63Sapbif test $ac_cv_have_decl_be32dec = yes; then
63141.61Schristos
63151.63Sapbcat >>confdefs.h <<EOF
63161.63Sapb#define HAVE_DECL_BE32DEC 1
63171.63SapbEOF
63181.53Sdogcow
63191.53Sdogcowelse
63201.63Sapb  cat >>confdefs.h <<EOF
63211.63Sapb#define HAVE_DECL_BE32DEC 0
63221.63SapbEOF
63231.53Sdogcow
63241.53Sdogcowfi
63251.63Sapbecho "$as_me:6325: checking whether le32dec is declared" >&5
63261.63Sapbecho $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
63271.63Sapbif test "${ac_cv_have_decl_le32dec+set}" = set; then
63281.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
63291.53Sdogcowelse
63301.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
63311.63Sapb#line 6331 "configure"
63321.63Sapb#include "confdefs.h"
63331.63Sapb#include <sys/endian.h>
63341.53Sdogcow
63351.53Sdogcowint
63361.53Sdogcowmain ()
63371.53Sdogcow{
63381.63Sapb#ifndef le32dec
63391.63Sapb  char *p = (char *) le32dec;
63401.53Sdogcow#endif
63411.53Sdogcow
63421.53Sdogcow  ;
63431.53Sdogcow  return 0;
63441.53Sdogcow}
63451.53Sdogcow_ACEOF
63461.53Sdogcowrm -f conftest.$ac_objext
63471.63Sapbif { (eval echo "$as_me:6347: \"$ac_compile\"") >&5
63481.63Sapb  (eval $ac_compile) 2>&5
63491.53Sdogcow  ac_status=$?
63501.63Sapb  echo "$as_me:6350: \$? = $ac_status" >&5
63511.53Sdogcow  (exit $ac_status); } &&
63521.63Sapb         { ac_try='test -s conftest.$ac_objext'
63531.63Sapb  { (eval echo "$as_me:6353: \"$ac_try\"") >&5
63541.61Schristos  (eval $ac_try) 2>&5
63551.61Schristos  ac_status=$?
63561.63Sapb  echo "$as_me:6356: \$? = $ac_status" >&5
63571.53Sdogcow  (exit $ac_status); }; }; then
63581.63Sapb  ac_cv_have_decl_le32dec=yes
63591.53Sdogcowelse
63601.53Sdogcow  echo "$as_me: failed program was:" >&5
63611.63Sapbcat conftest.$ac_ext >&5
63621.63Sapbac_cv_have_decl_le32dec=no
63631.53Sdogcowfi
63641.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
63651.53Sdogcowfi
63661.63Sapbecho "$as_me:6366: result: $ac_cv_have_decl_le32dec" >&5
63671.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
63681.63Sapbif test $ac_cv_have_decl_le32dec = yes; then
63691.61Schristos
63701.63Sapbcat >>confdefs.h <<EOF
63711.63Sapb#define HAVE_DECL_LE32DEC 1
63721.63SapbEOF
63731.53Sdogcow
63741.53Sdogcowelse
63751.63Sapb  cat >>confdefs.h <<EOF
63761.63Sapb#define HAVE_DECL_LE32DEC 0
63771.63SapbEOF
63781.53Sdogcow
63791.53Sdogcowfi
63801.63Sapbecho "$as_me:6380: checking whether be64enc is declared" >&5
63811.63Sapbecho $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
63821.63Sapbif test "${ac_cv_have_decl_be64enc+set}" = set; then
63831.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
63841.53Sdogcowelse
63851.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
63861.63Sapb#line 6386 "configure"
63871.63Sapb#include "confdefs.h"
63881.63Sapb#include <sys/endian.h>
63891.53Sdogcow
63901.53Sdogcowint
63911.53Sdogcowmain ()
63921.53Sdogcow{
63931.63Sapb#ifndef be64enc
63941.63Sapb  char *p = (char *) be64enc;
63951.53Sdogcow#endif
63961.53Sdogcow
63971.53Sdogcow  ;
63981.53Sdogcow  return 0;
63991.53Sdogcow}
64001.53Sdogcow_ACEOF
64011.53Sdogcowrm -f conftest.$ac_objext
64021.63Sapbif { (eval echo "$as_me:6402: \"$ac_compile\"") >&5
64031.63Sapb  (eval $ac_compile) 2>&5
64041.53Sdogcow  ac_status=$?
64051.63Sapb  echo "$as_me:6405: \$? = $ac_status" >&5
64061.53Sdogcow  (exit $ac_status); } &&
64071.63Sapb         { ac_try='test -s conftest.$ac_objext'
64081.63Sapb  { (eval echo "$as_me:6408: \"$ac_try\"") >&5
64091.53Sdogcow  (eval $ac_try) 2>&5
64101.53Sdogcow  ac_status=$?
64111.63Sapb  echo "$as_me:6411: \$? = $ac_status" >&5
64121.53Sdogcow  (exit $ac_status); }; }; then
64131.63Sapb  ac_cv_have_decl_be64enc=yes
64141.53Sdogcowelse
64151.53Sdogcow  echo "$as_me: failed program was:" >&5
64161.63Sapbcat conftest.$ac_ext >&5
64171.63Sapbac_cv_have_decl_be64enc=no
64181.53Sdogcowfi
64191.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
64201.53Sdogcowfi
64211.63Sapbecho "$as_me:6421: result: $ac_cv_have_decl_be64enc" >&5
64221.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
64231.63Sapbif test $ac_cv_have_decl_be64enc = yes; then
64241.61Schristos
64251.63Sapbcat >>confdefs.h <<EOF
64261.63Sapb#define HAVE_DECL_BE64ENC 1
64271.63SapbEOF
64281.53Sdogcow
64291.53Sdogcowelse
64301.63Sapb  cat >>confdefs.h <<EOF
64311.63Sapb#define HAVE_DECL_BE64ENC 0
64321.63SapbEOF
64331.53Sdogcow
64341.53Sdogcowfi
64351.63Sapbecho "$as_me:6435: checking whether le64enc is declared" >&5
64361.63Sapbecho $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
64371.63Sapbif test "${ac_cv_have_decl_le64enc+set}" = set; then
64381.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
64391.54Swizelse
64401.54Swiz  cat >conftest.$ac_ext <<_ACEOF
64411.63Sapb#line 6441 "configure"
64421.63Sapb#include "confdefs.h"
64431.63Sapb#include <sys/endian.h>
64441.54Swiz
64451.54Swizint
64461.54Swizmain ()
64471.54Swiz{
64481.63Sapb#ifndef le64enc
64491.63Sapb  char *p = (char *) le64enc;
64501.54Swiz#endif
64511.54Swiz
64521.54Swiz  ;
64531.54Swiz  return 0;
64541.54Swiz}
64551.54Swiz_ACEOF
64561.54Swizrm -f conftest.$ac_objext
64571.63Sapbif { (eval echo "$as_me:6457: \"$ac_compile\"") >&5
64581.63Sapb  (eval $ac_compile) 2>&5
64591.54Swiz  ac_status=$?
64601.63Sapb  echo "$as_me:6460: \$? = $ac_status" >&5
64611.54Swiz  (exit $ac_status); } &&
64621.63Sapb         { ac_try='test -s conftest.$ac_objext'
64631.63Sapb  { (eval echo "$as_me:6463: \"$ac_try\"") >&5
64641.54Swiz  (eval $ac_try) 2>&5
64651.54Swiz  ac_status=$?
64661.63Sapb  echo "$as_me:6466: \$? = $ac_status" >&5
64671.54Swiz  (exit $ac_status); }; }; then
64681.63Sapb  ac_cv_have_decl_le64enc=yes
64691.54Swizelse
64701.54Swiz  echo "$as_me: failed program was:" >&5
64711.63Sapbcat conftest.$ac_ext >&5
64721.63Sapbac_cv_have_decl_le64enc=no
64731.54Swizfi
64741.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
64751.54Swizfi
64761.63Sapbecho "$as_me:6476: result: $ac_cv_have_decl_le64enc" >&5
64771.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
64781.63Sapbif test $ac_cv_have_decl_le64enc = yes; then
64791.61Schristos
64801.63Sapbcat >>confdefs.h <<EOF
64811.63Sapb#define HAVE_DECL_LE64ENC 1
64821.63SapbEOF
64831.53Sdogcow
64841.54Swizelse
64851.63Sapb  cat >>confdefs.h <<EOF
64861.63Sapb#define HAVE_DECL_LE64ENC 0
64871.63SapbEOF
64881.53Sdogcow
64891.54Swizfi
64901.63Sapbecho "$as_me:6490: checking whether be64dec is declared" >&5
64911.63Sapbecho $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
64921.63Sapbif test "${ac_cv_have_decl_be64dec+set}" = set; then
64931.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
64941.53Sdogcowelse
64951.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
64961.63Sapb#line 6496 "configure"
64971.63Sapb#include "confdefs.h"
64981.63Sapb#include <sys/endian.h>
64991.53Sdogcow
65001.54Swizint
65011.54Swizmain ()
65021.53Sdogcow{
65031.63Sapb#ifndef be64dec
65041.63Sapb  char *p = (char *) be64dec;
65051.48Sjmc#endif
65061.54Swiz
65071.54Swiz  ;
65081.54Swiz  return 0;
65091.53Sdogcow}
65101.54Swiz_ACEOF
65111.54Swizrm -f conftest.$ac_objext
65121.63Sapbif { (eval echo "$as_me:6512: \"$ac_compile\"") >&5
65131.63Sapb  (eval $ac_compile) 2>&5
65141.54Swiz  ac_status=$?
65151.63Sapb  echo "$as_me:6515: \$? = $ac_status" >&5
65161.54Swiz  (exit $ac_status); } &&
65171.63Sapb         { ac_try='test -s conftest.$ac_objext'
65181.63Sapb  { (eval echo "$as_me:6518: \"$ac_try\"") >&5
65191.54Swiz  (eval $ac_try) 2>&5
65201.54Swiz  ac_status=$?
65211.63Sapb  echo "$as_me:6521: \$? = $ac_status" >&5
65221.54Swiz  (exit $ac_status); }; }; then
65231.63Sapb  ac_cv_have_decl_be64dec=yes
65241.54Swizelse
65251.54Swiz  echo "$as_me: failed program was:" >&5
65261.63Sapbcat conftest.$ac_ext >&5
65271.63Sapbac_cv_have_decl_be64dec=no
65281.54Swizfi
65291.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
65301.54Swizfi
65311.63Sapbecho "$as_me:6531: result: $ac_cv_have_decl_be64dec" >&5
65321.63Sapbecho "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
65331.63Sapbif test $ac_cv_have_decl_be64dec = yes; then
65341.61Schristos
65351.63Sapbcat >>confdefs.h <<EOF
65361.63Sapb#define HAVE_DECL_BE64DEC 1
65371.63SapbEOF
65381.54Swiz
65391.54Swizelse
65401.63Sapb  cat >>confdefs.h <<EOF
65411.63Sapb#define HAVE_DECL_BE64DEC 0
65421.63SapbEOF
65431.54Swiz
65441.54Swizfi
65451.63Sapbecho "$as_me:6545: checking whether le64dec is declared" >&5
65461.63Sapbecho $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
65471.63Sapbif test "${ac_cv_have_decl_le64dec+set}" = set; then
65481.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
65491.54Swizelse
65501.54Swiz  cat >conftest.$ac_ext <<_ACEOF
65511.63Sapb#line 6551 "configure"
65521.63Sapb#include "confdefs.h"
65531.63Sapb#include <sys/endian.h>
65541.54Swiz
65551.53Sdogcowint
65561.53Sdogcowmain ()
65571.53Sdogcow{
65581.63Sapb#ifndef le64dec
65591.63Sapb  char *p = (char *) le64dec;
65601.54Swiz#endif
65611.54Swiz
65621.45Sjmc  ;
65631.45Sjmc  return 0;
65641.45Sjmc}
65651.45Sjmc_ACEOF
65661.54Swizrm -f conftest.$ac_objext
65671.63Sapbif { (eval echo "$as_me:6567: \"$ac_compile\"") >&5
65681.63Sapb  (eval $ac_compile) 2>&5
65691.45Sjmc  ac_status=$?
65701.63Sapb  echo "$as_me:6570: \$? = $ac_status" >&5
65711.45Sjmc  (exit $ac_status); } &&
65721.63Sapb         { ac_try='test -s conftest.$ac_objext'
65731.63Sapb  { (eval echo "$as_me:6573: \"$ac_try\"") >&5
65741.45Sjmc  (eval $ac_try) 2>&5
65751.45Sjmc  ac_status=$?
65761.63Sapb  echo "$as_me:6576: \$? = $ac_status" >&5
65771.45Sjmc  (exit $ac_status); }; }; then
65781.63Sapb  ac_cv_have_decl_le64dec=yes
65791.45Sjmcelse
65801.45Sjmc  echo "$as_me: failed program was:" >&5
65811.63Sapbcat conftest.$ac_ext >&5
65821.63Sapbac_cv_have_decl_le64dec=no
65831.45Sjmcfi
65841.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
65851.45Sjmcfi
65861.63Sapbecho "$as_me:6586: result: $ac_cv_have_decl_le64dec" >&5
65871.63Sapbecho "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
65881.63Sapbif test $ac_cv_have_decl_le64dec = yes; then
65891.61Schristos
65901.63Sapbcat >>confdefs.h <<EOF
65911.63Sapb#define HAVE_DECL_LE64DEC 1
65921.63SapbEOF
65931.54Swiz
65941.54Swizelse
65951.63Sapb  cat >>confdefs.h <<EOF
65961.63Sapb#define HAVE_DECL_LE64DEC 0
65971.63SapbEOF
65981.54Swiz
65991.45Sjmcfi
66001.45Sjmc
66011.63Sapbecho "$as_me:6601: checking whether fstatvfs is declared" >&5
66021.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
66031.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
66041.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
66051.1Stvelse
66061.1Stv  cat >conftest.$ac_ext <<_ACEOF
66071.63Sapb#line 6607 "configure"
66081.63Sapb#include "confdefs.h"
66091.54Swiz#include <sys/statvfs.h>
66101.53Sdogcow
66111.54Swizint
66121.54Swizmain ()
66131.53Sdogcow{
66141.54Swiz#ifndef fstatvfs
66151.54Swiz  char *p = (char *) fstatvfs;
66161.1Stv#endif
66171.1Stv
66181.1Stv  ;
66191.1Stv  return 0;
66201.1Stv}
66211.1Stv_ACEOF
66221.54Swizrm -f conftest.$ac_objext
66231.63Sapbif { (eval echo "$as_me:6623: \"$ac_compile\"") >&5
66241.63Sapb  (eval $ac_compile) 2>&5
66251.1Stv  ac_status=$?
66261.63Sapb  echo "$as_me:6626: \$? = $ac_status" >&5
66271.1Stv  (exit $ac_status); } &&
66281.63Sapb         { ac_try='test -s conftest.$ac_objext'
66291.63Sapb  { (eval echo "$as_me:6629: \"$ac_try\"") >&5
66301.1Stv  (eval $ac_try) 2>&5
66311.1Stv  ac_status=$?
66321.63Sapb  echo "$as_me:6632: \$? = $ac_status" >&5
66331.1Stv  (exit $ac_status); }; }; then
66341.54Swiz  ac_cv_have_decl_fstatvfs=yes
66351.1Stvelse
66361.1Stv  echo "$as_me: failed program was:" >&5
66371.63Sapbcat conftest.$ac_ext >&5
66381.54Swizac_cv_have_decl_fstatvfs=no
66391.1Stvfi
66401.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
66411.1Stvfi
66421.63Sapbecho "$as_me:6642: result: $ac_cv_have_decl_fstatvfs" >&5
66431.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
66441.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then
66451.54Swiz
66461.63Sapbcat >>confdefs.h <<EOF
66471.54Swiz#define HAVE_DECL_FSTATVFS 1
66481.63SapbEOF
66491.54Swiz
66501.54Swizelse
66511.63Sapb  cat >>confdefs.h <<EOF
66521.54Swiz#define HAVE_DECL_FSTATVFS 0
66531.63SapbEOF
66541.54Swiz
66551.1Stvfi
66561.54Swiz
66571.63Sapbecho "$as_me:6657: checking whether setgroupent is declared" >&5
66581.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
66591.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
66601.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
66611.8Stvelse
66621.8Stv  cat >conftest.$ac_ext <<_ACEOF
66631.63Sapb#line 6663 "configure"
66641.63Sapb#include "confdefs.h"
66651.8Stv
66661.33Sthorpej#include <sys/types.h>
66671.8Stv#include <grp.h>
66681.8Stv#include <pwd.h>
66691.8Stv
66701.8Stvint
66711.8Stvmain ()
66721.8Stv{
66731.8Stv#ifndef setgroupent
66741.8Stv  char *p = (char *) setgroupent;
66751.8Stv#endif
66761.8Stv
66771.8Stv  ;
66781.8Stv  return 0;
66791.8Stv}
66801.8Stv_ACEOF
66811.8Stvrm -f conftest.$ac_objext
66821.63Sapbif { (eval echo "$as_me:6682: \"$ac_compile\"") >&5
66831.63Sapb  (eval $ac_compile) 2>&5
66841.8Stv  ac_status=$?
66851.63Sapb  echo "$as_me:6685: \$? = $ac_status" >&5
66861.8Stv  (exit $ac_status); } &&
66871.63Sapb         { ac_try='test -s conftest.$ac_objext'
66881.63Sapb  { (eval echo "$as_me:6688: \"$ac_try\"") >&5
66891.50Sjmc  (eval $ac_try) 2>&5
66901.50Sjmc  ac_status=$?
66911.63Sapb  echo "$as_me:6691: \$? = $ac_status" >&5
66921.8Stv  (exit $ac_status); }; }; then
66931.8Stv  ac_cv_have_decl_setgroupent=yes
66941.8Stvelse
66951.8Stv  echo "$as_me: failed program was:" >&5
66961.63Sapbcat conftest.$ac_ext >&5
66971.8Stvac_cv_have_decl_setgroupent=no
66981.8Stvfi
66991.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
67001.8Stvfi
67011.63Sapbecho "$as_me:6701: result: $ac_cv_have_decl_setgroupent" >&5
67021.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
67031.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
67041.8Stv
67051.63Sapbcat >>confdefs.h <<EOF
67061.8Stv#define HAVE_DECL_SETGROUPENT 1
67071.63SapbEOF
67081.8Stv
67091.8Stvelse
67101.63Sapb  cat >>confdefs.h <<EOF
67111.8Stv#define HAVE_DECL_SETGROUPENT 0
67121.63SapbEOF
67131.8Stv
67141.8Stvfi
67151.63Sapbecho "$as_me:6715: checking whether setpassent is declared" >&5
67161.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
67171.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
67181.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
67191.8Stvelse
67201.8Stv  cat >conftest.$ac_ext <<_ACEOF
67211.63Sapb#line 6721 "configure"
67221.63Sapb#include "confdefs.h"
67231.8Stv
67241.33Sthorpej#include <sys/types.h>
67251.8Stv#include <grp.h>
67261.8Stv#include <pwd.h>
67271.8Stv
67281.8Stvint
67291.8Stvmain ()
67301.8Stv{
67311.8Stv#ifndef setpassent
67321.8Stv  char *p = (char *) setpassent;
67331.8Stv#endif
67341.8Stv
67351.8Stv  ;
67361.8Stv  return 0;
67371.8Stv}
67381.8Stv_ACEOF
67391.8Stvrm -f conftest.$ac_objext
67401.63Sapbif { (eval echo "$as_me:6740: \"$ac_compile\"") >&5
67411.63Sapb  (eval $ac_compile) 2>&5
67421.8Stv  ac_status=$?
67431.63Sapb  echo "$as_me:6743: \$? = $ac_status" >&5
67441.8Stv  (exit $ac_status); } &&
67451.63Sapb         { ac_try='test -s conftest.$ac_objext'
67461.63Sapb  { (eval echo "$as_me:6746: \"$ac_try\"") >&5
67471.50Sjmc  (eval $ac_try) 2>&5
67481.50Sjmc  ac_status=$?
67491.63Sapb  echo "$as_me:6749: \$? = $ac_status" >&5
67501.8Stv  (exit $ac_status); }; }; then
67511.8Stv  ac_cv_have_decl_setpassent=yes
67521.8Stvelse
67531.8Stv  echo "$as_me: failed program was:" >&5
67541.63Sapbcat conftest.$ac_ext >&5
67551.8Stvac_cv_have_decl_setpassent=no
67561.8Stvfi
67571.63Sapbrm -f conftest.$ac_objext conftest.$ac_ext
67581.8Stvfi
67591.63Sapbecho "$as_me:6759: result: $ac_cv_have_decl_setpassent" >&5
67601.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
67611.8Stvif test $ac_cv_have_decl_setpassent = yes; then
67621.8Stv
67631.63Sapbcat >>confdefs.h <<EOF
67641.8Stv#define HAVE_DECL_SETPASSENT 1
67651.63SapbEOF
67661.8Stv
67671.8Stvelse
67681.63Sapb  cat >>confdefs.h <<EOF
67691.8Stv#define HAVE_DECL_SETPASSENT 0
67701.63SapbEOF
67711.8Stv
67721.8Stvfi
67731.8Stv
67741.4Stv# regcomp() and regexec() are also names of functions in the old V8
67751.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
67761.4Stv
67771.63Sapbecho "$as_me:6777: checking for regfree in -lregex" >&5
67781.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
67791.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
67801.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
67811.4Stvelse
67821.4Stv  ac_check_lib_save_LIBS=$LIBS
67831.4StvLIBS="-lregex  $LIBS"
67841.4Stvcat >conftest.$ac_ext <<_ACEOF
67851.63Sapb#line 6785 "configure"
67861.63Sapb#include "confdefs.h"
67871.4Stv
67881.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
67891.4Stv#ifdef __cplusplus
67901.4Stvextern "C"
67911.4Stv#endif
67921.4Stv/* We use char because int might match the return type of a gcc2
67931.4Stv   builtin and then its argument prototype would still apply.  */
67941.4Stvchar regfree ();
67951.4Stvint
67961.4Stvmain ()
67971.4Stv{
67981.4Stvregfree ();
67991.4Stv  ;
68001.4Stv  return 0;
68011.4Stv}
68021.4Stv_ACEOF
68031.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
68041.63Sapbif { (eval echo "$as_me:6804: \"$ac_link\"") >&5
68051.63Sapb  (eval $ac_link) 2>&5
68061.4Stv  ac_status=$?
68071.63Sapb  echo "$as_me:6807: \$? = $ac_status" >&5
68081.4Stv  (exit $ac_status); } &&
68091.63Sapb         { ac_try='test -s conftest$ac_exeext'
68101.63Sapb  { (eval echo "$as_me:6810: \"$ac_try\"") >&5
68111.4Stv  (eval $ac_try) 2>&5
68121.4Stv  ac_status=$?
68131.63Sapb  echo "$as_me:6813: \$? = $ac_status" >&5
68141.4Stv  (exit $ac_status); }; }; then
68151.4Stv  ac_cv_lib_regex_regfree=yes
68161.4Stvelse
68171.4Stv  echo "$as_me: failed program was:" >&5
68181.63Sapbcat conftest.$ac_ext >&5
68191.4Stvac_cv_lib_regex_regfree=no
68201.4Stvfi
68211.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68221.4StvLIBS=$ac_check_lib_save_LIBS
68231.4Stvfi
68241.63Sapbecho "$as_me:6824: result: $ac_cv_lib_regex_regfree" >&5
68251.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
68261.4Stvif test $ac_cv_lib_regex_regfree = yes; then
68271.63Sapb  cat >>confdefs.h <<EOF
68281.4Stv#define HAVE_LIBREGEX 1
68291.63SapbEOF
68301.4Stv
68311.4Stv  LIBS="-lregex $LIBS"
68321.4Stv
68331.4Stvfi
68341.4Stv
68351.63Sapbecho "$as_me:6835: checking for library containing regfree" >&5
68361.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
68371.4Stvif test "${ac_cv_search_regfree+set}" = set; then
68381.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
68391.1Stvelse
68401.1Stv  ac_func_search_save_LIBS=$LIBS
68411.4Stvac_cv_search_regfree=no
68421.1Stvcat >conftest.$ac_ext <<_ACEOF
68431.63Sapb#line 6843 "configure"
68441.63Sapb#include "confdefs.h"
68451.1Stv
68461.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
68471.1Stv#ifdef __cplusplus
68481.1Stvextern "C"
68491.1Stv#endif
68501.1Stv/* We use char because int might match the return type of a gcc2
68511.1Stv   builtin and then its argument prototype would still apply.  */
68521.4Stvchar regfree ();
68531.1Stvint
68541.1Stvmain ()
68551.1Stv{
68561.4Stvregfree ();
68571.1Stv  ;
68581.1Stv  return 0;
68591.1Stv}
68601.1Stv_ACEOF
68611.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
68621.63Sapbif { (eval echo "$as_me:6862: \"$ac_link\"") >&5
68631.63Sapb  (eval $ac_link) 2>&5
68641.1Stv  ac_status=$?
68651.63Sapb  echo "$as_me:6865: \$? = $ac_status" >&5
68661.1Stv  (exit $ac_status); } &&
68671.63Sapb         { ac_try='test -s conftest$ac_exeext'
68681.63Sapb  { (eval echo "$as_me:6868: \"$ac_try\"") >&5
68691.1Stv  (eval $ac_try) 2>&5
68701.1Stv  ac_status=$?
68711.63Sapb  echo "$as_me:6871: \$? = $ac_status" >&5
68721.1Stv  (exit $ac_status); }; }; then
68731.4Stv  ac_cv_search_regfree="none required"
68741.1Stvelse
68751.1Stv  echo "$as_me: failed program was:" >&5
68761.63Sapbcat conftest.$ac_ext >&5
68771.1Stvfi
68781.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68791.4Stvif test "$ac_cv_search_regfree" = no; then
68801.4Stv  for ac_lib in rx posix; do
68811.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
68821.1Stv    cat >conftest.$ac_ext <<_ACEOF
68831.63Sapb#line 6883 "configure"
68841.63Sapb#include "confdefs.h"
68851.1Stv
68861.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
68871.1Stv#ifdef __cplusplus
68881.1Stvextern "C"
68891.1Stv#endif
68901.1Stv/* We use char because int might match the return type of a gcc2
68911.1Stv   builtin and then its argument prototype would still apply.  */
68921.4Stvchar regfree ();
68931.1Stvint
68941.1Stvmain ()
68951.1Stv{
68961.4Stvregfree ();
68971.1Stv  ;
68981.1Stv  return 0;
68991.1Stv}
69001.1Stv_ACEOF
69011.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
69021.63Sapbif { (eval echo "$as_me:6902: \"$ac_link\"") >&5
69031.63Sapb  (eval $ac_link) 2>&5
69041.1Stv  ac_status=$?
69051.63Sapb  echo "$as_me:6905: \$? = $ac_status" >&5
69061.1Stv  (exit $ac_status); } &&
69071.63Sapb         { ac_try='test -s conftest$ac_exeext'
69081.63Sapb  { (eval echo "$as_me:6908: \"$ac_try\"") >&5
69091.1Stv  (eval $ac_try) 2>&5
69101.1Stv  ac_status=$?
69111.63Sapb  echo "$as_me:6911: \$? = $ac_status" >&5
69121.1Stv  (exit $ac_status); }; }; then
69131.4Stv  ac_cv_search_regfree="-l$ac_lib"
69141.1Stvbreak
69151.1Stvelse
69161.1Stv  echo "$as_me: failed program was:" >&5
69171.63Sapbcat conftest.$ac_ext >&5
69181.1Stvfi
69191.63Sapbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69201.1Stv  done
69211.1Stvfi
69221.1StvLIBS=$ac_func_search_save_LIBS
69231.1Stvfi
69241.63Sapbecho "$as_me:6924: result: $ac_cv_search_regfree" >&5
69251.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
69261.4Stvif test "$ac_cv_search_regfree" != no; then
69271.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
69281.1Stv
69291.1Stvfi
69301.1Stv
69311.1Stvcat >confcache <<\_ACEOF
69321.1Stv# This file is a shell script that caches the results of configure
69331.1Stv# tests run on this system so they can be shared between configure
69341.1Stv# scripts and configure runs, see configure's option --config-cache.
69351.1Stv# It is not useful on other systems.  If it contains results you don't
69361.1Stv# want to keep, you may remove or edit it.
69371.1Stv#
69381.1Stv# config.status only pays attention to the cache file if you give it
69391.1Stv# the --recheck option to rerun configure.
69401.1Stv#
69411.63Sapb# `ac_cv_env_foo' variables (set or unset) will be overriden when
69421.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
69431.1Stv# following values.
69441.1Stv
69451.1Stv_ACEOF
69461.1Stv
69471.1Stv# The following way of writing the cache mishandles newlines in values,
69481.1Stv# but we know of no workaround that is simple, portable, and efficient.
69491.1Stv# So, don't put newlines in cache variables' values.
69501.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
69511.1Stv# and sets the high bit in the cache file unless we assign to the vars.
69521.1Stv{
69531.1Stv  (set) 2>&1 |
69541.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
69551.1Stv    *ac_space=\ *)
69561.1Stv      # `set' does not quote correctly, so add quotes (double-quote
69571.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
69581.1Stv      sed -n \
69591.63Sapb        "s/'/'\\\\''/g;
69601.63Sapb    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
69611.1Stv      ;;
69621.1Stv    *)
69631.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
69641.1Stv      sed -n \
69651.63Sapb        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
69661.1Stv      ;;
69671.1Stv    esac;
69681.1Stv} |
69691.1Stv  sed '
69701.1Stv     t clear
69711.1Stv     : clear
69721.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
69731.1Stv     t end
69741.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
69751.1Stv     : end' >>confcache
69761.63Sapbif cmp -s $cache_file confcache; then :; else
69771.1Stv  if test -w $cache_file; then
69781.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
69791.1Stv    cat confcache >$cache_file
69801.1Stv  else
69811.1Stv    echo "not updating unwritable cache $cache_file"
69821.1Stv  fi
69831.1Stvfi
69841.1Stvrm -f confcache
69851.1Stv
69861.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
69871.1Stv# Let make expand exec_prefix.
69881.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
69891.1Stv
69901.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
69911.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
69921.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
69931.1Stv# (actually we leave an empty line to preserve line numbers).
69941.1Stvif test "x$srcdir" = x.; then
69951.63Sapb  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
69961.1Stvs/:*\$(srcdir):*/:/;
69971.1Stvs/:*\${srcdir}:*/:/;
69981.1Stvs/:*@srcdir@:*/:/;
69991.63Sapbs/^\([^=]*=[ 	]*\):*/\1/;
70001.1Stvs/:*$//;
70011.63Sapbs/^[^=]*=[ 	]*$//;
70021.1Stv}'
70031.1Stvfi
70041.1Stv
70051.1StvDEFS=-DHAVE_CONFIG_H
70061.1Stv
70071.1Stv: ${CONFIG_STATUS=./config.status}
70081.1Stvac_clean_files_save=$ac_clean_files
70091.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
70101.63Sapb{ echo "$as_me:7010: creating $CONFIG_STATUS" >&5
70111.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
70121.1Stvcat >$CONFIG_STATUS <<_ACEOF
70131.1Stv#! $SHELL
70141.63Sapb# Generated automatically by configure.
70151.1Stv# Run this file to recreate the current configuration.
70161.1Stv# Compiler output produced by configure, useful for debugging
70171.1Stv# configure, is in config.log if it exists.
70181.1Stv
70191.1Stvdebug=false
70201.1StvSHELL=\${CONFIG_SHELL-$SHELL}
70211.63Sapbac_cs_invocation="\$0 \$@"
70221.63Sapb
70231.1Stv_ACEOF
70241.1Stv
70251.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
70261.1Stv# Be Bourne compatible
70271.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
70281.1Stv  emulate sh
70291.1Stv  NULLCMD=:
70301.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
70311.1Stv  set -o posix
70321.1Stvfi
70331.1Stv
70341.1Stv# Name of the executable.
70351.63Sapbas_me=`echo "$0" |sed 's,.*[\\/],,'`
70361.1Stv
70371.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
70381.1Stv  as_expr=expr
70391.1Stvelse
70401.1Stv  as_expr=false
70411.1Stvfi
70421.1Stv
70431.1Stvrm -f conf$$ conf$$.exe conf$$.file
70441.1Stvecho >conf$$.file
70451.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
70461.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
70471.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
70481.1Stv  if test -f conf$$.exe; then
70491.1Stv    # Don't use ln at all; we don't have any links
70501.1Stv    as_ln_s='cp -p'
70511.1Stv  else
70521.1Stv    as_ln_s='ln -s'
70531.1Stv  fi
70541.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
70551.1Stv  as_ln_s=ln
70561.1Stvelse
70571.1Stv  as_ln_s='cp -p'
70581.1Stvfi
70591.1Stvrm -f conf$$ conf$$.exe conf$$.file
70601.1Stv
70611.63Sapbas_executable_p="test -f"
70621.63Sapb
70631.63Sapb# Support unset when possible.
70641.63Sapbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70651.63Sapb  as_unset=unset
70661.61Schristoselse
70671.63Sapb  as_unset=false
70681.61Schristosfi
70691.61Schristos
70701.63Sapb# NLS nuisances.
70711.63Sapb$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
70721.63Sapb$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70731.63Sapb$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
70741.63Sapb$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
70751.63Sapb$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
70761.63Sapb$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
70771.63Sapb$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
70781.63Sapb$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
70791.1Stv
70801.1Stv# IFS
70811.1Stv# We need space, tab and new line, in precisely that order.
70821.1Stvas_nl='
70831.1Stv'
70841.1StvIFS=" 	$as_nl"
70851.1Stv
70861.1Stv# CDPATH.
70871.63Sapb$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
70881.1Stv
70891.1Stvexec 6>&1
70901.1Stv
70911.1Stv_ACEOF
70921.1Stv
70931.1Stv# Files that config.status was made for.
70941.1Stvif test -n "$ac_config_files"; then
70951.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
70961.1Stvfi
70971.1Stv
70981.1Stvif test -n "$ac_config_headers"; then
70991.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
71001.1Stvfi
71011.1Stv
71021.1Stvif test -n "$ac_config_links"; then
71031.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
71041.1Stvfi
71051.1Stv
71061.1Stvif test -n "$ac_config_commands"; then
71071.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
71081.1Stvfi
71091.1Stv
71101.63Sapbcat >>$CONFIG_STATUS <<\EOF
71111.1Stv
71121.1Stvac_cs_usage="\
71131.1Stv\`$as_me' instantiates files from templates according to the
71141.1Stvcurrent configuration.
71151.1Stv
71161.1StvUsage: $0 [OPTIONS] [FILE]...
71171.1Stv
71181.1Stv  -h, --help       print this help, then exit
71191.1Stv  -V, --version    print version number, then exit
71201.1Stv  -d, --debug      don't remove temporary files
71211.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
71221.1Stv  --file=FILE[:TEMPLATE]
71231.63Sapb                   instantiate the configuration file FILE
71241.1Stv  --header=FILE[:TEMPLATE]
71251.63Sapb                   instantiate the configuration header FILE
71261.1Stv
71271.1StvConfiguration files:
71281.1Stv$config_files
71291.1Stv
71301.1StvConfiguration headers:
71311.1Stv$config_headers
71321.1Stv
71331.1StvReport bugs to <bug-autoconf@gnu.org>."
71341.63SapbEOF
71351.1Stv
71361.63Sapbcat >>$CONFIG_STATUS <<EOF
71371.1Stvac_cs_version="\\
71381.1Stvlibnbcompat config.status noversion
71391.63Sapbconfigured by $0, generated by GNU Autoconf 2.52,
71401.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
71411.1Stv
71421.63SapbCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
71431.63SapbFree Software Foundation, Inc.
71441.1StvThis config.status script is free software; the Free Software Foundation
71451.1Stvgives unlimited permission to copy, distribute and modify it."
71461.1Stvsrcdir=$srcdir
71471.63SapbEOF
71481.1Stv
71491.63Sapbcat >>$CONFIG_STATUS <<\EOF
71501.1Stv# If no file are specified by the user, then we need to provide default
71511.1Stv# value.  By we need to know if files were specified by the user.
71521.1Stvac_need_defaults=:
71531.1Stvwhile test $# != 0
71541.1Stvdo
71551.1Stv  case $1 in
71561.1Stv  --*=*)
71571.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
71581.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
71591.63Sapb    shift
71601.63Sapb    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
71611.63Sapb    shift
71621.1Stv    ;;
71631.63Sapb  -*);;
71641.1Stv  *) # This is not an option, so the user has probably given explicit
71651.1Stv     # arguments.
71661.1Stv     ac_need_defaults=false;;
71671.1Stv  esac
71681.1Stv
71691.63Sapb  case $1 in
71701.1Stv  # Handling of the options.
71711.63SapbEOF
71721.63Sapbcat >>$CONFIG_STATUS <<EOF
71731.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
71741.63Sapb    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
71751.63Sapb    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
71761.63SapbEOF
71771.63Sapbcat >>$CONFIG_STATUS <<\EOF
71781.1Stv  --version | --vers* | -V )
71791.1Stv    echo "$ac_cs_version"; exit 0 ;;
71801.1Stv  --he | --h)
71811.1Stv    # Conflict between --help and --header
71821.63Sapb    { { echo "$as_me:7182: error: ambiguous option: $1
71831.1StvTry \`$0 --help' for more information." >&5
71841.1Stvecho "$as_me: error: ambiguous option: $1
71851.1StvTry \`$0 --help' for more information." >&2;}
71861.1Stv   { (exit 1); exit 1; }; };;
71871.1Stv  --help | --hel | -h )
71881.1Stv    echo "$ac_cs_usage"; exit 0 ;;
71891.1Stv  --debug | --d* | -d )
71901.1Stv    debug=: ;;
71911.1Stv  --file | --fil | --fi | --f )
71921.63Sapb    shift
71931.63Sapb    CONFIG_FILES="$CONFIG_FILES $1"
71941.1Stv    ac_need_defaults=false;;
71951.1Stv  --header | --heade | --head | --hea )
71961.63Sapb    shift
71971.63Sapb    CONFIG_HEADERS="$CONFIG_HEADERS $1"
71981.1Stv    ac_need_defaults=false;;
71991.1Stv
72001.1Stv  # This is an error.
72011.63Sapb  -*) { { echo "$as_me:7201: error: unrecognized option: $1
72021.1StvTry \`$0 --help' for more information." >&5
72031.1Stvecho "$as_me: error: unrecognized option: $1
72041.1StvTry \`$0 --help' for more information." >&2;}
72051.1Stv   { (exit 1); exit 1; }; } ;;
72061.1Stv
72071.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
72081.1Stv
72091.1Stv  esac
72101.1Stv  shift
72111.1Stvdone
72121.1Stv
72131.63Sapbexec 5>>config.log
72141.63Sapbcat >&5 << _ACEOF
72151.1Stv
72161.63Sapb## ----------------------- ##
72171.63Sapb## Running config.status.  ##
72181.63Sapb## ----------------------- ##
72191.1Stv
72201.63SapbThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
72211.63Sapb  CONFIG_FILES    = $CONFIG_FILES
72221.63Sapb  CONFIG_HEADERS  = $CONFIG_HEADERS
72231.63Sapb  CONFIG_LINKS    = $CONFIG_LINKS
72241.63Sapb  CONFIG_COMMANDS = $CONFIG_COMMANDS
72251.63Sapb  > $ac_cs_invocation
72261.63Sapbon `(hostname || uname -n) 2>/dev/null | sed 1q`
72271.1Stv
72281.1Stv_ACEOF
72291.63SapbEOF
72301.1Stv
72311.63Sapbcat >>$CONFIG_STATUS <<\EOF
72321.1Stvfor ac_config_target in $ac_config_targets
72331.1Stvdo
72341.1Stv  case "$ac_config_target" in
72351.1Stv  # Handling of arguments.
72361.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
72371.57Swiz  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
72381.63Sapb  *) { { echo "$as_me:7238: error: invalid argument: $ac_config_target" >&5
72391.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
72401.1Stv   { (exit 1); exit 1; }; };;
72411.1Stv  esac
72421.1Stvdone
72431.1Stv
72441.1Stv# If the user did not use the arguments to specify the items to instantiate,
72451.1Stv# then the envvar interface is used.  Set only those that are not.
72461.1Stv# We use the long form for the default assignment because of an extremely
72471.1Stv# bizarre bug on SunOS 4.1.3.
72481.1Stvif $ac_need_defaults; then
72491.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
72501.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
72511.1Stvfi
72521.1Stv
72531.1Stv# Create a temporary directory, and hook for its removal unless debugging.
72541.1Stv$debug ||
72551.1Stv{
72561.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
72571.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
72581.1Stv}
72591.1Stv
72601.1Stv# Create a (secure) tmp directory for tmp files.
72611.63Sapb: ${TMPDIR=/tmp}
72621.1Stv{
72631.63Sapb  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
72641.1Stv  test -n "$tmp" && test -d "$tmp"
72651.1Stv}  ||
72661.1Stv{
72671.63Sapb  tmp=$TMPDIR/cs$$-$RANDOM
72681.1Stv  (umask 077 && mkdir $tmp)
72691.1Stv} ||
72701.1Stv{
72711.63Sapb   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
72721.1Stv   { (exit 1); exit 1; }
72731.1Stv}
72741.1Stv
72751.63SapbEOF
72761.1Stv
72771.63Sapbcat >>$CONFIG_STATUS <<EOF
72781.1Stv
72791.1Stv#
72801.1Stv# CONFIG_FILES section.
72811.1Stv#
72821.1Stv
72831.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
72841.1Stv# This happens for instance when ./config.status config.h
72851.1Stvif test -n "\$CONFIG_FILES"; then
72861.1Stv  # Protect against being on the right side of a sed subst in config.status.
72871.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
72881.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
72891.1Stvs,@SHELL@,$SHELL,;t t
72901.1Stvs,@exec_prefix@,$exec_prefix,;t t
72911.1Stvs,@prefix@,$prefix,;t t
72921.1Stvs,@program_transform_name@,$program_transform_name,;t t
72931.1Stvs,@bindir@,$bindir,;t t
72941.1Stvs,@sbindir@,$sbindir,;t t
72951.1Stvs,@libexecdir@,$libexecdir,;t t
72961.1Stvs,@datadir@,$datadir,;t t
72971.1Stvs,@sysconfdir@,$sysconfdir,;t t
72981.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
72991.1Stvs,@localstatedir@,$localstatedir,;t t
73001.1Stvs,@libdir@,$libdir,;t t
73011.1Stvs,@includedir@,$includedir,;t t
73021.1Stvs,@oldincludedir@,$oldincludedir,;t t
73031.1Stvs,@infodir@,$infodir,;t t
73041.1Stvs,@mandir@,$mandir,;t t
73051.63Sapbs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
73061.63Sapbs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
73071.63Sapbs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
73081.63Sapbs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
73091.63Sapbs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
73101.1Stvs,@build_alias@,$build_alias,;t t
73111.1Stvs,@host_alias@,$host_alias,;t t
73121.1Stvs,@target_alias@,$target_alias,;t t
73131.1Stvs,@ECHO_C@,$ECHO_C,;t t
73141.1Stvs,@ECHO_N@,$ECHO_N,;t t
73151.1Stvs,@ECHO_T@,$ECHO_T,;t t
73161.63Sapbs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
73171.63Sapbs,@DEFS@,$DEFS,;t t
73181.1Stvs,@LIBS@,$LIBS,;t t
73191.1Stvs,@CC@,$CC,;t t
73201.1Stvs,@CFLAGS@,$CFLAGS,;t t
73211.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
73221.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
73231.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
73241.1Stvs,@EXEEXT@,$EXEEXT,;t t
73251.1Stvs,@OBJEXT@,$OBJEXT,;t t
73261.1Stvs,@CPP@,$CPP,;t t
73271.45Sjmcs,@BSHELL@,$BSHELL,;t t
73281.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
73291.1StvCEOF
73301.1Stv
73311.63SapbEOF
73321.1Stv
73331.63Sapb  cat >>$CONFIG_STATUS <<\EOF
73341.1Stv  # Split the substitutions into bite-sized pieces for seds with
73351.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
73361.1Stv  ac_max_sed_lines=48
73371.1Stv  ac_sed_frag=1 # Number of current file.
73381.1Stv  ac_beg=1 # First line for current file.
73391.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
73401.1Stv  ac_more_lines=:
73411.1Stv  ac_sed_cmds=
73421.1Stv  while $ac_more_lines; do
73431.1Stv    if test $ac_beg -gt 1; then
73441.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
73451.1Stv    else
73461.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
73471.1Stv    fi
73481.1Stv    if test ! -s $tmp/subs.frag; then
73491.1Stv      ac_more_lines=false
73501.1Stv    else
73511.1Stv      # The purpose of the label and of the branching condition is to
73521.1Stv      # speed up the sed processing (if there are no `@' at all, there
73531.1Stv      # is no need to browse any of the substitutions).
73541.1Stv      # These are the two extra sed commands mentioned above.
73551.1Stv      (echo ':t
73561.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
73571.1Stv      if test -z "$ac_sed_cmds"; then
73581.63Sapb  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
73591.1Stv      else
73601.63Sapb  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
73611.1Stv      fi
73621.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
73631.1Stv      ac_beg=$ac_end
73641.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
73651.1Stv    fi
73661.1Stv  done
73671.1Stv  if test -z "$ac_sed_cmds"; then
73681.1Stv    ac_sed_cmds=cat
73691.1Stv  fi
73701.1Stvfi # test -n "$CONFIG_FILES"
73711.1Stv
73721.63SapbEOF
73731.63Sapbcat >>$CONFIG_STATUS <<\EOF
73741.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
73751.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
73761.1Stv  case $ac_file in
73771.1Stv  - | *:- | *:-:* ) # input from stdin
73781.63Sapb        cat >$tmp/stdin
73791.63Sapb        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
73801.63Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
73811.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
73821.63Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
73831.1Stv  * )   ac_file_in=$ac_file.in ;;
73841.1Stv  esac
73851.1Stv
73861.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
73871.63Sapb  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73881.63Sapb         X"$ac_file" : 'X\(//\)[^/]' \| \
73891.63Sapb         X"$ac_file" : 'X\(//\)$' \| \
73901.63Sapb         X"$ac_file" : 'X\(/\)' \| \
73911.63Sapb         .     : '\(.\)' 2>/dev/null ||
73921.1Stvecho X"$ac_file" |
73931.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
73941.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
73951.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
73961.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
73971.1Stv  	  s/.*/./; q'`
73981.63Sapb  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
73991.63Sapb    { case "$ac_dir" in
74001.63Sapb  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
74011.63Sapb  *)                      as_incr_dir=.;;
74021.50Sjmcesac
74031.63Sapbas_dummy="$ac_dir"
74041.63Sapbfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
74051.63Sapb  case $as_mkdir_dir in
74061.63Sapb    # Skip DOS drivespec
74071.63Sapb    ?:) as_incr_dir=$as_mkdir_dir ;;
74081.63Sapb    *)
74091.63Sapb      as_incr_dir=$as_incr_dir/$as_mkdir_dir
74101.63Sapb      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
74111.63Sapb    ;;
74121.63Sapb  esac
74131.63Sapbdone; }
74141.1Stv
74151.63Sapb    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
74161.63Sapb    # A "../" for each directory in $ac_dir_suffix.
74171.63Sapb    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
74181.63Sapb  else
74191.63Sapb    ac_dir_suffix= ac_dots=
74201.63Sapb  fi
74211.1Stv
74221.63Sapb  case $srcdir in
74231.63Sapb  .)  ac_srcdir=.
74241.63Sapb      if test -z "$ac_dots"; then
74251.63Sapb         ac_top_srcdir=.
74261.63Sapb      else
74271.63Sapb         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
74281.63Sapb      fi ;;
74291.63Sapb  [\\/]* | ?:[\\/]* )
74301.63Sapb      ac_srcdir=$srcdir$ac_dir_suffix;
74311.63Sapb      ac_top_srcdir=$srcdir ;;
74321.63Sapb  *) # Relative path.
74331.63Sapb    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
74341.63Sapb    ac_top_srcdir=$ac_dots$srcdir ;;
74351.63Sapb  esac
74361.1Stv
74371.1Stv  if test x"$ac_file" != x-; then
74381.63Sapb    { echo "$as_me:7438: creating $ac_file" >&5
74391.1Stvecho "$as_me: creating $ac_file" >&6;}
74401.1Stv    rm -f "$ac_file"
74411.1Stv  fi
74421.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
74431.1Stv  # use $as_me), people would be surprised to read:
74441.63Sapb  #    /* config.h.  Generated automatically by config.status.  */
74451.63Sapb  configure_input="Generated automatically from `echo $ac_file_in |
74461.63Sapb                                                 sed 's,.*/,,'` by configure."
74471.1Stv
74481.1Stv  # First look for the input files in the build tree, otherwise in the
74491.1Stv  # src tree.
74501.1Stv  ac_file_inputs=`IFS=:
74511.1Stv    for f in $ac_file_in; do
74521.1Stv      case $f in
74531.1Stv      -) echo $tmp/stdin ;;
74541.1Stv      [\\/$]*)
74551.63Sapb         # Absolute (can't be DOS-style, as IFS=:)
74561.63Sapb         test -f "$f" || { { echo "$as_me:7456: error: cannot find input file: $f" >&5
74571.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
74581.1Stv   { (exit 1); exit 1; }; }
74591.63Sapb         echo $f;;
74601.1Stv      *) # Relative
74611.63Sapb         if test -f "$f"; then
74621.63Sapb           # Build tree
74631.63Sapb           echo $f
74641.63Sapb         elif test -f "$srcdir/$f"; then
74651.63Sapb           # Source tree
74661.63Sapb           echo $srcdir/$f
74671.63Sapb         else
74681.63Sapb           # /dev/null tree
74691.63Sapb           { { echo "$as_me:7469: error: cannot find input file: $f" >&5
74701.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
74711.1Stv   { (exit 1); exit 1; }; }
74721.63Sapb         fi;;
74731.1Stv      esac
74741.1Stv    done` || { (exit 1); exit 1; }
74751.63SapbEOF
74761.63Sapbcat >>$CONFIG_STATUS <<EOF
74771.1Stv  sed "$ac_vpsub
74781.1Stv$extrasub
74791.63SapbEOF
74801.63Sapbcat >>$CONFIG_STATUS <<\EOF
74811.1Stv:t
74821.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74831.1Stvs,@configure_input@,$configure_input,;t t
74841.1Stvs,@srcdir@,$ac_srcdir,;t t
74851.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
74861.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
74871.1Stv  rm -f $tmp/stdin
74881.1Stv  if test x"$ac_file" != x-; then
74891.1Stv    mv $tmp/out $ac_file
74901.1Stv  else
74911.1Stv    cat $tmp/out
74921.1Stv    rm -f $tmp/out
74931.1Stv  fi
74941.1Stv
74951.1Stvdone
74961.63SapbEOF
74971.63Sapbcat >>$CONFIG_STATUS <<\EOF
74981.1Stv
74991.1Stv#
75001.1Stv# CONFIG_HEADER section.
75011.1Stv#
75021.1Stv
75031.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
75041.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
75051.1Stv#
75061.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
75071.63Sapbac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
75081.63Sapbac_dB='[ 	].*$,\1#\2'
75091.1Stvac_dC=' '
75101.1Stvac_dD=',;t'
75111.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
75121.63Sapbac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
75131.1Stvac_uB='$,\1#\2define\3'
75141.1Stvac_uC=' '
75151.1Stvac_uD=',;t'
75161.1Stv
75171.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
75181.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
75191.1Stv  case $ac_file in
75201.1Stv  - | *:- | *:-:* ) # input from stdin
75211.63Sapb        cat >$tmp/stdin
75221.63Sapb        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
75231.63Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
75241.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
75251.63Sapb        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
75261.1Stv  * )   ac_file_in=$ac_file.in ;;
75271.1Stv  esac
75281.1Stv
75291.63Sapb  test x"$ac_file" != x- && { echo "$as_me:7529: creating $ac_file" >&5
75301.1Stvecho "$as_me: creating $ac_file" >&6;}
75311.1Stv
75321.1Stv  # First look for the input files in the build tree, otherwise in the
75331.1Stv  # src tree.
75341.1Stv  ac_file_inputs=`IFS=:
75351.1Stv    for f in $ac_file_in; do
75361.1Stv      case $f in
75371.1Stv      -) echo $tmp/stdin ;;
75381.1Stv      [\\/$]*)
75391.63Sapb         # Absolute (can't be DOS-style, as IFS=:)
75401.63Sapb         test -f "$f" || { { echo "$as_me:7540: error: cannot find input file: $f" >&5
75411.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
75421.1Stv   { (exit 1); exit 1; }; }
75431.63Sapb         echo $f;;
75441.1Stv      *) # Relative
75451.63Sapb         if test -f "$f"; then
75461.63Sapb           # Build tree
75471.63Sapb           echo $f
75481.63Sapb         elif test -f "$srcdir/$f"; then
75491.63Sapb           # Source tree
75501.63Sapb           echo $srcdir/$f
75511.63Sapb         else
75521.63Sapb           # /dev/null tree
75531.63Sapb           { { echo "$as_me:7553: error: cannot find input file: $f" >&5
75541.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
75551.1Stv   { (exit 1); exit 1; }; }
75561.63Sapb         fi;;
75571.1Stv      esac
75581.1Stv    done` || { (exit 1); exit 1; }
75591.1Stv  # Remove the trailing spaces.
75601.63Sapb  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
75611.1Stv
75621.63SapbEOF
75631.1Stv
75641.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
75651.1Stv# `conftest.undefs', that substitutes the proper values into
75661.1Stv# config.h.in to produce config.h.  The first handles `#define'
75671.1Stv# templates, and the second `#undef' templates.
75681.1Stv# And first: Protect against being on the right side of a sed subst in
75691.1Stv# config.status.  Protect against being in an unquoted here document
75701.1Stv# in config.status.
75711.1Stvrm -f conftest.defines conftest.undefs
75721.1Stv# Using a here document instead of a string reduces the quoting nightmare.
75731.1Stv# Putting comments in sed scripts is not portable.
75741.1Stv#
75751.1Stv# `end' is used to avoid that the second main sed command (meant for
75761.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
75771.1Stv# See the Autoconf documentation for `clear'.
75781.63Sapbcat >confdef2sed.sed <<\EOF
75791.1Stvs/[\\&,]/\\&/g
75801.1Stvs,[\\$`],\\&,g
75811.1Stvt clear
75821.1Stv: clear
75831.63Sapbs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
75841.1Stvt end
75851.63Sapbs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
75861.1Stv: end
75871.63SapbEOF
75881.1Stv# If some macros were called several times there might be several times
75891.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
75901.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
75911.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
75921.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
75931.1Stvrm -f confdef2sed.sed
75941.1Stv
75951.1Stv# This sed command replaces #undef with comments.  This is necessary, for
75961.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
75971.1Stv# on some systems where configure will not decide to define it.
75981.63Sapbcat >>conftest.undefs <<\EOF
75991.63Sapbs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
76001.63SapbEOF
76011.1Stv
76021.1Stv# Break up conftest.defines because some shells have a limit on the size
76031.1Stv# of here documents, and old seds have small limits too (100 cmds).
76041.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
76051.63Sapbecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
76061.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
76071.1Stvecho '  :' >>$CONFIG_STATUS
76081.1Stvrm -f conftest.tail
76091.1Stvwhile grep . conftest.defines >/dev/null
76101.1Stvdo
76111.1Stv  # Write a limited-size here document to $tmp/defines.sed.
76121.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
76131.1Stv  # Speed up: don't consider the non `#define' lines.
76141.63Sapb  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
76151.1Stv  # Work around the forget-to-reset-the-flag bug.
76161.1Stv  echo 't clr' >>$CONFIG_STATUS
76171.1Stv  echo ': clr' >>$CONFIG_STATUS
76181.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
76191.1Stv  echo 'CEOF
76201.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
76211.1Stv  rm -f $tmp/in
76221.1Stv  mv $tmp/out $tmp/in
76231.1Stv' >>$CONFIG_STATUS
76241.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
76251.1Stv  rm -f conftest.defines
76261.1Stv  mv conftest.tail conftest.defines
76271.1Stvdone
76281.1Stvrm -f conftest.defines
76291.63Sapbecho '  fi # egrep' >>$CONFIG_STATUS
76301.1Stvecho >>$CONFIG_STATUS
76311.1Stv
76321.1Stv# Break up conftest.undefs because some shells have a limit on the size
76331.1Stv# of here documents, and old seds have small limits too (100 cmds).
76341.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
76351.1Stvrm -f conftest.tail
76361.1Stvwhile grep . conftest.undefs >/dev/null
76371.1Stvdo
76381.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
76391.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
76401.1Stv  # Speed up: don't consider the non `#undef'
76411.63Sapb  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
76421.1Stv  # Work around the forget-to-reset-the-flag bug.
76431.1Stv  echo 't clr' >>$CONFIG_STATUS
76441.1Stv  echo ': clr' >>$CONFIG_STATUS
76451.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
76461.1Stv  echo 'CEOF
76471.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
76481.1Stv  rm -f $tmp/in
76491.1Stv  mv $tmp/out $tmp/in
76501.1Stv' >>$CONFIG_STATUS
76511.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
76521.1Stv  rm -f conftest.undefs
76531.1Stv  mv conftest.tail conftest.undefs
76541.1Stvdone
76551.1Stvrm -f conftest.undefs
76561.1Stv
76571.63Sapbcat >>$CONFIG_STATUS <<\EOF
76581.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
76591.1Stv  # use $as_me), people would be surprised to read:
76601.63Sapb  #    /* config.h.  Generated automatically by config.status.  */
76611.1Stv  if test x"$ac_file" = x-; then
76621.63Sapb    echo "/* Generated automatically by configure.  */" >$tmp/config.h
76631.1Stv  else
76641.63Sapb    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
76651.1Stv  fi
76661.1Stv  cat $tmp/in >>$tmp/config.h
76671.1Stv  rm -f $tmp/in
76681.1Stv  if test x"$ac_file" != x-; then
76691.63Sapb    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
76701.63Sapb      { echo "$as_me:7670: $ac_file is unchanged" >&5
76711.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
76721.1Stv    else
76731.63Sapb      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76741.63Sapb         X"$ac_file" : 'X\(//\)[^/]' \| \
76751.63Sapb         X"$ac_file" : 'X\(//\)$' \| \
76761.63Sapb         X"$ac_file" : 'X\(/\)' \| \
76771.63Sapb         .     : '\(.\)' 2>/dev/null ||
76781.1Stvecho X"$ac_file" |
76791.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
76801.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
76811.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
76821.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
76831.1Stv  	  s/.*/./; q'`
76841.63Sapb      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
76851.63Sapb        { case "$ac_dir" in
76861.63Sapb  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
76871.63Sapb  *)                      as_incr_dir=.;;
76881.63Sapbesac
76891.63Sapbas_dummy="$ac_dir"
76901.63Sapbfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
76911.63Sapb  case $as_mkdir_dir in
76921.63Sapb    # Skip DOS drivespec
76931.63Sapb    ?:) as_incr_dir=$as_mkdir_dir ;;
76941.63Sapb    *)
76951.63Sapb      as_incr_dir=$as_incr_dir/$as_mkdir_dir
76961.63Sapb      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
76971.63Sapb    ;;
76981.63Sapb  esac
76991.63Sapbdone; }
77001.1Stv
77011.63Sapb      fi
77021.1Stv      rm -f $ac_file
77031.1Stv      mv $tmp/config.h $ac_file
77041.1Stv    fi
77051.1Stv  else
77061.1Stv    cat $tmp/config.h
77071.1Stv    rm -f $tmp/config.h
77081.1Stv  fi
77091.1Stvdone
77101.63SapbEOF
77111.1Stv
77121.63Sapbcat >>$CONFIG_STATUS <<\EOF
77131.1Stv
77141.1Stv{ (exit 0); exit 0; }
77151.63SapbEOF
77161.1Stvchmod +x $CONFIG_STATUS
77171.1Stvac_clean_files=$ac_clean_files_save
77181.1Stv
77191.1Stv# configure is writing to config.log, and then calls config.status.
77201.1Stv# config.status does its own redirection, appending to config.log.
77211.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
77221.1Stv# by configure, so config.status won't be able to write to it; its
77231.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
77241.1Stv# effectively closing config.log, so it can be properly (re)opened and
77251.1Stv# appended to by config.status.  When coming back to configure, we
77261.1Stv# need to make the FD available again.
77271.1Stvif test "$no_create" != yes; then
77281.1Stv  ac_cs_success=:
77291.1Stv  exec 5>/dev/null
77301.63Sapb  $SHELL $CONFIG_STATUS || ac_cs_success=false
77311.1Stv  exec 5>>config.log
77321.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
77331.1Stv  # would make configure fail if this is the last instruction.
77341.1Stv  $ac_cs_success || { (exit 1); exit 1; }
77351.1Stvfi
77361.1Stv
7737