configure revision 1.72
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.66Stsutsui# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.66Stsutsui# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.66Stsutsui# 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.66Stsutsui# Sed expression to map a string onto a valid variable name.
201.66Stsutsuias_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.65Schristos
221.66Stsutsui# Sed expression to map a string onto a valid CPP name.
231.66Stsutsuias_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.65Schristos
251.66Stsutsui# Be Bourne compatible
261.65Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.65Schristos  emulate sh
281.65Schristos  NULLCMD=:
291.66Stsutsuielif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.66Stsutsui  set -o posix
311.65Schristosfi
321.61Schristos
331.66Stsutsui# Name of the executable.
341.66Stsutsuias_me=`echo "$0" |sed 's,.*[\\/],,'`
351.61Schristos
361.66Stsutsuiif 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.66Stsutsui  # We could just check for DJGPP; but this test a) works b) is more generic
461.66Stsutsui  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.66Stsutsui  if test -f conf$$.exe; then
481.66Stsutsui    # Don't use ln at all; we don't have any links
491.1Stv    as_ln_s='cp -p'
501.66Stsutsui  else
511.66Stsutsui    as_ln_s='ln -s'
521.66Stsutsui  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.66Stsutsuirm -f conf$$ conf$$.exe conf$$.file
591.1Stv
601.66Stsutsuias_executable_p="test -f"
611.63Sapb
621.66Stsutsui# Support unset when possible.
631.66Stsutsuiif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.66Stsutsui  as_unset=unset
651.61Schristoselse
661.66Stsutsui  as_unset=false
671.61Schristosfi
681.65Schristos
691.66Stsutsui# NLS nuisances.
701.66Stsutsui$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.66Stsutsui$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.66Stsutsui$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.66Stsutsui$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.66Stsutsui$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.66Stsutsui$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.66Stsutsui$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.66Stsutsui$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.65Schristos
791.66Stsutsui# IFS
801.66Stsutsui# We need space, tab and new line, in precisely that order.
811.66Stsutsuias_nl='
821.66Stsutsui'
831.66StsutsuiIFS=" 	$as_nl"
841.61Schristos
851.66Stsutsui# CDPATH.
861.66Stsutsui$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.66Stsutsuiexec 6>&1
941.66Stsutsui
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.66StsutsuiMFLAGS= MAKEFLAGS=
1021.1StvSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.66Stsutsui# Maximum number of lines to put in a shell here document.
1051.66Stsutsui# This variable seems obsolete.  It should probably be removed, and
1061.66Stsutsui# only ac_max_sed_lines should be used.
1071.66Stsutsui: ${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.66Stsutsui#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.66Stsutsui#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.66Stsutsui#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.66Stsutsui# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.66Stsutsui#if HAVE_STRING_H
1271.66Stsutsui# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.66Stsutsui#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.66Stsutsui#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.66Stsutsui#else
1381.66Stsutsui# if HAVE_STDINT_H
1391.66Stsutsui#  include <stdint.h>
1401.66Stsutsui# endif
1411.1Stv#endif
1421.66Stsutsui#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.66Stsutsuidatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.66Stsutsuilibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.66Stsutsuiinfodir='${prefix}/info'
1821.66Stsutsuimandir='${prefix}/man'
1831.66Stsutsui
1841.66Stsutsui# Identity of this package.
1851.66StsutsuiPACKAGE_NAME='libnbcompat'
1861.66StsutsuiPACKAGE_TARNAME='libnbcompat'
1871.66StsutsuiPACKAGE_VERSION='noversion'
1881.66StsutsuiPACKAGE_STRING='libnbcompat noversion'
1891.66StsutsuiPACKAGE_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.66Stsutsui    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.66Stsutsui  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.66Stsutsui  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.66Stsutsui  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.66Stsutsui  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.66Stsutsui  | --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.66Stsutsui    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.66Stsutsui    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.66Stsutsui    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.66Stsutsui    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.66Stsutsui    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.66Stsutsui    case $ac_option in
2501.66Stsutsui      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.66Stsutsui      *) ac_optarg=yes ;;
2521.66Stsutsui    esac
2531.66Stsutsui    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.66Stsutsui  | --localstate | --localstat | --localsta | --localst \
3061.66Stsutsui  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.66Stsutsui  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.66Stsutsui  | --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.66Stsutsui  | --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.66Stsutsui    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.66Stsutsui    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.66Stsutsui    case $ac_option in
4321.66Stsutsui      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.66Stsutsui      *) ac_optarg=yes ;;
4341.66Stsutsui    esac
4351.66Stsutsui    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.66Stsutsui    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.66Stsutsui    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.66Stsutsui    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.66Stsutsui    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.66Stsutsui    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.66Stsutsui# Be sure to have absolute paths.
4971.66Stsutsuifor ac_var in exec_prefix prefix
4981.66Stsutsuido
4991.66Stsutsui  eval ac_val=$`echo $ac_var`
5001.66Stsutsui  case $ac_val in
5011.66Stsutsui    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.66Stsutsui    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.66Stsutsui   { (exit 1); exit 1; }; };;
5041.66Stsutsui  esac
5051.66Stsutsuidone
5061.66Stsutsui
5071.66Stsutsui# Be sure to have absolute paths.
5081.66Stsutsuifor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.66Stsutsui              localstatedir libdir includedir oldincludedir infodir mandir
5101.1Stvdo
5111.66Stsutsui  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.66Stsutsui    [\\/$]* | ?:[\\/]* ) ;;
5141.66Stsutsui    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.66Stsutsui   { (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.66Stsutsui# 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.66Stsutsui  # Try the directory containing this script, then its parent.
5451.66Stsutsui  ac_prog=$0
5461.66Stsutsui  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.66Stsutsui  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.66Stsutsui  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.66Stsutsuiif test ! -r $srcdir/$ac_unique_file; then
5561.66Stsutsui  if test "$ac_srcdir_defaulted" = yes; then
5571.66Stsutsui    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.66Stsutsui   { (exit 1); exit 1; }; }
5591.66Stsutsui  else
5601.66Stsutsui    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.1Stv   { (exit 1); exit 1; }; }
5621.66Stsutsui  fi
5631.65Schristosfi
5641.66Stsutsuisrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.66Stsutsuiac_env_build_alias_set=${build_alias+set}
5661.66Stsutsuiac_env_build_alias_value=$build_alias
5671.66Stsutsuiac_cv_env_build_alias_set=${build_alias+set}
5681.66Stsutsuiac_cv_env_build_alias_value=$build_alias
5691.66Stsutsuiac_env_host_alias_set=${host_alias+set}
5701.66Stsutsuiac_env_host_alias_value=$host_alias
5711.66Stsutsuiac_cv_env_host_alias_set=${host_alias+set}
5721.66Stsutsuiac_cv_env_host_alias_value=$host_alias
5731.66Stsutsuiac_env_target_alias_set=${target_alias+set}
5741.66Stsutsuiac_env_target_alias_value=$target_alias
5751.66Stsutsuiac_cv_env_target_alias_set=${target_alias+set}
5761.66Stsutsuiac_cv_env_target_alias_value=$target_alias
5771.66Stsutsuiac_env_CC_set=${CC+set}
5781.66Stsutsuiac_env_CC_value=$CC
5791.66Stsutsuiac_cv_env_CC_set=${CC+set}
5801.66Stsutsuiac_cv_env_CC_value=$CC
5811.66Stsutsuiac_env_CFLAGS_set=${CFLAGS+set}
5821.66Stsutsuiac_env_CFLAGS_value=$CFLAGS
5831.66Stsutsuiac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.66Stsutsuiac_cv_env_CFLAGS_value=$CFLAGS
5851.66Stsutsuiac_env_LDFLAGS_set=${LDFLAGS+set}
5861.66Stsutsuiac_env_LDFLAGS_value=$LDFLAGS
5871.66Stsutsuiac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.66Stsutsuiac_cv_env_LDFLAGS_value=$LDFLAGS
5891.66Stsutsuiac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.66Stsutsuiac_env_CPPFLAGS_value=$CPPFLAGS
5911.66Stsutsuiac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.66Stsutsuiac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.66Stsutsuiac_env_CPP_set=${CPP+set}
5941.66Stsutsuiac_env_CPP_value=$CPP
5951.66Stsutsuiac_cv_env_CPP_set=${CPP+set}
5961.66Stsutsuiac_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.66Stsutsui  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.66StsutsuiEOF
6261.66Stsutsui
6271.66Stsutsui  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.66Stsutsui                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.66Stsutsui                          [PREFIX]
6331.1Stv
6341.1StvBy default, \`make install' will install all the files in
6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
6371.1Stvfor instance \`--prefix=\$HOME'.
6381.1Stv
6391.1StvFor better control, use the options below.
6401.1Stv
6411.1StvFine tuning of the installation directories:
6421.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.66Stsutsui  --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.66Stsutsui  --infodir=DIR          info documentation [PREFIX/info]
6531.66Stsutsui  --mandir=DIR           man documentation [PREFIX/man]
6541.66StsutsuiEOF
6551.1Stv
6561.66Stsutsui  cat <<\EOF
6571.66StsutsuiEOF
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.66Stsutsui  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.66Stsutsui  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.66Stsutsui              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.66StsutsuiEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.66Stsutsui  ac_popdir=`pwd`
6851.66Stsutsui  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.66Stsutsui    cd $ac_subdir
6871.66Stsutsui    # A "../" for each directory in /$ac_subdir.
6881.66Stsutsui    ac_dots=`echo $ac_subdir |
6891.66Stsutsui             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.66Stsutsui
6911.66Stsutsui    case $srcdir in
6921.66Stsutsui    .) # No --srcdir option.  We are building in place.
6931.66Stsutsui      ac_sub_srcdir=$srcdir ;;
6941.66Stsutsui    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.66Stsutsui      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.66Stsutsui    *) # Relative path.
6971.66Stsutsui      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.66Stsutsui    esac
6991.1Stv
7001.66Stsutsui    # Check for guested configure; otherwise get Cygnus style configure.
7011.66Stsutsui    if test -f $ac_sub_srcdir/configure.gnu; then
7021.66Stsutsui      echo
7031.66Stsutsui      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.66Stsutsui    elif test -f $ac_sub_srcdir/configure; then
7051.66Stsutsui      echo
7061.66Stsutsui      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.66Stsutsui    elif test -f $ac_sub_srcdir/configure.ac ||
7081.66Stsutsui           test -f $ac_sub_srcdir/configure.in; then
7091.66Stsutsui      echo
7101.66Stsutsui      $ac_configure --help
7111.65Schristos    else
7121.66Stsutsui      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.66Stsutsui    fi
7141.66Stsutsui    cd $ac_popdir
7151.65Schristos  done
7161.1Stvfi
7171.1Stv
7181.66Stsutsuitest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.66Stsutsui  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.66Stsutsuigenerated by GNU Autoconf 2.52
7231.1Stv
7241.66StsutsuiCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.66StsutsuiFree 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.66StsutsuiEOF
7291.66Stsutsui  exit 0
7301.1Stvfi
7311.66Stsutsuiexec 5>config.log
7321.66Stsutsuicat >&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.66Stsutsuigenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.66StsutsuiEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.66Stsutsui## ---------- ##
7451.66Stsutsui## Platform.  ##
7461.66Stsutsui## ---------- ##
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.66Stsutsuihostinfo               = `(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.66StsutsuiPATH = $PATH
7661.66Stsutsui
7671.65Schristos_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.66Stsutsuicat >&5 <<EOF
7711.66Stsutsui## ------------ ##
7721.66Stsutsui## Core tests.  ##
7731.66Stsutsui## ------------ ##
7741.1Stv
7751.66StsutsuiEOF
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.66Stsutsuiac_sep=
7821.66Stsutsuifor ac_arg
7831.1Stvdo
7841.66Stsutsui  case $ac_arg in
7851.66Stsutsui  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.66Stsutsui  | --no-cr | --no-c) ;;
7871.66Stsutsui  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.66Stsutsui  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.66Stsutsui  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.66Stsutsui    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.66Stsutsui    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.66Stsutsui    ac_sep=" " ;;
7931.66Stsutsui  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.66Stsutsui     ac_sep=" " ;;
7951.66Stsutsui  esac
7961.66Stsutsui  # 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.66Stsutsui  echo >&5
8051.66Stsutsui  echo "## ----------------- ##" >&5
8061.66Stsutsui  echo "## Cache variables.  ##" >&5
8071.66Stsutsui  echo "## ----------------- ##" >&5
8081.66Stsutsui  echo >&5
8091.66Stsutsui  # The following way of writing the cache mishandles newlines in values,
8101.66Stsutsui{
8111.1Stv  (set) 2>&1 |
8121.66Stsutsui    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.66Stsutsui    *ac_space=\ *)
8141.1Stv      sed -n \
8151.66Stsutsui        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.66Stsutsui    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.66Stsutsui      ;;
8181.1Stv    *)
8191.66Stsutsui      sed -n \
8201.66Stsutsui        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.66Stsutsui    esac;
8231.66Stsutsui} >&5
8241.66Stsutsui  sed "/^$/d" confdefs.h >conftest.log
8251.66Stsutsui  if test -s conftest.log; then
8261.66Stsutsui    echo >&5
8271.66Stsutsui    echo "## ------------ ##" >&5
8281.66Stsutsui    echo "## confdefs.h.  ##" >&5
8291.66Stsutsui    echo "## ------------ ##" >&5
8301.66Stsutsui    echo >&5
8311.66Stsutsui    cat conftest.log >&5
8321.66Stsutsui  fi
8331.66Stsutsui  (echo; echo) >&5
8341.66Stsutsui  test "$ac_signal" != 0 &&
8351.66Stsutsui    echo "$as_me: caught signal $ac_signal" >&5
8361.66Stsutsui  echo "$as_me: exit $exit_status" >&5
8371.66Stsutsui  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.66Stsutsui     ' 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.66Stsutsuirm -rf conftest* confdefs.h
8471.66Stsutsui# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.66Stsutsuiecho >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.66Stsutsuiif test -z "$CONFIG_SITE"; then
8531.66Stsutsui  if test "x$prefix" != xNONE; then
8541.66Stsutsui    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.66Stsutsui  else
8561.66Stsutsui    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.66Stsutsui  fi
8581.1Stvfi
8591.66Stsutsuifor ac_site_file in $CONFIG_SITE; do
8601.1Stv  if test -r "$ac_site_file"; then
8611.66Stsutsui    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.66Stsutsui    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.66Stsutsui    { 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.66Stsutsui      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.66Stsutsui      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.66Stsutsui  { 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.66Stsutsuifor ac_var in `(set) 2>&1 |
8891.66Stsutsui               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.66Stsutsui  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.66Stsutsui  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.66Stsutsui      { 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.66Stsutsui      { 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.66Stsutsui        { 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.66Stsutsui        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.66Stsutsui        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.66Stsutsui        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.66Stsutsui  # Pass precious variables to config.status.  It doesn't matter if
9161.66Stsutsui  # 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.66Stsutsui    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.66Stsutsui      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.66Stsutsui      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.66Stsutsui      ;;
9231.66Stsutsui    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.66Stsutsui       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.66Stsutsui  { 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.66Stsutsui  { { 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.66Stsutsuicase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.66Stsutsui  *c*,-n*) ECHO_N= ECHO_C='
9441.66Stsutsui' ECHO_T='	' ;;
9451.66Stsutsui  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.66Stsutsui  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.66Stsutsuiesac
9481.66Stsutsuiecho "#! $SHELL" >conftest.sh
9491.66Stsutsuiecho  "exit 0"   >>conftest.sh
9501.66Stsutsuichmod +x conftest.sh
9511.66Stsutsuiif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.66Stsutsui  (PATH=".;."; conftest.sh) 2>&5
9531.66Stsutsui  ac_status=$?
9541.66Stsutsui  echo "$as_me:954: \$? = $ac_status" >&5
9551.66Stsutsui  (exit $ac_status); }; then
9561.66Stsutsui  ac_path_separator=';'
9571.66Stsutsuielse
9581.66Stsutsui  ac_path_separator=:
9591.66Stsutsuifi
9601.66StsutsuiPATH_SEPARATOR="$ac_path_separator"
9611.66Stsutsuirm -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.66Stsutsuiecho "$as_me:979: checking for $ac_word" >&5
9801.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
9881.66Stsutsuiac_dummy="$PATH"
9891.66Stsutsuifor ac_dir in $ac_dummy; do
9901.66Stsutsui  IFS=$ac_save_IFS
9911.66Stsutsui  test -z "$ac_dir" && ac_dir=.
9921.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
9931.66Stsutsuiac_cv_prog_CC="${ac_tool_prefix}gcc"
9941.66Stsutsuiecho "$as_me:994: found $ac_dir/$ac_word" >&5
9951.66Stsutsuibreak
9961.1Stvdone
9971.1Stv
9981.1Stvfi
9991.1Stvfi
10001.1StvCC=$ac_cv_prog_CC
10011.1Stvif test -n "$CC"; then
10021.66Stsutsui  echo "$as_me:1002: result: $CC" >&5
10031.66Stsutsuiecho "${ECHO_T}$CC" >&6
10041.1Stvelse
10051.66Stsutsui  echo "$as_me:1005: result: no" >&5
10061.66Stsutsuiecho "${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.66Stsutsuiecho "$as_me:1014: checking for $ac_word" >&5
10151.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
10231.66Stsutsuiac_dummy="$PATH"
10241.66Stsutsuifor ac_dir in $ac_dummy; do
10251.66Stsutsui  IFS=$ac_save_IFS
10261.66Stsutsui  test -z "$ac_dir" && ac_dir=.
10271.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
10281.66Stsutsuiac_cv_prog_ac_ct_CC="gcc"
10291.66Stsutsuiecho "$as_me:1029: found $ac_dir/$ac_word" >&5
10301.66Stsutsuibreak
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.66Stsutsui  echo "$as_me:1037: result: $ac_ct_CC" >&5
10381.66Stsutsuiecho "${ECHO_T}$ac_ct_CC" >&6
10391.1Stvelse
10401.66Stsutsui  echo "$as_me:1040: result: no" >&5
10411.66Stsutsuiecho "${ECHO_T}no" >&6
10421.1Stvfi
10431.1Stv
10441.66Stsutsui  CC=$ac_ct_CC
10451.1Stvelse
10461.1Stv  CC="$ac_cv_prog_CC"
10471.1Stvfi
10481.1Stv
10491.1Stvif test -z "$CC"; then
10501.66Stsutsui  if test -n "$ac_tool_prefix"; then
10511.66Stsutsui  # 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.66Stsutsuiecho "$as_me:1053: checking for $ac_word" >&5
10541.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
10621.66Stsutsuiac_dummy="$PATH"
10631.66Stsutsuifor ac_dir in $ac_dummy; do
10641.66Stsutsui  IFS=$ac_save_IFS
10651.66Stsutsui  test -z "$ac_dir" && ac_dir=.
10661.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
10671.66Stsutsuiac_cv_prog_CC="${ac_tool_prefix}cc"
10681.66Stsutsuiecho "$as_me:1068: found $ac_dir/$ac_word" >&5
10691.66Stsutsuibreak
10701.65Schristosdone
10711.1Stv
10721.1Stvfi
10731.1Stvfi
10741.1StvCC=$ac_cv_prog_CC
10751.1Stvif test -n "$CC"; then
10761.66Stsutsui  echo "$as_me:1076: result: $CC" >&5
10771.66Stsutsuiecho "${ECHO_T}$CC" >&6
10781.66Stsutsuielse
10791.66Stsutsui  echo "$as_me:1079: result: no" >&5
10801.66Stsutsuiecho "${ECHO_T}no" >&6
10811.66Stsutsuifi
10821.66Stsutsui
10831.66Stsutsuifi
10841.66Stsutsuiif test -z "$ac_cv_prog_CC"; then
10851.66Stsutsui  ac_ct_CC=$CC
10861.66Stsutsui  # Extract the first word of "cc", so it can be a program name with args.
10871.66Stsutsuiset dummy cc; ac_word=$2
10881.66Stsutsuiecho "$as_me:1088: checking for $ac_word" >&5
10891.66Stsutsuiecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10901.66Stsutsuiif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10911.66Stsutsui  echo $ECHO_N "(cached) $ECHO_C" >&6
10921.66Stsutsuielse
10931.66Stsutsui  if test -n "$ac_ct_CC"; then
10941.66Stsutsui  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10951.66Stsutsuielse
10961.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
10971.66Stsutsuiac_dummy="$PATH"
10981.66Stsutsuifor ac_dir in $ac_dummy; do
10991.66Stsutsui  IFS=$ac_save_IFS
11001.66Stsutsui  test -z "$ac_dir" && ac_dir=.
11011.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
11021.66Stsutsuiac_cv_prog_ac_ct_CC="cc"
11031.66Stsutsuiecho "$as_me:1103: found $ac_dir/$ac_word" >&5
11041.66Stsutsuibreak
11051.66Stsutsuidone
11061.66Stsutsui
11071.66Stsutsuifi
11081.66Stsutsuifi
11091.66Stsutsuiac_ct_CC=$ac_cv_prog_ac_ct_CC
11101.66Stsutsuiif test -n "$ac_ct_CC"; then
11111.66Stsutsui  echo "$as_me:1111: result: $ac_ct_CC" >&5
11121.66Stsutsuiecho "${ECHO_T}$ac_ct_CC" >&6
11131.1Stvelse
11141.66Stsutsui  echo "$as_me:1114: result: no" >&5
11151.66Stsutsuiecho "${ECHO_T}no" >&6
11161.1Stvfi
11171.1Stv
11181.66Stsutsui  CC=$ac_ct_CC
11191.66Stsutsuielse
11201.66Stsutsui  CC="$ac_cv_prog_CC"
11211.66Stsutsuifi
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.66Stsutsuiecho "$as_me:1127: checking for $ac_word" >&5
11281.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
11371.66Stsutsuiac_dummy="$PATH"
11381.66Stsutsuifor ac_dir in $ac_dummy; do
11391.66Stsutsui  IFS=$ac_save_IFS
11401.66Stsutsui  test -z "$ac_dir" && ac_dir=.
11411.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
11421.66Stsutsuiif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11431.66Stsutsui  ac_prog_rejected=yes
11441.66Stsutsui  continue
11451.66Stsutsuifi
11461.66Stsutsuiac_cv_prog_CC="cc"
11471.66Stsutsuiecho "$as_me:1147: found $ac_dir/$ac_word" >&5
11481.66Stsutsuibreak
11491.65Schristosdone
11501.1Stv
11511.1Stvif test $ac_prog_rejected = yes; then
11521.1Stv  # We found a bogon in the path, so make sure we never use it.
11531.1Stv  set dummy $ac_cv_prog_CC
11541.1Stv  shift
11551.1Stv  if test $# != 0; then
11561.1Stv    # We chose a different compiler from the bogus one.
11571.1Stv    # However, it has the same basename, so the bogon will be chosen
11581.1Stv    # first if we set CC to just the basename; use the full file name.
11591.1Stv    shift
11601.66Stsutsui    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11611.66Stsutsui    shift
11621.66Stsutsui    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.66Stsutsui  echo "$as_me:1169: result: $CC" >&5
11701.66Stsutsuiecho "${ECHO_T}$CC" >&6
11711.1Stvelse
11721.66Stsutsui  echo "$as_me:1172: result: no" >&5
11731.66Stsutsuiecho "${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.66Stsutsui  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.66Stsutsuiecho "$as_me:1183: checking for $ac_word" >&5
11841.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
11921.66Stsutsuiac_dummy="$PATH"
11931.66Stsutsuifor ac_dir in $ac_dummy; do
11941.66Stsutsui  IFS=$ac_save_IFS
11951.66Stsutsui  test -z "$ac_dir" && ac_dir=.
11961.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
11971.66Stsutsuiac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11981.66Stsutsuiecho "$as_me:1198: found $ac_dir/$ac_word" >&5
11991.66Stsutsuibreak
12001.1Stvdone
12011.1Stv
12021.1Stvfi
12031.1Stvfi
12041.1StvCC=$ac_cv_prog_CC
12051.1Stvif test -n "$CC"; then
12061.66Stsutsui  echo "$as_me:1206: result: $CC" >&5
12071.66Stsutsuiecho "${ECHO_T}$CC" >&6
12081.1Stvelse
12091.66Stsutsui  echo "$as_me:1209: result: no" >&5
12101.66Stsutsuiecho "${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.66Stsutsui  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.66Stsutsuiecho "$as_me:1222: checking for $ac_word" >&5
12231.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
12311.66Stsutsuiac_dummy="$PATH"
12321.66Stsutsuifor ac_dir in $ac_dummy; do
12331.66Stsutsui  IFS=$ac_save_IFS
12341.66Stsutsui  test -z "$ac_dir" && ac_dir=.
12351.66Stsutsui  $as_executable_p "$ac_dir/$ac_word" || continue
12361.66Stsutsuiac_cv_prog_ac_ct_CC="$ac_prog"
12371.66Stsutsuiecho "$as_me:1237: found $ac_dir/$ac_word" >&5
12381.66Stsutsuibreak
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.66Stsutsui  echo "$as_me:1245: result: $ac_ct_CC" >&5
12461.66Stsutsuiecho "${ECHO_T}$ac_ct_CC" >&6
12471.1Stvelse
12481.66Stsutsui  echo "$as_me:1248: result: no" >&5
12491.66Stsutsuiecho "${ECHO_T}no" >&6
12501.1Stvfi
12511.1Stv
12521.1Stv  test -n "$ac_ct_CC" && break
12531.1Stvdone
12541.1Stv
12551.66Stsutsui  CC=$ac_ct_CC
12561.1Stvfi
12571.1Stv
12581.1Stvfi
12591.1Stv
12601.66Stsutsuitest -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
12611.66Stsutsuiecho "$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.66Stsutsuiecho "$as_me:1265:" \
12661.66Stsutsui     "checking for C compiler version" >&5
12671.1Stvac_compiler=`set X $ac_compile; echo $2`
12681.66Stsutsui{ (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
12691.66Stsutsui  (eval $ac_compiler --version </dev/null >&5) 2>&5
12701.1Stv  ac_status=$?
12711.66Stsutsui  echo "$as_me:1271: \$? = $ac_status" >&5
12721.1Stv  (exit $ac_status); }
12731.66Stsutsui{ (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
12741.66Stsutsui  (eval $ac_compiler -v </dev/null >&5) 2>&5
12751.1Stv  ac_status=$?
12761.66Stsutsui  echo "$as_me:1276: \$? = $ac_status" >&5
12771.1Stv  (exit $ac_status); }
12781.66Stsutsui{ (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
12791.66Stsutsui  (eval $ac_compiler -V </dev/null >&5) 2>&5
12801.1Stv  ac_status=$?
12811.66Stsutsui  echo "$as_me:1281: \$? = $ac_status" >&5
12821.1Stv  (exit $ac_status); }
12831.1Stv
12841.1Stvcat >conftest.$ac_ext <<_ACEOF
12851.66Stsutsui#line 1285 "configure"
12861.66Stsutsui#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.66Stsutsuiac_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.66Stsutsuiecho "$as_me:1301: checking for C compiler default output" >&5
13021.66Stsutsuiecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13031.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13041.66Stsutsuiif { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
13051.66Stsutsui  (eval $ac_link_default) 2>&5
13061.1Stv  ac_status=$?
13071.66Stsutsui  echo "$as_me:1307: \$? = $ac_status" >&5
13081.1Stv  (exit $ac_status); }; then
13091.66Stsutsui  # Find the output, starting from the most likely.  This scheme is
13101.66Stsutsui# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13111.66Stsutsui# resort.
13121.66Stsutsuifor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13131.66Stsutsui                ls a.out conftest 2>/dev/null;
13141.66Stsutsui                ls a.* conftest.* 2>/dev/null`; do
13151.1Stv  case $ac_file in
13161.66Stsutsui    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13171.66Stsutsui    a.out ) # We found the default executable, but exeext='' is most
13181.66Stsutsui            # certainly right.
13191.66Stsutsui            break;;
13201.66Stsutsui    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13211.66Stsutsui          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13221.66Stsutsui          export ac_cv_exeext
13231.66Stsutsui          break;;
13241.66Stsutsui    * ) break;;
13251.1Stv  esac
13261.1Stvdone
13271.1Stvelse
13281.1Stv  echo "$as_me: failed program was:" >&5
13291.66Stsutsuicat conftest.$ac_ext >&5
13301.66Stsutsui{ { echo "$as_me:1330: error: C compiler cannot create executables" >&5
13311.66Stsutsuiecho "$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.66Stsutsuiecho "$as_me:1336: result: $ac_file" >&5
13371.66Stsutsuiecho "${ECHO_T}$ac_file" >&6
13381.1Stv
13391.66Stsutsui# Check the compiler produces executables we can run.  If not, either
13401.1Stv# the compiler is broken, or we cross compile.
13411.66Stsutsuiecho "$as_me:1341: checking whether the C compiler works" >&5
13421.66Stsutsuiecho $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.66Stsutsui  { (eval echo "$as_me:1347: \"$ac_try\"") >&5
13481.66Stsutsui  (eval $ac_try) 2>&5
13491.1Stv  ac_status=$?
13501.66Stsutsui  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.66Stsutsui	{ { echo "$as_me:1357: error: cannot run C compiled programs.
13581.66StsutsuiIf you meant to cross compile, use \`--host'." >&5
13591.1Stvecho "$as_me: error: cannot run C compiled programs.
13601.66StsutsuiIf you meant to cross compile, use \`--host'." >&2;}
13611.1Stv   { (exit 1); exit 1; }; }
13621.1Stv    fi
13631.1Stv  fi
13641.1Stvfi
13651.66Stsutsuiecho "$as_me:1365: result: yes" >&5
13661.66Stsutsuiecho "${ECHO_T}yes" >&6
13671.1Stv
13681.66Stsutsuirm -f a.out a.exe conftest$ac_cv_exeext
13691.1Stvac_clean_files=$ac_clean_files_save
13701.66Stsutsui# Check the compiler produces executables we can run.  If not, either
13711.1Stv# the compiler is broken, or we cross compile.
13721.66Stsutsuiecho "$as_me:1372: checking whether we are cross compiling" >&5
13731.66Stsutsuiecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13741.66Stsutsuiecho "$as_me:1374: result: $cross_compiling" >&5
13751.66Stsutsuiecho "${ECHO_T}$cross_compiling" >&6
13761.66Stsutsui
13771.66Stsutsuiecho "$as_me:1377: checking for executable suffix" >&5
13781.66Stsutsuiecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13791.66Stsutsuiif { (eval echo "$as_me:1379: \"$ac_link\"") >&5
13801.66Stsutsui  (eval $ac_link) 2>&5
13811.1Stv  ac_status=$?
13821.66Stsutsui  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.66Stsutsuifor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13891.1Stv  case $ac_file in
13901.66Stsutsui    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13911.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13921.66Stsutsui          export ac_cv_exeext
13931.66Stsutsui          break;;
13941.1Stv    * ) break;;
13951.1Stv  esac
13961.1Stvdone
13971.1Stvelse
13981.66Stsutsui  { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
13991.66Stsutsuiecho "$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.66Stsutsuiecho "$as_me:1404: result: $ac_cv_exeext" >&5
14051.66Stsutsuiecho "${ECHO_T}$ac_cv_exeext" >&6
14061.1Stv
14071.1Stvrm -f conftest.$ac_ext
14081.1StvEXEEXT=$ac_cv_exeext
14091.1Stvac_exeext=$EXEEXT
14101.66Stsutsuiecho "$as_me:1410: checking for object suffix" >&5
14111.66Stsutsuiecho $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.66Stsutsui#line 1416 "configure"
14171.66Stsutsui#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.66Stsutsuiif { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
14291.66Stsutsui  (eval $ac_compile) 2>&5
14301.1Stv  ac_status=$?
14311.66Stsutsui  echo "$as_me:1431: \$? = $ac_status" >&5
14321.1Stv  (exit $ac_status); }; then
14331.66Stsutsui  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14341.1Stv  case $ac_file in
14351.66Stsutsui    *.$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.66Stsutsuicat conftest.$ac_ext >&5
14431.66Stsutsui{ { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
14441.66Stsutsuiecho "$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.66Stsutsuiecho "$as_me:1450: result: $ac_cv_objext" >&5
14511.66Stsutsuiecho "${ECHO_T}$ac_cv_objext" >&6
14521.1StvOBJEXT=$ac_cv_objext
14531.1Stvac_objext=$OBJEXT
14541.66Stsutsuiecho "$as_me:1454: checking whether we are using the GNU C compiler" >&5
14551.66Stsutsuiecho $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.66Stsutsui#line 1460 "configure"
14611.66Stsutsui#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.66Stsutsuiif { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
14761.66Stsutsui  (eval $ac_compile) 2>&5
14771.66Stsutsui  ac_status=$?
14781.66Stsutsui  echo "$as_me:1478: \$? = $ac_status" >&5
14791.66Stsutsui  (exit $ac_status); } &&
14801.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
14811.66Stsutsui  { (eval echo "$as_me:1481: \"$ac_try\"") >&5
14821.66Stsutsui  (eval $ac_try) 2>&5
14831.1Stv  ac_status=$?
14841.66Stsutsui  echo "$as_me:1484: \$? = $ac_status" >&5
14851.66Stsutsui  (exit $ac_status); }; }; then
14861.1Stv  ac_compiler_gnu=yes
14871.1Stvelse
14881.1Stv  echo "$as_me: failed program was:" >&5
14891.66Stsutsuicat conftest.$ac_ext >&5
14901.66Stsutsuiac_compiler_gnu=no
14911.1Stvfi
14921.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
14931.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14941.1Stv
14951.1Stvfi
14961.66Stsutsuiecho "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
14971.66Stsutsuiecho "${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.66StsutsuiCFLAGS="-g"
15021.66Stsutsuiecho "$as_me:1502: checking whether $CC accepts -g" >&5
15031.66Stsutsuiecho $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.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
15081.66Stsutsui#line 1508 "configure"
15091.66Stsutsui#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.66Stsutsuiif { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
15211.66Stsutsui  (eval $ac_compile) 2>&5
15221.66Stsutsui  ac_status=$?
15231.66Stsutsui  echo "$as_me:1523: \$? = $ac_status" >&5
15241.66Stsutsui  (exit $ac_status); } &&
15251.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
15261.66Stsutsui  { (eval echo "$as_me:1526: \"$ac_try\"") >&5
15271.66Stsutsui  (eval $ac_try) 2>&5
15281.1Stv  ac_status=$?
15291.66Stsutsui  echo "$as_me:1529: \$? = $ac_status" >&5
15301.66Stsutsui  (exit $ac_status); }; }; then
15311.1Stv  ac_cv_prog_cc_g=yes
15321.1Stvelse
15331.1Stv  echo "$as_me: failed program was:" >&5
15341.66Stsutsuicat conftest.$ac_ext >&5
15351.66Stsutsuiac_cv_prog_cc_g=no
15361.66Stsutsuifi
15371.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
15381.66Stsutsuifi
15391.66Stsutsuiecho "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
15401.66Stsutsuiecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15411.66Stsutsuiif test "$ac_test_CFLAGS" = set; then
15421.66Stsutsui  CFLAGS=$ac_save_CFLAGS
15431.66Stsutsuielif test $ac_cv_prog_cc_g = yes; then
15441.66Stsutsui  if test "$GCC" = yes; then
15451.66Stsutsui    CFLAGS="-g -O2"
15461.66Stsutsui  else
15471.66Stsutsui    CFLAGS="-g"
15481.66Stsutsui  fi
15491.66Stsutsuielse
15501.66Stsutsui  if test "$GCC" = yes; then
15511.66Stsutsui    CFLAGS="-O2"
15521.66Stsutsui  else
15531.66Stsutsui    CFLAGS=
15541.66Stsutsui  fi
15551.66Stsutsuifi
15561.66Stsutsui# Some people use a C++ compiler to compile C.  Since we use `exit',
15571.66Stsutsui# in C++ we need to declare it.  In case someone uses the same compiler
15581.66Stsutsui# for both compiling C and C++ we need to have the C++ compiler decide
15591.66Stsutsui# the declaration of exit, since it's the most demanding environment.
15601.66Stsutsuicat >conftest.$ac_ext <<_ACEOF
15611.66Stsutsui#ifndef __cplusplus
15621.66Stsutsui  choke me
15631.66Stsutsui#endif
15641.1Stv_ACEOF
15651.66Stsutsuirm -f conftest.$ac_objext
15661.66Stsutsuiif { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
15671.66Stsutsui  (eval $ac_compile) 2>&5
15681.66Stsutsui  ac_status=$?
15691.66Stsutsui  echo "$as_me:1569: \$? = $ac_status" >&5
15701.66Stsutsui  (exit $ac_status); } &&
15711.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
15721.66Stsutsui  { (eval echo "$as_me:1572: \"$ac_try\"") >&5
15731.66Stsutsui  (eval $ac_try) 2>&5
15741.66Stsutsui  ac_status=$?
15751.66Stsutsui  echo "$as_me:1575: \$? = $ac_status" >&5
15761.66Stsutsui  (exit $ac_status); }; }; then
15771.66Stsutsui  for ac_declaration in \
15781.66Stsutsui   ''\
15791.66Stsutsui   '#include <stdlib.h>' \
15801.66Stsutsui   'extern "C" void std::exit (int) throw (); using std::exit;' \
15811.66Stsutsui   'extern "C" void std::exit (int); using std::exit;' \
15821.66Stsutsui   'extern "C" void exit (int) throw ();' \
15831.66Stsutsui   'extern "C" void exit (int);' \
15841.66Stsutsui   'void exit (int);'
15851.66Stsutsuido
15861.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
15871.66Stsutsui#line 1587 "configure"
15881.66Stsutsui#include "confdefs.h"
15891.66Stsutsui#include <stdlib.h>
15901.66Stsutsui$ac_declaration
15911.1Stvint
15921.1Stvmain ()
15931.1Stv{
15941.66Stsutsuiexit (42);
15951.1Stv  ;
15961.1Stv  return 0;
15971.1Stv}
15981.1Stv_ACEOF
15991.1Stvrm -f conftest.$ac_objext
16001.66Stsutsuiif { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
16011.66Stsutsui  (eval $ac_compile) 2>&5
16021.66Stsutsui  ac_status=$?
16031.66Stsutsui  echo "$as_me:1603: \$? = $ac_status" >&5
16041.66Stsutsui  (exit $ac_status); } &&
16051.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
16061.66Stsutsui  { (eval echo "$as_me:1606: \"$ac_try\"") >&5
16071.66Stsutsui  (eval $ac_try) 2>&5
16081.1Stv  ac_status=$?
16091.66Stsutsui  echo "$as_me:1609: \$? = $ac_status" >&5
16101.66Stsutsui  (exit $ac_status); }; }; then
16111.1Stv  :
16121.1Stvelse
16131.1Stv  echo "$as_me: failed program was:" >&5
16141.66Stsutsuicat conftest.$ac_ext >&5
16151.66Stsutsuicontinue
16161.66Stsutsuifi
16171.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
16181.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
16191.66Stsutsui#line 1619 "configure"
16201.66Stsutsui#include "confdefs.h"
16211.66Stsutsui$ac_declaration
16221.1Stvint
16231.1Stvmain ()
16241.1Stv{
16251.66Stsutsuiexit (42);
16261.1Stv  ;
16271.1Stv  return 0;
16281.1Stv}
16291.1Stv_ACEOF
16301.1Stvrm -f conftest.$ac_objext
16311.66Stsutsuiif { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
16321.66Stsutsui  (eval $ac_compile) 2>&5
16331.66Stsutsui  ac_status=$?
16341.66Stsutsui  echo "$as_me:1634: \$? = $ac_status" >&5
16351.66Stsutsui  (exit $ac_status); } &&
16361.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
16371.66Stsutsui  { (eval echo "$as_me:1637: \"$ac_try\"") >&5
16381.66Stsutsui  (eval $ac_try) 2>&5
16391.1Stv  ac_status=$?
16401.66Stsutsui  echo "$as_me:1640: \$? = $ac_status" >&5
16411.66Stsutsui  (exit $ac_status); }; }; then
16421.66Stsutsui  break
16431.1Stvelse
16441.1Stv  echo "$as_me: failed program was:" >&5
16451.66Stsutsuicat conftest.$ac_ext >&5
16461.65Schristosfi
16471.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
16481.66Stsutsuidone
16491.66Stsutsuirm -f conftest*
16501.66Stsutsuiif test -n "$ac_declaration"; then
16511.66Stsutsui  echo '#ifdef __cplusplus' >>confdefs.h
16521.66Stsutsui  echo $ac_declaration      >>confdefs.h
16531.66Stsutsui  echo '#endif'             >>confdefs.h
16541.1Stvfi
16551.1Stv
16561.1Stvelse
16571.1Stv  echo "$as_me: failed program was:" >&5
16581.66Stsutsuicat conftest.$ac_ext >&5
16591.65Schristosfi
16601.66Stsutsuirm -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.66Stsutsuiecho "$as_me:1672: checking how to run the C preprocessor" >&5
16731.66Stsutsuiecho $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.66Stsutsui#line 1693 "configure"
16941.66Stsutsui#include "confdefs.h"
16951.66Stsutsui#include <assert.h>
16961.66Stsutsui                     Syntax error
16971.48Sjmc_ACEOF
16981.66Stsutsuiif { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
16991.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17001.1Stv  ac_status=$?
17011.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
17021.1Stv  rm -f conftest.er1
17031.1Stv  cat conftest.err >&5
17041.66Stsutsui  echo "$as_me:1704: \$? = $ac_status" >&5
17051.66Stsutsui  (exit $ac_status); } >/dev/null; then
17061.66Stsutsui  if test -s conftest.err; then
17071.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
17081.66Stsutsui  else
17091.66Stsutsui    ac_cpp_err=
17101.66Stsutsui  fi
17111.66Stsutsuielse
17121.66Stsutsui  ac_cpp_err=yes
17131.66Stsutsuifi
17141.66Stsutsuiif test -z "$ac_cpp_err"; then
17151.1Stv  :
17161.1Stvelse
17171.1Stv  echo "$as_me: failed program was:" >&5
17181.66Stsutsui  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.66Stsutsui  # 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.66Stsutsui#line 1727 "configure"
17281.66Stsutsui#include "confdefs.h"
17291.1Stv#include <ac_nonexistent.h>
17301.1Stv_ACEOF
17311.66Stsutsuiif { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
17321.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17331.1Stv  ac_status=$?
17341.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
17351.1Stv  rm -f conftest.er1
17361.1Stv  cat conftest.err >&5
17371.66Stsutsui  echo "$as_me:1737: \$? = $ac_status" >&5
17381.66Stsutsui  (exit $ac_status); } >/dev/null; then
17391.66Stsutsui  if test -s conftest.err; then
17401.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
17411.66Stsutsui  else
17421.66Stsutsui    ac_cpp_err=
17431.66Stsutsui  fi
17441.66Stsutsuielse
17451.66Stsutsui  ac_cpp_err=yes
17461.66Stsutsuifi
17471.66Stsutsuiif 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.66Stsutsui  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.66Stsutsuiecho "$as_me:1774: result: $CPP" >&5
17751.66Stsutsuiecho "${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.66Stsutsui#line 1784 "configure"
17851.66Stsutsui#include "confdefs.h"
17861.66Stsutsui#include <assert.h>
17871.66Stsutsui                     Syntax error
17881.53Sdogcow_ACEOF
17891.66Stsutsuiif { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
17901.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17911.1Stv  ac_status=$?
17921.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
17931.1Stv  rm -f conftest.er1
17941.1Stv  cat conftest.err >&5
17951.66Stsutsui  echo "$as_me:1795: \$? = $ac_status" >&5
17961.66Stsutsui  (exit $ac_status); } >/dev/null; then
17971.66Stsutsui  if test -s conftest.err; then
17981.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
17991.66Stsutsui  else
18001.66Stsutsui    ac_cpp_err=
18011.66Stsutsui  fi
18021.66Stsutsuielse
18031.66Stsutsui  ac_cpp_err=yes
18041.66Stsutsuifi
18051.66Stsutsuiif test -z "$ac_cpp_err"; then
18061.1Stv  :
18071.1Stvelse
18081.1Stv  echo "$as_me: failed program was:" >&5
18091.66Stsutsui  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.66Stsutsui  # 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.66Stsutsui#line 1818 "configure"
18191.66Stsutsui#include "confdefs.h"
18201.1Stv#include <ac_nonexistent.h>
18211.1Stv_ACEOF
18221.66Stsutsuiif { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
18231.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18241.1Stv  ac_status=$?
18251.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
18261.1Stv  rm -f conftest.er1
18271.1Stv  cat conftest.err >&5
18281.66Stsutsui  echo "$as_me:1828: \$? = $ac_status" >&5
18291.66Stsutsui  (exit $ac_status); } >/dev/null; then
18301.66Stsutsui  if test -s conftest.err; then
18311.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
18321.66Stsutsui  else
18331.66Stsutsui    ac_cpp_err=
18341.66Stsutsui  fi
18351.66Stsutsuielse
18361.66Stsutsui  ac_cpp_err=yes
18371.66Stsutsuifi
18381.66Stsutsuiif 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.66Stsutsui  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.66Stsutsui  { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
18571.66Stsutsuiecho "$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.66Stsutsui            echo "$as_me:1867: checking for NetBSD" >&5
18681.66Stsutsuiecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
18691.45Sjmc      cat >conftest.$ac_ext <<_ACEOF
18701.66Stsutsui#line 1870 "configure"
18711.66Stsutsui#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.66Stsutsui  egrep "yes" >/dev/null 2>&1; then
18791.66Stsutsui  echo "$as_me:1879: result: yes" >&5
18801.66Stsutsuiecho "${ECHO_T}yes" >&6
18811.54Swiz
18821.66Stsutsuicat >>confdefs.h <<\EOF
18831.45Sjmc#define _POSIX_SOURCE 1
18841.66StsutsuiEOF
18851.54Swiz
18861.66Stsutsuicat >>confdefs.h <<\EOF
18871.45Sjmc#define _POSIX_C_SOURCE 200112L
18881.66StsutsuiEOF
18891.54Swiz
18901.66Stsutsuicat >>confdefs.h <<\EOF
18911.45Sjmc#define _XOPEN_SOURCE 600
18921.66StsutsuiEOF
18931.45Sjmc
18941.45Sjmcelse
18951.66Stsutsui  echo "$as_me:1895: result: no" >&5
18961.66Stsutsuiecho "${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.66Stsutsuiecho "$as_me:1902: checking for $ac_word" >&5
19031.66Stsutsuiecho $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.66Stsutsui  ac_save_IFS=$IFS; IFS=$ac_path_separator
19131.66Stsutsuiac_dummy="$PATH"
19141.66Stsutsuifor ac_dir in $ac_dummy; do
19151.66Stsutsui  IFS=$ac_save_IFS
19161.66Stsutsui  test -z "$ac_dir" && ac_dir=.
19171.66Stsutsui  if $as_executable_p "$ac_dir/$ac_word"; then
19181.66Stsutsui   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19191.66Stsutsui   echo "$as_me:1919: found $ac_dir/$ac_word" >&5
19201.66Stsutsui   break
19211.66Stsutsuifi
19221.65Schristosdone
19231.45Sjmc
19241.45Sjmc  ;;
19251.45Sjmcesac
19261.45Sjmcfi
19271.45SjmcBSHELL=$ac_cv_path_BSHELL
19281.66Stsutsui
19291.45Sjmcif test -n "$BSHELL"; then
19301.66Stsutsui  echo "$as_me:1930: result: $BSHELL" >&5
19311.66Stsutsuiecho "${ECHO_T}$BSHELL" >&6
19321.45Sjmcelse
19331.66Stsutsui  echo "$as_me:1933: result: no" >&5
19341.66Stsutsuiecho "${ECHO_T}no" >&6
19351.45Sjmcfi
19361.45Sjmc
19371.45Sjmcif test x"$BSHELL" = x; then
19381.66Stsutsui	{ { 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.66Stsutsuicat >>confdefs.h <<EOF
19441.45Sjmc#define PATH_BSHELL "$BSHELL"
19451.66StsutsuiEOF
19461.53Sdogcow
19471.66Stsutsuiecho "$as_me:1947: checking whether byte ordering is bigendian" >&5
19481.66Stsutsuiecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19491.66Stsutsuiif test "${ac_cv_c_bigendian+set}" = set; then
19501.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19511.45Sjmcelse
19521.66Stsutsui  ac_cv_c_bigendian=unknown
19531.66Stsutsui# See if sys/param.h defines the BYTE_ORDER macro.
19541.66Stsutsuicat >conftest.$ac_ext <<_ACEOF
19551.66Stsutsui#line 1955 "configure"
19561.66Stsutsui#include "confdefs.h"
19571.66Stsutsui#include <sys/types.h>
19581.66Stsutsui#include <sys/param.h>
19591.66Stsutsui
19601.66Stsutsuiint
19611.66Stsutsuimain ()
19621.66Stsutsui{
19631.66Stsutsui#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19641.66Stsutsui bogus endian macros
19651.66Stsutsui#endif
19661.66Stsutsui
19671.66Stsutsui  ;
19681.66Stsutsui  return 0;
19691.66Stsutsui}
19701.65Schristos_ACEOF
19711.66Stsutsuirm -f conftest.$ac_objext
19721.66Stsutsuiif { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
19731.66Stsutsui  (eval $ac_compile) 2>&5
19741.66Stsutsui  ac_status=$?
19751.66Stsutsui  echo "$as_me:1975: \$? = $ac_status" >&5
19761.66Stsutsui  (exit $ac_status); } &&
19771.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
19781.66Stsutsui  { (eval echo "$as_me:1978: \"$ac_try\"") >&5
19791.66Stsutsui  (eval $ac_try) 2>&5
19801.66Stsutsui  ac_status=$?
19811.66Stsutsui  echo "$as_me:1981: \$? = $ac_status" >&5
19821.66Stsutsui  (exit $ac_status); }; }; then
19831.66Stsutsui  # It does; now see whether it defined to BIG_ENDIAN or not.
19841.66Stsutsuicat >conftest.$ac_ext <<_ACEOF
19851.66Stsutsui#line 1985 "configure"
19861.66Stsutsui#include "confdefs.h"
19871.66Stsutsui#include <sys/types.h>
19881.66Stsutsui#include <sys/param.h>
19891.45Sjmc
19901.45Sjmcint
19911.45Sjmcmain ()
19921.45Sjmc{
19931.66Stsutsui#if BYTE_ORDER != BIG_ENDIAN
19941.66Stsutsui not big endian
19951.66Stsutsui#endif
19961.45Sjmc
19971.45Sjmc  ;
19981.45Sjmc  return 0;
19991.45Sjmc}
20001.45Sjmc_ACEOF
20011.45Sjmcrm -f conftest.$ac_objext
20021.66Stsutsuiif { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
20031.66Stsutsui  (eval $ac_compile) 2>&5
20041.66Stsutsui  ac_status=$?
20051.66Stsutsui  echo "$as_me:2005: \$? = $ac_status" >&5
20061.66Stsutsui  (exit $ac_status); } &&
20071.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
20081.66Stsutsui  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
20091.66Stsutsui  (eval $ac_try) 2>&5
20101.45Sjmc  ac_status=$?
20111.66Stsutsui  echo "$as_me:2011: \$? = $ac_status" >&5
20121.66Stsutsui  (exit $ac_status); }; }; then
20131.66Stsutsui  ac_cv_c_bigendian=yes
20141.66Stsutsuielse
20151.66Stsutsui  echo "$as_me: failed program was:" >&5
20161.66Stsutsuicat conftest.$ac_ext >&5
20171.66Stsutsuiac_cv_c_bigendian=no
20181.66Stsutsuifi
20191.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
20201.65Schristoselse
20211.65Schristos  echo "$as_me: failed program was:" >&5
20221.66Stsutsuicat conftest.$ac_ext >&5
20231.65Schristosfi
20241.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
20251.66Stsutsuiif test $ac_cv_c_bigendian = unknown; then
20261.66Stsutsuiif test "$cross_compiling" = yes; then
20271.66Stsutsui  { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
20281.66Stsutsuiecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20291.66Stsutsui   { (exit 1); exit 1; }; }
20301.66Stsutsuielse
20311.65Schristos  cat >conftest.$ac_ext <<_ACEOF
20321.66Stsutsui#line 2032 "configure"
20331.66Stsutsui#include "confdefs.h"
20341.66Stsutsuiint
20351.66Stsutsuimain ()
20361.66Stsutsui{
20371.66Stsutsui  /* Are we little or big endian?  From Harbison&Steele.  */
20381.66Stsutsui  union
20391.66Stsutsui  {
20401.66Stsutsui    long l;
20411.66Stsutsui    char c[sizeof (long)];
20421.66Stsutsui  } u;
20431.66Stsutsui  u.l = 1;
20441.66Stsutsui  exit (u.c[sizeof (long) - 1] == 1);
20451.66Stsutsui}
20461.65Schristos_ACEOF
20471.66Stsutsuirm -f conftest$ac_exeext
20481.66Stsutsuiif { (eval echo "$as_me:2048: \"$ac_link\"") >&5
20491.66Stsutsui  (eval $ac_link) 2>&5
20501.66Stsutsui  ac_status=$?
20511.66Stsutsui  echo "$as_me:2051: \$? = $ac_status" >&5
20521.66Stsutsui  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20531.66Stsutsui  { (eval echo "$as_me:2053: \"$ac_try\"") >&5
20541.66Stsutsui  (eval $ac_try) 2>&5
20551.66Stsutsui  ac_status=$?
20561.66Stsutsui  echo "$as_me:2056: \$? = $ac_status" >&5
20571.66Stsutsui  (exit $ac_status); }; }; then
20581.66Stsutsui  ac_cv_c_bigendian=no
20591.45Sjmcelse
20601.66Stsutsui  echo "$as_me: program exited with status $ac_status" >&5
20611.66Stsutsuiecho "$as_me: failed program was:" >&5
20621.66Stsutsuicat conftest.$ac_ext >&5
20631.66Stsutsuiac_cv_c_bigendian=yes
20641.66Stsutsuifi
20651.66Stsutsuirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20661.66Stsutsuifi
20671.45Sjmcfi
20681.45Sjmcfi
20691.66Stsutsuiecho "$as_me:2069: result: $ac_cv_c_bigendian" >&5
20701.66Stsutsuiecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20711.66Stsutsuiif test $ac_cv_c_bigendian = yes; then
20721.65Schristos
20731.66Stsutsuicat >>confdefs.h <<\EOF
20741.66Stsutsui#define WORDS_BIGENDIAN 1
20751.66StsutsuiEOF
20761.65Schristos
20771.1Stvfi
20781.65Schristos
20791.66Stsutsuiecho "$as_me:2079: checking for ANSI C header files" >&5
20801.66Stsutsuiecho $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.66Stsutsui#line 2085 "configure"
20861.66Stsutsui#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.66Stsutsuiif { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
20941.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20951.39Sfredb  ac_status=$?
20961.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
20971.50Sjmc  rm -f conftest.er1
20981.50Sjmc  cat conftest.err >&5
20991.66Stsutsui  echo "$as_me:2099: \$? = $ac_status" >&5
21001.66Stsutsui  (exit $ac_status); } >/dev/null; then
21011.66Stsutsui  if test -s conftest.err; then
21021.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
21031.66Stsutsui  else
21041.66Stsutsui    ac_cpp_err=
21051.66Stsutsui  fi
21061.66Stsutsuielse
21071.66Stsutsui  ac_cpp_err=yes
21081.66Stsutsuifi
21091.66Stsutsuiif 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.66Stsutsui  cat conftest.$ac_ext >&5
21141.66Stsutsui  ac_cv_header_stdc=no
21151.6Stvfi
21161.66Stsutsuirm -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.66Stsutsui#line 2121 "configure"
21221.66Stsutsui#include "confdefs.h"
21231.6Stv#include <string.h>
21241.6Stv
21251.6Stv_ACEOF
21261.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21271.66Stsutsui  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.66Stsutsui#line 2139 "configure"
21401.66Stsutsui#include "confdefs.h"
21411.6Stv#include <stdlib.h>
21421.6Stv
21431.6Stv_ACEOF
21441.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451.66Stsutsui  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.66Stsutsui#line 2160 "configure"
21611.66Stsutsui#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.66Stsutsui# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21681.66Stsutsui                     || ('j' <= (c) && (c) <= 'r') \
21691.66Stsutsui                     || ('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.66Stsutsui        || toupper (i) != TOUPPER (i))
21811.66Stsutsui      exit(2);
21821.66Stsutsui  exit (0);
21831.6Stv}
21841.6Stv_ACEOF
21851.6Stvrm -f conftest$ac_exeext
21861.66Stsutsuiif { (eval echo "$as_me:2186: \"$ac_link\"") >&5
21871.66Stsutsui  (eval $ac_link) 2>&5
21881.6Stv  ac_status=$?
21891.66Stsutsui  echo "$as_me:2189: \$? = $ac_status" >&5
21901.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21911.66Stsutsui  { (eval echo "$as_me:2191: \"$ac_try\"") >&5
21921.66Stsutsui  (eval $ac_try) 2>&5
21931.6Stv  ac_status=$?
21941.66Stsutsui  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.66Stsutsuicat conftest.$ac_ext >&5
22011.6Stvac_cv_header_stdc=no
22021.6Stvfi
22031.66Stsutsuirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22041.6Stvfi
22051.6Stvfi
22061.6Stvfi
22071.66Stsutsuiecho "$as_me:2207: result: $ac_cv_header_stdc" >&5
22081.66Stsutsuiecho "${ECHO_T}$ac_cv_header_stdc" >&6
22091.6Stvif test $ac_cv_header_stdc = yes; then
22101.6Stv
22111.66Stsutsuicat >>confdefs.h <<\EOF
22121.6Stv#define STDC_HEADERS 1
22131.66StsutsuiEOF
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.66Stsutsuiecho "$as_me:2220: checking for zlib.h" >&5
22211.66Stsutsuiecho $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.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
22261.66Stsutsui#line 2226 "configure"
22271.66Stsutsui#include "confdefs.h"
22281.63Sapb#include <zlib.h>
22291.61Schristos_ACEOF
22301.66Stsutsuiif { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
22311.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22321.4Stv  ac_status=$?
22331.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
22341.50Sjmc  rm -f conftest.er1
22351.50Sjmc  cat conftest.err >&5
22361.66Stsutsui  echo "$as_me:2236: \$? = $ac_status" >&5
22371.66Stsutsui  (exit $ac_status); } >/dev/null; then
22381.66Stsutsui  if test -s conftest.err; then
22391.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
22401.66Stsutsui  else
22411.66Stsutsui    ac_cpp_err=
22421.66Stsutsui  fi
22431.4Stvelse
22441.66Stsutsui  ac_cpp_err=yes
22451.4Stvfi
22461.66Stsutsuiif test -z "$ac_cpp_err"; then
22471.66Stsutsui  ac_cv_header_zlib_h=yes
22481.65Schristoselse
22491.65Schristos  echo "$as_me: failed program was:" >&5
22501.66Stsutsui  cat conftest.$ac_ext >&5
22511.66Stsutsui  ac_cv_header_zlib_h=no
22521.65Schristosfi
22531.63Sapbrm -f conftest.err conftest.$ac_ext
22541.4Stvfi
22551.66Stsutsuiecho "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
22561.66Stsutsuiecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22571.63Sapbif test $ac_cv_header_zlib_h = yes; then
22581.63Sapb  :
22591.63Sapbelse
22601.66Stsutsui  { { 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.66Stsutsuiecho "$as_me:2265: checking for gzdopen in -lz" >&5
22661.66Stsutsuiecho $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.66Stsutsui#line 2273 "configure"
22741.66Stsutsui#include "confdefs.h"
22751.48Sjmc
22761.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
22771.6Stv#ifdef __cplusplus
22781.6Stvextern "C"
22791.6Stv#endif
22801.66Stsutsui/* We use char because int might match the return type of a gcc2
22811.66Stsutsui   builtin and then its argument prototype would still apply.  */
22821.6Stvchar gzdopen ();
22831.6Stvint
22841.6Stvmain ()
22851.6Stv{
22861.66Stsutsuigzdopen ();
22871.6Stv  ;
22881.6Stv  return 0;
22891.6Stv}
22901.6Stv_ACEOF
22911.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22921.66Stsutsuiif { (eval echo "$as_me:2292: \"$ac_link\"") >&5
22931.66Stsutsui  (eval $ac_link) 2>&5
22941.66Stsutsui  ac_status=$?
22951.66Stsutsui  echo "$as_me:2295: \$? = $ac_status" >&5
22961.66Stsutsui  (exit $ac_status); } &&
22971.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
22981.66Stsutsui  { (eval echo "$as_me:2298: \"$ac_try\"") >&5
22991.66Stsutsui  (eval $ac_try) 2>&5
23001.6Stv  ac_status=$?
23011.66Stsutsui  echo "$as_me:2301: \$? = $ac_status" >&5
23021.66Stsutsui  (exit $ac_status); }; }; then
23031.6Stv  ac_cv_lib_z_gzdopen=yes
23041.6Stvelse
23051.6Stv  echo "$as_me: failed program was:" >&5
23061.66Stsutsuicat conftest.$ac_ext >&5
23071.66Stsutsuiac_cv_lib_z_gzdopen=no
23081.6Stvfi
23091.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23101.6StvLIBS=$ac_check_lib_save_LIBS
23111.6Stvfi
23121.66Stsutsuiecho "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
23131.66Stsutsuiecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
23141.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
23151.66Stsutsui  cat >>confdefs.h <<EOF
23161.6Stv#define HAVE_LIBZ 1
23171.66StsutsuiEOF
23181.4Stv
23191.6Stv  LIBS="-lz $LIBS"
23201.6Stv
23211.4Stvelse
23221.66Stsutsui  { { 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.69Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/param.h \
23321.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
23331.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
23341.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
23351.43Sdbj	termios.h unistd.h
23361.43Sdbjdo
23371.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23381.66Stsutsuiecho "$as_me:2338: checking for $ac_header" >&5
23391.66Stsutsuiecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23401.66Stsutsuiif eval "test \"\${$as_ac_Header+set}\" = set"; then
23411.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
23421.66Stsutsuielse
23431.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
23441.66Stsutsui#line 2344 "configure"
23451.66Stsutsui#include "confdefs.h"
23461.48Sjmc#include <$ac_header>
23471.48Sjmc_ACEOF
23481.66Stsutsuiif { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
23491.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23501.4Stv  ac_status=$?
23511.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
23521.4Stv  rm -f conftest.er1
23531.4Stv  cat conftest.err >&5
23541.66Stsutsui  echo "$as_me:2354: \$? = $ac_status" >&5
23551.66Stsutsui  (exit $ac_status); } >/dev/null; then
23561.66Stsutsui  if test -s conftest.err; then
23571.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
23581.66Stsutsui  else
23591.66Stsutsui    ac_cpp_err=
23601.66Stsutsui  fi
23611.4Stvelse
23621.66Stsutsui  ac_cpp_err=yes
23631.6Stvfi
23641.66Stsutsuiif test -z "$ac_cpp_err"; then
23651.66Stsutsui  eval "$as_ac_Header=yes"
23661.6Stvelse
23671.6Stv  echo "$as_me: failed program was:" >&5
23681.66Stsutsui  cat conftest.$ac_ext >&5
23691.66Stsutsui  eval "$as_ac_Header=no"
23701.6Stvfi
23711.6Stvrm -f conftest.err conftest.$ac_ext
23721.6Stvfi
23731.66Stsutsuiecho "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
23741.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23751.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23761.66Stsutsui  cat >>confdefs.h <<EOF
23771.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23781.66StsutsuiEOF
23791.6Stv
23801.6Stvelse
23811.66Stsutsui  { { 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.66Stsutsuiecho "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
23931.66Stsutsuiecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23941.66Stsutsuiif 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.66Stsutsui#line 2398 "configure"
23991.66Stsutsui#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.66Stsutsuiif { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
24141.66Stsutsui  (eval $ac_compile) 2>&5
24151.66Stsutsui  ac_status=$?
24161.66Stsutsui  echo "$as_me:2416: \$? = $ac_status" >&5
24171.66Stsutsui  (exit $ac_status); } &&
24181.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
24191.66Stsutsui  { (eval echo "$as_me:2419: \"$ac_try\"") >&5
24201.66Stsutsui  (eval $ac_try) 2>&5
24211.6Stv  ac_status=$?
24221.66Stsutsui  echo "$as_me:2422: \$? = $ac_status" >&5
24231.66Stsutsui  (exit $ac_status); }; }; then
24241.6Stv  eval "$as_ac_Header=yes"
24251.6Stvelse
24261.6Stv  echo "$as_me: failed program was:" >&5
24271.66Stsutsuicat conftest.$ac_ext >&5
24281.66Stsutsuieval "$as_ac_Header=no"
24291.6Stvfi
24301.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
24311.6Stvfi
24321.66Stsutsuiecho "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
24331.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24341.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
24351.66Stsutsui  cat >>confdefs.h <<EOF
24361.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24371.66StsutsuiEOF
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.66Stsutsui  echo "$as_me:2445: checking for opendir in -ldir" >&5
24461.66Stsutsuiecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24471.66Stsutsuiif test "${ac_cv_lib_dir_opendir+set}" = set; then
24481.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24491.6Stvelse
24501.66Stsutsui  ac_check_lib_save_LIBS=$LIBS
24511.66StsutsuiLIBS="-ldir  $LIBS"
24521.6Stvcat >conftest.$ac_ext <<_ACEOF
24531.66Stsutsui#line 2453 "configure"
24541.66Stsutsui#include "confdefs.h"
24551.48Sjmc
24561.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
24571.48Sjmc#ifdef __cplusplus
24581.48Sjmcextern "C"
24591.48Sjmc#endif
24601.66Stsutsui/* We use char because int might match the return type of a gcc2
24611.66Stsutsui   builtin and then its argument prototype would still apply.  */
24621.48Sjmcchar opendir ();
24631.48Sjmcint
24641.48Sjmcmain ()
24651.48Sjmc{
24661.66Stsutsuiopendir ();
24671.48Sjmc  ;
24681.48Sjmc  return 0;
24691.48Sjmc}
24701.48Sjmc_ACEOF
24711.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext
24721.66Stsutsuiif { (eval echo "$as_me:2472: \"$ac_link\"") >&5
24731.66Stsutsui  (eval $ac_link) 2>&5
24741.66Stsutsui  ac_status=$?
24751.66Stsutsui  echo "$as_me:2475: \$? = $ac_status" >&5
24761.66Stsutsui  (exit $ac_status); } &&
24771.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
24781.66Stsutsui  { (eval echo "$as_me:2478: \"$ac_try\"") >&5
24791.66Stsutsui  (eval $ac_try) 2>&5
24801.6Stv  ac_status=$?
24811.66Stsutsui  echo "$as_me:2481: \$? = $ac_status" >&5
24821.66Stsutsui  (exit $ac_status); }; }; then
24831.66Stsutsui  ac_cv_lib_dir_opendir=yes
24841.6Stvelse
24851.6Stv  echo "$as_me: failed program was:" >&5
24861.66Stsutsuicat conftest.$ac_ext >&5
24871.66Stsutsuiac_cv_lib_dir_opendir=no
24881.63Sapbfi
24891.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24901.66StsutsuiLIBS=$ac_check_lib_save_LIBS
24911.65Schristosfi
24921.66Stsutsuiecho "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
24931.66Stsutsuiecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24941.66Stsutsuiif test $ac_cv_lib_dir_opendir = yes; then
24951.66Stsutsui  LIBS="$LIBS -ldir"
24961.63Sapbfi
24971.61Schristos
24981.63Sapbelse
24991.66Stsutsui  echo "$as_me:2499: checking for opendir in -lx" >&5
25001.66Stsutsuiecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
25011.66Stsutsuiif test "${ac_cv_lib_x_opendir+set}" = set; then
25021.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
25031.63Sapbelse
25041.66Stsutsui  ac_check_lib_save_LIBS=$LIBS
25051.66StsutsuiLIBS="-lx  $LIBS"
25061.63Sapbcat >conftest.$ac_ext <<_ACEOF
25071.66Stsutsui#line 2507 "configure"
25081.66Stsutsui#include "confdefs.h"
25091.6Stv
25101.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
25111.6Stv#ifdef __cplusplus
25121.6Stvextern "C"
25131.6Stv#endif
25141.66Stsutsui/* We use char because int might match the return type of a gcc2
25151.66Stsutsui   builtin and then its argument prototype would still apply.  */
25161.6Stvchar opendir ();
25171.6Stvint
25181.6Stvmain ()
25191.6Stv{
25201.66Stsutsuiopendir ();
25211.6Stv  ;
25221.6Stv  return 0;
25231.6Stv}
25241.6Stv_ACEOF
25251.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext
25261.66Stsutsuiif { (eval echo "$as_me:2526: \"$ac_link\"") >&5
25271.66Stsutsui  (eval $ac_link) 2>&5
25281.66Stsutsui  ac_status=$?
25291.66Stsutsui  echo "$as_me:2529: \$? = $ac_status" >&5
25301.66Stsutsui  (exit $ac_status); } &&
25311.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
25321.66Stsutsui  { (eval echo "$as_me:2532: \"$ac_try\"") >&5
25331.66Stsutsui  (eval $ac_try) 2>&5
25341.48Sjmc  ac_status=$?
25351.66Stsutsui  echo "$as_me:2535: \$? = $ac_status" >&5
25361.66Stsutsui  (exit $ac_status); }; }; then
25371.66Stsutsui  ac_cv_lib_x_opendir=yes
25381.48Sjmcelse
25391.48Sjmc  echo "$as_me: failed program was:" >&5
25401.66Stsutsuicat conftest.$ac_ext >&5
25411.66Stsutsuiac_cv_lib_x_opendir=no
25421.65Schristosfi
25431.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25441.66StsutsuiLIBS=$ac_check_lib_save_LIBS
25451.65Schristosfi
25461.66Stsutsuiecho "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
25471.66Stsutsuiecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25481.66Stsutsuiif test $ac_cv_lib_x_opendir = yes; then
25491.66Stsutsui  LIBS="$LIBS -lx"
25501.48Sjmcfi
25511.65Schristos
25521.6Stvfi
25531.39Sfredb
25541.69Sdbjfor ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h \
25551.72Sapb	getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h
25561.63Sapbdo
25571.63Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25581.66Stsutsuiecho "$as_me:2558: checking for $ac_header" >&5
25591.66Stsutsuiecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25601.66Stsutsuiif eval "test \"\${$as_ac_Header+set}\" = set"; then
25611.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25621.66Stsutsuielse
25631.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
25641.66Stsutsui#line 2564 "configure"
25651.66Stsutsui#include "confdefs.h"
25661.63Sapb#include <$ac_header>
25671.61Schristos_ACEOF
25681.66Stsutsuiif { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
25691.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25701.6Stv  ac_status=$?
25711.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
25721.6Stv  rm -f conftest.er1
25731.6Stv  cat conftest.err >&5
25741.66Stsutsui  echo "$as_me:2574: \$? = $ac_status" >&5
25751.66Stsutsui  (exit $ac_status); } >/dev/null; then
25761.66Stsutsui  if test -s conftest.err; then
25771.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
25781.66Stsutsui  else
25791.66Stsutsui    ac_cpp_err=
25801.66Stsutsui  fi
25811.63Sapbelse
25821.66Stsutsui  ac_cpp_err=yes
25831.63Sapbfi
25841.66Stsutsuiif test -z "$ac_cpp_err"; then
25851.66Stsutsui  eval "$as_ac_Header=yes"
25861.6Stvelse
25871.6Stv  echo "$as_me: failed program was:" >&5
25881.66Stsutsui  cat conftest.$ac_ext >&5
25891.66Stsutsui  eval "$as_ac_Header=no"
25901.63Sapbfi
25911.63Sapbrm -f conftest.err conftest.$ac_ext
25921.63Sapbfi
25931.66Stsutsuiecho "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
25941.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25951.63Sapbif test `eval echo '${'$as_ac_Header'}'` = yes; then
25961.66Stsutsui  cat >>confdefs.h <<EOF
25971.63Sapb#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25981.66StsutsuiEOF
25991.6Stv
26001.6Stvfi
26011.63Sapbdone
26021.6Stv
26031.72Sapbfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
26041.72Sapb	sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \
26051.72Sapb	stdint.h util.h resolv.h arpa/nameser.h
26061.63Sapbdo
26071.63Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26081.67Stsutsuiecho "$as_me:2608: checking for $ac_header" >&5
26091.66Stsutsuiecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26101.66Stsutsuiif eval "test \"\${$as_ac_Header+set}\" = set"; then
26111.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26121.66Stsutsuielse
26131.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
26141.67Stsutsui#line 2614 "configure"
26151.66Stsutsui#include "confdefs.h"
26161.48Sjmc#include <$ac_header>
26171.48Sjmc_ACEOF
26181.67Stsutsuiif { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
26191.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26201.6Stv  ac_status=$?
26211.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
26221.6Stv  rm -f conftest.er1
26231.6Stv  cat conftest.err >&5
26241.67Stsutsui  echo "$as_me:2624: \$? = $ac_status" >&5
26251.66Stsutsui  (exit $ac_status); } >/dev/null; then
26261.66Stsutsui  if test -s conftest.err; then
26271.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
26281.66Stsutsui  else
26291.66Stsutsui    ac_cpp_err=
26301.66Stsutsui  fi
26311.6Stvelse
26321.66Stsutsui  ac_cpp_err=yes
26331.6Stvfi
26341.66Stsutsuiif test -z "$ac_cpp_err"; then
26351.66Stsutsui  eval "$as_ac_Header=yes"
26361.6Stvelse
26371.6Stv  echo "$as_me: failed program was:" >&5
26381.66Stsutsui  cat conftest.$ac_ext >&5
26391.66Stsutsui  eval "$as_ac_Header=no"
26401.6Stvfi
26411.6Stvrm -f conftest.err conftest.$ac_ext
26421.6Stvfi
26431.67Stsutsuiecho "$as_me:2643: result: `eval echo '${'$as_ac_Header'}'`" >&5
26441.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26451.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26461.66Stsutsui  cat >>confdefs.h <<EOF
26471.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26481.66StsutsuiEOF
26491.6Stv
26501.63Sapbelse
26511.63Sapb  test -f include/$ac_header || touch include/$ac_header
26521.6Stvfi
26531.6Stvdone
26541.6Stv
26551.63Sapbfor ac_header in rpc/types.h netconfig.h
26561.7Stvdo
26571.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26581.67Stsutsuiecho "$as_me:2658: checking for $ac_header" >&5
26591.66Stsutsuiecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26601.66Stsutsuiif eval "test \"\${$as_ac_Header+set}\" = set"; then
26611.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26621.66Stsutsuielse
26631.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
26641.67Stsutsui#line 2664 "configure"
26651.66Stsutsui#include "confdefs.h"
26661.7Stv#include <$ac_header>
26671.7Stv_ACEOF
26681.67Stsutsuiif { (eval echo "$as_me:2668: \"$ac_cpp conftest.$ac_ext\"") >&5
26691.66Stsutsui  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26701.7Stv  ac_status=$?
26711.66Stsutsui  egrep -v '^ *\+' conftest.er1 >conftest.err
26721.7Stv  rm -f conftest.er1
26731.7Stv  cat conftest.err >&5
26741.67Stsutsui  echo "$as_me:2674: \$? = $ac_status" >&5
26751.66Stsutsui  (exit $ac_status); } >/dev/null; then
26761.66Stsutsui  if test -s conftest.err; then
26771.66Stsutsui    ac_cpp_err=$ac_c_preproc_warn_flag
26781.66Stsutsui  else
26791.66Stsutsui    ac_cpp_err=
26801.66Stsutsui  fi
26811.7Stvelse
26821.66Stsutsui  ac_cpp_err=yes
26831.7Stvfi
26841.66Stsutsuiif test -z "$ac_cpp_err"; then
26851.66Stsutsui  eval "$as_ac_Header=yes"
26861.7Stvelse
26871.7Stv  echo "$as_me: failed program was:" >&5
26881.66Stsutsui  cat conftest.$ac_ext >&5
26891.66Stsutsui  eval "$as_ac_Header=no"
26901.43Sdbjfi
26911.43Sdbjrm -f conftest.err conftest.$ac_ext
26921.43Sdbjfi
26931.67Stsutsuiecho "$as_me:2693: result: `eval echo '${'$as_ac_Header'}'`" >&5
26941.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26951.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
26961.66Stsutsui  cat >>confdefs.h <<EOF
26971.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26981.66StsutsuiEOF
26991.39Sfredb
27001.43Sdbjelse
27011.63Sapb  echo '#include "nbtool_config.h"' >include/$ac_header.new
27021.72Sapb	echo '#include "'$srcdir/../../include/$ac_header'"' \
27031.72Sapb		>>include/$ac_header.new
27041.63Sapb	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
27051.63Sapb		rm -f include/$ac_header.new
27061.63Sapb	else
27071.63Sapb		mv -f include/$ac_header.new include/$ac_header
27081.63Sapb	fi
27091.7Stvfi
27101.66Stsutsuidone
27111.66Stsutsui
27121.66Stsutsui# Typedefs.
27131.66Stsutsui# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27141.66Stsutsui
27151.66Stsutsuifor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27161.66Stsutsui                  inttypes.h stdint.h unistd.h
27171.66Stsutsuido
27181.66Stsutsuias_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27191.72Sapbecho "$as_me:2719: checking for $ac_header" >&5
27201.66Stsutsuiecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27211.66Stsutsuiif eval "test \"\${$as_ac_Header+set}\" = set"; then
27221.66Stsutsui  echo $ECHO_N "(cached) $ECHO_C" >&6
27231.66Stsutsuielse
27241.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
27251.72Sapb#line 2725 "configure"
27261.66Stsutsui#include "confdefs.h"
27271.66Stsutsui$ac_includes_default
27281.66Stsutsui#include <$ac_header>
27291.66Stsutsui_ACEOF
27301.66Stsutsuirm -f conftest.$ac_objext
27311.72Sapbif { (eval echo "$as_me:2731: \"$ac_compile\"") >&5
27321.66Stsutsui  (eval $ac_compile) 2>&5
27331.66Stsutsui  ac_status=$?
27341.72Sapb  echo "$as_me:2734: \$? = $ac_status" >&5
27351.66Stsutsui  (exit $ac_status); } &&
27361.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
27371.72Sapb  { (eval echo "$as_me:2737: \"$ac_try\"") >&5
27381.66Stsutsui  (eval $ac_try) 2>&5
27391.66Stsutsui  ac_status=$?
27401.72Sapb  echo "$as_me:2740: \$? = $ac_status" >&5
27411.66Stsutsui  (exit $ac_status); }; }; then
27421.66Stsutsui  eval "$as_ac_Header=yes"
27431.66Stsutsuielse
27441.66Stsutsui  echo "$as_me: failed program was:" >&5
27451.66Stsutsuicat conftest.$ac_ext >&5
27461.66Stsutsuieval "$as_ac_Header=no"
27471.66Stsutsuifi
27481.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
27491.66Stsutsuifi
27501.72Sapbecho "$as_me:2750: result: `eval echo '${'$as_ac_Header'}'`" >&5
27511.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27521.66Stsutsuiif test `eval echo '${'$as_ac_Header'}'` = yes; then
27531.66Stsutsui  cat >>confdefs.h <<EOF
27541.66Stsutsui#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27551.66StsutsuiEOF
27561.65Schristos
27571.66Stsutsuifi
27581.52Sdbjdone
27591.52Sdbj
27601.72Sapbecho "$as_me:2760: checking for size_t" >&5
27611.66Stsutsuiecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27621.65Schristosif test "${ac_cv_type_size_t+set}" = set; then
27631.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
27641.52Sdbjelse
27651.63Sapb  cat >conftest.$ac_ext <<_ACEOF
27661.72Sapb#line 2766 "configure"
27671.66Stsutsui#include "confdefs.h"
27681.6Stv$ac_includes_default
27691.6Stvint
27701.6Stvmain ()
27711.6Stv{
27721.66Stsutsuiif ((size_t *) 0)
27731.6Stv  return 0;
27741.66Stsutsuiif (sizeof (size_t))
27751.6Stv  return 0;
27761.6Stv  ;
27771.6Stv  return 0;
27781.6Stv}
27791.6Stv_ACEOF
27801.6Stvrm -f conftest.$ac_objext
27811.72Sapbif { (eval echo "$as_me:2781: \"$ac_compile\"") >&5
27821.66Stsutsui  (eval $ac_compile) 2>&5
27831.66Stsutsui  ac_status=$?
27841.72Sapb  echo "$as_me:2784: \$? = $ac_status" >&5
27851.66Stsutsui  (exit $ac_status); } &&
27861.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
27871.72Sapb  { (eval echo "$as_me:2787: \"$ac_try\"") >&5
27881.66Stsutsui  (eval $ac_try) 2>&5
27891.6Stv  ac_status=$?
27901.72Sapb  echo "$as_me:2790: \$? = $ac_status" >&5
27911.66Stsutsui  (exit $ac_status); }; }; then
27921.6Stv  ac_cv_type_size_t=yes
27931.6Stvelse
27941.6Stv  echo "$as_me: failed program was:" >&5
27951.66Stsutsuicat conftest.$ac_ext >&5
27961.66Stsutsuiac_cv_type_size_t=no
27971.6Stvfi
27981.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
27991.6Stvfi
28001.72Sapbecho "$as_me:2800: result: $ac_cv_type_size_t" >&5
28011.66Stsutsuiecho "${ECHO_T}$ac_cv_type_size_t" >&6
28021.6Stvif test $ac_cv_type_size_t = yes; then
28031.6Stv  :
28041.6Stvelse
28051.6Stv
28061.66Stsutsuicat >>confdefs.h <<EOF
28071.66Stsutsui#define size_t unsigned
28081.66StsutsuiEOF
28091.6Stv
28101.6Stvfi
28111.6Stv
28121.72Sapbecho "$as_me:2812: checking for id_t" >&5
28131.66Stsutsuiecho $ECHO_N "checking for id_t... $ECHO_C" >&6
28141.6Stvif test "${ac_cv_type_id_t+set}" = set; then
28151.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28161.6Stvelse
28171.6Stv  cat >conftest.$ac_ext <<_ACEOF
28181.72Sapb#line 2818 "configure"
28191.66Stsutsui#include "confdefs.h"
28201.6Stv$ac_includes_default
28211.6Stvint
28221.6Stvmain ()
28231.6Stv{
28241.66Stsutsuiif ((id_t *) 0)
28251.6Stv  return 0;
28261.66Stsutsuiif (sizeof (id_t))
28271.6Stv  return 0;
28281.6Stv  ;
28291.6Stv  return 0;
28301.6Stv}
28311.6Stv_ACEOF
28321.6Stvrm -f conftest.$ac_objext
28331.72Sapbif { (eval echo "$as_me:2833: \"$ac_compile\"") >&5
28341.66Stsutsui  (eval $ac_compile) 2>&5
28351.66Stsutsui  ac_status=$?
28361.72Sapb  echo "$as_me:2836: \$? = $ac_status" >&5
28371.66Stsutsui  (exit $ac_status); } &&
28381.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
28391.72Sapb  { (eval echo "$as_me:2839: \"$ac_try\"") >&5
28401.66Stsutsui  (eval $ac_try) 2>&5
28411.6Stv  ac_status=$?
28421.72Sapb  echo "$as_me:2842: \$? = $ac_status" >&5
28431.66Stsutsui  (exit $ac_status); }; }; then
28441.6Stv  ac_cv_type_id_t=yes
28451.6Stvelse
28461.6Stv  echo "$as_me: failed program was:" >&5
28471.66Stsutsuicat conftest.$ac_ext >&5
28481.66Stsutsuiac_cv_type_id_t=no
28491.6Stvfi
28501.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
28511.6Stvfi
28521.72Sapbecho "$as_me:2852: result: $ac_cv_type_id_t" >&5
28531.66Stsutsuiecho "${ECHO_T}$ac_cv_type_id_t" >&6
28541.6Stvif test $ac_cv_type_id_t = yes; then
28551.6Stv
28561.66Stsutsuicat >>confdefs.h <<EOF
28571.6Stv#define HAVE_ID_T 1
28581.66StsutsuiEOF
28591.6Stv
28601.6Stvfi
28611.72Sapbecho "$as_me:2861: checking for long long" >&5
28621.66Stsutsuiecho $ECHO_N "checking for long long... $ECHO_C" >&6
28631.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28641.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28651.6Stvelse
28661.6Stv  cat >conftest.$ac_ext <<_ACEOF
28671.72Sapb#line 2867 "configure"
28681.66Stsutsui#include "confdefs.h"
28691.6Stv$ac_includes_default
28701.6Stvint
28711.6Stvmain ()
28721.6Stv{
28731.66Stsutsuiif ((long long *) 0)
28741.6Stv  return 0;
28751.66Stsutsuiif (sizeof (long long))
28761.6Stv  return 0;
28771.6Stv  ;
28781.6Stv  return 0;
28791.6Stv}
28801.6Stv_ACEOF
28811.6Stvrm -f conftest.$ac_objext
28821.72Sapbif { (eval echo "$as_me:2882: \"$ac_compile\"") >&5
28831.66Stsutsui  (eval $ac_compile) 2>&5
28841.66Stsutsui  ac_status=$?
28851.72Sapb  echo "$as_me:2885: \$? = $ac_status" >&5
28861.66Stsutsui  (exit $ac_status); } &&
28871.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
28881.72Sapb  { (eval echo "$as_me:2888: \"$ac_try\"") >&5
28891.66Stsutsui  (eval $ac_try) 2>&5
28901.6Stv  ac_status=$?
28911.72Sapb  echo "$as_me:2891: \$? = $ac_status" >&5
28921.66Stsutsui  (exit $ac_status); }; }; then
28931.6Stv  ac_cv_type_long_long=yes
28941.6Stvelse
28951.6Stv  echo "$as_me: failed program was:" >&5
28961.66Stsutsuicat conftest.$ac_ext >&5
28971.66Stsutsuiac_cv_type_long_long=no
28981.6Stvfi
28991.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
29001.6Stvfi
29011.72Sapbecho "$as_me:2901: result: $ac_cv_type_long_long" >&5
29021.66Stsutsuiecho "${ECHO_T}$ac_cv_type_long_long" >&6
29031.6Stvif test $ac_cv_type_long_long = yes; then
29041.6Stv
29051.66Stsutsuicat >>confdefs.h <<EOF
29061.52Sdbj#define HAVE_LONG_LONG 1
29071.66StsutsuiEOF
29081.6Stv
29091.6Stvfi
29101.72Sapbecho "$as_me:2910: checking for u_long" >&5
29111.66Stsutsuiecho $ECHO_N "checking for u_long... $ECHO_C" >&6
29121.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
29131.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
29141.38Sfredbelse
29151.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
29161.72Sapb#line 2916 "configure"
29171.66Stsutsui#include "confdefs.h"
29181.38Sfredb$ac_includes_default
29191.38Sfredbint
29201.38Sfredbmain ()
29211.38Sfredb{
29221.66Stsutsuiif ((u_long *) 0)
29231.38Sfredb  return 0;
29241.66Stsutsuiif (sizeof (u_long))
29251.38Sfredb  return 0;
29261.38Sfredb  ;
29271.38Sfredb  return 0;
29281.38Sfredb}
29291.38Sfredb_ACEOF
29301.38Sfredbrm -f conftest.$ac_objext
29311.72Sapbif { (eval echo "$as_me:2931: \"$ac_compile\"") >&5
29321.66Stsutsui  (eval $ac_compile) 2>&5
29331.66Stsutsui  ac_status=$?
29341.72Sapb  echo "$as_me:2934: \$? = $ac_status" >&5
29351.66Stsutsui  (exit $ac_status); } &&
29361.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
29371.72Sapb  { (eval echo "$as_me:2937: \"$ac_try\"") >&5
29381.66Stsutsui  (eval $ac_try) 2>&5
29391.38Sfredb  ac_status=$?
29401.72Sapb  echo "$as_me:2940: \$? = $ac_status" >&5
29411.66Stsutsui  (exit $ac_status); }; }; then
29421.38Sfredb  ac_cv_type_u_long=yes
29431.38Sfredbelse
29441.38Sfredb  echo "$as_me: failed program was:" >&5
29451.66Stsutsuicat conftest.$ac_ext >&5
29461.66Stsutsuiac_cv_type_u_long=no
29471.38Sfredbfi
29481.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
29491.38Sfredbfi
29501.72Sapbecho "$as_me:2950: result: $ac_cv_type_u_long" >&5
29511.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_long" >&6
29521.38Sfredbif test $ac_cv_type_u_long = yes; then
29531.38Sfredb
29541.66Stsutsuicat >>confdefs.h <<EOF
29551.38Sfredb#define HAVE_U_LONG 1
29561.66StsutsuiEOF
29571.39Sfredb
29581.38Sfredbfi
29591.72Sapbecho "$as_me:2959: checking for u_char" >&5
29601.66Stsutsuiecho $ECHO_N "checking for u_char... $ECHO_C" >&6
29611.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then
29621.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
29631.45Sjmcelse
29641.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
29651.72Sapb#line 2965 "configure"
29661.66Stsutsui#include "confdefs.h"
29671.45Sjmc$ac_includes_default
29681.45Sjmcint
29691.45Sjmcmain ()
29701.45Sjmc{
29711.66Stsutsuiif ((u_char *) 0)
29721.45Sjmc  return 0;
29731.66Stsutsuiif (sizeof (u_char))
29741.45Sjmc  return 0;
29751.45Sjmc  ;
29761.45Sjmc  return 0;
29771.45Sjmc}
29781.45Sjmc_ACEOF
29791.45Sjmcrm -f conftest.$ac_objext
29801.72Sapbif { (eval echo "$as_me:2980: \"$ac_compile\"") >&5
29811.66Stsutsui  (eval $ac_compile) 2>&5
29821.66Stsutsui  ac_status=$?
29831.72Sapb  echo "$as_me:2983: \$? = $ac_status" >&5
29841.66Stsutsui  (exit $ac_status); } &&
29851.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
29861.72Sapb  { (eval echo "$as_me:2986: \"$ac_try\"") >&5
29871.66Stsutsui  (eval $ac_try) 2>&5
29881.45Sjmc  ac_status=$?
29891.72Sapb  echo "$as_me:2989: \$? = $ac_status" >&5
29901.66Stsutsui  (exit $ac_status); }; }; then
29911.45Sjmc  ac_cv_type_u_char=yes
29921.45Sjmcelse
29931.45Sjmc  echo "$as_me: failed program was:" >&5
29941.66Stsutsuicat conftest.$ac_ext >&5
29951.66Stsutsuiac_cv_type_u_char=no
29961.45Sjmcfi
29971.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
29981.45Sjmcfi
29991.72Sapbecho "$as_me:2999: result: $ac_cv_type_u_char" >&5
30001.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_char" >&6
30011.45Sjmcif test $ac_cv_type_u_char = yes; then
30021.45Sjmc
30031.66Stsutsuicat >>confdefs.h <<EOF
30041.45Sjmc#define HAVE_U_CHAR 1
30051.66StsutsuiEOF
30061.45Sjmc
30071.45Sjmcfi
30081.72Sapbecho "$as_me:3008: checking for u_short" >&5
30091.66Stsutsuiecho $ECHO_N "checking for u_short... $ECHO_C" >&6
30101.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then
30111.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30121.45Sjmcelse
30131.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30141.72Sapb#line 3014 "configure"
30151.66Stsutsui#include "confdefs.h"
30161.45Sjmc$ac_includes_default
30171.45Sjmcint
30181.45Sjmcmain ()
30191.45Sjmc{
30201.66Stsutsuiif ((u_short *) 0)
30211.45Sjmc  return 0;
30221.66Stsutsuiif (sizeof (u_short))
30231.45Sjmc  return 0;
30241.45Sjmc  ;
30251.45Sjmc  return 0;
30261.45Sjmc}
30271.45Sjmc_ACEOF
30281.45Sjmcrm -f conftest.$ac_objext
30291.72Sapbif { (eval echo "$as_me:3029: \"$ac_compile\"") >&5
30301.66Stsutsui  (eval $ac_compile) 2>&5
30311.66Stsutsui  ac_status=$?
30321.72Sapb  echo "$as_me:3032: \$? = $ac_status" >&5
30331.66Stsutsui  (exit $ac_status); } &&
30341.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
30351.72Sapb  { (eval echo "$as_me:3035: \"$ac_try\"") >&5
30361.66Stsutsui  (eval $ac_try) 2>&5
30371.45Sjmc  ac_status=$?
30381.72Sapb  echo "$as_me:3038: \$? = $ac_status" >&5
30391.66Stsutsui  (exit $ac_status); }; }; then
30401.45Sjmc  ac_cv_type_u_short=yes
30411.45Sjmcelse
30421.45Sjmc  echo "$as_me: failed program was:" >&5
30431.66Stsutsuicat conftest.$ac_ext >&5
30441.66Stsutsuiac_cv_type_u_short=no
30451.45Sjmcfi
30461.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
30471.45Sjmcfi
30481.72Sapbecho "$as_me:3048: result: $ac_cv_type_u_short" >&5
30491.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_short" >&6
30501.45Sjmcif test $ac_cv_type_u_short = yes; then
30511.45Sjmc
30521.66Stsutsuicat >>confdefs.h <<EOF
30531.45Sjmc#define HAVE_U_SHORT 1
30541.66StsutsuiEOF
30551.45Sjmc
30561.45Sjmcfi
30571.72Sapbecho "$as_me:3057: checking for u_int" >&5
30581.66Stsutsuiecho $ECHO_N "checking for u_int... $ECHO_C" >&6
30591.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then
30601.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30611.45Sjmcelse
30621.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30631.72Sapb#line 3063 "configure"
30641.66Stsutsui#include "confdefs.h"
30651.45Sjmc$ac_includes_default
30661.45Sjmcint
30671.45Sjmcmain ()
30681.45Sjmc{
30691.66Stsutsuiif ((u_int *) 0)
30701.45Sjmc  return 0;
30711.66Stsutsuiif (sizeof (u_int))
30721.45Sjmc  return 0;
30731.45Sjmc  ;
30741.45Sjmc  return 0;
30751.45Sjmc}
30761.45Sjmc_ACEOF
30771.45Sjmcrm -f conftest.$ac_objext
30781.72Sapbif { (eval echo "$as_me:3078: \"$ac_compile\"") >&5
30791.66Stsutsui  (eval $ac_compile) 2>&5
30801.66Stsutsui  ac_status=$?
30811.72Sapb  echo "$as_me:3081: \$? = $ac_status" >&5
30821.66Stsutsui  (exit $ac_status); } &&
30831.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
30841.72Sapb  { (eval echo "$as_me:3084: \"$ac_try\"") >&5
30851.66Stsutsui  (eval $ac_try) 2>&5
30861.45Sjmc  ac_status=$?
30871.72Sapb  echo "$as_me:3087: \$? = $ac_status" >&5
30881.66Stsutsui  (exit $ac_status); }; }; then
30891.45Sjmc  ac_cv_type_u_int=yes
30901.45Sjmcelse
30911.45Sjmc  echo "$as_me: failed program was:" >&5
30921.66Stsutsuicat conftest.$ac_ext >&5
30931.66Stsutsuiac_cv_type_u_int=no
30941.45Sjmcfi
30951.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
30961.45Sjmcfi
30971.72Sapbecho "$as_me:3097: result: $ac_cv_type_u_int" >&5
30981.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int" >&6
30991.45Sjmcif test $ac_cv_type_u_int = yes; then
31001.45Sjmc
31011.66Stsutsuicat >>confdefs.h <<EOF
31021.45Sjmc#define HAVE_U_INT 1
31031.66StsutsuiEOF
31041.45Sjmc
31051.45Sjmcfi
31061.72Sapbecho "$as_me:3106: checking for u_quad_t" >&5
31071.66Stsutsuiecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
31081.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
31091.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31101.7Stvelse
31111.7Stv  cat >conftest.$ac_ext <<_ACEOF
31121.72Sapb#line 3112 "configure"
31131.66Stsutsui#include "confdefs.h"
31141.7Stv$ac_includes_default
31151.7Stvint
31161.7Stvmain ()
31171.7Stv{
31181.66Stsutsuiif ((u_quad_t *) 0)
31191.7Stv  return 0;
31201.66Stsutsuiif (sizeof (u_quad_t))
31211.7Stv  return 0;
31221.7Stv  ;
31231.7Stv  return 0;
31241.7Stv}
31251.7Stv_ACEOF
31261.7Stvrm -f conftest.$ac_objext
31271.72Sapbif { (eval echo "$as_me:3127: \"$ac_compile\"") >&5
31281.66Stsutsui  (eval $ac_compile) 2>&5
31291.66Stsutsui  ac_status=$?
31301.72Sapb  echo "$as_me:3130: \$? = $ac_status" >&5
31311.66Stsutsui  (exit $ac_status); } &&
31321.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
31331.72Sapb  { (eval echo "$as_me:3133: \"$ac_try\"") >&5
31341.66Stsutsui  (eval $ac_try) 2>&5
31351.7Stv  ac_status=$?
31361.72Sapb  echo "$as_me:3136: \$? = $ac_status" >&5
31371.66Stsutsui  (exit $ac_status); }; }; then
31381.7Stv  ac_cv_type_u_quad_t=yes
31391.7Stvelse
31401.7Stv  echo "$as_me: failed program was:" >&5
31411.66Stsutsuicat conftest.$ac_ext >&5
31421.66Stsutsuiac_cv_type_u_quad_t=no
31431.7Stvfi
31441.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
31451.7Stvfi
31461.72Sapbecho "$as_me:3146: result: $ac_cv_type_u_quad_t" >&5
31471.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
31481.7Stvif test $ac_cv_type_u_quad_t = yes; then
31491.7Stv
31501.66Stsutsuicat >>confdefs.h <<EOF
31511.7Stv#define HAVE_U_QUAD_T 1
31521.66StsutsuiEOF
31531.7Stv
31541.7Stvfi
31551.35Sthorpej
31561.72Sapbecho "$as_me:3156: checking for socklen_t" >&5
31571.66Stsutsuiecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
31581.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
31591.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
31601.34Sthorpejelse
31611.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
31621.72Sapb#line 3162 "configure"
31631.66Stsutsui#include "confdefs.h"
31641.35Sthorpej#include <sys/types.h>
31651.35Sthorpej#include <sys/socket.h>
31661.35Sthorpej
31671.34Sthorpejint
31681.34Sthorpejmain ()
31691.34Sthorpej{
31701.66Stsutsuiif ((socklen_t *) 0)
31711.34Sthorpej  return 0;
31721.66Stsutsuiif (sizeof (socklen_t))
31731.34Sthorpej  return 0;
31741.34Sthorpej  ;
31751.34Sthorpej  return 0;
31761.34Sthorpej}
31771.34Sthorpej_ACEOF
31781.34Sthorpejrm -f conftest.$ac_objext
31791.72Sapbif { (eval echo "$as_me:3179: \"$ac_compile\"") >&5
31801.66Stsutsui  (eval $ac_compile) 2>&5
31811.66Stsutsui  ac_status=$?
31821.72Sapb  echo "$as_me:3182: \$? = $ac_status" >&5
31831.66Stsutsui  (exit $ac_status); } &&
31841.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
31851.72Sapb  { (eval echo "$as_me:3185: \"$ac_try\"") >&5
31861.66Stsutsui  (eval $ac_try) 2>&5
31871.34Sthorpej  ac_status=$?
31881.72Sapb  echo "$as_me:3188: \$? = $ac_status" >&5
31891.66Stsutsui  (exit $ac_status); }; }; then
31901.34Sthorpej  ac_cv_type_socklen_t=yes
31911.34Sthorpejelse
31921.34Sthorpej  echo "$as_me: failed program was:" >&5
31931.66Stsutsuicat conftest.$ac_ext >&5
31941.66Stsutsuiac_cv_type_socklen_t=no
31951.34Sthorpejfi
31961.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
31971.34Sthorpejfi
31981.72Sapbecho "$as_me:3198: result: $ac_cv_type_socklen_t" >&5
31991.66Stsutsuiecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
32001.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
32011.54Swiz
32021.66Stsutsuicat >>confdefs.h <<\EOF
32031.34Sthorpej#define HAVE_SOCKLEN_T 1
32041.66StsutsuiEOF
32051.34Sthorpej
32061.34Sthorpejfi
32071.34Sthorpej
32081.72Sapb	echo "$as_me:3208: checking for uint8_t" >&5
32091.66Stsutsuiecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32101.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
32111.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32121.6Stvelse
32131.6Stv  cat >conftest.$ac_ext <<_ACEOF
32141.72Sapb#line 3214 "configure"
32151.66Stsutsui#include "confdefs.h"
32161.6Stv$ac_includes_default
32171.6Stvint
32181.6Stvmain ()
32191.6Stv{
32201.66Stsutsuiif ((uint8_t *) 0)
32211.6Stv  return 0;
32221.66Stsutsuiif (sizeof (uint8_t))
32231.6Stv  return 0;
32241.6Stv  ;
32251.6Stv  return 0;
32261.6Stv}
32271.6Stv_ACEOF
32281.6Stvrm -f conftest.$ac_objext
32291.72Sapbif { (eval echo "$as_me:3229: \"$ac_compile\"") >&5
32301.66Stsutsui  (eval $ac_compile) 2>&5
32311.66Stsutsui  ac_status=$?
32321.72Sapb  echo "$as_me:3232: \$? = $ac_status" >&5
32331.66Stsutsui  (exit $ac_status); } &&
32341.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
32351.72Sapb  { (eval echo "$as_me:3235: \"$ac_try\"") >&5
32361.66Stsutsui  (eval $ac_try) 2>&5
32371.6Stv  ac_status=$?
32381.72Sapb  echo "$as_me:3238: \$? = $ac_status" >&5
32391.66Stsutsui  (exit $ac_status); }; }; then
32401.9Stv  ac_cv_type_uint8_t=yes
32411.9Stvelse
32421.9Stv  echo "$as_me: failed program was:" >&5
32431.66Stsutsuicat conftest.$ac_ext >&5
32441.66Stsutsuiac_cv_type_uint8_t=no
32451.9Stvfi
32461.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
32471.9Stvfi
32481.72Sapbecho "$as_me:3248: result: $ac_cv_type_uint8_t" >&5
32491.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32501.9Stvif test $ac_cv_type_uint8_t = yes; then
32511.9Stv  :
32521.9Stvelse
32531.9Stv
32541.72Sapb		echo "$as_me:3254: checking for u_int8_t" >&5
32551.66Stsutsuiecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32561.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
32571.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32581.9Stvelse
32591.9Stv  cat >conftest.$ac_ext <<_ACEOF
32601.72Sapb#line 3260 "configure"
32611.66Stsutsui#include "confdefs.h"
32621.9Stv$ac_includes_default
32631.9Stvint
32641.9Stvmain ()
32651.9Stv{
32661.66Stsutsuiif ((u_int8_t *) 0)
32671.9Stv  return 0;
32681.66Stsutsuiif (sizeof (u_int8_t))
32691.9Stv  return 0;
32701.9Stv  ;
32711.9Stv  return 0;
32721.9Stv}
32731.9Stv_ACEOF
32741.9Stvrm -f conftest.$ac_objext
32751.72Sapbif { (eval echo "$as_me:3275: \"$ac_compile\"") >&5
32761.66Stsutsui  (eval $ac_compile) 2>&5
32771.66Stsutsui  ac_status=$?
32781.72Sapb  echo "$as_me:3278: \$? = $ac_status" >&5
32791.66Stsutsui  (exit $ac_status); } &&
32801.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
32811.72Sapb  { (eval echo "$as_me:3281: \"$ac_try\"") >&5
32821.66Stsutsui  (eval $ac_try) 2>&5
32831.9Stv  ac_status=$?
32841.72Sapb  echo "$as_me:3284: \$? = $ac_status" >&5
32851.66Stsutsui  (exit $ac_status); }; }; then
32861.6Stv  ac_cv_type_u_int8_t=yes
32871.6Stvelse
32881.6Stv  echo "$as_me: failed program was:" >&5
32891.66Stsutsuicat conftest.$ac_ext >&5
32901.66Stsutsuiac_cv_type_u_int8_t=no
32911.6Stvfi
32921.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
32931.6Stvfi
32941.72Sapbecho "$as_me:3294: result: $ac_cv_type_u_int8_t" >&5
32951.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32961.9Stvif test $ac_cv_type_u_int8_t = yes; then
32971.54Swiz
32981.66Stsutsuicat >>confdefs.h <<\EOF
32991.9Stv#define uint8_t u_int8_t
33001.66StsutsuiEOF
33011.9Stv
33021.9Stvelse
33031.72Sapb  { { echo "$as_me:3303: error: cannot find a suitable type for uint8_t" >&5
33041.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
33051.9Stv   { (exit 1); exit 1; }; }
33061.9Stvfi
33071.9Stv
33081.9Stvfi
33091.9Stv
33101.72Sapb	echo "$as_me:3310: checking for u_int8_t" >&5
33111.66Stsutsuiecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
33121.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
33131.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33141.9Stvelse
33151.9Stv  cat >conftest.$ac_ext <<_ACEOF
33161.72Sapb#line 3316 "configure"
33171.66Stsutsui#include "confdefs.h"
33181.9Stv$ac_includes_default
33191.9Stvint
33201.9Stvmain ()
33211.9Stv{
33221.66Stsutsuiif ((u_int8_t *) 0)
33231.9Stv  return 0;
33241.66Stsutsuiif (sizeof (u_int8_t))
33251.9Stv  return 0;
33261.9Stv  ;
33271.9Stv  return 0;
33281.9Stv}
33291.9Stv_ACEOF
33301.9Stvrm -f conftest.$ac_objext
33311.72Sapbif { (eval echo "$as_me:3331: \"$ac_compile\"") >&5
33321.66Stsutsui  (eval $ac_compile) 2>&5
33331.66Stsutsui  ac_status=$?
33341.72Sapb  echo "$as_me:3334: \$? = $ac_status" >&5
33351.66Stsutsui  (exit $ac_status); } &&
33361.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
33371.72Sapb  { (eval echo "$as_me:3337: \"$ac_try\"") >&5
33381.66Stsutsui  (eval $ac_try) 2>&5
33391.9Stv  ac_status=$?
33401.72Sapb  echo "$as_me:3340: \$? = $ac_status" >&5
33411.66Stsutsui  (exit $ac_status); }; }; then
33421.9Stv  ac_cv_type_u_int8_t=yes
33431.9Stvelse
33441.9Stv  echo "$as_me: failed program was:" >&5
33451.66Stsutsuicat conftest.$ac_ext >&5
33461.66Stsutsuiac_cv_type_u_int8_t=no
33471.9Stvfi
33481.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
33491.9Stvfi
33501.72Sapbecho "$as_me:3350: result: $ac_cv_type_u_int8_t" >&5
33511.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
33521.6Stvif test $ac_cv_type_u_int8_t = yes; then
33531.6Stv  :
33541.6Stvelse
33551.6Stv
33561.72Sapb		echo "$as_me:3356: checking for uint8_t" >&5
33571.66Stsutsuiecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
33581.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
33591.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33601.6Stvelse
33611.6Stv  cat >conftest.$ac_ext <<_ACEOF
33621.72Sapb#line 3362 "configure"
33631.66Stsutsui#include "confdefs.h"
33641.6Stv$ac_includes_default
33651.6Stvint
33661.6Stvmain ()
33671.6Stv{
33681.66Stsutsuiif ((uint8_t *) 0)
33691.6Stv  return 0;
33701.66Stsutsuiif (sizeof (uint8_t))
33711.6Stv  return 0;
33721.6Stv  ;
33731.6Stv  return 0;
33741.6Stv}
33751.6Stv_ACEOF
33761.6Stvrm -f conftest.$ac_objext
33771.72Sapbif { (eval echo "$as_me:3377: \"$ac_compile\"") >&5
33781.66Stsutsui  (eval $ac_compile) 2>&5
33791.66Stsutsui  ac_status=$?
33801.72Sapb  echo "$as_me:3380: \$? = $ac_status" >&5
33811.66Stsutsui  (exit $ac_status); } &&
33821.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
33831.72Sapb  { (eval echo "$as_me:3383: \"$ac_try\"") >&5
33841.66Stsutsui  (eval $ac_try) 2>&5
33851.6Stv  ac_status=$?
33861.72Sapb  echo "$as_me:3386: \$? = $ac_status" >&5
33871.66Stsutsui  (exit $ac_status); }; }; then
33881.6Stv  ac_cv_type_uint8_t=yes
33891.4Stvelse
33901.4Stv  echo "$as_me: failed program was:" >&5
33911.66Stsutsuicat conftest.$ac_ext >&5
33921.66Stsutsuiac_cv_type_uint8_t=no
33931.4Stvfi
33941.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
33951.4Stvfi
33961.72Sapbecho "$as_me:3396: result: $ac_cv_type_uint8_t" >&5
33971.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
33981.6Stvif test $ac_cv_type_uint8_t = yes; then
33991.54Swiz
34001.66Stsutsuicat >>confdefs.h <<\EOF
34011.6Stv#define u_int8_t uint8_t
34021.66StsutsuiEOF
34031.4Stv
34041.6Stvelse
34051.72Sapb  { { echo "$as_me:3405: error: cannot find a suitable type for u_int8_t" >&5
34061.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
34071.6Stv   { (exit 1); exit 1; }; }
34081.6Stvfi
34091.6Stv
34101.4Stvfi
34111.4Stv
34121.72Sapb	echo "$as_me:3412: checking for uint16_t" >&5
34131.66Stsutsuiecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
34141.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
34151.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34161.9Stvelse
34171.9Stv  cat >conftest.$ac_ext <<_ACEOF
34181.72Sapb#line 3418 "configure"
34191.66Stsutsui#include "confdefs.h"
34201.9Stv$ac_includes_default
34211.9Stvint
34221.9Stvmain ()
34231.9Stv{
34241.66Stsutsuiif ((uint16_t *) 0)
34251.9Stv  return 0;
34261.66Stsutsuiif (sizeof (uint16_t))
34271.9Stv  return 0;
34281.9Stv  ;
34291.9Stv  return 0;
34301.9Stv}
34311.9Stv_ACEOF
34321.9Stvrm -f conftest.$ac_objext
34331.72Sapbif { (eval echo "$as_me:3433: \"$ac_compile\"") >&5
34341.66Stsutsui  (eval $ac_compile) 2>&5
34351.66Stsutsui  ac_status=$?
34361.72Sapb  echo "$as_me:3436: \$? = $ac_status" >&5
34371.66Stsutsui  (exit $ac_status); } &&
34381.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
34391.72Sapb  { (eval echo "$as_me:3439: \"$ac_try\"") >&5
34401.66Stsutsui  (eval $ac_try) 2>&5
34411.9Stv  ac_status=$?
34421.72Sapb  echo "$as_me:3442: \$? = $ac_status" >&5
34431.66Stsutsui  (exit $ac_status); }; }; then
34441.9Stv  ac_cv_type_uint16_t=yes
34451.9Stvelse
34461.9Stv  echo "$as_me: failed program was:" >&5
34471.66Stsutsuicat conftest.$ac_ext >&5
34481.66Stsutsuiac_cv_type_uint16_t=no
34491.9Stvfi
34501.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
34511.9Stvfi
34521.72Sapbecho "$as_me:3452: result: $ac_cv_type_uint16_t" >&5
34531.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34541.9Stvif test $ac_cv_type_uint16_t = yes; then
34551.9Stv  :
34561.9Stvelse
34571.9Stv
34581.72Sapb		echo "$as_me:3458: checking for u_int16_t" >&5
34591.66Stsutsuiecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
34601.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
34611.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34621.9Stvelse
34631.9Stv  cat >conftest.$ac_ext <<_ACEOF
34641.72Sapb#line 3464 "configure"
34651.66Stsutsui#include "confdefs.h"
34661.9Stv$ac_includes_default
34671.9Stvint
34681.9Stvmain ()
34691.9Stv{
34701.66Stsutsuiif ((u_int16_t *) 0)
34711.9Stv  return 0;
34721.66Stsutsuiif (sizeof (u_int16_t))
34731.9Stv  return 0;
34741.9Stv  ;
34751.9Stv  return 0;
34761.9Stv}
34771.9Stv_ACEOF
34781.9Stvrm -f conftest.$ac_objext
34791.72Sapbif { (eval echo "$as_me:3479: \"$ac_compile\"") >&5
34801.66Stsutsui  (eval $ac_compile) 2>&5
34811.66Stsutsui  ac_status=$?
34821.72Sapb  echo "$as_me:3482: \$? = $ac_status" >&5
34831.66Stsutsui  (exit $ac_status); } &&
34841.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
34851.72Sapb  { (eval echo "$as_me:3485: \"$ac_try\"") >&5
34861.66Stsutsui  (eval $ac_try) 2>&5
34871.9Stv  ac_status=$?
34881.72Sapb  echo "$as_me:3488: \$? = $ac_status" >&5
34891.66Stsutsui  (exit $ac_status); }; }; then
34901.9Stv  ac_cv_type_u_int16_t=yes
34911.9Stvelse
34921.9Stv  echo "$as_me: failed program was:" >&5
34931.66Stsutsuicat conftest.$ac_ext >&5
34941.66Stsutsuiac_cv_type_u_int16_t=no
34951.9Stvfi
34961.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
34971.9Stvfi
34981.72Sapbecho "$as_me:3498: result: $ac_cv_type_u_int16_t" >&5
34991.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35001.9Stvif test $ac_cv_type_u_int16_t = yes; then
35011.54Swiz
35021.66Stsutsuicat >>confdefs.h <<\EOF
35031.9Stv#define uint16_t u_int16_t
35041.66StsutsuiEOF
35051.9Stv
35061.9Stvelse
35071.72Sapb  { { echo "$as_me:3507: error: cannot find a suitable type for uint16_t" >&5
35081.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
35091.9Stv   { (exit 1); exit 1; }; }
35101.9Stvfi
35111.9Stv
35121.9Stvfi
35131.9Stv
35141.72Sapb	echo "$as_me:3514: checking for u_int16_t" >&5
35151.66Stsutsuiecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
35161.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
35171.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35181.1Stvelse
35191.1Stv  cat >conftest.$ac_ext <<_ACEOF
35201.72Sapb#line 3520 "configure"
35211.66Stsutsui#include "confdefs.h"
35221.6Stv$ac_includes_default
35231.6Stvint
35241.6Stvmain ()
35251.6Stv{
35261.66Stsutsuiif ((u_int16_t *) 0)
35271.6Stv  return 0;
35281.66Stsutsuiif (sizeof (u_int16_t))
35291.6Stv  return 0;
35301.6Stv  ;
35311.6Stv  return 0;
35321.6Stv}
35331.1Stv_ACEOF
35341.6Stvrm -f conftest.$ac_objext
35351.72Sapbif { (eval echo "$as_me:3535: \"$ac_compile\"") >&5
35361.66Stsutsui  (eval $ac_compile) 2>&5
35371.66Stsutsui  ac_status=$?
35381.72Sapb  echo "$as_me:3538: \$? = $ac_status" >&5
35391.66Stsutsui  (exit $ac_status); } &&
35401.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
35411.72Sapb  { (eval echo "$as_me:3541: \"$ac_try\"") >&5
35421.66Stsutsui  (eval $ac_try) 2>&5
35431.6Stv  ac_status=$?
35441.72Sapb  echo "$as_me:3544: \$? = $ac_status" >&5
35451.66Stsutsui  (exit $ac_status); }; }; then
35461.6Stv  ac_cv_type_u_int16_t=yes
35471.1Stvelse
35481.6Stv  echo "$as_me: failed program was:" >&5
35491.66Stsutsuicat conftest.$ac_ext >&5
35501.66Stsutsuiac_cv_type_u_int16_t=no
35511.6Stvfi
35521.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
35531.1Stvfi
35541.72Sapbecho "$as_me:3554: result: $ac_cv_type_u_int16_t" >&5
35551.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35561.6Stvif test $ac_cv_type_u_int16_t = yes; then
35571.6Stv  :
35581.1Stvelse
35591.1Stv
35601.72Sapb		echo "$as_me:3560: checking for uint16_t" >&5
35611.66Stsutsuiecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
35621.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
35631.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35641.6Stvelse
35651.1Stv  cat >conftest.$ac_ext <<_ACEOF
35661.72Sapb#line 3566 "configure"
35671.66Stsutsui#include "confdefs.h"
35681.6Stv$ac_includes_default
35691.6Stvint
35701.6Stvmain ()
35711.6Stv{
35721.66Stsutsuiif ((uint16_t *) 0)
35731.6Stv  return 0;
35741.66Stsutsuiif (sizeof (uint16_t))
35751.6Stv  return 0;
35761.6Stv  ;
35771.6Stv  return 0;
35781.6Stv}
35791.1Stv_ACEOF
35801.6Stvrm -f conftest.$ac_objext
35811.72Sapbif { (eval echo "$as_me:3581: \"$ac_compile\"") >&5
35821.66Stsutsui  (eval $ac_compile) 2>&5
35831.66Stsutsui  ac_status=$?
35841.72Sapb  echo "$as_me:3584: \$? = $ac_status" >&5
35851.66Stsutsui  (exit $ac_status); } &&
35861.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
35871.72Sapb  { (eval echo "$as_me:3587: \"$ac_try\"") >&5
35881.66Stsutsui  (eval $ac_try) 2>&5
35891.6Stv  ac_status=$?
35901.72Sapb  echo "$as_me:3590: \$? = $ac_status" >&5
35911.66Stsutsui  (exit $ac_status); }; }; then
35921.6Stv  ac_cv_type_uint16_t=yes
35931.1Stvelse
35941.6Stv  echo "$as_me: failed program was:" >&5
35951.66Stsutsuicat conftest.$ac_ext >&5
35961.66Stsutsuiac_cv_type_uint16_t=no
35971.1Stvfi
35981.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
35991.1Stvfi
36001.72Sapbecho "$as_me:3600: result: $ac_cv_type_uint16_t" >&5
36011.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
36021.6Stvif test $ac_cv_type_uint16_t = yes; then
36031.54Swiz
36041.66Stsutsuicat >>confdefs.h <<\EOF
36051.6Stv#define u_int16_t uint16_t
36061.66StsutsuiEOF
36071.1Stv
36081.1Stvelse
36091.72Sapb  { { echo "$as_me:3609: error: cannot find a suitable type for u_int16_t" >&5
36101.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
36111.6Stv   { (exit 1); exit 1; }; }
36121.1Stvfi
36131.1Stv
36141.1Stvfi
36151.1Stv
36161.72Sapb	echo "$as_me:3616: checking for uint32_t" >&5
36171.66Stsutsuiecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
36181.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
36191.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36201.9Stvelse
36211.9Stv  cat >conftest.$ac_ext <<_ACEOF
36221.72Sapb#line 3622 "configure"
36231.66Stsutsui#include "confdefs.h"
36241.9Stv$ac_includes_default
36251.9Stvint
36261.9Stvmain ()
36271.9Stv{
36281.66Stsutsuiif ((uint32_t *) 0)
36291.9Stv  return 0;
36301.66Stsutsuiif (sizeof (uint32_t))
36311.9Stv  return 0;
36321.9Stv  ;
36331.9Stv  return 0;
36341.9Stv}
36351.9Stv_ACEOF
36361.9Stvrm -f conftest.$ac_objext
36371.72Sapbif { (eval echo "$as_me:3637: \"$ac_compile\"") >&5
36381.66Stsutsui  (eval $ac_compile) 2>&5
36391.66Stsutsui  ac_status=$?
36401.72Sapb  echo "$as_me:3640: \$? = $ac_status" >&5
36411.66Stsutsui  (exit $ac_status); } &&
36421.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
36431.72Sapb  { (eval echo "$as_me:3643: \"$ac_try\"") >&5
36441.66Stsutsui  (eval $ac_try) 2>&5
36451.9Stv  ac_status=$?
36461.72Sapb  echo "$as_me:3646: \$? = $ac_status" >&5
36471.66Stsutsui  (exit $ac_status); }; }; then
36481.9Stv  ac_cv_type_uint32_t=yes
36491.9Stvelse
36501.9Stv  echo "$as_me: failed program was:" >&5
36511.66Stsutsuicat conftest.$ac_ext >&5
36521.66Stsutsuiac_cv_type_uint32_t=no
36531.9Stvfi
36541.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
36551.9Stvfi
36561.72Sapbecho "$as_me:3656: result: $ac_cv_type_uint32_t" >&5
36571.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36581.9Stvif test $ac_cv_type_uint32_t = yes; then
36591.9Stv  :
36601.9Stvelse
36611.9Stv
36621.72Sapb		echo "$as_me:3662: checking for u_int32_t" >&5
36631.66Stsutsuiecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
36641.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
36651.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36661.1Stvelse
36671.1Stv  cat >conftest.$ac_ext <<_ACEOF
36681.72Sapb#line 3668 "configure"
36691.66Stsutsui#include "confdefs.h"
36701.9Stv$ac_includes_default
36711.9Stvint
36721.9Stvmain ()
36731.9Stv{
36741.66Stsutsuiif ((u_int32_t *) 0)
36751.9Stv  return 0;
36761.66Stsutsuiif (sizeof (u_int32_t))
36771.9Stv  return 0;
36781.9Stv  ;
36791.9Stv  return 0;
36801.9Stv}
36811.9Stv_ACEOF
36821.9Stvrm -f conftest.$ac_objext
36831.72Sapbif { (eval echo "$as_me:3683: \"$ac_compile\"") >&5
36841.66Stsutsui  (eval $ac_compile) 2>&5
36851.66Stsutsui  ac_status=$?
36861.72Sapb  echo "$as_me:3686: \$? = $ac_status" >&5
36871.66Stsutsui  (exit $ac_status); } &&
36881.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
36891.72Sapb  { (eval echo "$as_me:3689: \"$ac_try\"") >&5
36901.66Stsutsui  (eval $ac_try) 2>&5
36911.9Stv  ac_status=$?
36921.72Sapb  echo "$as_me:3692: \$? = $ac_status" >&5
36931.66Stsutsui  (exit $ac_status); }; }; then
36941.9Stv  ac_cv_type_u_int32_t=yes
36951.9Stvelse
36961.9Stv  echo "$as_me: failed program was:" >&5
36971.66Stsutsuicat conftest.$ac_ext >&5
36981.66Stsutsuiac_cv_type_u_int32_t=no
36991.9Stvfi
37001.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
37011.9Stvfi
37021.72Sapbecho "$as_me:3702: result: $ac_cv_type_u_int32_t" >&5
37031.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37041.9Stvif test $ac_cv_type_u_int32_t = yes; then
37051.54Swiz
37061.66Stsutsuicat >>confdefs.h <<\EOF
37071.9Stv#define uint32_t u_int32_t
37081.66StsutsuiEOF
37091.9Stv
37101.9Stvelse
37111.72Sapb  { { echo "$as_me:3711: error: cannot find a suitable type for uint32_t" >&5
37121.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
37131.9Stv   { (exit 1); exit 1; }; }
37141.9Stvfi
37151.9Stv
37161.9Stvfi
37171.9Stv
37181.72Sapb	echo "$as_me:3718: checking for u_int32_t" >&5
37191.66Stsutsuiecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
37201.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
37211.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37221.9Stvelse
37231.9Stv  cat >conftest.$ac_ext <<_ACEOF
37241.72Sapb#line 3724 "configure"
37251.66Stsutsui#include "confdefs.h"
37261.6Stv$ac_includes_default
37271.1Stvint
37281.1Stvmain ()
37291.1Stv{
37301.66Stsutsuiif ((u_int32_t *) 0)
37311.6Stv  return 0;
37321.66Stsutsuiif (sizeof (u_int32_t))
37331.6Stv  return 0;
37341.6Stv  ;
37351.6Stv  return 0;
37361.1Stv}
37371.1Stv_ACEOF
37381.6Stvrm -f conftest.$ac_objext
37391.72Sapbif { (eval echo "$as_me:3739: \"$ac_compile\"") >&5
37401.66Stsutsui  (eval $ac_compile) 2>&5
37411.66Stsutsui  ac_status=$?
37421.72Sapb  echo "$as_me:3742: \$? = $ac_status" >&5
37431.66Stsutsui  (exit $ac_status); } &&
37441.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
37451.72Sapb  { (eval echo "$as_me:3745: \"$ac_try\"") >&5
37461.66Stsutsui  (eval $ac_try) 2>&5
37471.1Stv  ac_status=$?
37481.72Sapb  echo "$as_me:3748: \$? = $ac_status" >&5
37491.66Stsutsui  (exit $ac_status); }; }; then
37501.6Stv  ac_cv_type_u_int32_t=yes
37511.1Stvelse
37521.6Stv  echo "$as_me: failed program was:" >&5
37531.66Stsutsuicat conftest.$ac_ext >&5
37541.66Stsutsuiac_cv_type_u_int32_t=no
37551.1Stvfi
37561.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
37571.1Stvfi
37581.72Sapbecho "$as_me:3758: result: $ac_cv_type_u_int32_t" >&5
37591.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37601.6Stvif test $ac_cv_type_u_int32_t = yes; then
37611.6Stv  :
37621.6Stvelse
37631.1Stv
37641.72Sapb		echo "$as_me:3764: checking for uint32_t" >&5
37651.66Stsutsuiecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
37661.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
37671.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37681.1Stvelse
37691.1Stv  cat >conftest.$ac_ext <<_ACEOF
37701.72Sapb#line 3770 "configure"
37711.66Stsutsui#include "confdefs.h"
37721.1Stv$ac_includes_default
37731.6Stvint
37741.6Stvmain ()
37751.6Stv{
37761.66Stsutsuiif ((uint32_t *) 0)
37771.6Stv  return 0;
37781.66Stsutsuiif (sizeof (uint32_t))
37791.6Stv  return 0;
37801.6Stv  ;
37811.6Stv  return 0;
37821.6Stv}
37831.1Stv_ACEOF
37841.1Stvrm -f conftest.$ac_objext
37851.72Sapbif { (eval echo "$as_me:3785: \"$ac_compile\"") >&5
37861.66Stsutsui  (eval $ac_compile) 2>&5
37871.66Stsutsui  ac_status=$?
37881.72Sapb  echo "$as_me:3788: \$? = $ac_status" >&5
37891.66Stsutsui  (exit $ac_status); } &&
37901.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
37911.72Sapb  { (eval echo "$as_me:3791: \"$ac_try\"") >&5
37921.66Stsutsui  (eval $ac_try) 2>&5
37931.1Stv  ac_status=$?
37941.72Sapb  echo "$as_me:3794: \$? = $ac_status" >&5
37951.66Stsutsui  (exit $ac_status); }; }; then
37961.6Stv  ac_cv_type_uint32_t=yes
37971.1Stvelse
37981.1Stv  echo "$as_me: failed program was:" >&5
37991.66Stsutsuicat conftest.$ac_ext >&5
38001.66Stsutsuiac_cv_type_uint32_t=no
38011.1Stvfi
38021.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
38031.1Stvfi
38041.72Sapbecho "$as_me:3804: result: $ac_cv_type_uint32_t" >&5
38051.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
38061.6Stvif test $ac_cv_type_uint32_t = yes; then
38071.54Swiz
38081.66Stsutsuicat >>confdefs.h <<\EOF
38091.6Stv#define u_int32_t uint32_t
38101.66StsutsuiEOF
38111.1Stv
38121.6Stvelse
38131.72Sapb  { { echo "$as_me:3813: error: cannot find a suitable type for u_int32_t" >&5
38141.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
38151.6Stv   { (exit 1); exit 1; }; }
38161.6Stvfi
38171.6Stv
38181.1Stvfi
38191.1Stv
38201.72Sapb	echo "$as_me:3820: checking for uint64_t" >&5
38211.66Stsutsuiecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
38221.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
38231.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38241.9Stvelse
38251.9Stv  cat >conftest.$ac_ext <<_ACEOF
38261.72Sapb#line 3826 "configure"
38271.66Stsutsui#include "confdefs.h"
38281.9Stv$ac_includes_default
38291.9Stvint
38301.9Stvmain ()
38311.9Stv{
38321.66Stsutsuiif ((uint64_t *) 0)
38331.9Stv  return 0;
38341.66Stsutsuiif (sizeof (uint64_t))
38351.9Stv  return 0;
38361.9Stv  ;
38371.9Stv  return 0;
38381.9Stv}
38391.9Stv_ACEOF
38401.9Stvrm -f conftest.$ac_objext
38411.72Sapbif { (eval echo "$as_me:3841: \"$ac_compile\"") >&5
38421.66Stsutsui  (eval $ac_compile) 2>&5
38431.66Stsutsui  ac_status=$?
38441.72Sapb  echo "$as_me:3844: \$? = $ac_status" >&5
38451.66Stsutsui  (exit $ac_status); } &&
38461.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
38471.72Sapb  { (eval echo "$as_me:3847: \"$ac_try\"") >&5
38481.66Stsutsui  (eval $ac_try) 2>&5
38491.9Stv  ac_status=$?
38501.72Sapb  echo "$as_me:3850: \$? = $ac_status" >&5
38511.66Stsutsui  (exit $ac_status); }; }; then
38521.9Stv  ac_cv_type_uint64_t=yes
38531.9Stvelse
38541.9Stv  echo "$as_me: failed program was:" >&5
38551.66Stsutsuicat conftest.$ac_ext >&5
38561.66Stsutsuiac_cv_type_uint64_t=no
38571.9Stvfi
38581.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
38591.9Stvfi
38601.72Sapbecho "$as_me:3860: result: $ac_cv_type_uint64_t" >&5
38611.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38621.9Stvif test $ac_cv_type_uint64_t = yes; then
38631.9Stv  :
38641.9Stvelse
38651.9Stv
38661.72Sapb		echo "$as_me:3866: checking for u_int64_t" >&5
38671.66Stsutsuiecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
38681.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
38691.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38701.9Stvelse
38711.9Stv  cat >conftest.$ac_ext <<_ACEOF
38721.72Sapb#line 3872 "configure"
38731.66Stsutsui#include "confdefs.h"
38741.9Stv$ac_includes_default
38751.9Stvint
38761.9Stvmain ()
38771.9Stv{
38781.66Stsutsuiif ((u_int64_t *) 0)
38791.9Stv  return 0;
38801.66Stsutsuiif (sizeof (u_int64_t))
38811.9Stv  return 0;
38821.9Stv  ;
38831.9Stv  return 0;
38841.9Stv}
38851.9Stv_ACEOF
38861.9Stvrm -f conftest.$ac_objext
38871.72Sapbif { (eval echo "$as_me:3887: \"$ac_compile\"") >&5
38881.66Stsutsui  (eval $ac_compile) 2>&5
38891.66Stsutsui  ac_status=$?
38901.72Sapb  echo "$as_me:3890: \$? = $ac_status" >&5
38911.66Stsutsui  (exit $ac_status); } &&
38921.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
38931.72Sapb  { (eval echo "$as_me:3893: \"$ac_try\"") >&5
38941.66Stsutsui  (eval $ac_try) 2>&5
38951.9Stv  ac_status=$?
38961.72Sapb  echo "$as_me:3896: \$? = $ac_status" >&5
38971.66Stsutsui  (exit $ac_status); }; }; then
38981.9Stv  ac_cv_type_u_int64_t=yes
38991.9Stvelse
39001.9Stv  echo "$as_me: failed program was:" >&5
39011.66Stsutsuicat conftest.$ac_ext >&5
39021.66Stsutsuiac_cv_type_u_int64_t=no
39031.9Stvfi
39041.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
39051.9Stvfi
39061.72Sapbecho "$as_me:3906: result: $ac_cv_type_u_int64_t" >&5
39071.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39081.9Stvif test $ac_cv_type_u_int64_t = yes; then
39091.54Swiz
39101.66Stsutsuicat >>confdefs.h <<\EOF
39111.9Stv#define uint64_t u_int64_t
39121.66StsutsuiEOF
39131.9Stv
39141.9Stvelse
39151.72Sapb  { { echo "$as_me:3915: error: cannot find a suitable type for uint64_t" >&5
39161.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
39171.9Stv   { (exit 1); exit 1; }; }
39181.9Stvfi
39191.9Stv
39201.9Stvfi
39211.9Stv
39221.72Sapb	echo "$as_me:3922: checking for u_int64_t" >&5
39231.66Stsutsuiecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
39241.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
39251.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39261.1Stvelse
39271.1Stv  cat >conftest.$ac_ext <<_ACEOF
39281.72Sapb#line 3928 "configure"
39291.66Stsutsui#include "confdefs.h"
39301.1Stv$ac_includes_default
39311.1Stvint
39321.1Stvmain ()
39331.1Stv{
39341.66Stsutsuiif ((u_int64_t *) 0)
39351.1Stv  return 0;
39361.66Stsutsuiif (sizeof (u_int64_t))
39371.1Stv  return 0;
39381.1Stv  ;
39391.1Stv  return 0;
39401.1Stv}
39411.1Stv_ACEOF
39421.1Stvrm -f conftest.$ac_objext
39431.72Sapbif { (eval echo "$as_me:3943: \"$ac_compile\"") >&5
39441.66Stsutsui  (eval $ac_compile) 2>&5
39451.66Stsutsui  ac_status=$?
39461.72Sapb  echo "$as_me:3946: \$? = $ac_status" >&5
39471.66Stsutsui  (exit $ac_status); } &&
39481.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
39491.72Sapb  { (eval echo "$as_me:3949: \"$ac_try\"") >&5
39501.66Stsutsui  (eval $ac_try) 2>&5
39511.1Stv  ac_status=$?
39521.72Sapb  echo "$as_me:3952: \$? = $ac_status" >&5
39531.66Stsutsui  (exit $ac_status); }; }; then
39541.6Stv  ac_cv_type_u_int64_t=yes
39551.1Stvelse
39561.1Stv  echo "$as_me: failed program was:" >&5
39571.66Stsutsuicat conftest.$ac_ext >&5
39581.66Stsutsuiac_cv_type_u_int64_t=no
39591.1Stvfi
39601.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
39611.1Stvfi
39621.72Sapbecho "$as_me:3962: result: $ac_cv_type_u_int64_t" >&5
39631.66Stsutsuiecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39641.6Stvif test $ac_cv_type_u_int64_t = yes; then
39651.1Stv  :
39661.1Stvelse
39671.1Stv
39681.72Sapb		echo "$as_me:3968: checking for uint64_t" >&5
39691.66Stsutsuiecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
39701.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
39711.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39721.1Stvelse
39731.1Stv  cat >conftest.$ac_ext <<_ACEOF
39741.72Sapb#line 3974 "configure"
39751.66Stsutsui#include "confdefs.h"
39761.4Stv$ac_includes_default
39771.4Stvint
39781.4Stvmain ()
39791.4Stv{
39801.66Stsutsuiif ((uint64_t *) 0)
39811.4Stv  return 0;
39821.66Stsutsuiif (sizeof (uint64_t))
39831.4Stv  return 0;
39841.4Stv  ;
39851.4Stv  return 0;
39861.4Stv}
39871.1Stv_ACEOF
39881.4Stvrm -f conftest.$ac_objext
39891.72Sapbif { (eval echo "$as_me:3989: \"$ac_compile\"") >&5
39901.66Stsutsui  (eval $ac_compile) 2>&5
39911.66Stsutsui  ac_status=$?
39921.72Sapb  echo "$as_me:3992: \$? = $ac_status" >&5
39931.66Stsutsui  (exit $ac_status); } &&
39941.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
39951.72Sapb  { (eval echo "$as_me:3995: \"$ac_try\"") >&5
39961.66Stsutsui  (eval $ac_try) 2>&5
39971.4Stv  ac_status=$?
39981.72Sapb  echo "$as_me:3998: \$? = $ac_status" >&5
39991.66Stsutsui  (exit $ac_status); }; }; then
40001.6Stv  ac_cv_type_uint64_t=yes
40011.4Stvelse
40021.4Stv  echo "$as_me: failed program was:" >&5
40031.66Stsutsuicat conftest.$ac_ext >&5
40041.66Stsutsuiac_cv_type_uint64_t=no
40051.4Stvfi
40061.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
40071.4Stvfi
40081.72Sapbecho "$as_me:4008: result: $ac_cv_type_uint64_t" >&5
40091.66Stsutsuiecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
40101.6Stvif test $ac_cv_type_uint64_t = yes; then
40111.54Swiz
40121.66Stsutsuicat >>confdefs.h <<\EOF
40131.6Stv#define u_int64_t uint64_t
40141.66StsutsuiEOF
40151.4Stv
40161.6Stvelse
40171.72Sapb  { { echo "$as_me:4017: error: cannot find a suitable type for u_int64_t" >&5
40181.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
40191.6Stv   { (exit 1); exit 1; }; }
40201.6Stvfi
40211.4Stv
40221.4Stvfi
40231.4Stv
40241.4Stv# Struct members.
40251.72Sapbecho "$as_me:4025: checking for DIR.dd_fd" >&5
40261.66Stsutsuiecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
40271.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
40281.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40291.7Stvelse
40301.7Stv  cat >conftest.$ac_ext <<_ACEOF
40311.72Sapb#line 4031 "configure"
40321.66Stsutsui#include "confdefs.h"
40331.32Sthorpej#include <sys/types.h>
40341.7Stv#include <dirent.h>
40351.7Stv
40361.7Stvint
40371.7Stvmain ()
40381.7Stv{
40391.7Stvstatic DIR ac_aggr;
40401.7Stvif (ac_aggr.dd_fd)
40411.7Stvreturn 0;
40421.7Stv  ;
40431.7Stv  return 0;
40441.7Stv}
40451.7Stv_ACEOF
40461.7Stvrm -f conftest.$ac_objext
40471.72Sapbif { (eval echo "$as_me:4047: \"$ac_compile\"") >&5
40481.66Stsutsui  (eval $ac_compile) 2>&5
40491.53Sdogcow  ac_status=$?
40501.72Sapb  echo "$as_me:4050: \$? = $ac_status" >&5
40511.66Stsutsui  (exit $ac_status); } &&
40521.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
40531.72Sapb  { (eval echo "$as_me:4053: \"$ac_try\"") >&5
40541.66Stsutsui  (eval $ac_try) 2>&5
40551.61Schristos  ac_status=$?
40561.72Sapb  echo "$as_me:4056: \$? = $ac_status" >&5
40571.66Stsutsui  (exit $ac_status); }; }; then
40581.53Sdogcow  ac_cv_member_DIR_dd_fd=yes
40591.53Sdogcowelse
40601.53Sdogcow  echo "$as_me: failed program was:" >&5
40611.66Stsutsuicat conftest.$ac_ext >&5
40621.66Stsutsuiac_cv_member_DIR_dd_fd=no
40631.65Schristosfi
40641.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
40651.61Schristosfi
40661.72Sapbecho "$as_me:4066: result: $ac_cv_member_DIR_dd_fd" >&5
40671.66Stsutsuiecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40681.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then
40691.48Sjmc
40701.66Stsutsuicat >>confdefs.h <<EOF
40711.48Sjmc#define HAVE_DIR_DD_FD 1
40721.66StsutsuiEOF
40731.48Sjmc
40741.48Sjmcfi
40751.72Sapbecho "$as_me:4075: checking for DIR.__dd_fd" >&5
40761.66Stsutsuiecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
40771.59Sthorpejif test "${ac_cv_member_DIR___dd_fd+set}" = set; then
40781.59Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
40791.59Sthorpejelse
40801.59Sthorpej  cat >conftest.$ac_ext <<_ACEOF
40811.72Sapb#line 4081 "configure"
40821.66Stsutsui#include "confdefs.h"
40831.59Sthorpej#include <sys/types.h>
40841.59Sthorpej#include <dirent.h>
40851.59Sthorpej
40861.59Sthorpejint
40871.59Sthorpejmain ()
40881.59Sthorpej{
40891.59Sthorpejstatic DIR ac_aggr;
40901.59Sthorpejif (ac_aggr.__dd_fd)
40911.59Sthorpejreturn 0;
40921.59Sthorpej  ;
40931.59Sthorpej  return 0;
40941.59Sthorpej}
40951.59Sthorpej_ACEOF
40961.59Sthorpejrm -f conftest.$ac_objext
40971.72Sapbif { (eval echo "$as_me:4097: \"$ac_compile\"") >&5
40981.66Stsutsui  (eval $ac_compile) 2>&5
40991.61Schristos  ac_status=$?
41001.72Sapb  echo "$as_me:4100: \$? = $ac_status" >&5
41011.66Stsutsui  (exit $ac_status); } &&
41021.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
41031.72Sapb  { (eval echo "$as_me:4103: \"$ac_try\"") >&5
41041.66Stsutsui  (eval $ac_try) 2>&5
41051.61Schristos  ac_status=$?
41061.72Sapb  echo "$as_me:4106: \$? = $ac_status" >&5
41071.66Stsutsui  (exit $ac_status); }; }; then
41081.61Schristos  ac_cv_member_DIR___dd_fd=yes
41091.61Schristoselse
41101.61Schristos  echo "$as_me: failed program was:" >&5
41111.66Stsutsuicat conftest.$ac_ext >&5
41121.66Stsutsuiac_cv_member_DIR___dd_fd=no
41131.65Schristosfi
41141.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
41151.63Sapbfi
41161.72Sapbecho "$as_me:4116: result: $ac_cv_member_DIR___dd_fd" >&5
41171.66Stsutsuiecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
41181.63Sapbif test $ac_cv_member_DIR___dd_fd = yes; then
41191.63Sapb
41201.66Stsutsuicat >>confdefs.h <<EOF
41211.63Sapb#define HAVE_DIR___DD_FD 1
41221.66StsutsuiEOF
41231.61Schristos
41241.63Sapbfi
41251.72Sapbecho "$as_me:4125: checking for struct dirent.d_namlen" >&5
41261.66Stsutsuiecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
41271.63Sapbif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
41281.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
41291.63Sapbelse
41301.63Sapb  cat >conftest.$ac_ext <<_ACEOF
41311.72Sapb#line 4131 "configure"
41321.66Stsutsui#include "confdefs.h"
41331.65Schristos#include <sys/types.h>
41341.65Schristos#include <dirent.h>
41351.65Schristos
41361.65Schristosint
41371.65Schristosmain ()
41381.65Schristos{
41391.66Stsutsuistatic struct dirent ac_aggr;
41401.66Stsutsuiif (ac_aggr.d_namlen)
41411.65Schristosreturn 0;
41421.65Schristos  ;
41431.65Schristos  return 0;
41441.65Schristos}
41451.65Schristos_ACEOF
41461.65Schristosrm -f conftest.$ac_objext
41471.72Sapbif { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
41481.66Stsutsui  (eval $ac_compile) 2>&5
41491.66Stsutsui  ac_status=$?
41501.72Sapb  echo "$as_me:4150: \$? = $ac_status" >&5
41511.66Stsutsui  (exit $ac_status); } &&
41521.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
41531.72Sapb  { (eval echo "$as_me:4153: \"$ac_try\"") >&5
41541.66Stsutsui  (eval $ac_try) 2>&5
41551.65Schristos  ac_status=$?
41561.72Sapb  echo "$as_me:4156: \$? = $ac_status" >&5
41571.66Stsutsui  (exit $ac_status); }; }; then
41581.66Stsutsui  ac_cv_member_struct_dirent_d_namlen=yes
41591.65Schristoselse
41601.65Schristos  echo "$as_me: failed program was:" >&5
41611.66Stsutsuicat conftest.$ac_ext >&5
41621.66Stsutsuiac_cv_member_struct_dirent_d_namlen=no
41631.66Stsutsuifi
41641.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
41651.65Schristosfi
41661.72Sapbecho "$as_me:4166: result: $ac_cv_member_struct_dirent_d_namlen" >&5
41671.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
41681.66Stsutsuiif test $ac_cv_member_struct_dirent_d_namlen = yes; then
41691.65Schristos
41701.66Stsutsuicat >>confdefs.h <<EOF
41711.66Stsutsui#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41721.66StsutsuiEOF
41731.65Schristos
41741.65Schristosfi
41751.65Schristos
41761.72Sapbecho "$as_me:4176: checking for struct stat.st_flags" >&5
41771.66Stsutsuiecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
41781.66Stsutsuiif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
41791.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
41801.65Schristoselse
41811.65Schristos  cat >conftest.$ac_ext <<_ACEOF
41821.72Sapb#line 4182 "configure"
41831.66Stsutsui#include "confdefs.h"
41841.65Schristos#include <sys/stat.h>
41851.65Schristos
41861.65Schristosint
41871.65Schristosmain ()
41881.65Schristos{
41891.65Schristosstatic struct stat ac_aggr;
41901.66Stsutsuiif (ac_aggr.st_flags)
41911.65Schristosreturn 0;
41921.65Schristos  ;
41931.65Schristos  return 0;
41941.65Schristos}
41951.65Schristos_ACEOF
41961.65Schristosrm -f conftest.$ac_objext
41971.72Sapbif { (eval echo "$as_me:4197: \"$ac_compile\"") >&5
41981.66Stsutsui  (eval $ac_compile) 2>&5
41991.66Stsutsui  ac_status=$?
42001.72Sapb  echo "$as_me:4200: \$? = $ac_status" >&5
42011.66Stsutsui  (exit $ac_status); } &&
42021.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
42031.72Sapb  { (eval echo "$as_me:4203: \"$ac_try\"") >&5
42041.66Stsutsui  (eval $ac_try) 2>&5
42051.65Schristos  ac_status=$?
42061.72Sapb  echo "$as_me:4206: \$? = $ac_status" >&5
42071.66Stsutsui  (exit $ac_status); }; }; then
42081.66Stsutsui  ac_cv_member_struct_stat_st_flags=yes
42091.65Schristoselse
42101.65Schristos  echo "$as_me: failed program was:" >&5
42111.66Stsutsuicat conftest.$ac_ext >&5
42121.66Stsutsuiac_cv_member_struct_stat_st_flags=no
42131.66Stsutsuifi
42141.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
42151.66Stsutsuifi
42161.72Sapbecho "$as_me:4216: result: $ac_cv_member_struct_stat_st_flags" >&5
42171.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
42181.66Stsutsuiif test $ac_cv_member_struct_stat_st_flags = yes; then
42191.66Stsutsui
42201.66Stsutsuicat >>confdefs.h <<EOF
42211.66Stsutsui#define HAVE_STRUCT_STAT_ST_FLAGS 1
42221.66StsutsuiEOF
42231.65Schristos
42241.66Stsutsuifi
42251.72Sapbecho "$as_me:4225: checking for struct stat.st_gen" >&5
42261.66Stsutsuiecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
42271.66Stsutsuiif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
42281.66Stsutsui  echo $ECHO_N "(cached) $ECHO_C" >&6
42291.66Stsutsuielse
42301.66Stsutsui  cat >conftest.$ac_ext <<_ACEOF
42311.72Sapb#line 4231 "configure"
42321.66Stsutsui#include "confdefs.h"
42331.65Schristos#include <sys/stat.h>
42341.65Schristos
42351.65Schristosint
42361.65Schristosmain ()
42371.65Schristos{
42381.65Schristosstatic struct stat ac_aggr;
42391.66Stsutsuiif (ac_aggr.st_gen)
42401.65Schristosreturn 0;
42411.65Schristos  ;
42421.65Schristos  return 0;
42431.65Schristos}
42441.65Schristos_ACEOF
42451.65Schristosrm -f conftest.$ac_objext
42461.72Sapbif { (eval echo "$as_me:4246: \"$ac_compile\"") >&5
42471.66Stsutsui  (eval $ac_compile) 2>&5
42481.66Stsutsui  ac_status=$?
42491.72Sapb  echo "$as_me:4249: \$? = $ac_status" >&5
42501.66Stsutsui  (exit $ac_status); } &&
42511.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
42521.72Sapb  { (eval echo "$as_me:4252: \"$ac_try\"") >&5
42531.66Stsutsui  (eval $ac_try) 2>&5
42541.65Schristos  ac_status=$?
42551.72Sapb  echo "$as_me:4255: \$? = $ac_status" >&5
42561.66Stsutsui  (exit $ac_status); }; }; then
42571.65Schristos  ac_cv_member_struct_stat_st_gen=yes
42581.65Schristoselse
42591.65Schristos  echo "$as_me: failed program was:" >&5
42601.66Stsutsuicat conftest.$ac_ext >&5
42611.66Stsutsuiac_cv_member_struct_stat_st_gen=no
42621.65Schristosfi
42631.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
42641.65Schristosfi
42651.72Sapbecho "$as_me:4265: result: $ac_cv_member_struct_stat_st_gen" >&5
42661.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42671.65Schristosif test $ac_cv_member_struct_stat_st_gen = yes; then
42681.65Schristos
42691.66Stsutsuicat >>confdefs.h <<EOF
42701.65Schristos#define HAVE_STRUCT_STAT_ST_GEN 1
42711.66StsutsuiEOF
42721.65Schristos
42731.65Schristosfi
42741.72Sapbecho "$as_me:4274: checking for struct stat.st_birthtime" >&5
42751.66Stsutsuiecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42761.65Schristosif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42771.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
42781.65Schristoselse
42791.65Schristos  cat >conftest.$ac_ext <<_ACEOF
42801.72Sapb#line 4280 "configure"
42811.66Stsutsui#include "confdefs.h"
42821.65Schristos#include <sys/stat.h>
42831.65Schristos
42841.65Schristosint
42851.65Schristosmain ()
42861.65Schristos{
42871.65Schristosstatic struct stat ac_aggr;
42881.65Schristosif (ac_aggr.st_birthtime)
42891.65Schristosreturn 0;
42901.65Schristos  ;
42911.65Schristos  return 0;
42921.65Schristos}
42931.65Schristos_ACEOF
42941.65Schristosrm -f conftest.$ac_objext
42951.72Sapbif { (eval echo "$as_me:4295: \"$ac_compile\"") >&5
42961.66Stsutsui  (eval $ac_compile) 2>&5
42971.65Schristos  ac_status=$?
42981.72Sapb  echo "$as_me:4298: \$? = $ac_status" >&5
42991.66Stsutsui  (exit $ac_status); } &&
43001.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
43011.72Sapb  { (eval echo "$as_me:4301: \"$ac_try\"") >&5
43021.66Stsutsui  (eval $ac_try) 2>&5
43031.65Schristos  ac_status=$?
43041.72Sapb  echo "$as_me:4304: \$? = $ac_status" >&5
43051.66Stsutsui  (exit $ac_status); }; }; then
43061.65Schristos  ac_cv_member_struct_stat_st_birthtime=yes
43071.65Schristoselse
43081.65Schristos  echo "$as_me: failed program was:" >&5
43091.66Stsutsuicat conftest.$ac_ext >&5
43101.66Stsutsuiac_cv_member_struct_stat_st_birthtime=no
43111.65Schristosfi
43121.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
43131.65Schristosfi
43141.72Sapbecho "$as_me:4314: result: $ac_cv_member_struct_stat_st_birthtime" >&5
43151.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
43161.65Schristosif test $ac_cv_member_struct_stat_st_birthtime = yes; then
43171.65Schristos
43181.66Stsutsuicat >>confdefs.h <<EOF
43191.65Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
43201.66StsutsuiEOF
43211.65Schristos
43221.65Schristosfi
43231.72Sapbecho "$as_me:4323: checking for struct stat.st_birthtimensec" >&5
43241.66Stsutsuiecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
43251.65Schristosif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
43261.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
43271.65Schristoselse
43281.65Schristos  cat >conftest.$ac_ext <<_ACEOF
43291.72Sapb#line 4329 "configure"
43301.66Stsutsui#include "confdefs.h"
43311.65Schristos#include <sys/stat.h>
43321.65Schristos
43331.65Schristosint
43341.65Schristosmain ()
43351.65Schristos{
43361.65Schristosstatic struct stat ac_aggr;
43371.65Schristosif (ac_aggr.st_birthtimensec)
43381.65Schristosreturn 0;
43391.65Schristos  ;
43401.65Schristos  return 0;
43411.65Schristos}
43421.65Schristos_ACEOF
43431.65Schristosrm -f conftest.$ac_objext
43441.72Sapbif { (eval echo "$as_me:4344: \"$ac_compile\"") >&5
43451.66Stsutsui  (eval $ac_compile) 2>&5
43461.65Schristos  ac_status=$?
43471.72Sapb  echo "$as_me:4347: \$? = $ac_status" >&5
43481.66Stsutsui  (exit $ac_status); } &&
43491.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
43501.72Sapb  { (eval echo "$as_me:4350: \"$ac_try\"") >&5
43511.66Stsutsui  (eval $ac_try) 2>&5
43521.65Schristos  ac_status=$?
43531.72Sapb  echo "$as_me:4353: \$? = $ac_status" >&5
43541.66Stsutsui  (exit $ac_status); }; }; then
43551.65Schristos  ac_cv_member_struct_stat_st_birthtimensec=yes
43561.65Schristoselse
43571.65Schristos  echo "$as_me: failed program was:" >&5
43581.66Stsutsuicat conftest.$ac_ext >&5
43591.66Stsutsuiac_cv_member_struct_stat_st_birthtimensec=no
43601.65Schristosfi
43611.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
43621.65Schristosfi
43631.72Sapbecho "$as_me:4363: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
43641.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
43651.65Schristosif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
43661.65Schristos
43671.66Stsutsuicat >>confdefs.h <<EOF
43681.65Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
43691.66StsutsuiEOF
43701.65Schristos
43711.65Schristosfi
43721.72Sapbecho "$as_me:4372: checking for struct stat.st_atim" >&5
43731.66Stsutsuiecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
43741.65Schristosif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
43751.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
43761.65Schristoselse
43771.65Schristos  cat >conftest.$ac_ext <<_ACEOF
43781.72Sapb#line 4378 "configure"
43791.66Stsutsui#include "confdefs.h"
43801.65Schristos#include <sys/stat.h>
43811.65Schristos
43821.65Schristosint
43831.65Schristosmain ()
43841.65Schristos{
43851.65Schristosstatic struct stat ac_aggr;
43861.65Schristosif (ac_aggr.st_atim)
43871.65Schristosreturn 0;
43881.65Schristos  ;
43891.65Schristos  return 0;
43901.65Schristos}
43911.65Schristos_ACEOF
43921.65Schristosrm -f conftest.$ac_objext
43931.72Sapbif { (eval echo "$as_me:4393: \"$ac_compile\"") >&5
43941.66Stsutsui  (eval $ac_compile) 2>&5
43951.65Schristos  ac_status=$?
43961.72Sapb  echo "$as_me:4396: \$? = $ac_status" >&5
43971.66Stsutsui  (exit $ac_status); } &&
43981.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
43991.72Sapb  { (eval echo "$as_me:4399: \"$ac_try\"") >&5
44001.66Stsutsui  (eval $ac_try) 2>&5
44011.65Schristos  ac_status=$?
44021.72Sapb  echo "$as_me:4402: \$? = $ac_status" >&5
44031.66Stsutsui  (exit $ac_status); }; }; then
44041.65Schristos  ac_cv_member_struct_stat_st_atim=yes
44051.65Schristoselse
44061.65Schristos  echo "$as_me: failed program was:" >&5
44071.66Stsutsuicat conftest.$ac_ext >&5
44081.66Stsutsuiac_cv_member_struct_stat_st_atim=no
44091.65Schristosfi
44101.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
44111.65Schristosfi
44121.72Sapbecho "$as_me:4412: result: $ac_cv_member_struct_stat_st_atim" >&5
44131.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
44141.65Schristosif test $ac_cv_member_struct_stat_st_atim = yes; then
44151.65Schristos
44161.66Stsutsuicat >>confdefs.h <<EOF
44171.65Schristos#define HAVE_STRUCT_STAT_ST_ATIM 1
44181.66StsutsuiEOF
44191.65Schristos
44201.65Schristosfi
44211.72Sapbecho "$as_me:4421: checking for struct stat.st_mtimensec" >&5
44221.66Stsutsuiecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
44231.65Schristosif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
44241.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
44251.65Schristoselse
44261.65Schristos  cat >conftest.$ac_ext <<_ACEOF
44271.72Sapb#line 4427 "configure"
44281.66Stsutsui#include "confdefs.h"
44291.65Schristos#include <sys/stat.h>
44301.65Schristos
44311.65Schristosint
44321.65Schristosmain ()
44331.65Schristos{
44341.65Schristosstatic struct stat ac_aggr;
44351.65Schristosif (ac_aggr.st_mtimensec)
44361.65Schristosreturn 0;
44371.65Schristos  ;
44381.65Schristos  return 0;
44391.65Schristos}
44401.65Schristos_ACEOF
44411.65Schristosrm -f conftest.$ac_objext
44421.72Sapbif { (eval echo "$as_me:4442: \"$ac_compile\"") >&5
44431.66Stsutsui  (eval $ac_compile) 2>&5
44441.65Schristos  ac_status=$?
44451.72Sapb  echo "$as_me:4445: \$? = $ac_status" >&5
44461.66Stsutsui  (exit $ac_status); } &&
44471.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
44481.72Sapb  { (eval echo "$as_me:4448: \"$ac_try\"") >&5
44491.66Stsutsui  (eval $ac_try) 2>&5
44501.65Schristos  ac_status=$?
44511.72Sapb  echo "$as_me:4451: \$? = $ac_status" >&5
44521.66Stsutsui  (exit $ac_status); }; }; then
44531.65Schristos  ac_cv_member_struct_stat_st_mtimensec=yes
44541.65Schristoselse
44551.65Schristos  echo "$as_me: failed program was:" >&5
44561.66Stsutsuicat conftest.$ac_ext >&5
44571.66Stsutsuiac_cv_member_struct_stat_st_mtimensec=no
44581.65Schristosfi
44591.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
44601.65Schristosfi
44611.72Sapbecho "$as_me:4461: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
44621.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
44631.65Schristosif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
44641.65Schristos
44651.66Stsutsuicat >>confdefs.h <<EOF
44661.65Schristos#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
44671.66StsutsuiEOF
44681.65Schristos
44691.65Schristosfi
44701.65Schristos
44711.72Sapbecho "$as_me:4471: checking for struct statvfs.f_iosize" >&5
44721.66Stsutsuiecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
44731.65Schristosif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
44741.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
44751.65Schristoselse
44761.65Schristos  cat >conftest.$ac_ext <<_ACEOF
44771.72Sapb#line 4477 "configure"
44781.66Stsutsui#include "confdefs.h"
44791.65Schristos#include <sys/statvfs.h>
44801.65Schristos
44811.65Schristosint
44821.65Schristosmain ()
44831.65Schristos{
44841.65Schristosstatic struct statvfs ac_aggr;
44851.65Schristosif (ac_aggr.f_iosize)
44861.65Schristosreturn 0;
44871.65Schristos  ;
44881.65Schristos  return 0;
44891.65Schristos}
44901.65Schristos_ACEOF
44911.65Schristosrm -f conftest.$ac_objext
44921.72Sapbif { (eval echo "$as_me:4492: \"$ac_compile\"") >&5
44931.66Stsutsui  (eval $ac_compile) 2>&5
44941.65Schristos  ac_status=$?
44951.72Sapb  echo "$as_me:4495: \$? = $ac_status" >&5
44961.66Stsutsui  (exit $ac_status); } &&
44971.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
44981.72Sapb  { (eval echo "$as_me:4498: \"$ac_try\"") >&5
44991.66Stsutsui  (eval $ac_try) 2>&5
45001.65Schristos  ac_status=$?
45011.72Sapb  echo "$as_me:4501: \$? = $ac_status" >&5
45021.66Stsutsui  (exit $ac_status); }; }; then
45031.65Schristos  ac_cv_member_struct_statvfs_f_iosize=yes
45041.65Schristoselse
45051.65Schristos  echo "$as_me: failed program was:" >&5
45061.66Stsutsuicat conftest.$ac_ext >&5
45071.66Stsutsuiac_cv_member_struct_statvfs_f_iosize=no
45081.65Schristosfi
45091.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
45101.65Schristosfi
45111.72Sapbecho "$as_me:4511: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
45121.66Stsutsuiecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
45131.65Schristosif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
45141.65Schristos
45151.66Stsutsuicat >>confdefs.h <<EOF
45161.65Schristos#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
45171.66StsutsuiEOF
45181.65Schristos
45191.65Schristosfi
45201.65Schristos
45211.65Schristos# Global variable decls.
45221.72Sapbecho "$as_me:4522: checking whether optind is declared" >&5
45231.66Stsutsuiecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
45241.65Schristosif test "${ac_cv_have_decl_optind+set}" = set; then
45251.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
45261.65Schristoselse
45271.65Schristos  cat >conftest.$ac_ext <<_ACEOF
45281.72Sapb#line 4528 "configure"
45291.66Stsutsui#include "confdefs.h"
45301.65Schristos
45311.65Schristos#include <stdio.h>
45321.65Schristos#include <stdlib.h>
45331.65Schristos#include <unistd.h>
45341.65Schristos
45351.65Schristosint
45361.65Schristosmain ()
45371.65Schristos{
45381.65Schristos#ifndef optind
45391.66Stsutsui  char *p = (char *) optind;
45401.65Schristos#endif
45411.65Schristos
45421.65Schristos  ;
45431.65Schristos  return 0;
45441.65Schristos}
45451.65Schristos_ACEOF
45461.65Schristosrm -f conftest.$ac_objext
45471.72Sapbif { (eval echo "$as_me:4547: \"$ac_compile\"") >&5
45481.66Stsutsui  (eval $ac_compile) 2>&5
45491.66Stsutsui  ac_status=$?
45501.72Sapb  echo "$as_me:4550: \$? = $ac_status" >&5
45511.66Stsutsui  (exit $ac_status); } &&
45521.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
45531.72Sapb  { (eval echo "$as_me:4553: \"$ac_try\"") >&5
45541.66Stsutsui  (eval $ac_try) 2>&5
45551.65Schristos  ac_status=$?
45561.72Sapb  echo "$as_me:4556: \$? = $ac_status" >&5
45571.66Stsutsui  (exit $ac_status); }; }; then
45581.65Schristos  ac_cv_have_decl_optind=yes
45591.65Schristoselse
45601.65Schristos  echo "$as_me: failed program was:" >&5
45611.66Stsutsuicat conftest.$ac_ext >&5
45621.66Stsutsuiac_cv_have_decl_optind=no
45631.65Schristosfi
45641.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
45651.65Schristosfi
45661.72Sapbecho "$as_me:4566: result: $ac_cv_have_decl_optind" >&5
45671.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
45681.65Schristosif test $ac_cv_have_decl_optind = yes; then
45691.65Schristos
45701.66Stsutsuicat >>confdefs.h <<EOF
45711.65Schristos#define HAVE_DECL_OPTIND 1
45721.66StsutsuiEOF
45731.65Schristos
45741.65Schristoselse
45751.66Stsutsui  cat >>confdefs.h <<EOF
45761.65Schristos#define HAVE_DECL_OPTIND 0
45771.66StsutsuiEOF
45781.65Schristos
45791.65Schristosfi
45801.72Sapbecho "$as_me:4580: checking whether optreset is declared" >&5
45811.66Stsutsuiecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
45821.65Schristosif test "${ac_cv_have_decl_optreset+set}" = set; then
45831.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
45841.65Schristoselse
45851.65Schristos  cat >conftest.$ac_ext <<_ACEOF
45861.72Sapb#line 4586 "configure"
45871.66Stsutsui#include "confdefs.h"
45881.65Schristos
45891.65Schristos#include <stdio.h>
45901.65Schristos#include <stdlib.h>
45911.65Schristos#include <unistd.h>
45921.65Schristos
45931.65Schristosint
45941.65Schristosmain ()
45951.65Schristos{
45961.65Schristos#ifndef optreset
45971.66Stsutsui  char *p = (char *) optreset;
45981.65Schristos#endif
45991.65Schristos
46001.65Schristos  ;
46011.65Schristos  return 0;
46021.65Schristos}
46031.65Schristos_ACEOF
46041.65Schristosrm -f conftest.$ac_objext
46051.72Sapbif { (eval echo "$as_me:4605: \"$ac_compile\"") >&5
46061.66Stsutsui  (eval $ac_compile) 2>&5
46071.66Stsutsui  ac_status=$?
46081.72Sapb  echo "$as_me:4608: \$? = $ac_status" >&5
46091.66Stsutsui  (exit $ac_status); } &&
46101.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
46111.72Sapb  { (eval echo "$as_me:4611: \"$ac_try\"") >&5
46121.66Stsutsui  (eval $ac_try) 2>&5
46131.65Schristos  ac_status=$?
46141.72Sapb  echo "$as_me:4614: \$? = $ac_status" >&5
46151.66Stsutsui  (exit $ac_status); }; }; then
46161.65Schristos  ac_cv_have_decl_optreset=yes
46171.65Schristoselse
46181.65Schristos  echo "$as_me: failed program was:" >&5
46191.66Stsutsuicat conftest.$ac_ext >&5
46201.66Stsutsuiac_cv_have_decl_optreset=no
46211.65Schristosfi
46221.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
46231.65Schristosfi
46241.72Sapbecho "$as_me:4624: result: $ac_cv_have_decl_optreset" >&5
46251.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
46261.65Schristosif test $ac_cv_have_decl_optreset = yes; then
46271.65Schristos
46281.66Stsutsuicat >>confdefs.h <<EOF
46291.65Schristos#define HAVE_DECL_OPTRESET 1
46301.66StsutsuiEOF
46311.65Schristos
46321.65Schristoselse
46331.66Stsutsui  cat >>confdefs.h <<EOF
46341.65Schristos#define HAVE_DECL_OPTRESET 0
46351.66StsutsuiEOF
46361.65Schristos
46371.65Schristosfi
46381.65Schristos
46391.72Sapbecho "$as_me:4639: checking whether sys_signame is declared" >&5
46401.66Stsutsuiecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
46411.65Schristosif test "${ac_cv_have_decl_sys_signame+set}" = set; then
46421.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
46431.65Schristoselse
46441.65Schristos  cat >conftest.$ac_ext <<_ACEOF
46451.72Sapb#line 4645 "configure"
46461.66Stsutsui#include "confdefs.h"
46471.65Schristos#include <signal.h>
46481.65Schristos
46491.65Schristosint
46501.65Schristosmain ()
46511.65Schristos{
46521.65Schristos#ifndef sys_signame
46531.66Stsutsui  char *p = (char *) sys_signame;
46541.65Schristos#endif
46551.65Schristos
46561.65Schristos  ;
46571.65Schristos  return 0;
46581.65Schristos}
46591.65Schristos_ACEOF
46601.65Schristosrm -f conftest.$ac_objext
46611.72Sapbif { (eval echo "$as_me:4661: \"$ac_compile\"") >&5
46621.66Stsutsui  (eval $ac_compile) 2>&5
46631.66Stsutsui  ac_status=$?
46641.72Sapb  echo "$as_me:4664: \$? = $ac_status" >&5
46651.66Stsutsui  (exit $ac_status); } &&
46661.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
46671.72Sapb  { (eval echo "$as_me:4667: \"$ac_try\"") >&5
46681.66Stsutsui  (eval $ac_try) 2>&5
46691.65Schristos  ac_status=$?
46701.72Sapb  echo "$as_me:4670: \$? = $ac_status" >&5
46711.66Stsutsui  (exit $ac_status); }; }; then
46721.65Schristos  ac_cv_have_decl_sys_signame=yes
46731.65Schristoselse
46741.65Schristos  echo "$as_me: failed program was:" >&5
46751.66Stsutsuicat conftest.$ac_ext >&5
46761.66Stsutsuiac_cv_have_decl_sys_signame=no
46771.65Schristosfi
46781.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
46791.65Schristosfi
46801.72Sapbecho "$as_me:4680: result: $ac_cv_have_decl_sys_signame" >&5
46811.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
46821.65Schristosif test $ac_cv_have_decl_sys_signame = yes; then
46831.65Schristos
46841.66Stsutsuicat >>confdefs.h <<EOF
46851.65Schristos#define HAVE_DECL_SYS_SIGNAME 1
46861.66StsutsuiEOF
46871.65Schristos
46881.65Schristoselse
46891.66Stsutsui  cat >>confdefs.h <<EOF
46901.65Schristos#define HAVE_DECL_SYS_SIGNAME 0
46911.66StsutsuiEOF
46921.65Schristos
46931.65Schristosfi
46941.65Schristos
46951.65Schristos# Library functions (where a .h check isn't enough).
46961.65Schristos# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
46971.65Schristos# for constant arguments.  Useless!
46981.72Sapbecho "$as_me:4698: checking for working alloca.h" >&5
46991.66Stsutsuiecho $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
47001.65Schristosif test "${ac_cv_working_alloca_h+set}" = set; then
47011.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
47021.65Schristoselse
47031.65Schristos  cat >conftest.$ac_ext <<_ACEOF
47041.72Sapb#line 4704 "configure"
47051.66Stsutsui#include "confdefs.h"
47061.65Schristos#include <alloca.h>
47071.65Schristosint
47081.65Schristosmain ()
47091.65Schristos{
47101.65Schristoschar *p = (char *) alloca (2 * sizeof (int));
47111.65Schristos  ;
47121.65Schristos  return 0;
47131.65Schristos}
47141.65Schristos_ACEOF
47151.65Schristosrm -f conftest.$ac_objext conftest$ac_exeext
47161.72Sapbif { (eval echo "$as_me:4716: \"$ac_link\"") >&5
47171.66Stsutsui  (eval $ac_link) 2>&5
47181.66Stsutsui  ac_status=$?
47191.72Sapb  echo "$as_me:4719: \$? = $ac_status" >&5
47201.66Stsutsui  (exit $ac_status); } &&
47211.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
47221.72Sapb  { (eval echo "$as_me:4722: \"$ac_try\"") >&5
47231.66Stsutsui  (eval $ac_try) 2>&5
47241.65Schristos  ac_status=$?
47251.72Sapb  echo "$as_me:4725: \$? = $ac_status" >&5
47261.66Stsutsui  (exit $ac_status); }; }; then
47271.65Schristos  ac_cv_working_alloca_h=yes
47281.65Schristoselse
47291.65Schristos  echo "$as_me: failed program was:" >&5
47301.66Stsutsuicat conftest.$ac_ext >&5
47311.66Stsutsuiac_cv_working_alloca_h=no
47321.65Schristosfi
47331.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47341.65Schristosfi
47351.72Sapbecho "$as_me:4735: result: $ac_cv_working_alloca_h" >&5
47361.66Stsutsuiecho "${ECHO_T}$ac_cv_working_alloca_h" >&6
47371.65Schristosif test $ac_cv_working_alloca_h = yes; then
47381.65Schristos
47391.66Stsutsuicat >>confdefs.h <<\EOF
47401.65Schristos#define HAVE_ALLOCA_H 1
47411.66StsutsuiEOF
47421.65Schristos
47431.65Schristosfi
47441.65Schristos
47451.72Sapbecho "$as_me:4745: checking for alloca" >&5
47461.66Stsutsuiecho $ECHO_N "checking for alloca... $ECHO_C" >&6
47471.65Schristosif test "${ac_cv_func_alloca_works+set}" = set; then
47481.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
47491.65Schristoselse
47501.65Schristos  cat >conftest.$ac_ext <<_ACEOF
47511.72Sapb#line 4751 "configure"
47521.66Stsutsui#include "confdefs.h"
47531.65Schristos#ifdef __GNUC__
47541.65Schristos# define alloca __builtin_alloca
47551.65Schristos#else
47561.65Schristos# ifdef _MSC_VER
47571.65Schristos#  include <malloc.h>
47581.65Schristos#  define alloca _alloca
47591.65Schristos# else
47601.66Stsutsui#  if HAVE_ALLOCA_H
47611.65Schristos#   include <alloca.h>
47621.65Schristos#  else
47631.65Schristos#   ifdef _AIX
47641.65Schristos #pragma alloca
47651.65Schristos#   else
47661.65Schristos#    ifndef alloca /* predefined by HP cc +Olibcalls */
47671.65Schristoschar *alloca ();
47681.65Schristos#    endif
47691.65Schristos#   endif
47701.65Schristos#  endif
47711.65Schristos# endif
47721.65Schristos#endif
47731.65Schristos
47741.65Schristosint
47751.65Schristosmain ()
47761.65Schristos{
47771.65Schristoschar *p = (char *) alloca (1);
47781.65Schristos  ;
47791.65Schristos  return 0;
47801.65Schristos}
47811.65Schristos_ACEOF
47821.65Schristosrm -f conftest.$ac_objext conftest$ac_exeext
47831.72Sapbif { (eval echo "$as_me:4783: \"$ac_link\"") >&5
47841.66Stsutsui  (eval $ac_link) 2>&5
47851.66Stsutsui  ac_status=$?
47861.72Sapb  echo "$as_me:4786: \$? = $ac_status" >&5
47871.66Stsutsui  (exit $ac_status); } &&
47881.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
47891.72Sapb  { (eval echo "$as_me:4789: \"$ac_try\"") >&5
47901.66Stsutsui  (eval $ac_try) 2>&5
47911.65Schristos  ac_status=$?
47921.72Sapb  echo "$as_me:4792: \$? = $ac_status" >&5
47931.66Stsutsui  (exit $ac_status); }; }; then
47941.65Schristos  ac_cv_func_alloca_works=yes
47951.65Schristoselse
47961.65Schristos  echo "$as_me: failed program was:" >&5
47971.66Stsutsuicat conftest.$ac_ext >&5
47981.66Stsutsuiac_cv_func_alloca_works=no
47991.65Schristosfi
48001.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48011.65Schristosfi
48021.72Sapbecho "$as_me:4802: result: $ac_cv_func_alloca_works" >&5
48031.66Stsutsuiecho "${ECHO_T}$ac_cv_func_alloca_works" >&6
48041.65Schristos
48051.65Schristosif test $ac_cv_func_alloca_works = yes; then
48061.65Schristos
48071.66Stsutsuicat >>confdefs.h <<\EOF
48081.65Schristos#define HAVE_ALLOCA 1
48091.66StsutsuiEOF
48101.65Schristos
48111.65Schristoselse
48121.65Schristos  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
48131.65Schristos# that cause trouble.  Some versions do not even contain alloca or
48141.65Schristos# contain a buggy version.  If you still want to use their alloca,
48151.65Schristos# use ar to extract alloca.o from them instead of compiling alloca.c.
48161.65Schristos
48171.66StsutsuiALLOCA=alloca.$ac_objext
48181.65Schristos
48191.66Stsutsuicat >>confdefs.h <<\EOF
48201.65Schristos#define C_ALLOCA 1
48211.66StsutsuiEOF
48221.65Schristos
48231.72Sapbecho "$as_me:4823: checking whether \`alloca.c' needs Cray hooks" >&5
48241.66Stsutsuiecho $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
48251.65Schristosif test "${ac_cv_os_cray+set}" = set; then
48261.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
48271.65Schristoselse
48281.65Schristos  cat >conftest.$ac_ext <<_ACEOF
48291.72Sapb#line 4829 "configure"
48301.66Stsutsui#include "confdefs.h"
48311.66Stsutsui#if defined(CRAY) && ! defined(CRAY2)
48321.65Schristoswebecray
48331.65Schristos#else
48341.65Schristoswenotbecray
48351.65Schristos#endif
48361.65Schristos
48371.65Schristos_ACEOF
48381.65Schristosif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48391.66Stsutsui  egrep "webecray" >/dev/null 2>&1; then
48401.65Schristos  ac_cv_os_cray=yes
48411.65Schristoselse
48421.65Schristos  ac_cv_os_cray=no
48431.65Schristosfi
48441.65Schristosrm -f conftest*
48451.65Schristos
48461.65Schristosfi
48471.72Sapbecho "$as_me:4847: result: $ac_cv_os_cray" >&5
48481.66Stsutsuiecho "${ECHO_T}$ac_cv_os_cray" >&6
48491.65Schristosif test $ac_cv_os_cray = yes; then
48501.65Schristos  for ac_func in _getb67 GETB67 getb67; do
48511.65Schristos    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48521.72Sapbecho "$as_me:4852: checking for $ac_func" >&5
48531.66Stsutsuiecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48541.66Stsutsuiif eval "test \"\${$as_ac_var+set}\" = set"; then
48551.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
48561.65Schristoselse
48571.65Schristos  cat >conftest.$ac_ext <<_ACEOF
48581.72Sapb#line 4858 "configure"
48591.66Stsutsui#include "confdefs.h"
48601.65Schristos/* System header to define __stub macros and hopefully few prototypes,
48611.66Stsutsui    which can conflict with char $ac_func (); below.  */
48621.66Stsutsui#include <assert.h>
48631.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
48641.65Schristos#ifdef __cplusplus
48651.65Schristosextern "C"
48661.65Schristos#endif
48671.66Stsutsui/* We use char because int might match the return type of a gcc2
48681.66Stsutsui   builtin and then its argument prototype would still apply.  */
48691.65Schristoschar $ac_func ();
48701.66Stsutsuichar (*f) ();
48711.66Stsutsui
48721.66Stsutsuiint
48731.66Stsutsuimain ()
48741.66Stsutsui{
48751.65Schristos/* The GNU C library defines this for functions which it implements
48761.65Schristos    to always fail with ENOSYS.  Some functions are actually named
48771.65Schristos    something starting with __ and the normal name is an alias.  */
48781.66Stsutsui#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48791.65Schristoschoke me
48801.66Stsutsui#else
48811.66Stsutsuif = $ac_func;
48821.65Schristos#endif
48831.65Schristos
48841.65Schristos  ;
48851.65Schristos  return 0;
48861.65Schristos}
48871.65Schristos_ACEOF
48881.65Schristosrm -f conftest.$ac_objext conftest$ac_exeext
48891.72Sapbif { (eval echo "$as_me:4889: \"$ac_link\"") >&5
48901.66Stsutsui  (eval $ac_link) 2>&5
48911.66Stsutsui  ac_status=$?
48921.72Sapb  echo "$as_me:4892: \$? = $ac_status" >&5
48931.66Stsutsui  (exit $ac_status); } &&
48941.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
48951.72Sapb  { (eval echo "$as_me:4895: \"$ac_try\"") >&5
48961.66Stsutsui  (eval $ac_try) 2>&5
48971.65Schristos  ac_status=$?
48981.72Sapb  echo "$as_me:4898: \$? = $ac_status" >&5
48991.66Stsutsui  (exit $ac_status); }; }; then
49001.65Schristos  eval "$as_ac_var=yes"
49011.65Schristoselse
49021.65Schristos  echo "$as_me: failed program was:" >&5
49031.66Stsutsuicat conftest.$ac_ext >&5
49041.66Stsutsuieval "$as_ac_var=no"
49051.65Schristosfi
49061.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49071.65Schristosfi
49081.72Sapbecho "$as_me:4908: result: `eval echo '${'$as_ac_var'}'`" >&5
49091.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49101.65Schristosif test `eval echo '${'$as_ac_var'}'` = yes; then
49111.65Schristos
49121.66Stsutsuicat >>confdefs.h <<EOF
49131.65Schristos#define CRAY_STACKSEG_END $ac_func
49141.66StsutsuiEOF
49151.65Schristos
49161.65Schristos    break
49171.65Schristosfi
49181.65Schristos
49191.65Schristos  done
49201.65Schristosfi
49211.65Schristos
49221.72Sapbecho "$as_me:4922: checking stack direction for C alloca" >&5
49231.66Stsutsuiecho $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
49241.65Schristosif test "${ac_cv_c_stack_direction+set}" = set; then
49251.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
49261.65Schristoselse
49271.65Schristos  if test "$cross_compiling" = yes; then
49281.65Schristos  ac_cv_c_stack_direction=0
49291.65Schristoselse
49301.65Schristos  cat >conftest.$ac_ext <<_ACEOF
49311.72Sapb#line 4931 "configure"
49321.66Stsutsui#include "confdefs.h"
49331.65Schristosint
49341.65Schristosfind_stack_direction ()
49351.65Schristos{
49361.65Schristos  static char *addr = 0;
49371.65Schristos  auto char dummy;
49381.65Schristos  if (addr == 0)
49391.65Schristos    {
49401.65Schristos      addr = &dummy;
49411.65Schristos      return find_stack_direction ();
49421.65Schristos    }
49431.65Schristos  else
49441.65Schristos    return (&dummy > addr) ? 1 : -1;
49451.65Schristos}
49461.65Schristos
49471.65Schristosint
49481.65Schristosmain ()
49491.65Schristos{
49501.66Stsutsui  exit (find_stack_direction () < 0);
49511.65Schristos}
49521.65Schristos_ACEOF
49531.65Schristosrm -f conftest$ac_exeext
49541.72Sapbif { (eval echo "$as_me:4954: \"$ac_link\"") >&5
49551.66Stsutsui  (eval $ac_link) 2>&5
49561.65Schristos  ac_status=$?
49571.72Sapb  echo "$as_me:4957: \$? = $ac_status" >&5
49581.65Schristos  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49591.72Sapb  { (eval echo "$as_me:4959: \"$ac_try\"") >&5
49601.66Stsutsui  (eval $ac_try) 2>&5
49611.65Schristos  ac_status=$?
49621.72Sapb  echo "$as_me:4962: \$? = $ac_status" >&5
49631.65Schristos  (exit $ac_status); }; }; then
49641.65Schristos  ac_cv_c_stack_direction=1
49651.65Schristoselse
49661.65Schristos  echo "$as_me: program exited with status $ac_status" >&5
49671.65Schristosecho "$as_me: failed program was:" >&5
49681.66Stsutsuicat conftest.$ac_ext >&5
49691.65Schristosac_cv_c_stack_direction=-1
49701.65Schristosfi
49711.66Stsutsuirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49721.65Schristosfi
49731.65Schristosfi
49741.72Sapbecho "$as_me:4974: result: $ac_cv_c_stack_direction" >&5
49751.66Stsutsuiecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
49761.65Schristos
49771.66Stsutsuicat >>confdefs.h <<EOF
49781.65Schristos#define STACK_DIRECTION $ac_cv_c_stack_direction
49791.66StsutsuiEOF
49801.65Schristos
49811.65Schristosfi
49821.65Schristos
49831.65Schristosfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
49841.70Schristos	esetfunc fgetln flock fpurge __fpurge futimes getopt getopt_long \
49851.65Schristos	group_from_gid gid_from_group \
49861.65Schristos	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
49871.72Sapb	mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \
49881.72Sapb	pwrite raise_default_signal random setenv \
49891.65Schristos	setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \
49901.65Schristos	strndup strsep strsuftoll strtoll \
49911.65Schristos	user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
49921.65Schristosdo
49931.65Schristosas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49941.72Sapbecho "$as_me:4994: checking for $ac_func" >&5
49951.66Stsutsuiecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49961.66Stsutsuiif eval "test \"\${$as_ac_var+set}\" = set"; then
49971.65Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
49981.65Schristoselse
49991.65Schristos  cat >conftest.$ac_ext <<_ACEOF
50001.72Sapb#line 5000 "configure"
50011.66Stsutsui#include "confdefs.h"
50021.65Schristos/* System header to define __stub macros and hopefully few prototypes,
50031.66Stsutsui    which can conflict with char $ac_func (); below.  */
50041.66Stsutsui#include <assert.h>
50051.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
50061.65Schristos#ifdef __cplusplus
50071.65Schristosextern "C"
50081.65Schristos#endif
50091.66Stsutsui/* We use char because int might match the return type of a gcc2
50101.66Stsutsui   builtin and then its argument prototype would still apply.  */
50111.65Schristoschar $ac_func ();
50121.66Stsutsuichar (*f) ();
50131.66Stsutsui
50141.66Stsutsuiint
50151.66Stsutsuimain ()
50161.66Stsutsui{
50171.65Schristos/* The GNU C library defines this for functions which it implements
50181.65Schristos    to always fail with ENOSYS.  Some functions are actually named
50191.65Schristos    something starting with __ and the normal name is an alias.  */
50201.66Stsutsui#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50211.65Schristoschoke me
50221.66Stsutsui#else
50231.66Stsutsuif = $ac_func;
50241.65Schristos#endif
50251.61Schristos
50261.61Schristos  ;
50271.61Schristos  return 0;
50281.61Schristos}
50291.61Schristos_ACEOF
50301.65Schristosrm -f conftest.$ac_objext conftest$ac_exeext
50311.72Sapbif { (eval echo "$as_me:5031: \"$ac_link\"") >&5
50321.66Stsutsui  (eval $ac_link) 2>&5
50331.66Stsutsui  ac_status=$?
50341.72Sapb  echo "$as_me:5034: \$? = $ac_status" >&5
50351.66Stsutsui  (exit $ac_status); } &&
50361.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
50371.72Sapb  { (eval echo "$as_me:5037: \"$ac_try\"") >&5
50381.66Stsutsui  (eval $ac_try) 2>&5
50391.59Sthorpej  ac_status=$?
50401.72Sapb  echo "$as_me:5040: \$? = $ac_status" >&5
50411.66Stsutsui  (exit $ac_status); }; }; then
50421.65Schristos  eval "$as_ac_var=yes"
50431.59Sthorpejelse
50441.59Sthorpej  echo "$as_me: failed program was:" >&5
50451.66Stsutsuicat conftest.$ac_ext >&5
50461.66Stsutsuieval "$as_ac_var=no"
50471.59Sthorpejfi
50481.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50491.61Schristosfi
50501.72Sapbecho "$as_me:5050: result: `eval echo '${'$as_ac_var'}'`" >&5
50511.66Stsutsuiecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50521.65Schristosif test `eval echo '${'$as_ac_var'}'` = yes; then
50531.66Stsutsui  cat >>confdefs.h <<EOF
50541.65Schristos#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50551.66StsutsuiEOF
50561.59Sthorpej
50571.65Schristosfi
50581.65Schristosdone
50591.61Schristos
50601.72Sapbecho "$as_me:5060: checking whether user_from_uid is declared" >&5
50611.66Stsutsuiecho $ECHO_N "checking whether user_from_uid is declared... $ECHO_C" >&6
50621.65Schristosif test "${ac_cv_have_decl_user_from_uid+set}" = set; then
50631.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
50641.48Sjmcelse
50651.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
50661.72Sapb#line 5066 "configure"
50671.66Stsutsui#include "confdefs.h"
50681.65Schristos
50691.65Schristos#include <pwd.h>
50701.65Schristos
50711.8Stvint
50721.8Stvmain ()
50731.8Stv{
50741.65Schristos#ifndef user_from_uid
50751.66Stsutsui  char *p = (char *) user_from_uid;
50761.65Schristos#endif
50771.65Schristos
50781.8Stv  ;
50791.8Stv  return 0;
50801.8Stv}
50811.8Stv_ACEOF
50821.8Stvrm -f conftest.$ac_objext
50831.72Sapbif { (eval echo "$as_me:5083: \"$ac_compile\"") >&5
50841.66Stsutsui  (eval $ac_compile) 2>&5
50851.66Stsutsui  ac_status=$?
50861.72Sapb  echo "$as_me:5086: \$? = $ac_status" >&5
50871.66Stsutsui  (exit $ac_status); } &&
50881.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
50891.72Sapb  { (eval echo "$as_me:5089: \"$ac_try\"") >&5
50901.66Stsutsui  (eval $ac_try) 2>&5
50911.61Schristos  ac_status=$?
50921.72Sapb  echo "$as_me:5092: \$? = $ac_status" >&5
50931.66Stsutsui  (exit $ac_status); }; }; then
50941.65Schristos  ac_cv_have_decl_user_from_uid=yes
50951.61Schristoselse
50961.61Schristos  echo "$as_me: failed program was:" >&5
50971.66Stsutsuicat conftest.$ac_ext >&5
50981.66Stsutsuiac_cv_have_decl_user_from_uid=no
50991.63Sapbfi
51001.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
51011.63Sapbfi
51021.72Sapbecho "$as_me:5102: result: $ac_cv_have_decl_user_from_uid" >&5
51031.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_user_from_uid" >&6
51041.65Schristosif test $ac_cv_have_decl_user_from_uid = yes; then
51051.65Schristos
51061.66Stsutsuicat >>confdefs.h <<EOF
51071.65Schristos#define HAVE_DECL_USER_FROM_UID 1
51081.66StsutsuiEOF
51091.61Schristos
51101.63Sapbelse
51111.66Stsutsui  cat >>confdefs.h <<EOF
51121.65Schristos#define HAVE_DECL_USER_FROM_UID 0
51131.66StsutsuiEOF
51141.61Schristos
51151.61Schristosfi
51161.72Sapbecho "$as_me:5116: checking whether uid_from_user is declared" >&5
51171.66Stsutsuiecho $ECHO_N "checking whether uid_from_user is declared... $ECHO_C" >&6
51181.65Schristosif test "${ac_cv_have_decl_uid_from_user+set}" = set; then
51191.61Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
51201.61Schristoselse
51211.61Schristos  cat >conftest.$ac_ext <<_ACEOF
51221.72Sapb#line 5122 "configure"
51231.66Stsutsui#include "confdefs.h"
51241.65Schristos
51251.65Schristos#include <pwd.h>
51261.65Schristos
51271.61Schristosint
51281.61Schristosmain ()
51291.61Schristos{
51301.65Schristos#ifndef uid_from_user
51311.66Stsutsui  char *p = (char *) uid_from_user;
51321.65Schristos#endif
51331.65Schristos
51341.61Schristos  ;
51351.61Schristos  return 0;
51361.61Schristos}
51371.61Schristos_ACEOF
51381.61Schristosrm -f conftest.$ac_objext
51391.72Sapbif { (eval echo "$as_me:5139: \"$ac_compile\"") >&5
51401.66Stsutsui  (eval $ac_compile) 2>&5
51411.66Stsutsui  ac_status=$?
51421.72Sapb  echo "$as_me:5142: \$? = $ac_status" >&5
51431.66Stsutsui  (exit $ac_status); } &&
51441.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
51451.72Sapb  { (eval echo "$as_me:5145: \"$ac_try\"") >&5
51461.66Stsutsui  (eval $ac_try) 2>&5
51471.61Schristos  ac_status=$?
51481.72Sapb  echo "$as_me:5148: \$? = $ac_status" >&5
51491.66Stsutsui  (exit $ac_status); }; }; then
51501.65Schristos  ac_cv_have_decl_uid_from_user=yes
51511.61Schristoselse
51521.61Schristos  echo "$as_me: failed program was:" >&5
51531.66Stsutsuicat conftest.$ac_ext >&5
51541.66Stsutsuiac_cv_have_decl_uid_from_user=no
51551.63Sapbfi
51561.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
51571.63Sapbfi
51581.72Sapbecho "$as_me:5158: result: $ac_cv_have_decl_uid_from_user" >&5
51591.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_uid_from_user" >&6
51601.65Schristosif test $ac_cv_have_decl_uid_from_user = yes; then
51611.65Schristos
51621.66Stsutsuicat >>confdefs.h <<EOF
51631.65Schristos#define HAVE_DECL_UID_FROM_USER 1
51641.66StsutsuiEOF
51651.61Schristos
51661.63Sapbelse
51671.66Stsutsui  cat >>confdefs.h <<EOF
51681.65Schristos#define HAVE_DECL_UID_FROM_USER 0
51691.66StsutsuiEOF
51701.61Schristos
51711.61Schristosfi
51721.72Sapbecho "$as_me:5172: checking whether pwcache_userdb is declared" >&5
51731.66Stsutsuiecho $ECHO_N "checking whether pwcache_userdb is declared... $ECHO_C" >&6
51741.65Schristosif test "${ac_cv_have_decl_pwcache_userdb+set}" = set; then
51751.61Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
51761.61Schristoselse
51771.61Schristos  cat >conftest.$ac_ext <<_ACEOF
51781.72Sapb#line 5178 "configure"
51791.66Stsutsui#include "confdefs.h"
51801.63Sapb
51811.65Schristos#include <pwd.h>
51821.61Schristos
51831.61Schristosint
51841.61Schristosmain ()
51851.61Schristos{
51861.65Schristos#ifndef pwcache_userdb
51871.66Stsutsui  char *p = (char *) pwcache_userdb;
51881.65Schristos#endif
51891.65Schristos
51901.61Schristos  ;
51911.61Schristos  return 0;
51921.61Schristos}
51931.61Schristos_ACEOF
51941.61Schristosrm -f conftest.$ac_objext
51951.72Sapbif { (eval echo "$as_me:5195: \"$ac_compile\"") >&5
51961.66Stsutsui  (eval $ac_compile) 2>&5
51971.66Stsutsui  ac_status=$?
51981.72Sapb  echo "$as_me:5198: \$? = $ac_status" >&5
51991.66Stsutsui  (exit $ac_status); } &&
52001.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
52011.72Sapb  { (eval echo "$as_me:5201: \"$ac_try\"") >&5
52021.66Stsutsui  (eval $ac_try) 2>&5
52031.61Schristos  ac_status=$?
52041.72Sapb  echo "$as_me:5204: \$? = $ac_status" >&5
52051.66Stsutsui  (exit $ac_status); }; }; then
52061.65Schristos  ac_cv_have_decl_pwcache_userdb=yes
52071.61Schristoselse
52081.61Schristos  echo "$as_me: failed program was:" >&5
52091.66Stsutsuicat conftest.$ac_ext >&5
52101.66Stsutsuiac_cv_have_decl_pwcache_userdb=no
52111.61Schristosfi
52121.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
52131.61Schristosfi
52141.72Sapbecho "$as_me:5214: result: $ac_cv_have_decl_pwcache_userdb" >&5
52151.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_pwcache_userdb" >&6
52161.65Schristosif test $ac_cv_have_decl_pwcache_userdb = yes; then
52171.61Schristos
52181.66Stsutsuicat >>confdefs.h <<EOF
52191.65Schristos#define HAVE_DECL_PWCACHE_USERDB 1
52201.66StsutsuiEOF
52211.61Schristos
52221.61Schristoselse
52231.66Stsutsui  cat >>confdefs.h <<EOF
52241.65Schristos#define HAVE_DECL_PWCACHE_USERDB 0
52251.66StsutsuiEOF
52261.63Sapb
52271.63Sapbfi
52281.63Sapb
52291.72Sapbecho "$as_me:5229: checking whether group_from_gid is declared" >&5
52301.66Stsutsuiecho $ECHO_N "checking whether group_from_gid is declared... $ECHO_C" >&6
52311.65Schristosif test "${ac_cv_have_decl_group_from_gid+set}" = set; then
52321.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
52331.63Sapbelse
52341.63Sapb  cat >conftest.$ac_ext <<_ACEOF
52351.72Sapb#line 5235 "configure"
52361.66Stsutsui#include "confdefs.h"
52371.65Schristos
52381.65Schristos#include <grp.h>
52391.63Sapb
52401.61Schristosint
52411.61Schristosmain ()
52421.61Schristos{
52431.65Schristos#ifndef group_from_gid
52441.66Stsutsui  char *p = (char *) group_from_gid;
52451.63Sapb#endif
52461.63Sapb
52471.61Schristos  ;
52481.61Schristos  return 0;
52491.61Schristos}
52501.61Schristos_ACEOF
52511.61Schristosrm -f conftest.$ac_objext
52521.72Sapbif { (eval echo "$as_me:5252: \"$ac_compile\"") >&5
52531.66Stsutsui  (eval $ac_compile) 2>&5
52541.66Stsutsui  ac_status=$?
52551.72Sapb  echo "$as_me:5255: \$? = $ac_status" >&5
52561.66Stsutsui  (exit $ac_status); } &&
52571.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
52581.72Sapb  { (eval echo "$as_me:5258: \"$ac_try\"") >&5
52591.66Stsutsui  (eval $ac_try) 2>&5
52601.61Schristos  ac_status=$?
52611.72Sapb  echo "$as_me:5261: \$? = $ac_status" >&5
52621.66Stsutsui  (exit $ac_status); }; }; then
52631.65Schristos  ac_cv_have_decl_group_from_gid=yes
52641.61Schristoselse
52651.61Schristos  echo "$as_me: failed program was:" >&5
52661.66Stsutsuicat conftest.$ac_ext >&5
52671.66Stsutsuiac_cv_have_decl_group_from_gid=no
52681.61Schristosfi
52691.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
52701.61Schristosfi
52711.72Sapbecho "$as_me:5271: result: $ac_cv_have_decl_group_from_gid" >&5
52721.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_group_from_gid" >&6
52731.65Schristosif test $ac_cv_have_decl_group_from_gid = yes; then
52741.65Schristos
52751.66Stsutsuicat >>confdefs.h <<EOF
52761.65Schristos#define HAVE_DECL_GROUP_FROM_GID 1
52771.66StsutsuiEOF
52781.61Schristos
52791.63Sapbelse
52801.66Stsutsui  cat >>confdefs.h <<EOF
52811.65Schristos#define HAVE_DECL_GROUP_FROM_GID 0
52821.66StsutsuiEOF
52831.61Schristos
52841.61Schristosfi
52851.72Sapbecho "$as_me:5285: checking whether gid_from_group is declared" >&5
52861.66Stsutsuiecho $ECHO_N "checking whether gid_from_group is declared... $ECHO_C" >&6
52871.65Schristosif test "${ac_cv_have_decl_gid_from_group+set}" = set; then
52881.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
52891.43Sdbjelse
52901.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
52911.72Sapb#line 5291 "configure"
52921.66Stsutsui#include "confdefs.h"
52931.65Schristos
52941.65Schristos#include <grp.h>
52951.63Sapb
52961.40Satatatint
52971.40Satatatmain ()
52981.40Satatat{
52991.65Schristos#ifndef gid_from_group
53001.66Stsutsui  char *p = (char *) gid_from_group;
53011.63Sapb#endif
53021.63Sapb
53031.40Satatat  ;
53041.40Satatat  return 0;
53051.40Satatat}
53061.40Satatat_ACEOF
53071.40Satatatrm -f conftest.$ac_objext
53081.72Sapbif { (eval echo "$as_me:5308: \"$ac_compile\"") >&5
53091.66Stsutsui  (eval $ac_compile) 2>&5
53101.66Stsutsui  ac_status=$?
53111.72Sapb  echo "$as_me:5311: \$? = $ac_status" >&5
53121.66Stsutsui  (exit $ac_status); } &&
53131.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
53141.72Sapb  { (eval echo "$as_me:5314: \"$ac_try\"") >&5
53151.66Stsutsui  (eval $ac_try) 2>&5
53161.53Sdogcow  ac_status=$?
53171.72Sapb  echo "$as_me:5317: \$? = $ac_status" >&5
53181.66Stsutsui  (exit $ac_status); }; }; then
53191.65Schristos  ac_cv_have_decl_gid_from_group=yes
53201.53Sdogcowelse
53211.53Sdogcow  echo "$as_me: failed program was:" >&5
53221.66Stsutsuicat conftest.$ac_ext >&5
53231.66Stsutsuiac_cv_have_decl_gid_from_group=no
53241.63Sapbfi
53251.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
53261.63Sapbfi
53271.72Sapbecho "$as_me:5327: result: $ac_cv_have_decl_gid_from_group" >&5
53281.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_gid_from_group" >&6
53291.65Schristosif test $ac_cv_have_decl_gid_from_group = yes; then
53301.65Schristos
53311.66Stsutsuicat >>confdefs.h <<EOF
53321.65Schristos#define HAVE_DECL_GID_FROM_GROUP 1
53331.66StsutsuiEOF
53341.63Sapb
53351.63Sapbelse
53361.66Stsutsui  cat >>confdefs.h <<EOF
53371.65Schristos#define HAVE_DECL_GID_FROM_GROUP 0
53381.66StsutsuiEOF
53391.63Sapb
53401.63Sapbfi
53411.72Sapbecho "$as_me:5341: checking whether pwcache_groupdb is declared" >&5
53421.66Stsutsuiecho $ECHO_N "checking whether pwcache_groupdb is declared... $ECHO_C" >&6
53431.65Schristosif test "${ac_cv_have_decl_pwcache_groupdb+set}" = set; then
53441.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
53451.63Sapbelse
53461.63Sapb  cat >conftest.$ac_ext <<_ACEOF
53471.72Sapb#line 5347 "configure"
53481.66Stsutsui#include "confdefs.h"
53491.65Schristos
53501.65Schristos#include <grp.h>
53511.65Schristos
53521.53Sdogcowint
53531.53Sdogcowmain ()
53541.53Sdogcow{
53551.65Schristos#ifndef pwcache_groupdb
53561.66Stsutsui  char *p = (char *) pwcache_groupdb;
53571.63Sapb#endif
53581.63Sapb
53591.53Sdogcow  ;
53601.53Sdogcow  return 0;
53611.53Sdogcow}
53621.53Sdogcow_ACEOF
53631.53Sdogcowrm -f conftest.$ac_objext
53641.72Sapbif { (eval echo "$as_me:5364: \"$ac_compile\"") >&5
53651.66Stsutsui  (eval $ac_compile) 2>&5
53661.66Stsutsui  ac_status=$?
53671.72Sapb  echo "$as_me:5367: \$? = $ac_status" >&5
53681.66Stsutsui  (exit $ac_status); } &&
53691.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
53701.72Sapb  { (eval echo "$as_me:5370: \"$ac_try\"") >&5
53711.66Stsutsui  (eval $ac_try) 2>&5
53721.40Satatat  ac_status=$?
53731.72Sapb  echo "$as_me:5373: \$? = $ac_status" >&5
53741.66Stsutsui  (exit $ac_status); }; }; then
53751.65Schristos  ac_cv_have_decl_pwcache_groupdb=yes
53761.40Satatatelse
53771.40Satatat  echo "$as_me: failed program was:" >&5
53781.66Stsutsuicat conftest.$ac_ext >&5
53791.66Stsutsuiac_cv_have_decl_pwcache_groupdb=no
53801.61Schristosfi
53811.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
53821.40Satatatfi
53831.72Sapbecho "$as_me:5383: result: $ac_cv_have_decl_pwcache_groupdb" >&5
53841.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_pwcache_groupdb" >&6
53851.65Schristosif test $ac_cv_have_decl_pwcache_groupdb = yes; then
53861.65Schristos
53871.66Stsutsuicat >>confdefs.h <<EOF
53881.65Schristos#define HAVE_DECL_PWCACHE_GROUPDB 1
53891.66StsutsuiEOF
53901.53Sdogcow
53911.63Sapbelse
53921.66Stsutsui  cat >>confdefs.h <<EOF
53931.65Schristos#define HAVE_DECL_PWCACHE_GROUPDB 0
53941.66StsutsuiEOF
53951.40Satatat
53961.40Satatatfi
53971.63Sapb
53981.72Sapbecho "$as_me:5398: checking whether strndup is declared" >&5
53991.66Stsutsuiecho $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
54001.65Schristosif test "${ac_cv_have_decl_strndup+set}" = set; then
54011.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
54021.40Satatatelse
54031.40Satatat  cat >conftest.$ac_ext <<_ACEOF
54041.72Sapb#line 5404 "configure"
54051.66Stsutsui#include "confdefs.h"
54061.65Schristos#include <string.h>
54071.65Schristos
54081.40Satatatint
54091.40Satatatmain ()
54101.40Satatat{
54111.65Schristos#ifndef strndup
54121.66Stsutsui  char *p = (char *) strndup;
54131.65Schristos#endif
54141.65Schristos
54151.40Satatat  ;
54161.40Satatat  return 0;
54171.40Satatat}
54181.40Satatat_ACEOF
54191.65Schristosrm -f conftest.$ac_objext
54201.72Sapbif { (eval echo "$as_me:5420: \"$ac_compile\"") >&5
54211.66Stsutsui  (eval $ac_compile) 2>&5
54221.66Stsutsui  ac_status=$?
54231.72Sapb  echo "$as_me:5423: \$? = $ac_status" >&5
54241.66Stsutsui  (exit $ac_status); } &&
54251.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
54261.72Sapb  { (eval echo "$as_me:5426: \"$ac_try\"") >&5
54271.66Stsutsui  (eval $ac_try) 2>&5
54281.53Sdogcow  ac_status=$?
54291.72Sapb  echo "$as_me:5429: \$? = $ac_status" >&5
54301.66Stsutsui  (exit $ac_status); }; }; then
54311.65Schristos  ac_cv_have_decl_strndup=yes
54321.53Sdogcowelse
54331.53Sdogcow  echo "$as_me: failed program was:" >&5
54341.66Stsutsuicat conftest.$ac_ext >&5
54351.66Stsutsuiac_cv_have_decl_strndup=no
54361.63Sapbfi
54371.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
54381.63Sapbfi
54391.72Sapbecho "$as_me:5439: result: $ac_cv_have_decl_strndup" >&5
54401.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_strndup" >&6
54411.65Schristosif test $ac_cv_have_decl_strndup = yes; then
54421.65Schristos
54431.66Stsutsuicat >>confdefs.h <<EOF
54441.65Schristos#define HAVE_DECL_STRNDUP 1
54451.66StsutsuiEOF
54461.65Schristos
54471.65Schristoselse
54481.66Stsutsui  cat >>confdefs.h <<EOF
54491.65Schristos#define HAVE_DECL_STRNDUP 0
54501.66StsutsuiEOF
54511.60Sapb
54521.63Sapbfi
54531.63Sapb
54541.72Sapbecho "$as_me:5454: checking whether strsuftoll is declared" >&5
54551.66Stsutsuiecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
54561.65Schristosif test "${ac_cv_have_decl_strsuftoll+set}" = set; then
54571.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
54581.63Sapbelse
54591.63Sapb  cat >conftest.$ac_ext <<_ACEOF
54601.72Sapb#line 5460 "configure"
54611.66Stsutsui#include "confdefs.h"
54621.65Schristos#include <stdlib.h>
54631.53Sdogcow
54641.53Sdogcowint
54651.53Sdogcowmain ()
54661.53Sdogcow{
54671.65Schristos#ifndef strsuftoll
54681.66Stsutsui  char *p = (char *) strsuftoll;
54691.65Schristos#endif
54701.65Schristos
54711.53Sdogcow  ;
54721.53Sdogcow  return 0;
54731.53Sdogcow}
54741.53Sdogcow_ACEOF
54751.65Schristosrm -f conftest.$ac_objext
54761.72Sapbif { (eval echo "$as_me:5476: \"$ac_compile\"") >&5
54771.66Stsutsui  (eval $ac_compile) 2>&5
54781.66Stsutsui  ac_status=$?
54791.72Sapb  echo "$as_me:5479: \$? = $ac_status" >&5
54801.66Stsutsui  (exit $ac_status); } &&
54811.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
54821.72Sapb  { (eval echo "$as_me:5482: \"$ac_try\"") >&5
54831.66Stsutsui  (eval $ac_try) 2>&5
54841.40Satatat  ac_status=$?
54851.72Sapb  echo "$as_me:5485: \$? = $ac_status" >&5
54861.66Stsutsui  (exit $ac_status); }; }; then
54871.65Schristos  ac_cv_have_decl_strsuftoll=yes
54881.40Satatatelse
54891.40Satatat  echo "$as_me: failed program was:" >&5
54901.66Stsutsuicat conftest.$ac_ext >&5
54911.66Stsutsuiac_cv_have_decl_strsuftoll=no
54921.61Schristosfi
54931.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
54941.40Satatatfi
54951.72Sapbecho "$as_me:5495: result: $ac_cv_have_decl_strsuftoll" >&5
54961.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
54971.65Schristosif test $ac_cv_have_decl_strsuftoll = yes; then
54981.63Sapb
54991.66Stsutsuicat >>confdefs.h <<EOF
55001.65Schristos#define HAVE_DECL_STRSUFTOLL 1
55011.66StsutsuiEOF
55021.63Sapb
55031.63Sapbelse
55041.66Stsutsui  cat >>confdefs.h <<EOF
55051.65Schristos#define HAVE_DECL_STRSUFTOLL 0
55061.66StsutsuiEOF
55071.61Schristos
55081.65Schristosfi
55091.53Sdogcow
55101.72Sapbecho "$as_me:5510: checking whether lchflags is declared" >&5
55111.66Stsutsuiecho $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
55121.65Schristosif test "${ac_cv_have_decl_lchflags+set}" = set; then
55131.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
55141.7Stvelse
55151.7Stv  cat >conftest.$ac_ext <<_ACEOF
55161.72Sapb#line 5516 "configure"
55171.66Stsutsui#include "confdefs.h"
55181.7Stv
55191.65Schristos#include <sys/stat.h>
55201.65Schristos#include <unistd.h>
55211.60Sapb
55221.53Sdogcowint
55231.53Sdogcowmain ()
55241.53Sdogcow{
55251.65Schristos#ifndef lchflags
55261.66Stsutsui  char *p = (char *) lchflags;
55271.63Sapb#endif
55281.63Sapb
55291.53Sdogcow  ;
55301.53Sdogcow  return 0;
55311.53Sdogcow}
55321.53Sdogcow_ACEOF
55331.65Schristosrm -f conftest.$ac_objext
55341.72Sapbif { (eval echo "$as_me:5534: \"$ac_compile\"") >&5
55351.66Stsutsui  (eval $ac_compile) 2>&5
55361.66Stsutsui  ac_status=$?
55371.72Sapb  echo "$as_me:5537: \$? = $ac_status" >&5
55381.66Stsutsui  (exit $ac_status); } &&
55391.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
55401.72Sapb  { (eval echo "$as_me:5540: \"$ac_try\"") >&5
55411.66Stsutsui  (eval $ac_try) 2>&5
55421.7Stv  ac_status=$?
55431.72Sapb  echo "$as_me:5543: \$? = $ac_status" >&5
55441.66Stsutsui  (exit $ac_status); }; }; then
55451.65Schristos  ac_cv_have_decl_lchflags=yes
55461.7Stvelse
55471.7Stv  echo "$as_me: failed program was:" >&5
55481.66Stsutsuicat conftest.$ac_ext >&5
55491.66Stsutsuiac_cv_have_decl_lchflags=no
55501.7Stvfi
55511.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
55521.7Stvfi
55531.72Sapbecho "$as_me:5553: result: $ac_cv_have_decl_lchflags" >&5
55541.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
55551.65Schristosif test $ac_cv_have_decl_lchflags = yes; then
55561.7Stv
55571.66Stsutsuicat >>confdefs.h <<EOF
55581.65Schristos#define HAVE_DECL_LCHFLAGS 1
55591.66StsutsuiEOF
55601.4Stv
55611.63Sapbelse
55621.66Stsutsui  cat >>confdefs.h <<EOF
55631.65Schristos#define HAVE_DECL_LCHFLAGS 0
55641.66StsutsuiEOF
55651.63Sapb
55661.63Sapbfi
55671.72Sapbecho "$as_me:5567: checking whether lchmod is declared" >&5
55681.66Stsutsuiecho $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
55691.65Schristosif test "${ac_cv_have_decl_lchmod+set}" = set; then
55701.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
55711.63Sapbelse
55721.63Sapb  cat >conftest.$ac_ext <<_ACEOF
55731.72Sapb#line 5573 "configure"
55741.66Stsutsui#include "confdefs.h"
55751.65Schristos
55761.65Schristos#include <sys/stat.h>
55771.65Schristos#include <unistd.h>
55781.65Schristos
55791.61Schristosint
55801.61Schristosmain ()
55811.61Schristos{
55821.65Schristos#ifndef lchmod
55831.66Stsutsui  char *p = (char *) lchmod;
55841.63Sapb#endif
55851.63Sapb
55861.61Schristos  ;
55871.61Schristos  return 0;
55881.61Schristos}
55891.61Schristos_ACEOF
55901.65Schristosrm -f conftest.$ac_objext
55911.72Sapbif { (eval echo "$as_me:5591: \"$ac_compile\"") >&5
55921.66Stsutsui  (eval $ac_compile) 2>&5
55931.66Stsutsui  ac_status=$?
55941.72Sapb  echo "$as_me:5594: \$? = $ac_status" >&5
55951.66Stsutsui  (exit $ac_status); } &&
55961.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
55971.72Sapb  { (eval echo "$as_me:5597: \"$ac_try\"") >&5
55981.66Stsutsui  (eval $ac_try) 2>&5
55991.7Stv  ac_status=$?
56001.72Sapb  echo "$as_me:5600: \$? = $ac_status" >&5
56011.66Stsutsui  (exit $ac_status); }; }; then
56021.65Schristos  ac_cv_have_decl_lchmod=yes
56031.53Sdogcowelse
56041.53Sdogcow  echo "$as_me: failed program was:" >&5
56051.66Stsutsuicat conftest.$ac_ext >&5
56061.66Stsutsuiac_cv_have_decl_lchmod=no
56071.53Sdogcowfi
56081.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
56091.61Schristosfi
56101.72Sapbecho "$as_me:5610: result: $ac_cv_have_decl_lchmod" >&5
56111.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
56121.65Schristosif test $ac_cv_have_decl_lchmod = yes; then
56131.65Schristos
56141.66Stsutsuicat >>confdefs.h <<EOF
56151.65Schristos#define HAVE_DECL_LCHMOD 1
56161.66StsutsuiEOF
56171.65Schristos
56181.65Schristoselse
56191.66Stsutsui  cat >>confdefs.h <<EOF
56201.65Schristos#define HAVE_DECL_LCHMOD 0
56211.66StsutsuiEOF
56221.53Sdogcow
56231.53Sdogcowfi
56241.72Sapbecho "$as_me:5624: checking whether lchown is declared" >&5
56251.66Stsutsuiecho $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
56261.65Schristosif test "${ac_cv_have_decl_lchown+set}" = set; then
56271.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
56281.53Sdogcowelse
56291.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
56301.72Sapb#line 5630 "configure"
56311.66Stsutsui#include "confdefs.h"
56321.65Schristos
56331.65Schristos#include <sys/stat.h>
56341.65Schristos#include <unistd.h>
56351.65Schristos
56361.53Sdogcowint
56371.53Sdogcowmain ()
56381.53Sdogcow{
56391.65Schristos#ifndef lchown
56401.66Stsutsui  char *p = (char *) lchown;
56411.53Sdogcow#endif
56421.53Sdogcow
56431.53Sdogcow  ;
56441.53Sdogcow  return 0;
56451.53Sdogcow}
56461.53Sdogcow_ACEOF
56471.53Sdogcowrm -f conftest.$ac_objext
56481.72Sapbif { (eval echo "$as_me:5648: \"$ac_compile\"") >&5
56491.66Stsutsui  (eval $ac_compile) 2>&5
56501.66Stsutsui  ac_status=$?
56511.72Sapb  echo "$as_me:5651: \$? = $ac_status" >&5
56521.66Stsutsui  (exit $ac_status); } &&
56531.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
56541.72Sapb  { (eval echo "$as_me:5654: \"$ac_try\"") >&5
56551.66Stsutsui  (eval $ac_try) 2>&5
56561.53Sdogcow  ac_status=$?
56571.72Sapb  echo "$as_me:5657: \$? = $ac_status" >&5
56581.66Stsutsui  (exit $ac_status); }; }; then
56591.65Schristos  ac_cv_have_decl_lchown=yes
56601.7Stvelse
56611.7Stv  echo "$as_me: failed program was:" >&5
56621.66Stsutsuicat conftest.$ac_ext >&5
56631.66Stsutsuiac_cv_have_decl_lchown=no
56641.7Stvfi
56651.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
56661.7Stvfi
56671.72Sapbecho "$as_me:5667: result: $ac_cv_have_decl_lchown" >&5
56681.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_lchown" >&6
56691.65Schristosif test $ac_cv_have_decl_lchown = yes; then
56701.65Schristos
56711.66Stsutsuicat >>confdefs.h <<EOF
56721.65Schristos#define HAVE_DECL_LCHOWN 1
56731.66StsutsuiEOF
56741.7Stv
56751.7Stvelse
56761.66Stsutsui  cat >>confdefs.h <<EOF
56771.65Schristos#define HAVE_DECL_LCHOWN 0
56781.66StsutsuiEOF
56791.61Schristos
56801.63Sapbfi
56811.7Stv
56821.72Sapbecho "$as_me:5682: checking whether htobe16 is declared" >&5
56831.66Stsutsuiecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
56841.63Sapbif test "${ac_cv_have_decl_htobe16+set}" = set; then
56851.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
56861.7Stvelse
56871.7Stv  cat >conftest.$ac_ext <<_ACEOF
56881.72Sapb#line 5688 "configure"
56891.66Stsutsui#include "confdefs.h"
56901.63Sapb#include <sys/types.h>
56911.61Schristos
56921.7Stvint
56931.7Stvmain ()
56941.7Stv{
56951.63Sapb#ifndef htobe16
56961.66Stsutsui  char *p = (char *) htobe16;
56971.7Stv#endif
56981.7Stv
56991.7Stv  ;
57001.7Stv  return 0;
57011.7Stv}
57021.7Stv_ACEOF
57031.7Stvrm -f conftest.$ac_objext
57041.72Sapbif { (eval echo "$as_me:5704: \"$ac_compile\"") >&5
57051.66Stsutsui  (eval $ac_compile) 2>&5
57061.66Stsutsui  ac_status=$?
57071.72Sapb  echo "$as_me:5707: \$? = $ac_status" >&5
57081.66Stsutsui  (exit $ac_status); } &&
57091.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
57101.72Sapb  { (eval echo "$as_me:5710: \"$ac_try\"") >&5
57111.66Stsutsui  (eval $ac_try) 2>&5
57121.7Stv  ac_status=$?
57131.72Sapb  echo "$as_me:5713: \$? = $ac_status" >&5
57141.66Stsutsui  (exit $ac_status); }; }; then
57151.63Sapb  ac_cv_have_decl_htobe16=yes
57161.7Stvelse
57171.7Stv  echo "$as_me: failed program was:" >&5
57181.66Stsutsuicat conftest.$ac_ext >&5
57191.66Stsutsuiac_cv_have_decl_htobe16=no
57201.7Stvfi
57211.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
57221.7Stvfi
57231.72Sapbecho "$as_me:5723: result: $ac_cv_have_decl_htobe16" >&5
57241.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
57251.63Sapbif test $ac_cv_have_decl_htobe16 = yes; then
57261.61Schristos
57271.66Stsutsuicat >>confdefs.h <<EOF
57281.63Sapb#define HAVE_DECL_HTOBE16 1
57291.66StsutsuiEOF
57301.7Stv
57311.7Stvelse
57321.66Stsutsui  cat >>confdefs.h <<EOF
57331.63Sapb#define HAVE_DECL_HTOBE16 0
57341.66StsutsuiEOF
57351.7Stv
57361.7Stvfi
57371.72Sapbecho "$as_me:5737: checking whether htobe32 is declared" >&5
57381.66Stsutsuiecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
57391.63Sapbif test "${ac_cv_have_decl_htobe32+set}" = set; then
57401.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
57411.4Stvelse
57421.4Stv  cat >conftest.$ac_ext <<_ACEOF
57431.72Sapb#line 5743 "configure"
57441.66Stsutsui#include "confdefs.h"
57451.63Sapb#include <sys/types.h>
57461.4Stv
57471.4Stvint
57481.4Stvmain ()
57491.4Stv{
57501.63Sapb#ifndef htobe32
57511.66Stsutsui  char *p = (char *) htobe32;
57521.4Stv#endif
57531.4Stv
57541.4Stv  ;
57551.4Stv  return 0;
57561.4Stv}
57571.4Stv_ACEOF
57581.4Stvrm -f conftest.$ac_objext
57591.72Sapbif { (eval echo "$as_me:5759: \"$ac_compile\"") >&5
57601.66Stsutsui  (eval $ac_compile) 2>&5
57611.66Stsutsui  ac_status=$?
57621.72Sapb  echo "$as_me:5762: \$? = $ac_status" >&5
57631.66Stsutsui  (exit $ac_status); } &&
57641.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
57651.72Sapb  { (eval echo "$as_me:5765: \"$ac_try\"") >&5
57661.66Stsutsui  (eval $ac_try) 2>&5
57671.4Stv  ac_status=$?
57681.72Sapb  echo "$as_me:5768: \$? = $ac_status" >&5
57691.66Stsutsui  (exit $ac_status); }; }; then
57701.63Sapb  ac_cv_have_decl_htobe32=yes
57711.4Stvelse
57721.4Stv  echo "$as_me: failed program was:" >&5
57731.66Stsutsuicat conftest.$ac_ext >&5
57741.66Stsutsuiac_cv_have_decl_htobe32=no
57751.4Stvfi
57761.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
57771.4Stvfi
57781.72Sapbecho "$as_me:5778: result: $ac_cv_have_decl_htobe32" >&5
57791.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
57801.63Sapbif test $ac_cv_have_decl_htobe32 = yes; then
57811.61Schristos
57821.66Stsutsuicat >>confdefs.h <<EOF
57831.63Sapb#define HAVE_DECL_HTOBE32 1
57841.66StsutsuiEOF
57851.4Stv
57861.4Stvelse
57871.66Stsutsui  cat >>confdefs.h <<EOF
57881.63Sapb#define HAVE_DECL_HTOBE32 0
57891.66StsutsuiEOF
57901.4Stv
57911.4Stvfi
57921.72Sapbecho "$as_me:5792: checking whether htobe64 is declared" >&5
57931.66Stsutsuiecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
57941.63Sapbif test "${ac_cv_have_decl_htobe64+set}" = set; then
57951.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
57961.19Sbjh21else
57971.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
57981.72Sapb#line 5798 "configure"
57991.66Stsutsui#include "confdefs.h"
58001.63Sapb#include <sys/types.h>
58011.63Sapb
58021.19Sbjh21int
58031.19Sbjh21main ()
58041.19Sbjh21{
58051.63Sapb#ifndef htobe64
58061.66Stsutsui  char *p = (char *) htobe64;
58071.63Sapb#endif
58081.63Sapb
58091.19Sbjh21  ;
58101.19Sbjh21  return 0;
58111.19Sbjh21}
58121.19Sbjh21_ACEOF
58131.63Sapbrm -f conftest.$ac_objext
58141.72Sapbif { (eval echo "$as_me:5814: \"$ac_compile\"") >&5
58151.66Stsutsui  (eval $ac_compile) 2>&5
58161.66Stsutsui  ac_status=$?
58171.72Sapb  echo "$as_me:5817: \$? = $ac_status" >&5
58181.66Stsutsui  (exit $ac_status); } &&
58191.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
58201.72Sapb  { (eval echo "$as_me:5820: \"$ac_try\"") >&5
58211.66Stsutsui  (eval $ac_try) 2>&5
58221.19Sbjh21  ac_status=$?
58231.72Sapb  echo "$as_me:5823: \$? = $ac_status" >&5
58241.66Stsutsui  (exit $ac_status); }; }; then
58251.63Sapb  ac_cv_have_decl_htobe64=yes
58261.19Sbjh21else
58271.19Sbjh21  echo "$as_me: failed program was:" >&5
58281.66Stsutsuicat conftest.$ac_ext >&5
58291.66Stsutsuiac_cv_have_decl_htobe64=no
58301.19Sbjh21fi
58311.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
58321.19Sbjh21fi
58331.72Sapbecho "$as_me:5833: result: $ac_cv_have_decl_htobe64" >&5
58341.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
58351.63Sapbif test $ac_cv_have_decl_htobe64 = yes; then
58361.63Sapb
58371.66Stsutsuicat >>confdefs.h <<EOF
58381.63Sapb#define HAVE_DECL_HTOBE64 1
58391.66StsutsuiEOF
58401.19Sbjh21
58411.63Sapbelse
58421.66Stsutsui  cat >>confdefs.h <<EOF
58431.63Sapb#define HAVE_DECL_HTOBE64 0
58441.66StsutsuiEOF
58451.19Sbjh21
58461.19Sbjh21fi
58471.72Sapbecho "$as_me:5847: checking whether htole16 is declared" >&5
58481.66Stsutsuiecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
58491.63Sapbif test "${ac_cv_have_decl_htole16+set}" = set; then
58501.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
58511.19Sbjh21else
58521.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
58531.72Sapb#line 5853 "configure"
58541.66Stsutsui#include "confdefs.h"
58551.63Sapb#include <sys/types.h>
58561.63Sapb
58571.63Sapbint
58581.63Sapbmain ()
58591.63Sapb{
58601.63Sapb#ifndef htole16
58611.66Stsutsui  char *p = (char *) htole16;
58621.19Sbjh21#endif
58631.19Sbjh21
58641.19Sbjh21  ;
58651.19Sbjh21  return 0;
58661.19Sbjh21}
58671.19Sbjh21_ACEOF
58681.63Sapbrm -f conftest.$ac_objext
58691.72Sapbif { (eval echo "$as_me:5869: \"$ac_compile\"") >&5
58701.66Stsutsui  (eval $ac_compile) 2>&5
58711.66Stsutsui  ac_status=$?
58721.72Sapb  echo "$as_me:5872: \$? = $ac_status" >&5
58731.66Stsutsui  (exit $ac_status); } &&
58741.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
58751.72Sapb  { (eval echo "$as_me:5875: \"$ac_try\"") >&5
58761.66Stsutsui  (eval $ac_try) 2>&5
58771.19Sbjh21  ac_status=$?
58781.72Sapb  echo "$as_me:5878: \$? = $ac_status" >&5
58791.66Stsutsui  (exit $ac_status); }; }; then
58801.63Sapb  ac_cv_have_decl_htole16=yes
58811.19Sbjh21else
58821.19Sbjh21  echo "$as_me: failed program was:" >&5
58831.66Stsutsuicat conftest.$ac_ext >&5
58841.66Stsutsuiac_cv_have_decl_htole16=no
58851.19Sbjh21fi
58861.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
58871.19Sbjh21fi
58881.72Sapbecho "$as_me:5888: result: $ac_cv_have_decl_htole16" >&5
58891.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
58901.63Sapbif test $ac_cv_have_decl_htole16 = yes; then
58911.19Sbjh21
58921.66Stsutsuicat >>confdefs.h <<EOF
58931.63Sapb#define HAVE_DECL_HTOLE16 1
58941.66StsutsuiEOF
58951.19Sbjh21
58961.63Sapbelse
58971.66Stsutsui  cat >>confdefs.h <<EOF
58981.63Sapb#define HAVE_DECL_HTOLE16 0
58991.66StsutsuiEOF
59001.19Sbjh21
59011.63Sapbfi
59021.72Sapbecho "$as_me:5902: checking whether htole32 is declared" >&5
59031.66Stsutsuiecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
59041.63Sapbif test "${ac_cv_have_decl_htole32+set}" = set; then
59051.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
59061.19Sbjh21else
59071.63Sapb  cat >conftest.$ac_ext <<_ACEOF
59081.72Sapb#line 5908 "configure"
59091.66Stsutsui#include "confdefs.h"
59101.63Sapb#include <sys/types.h>
59111.19Sbjh21
59121.63Sapbint
59131.63Sapbmain ()
59141.63Sapb{
59151.63Sapb#ifndef htole32
59161.66Stsutsui  char *p = (char *) htole32;
59171.63Sapb#endif
59181.19Sbjh21
59191.63Sapb  ;
59201.63Sapb  return 0;
59211.63Sapb}
59221.61Schristos_ACEOF
59231.63Sapbrm -f conftest.$ac_objext
59241.72Sapbif { (eval echo "$as_me:5924: \"$ac_compile\"") >&5
59251.66Stsutsui  (eval $ac_compile) 2>&5
59261.66Stsutsui  ac_status=$?
59271.72Sapb  echo "$as_me:5927: \$? = $ac_status" >&5
59281.66Stsutsui  (exit $ac_status); } &&
59291.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
59301.72Sapb  { (eval echo "$as_me:5930: \"$ac_try\"") >&5
59311.66Stsutsui  (eval $ac_try) 2>&5
59321.63Sapb  ac_status=$?
59331.72Sapb  echo "$as_me:5933: \$? = $ac_status" >&5
59341.66Stsutsui  (exit $ac_status); }; }; then
59351.63Sapb  ac_cv_have_decl_htole32=yes
59361.63Sapbelse
59371.63Sapb  echo "$as_me: failed program was:" >&5
59381.66Stsutsuicat conftest.$ac_ext >&5
59391.66Stsutsuiac_cv_have_decl_htole32=no
59401.63Sapbfi
59411.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
59421.63Sapbfi
59431.72Sapbecho "$as_me:5943: result: $ac_cv_have_decl_htole32" >&5
59441.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
59451.63Sapbif test $ac_cv_have_decl_htole32 = yes; then
59461.39Sfredb
59471.66Stsutsuicat >>confdefs.h <<EOF
59481.63Sapb#define HAVE_DECL_HTOLE32 1
59491.66StsutsuiEOF
59501.63Sapb
59511.63Sapbelse
59521.66Stsutsui  cat >>confdefs.h <<EOF
59531.63Sapb#define HAVE_DECL_HTOLE32 0
59541.66StsutsuiEOF
59551.61Schristos
59561.63Sapbfi
59571.72Sapbecho "$as_me:5957: checking whether htole64 is declared" >&5
59581.66Stsutsuiecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
59591.63Sapbif test "${ac_cv_have_decl_htole64+set}" = set; then
59601.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
59611.19Sbjh21else
59621.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
59631.72Sapb#line 5963 "configure"
59641.66Stsutsui#include "confdefs.h"
59651.63Sapb#include <sys/types.h>
59661.63Sapb
59671.63Sapbint
59681.63Sapbmain ()
59691.63Sapb{
59701.63Sapb#ifndef htole64
59711.66Stsutsui  char *p = (char *) htole64;
59721.19Sbjh21#endif
59731.19Sbjh21
59741.63Sapb  ;
59751.63Sapb  return 0;
59761.63Sapb}
59771.19Sbjh21_ACEOF
59781.63Sapbrm -f conftest.$ac_objext
59791.72Sapbif { (eval echo "$as_me:5979: \"$ac_compile\"") >&5
59801.66Stsutsui  (eval $ac_compile) 2>&5
59811.66Stsutsui  ac_status=$?
59821.72Sapb  echo "$as_me:5982: \$? = $ac_status" >&5
59831.66Stsutsui  (exit $ac_status); } &&
59841.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
59851.72Sapb  { (eval echo "$as_me:5985: \"$ac_try\"") >&5
59861.66Stsutsui  (eval $ac_try) 2>&5
59871.63Sapb  ac_status=$?
59881.72Sapb  echo "$as_me:5988: \$? = $ac_status" >&5
59891.66Stsutsui  (exit $ac_status); }; }; then
59901.63Sapb  ac_cv_have_decl_htole64=yes
59911.19Sbjh21else
59921.63Sapb  echo "$as_me: failed program was:" >&5
59931.66Stsutsuicat conftest.$ac_ext >&5
59941.66Stsutsuiac_cv_have_decl_htole64=no
59951.63Sapbfi
59961.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
59971.19Sbjh21fi
59981.72Sapbecho "$as_me:5998: result: $ac_cv_have_decl_htole64" >&5
59991.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
60001.63Sapbif test $ac_cv_have_decl_htole64 = yes; then
60011.63Sapb
60021.66Stsutsuicat >>confdefs.h <<EOF
60031.63Sapb#define HAVE_DECL_HTOLE64 1
60041.66StsutsuiEOF
60051.63Sapb
60061.63Sapbelse
60071.66Stsutsui  cat >>confdefs.h <<EOF
60081.63Sapb#define HAVE_DECL_HTOLE64 0
60091.66StsutsuiEOF
60101.19Sbjh21
60111.19Sbjh21fi
60121.72Sapbecho "$as_me:6012: checking whether be16toh is declared" >&5
60131.66Stsutsuiecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
60141.63Sapbif test "${ac_cv_have_decl_be16toh+set}" = set; then
60151.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
60161.19Sbjh21else
60171.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
60181.72Sapb#line 6018 "configure"
60191.66Stsutsui#include "confdefs.h"
60201.63Sapb#include <sys/types.h>
60211.61Schristos
60221.63Sapbint
60231.63Sapbmain ()
60241.61Schristos{
60251.63Sapb#ifndef be16toh
60261.66Stsutsui  char *p = (char *) be16toh;
60271.19Sbjh21#endif
60281.19Sbjh21
60291.19Sbjh21  ;
60301.19Sbjh21  return 0;
60311.19Sbjh21}
60321.19Sbjh21_ACEOF
60331.63Sapbrm -f conftest.$ac_objext
60341.72Sapbif { (eval echo "$as_me:6034: \"$ac_compile\"") >&5
60351.66Stsutsui  (eval $ac_compile) 2>&5
60361.66Stsutsui  ac_status=$?
60371.72Sapb  echo "$as_me:6037: \$? = $ac_status" >&5
60381.66Stsutsui  (exit $ac_status); } &&
60391.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
60401.72Sapb  { (eval echo "$as_me:6040: \"$ac_try\"") >&5
60411.66Stsutsui  (eval $ac_try) 2>&5
60421.61Schristos  ac_status=$?
60431.72Sapb  echo "$as_me:6043: \$? = $ac_status" >&5
60441.66Stsutsui  (exit $ac_status); }; }; then
60451.63Sapb  ac_cv_have_decl_be16toh=yes
60461.19Sbjh21else
60471.19Sbjh21  echo "$as_me: failed program was:" >&5
60481.66Stsutsuicat conftest.$ac_ext >&5
60491.66Stsutsuiac_cv_have_decl_be16toh=no
60501.19Sbjh21fi
60511.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
60521.19Sbjh21fi
60531.72Sapbecho "$as_me:6053: result: $ac_cv_have_decl_be16toh" >&5
60541.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
60551.63Sapbif test $ac_cv_have_decl_be16toh = yes; then
60561.19Sbjh21
60571.66Stsutsuicat >>confdefs.h <<EOF
60581.63Sapb#define HAVE_DECL_BE16TOH 1
60591.66StsutsuiEOF
60601.19Sbjh21
60611.63Sapbelse
60621.66Stsutsui  cat >>confdefs.h <<EOF
60631.63Sapb#define HAVE_DECL_BE16TOH 0
60641.66StsutsuiEOF
60651.19Sbjh21
60661.19Sbjh21fi
60671.72Sapbecho "$as_me:6067: checking whether be32toh is declared" >&5
60681.66Stsutsuiecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
60691.63Sapbif test "${ac_cv_have_decl_be32toh+set}" = set; then
60701.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
60711.19Sbjh21else
60721.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
60731.72Sapb#line 6073 "configure"
60741.66Stsutsui#include "confdefs.h"
60751.63Sapb#include <sys/types.h>
60761.19Sbjh21
60771.43Sdbjint
60781.43Sdbjmain ()
60791.43Sdbj{
60801.63Sapb#ifndef be32toh
60811.66Stsutsui  char *p = (char *) be32toh;
60821.63Sapb#endif
60831.63Sapb
60841.63Sapb  ;
60851.63Sapb  return 0;
60861.43Sdbj}
60871.43Sdbj_ACEOF
60881.63Sapbrm -f conftest.$ac_objext
60891.72Sapbif { (eval echo "$as_me:6089: \"$ac_compile\"") >&5
60901.66Stsutsui  (eval $ac_compile) 2>&5
60911.66Stsutsui  ac_status=$?
60921.72Sapb  echo "$as_me:6092: \$? = $ac_status" >&5
60931.66Stsutsui  (exit $ac_status); } &&
60941.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
60951.72Sapb  { (eval echo "$as_me:6095: \"$ac_try\"") >&5
60961.66Stsutsui  (eval $ac_try) 2>&5
60971.43Sdbj  ac_status=$?
60981.72Sapb  echo "$as_me:6098: \$? = $ac_status" >&5
60991.66Stsutsui  (exit $ac_status); }; }; then
61001.63Sapb  ac_cv_have_decl_be32toh=yes
61011.43Sdbjelse
61021.63Sapb  echo "$as_me: failed program was:" >&5
61031.66Stsutsuicat conftest.$ac_ext >&5
61041.66Stsutsuiac_cv_have_decl_be32toh=no
61051.43Sdbjfi
61061.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
61071.43Sdbjfi
61081.72Sapbecho "$as_me:6108: result: $ac_cv_have_decl_be32toh" >&5
61091.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
61101.63Sapbif test $ac_cv_have_decl_be32toh = yes; then
61111.39Sfredb
61121.66Stsutsuicat >>confdefs.h <<EOF
61131.63Sapb#define HAVE_DECL_BE32TOH 1
61141.66StsutsuiEOF
61151.61Schristos
61161.63Sapbelse
61171.66Stsutsui  cat >>confdefs.h <<EOF
61181.63Sapb#define HAVE_DECL_BE32TOH 0
61191.66StsutsuiEOF
61201.39Sfredb
61211.43Sdbjfi
61221.72Sapbecho "$as_me:6122: checking whether be64toh is declared" >&5
61231.66Stsutsuiecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
61241.63Sapbif test "${ac_cv_have_decl_be64toh+set}" = set; then
61251.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
61261.63Sapbelse
61271.63Sapb  cat >conftest.$ac_ext <<_ACEOF
61281.72Sapb#line 6128 "configure"
61291.66Stsutsui#include "confdefs.h"
61301.63Sapb#include <sys/types.h>
61311.40Satatat
61321.63Sapbint
61331.63Sapbmain ()
61341.63Sapb{
61351.63Sapb#ifndef be64toh
61361.66Stsutsui  char *p = (char *) be64toh;
61371.63Sapb#endif
61381.61Schristos
61391.63Sapb  ;
61401.63Sapb  return 0;
61411.63Sapb}
61421.63Sapb_ACEOF
61431.63Sapbrm -f conftest.$ac_objext
61441.72Sapbif { (eval echo "$as_me:6144: \"$ac_compile\"") >&5
61451.66Stsutsui  (eval $ac_compile) 2>&5
61461.66Stsutsui  ac_status=$?
61471.72Sapb  echo "$as_me:6147: \$? = $ac_status" >&5
61481.66Stsutsui  (exit $ac_status); } &&
61491.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
61501.72Sapb  { (eval echo "$as_me:6150: \"$ac_try\"") >&5
61511.66Stsutsui  (eval $ac_try) 2>&5
61521.63Sapb  ac_status=$?
61531.72Sapb  echo "$as_me:6153: \$? = $ac_status" >&5
61541.66Stsutsui  (exit $ac_status); }; }; then
61551.63Sapb  ac_cv_have_decl_be64toh=yes
61561.63Sapbelse
61571.63Sapb  echo "$as_me: failed program was:" >&5
61581.66Stsutsuicat conftest.$ac_ext >&5
61591.66Stsutsuiac_cv_have_decl_be64toh=no
61601.63Sapbfi
61611.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
61621.63Sapbfi
61631.72Sapbecho "$as_me:6163: result: $ac_cv_have_decl_be64toh" >&5
61641.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
61651.63Sapbif test $ac_cv_have_decl_be64toh = yes; then
61661.61Schristos
61671.66Stsutsuicat >>confdefs.h <<EOF
61681.63Sapb#define HAVE_DECL_BE64TOH 1
61691.66StsutsuiEOF
61701.61Schristos
61711.63Sapbelse
61721.66Stsutsui  cat >>confdefs.h <<EOF
61731.63Sapb#define HAVE_DECL_BE64TOH 0
61741.66StsutsuiEOF
61751.61Schristos
61761.63Sapbfi
61771.72Sapbecho "$as_me:6177: checking whether le16toh is declared" >&5
61781.66Stsutsuiecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
61791.63Sapbif test "${ac_cv_have_decl_le16toh+set}" = set; then
61801.63Sapb  echo $ECHO_N "(cached) $ECHO_C" >&6
61811.63Sapbelse
61821.63Sapb  cat >conftest.$ac_ext <<_ACEOF
61831.72Sapb#line 6183 "configure"
61841.66Stsutsui#include "confdefs.h"
61851.63Sapb#include <sys/types.h>
61861.61Schristos
61871.63Sapbint
61881.63Sapbmain ()
61891.63Sapb{
61901.63Sapb#ifndef le16toh
61911.66Stsutsui  char *p = (char *) le16toh;
61921.63Sapb#endif
61931.61Schristos
61941.63Sapb  ;
61951.63Sapb  return 0;
61961.63Sapb}
61971.63Sapb_ACEOF
61981.63Sapbrm -f conftest.$ac_objext
61991.72Sapbif { (eval echo "$as_me:6199: \"$ac_compile\"") >&5
62001.66Stsutsui  (eval $ac_compile) 2>&5
62011.66Stsutsui  ac_status=$?
62021.72Sapb  echo "$as_me:6202: \$? = $ac_status" >&5
62031.66Stsutsui  (exit $ac_status); } &&
62041.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
62051.72Sapb  { (eval echo "$as_me:6205: \"$ac_try\"") >&5
62061.66Stsutsui  (eval $ac_try) 2>&5
62071.63Sapb  ac_status=$?
62081.72Sapb  echo "$as_me:6208: \$? = $ac_status" >&5
62091.66Stsutsui  (exit $ac_status); }; }; then
62101.63Sapb  ac_cv_have_decl_le16toh=yes
62111.63Sapbelse
62121.63Sapb  echo "$as_me: failed program was:" >&5
62131.66Stsutsuicat conftest.$ac_ext >&5
62141.66Stsutsuiac_cv_have_decl_le16toh=no
62151.63Sapbfi
62161.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
62171.63Sapbfi
62181.72Sapbecho "$as_me:6218: result: $ac_cv_have_decl_le16toh" >&5
62191.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
62201.63Sapbif test $ac_cv_have_decl_le16toh = yes; then
62211.61Schristos
62221.66Stsutsuicat >>confdefs.h <<EOF
62231.63Sapb#define HAVE_DECL_LE16TOH 1
62241.66StsutsuiEOF
62251.61Schristos
62261.63Sapbelse
62271.66Stsutsui  cat >>confdefs.h <<EOF
62281.63Sapb#define HAVE_DECL_LE16TOH 0
62291.66StsutsuiEOF
62301.61Schristos
62311.63Sapbfi
62321.72Sapbecho "$as_me:6232: checking whether le32toh is declared" >&5
62331.66Stsutsuiecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
62341.63Sapbif test "${ac_cv_have_decl_le32toh+set}" = set; then
62351.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
62361.45Sjmcelse
62371.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
62381.72Sapb#line 6238 "configure"
62391.66Stsutsui#include "confdefs.h"
62401.63Sapb#include <sys/types.h>
62411.61Schristos
62421.63Sapbint
62431.63Sapbmain ()
62441.61Schristos{
62451.63Sapb#ifndef le32toh
62461.66Stsutsui  char *p = (char *) le32toh;
62471.45Sjmc#endif
62481.45Sjmc
62491.45Sjmc  ;
62501.45Sjmc  return 0;
62511.45Sjmc}
62521.45Sjmc_ACEOF
62531.63Sapbrm -f conftest.$ac_objext
62541.72Sapbif { (eval echo "$as_me:6254: \"$ac_compile\"") >&5
62551.66Stsutsui  (eval $ac_compile) 2>&5
62561.66Stsutsui  ac_status=$?
62571.72Sapb  echo "$as_me:6257: \$? = $ac_status" >&5
62581.66Stsutsui  (exit $ac_status); } &&
62591.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
62601.72Sapb  { (eval echo "$as_me:6260: \"$ac_try\"") >&5
62611.66Stsutsui  (eval $ac_try) 2>&5
62621.45Sjmc  ac_status=$?
62631.72Sapb  echo "$as_me:6263: \$? = $ac_status" >&5
62641.66Stsutsui  (exit $ac_status); }; }; then
62651.63Sapb  ac_cv_have_decl_le32toh=yes
62661.45Sjmcelse
62671.45Sjmc  echo "$as_me: failed program was:" >&5
62681.66Stsutsuicat conftest.$ac_ext >&5
62691.66Stsutsuiac_cv_have_decl_le32toh=no
62701.45Sjmcfi
62711.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
62721.45Sjmcfi
62731.72Sapbecho "$as_me:6273: result: $ac_cv_have_decl_le32toh" >&5
62741.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
62751.63Sapbif test $ac_cv_have_decl_le32toh = yes; then
62761.45Sjmc
62771.66Stsutsuicat >>confdefs.h <<EOF
62781.63Sapb#define HAVE_DECL_LE32TOH 1
62791.66StsutsuiEOF
62801.45Sjmc
62811.63Sapbelse
62821.66Stsutsui  cat >>confdefs.h <<EOF
62831.63Sapb#define HAVE_DECL_LE32TOH 0
62841.66StsutsuiEOF
62851.61Schristos
62861.63Sapbfi
62871.72Sapbecho "$as_me:6287: checking whether le64toh is declared" >&5
62881.66Stsutsuiecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
62891.63Sapbif test "${ac_cv_have_decl_le64toh+set}" = set; then
62901.55Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
62911.55Swizelse
62921.55Swiz  cat >conftest.$ac_ext <<_ACEOF
62931.72Sapb#line 6293 "configure"
62941.66Stsutsui#include "confdefs.h"
62951.63Sapb#include <sys/types.h>
62961.55Swiz
62971.55Swizint
62981.55Swizmain ()
62991.55Swiz{
63001.63Sapb#ifndef le64toh
63011.66Stsutsui  char *p = (char *) le64toh;
63021.55Swiz#endif
63031.55Swiz
63041.55Swiz  ;
63051.55Swiz  return 0;
63061.55Swiz}
63071.55Swiz_ACEOF
63081.55Swizrm -f conftest.$ac_objext
63091.72Sapbif { (eval echo "$as_me:6309: \"$ac_compile\"") >&5
63101.66Stsutsui  (eval $ac_compile) 2>&5
63111.66Stsutsui  ac_status=$?
63121.72Sapb  echo "$as_me:6312: \$? = $ac_status" >&5
63131.66Stsutsui  (exit $ac_status); } &&
63141.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
63151.72Sapb  { (eval echo "$as_me:6315: \"$ac_try\"") >&5
63161.66Stsutsui  (eval $ac_try) 2>&5
63171.55Swiz  ac_status=$?
63181.72Sapb  echo "$as_me:6318: \$? = $ac_status" >&5
63191.66Stsutsui  (exit $ac_status); }; }; then
63201.63Sapb  ac_cv_have_decl_le64toh=yes
63211.55Swizelse
63221.55Swiz  echo "$as_me: failed program was:" >&5
63231.66Stsutsuicat conftest.$ac_ext >&5
63241.66Stsutsuiac_cv_have_decl_le64toh=no
63251.55Swizfi
63261.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
63271.55Swizfi
63281.72Sapbecho "$as_me:6328: result: $ac_cv_have_decl_le64toh" >&5
63291.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
63301.63Sapbif test $ac_cv_have_decl_le64toh = yes; then
63311.61Schristos
63321.66Stsutsuicat >>confdefs.h <<EOF
63331.63Sapb#define HAVE_DECL_LE64TOH 1
63341.66StsutsuiEOF
63351.55Swiz
63361.55Swizelse
63371.66Stsutsui  cat >>confdefs.h <<EOF
63381.63Sapb#define HAVE_DECL_LE64TOH 0
63391.66StsutsuiEOF
63401.55Swiz
63411.55Swizfi
63421.55Swiz
63431.72Sapbecho "$as_me:6343: checking whether bswap16 is declared" >&5
63441.66Stsutsuiecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
63451.63Sapbif test "${ac_cv_have_decl_bswap16+set}" = set; then
63461.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
63471.45Sjmcelse
63481.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
63491.72Sapb#line 6349 "configure"
63501.66Stsutsui#include "confdefs.h"
63511.63Sapb#include <machine/bswap.h>
63521.53Sdogcow
63531.52Sdbjint
63541.52Sdbjmain ()
63551.52Sdbj{
63561.63Sapb#ifndef bswap16
63571.66Stsutsui  char *p = (char *) bswap16;
63581.48Sjmc#endif
63591.45Sjmc
63601.48Sjmc  ;
63611.48Sjmc  return 0;
63621.48Sjmc}
63631.48Sjmc_ACEOF
63641.53Sdogcowrm -f conftest.$ac_objext
63651.72Sapbif { (eval echo "$as_me:6365: \"$ac_compile\"") >&5
63661.66Stsutsui  (eval $ac_compile) 2>&5
63671.66Stsutsui  ac_status=$?
63681.72Sapb  echo "$as_me:6368: \$? = $ac_status" >&5
63691.66Stsutsui  (exit $ac_status); } &&
63701.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
63711.72Sapb  { (eval echo "$as_me:6371: \"$ac_try\"") >&5
63721.66Stsutsui  (eval $ac_try) 2>&5
63731.48Sjmc  ac_status=$?
63741.72Sapb  echo "$as_me:6374: \$? = $ac_status" >&5
63751.66Stsutsui  (exit $ac_status); }; }; then
63761.63Sapb  ac_cv_have_decl_bswap16=yes
63771.48Sjmcelse
63781.48Sjmc  echo "$as_me: failed program was:" >&5
63791.66Stsutsuicat conftest.$ac_ext >&5
63801.66Stsutsuiac_cv_have_decl_bswap16=no
63811.48Sjmcfi
63821.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
63831.48Sjmcfi
63841.72Sapbecho "$as_me:6384: result: $ac_cv_have_decl_bswap16" >&5
63851.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
63861.63Sapbif test $ac_cv_have_decl_bswap16 = yes; then
63871.61Schristos
63881.66Stsutsuicat >>confdefs.h <<EOF
63891.63Sapb#define HAVE_DECL_BSWAP16 1
63901.66StsutsuiEOF
63911.53Sdogcow
63921.53Sdogcowelse
63931.66Stsutsui  cat >>confdefs.h <<EOF
63941.63Sapb#define HAVE_DECL_BSWAP16 0
63951.66StsutsuiEOF
63961.48Sjmc
63971.48Sjmcfi
63981.72Sapbecho "$as_me:6398: checking whether bswap32 is declared" >&5
63991.66Stsutsuiecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
64001.63Sapbif test "${ac_cv_have_decl_bswap32+set}" = set; then
64011.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
64021.48Sjmcelse
64031.48Sjmc  cat >conftest.$ac_ext <<_ACEOF
64041.72Sapb#line 6404 "configure"
64051.66Stsutsui#include "confdefs.h"
64061.63Sapb#include <machine/bswap.h>
64071.53Sdogcow
64081.53Sdogcowint
64091.53Sdogcowmain ()
64101.53Sdogcow{
64111.63Sapb#ifndef bswap32
64121.66Stsutsui  char *p = (char *) bswap32;
64131.53Sdogcow#endif
64141.53Sdogcow
64151.53Sdogcow  ;
64161.53Sdogcow  return 0;
64171.53Sdogcow}
64181.53Sdogcow_ACEOF
64191.53Sdogcowrm -f conftest.$ac_objext
64201.72Sapbif { (eval echo "$as_me:6420: \"$ac_compile\"") >&5
64211.66Stsutsui  (eval $ac_compile) 2>&5
64221.66Stsutsui  ac_status=$?
64231.72Sapb  echo "$as_me:6423: \$? = $ac_status" >&5
64241.66Stsutsui  (exit $ac_status); } &&
64251.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
64261.72Sapb  { (eval echo "$as_me:6426: \"$ac_try\"") >&5
64271.66Stsutsui  (eval $ac_try) 2>&5
64281.53Sdogcow  ac_status=$?
64291.72Sapb  echo "$as_me:6429: \$? = $ac_status" >&5
64301.66Stsutsui  (exit $ac_status); }; }; then
64311.63Sapb  ac_cv_have_decl_bswap32=yes
64321.53Sdogcowelse
64331.53Sdogcow  echo "$as_me: failed program was:" >&5
64341.66Stsutsuicat conftest.$ac_ext >&5
64351.66Stsutsuiac_cv_have_decl_bswap32=no
64361.53Sdogcowfi
64371.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
64381.53Sdogcowfi
64391.72Sapbecho "$as_me:6439: result: $ac_cv_have_decl_bswap32" >&5
64401.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
64411.63Sapbif test $ac_cv_have_decl_bswap32 = yes; then
64421.61Schristos
64431.66Stsutsuicat >>confdefs.h <<EOF
64441.63Sapb#define HAVE_DECL_BSWAP32 1
64451.66StsutsuiEOF
64461.53Sdogcow
64471.53Sdogcowelse
64481.66Stsutsui  cat >>confdefs.h <<EOF
64491.63Sapb#define HAVE_DECL_BSWAP32 0
64501.66StsutsuiEOF
64511.53Sdogcow
64521.53Sdogcowfi
64531.72Sapbecho "$as_me:6453: checking whether bswap64 is declared" >&5
64541.66Stsutsuiecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
64551.63Sapbif test "${ac_cv_have_decl_bswap64+set}" = set; then
64561.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
64571.53Sdogcowelse
64581.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
64591.72Sapb#line 6459 "configure"
64601.66Stsutsui#include "confdefs.h"
64611.63Sapb#include <machine/bswap.h>
64621.53Sdogcow
64631.53Sdogcowint
64641.53Sdogcowmain ()
64651.53Sdogcow{
64661.63Sapb#ifndef bswap64
64671.66Stsutsui  char *p = (char *) bswap64;
64681.53Sdogcow#endif
64691.53Sdogcow
64701.53Sdogcow  ;
64711.53Sdogcow  return 0;
64721.53Sdogcow}
64731.53Sdogcow_ACEOF
64741.53Sdogcowrm -f conftest.$ac_objext
64751.72Sapbif { (eval echo "$as_me:6475: \"$ac_compile\"") >&5
64761.66Stsutsui  (eval $ac_compile) 2>&5
64771.66Stsutsui  ac_status=$?
64781.72Sapb  echo "$as_me:6478: \$? = $ac_status" >&5
64791.66Stsutsui  (exit $ac_status); } &&
64801.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
64811.72Sapb  { (eval echo "$as_me:6481: \"$ac_try\"") >&5
64821.66Stsutsui  (eval $ac_try) 2>&5
64831.53Sdogcow  ac_status=$?
64841.72Sapb  echo "$as_me:6484: \$? = $ac_status" >&5
64851.66Stsutsui  (exit $ac_status); }; }; then
64861.63Sapb  ac_cv_have_decl_bswap64=yes
64871.53Sdogcowelse
64881.53Sdogcow  echo "$as_me: failed program was:" >&5
64891.66Stsutsuicat conftest.$ac_ext >&5
64901.66Stsutsuiac_cv_have_decl_bswap64=no
64911.53Sdogcowfi
64921.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
64931.53Sdogcowfi
64941.72Sapbecho "$as_me:6494: result: $ac_cv_have_decl_bswap64" >&5
64951.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
64961.63Sapbif test $ac_cv_have_decl_bswap64 = yes; then
64971.61Schristos
64981.66Stsutsuicat >>confdefs.h <<EOF
64991.63Sapb#define HAVE_DECL_BSWAP64 1
65001.66StsutsuiEOF
65011.53Sdogcow
65021.53Sdogcowelse
65031.66Stsutsui  cat >>confdefs.h <<EOF
65041.63Sapb#define HAVE_DECL_BSWAP64 0
65051.66StsutsuiEOF
65061.61Schristos
65071.63Sapbfi
65081.53Sdogcow
65091.72Sapbecho "$as_me:6509: checking whether be16enc is declared" >&5
65101.66Stsutsuiecho $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
65111.63Sapbif test "${ac_cv_have_decl_be16enc+set}" = set; then
65121.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
65131.53Sdogcowelse
65141.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
65151.72Sapb#line 6515 "configure"
65161.66Stsutsui#include "confdefs.h"
65171.63Sapb#include <sys/endian.h>
65181.53Sdogcow
65191.53Sdogcowint
65201.53Sdogcowmain ()
65211.53Sdogcow{
65221.63Sapb#ifndef be16enc
65231.66Stsutsui  char *p = (char *) be16enc;
65241.53Sdogcow#endif
65251.53Sdogcow
65261.53Sdogcow  ;
65271.53Sdogcow  return 0;
65281.53Sdogcow}
65291.53Sdogcow_ACEOF
65301.53Sdogcowrm -f conftest.$ac_objext
65311.72Sapbif { (eval echo "$as_me:6531: \"$ac_compile\"") >&5
65321.66Stsutsui  (eval $ac_compile) 2>&5
65331.66Stsutsui  ac_status=$?
65341.72Sapb  echo "$as_me:6534: \$? = $ac_status" >&5
65351.66Stsutsui  (exit $ac_status); } &&
65361.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
65371.72Sapb  { (eval echo "$as_me:6537: \"$ac_try\"") >&5
65381.66Stsutsui  (eval $ac_try) 2>&5
65391.53Sdogcow  ac_status=$?
65401.72Sapb  echo "$as_me:6540: \$? = $ac_status" >&5
65411.66Stsutsui  (exit $ac_status); }; }; then
65421.63Sapb  ac_cv_have_decl_be16enc=yes
65431.53Sdogcowelse
65441.53Sdogcow  echo "$as_me: failed program was:" >&5
65451.66Stsutsuicat conftest.$ac_ext >&5
65461.66Stsutsuiac_cv_have_decl_be16enc=no
65471.53Sdogcowfi
65481.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
65491.53Sdogcowfi
65501.72Sapbecho "$as_me:6550: result: $ac_cv_have_decl_be16enc" >&5
65511.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
65521.63Sapbif test $ac_cv_have_decl_be16enc = yes; then
65531.61Schristos
65541.66Stsutsuicat >>confdefs.h <<EOF
65551.63Sapb#define HAVE_DECL_BE16ENC 1
65561.66StsutsuiEOF
65571.53Sdogcow
65581.53Sdogcowelse
65591.66Stsutsui  cat >>confdefs.h <<EOF
65601.63Sapb#define HAVE_DECL_BE16ENC 0
65611.66StsutsuiEOF
65621.53Sdogcow
65631.53Sdogcowfi
65641.72Sapbecho "$as_me:6564: checking whether le16enc is declared" >&5
65651.66Stsutsuiecho $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
65661.63Sapbif test "${ac_cv_have_decl_le16enc+set}" = set; then
65671.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
65681.53Sdogcowelse
65691.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
65701.72Sapb#line 6570 "configure"
65711.66Stsutsui#include "confdefs.h"
65721.63Sapb#include <sys/endian.h>
65731.53Sdogcow
65741.53Sdogcowint
65751.53Sdogcowmain ()
65761.53Sdogcow{
65771.63Sapb#ifndef le16enc
65781.66Stsutsui  char *p = (char *) le16enc;
65791.53Sdogcow#endif
65801.53Sdogcow
65811.53Sdogcow  ;
65821.53Sdogcow  return 0;
65831.53Sdogcow}
65841.53Sdogcow_ACEOF
65851.53Sdogcowrm -f conftest.$ac_objext
65861.72Sapbif { (eval echo "$as_me:6586: \"$ac_compile\"") >&5
65871.66Stsutsui  (eval $ac_compile) 2>&5
65881.66Stsutsui  ac_status=$?
65891.72Sapb  echo "$as_me:6589: \$? = $ac_status" >&5
65901.66Stsutsui  (exit $ac_status); } &&
65911.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
65921.72Sapb  { (eval echo "$as_me:6592: \"$ac_try\"") >&5
65931.66Stsutsui  (eval $ac_try) 2>&5
65941.53Sdogcow  ac_status=$?
65951.72Sapb  echo "$as_me:6595: \$? = $ac_status" >&5
65961.66Stsutsui  (exit $ac_status); }; }; then
65971.63Sapb  ac_cv_have_decl_le16enc=yes
65981.53Sdogcowelse
65991.53Sdogcow  echo "$as_me: failed program was:" >&5
66001.66Stsutsuicat conftest.$ac_ext >&5
66011.66Stsutsuiac_cv_have_decl_le16enc=no
66021.53Sdogcowfi
66031.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
66041.53Sdogcowfi
66051.72Sapbecho "$as_me:6605: result: $ac_cv_have_decl_le16enc" >&5
66061.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
66071.63Sapbif test $ac_cv_have_decl_le16enc = yes; then
66081.61Schristos
66091.66Stsutsuicat >>confdefs.h <<EOF
66101.63Sapb#define HAVE_DECL_LE16ENC 1
66111.66StsutsuiEOF
66121.53Sdogcow
66131.53Sdogcowelse
66141.66Stsutsui  cat >>confdefs.h <<EOF
66151.63Sapb#define HAVE_DECL_LE16ENC 0
66161.66StsutsuiEOF
66171.53Sdogcow
66181.53Sdogcowfi
66191.72Sapbecho "$as_me:6619: checking whether be16dec is declared" >&5
66201.66Stsutsuiecho $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
66211.63Sapbif test "${ac_cv_have_decl_be16dec+set}" = set; then
66221.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
66231.53Sdogcowelse
66241.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
66251.72Sapb#line 6625 "configure"
66261.66Stsutsui#include "confdefs.h"
66271.63Sapb#include <sys/endian.h>
66281.53Sdogcow
66291.53Sdogcowint
66301.53Sdogcowmain ()
66311.53Sdogcow{
66321.63Sapb#ifndef be16dec
66331.66Stsutsui  char *p = (char *) be16dec;
66341.53Sdogcow#endif
66351.53Sdogcow
66361.53Sdogcow  ;
66371.53Sdogcow  return 0;
66381.53Sdogcow}
66391.53Sdogcow_ACEOF
66401.53Sdogcowrm -f conftest.$ac_objext
66411.72Sapbif { (eval echo "$as_me:6641: \"$ac_compile\"") >&5
66421.66Stsutsui  (eval $ac_compile) 2>&5
66431.66Stsutsui  ac_status=$?
66441.72Sapb  echo "$as_me:6644: \$? = $ac_status" >&5
66451.66Stsutsui  (exit $ac_status); } &&
66461.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
66471.72Sapb  { (eval echo "$as_me:6647: \"$ac_try\"") >&5
66481.66Stsutsui  (eval $ac_try) 2>&5
66491.53Sdogcow  ac_status=$?
66501.72Sapb  echo "$as_me:6650: \$? = $ac_status" >&5
66511.66Stsutsui  (exit $ac_status); }; }; then
66521.63Sapb  ac_cv_have_decl_be16dec=yes
66531.53Sdogcowelse
66541.53Sdogcow  echo "$as_me: failed program was:" >&5
66551.66Stsutsuicat conftest.$ac_ext >&5
66561.66Stsutsuiac_cv_have_decl_be16dec=no
66571.53Sdogcowfi
66581.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
66591.53Sdogcowfi
66601.72Sapbecho "$as_me:6660: result: $ac_cv_have_decl_be16dec" >&5
66611.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
66621.63Sapbif test $ac_cv_have_decl_be16dec = yes; then
66631.61Schristos
66641.66Stsutsuicat >>confdefs.h <<EOF
66651.63Sapb#define HAVE_DECL_BE16DEC 1
66661.66StsutsuiEOF
66671.53Sdogcow
66681.53Sdogcowelse
66691.66Stsutsui  cat >>confdefs.h <<EOF
66701.63Sapb#define HAVE_DECL_BE16DEC 0
66711.66StsutsuiEOF
66721.53Sdogcow
66731.53Sdogcowfi
66741.72Sapbecho "$as_me:6674: checking whether le16dec is declared" >&5
66751.66Stsutsuiecho $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
66761.63Sapbif test "${ac_cv_have_decl_le16dec+set}" = set; then
66771.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
66781.53Sdogcowelse
66791.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
66801.72Sapb#line 6680 "configure"
66811.66Stsutsui#include "confdefs.h"
66821.63Sapb#include <sys/endian.h>
66831.53Sdogcow
66841.53Sdogcowint
66851.53Sdogcowmain ()
66861.53Sdogcow{
66871.63Sapb#ifndef le16dec
66881.66Stsutsui  char *p = (char *) le16dec;
66891.53Sdogcow#endif
66901.53Sdogcow
66911.53Sdogcow  ;
66921.53Sdogcow  return 0;
66931.53Sdogcow}
66941.53Sdogcow_ACEOF
66951.53Sdogcowrm -f conftest.$ac_objext
66961.72Sapbif { (eval echo "$as_me:6696: \"$ac_compile\"") >&5
66971.66Stsutsui  (eval $ac_compile) 2>&5
66981.66Stsutsui  ac_status=$?
66991.72Sapb  echo "$as_me:6699: \$? = $ac_status" >&5
67001.66Stsutsui  (exit $ac_status); } &&
67011.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
67021.72Sapb  { (eval echo "$as_me:6702: \"$ac_try\"") >&5
67031.66Stsutsui  (eval $ac_try) 2>&5
67041.53Sdogcow  ac_status=$?
67051.72Sapb  echo "$as_me:6705: \$? = $ac_status" >&5
67061.66Stsutsui  (exit $ac_status); }; }; then
67071.63Sapb  ac_cv_have_decl_le16dec=yes
67081.53Sdogcowelse
67091.53Sdogcow  echo "$as_me: failed program was:" >&5
67101.66Stsutsuicat conftest.$ac_ext >&5
67111.66Stsutsuiac_cv_have_decl_le16dec=no
67121.53Sdogcowfi
67131.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
67141.53Sdogcowfi
67151.72Sapbecho "$as_me:6715: result: $ac_cv_have_decl_le16dec" >&5
67161.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
67171.63Sapbif test $ac_cv_have_decl_le16dec = yes; then
67181.61Schristos
67191.66Stsutsuicat >>confdefs.h <<EOF
67201.63Sapb#define HAVE_DECL_LE16DEC 1
67211.66StsutsuiEOF
67221.53Sdogcow
67231.53Sdogcowelse
67241.66Stsutsui  cat >>confdefs.h <<EOF
67251.63Sapb#define HAVE_DECL_LE16DEC 0
67261.66StsutsuiEOF
67271.53Sdogcow
67281.53Sdogcowfi
67291.72Sapbecho "$as_me:6729: checking whether be32enc is declared" >&5
67301.66Stsutsuiecho $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
67311.63Sapbif test "${ac_cv_have_decl_be32enc+set}" = set; then
67321.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
67331.53Sdogcowelse
67341.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
67351.72Sapb#line 6735 "configure"
67361.66Stsutsui#include "confdefs.h"
67371.63Sapb#include <sys/endian.h>
67381.53Sdogcow
67391.53Sdogcowint
67401.53Sdogcowmain ()
67411.53Sdogcow{
67421.63Sapb#ifndef be32enc
67431.66Stsutsui  char *p = (char *) be32enc;
67441.53Sdogcow#endif
67451.53Sdogcow
67461.53Sdogcow  ;
67471.53Sdogcow  return 0;
67481.53Sdogcow}
67491.53Sdogcow_ACEOF
67501.53Sdogcowrm -f conftest.$ac_objext
67511.72Sapbif { (eval echo "$as_me:6751: \"$ac_compile\"") >&5
67521.66Stsutsui  (eval $ac_compile) 2>&5
67531.66Stsutsui  ac_status=$?
67541.72Sapb  echo "$as_me:6754: \$? = $ac_status" >&5
67551.66Stsutsui  (exit $ac_status); } &&
67561.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
67571.72Sapb  { (eval echo "$as_me:6757: \"$ac_try\"") >&5
67581.66Stsutsui  (eval $ac_try) 2>&5
67591.53Sdogcow  ac_status=$?
67601.72Sapb  echo "$as_me:6760: \$? = $ac_status" >&5
67611.66Stsutsui  (exit $ac_status); }; }; then
67621.63Sapb  ac_cv_have_decl_be32enc=yes
67631.53Sdogcowelse
67641.53Sdogcow  echo "$as_me: failed program was:" >&5
67651.66Stsutsuicat conftest.$ac_ext >&5
67661.66Stsutsuiac_cv_have_decl_be32enc=no
67671.53Sdogcowfi
67681.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
67691.53Sdogcowfi
67701.72Sapbecho "$as_me:6770: result: $ac_cv_have_decl_be32enc" >&5
67711.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
67721.63Sapbif test $ac_cv_have_decl_be32enc = yes; then
67731.61Schristos
67741.66Stsutsuicat >>confdefs.h <<EOF
67751.63Sapb#define HAVE_DECL_BE32ENC 1
67761.66StsutsuiEOF
67771.53Sdogcow
67781.53Sdogcowelse
67791.66Stsutsui  cat >>confdefs.h <<EOF
67801.63Sapb#define HAVE_DECL_BE32ENC 0
67811.66StsutsuiEOF
67821.53Sdogcow
67831.53Sdogcowfi
67841.72Sapbecho "$as_me:6784: checking whether le32enc is declared" >&5
67851.66Stsutsuiecho $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
67861.63Sapbif test "${ac_cv_have_decl_le32enc+set}" = set; then
67871.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
67881.53Sdogcowelse
67891.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
67901.72Sapb#line 6790 "configure"
67911.66Stsutsui#include "confdefs.h"
67921.63Sapb#include <sys/endian.h>
67931.53Sdogcow
67941.53Sdogcowint
67951.53Sdogcowmain ()
67961.53Sdogcow{
67971.63Sapb#ifndef le32enc
67981.66Stsutsui  char *p = (char *) le32enc;
67991.53Sdogcow#endif
68001.53Sdogcow
68011.53Sdogcow  ;
68021.53Sdogcow  return 0;
68031.53Sdogcow}
68041.53Sdogcow_ACEOF
68051.53Sdogcowrm -f conftest.$ac_objext
68061.72Sapbif { (eval echo "$as_me:6806: \"$ac_compile\"") >&5
68071.66Stsutsui  (eval $ac_compile) 2>&5
68081.66Stsutsui  ac_status=$?
68091.72Sapb  echo "$as_me:6809: \$? = $ac_status" >&5
68101.66Stsutsui  (exit $ac_status); } &&
68111.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
68121.72Sapb  { (eval echo "$as_me:6812: \"$ac_try\"") >&5
68131.66Stsutsui  (eval $ac_try) 2>&5
68141.53Sdogcow  ac_status=$?
68151.72Sapb  echo "$as_me:6815: \$? = $ac_status" >&5
68161.66Stsutsui  (exit $ac_status); }; }; then
68171.63Sapb  ac_cv_have_decl_le32enc=yes
68181.53Sdogcowelse
68191.53Sdogcow  echo "$as_me: failed program was:" >&5
68201.66Stsutsuicat conftest.$ac_ext >&5
68211.66Stsutsuiac_cv_have_decl_le32enc=no
68221.53Sdogcowfi
68231.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
68241.53Sdogcowfi
68251.72Sapbecho "$as_me:6825: result: $ac_cv_have_decl_le32enc" >&5
68261.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
68271.63Sapbif test $ac_cv_have_decl_le32enc = yes; then
68281.61Schristos
68291.66Stsutsuicat >>confdefs.h <<EOF
68301.63Sapb#define HAVE_DECL_LE32ENC 1
68311.66StsutsuiEOF
68321.53Sdogcow
68331.53Sdogcowelse
68341.66Stsutsui  cat >>confdefs.h <<EOF
68351.63Sapb#define HAVE_DECL_LE32ENC 0
68361.66StsutsuiEOF
68371.53Sdogcow
68381.53Sdogcowfi
68391.72Sapbecho "$as_me:6839: checking whether be32dec is declared" >&5
68401.66Stsutsuiecho $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
68411.63Sapbif test "${ac_cv_have_decl_be32dec+set}" = set; then
68421.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
68431.53Sdogcowelse
68441.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
68451.72Sapb#line 6845 "configure"
68461.66Stsutsui#include "confdefs.h"
68471.63Sapb#include <sys/endian.h>
68481.53Sdogcow
68491.53Sdogcowint
68501.53Sdogcowmain ()
68511.53Sdogcow{
68521.63Sapb#ifndef be32dec
68531.66Stsutsui  char *p = (char *) be32dec;
68541.53Sdogcow#endif
68551.53Sdogcow
68561.53Sdogcow  ;
68571.53Sdogcow  return 0;
68581.53Sdogcow}
68591.53Sdogcow_ACEOF
68601.53Sdogcowrm -f conftest.$ac_objext
68611.72Sapbif { (eval echo "$as_me:6861: \"$ac_compile\"") >&5
68621.66Stsutsui  (eval $ac_compile) 2>&5
68631.66Stsutsui  ac_status=$?
68641.72Sapb  echo "$as_me:6864: \$? = $ac_status" >&5
68651.66Stsutsui  (exit $ac_status); } &&
68661.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
68671.72Sapb  { (eval echo "$as_me:6867: \"$ac_try\"") >&5
68681.66Stsutsui  (eval $ac_try) 2>&5
68691.53Sdogcow  ac_status=$?
68701.72Sapb  echo "$as_me:6870: \$? = $ac_status" >&5
68711.66Stsutsui  (exit $ac_status); }; }; then
68721.63Sapb  ac_cv_have_decl_be32dec=yes
68731.53Sdogcowelse
68741.53Sdogcow  echo "$as_me: failed program was:" >&5
68751.66Stsutsuicat conftest.$ac_ext >&5
68761.66Stsutsuiac_cv_have_decl_be32dec=no
68771.53Sdogcowfi
68781.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
68791.53Sdogcowfi
68801.72Sapbecho "$as_me:6880: result: $ac_cv_have_decl_be32dec" >&5
68811.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
68821.63Sapbif test $ac_cv_have_decl_be32dec = yes; then
68831.61Schristos
68841.66Stsutsuicat >>confdefs.h <<EOF
68851.63Sapb#define HAVE_DECL_BE32DEC 1
68861.66StsutsuiEOF
68871.53Sdogcow
68881.53Sdogcowelse
68891.66Stsutsui  cat >>confdefs.h <<EOF
68901.63Sapb#define HAVE_DECL_BE32DEC 0
68911.66StsutsuiEOF
68921.53Sdogcow
68931.53Sdogcowfi
68941.72Sapbecho "$as_me:6894: checking whether le32dec is declared" >&5
68951.66Stsutsuiecho $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
68961.63Sapbif test "${ac_cv_have_decl_le32dec+set}" = set; then
68971.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
68981.53Sdogcowelse
68991.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
69001.72Sapb#line 6900 "configure"
69011.66Stsutsui#include "confdefs.h"
69021.63Sapb#include <sys/endian.h>
69031.53Sdogcow
69041.53Sdogcowint
69051.53Sdogcowmain ()
69061.53Sdogcow{
69071.63Sapb#ifndef le32dec
69081.66Stsutsui  char *p = (char *) le32dec;
69091.53Sdogcow#endif
69101.53Sdogcow
69111.53Sdogcow  ;
69121.53Sdogcow  return 0;
69131.53Sdogcow}
69141.53Sdogcow_ACEOF
69151.53Sdogcowrm -f conftest.$ac_objext
69161.72Sapbif { (eval echo "$as_me:6916: \"$ac_compile\"") >&5
69171.66Stsutsui  (eval $ac_compile) 2>&5
69181.66Stsutsui  ac_status=$?
69191.72Sapb  echo "$as_me:6919: \$? = $ac_status" >&5
69201.66Stsutsui  (exit $ac_status); } &&
69211.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
69221.72Sapb  { (eval echo "$as_me:6922: \"$ac_try\"") >&5
69231.66Stsutsui  (eval $ac_try) 2>&5
69241.53Sdogcow  ac_status=$?
69251.72Sapb  echo "$as_me:6925: \$? = $ac_status" >&5
69261.66Stsutsui  (exit $ac_status); }; }; then
69271.63Sapb  ac_cv_have_decl_le32dec=yes
69281.53Sdogcowelse
69291.53Sdogcow  echo "$as_me: failed program was:" >&5
69301.66Stsutsuicat conftest.$ac_ext >&5
69311.66Stsutsuiac_cv_have_decl_le32dec=no
69321.53Sdogcowfi
69331.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
69341.53Sdogcowfi
69351.72Sapbecho "$as_me:6935: result: $ac_cv_have_decl_le32dec" >&5
69361.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
69371.63Sapbif test $ac_cv_have_decl_le32dec = yes; then
69381.61Schristos
69391.66Stsutsuicat >>confdefs.h <<EOF
69401.63Sapb#define HAVE_DECL_LE32DEC 1
69411.66StsutsuiEOF
69421.53Sdogcow
69431.53Sdogcowelse
69441.66Stsutsui  cat >>confdefs.h <<EOF
69451.63Sapb#define HAVE_DECL_LE32DEC 0
69461.66StsutsuiEOF
69471.53Sdogcow
69481.53Sdogcowfi
69491.72Sapbecho "$as_me:6949: checking whether be64enc is declared" >&5
69501.66Stsutsuiecho $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
69511.63Sapbif test "${ac_cv_have_decl_be64enc+set}" = set; then
69521.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
69531.53Sdogcowelse
69541.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
69551.72Sapb#line 6955 "configure"
69561.66Stsutsui#include "confdefs.h"
69571.63Sapb#include <sys/endian.h>
69581.53Sdogcow
69591.53Sdogcowint
69601.53Sdogcowmain ()
69611.53Sdogcow{
69621.63Sapb#ifndef be64enc
69631.66Stsutsui  char *p = (char *) be64enc;
69641.53Sdogcow#endif
69651.53Sdogcow
69661.53Sdogcow  ;
69671.53Sdogcow  return 0;
69681.53Sdogcow}
69691.53Sdogcow_ACEOF
69701.53Sdogcowrm -f conftest.$ac_objext
69711.72Sapbif { (eval echo "$as_me:6971: \"$ac_compile\"") >&5
69721.66Stsutsui  (eval $ac_compile) 2>&5
69731.66Stsutsui  ac_status=$?
69741.72Sapb  echo "$as_me:6974: \$? = $ac_status" >&5
69751.66Stsutsui  (exit $ac_status); } &&
69761.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
69771.72Sapb  { (eval echo "$as_me:6977: \"$ac_try\"") >&5
69781.66Stsutsui  (eval $ac_try) 2>&5
69791.53Sdogcow  ac_status=$?
69801.72Sapb  echo "$as_me:6980: \$? = $ac_status" >&5
69811.66Stsutsui  (exit $ac_status); }; }; then
69821.63Sapb  ac_cv_have_decl_be64enc=yes
69831.53Sdogcowelse
69841.53Sdogcow  echo "$as_me: failed program was:" >&5
69851.66Stsutsuicat conftest.$ac_ext >&5
69861.66Stsutsuiac_cv_have_decl_be64enc=no
69871.53Sdogcowfi
69881.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
69891.53Sdogcowfi
69901.72Sapbecho "$as_me:6990: result: $ac_cv_have_decl_be64enc" >&5
69911.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
69921.63Sapbif test $ac_cv_have_decl_be64enc = yes; then
69931.61Schristos
69941.66Stsutsuicat >>confdefs.h <<EOF
69951.63Sapb#define HAVE_DECL_BE64ENC 1
69961.66StsutsuiEOF
69971.53Sdogcow
69981.53Sdogcowelse
69991.66Stsutsui  cat >>confdefs.h <<EOF
70001.63Sapb#define HAVE_DECL_BE64ENC 0
70011.66StsutsuiEOF
70021.53Sdogcow
70031.53Sdogcowfi
70041.72Sapbecho "$as_me:7004: checking whether le64enc is declared" >&5
70051.66Stsutsuiecho $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
70061.63Sapbif test "${ac_cv_have_decl_le64enc+set}" = set; then
70071.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
70081.54Swizelse
70091.54Swiz  cat >conftest.$ac_ext <<_ACEOF
70101.72Sapb#line 7010 "configure"
70111.66Stsutsui#include "confdefs.h"
70121.63Sapb#include <sys/endian.h>
70131.54Swiz
70141.54Swizint
70151.54Swizmain ()
70161.54Swiz{
70171.63Sapb#ifndef le64enc
70181.66Stsutsui  char *p = (char *) le64enc;
70191.54Swiz#endif
70201.54Swiz
70211.54Swiz  ;
70221.54Swiz  return 0;
70231.54Swiz}
70241.54Swiz_ACEOF
70251.54Swizrm -f conftest.$ac_objext
70261.72Sapbif { (eval echo "$as_me:7026: \"$ac_compile\"") >&5
70271.66Stsutsui  (eval $ac_compile) 2>&5
70281.66Stsutsui  ac_status=$?
70291.72Sapb  echo "$as_me:7029: \$? = $ac_status" >&5
70301.66Stsutsui  (exit $ac_status); } &&
70311.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
70321.72Sapb  { (eval echo "$as_me:7032: \"$ac_try\"") >&5
70331.66Stsutsui  (eval $ac_try) 2>&5
70341.54Swiz  ac_status=$?
70351.72Sapb  echo "$as_me:7035: \$? = $ac_status" >&5
70361.66Stsutsui  (exit $ac_status); }; }; then
70371.63Sapb  ac_cv_have_decl_le64enc=yes
70381.54Swizelse
70391.54Swiz  echo "$as_me: failed program was:" >&5
70401.66Stsutsuicat conftest.$ac_ext >&5
70411.66Stsutsuiac_cv_have_decl_le64enc=no
70421.54Swizfi
70431.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
70441.54Swizfi
70451.72Sapbecho "$as_me:7045: result: $ac_cv_have_decl_le64enc" >&5
70461.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
70471.63Sapbif test $ac_cv_have_decl_le64enc = yes; then
70481.61Schristos
70491.66Stsutsuicat >>confdefs.h <<EOF
70501.63Sapb#define HAVE_DECL_LE64ENC 1
70511.66StsutsuiEOF
70521.53Sdogcow
70531.54Swizelse
70541.66Stsutsui  cat >>confdefs.h <<EOF
70551.63Sapb#define HAVE_DECL_LE64ENC 0
70561.66StsutsuiEOF
70571.53Sdogcow
70581.54Swizfi
70591.72Sapbecho "$as_me:7059: checking whether be64dec is declared" >&5
70601.66Stsutsuiecho $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
70611.63Sapbif test "${ac_cv_have_decl_be64dec+set}" = set; then
70621.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
70631.53Sdogcowelse
70641.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
70651.72Sapb#line 7065 "configure"
70661.66Stsutsui#include "confdefs.h"
70671.63Sapb#include <sys/endian.h>
70681.53Sdogcow
70691.54Swizint
70701.54Swizmain ()
70711.53Sdogcow{
70721.63Sapb#ifndef be64dec
70731.66Stsutsui  char *p = (char *) be64dec;
70741.48Sjmc#endif
70751.54Swiz
70761.54Swiz  ;
70771.54Swiz  return 0;
70781.53Sdogcow}
70791.54Swiz_ACEOF
70801.54Swizrm -f conftest.$ac_objext
70811.72Sapbif { (eval echo "$as_me:7081: \"$ac_compile\"") >&5
70821.66Stsutsui  (eval $ac_compile) 2>&5
70831.66Stsutsui  ac_status=$?
70841.72Sapb  echo "$as_me:7084: \$? = $ac_status" >&5
70851.66Stsutsui  (exit $ac_status); } &&
70861.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
70871.72Sapb  { (eval echo "$as_me:7087: \"$ac_try\"") >&5
70881.66Stsutsui  (eval $ac_try) 2>&5
70891.54Swiz  ac_status=$?
70901.72Sapb  echo "$as_me:7090: \$? = $ac_status" >&5
70911.66Stsutsui  (exit $ac_status); }; }; then
70921.63Sapb  ac_cv_have_decl_be64dec=yes
70931.54Swizelse
70941.54Swiz  echo "$as_me: failed program was:" >&5
70951.66Stsutsuicat conftest.$ac_ext >&5
70961.66Stsutsuiac_cv_have_decl_be64dec=no
70971.54Swizfi
70981.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
70991.54Swizfi
71001.72Sapbecho "$as_me:7100: result: $ac_cv_have_decl_be64dec" >&5
71011.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
71021.63Sapbif test $ac_cv_have_decl_be64dec = yes; then
71031.61Schristos
71041.66Stsutsuicat >>confdefs.h <<EOF
71051.63Sapb#define HAVE_DECL_BE64DEC 1
71061.66StsutsuiEOF
71071.54Swiz
71081.54Swizelse
71091.66Stsutsui  cat >>confdefs.h <<EOF
71101.63Sapb#define HAVE_DECL_BE64DEC 0
71111.66StsutsuiEOF
71121.54Swiz
71131.54Swizfi
71141.72Sapbecho "$as_me:7114: checking whether le64dec is declared" >&5
71151.66Stsutsuiecho $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
71161.63Sapbif test "${ac_cv_have_decl_le64dec+set}" = set; then
71171.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
71181.54Swizelse
71191.54Swiz  cat >conftest.$ac_ext <<_ACEOF
71201.72Sapb#line 7120 "configure"
71211.66Stsutsui#include "confdefs.h"
71221.63Sapb#include <sys/endian.h>
71231.54Swiz
71241.53Sdogcowint
71251.53Sdogcowmain ()
71261.53Sdogcow{
71271.63Sapb#ifndef le64dec
71281.66Stsutsui  char *p = (char *) le64dec;
71291.54Swiz#endif
71301.54Swiz
71311.45Sjmc  ;
71321.45Sjmc  return 0;
71331.45Sjmc}
71341.45Sjmc_ACEOF
71351.54Swizrm -f conftest.$ac_objext
71361.72Sapbif { (eval echo "$as_me:7136: \"$ac_compile\"") >&5
71371.66Stsutsui  (eval $ac_compile) 2>&5
71381.66Stsutsui  ac_status=$?
71391.72Sapb  echo "$as_me:7139: \$? = $ac_status" >&5
71401.66Stsutsui  (exit $ac_status); } &&
71411.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
71421.72Sapb  { (eval echo "$as_me:7142: \"$ac_try\"") >&5
71431.66Stsutsui  (eval $ac_try) 2>&5
71441.45Sjmc  ac_status=$?
71451.72Sapb  echo "$as_me:7145: \$? = $ac_status" >&5
71461.66Stsutsui  (exit $ac_status); }; }; then
71471.63Sapb  ac_cv_have_decl_le64dec=yes
71481.45Sjmcelse
71491.45Sjmc  echo "$as_me: failed program was:" >&5
71501.66Stsutsuicat conftest.$ac_ext >&5
71511.66Stsutsuiac_cv_have_decl_le64dec=no
71521.45Sjmcfi
71531.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
71541.45Sjmcfi
71551.72Sapbecho "$as_me:7155: result: $ac_cv_have_decl_le64dec" >&5
71561.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
71571.63Sapbif test $ac_cv_have_decl_le64dec = yes; then
71581.61Schristos
71591.66Stsutsuicat >>confdefs.h <<EOF
71601.63Sapb#define HAVE_DECL_LE64DEC 1
71611.66StsutsuiEOF
71621.54Swiz
71631.54Swizelse
71641.66Stsutsui  cat >>confdefs.h <<EOF
71651.63Sapb#define HAVE_DECL_LE64DEC 0
71661.66StsutsuiEOF
71671.54Swiz
71681.45Sjmcfi
71691.45Sjmc
71701.72Sapbecho "$as_me:7170: checking whether fstatvfs is declared" >&5
71711.66Stsutsuiecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
71721.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
71731.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
71741.1Stvelse
71751.1Stv  cat >conftest.$ac_ext <<_ACEOF
71761.72Sapb#line 7176 "configure"
71771.66Stsutsui#include "confdefs.h"
71781.54Swiz#include <sys/statvfs.h>
71791.53Sdogcow
71801.54Swizint
71811.54Swizmain ()
71821.53Sdogcow{
71831.54Swiz#ifndef fstatvfs
71841.66Stsutsui  char *p = (char *) fstatvfs;
71851.1Stv#endif
71861.1Stv
71871.1Stv  ;
71881.1Stv  return 0;
71891.1Stv}
71901.1Stv_ACEOF
71911.54Swizrm -f conftest.$ac_objext
71921.72Sapbif { (eval echo "$as_me:7192: \"$ac_compile\"") >&5
71931.66Stsutsui  (eval $ac_compile) 2>&5
71941.66Stsutsui  ac_status=$?
71951.72Sapb  echo "$as_me:7195: \$? = $ac_status" >&5
71961.66Stsutsui  (exit $ac_status); } &&
71971.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
71981.72Sapb  { (eval echo "$as_me:7198: \"$ac_try\"") >&5
71991.66Stsutsui  (eval $ac_try) 2>&5
72001.1Stv  ac_status=$?
72011.72Sapb  echo "$as_me:7201: \$? = $ac_status" >&5
72021.66Stsutsui  (exit $ac_status); }; }; then
72031.54Swiz  ac_cv_have_decl_fstatvfs=yes
72041.1Stvelse
72051.1Stv  echo "$as_me: failed program was:" >&5
72061.66Stsutsuicat conftest.$ac_ext >&5
72071.66Stsutsuiac_cv_have_decl_fstatvfs=no
72081.1Stvfi
72091.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
72101.1Stvfi
72111.72Sapbecho "$as_me:7211: result: $ac_cv_have_decl_fstatvfs" >&5
72121.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
72131.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then
72141.54Swiz
72151.66Stsutsuicat >>confdefs.h <<EOF
72161.54Swiz#define HAVE_DECL_FSTATVFS 1
72171.66StsutsuiEOF
72181.54Swiz
72191.54Swizelse
72201.66Stsutsui  cat >>confdefs.h <<EOF
72211.54Swiz#define HAVE_DECL_FSTATVFS 0
72221.66StsutsuiEOF
72231.54Swiz
72241.1Stvfi
72251.54Swiz
72261.72Sapbecho "$as_me:7226: checking whether setgroupent is declared" >&5
72271.66Stsutsuiecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
72281.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
72291.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
72301.8Stvelse
72311.8Stv  cat >conftest.$ac_ext <<_ACEOF
72321.72Sapb#line 7232 "configure"
72331.66Stsutsui#include "confdefs.h"
72341.8Stv
72351.33Sthorpej#include <sys/types.h>
72361.8Stv#include <grp.h>
72371.8Stv#include <pwd.h>
72381.8Stv
72391.8Stvint
72401.8Stvmain ()
72411.8Stv{
72421.8Stv#ifndef setgroupent
72431.66Stsutsui  char *p = (char *) setgroupent;
72441.8Stv#endif
72451.8Stv
72461.8Stv  ;
72471.8Stv  return 0;
72481.8Stv}
72491.8Stv_ACEOF
72501.8Stvrm -f conftest.$ac_objext
72511.72Sapbif { (eval echo "$as_me:7251: \"$ac_compile\"") >&5
72521.66Stsutsui  (eval $ac_compile) 2>&5
72531.66Stsutsui  ac_status=$?
72541.72Sapb  echo "$as_me:7254: \$? = $ac_status" >&5
72551.66Stsutsui  (exit $ac_status); } &&
72561.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
72571.72Sapb  { (eval echo "$as_me:7257: \"$ac_try\"") >&5
72581.66Stsutsui  (eval $ac_try) 2>&5
72591.8Stv  ac_status=$?
72601.72Sapb  echo "$as_me:7260: \$? = $ac_status" >&5
72611.66Stsutsui  (exit $ac_status); }; }; then
72621.8Stv  ac_cv_have_decl_setgroupent=yes
72631.8Stvelse
72641.8Stv  echo "$as_me: failed program was:" >&5
72651.66Stsutsuicat conftest.$ac_ext >&5
72661.66Stsutsuiac_cv_have_decl_setgroupent=no
72671.8Stvfi
72681.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
72691.8Stvfi
72701.72Sapbecho "$as_me:7270: result: $ac_cv_have_decl_setgroupent" >&5
72711.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
72721.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
72731.8Stv
72741.66Stsutsuicat >>confdefs.h <<EOF
72751.8Stv#define HAVE_DECL_SETGROUPENT 1
72761.66StsutsuiEOF
72771.8Stv
72781.8Stvelse
72791.66Stsutsui  cat >>confdefs.h <<EOF
72801.8Stv#define HAVE_DECL_SETGROUPENT 0
72811.66StsutsuiEOF
72821.8Stv
72831.8Stvfi
72841.72Sapbecho "$as_me:7284: checking whether setpassent is declared" >&5
72851.66Stsutsuiecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
72861.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
72871.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
72881.8Stvelse
72891.8Stv  cat >conftest.$ac_ext <<_ACEOF
72901.72Sapb#line 7290 "configure"
72911.66Stsutsui#include "confdefs.h"
72921.8Stv
72931.33Sthorpej#include <sys/types.h>
72941.8Stv#include <grp.h>
72951.8Stv#include <pwd.h>
72961.8Stv
72971.8Stvint
72981.8Stvmain ()
72991.8Stv{
73001.8Stv#ifndef setpassent
73011.66Stsutsui  char *p = (char *) setpassent;
73021.8Stv#endif
73031.8Stv
73041.8Stv  ;
73051.8Stv  return 0;
73061.8Stv}
73071.8Stv_ACEOF
73081.8Stvrm -f conftest.$ac_objext
73091.72Sapbif { (eval echo "$as_me:7309: \"$ac_compile\"") >&5
73101.66Stsutsui  (eval $ac_compile) 2>&5
73111.66Stsutsui  ac_status=$?
73121.72Sapb  echo "$as_me:7312: \$? = $ac_status" >&5
73131.66Stsutsui  (exit $ac_status); } &&
73141.66Stsutsui         { ac_try='test -s conftest.$ac_objext'
73151.72Sapb  { (eval echo "$as_me:7315: \"$ac_try\"") >&5
73161.66Stsutsui  (eval $ac_try) 2>&5
73171.8Stv  ac_status=$?
73181.72Sapb  echo "$as_me:7318: \$? = $ac_status" >&5
73191.66Stsutsui  (exit $ac_status); }; }; then
73201.8Stv  ac_cv_have_decl_setpassent=yes
73211.8Stvelse
73221.8Stv  echo "$as_me: failed program was:" >&5
73231.66Stsutsuicat conftest.$ac_ext >&5
73241.66Stsutsuiac_cv_have_decl_setpassent=no
73251.8Stvfi
73261.66Stsutsuirm -f conftest.$ac_objext conftest.$ac_ext
73271.8Stvfi
73281.72Sapbecho "$as_me:7328: result: $ac_cv_have_decl_setpassent" >&5
73291.66Stsutsuiecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
73301.8Stvif test $ac_cv_have_decl_setpassent = yes; then
73311.8Stv
73321.66Stsutsuicat >>confdefs.h <<EOF
73331.8Stv#define HAVE_DECL_SETPASSENT 1
73341.66StsutsuiEOF
73351.8Stv
73361.8Stvelse
73371.66Stsutsui  cat >>confdefs.h <<EOF
73381.8Stv#define HAVE_DECL_SETPASSENT 0
73391.66StsutsuiEOF
73401.8Stv
73411.8Stvfi
73421.8Stv
73431.4Stv# regcomp() and regexec() are also names of functions in the old V8
73441.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
73451.4Stv
73461.72Sapbecho "$as_me:7346: checking for regfree in -lregex" >&5
73471.66Stsutsuiecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
73481.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
73491.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
73501.4Stvelse
73511.4Stv  ac_check_lib_save_LIBS=$LIBS
73521.4StvLIBS="-lregex  $LIBS"
73531.4Stvcat >conftest.$ac_ext <<_ACEOF
73541.72Sapb#line 7354 "configure"
73551.66Stsutsui#include "confdefs.h"
73561.4Stv
73571.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
73581.4Stv#ifdef __cplusplus
73591.4Stvextern "C"
73601.4Stv#endif
73611.66Stsutsui/* We use char because int might match the return type of a gcc2
73621.66Stsutsui   builtin and then its argument prototype would still apply.  */
73631.4Stvchar regfree ();
73641.4Stvint
73651.4Stvmain ()
73661.4Stv{
73671.66Stsutsuiregfree ();
73681.4Stv  ;
73691.4Stv  return 0;
73701.4Stv}
73711.4Stv_ACEOF
73721.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
73731.72Sapbif { (eval echo "$as_me:7373: \"$ac_link\"") >&5
73741.66Stsutsui  (eval $ac_link) 2>&5
73751.66Stsutsui  ac_status=$?
73761.72Sapb  echo "$as_me:7376: \$? = $ac_status" >&5
73771.66Stsutsui  (exit $ac_status); } &&
73781.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
73791.72Sapb  { (eval echo "$as_me:7379: \"$ac_try\"") >&5
73801.66Stsutsui  (eval $ac_try) 2>&5
73811.4Stv  ac_status=$?
73821.72Sapb  echo "$as_me:7382: \$? = $ac_status" >&5
73831.66Stsutsui  (exit $ac_status); }; }; then
73841.4Stv  ac_cv_lib_regex_regfree=yes
73851.4Stvelse
73861.4Stv  echo "$as_me: failed program was:" >&5
73871.66Stsutsuicat conftest.$ac_ext >&5
73881.66Stsutsuiac_cv_lib_regex_regfree=no
73891.4Stvfi
73901.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73911.4StvLIBS=$ac_check_lib_save_LIBS
73921.4Stvfi
73931.72Sapbecho "$as_me:7393: result: $ac_cv_lib_regex_regfree" >&5
73941.66Stsutsuiecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
73951.4Stvif test $ac_cv_lib_regex_regfree = yes; then
73961.66Stsutsui  cat >>confdefs.h <<EOF
73971.4Stv#define HAVE_LIBREGEX 1
73981.66StsutsuiEOF
73991.4Stv
74001.4Stv  LIBS="-lregex $LIBS"
74011.4Stv
74021.4Stvfi
74031.4Stv
74041.72Sapbecho "$as_me:7404: checking for library containing regfree" >&5
74051.66Stsutsuiecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
74061.4Stvif test "${ac_cv_search_regfree+set}" = set; then
74071.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
74081.1Stvelse
74091.1Stv  ac_func_search_save_LIBS=$LIBS
74101.66Stsutsuiac_cv_search_regfree=no
74111.1Stvcat >conftest.$ac_ext <<_ACEOF
74121.72Sapb#line 7412 "configure"
74131.66Stsutsui#include "confdefs.h"
74141.1Stv
74151.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
74161.1Stv#ifdef __cplusplus
74171.1Stvextern "C"
74181.1Stv#endif
74191.66Stsutsui/* We use char because int might match the return type of a gcc2
74201.66Stsutsui   builtin and then its argument prototype would still apply.  */
74211.4Stvchar regfree ();
74221.1Stvint
74231.1Stvmain ()
74241.1Stv{
74251.66Stsutsuiregfree ();
74261.1Stv  ;
74271.1Stv  return 0;
74281.1Stv}
74291.1Stv_ACEOF
74301.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext
74311.72Sapbif { (eval echo "$as_me:7431: \"$ac_link\"") >&5
74321.66Stsutsui  (eval $ac_link) 2>&5
74331.66Stsutsui  ac_status=$?
74341.72Sapb  echo "$as_me:7434: \$? = $ac_status" >&5
74351.66Stsutsui  (exit $ac_status); } &&
74361.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
74371.72Sapb  { (eval echo "$as_me:7437: \"$ac_try\"") >&5
74381.66Stsutsui  (eval $ac_try) 2>&5
74391.1Stv  ac_status=$?
74401.72Sapb  echo "$as_me:7440: \$? = $ac_status" >&5
74411.66Stsutsui  (exit $ac_status); }; }; then
74421.66Stsutsui  ac_cv_search_regfree="none required"
74431.1Stvelse
74441.1Stv  echo "$as_me: failed program was:" >&5
74451.66Stsutsuicat conftest.$ac_ext >&5
74461.1Stvfi
74471.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74481.66Stsutsuiif test "$ac_cv_search_regfree" = no; then
74491.66Stsutsui  for ac_lib in rx posix; do
74501.66Stsutsui    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
74511.66Stsutsui    cat >conftest.$ac_ext <<_ACEOF
74521.72Sapb#line 7452 "configure"
74531.66Stsutsui#include "confdefs.h"
74541.1Stv
74551.66Stsutsui/* Override any gcc2 internal prototype to avoid an error.  */
74561.66Stsutsui#ifdef __cplusplus
74571.66Stsutsuiextern "C"
74581.66Stsutsui#endif
74591.66Stsutsui/* We use char because int might match the return type of a gcc2
74601.66Stsutsui   builtin and then its argument prototype would still apply.  */
74611.66Stsutsuichar regfree ();
74621.66Stsutsuiint
74631.66Stsutsuimain ()
74641.66Stsutsui{
74651.66Stsutsuiregfree ();
74661.66Stsutsui  ;
74671.66Stsutsui  return 0;
74681.66Stsutsui}
74691.66Stsutsui_ACEOF
74701.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext
74711.72Sapbif { (eval echo "$as_me:7471: \"$ac_link\"") >&5
74721.66Stsutsui  (eval $ac_link) 2>&5
74731.66Stsutsui  ac_status=$?
74741.72Sapb  echo "$as_me:7474: \$? = $ac_status" >&5
74751.66Stsutsui  (exit $ac_status); } &&
74761.66Stsutsui         { ac_try='test -s conftest$ac_exeext'
74771.72Sapb  { (eval echo "$as_me:7477: \"$ac_try\"") >&5
74781.66Stsutsui  (eval $ac_try) 2>&5
74791.66Stsutsui  ac_status=$?
74801.72Sapb  echo "$as_me:7480: \$? = $ac_status" >&5
74811.66Stsutsui  (exit $ac_status); }; }; then
74821.66Stsutsui  ac_cv_search_regfree="-l$ac_lib"
74831.66Stsutsuibreak
74841.66Stsutsuielse
74851.66Stsutsui  echo "$as_me: failed program was:" >&5
74861.66Stsutsuicat conftest.$ac_ext >&5
74871.65Schristosfi
74881.66Stsutsuirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74891.66Stsutsui  done
74901.1Stvfi
74911.1StvLIBS=$ac_func_search_save_LIBS
74921.1Stvfi
74931.72Sapbecho "$as_me:7493: result: $ac_cv_search_regfree" >&5
74941.66Stsutsuiecho "${ECHO_T}$ac_cv_search_regfree" >&6
74951.66Stsutsuiif test "$ac_cv_search_regfree" != no; then
74961.66Stsutsui  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
74971.1Stv
74981.1Stvfi
74991.1Stv
75001.68Stnozakifor ac_func in fparseln
75011.68Stnozakido
75021.68Stnozakias_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75031.72Sapbecho "$as_me:7503: checking for $ac_func" >&5
75041.68Stnozakiecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75051.68Stnozakiif eval "test \"\${$as_ac_var+set}\" = set"; then
75061.68Stnozaki  echo $ECHO_N "(cached) $ECHO_C" >&6
75071.68Stnozakielse
75081.68Stnozaki  cat >conftest.$ac_ext <<_ACEOF
75091.72Sapb#line 7509 "configure"
75101.68Stnozaki#include "confdefs.h"
75111.68Stnozaki/* System header to define __stub macros and hopefully few prototypes,
75121.68Stnozaki    which can conflict with char $ac_func (); below.  */
75131.68Stnozaki#include <assert.h>
75141.68Stnozaki/* Override any gcc2 internal prototype to avoid an error.  */
75151.68Stnozaki#ifdef __cplusplus
75161.68Stnozakiextern "C"
75171.68Stnozaki#endif
75181.68Stnozaki/* We use char because int might match the return type of a gcc2
75191.68Stnozaki   builtin and then its argument prototype would still apply.  */
75201.68Stnozakichar $ac_func ();
75211.68Stnozakichar (*f) ();
75221.68Stnozaki
75231.68Stnozakiint
75241.68Stnozakimain ()
75251.68Stnozaki{
75261.68Stnozaki/* The GNU C library defines this for functions which it implements
75271.68Stnozaki    to always fail with ENOSYS.  Some functions are actually named
75281.68Stnozaki    something starting with __ and the normal name is an alias.  */
75291.68Stnozaki#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75301.68Stnozakichoke me
75311.68Stnozaki#else
75321.68Stnozakif = $ac_func;
75331.68Stnozaki#endif
75341.68Stnozaki
75351.68Stnozaki  ;
75361.68Stnozaki  return 0;
75371.68Stnozaki}
75381.68Stnozaki_ACEOF
75391.68Stnozakirm -f conftest.$ac_objext conftest$ac_exeext
75401.72Sapbif { (eval echo "$as_me:7540: \"$ac_link\"") >&5
75411.68Stnozaki  (eval $ac_link) 2>&5
75421.68Stnozaki  ac_status=$?
75431.72Sapb  echo "$as_me:7543: \$? = $ac_status" >&5
75441.68Stnozaki  (exit $ac_status); } &&
75451.68Stnozaki         { ac_try='test -s conftest$ac_exeext'
75461.72Sapb  { (eval echo "$as_me:7546: \"$ac_try\"") >&5
75471.68Stnozaki  (eval $ac_try) 2>&5
75481.68Stnozaki  ac_status=$?
75491.72Sapb  echo "$as_me:7549: \$? = $ac_status" >&5
75501.68Stnozaki  (exit $ac_status); }; }; then
75511.68Stnozaki  eval "$as_ac_var=yes"
75521.68Stnozakielse
75531.68Stnozaki  echo "$as_me: failed program was:" >&5
75541.68Stnozakicat conftest.$ac_ext >&5
75551.68Stnozakieval "$as_ac_var=no"
75561.68Stnozakifi
75571.68Stnozakirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75581.68Stnozakifi
75591.72Sapbecho "$as_me:7559: result: `eval echo '${'$as_ac_var'}'`" >&5
75601.68Stnozakiecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75611.68Stnozakiif test `eval echo '${'$as_ac_var'}'` = yes; then
75621.68Stnozaki  cat >>confdefs.h <<EOF
75631.68Stnozaki#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75641.68StnozakiEOF
75651.68Stnozaki
75661.72Sapb    echo "$as_me:7566: checking if fparseln seems to work" >&5
75671.68Stnozakiecho $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6
75681.68Stnozaki    if test "$cross_compiling" = yes; then
75691.72Sapb  { echo "$as_me:7569: WARNING: cross compiling: not checking farseln" >&5
75701.68Stnozakiecho "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
75711.68Stnozaki
75721.68Stnozakielse
75731.68Stnozaki  cat >conftest.$ac_ext <<_ACEOF
75741.72Sapb#line 7574 "configure"
75751.68Stnozaki#include "confdefs.h"
75761.68Stnozaki
75771.68Stnozaki#define _NETBSD_SOURCE
75781.68Stnozaki#include <stdio.h>
75791.68Stnozaki#include <stdlib.h>
75801.68Stnozaki#define CONFTEST	"conftest.fparseln"
75811.68Stnozaki#define COMMENT		'#'
75821.68Stnozakiint
75831.68Stnozakimain(void)
75841.68Stnozaki{
75851.68Stnozaki	static const char delim[3] = { '\0', '\0', COMMENT };
75861.68Stnozaki	FILE *fp;
75871.68Stnozaki	char *ptr;
75881.68Stnozaki	fp = fopen(CONFTEST, "w+");
75891.68Stnozaki	if (fp != NULL) {
75901.68Stnozaki		unlink(CONFTEST);
75911.68Stnozaki		ungetc(COMMENT, fp);
75921.68Stnozaki		ptr = fparseln(fp, NULL, NULL, delim,
75931.68Stnozaki		    FPARSELN_UNESCALL);
75941.68Stnozaki		fclose(fp);
75951.68Stnozaki		if (ptr == NULL)
75961.68Stnozaki			exit(0);
75971.68Stnozaki	}
75981.68Stnozaki	exit(1);
75991.68Stnozaki}
76001.68Stnozaki
76011.68Stnozaki_ACEOF
76021.68Stnozakirm -f conftest$ac_exeext
76031.72Sapbif { (eval echo "$as_me:7603: \"$ac_link\"") >&5
76041.68Stnozaki  (eval $ac_link) 2>&5
76051.68Stnozaki  ac_status=$?
76061.72Sapb  echo "$as_me:7606: \$? = $ac_status" >&5
76071.68Stnozaki  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76081.72Sapb  { (eval echo "$as_me:7608: \"$ac_try\"") >&5
76091.68Stnozaki  (eval $ac_try) 2>&5
76101.68Stnozaki  ac_status=$?
76111.72Sapb  echo "$as_me:7611: \$? = $ac_status" >&5
76121.68Stnozaki  (exit $ac_status); }; }; then
76131.72Sapb  echo "$as_me:7613: result: yes" >&5
76141.68Stnozakiecho "${ECHO_T}yes" >&6
76151.68Stnozakielse
76161.68Stnozaki  echo "$as_me: program exited with status $ac_status" >&5
76171.68Stnozakiecho "$as_me: failed program was:" >&5
76181.68Stnozakicat conftest.$ac_ext >&5
76191.72Sapbecho "$as_me:7619: result: no" >&5
76201.68Stnozakiecho "${ECHO_T}no" >&6
76211.68Stnozaki
76221.68Stnozakicat >>confdefs.h <<\EOF
76231.68Stnozaki#define BROKEN_FPARSELN 1
76241.68StnozakiEOF
76251.68Stnozaki
76261.68Stnozakifi
76271.68Stnozakirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76281.68Stnozakifi
76291.68Stnozaki
76301.68Stnozakifi
76311.68Stnozakidone
76321.68Stnozaki
76331.72Sapb# Variables substituted via @VARNAME@ in defs.mk.in
76341.72SapbHAVE_PTHREAD_H=$ac_cv_header_pthread_h
76351.72Sapb
76361.1Stvcat >confcache <<\_ACEOF
76371.1Stv# This file is a shell script that caches the results of configure
76381.1Stv# tests run on this system so they can be shared between configure
76391.1Stv# scripts and configure runs, see configure's option --config-cache.
76401.1Stv# It is not useful on other systems.  If it contains results you don't
76411.1Stv# want to keep, you may remove or edit it.
76421.1Stv#
76431.1Stv# config.status only pays attention to the cache file if you give it
76441.1Stv# the --recheck option to rerun configure.
76451.1Stv#
76461.66Stsutsui# `ac_cv_env_foo' variables (set or unset) will be overriden when
76471.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
76481.1Stv# following values.
76491.1Stv
76501.1Stv_ACEOF
76511.1Stv
76521.1Stv# The following way of writing the cache mishandles newlines in values,
76531.1Stv# but we know of no workaround that is simple, portable, and efficient.
76541.66Stsutsui# So, don't put newlines in cache variables' values.
76551.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
76561.1Stv# and sets the high bit in the cache file unless we assign to the vars.
76571.66Stsutsui{
76581.65Schristos  (set) 2>&1 |
76591.66Stsutsui    case `(ac_space=' '; set | grep ac_space) 2>&1` in
76601.66Stsutsui    *ac_space=\ *)
76611.65Schristos      # `set' does not quote correctly, so add quotes (double-quote
76621.65Schristos      # substitution turns \\\\ into \\, and sed turns \\ into \).
76631.65Schristos      sed -n \
76641.66Stsutsui        "s/'/'\\\\''/g;
76651.66Stsutsui    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
76661.66Stsutsui      ;;
76671.65Schristos    *)
76681.65Schristos      # `set' quotes correctly as required by POSIX, so do not add quotes.
76691.66Stsutsui      sed -n \
76701.66Stsutsui        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
76711.65Schristos      ;;
76721.66Stsutsui    esac;
76731.66Stsutsui} |
76741.65Schristos  sed '
76751.65Schristos     t clear
76761.66Stsutsui     : clear
76771.65Schristos     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
76781.65Schristos     t end
76791.66Stsutsui     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
76801.66Stsutsui     : end' >>confcache
76811.66Stsutsuiif cmp -s $cache_file confcache; then :; else
76821.66Stsutsui  if test -w $cache_file; then
76831.66Stsutsui    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
76841.65Schristos    cat confcache >$cache_file
76851.65Schristos  else
76861.66Stsutsui    echo "not updating unwritable cache $cache_file"
76871.65Schristos  fi
76881.65Schristosfi
76891.66Stsutsuirm -f confcache
76901.65Schristos
76911.66Stsutsuitest "x$prefix" = xNONE && prefix=$ac_default_prefix
76921.66Stsutsui# Let make expand exec_prefix.
76931.66Stsutsuitest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
76941.65Schristos
76951.66Stsutsui# VPATH may cause trouble with some makes, so we remove $(srcdir),
76961.66Stsutsui# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
76971.66Stsutsui# trailing colons and then remove the whole line if VPATH becomes empty
76981.66Stsutsui# (actually we leave an empty line to preserve line numbers).
76991.66Stsutsuiif test "x$srcdir" = x.; then
77001.66Stsutsui  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
77011.66Stsutsuis/:*\$(srcdir):*/:/;
77021.66Stsutsuis/:*\${srcdir}:*/:/;
77031.66Stsutsuis/:*@srcdir@:*/:/;
77041.66Stsutsuis/^\([^=]*=[ 	]*\):*/\1/;
77051.66Stsutsuis/:*$//;
77061.66Stsutsuis/^[^=]*=[ 	]*$//;
77071.66Stsutsui}'
77081.66Stsutsuifi
77091.65Schristos
77101.66StsutsuiDEFS=-DHAVE_CONFIG_H
77111.65Schristos
77121.66Stsutsui: ${CONFIG_STATUS=./config.status}
77131.66Stsutsuiac_clean_files_save=$ac_clean_files
77141.66Stsutsuiac_clean_files="$ac_clean_files $CONFIG_STATUS"
77151.72Sapb{ echo "$as_me:7715: creating $CONFIG_STATUS" >&5
77161.66Stsutsuiecho "$as_me: creating $CONFIG_STATUS" >&6;}
77171.66Stsutsuicat >$CONFIG_STATUS <<_ACEOF
77181.66Stsutsui#! $SHELL
77191.66Stsutsui# Generated automatically by configure.
77201.66Stsutsui# Run this file to recreate the current configuration.
77211.66Stsutsui# Compiler output produced by configure, useful for debugging
77221.66Stsutsui# configure, is in config.log if it exists.
77231.65Schristos
77241.66Stsutsuidebug=false
77251.66StsutsuiSHELL=\${CONFIG_SHELL-$SHELL}
77261.66Stsutsuiac_cs_invocation="\$0 \$@"
77271.65Schristos
77281.66Stsutsui_ACEOF
77291.65Schristos
77301.66Stsutsuicat >>$CONFIG_STATUS <<\_ACEOF
77311.66Stsutsui# Be Bourne compatible
77321.66Stsutsuiif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
77331.66Stsutsui  emulate sh
77341.66Stsutsui  NULLCMD=:
77351.66Stsutsuielif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
77361.66Stsutsui  set -o posix
77371.1Stvfi
77381.1Stv
77391.65Schristos# Name of the executable.
77401.66Stsutsuias_me=`echo "$0" |sed 's,.*[\\/],,'`
77411.1Stv
77421.66Stsutsuiif expr a : '\(a\)' >/dev/null 2>&1; then
77431.1Stv  as_expr=expr
77441.1Stvelse
77451.1Stv  as_expr=false
77461.1Stvfi
77471.1Stv
77481.1Stvrm -f conf$$ conf$$.exe conf$$.file
77491.1Stvecho >conf$$.file
77501.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
77511.66Stsutsui  # We could just check for DJGPP; but this test a) works b) is more generic
77521.66Stsutsui  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
77531.66Stsutsui  if test -f conf$$.exe; then
77541.66Stsutsui    # Don't use ln at all; we don't have any links
77551.1Stv    as_ln_s='cp -p'
77561.66Stsutsui  else
77571.66Stsutsui    as_ln_s='ln -s'
77581.66Stsutsui  fi
77591.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
77601.1Stv  as_ln_s=ln
77611.1Stvelse
77621.1Stv  as_ln_s='cp -p'
77631.1Stvfi
77641.66Stsutsuirm -f conf$$ conf$$.exe conf$$.file
77651.1Stv
77661.66Stsutsuias_executable_p="test -f"
77671.63Sapb
77681.66Stsutsui# Support unset when possible.
77691.66Stsutsuiif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
77701.66Stsutsui  as_unset=unset
77711.61Schristoselse
77721.66Stsutsui  as_unset=false
77731.61Schristosfi
77741.61Schristos
77751.66Stsutsui# NLS nuisances.
77761.66Stsutsui$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
77771.66Stsutsui$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
77781.66Stsutsui$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
77791.66Stsutsui$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
77801.66Stsutsui$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
77811.66Stsutsui$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
77821.66Stsutsui$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77831.66Stsutsui$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
77841.1Stv
77851.66Stsutsui# IFS
77861.66Stsutsui# We need space, tab and new line, in precisely that order.
77871.66Stsutsuias_nl='
77881.66Stsutsui'
77891.66StsutsuiIFS=" 	$as_nl"
77901.1Stv
77911.66Stsutsui# CDPATH.
77921.66Stsutsui$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
77931.1Stv
77941.1Stvexec 6>&1
77951.1Stv
77961.66Stsutsui_ACEOF
77971.1Stv
77981.66Stsutsui# Files that config.status was made for.
77991.66Stsutsuiif test -n "$ac_config_files"; then
78001.66Stsutsui  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
78011.66Stsutsuifi
78021.1Stv
78031.66Stsutsuiif test -n "$ac_config_headers"; then
78041.66Stsutsui  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
78051.66Stsutsuifi
78061.1Stv
78071.66Stsutsuiif test -n "$ac_config_links"; then
78081.66Stsutsui  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
78091.66Stsutsuifi
78101.1Stv
78111.66Stsutsuiif test -n "$ac_config_commands"; then
78121.66Stsutsui  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
78131.66Stsutsuifi
78141.1Stv
78151.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
78161.1Stv
78171.1Stvac_cs_usage="\
78181.1Stv\`$as_me' instantiates files from templates according to the
78191.1Stvcurrent configuration.
78201.1Stv
78211.1StvUsage: $0 [OPTIONS] [FILE]...
78221.1Stv
78231.1Stv  -h, --help       print this help, then exit
78241.66Stsutsui  -V, --version    print version number, then exit
78251.1Stv  -d, --debug      don't remove temporary files
78261.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
78271.1Stv  --file=FILE[:TEMPLATE]
78281.66Stsutsui                   instantiate the configuration file FILE
78291.1Stv  --header=FILE[:TEMPLATE]
78301.66Stsutsui                   instantiate the configuration header FILE
78311.1Stv
78321.1StvConfiguration files:
78331.1Stv$config_files
78341.1Stv
78351.1StvConfiguration headers:
78361.1Stv$config_headers
78371.1Stv
78381.1StvReport bugs to <bug-autoconf@gnu.org>."
78391.66StsutsuiEOF
78401.1Stv
78411.66Stsutsuicat >>$CONFIG_STATUS <<EOF
78421.1Stvac_cs_version="\\
78431.1Stvlibnbcompat config.status noversion
78441.66Stsutsuiconfigured by $0, generated by GNU Autoconf 2.52,
78451.66Stsutsui  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
78461.1Stv
78471.66StsutsuiCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
78481.66StsutsuiFree Software Foundation, Inc.
78491.1StvThis config.status script is free software; the Free Software Foundation
78501.1Stvgives unlimited permission to copy, distribute and modify it."
78511.66Stsutsuisrcdir=$srcdir
78521.66StsutsuiEOF
78531.1Stv
78541.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
78551.1Stv# If no file are specified by the user, then we need to provide default
78561.1Stv# value.  By we need to know if files were specified by the user.
78571.1Stvac_need_defaults=:
78581.1Stvwhile test $# != 0
78591.1Stvdo
78601.1Stv  case $1 in
78611.1Stv  --*=*)
78621.66Stsutsui    ac_option=`expr "x$1" : 'x\([^=]*\)='`
78631.66Stsutsui    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
78641.66Stsutsui    shift
78651.66Stsutsui    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
78661.66Stsutsui    shift
78671.1Stv    ;;
78681.66Stsutsui  -*);;
78691.66Stsutsui  *) # This is not an option, so the user has probably given explicit
78701.66Stsutsui     # arguments.
78711.66Stsutsui     ac_need_defaults=false;;
78721.1Stv  esac
78731.1Stv
78741.66Stsutsui  case $1 in
78751.1Stv  # Handling of the options.
78761.66StsutsuiEOF
78771.66Stsutsuicat >>$CONFIG_STATUS <<EOF
78781.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78791.66Stsutsui    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
78801.66Stsutsui    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
78811.66StsutsuiEOF
78821.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
78831.66Stsutsui  --version | --vers* | -V )
78841.66Stsutsui    echo "$ac_cs_version"; exit 0 ;;
78851.66Stsutsui  --he | --h)
78861.66Stsutsui    # Conflict between --help and --header
78871.72Sapb    { { echo "$as_me:7887: error: ambiguous option: $1
78881.66StsutsuiTry \`$0 --help' for more information." >&5
78891.66Stsutsuiecho "$as_me: error: ambiguous option: $1
78901.66StsutsuiTry \`$0 --help' for more information." >&2;}
78911.66Stsutsui   { (exit 1); exit 1; }; };;
78921.66Stsutsui  --help | --hel | -h )
78931.66Stsutsui    echo "$ac_cs_usage"; exit 0 ;;
78941.66Stsutsui  --debug | --d* | -d )
78951.1Stv    debug=: ;;
78961.1Stv  --file | --fil | --fi | --f )
78971.66Stsutsui    shift
78981.66Stsutsui    CONFIG_FILES="$CONFIG_FILES $1"
78991.1Stv    ac_need_defaults=false;;
79001.1Stv  --header | --heade | --head | --hea )
79011.66Stsutsui    shift
79021.66Stsutsui    CONFIG_HEADERS="$CONFIG_HEADERS $1"
79031.1Stv    ac_need_defaults=false;;
79041.1Stv
79051.1Stv  # This is an error.
79061.72Sapb  -*) { { echo "$as_me:7906: error: unrecognized option: $1
79071.66StsutsuiTry \`$0 --help' for more information." >&5
79081.66Stsutsuiecho "$as_me: error: unrecognized option: $1
79091.66StsutsuiTry \`$0 --help' for more information." >&2;}
79101.1Stv   { (exit 1); exit 1; }; } ;;
79111.1Stv
79121.66Stsutsui  *) ac_config_targets="$ac_config_targets $1" ;;
79131.1Stv
79141.1Stv  esac
79151.1Stv  shift
79161.1Stvdone
79171.1Stv
79181.66Stsutsuiexec 5>>config.log
79191.66Stsutsuicat >&5 << _ACEOF
79201.1Stv
79211.66Stsutsui## ----------------------- ##
79221.66Stsutsui## Running config.status.  ##
79231.66Stsutsui## ----------------------- ##
79241.1Stv
79251.66StsutsuiThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
79261.66Stsutsui  CONFIG_FILES    = $CONFIG_FILES
79271.66Stsutsui  CONFIG_HEADERS  = $CONFIG_HEADERS
79281.66Stsutsui  CONFIG_LINKS    = $CONFIG_LINKS
79291.66Stsutsui  CONFIG_COMMANDS = $CONFIG_COMMANDS
79301.66Stsutsui  > $ac_cs_invocation
79311.66Stsutsuion `(hostname || uname -n) 2>/dev/null | sed 1q`
79321.1Stv
79331.1Stv_ACEOF
79341.66StsutsuiEOF
79351.1Stv
79361.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
79371.1Stvfor ac_config_target in $ac_config_targets
79381.1Stvdo
79391.66Stsutsui  case "$ac_config_target" in
79401.66Stsutsui  # Handling of arguments.
79411.66Stsutsui  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
79421.66Stsutsui  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
79431.72Sapb  *) { { echo "$as_me:7943: error: invalid argument: $ac_config_target" >&5
79441.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
79451.1Stv   { (exit 1); exit 1; }; };;
79461.1Stv  esac
79471.1Stvdone
79481.1Stv
79491.1Stv# If the user did not use the arguments to specify the items to instantiate,
79501.1Stv# then the envvar interface is used.  Set only those that are not.
79511.1Stv# We use the long form for the default assignment because of an extremely
79521.1Stv# bizarre bug on SunOS 4.1.3.
79531.1Stvif $ac_need_defaults; then
79541.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79551.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79561.1Stvfi
79571.1Stv
79581.66Stsutsui# Create a temporary directory, and hook for its removal unless debugging.
79591.1Stv$debug ||
79601.1Stv{
79611.66Stsutsui  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
79621.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
79631.1Stv}
79641.66Stsutsui
79651.65Schristos# Create a (secure) tmp directory for tmp files.
79661.66Stsutsui: ${TMPDIR=/tmp}
79671.1Stv{
79681.66Stsutsui  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
79691.1Stv  test -n "$tmp" && test -d "$tmp"
79701.1Stv}  ||
79711.1Stv{
79721.66Stsutsui  tmp=$TMPDIR/cs$$-$RANDOM
79731.66Stsutsui  (umask 077 && mkdir $tmp)
79741.1Stv} ||
79751.1Stv{
79761.66Stsutsui   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
79771.1Stv   { (exit 1); exit 1; }
79781.1Stv}
79791.1Stv
79801.66StsutsuiEOF
79811.66Stsutsui
79821.66Stsutsuicat >>$CONFIG_STATUS <<EOF
79831.66Stsutsui
79841.1Stv#
79851.66Stsutsui# CONFIG_FILES section.
79861.1Stv#
79871.1Stv
79881.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
79891.1Stv# This happens for instance when ./config.status config.h
79901.66Stsutsuiif test -n "\$CONFIG_FILES"; then
79911.66Stsutsui  # Protect against being on the right side of a sed subst in config.status.
79921.66Stsutsui  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
79931.66Stsutsui   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
79941.66Stsutsuis,@SHELL@,$SHELL,;t t
79951.66Stsutsuis,@exec_prefix@,$exec_prefix,;t t
79961.66Stsutsuis,@prefix@,$prefix,;t t
79971.66Stsutsuis,@program_transform_name@,$program_transform_name,;t t
79981.66Stsutsuis,@bindir@,$bindir,;t t
79991.66Stsutsuis,@sbindir@,$sbindir,;t t
80001.66Stsutsuis,@libexecdir@,$libexecdir,;t t
80011.66Stsutsuis,@datadir@,$datadir,;t t
80021.66Stsutsuis,@sysconfdir@,$sysconfdir,;t t
80031.66Stsutsuis,@sharedstatedir@,$sharedstatedir,;t t
80041.66Stsutsuis,@localstatedir@,$localstatedir,;t t
80051.66Stsutsuis,@libdir@,$libdir,;t t
80061.66Stsutsuis,@includedir@,$includedir,;t t
80071.66Stsutsuis,@oldincludedir@,$oldincludedir,;t t
80081.66Stsutsuis,@infodir@,$infodir,;t t
80091.66Stsutsuis,@mandir@,$mandir,;t t
80101.66Stsutsuis,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
80111.66Stsutsuis,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
80121.66Stsutsuis,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
80131.66Stsutsuis,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
80141.66Stsutsuis,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
80151.66Stsutsuis,@build_alias@,$build_alias,;t t
80161.66Stsutsuis,@host_alias@,$host_alias,;t t
80171.66Stsutsuis,@target_alias@,$target_alias,;t t
80181.66Stsutsuis,@ECHO_C@,$ECHO_C,;t t
80191.66Stsutsuis,@ECHO_N@,$ECHO_N,;t t
80201.66Stsutsuis,@ECHO_T@,$ECHO_T,;t t
80211.66Stsutsuis,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
80221.66Stsutsuis,@DEFS@,$DEFS,;t t
80231.66Stsutsuis,@LIBS@,$LIBS,;t t
80241.66Stsutsuis,@CC@,$CC,;t t
80251.66Stsutsuis,@CFLAGS@,$CFLAGS,;t t
80261.66Stsutsuis,@LDFLAGS@,$LDFLAGS,;t t
80271.66Stsutsuis,@CPPFLAGS@,$CPPFLAGS,;t t
80281.66Stsutsuis,@ac_ct_CC@,$ac_ct_CC,;t t
80291.66Stsutsuis,@EXEEXT@,$EXEEXT,;t t
80301.66Stsutsuis,@OBJEXT@,$OBJEXT,;t t
80311.66Stsutsuis,@CPP@,$CPP,;t t
80321.66Stsutsuis,@BSHELL@,$BSHELL,;t t
80331.66Stsutsuis,@ALLOCA@,$ALLOCA,;t t
80341.72Sapbs,@HAVE_PTHREAD_H@,$HAVE_PTHREAD_H,;t t
80351.66StsutsuiCEOF
80361.66Stsutsui
80371.66StsutsuiEOF
80381.66Stsutsui
80391.66Stsutsui  cat >>$CONFIG_STATUS <<\EOF
80401.66Stsutsui  # Split the substitutions into bite-sized pieces for seds with
80411.66Stsutsui  # small command number limits, like on Digital OSF/1 and HP-UX.
80421.66Stsutsui  ac_max_sed_lines=48
80431.66Stsutsui  ac_sed_frag=1 # Number of current file.
80441.66Stsutsui  ac_beg=1 # First line for current file.
80451.66Stsutsui  ac_end=$ac_max_sed_lines # Line after last line for current file.
80461.66Stsutsui  ac_more_lines=:
80471.66Stsutsui  ac_sed_cmds=
80481.66Stsutsui  while $ac_more_lines; do
80491.66Stsutsui    if test $ac_beg -gt 1; then
80501.66Stsutsui      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
80511.66Stsutsui    else
80521.66Stsutsui      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
80531.66Stsutsui    fi
80541.66Stsutsui    if test ! -s $tmp/subs.frag; then
80551.66Stsutsui      ac_more_lines=false
80561.66Stsutsui    else
80571.66Stsutsui      # The purpose of the label and of the branching condition is to
80581.66Stsutsui      # speed up the sed processing (if there are no `@' at all, there
80591.66Stsutsui      # is no need to browse any of the substitutions).
80601.66Stsutsui      # These are the two extra sed commands mentioned above.
80611.66Stsutsui      (echo ':t
80621.66Stsutsui  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
80631.66Stsutsui      if test -z "$ac_sed_cmds"; then
80641.66Stsutsui  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
80651.66Stsutsui      else
80661.66Stsutsui  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
80671.66Stsutsui      fi
80681.66Stsutsui      ac_sed_frag=`expr $ac_sed_frag + 1`
80691.66Stsutsui      ac_beg=$ac_end
80701.66Stsutsui      ac_end=`expr $ac_end + $ac_max_sed_lines`
80711.66Stsutsui    fi
80721.66Stsutsui  done
80731.66Stsutsui  if test -z "$ac_sed_cmds"; then
80741.66Stsutsui    ac_sed_cmds=cat
80751.66Stsutsui  fi
80761.66Stsutsuifi # test -n "$CONFIG_FILES"
80771.65Schristos
80781.66StsutsuiEOF
80791.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
80801.66Stsutsuifor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
80811.66Stsutsui  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
80821.66Stsutsui  case $ac_file in
80831.66Stsutsui  - | *:- | *:-:* ) # input from stdin
80841.66Stsutsui        cat >$tmp/stdin
80851.66Stsutsui        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
80861.66Stsutsui        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
80871.66Stsutsui  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
80881.66Stsutsui        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
80891.66Stsutsui  * )   ac_file_in=$ac_file.in ;;
80901.66Stsutsui  esac
80911.65Schristos
80921.66Stsutsui  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
80931.66Stsutsui  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80941.66Stsutsui         X"$ac_file" : 'X\(//\)[^/]' \| \
80951.66Stsutsui         X"$ac_file" : 'X\(//\)$' \| \
80961.66Stsutsui         X"$ac_file" : 'X\(/\)' \| \
80971.66Stsutsui         .     : '\(.\)' 2>/dev/null ||
80981.66Stsutsuiecho X"$ac_file" |
80991.66Stsutsui    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
81001.66Stsutsui  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
81011.66Stsutsui  	  /^X\(\/\/\)$/{ s//\1/; q; }
81021.66Stsutsui  	  /^X\(\/\).*/{ s//\1/; q; }
81031.66Stsutsui  	  s/.*/./; q'`
81041.66Stsutsui  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
81051.66Stsutsui    { case "$ac_dir" in
81061.66Stsutsui  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
81071.66Stsutsui  *)                      as_incr_dir=.;;
81081.66Stsutsuiesac
81091.66Stsutsuias_dummy="$ac_dir"
81101.66Stsutsuifor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
81111.66Stsutsui  case $as_mkdir_dir in
81121.66Stsutsui    # Skip DOS drivespec
81131.66Stsutsui    ?:) as_incr_dir=$as_mkdir_dir ;;
81141.66Stsutsui    *)
81151.66Stsutsui      as_incr_dir=$as_incr_dir/$as_mkdir_dir
81161.66Stsutsui      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
81171.66Stsutsui    ;;
81181.66Stsutsui  esac
81191.66Stsutsuidone; }
81201.65Schristos
81211.66Stsutsui    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
81221.66Stsutsui    # A "../" for each directory in $ac_dir_suffix.
81231.66Stsutsui    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
81241.65Schristos  else
81251.66Stsutsui    ac_dir_suffix= ac_dots=
81261.1Stv  fi
81271.65Schristos
81281.66Stsutsui  case $srcdir in
81291.66Stsutsui  .)  ac_srcdir=.
81301.66Stsutsui      if test -z "$ac_dots"; then
81311.66Stsutsui         ac_top_srcdir=.
81321.66Stsutsui      else
81331.66Stsutsui         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
81341.66Stsutsui      fi ;;
81351.66Stsutsui  [\\/]* | ?:[\\/]* )
81361.66Stsutsui      ac_srcdir=$srcdir$ac_dir_suffix;
81371.66Stsutsui      ac_top_srcdir=$srcdir ;;
81381.66Stsutsui  *) # Relative path.
81391.66Stsutsui    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
81401.66Stsutsui    ac_top_srcdir=$ac_dots$srcdir ;;
81411.65Schristos  esac
81421.65Schristos
81431.66Stsutsui  if test x"$ac_file" != x-; then
81441.72Sapb    { echo "$as_me:8144: creating $ac_file" >&5
81451.65Schristosecho "$as_me: creating $ac_file" >&6;}
81461.66Stsutsui    rm -f "$ac_file"
81471.66Stsutsui  fi
81481.66Stsutsui  # Let's still pretend it is `configure' which instantiates (i.e., don't
81491.66Stsutsui  # use $as_me), people would be surprised to read:
81501.66Stsutsui  #    /* config.h.  Generated automatically by config.status.  */
81511.66Stsutsui  configure_input="Generated automatically from `echo $ac_file_in |
81521.66Stsutsui                                                 sed 's,.*/,,'` by configure."
81531.66Stsutsui
81541.66Stsutsui  # First look for the input files in the build tree, otherwise in the
81551.66Stsutsui  # src tree.
81561.66Stsutsui  ac_file_inputs=`IFS=:
81571.66Stsutsui    for f in $ac_file_in; do
81581.66Stsutsui      case $f in
81591.66Stsutsui      -) echo $tmp/stdin ;;
81601.66Stsutsui      [\\/$]*)
81611.66Stsutsui         # Absolute (can't be DOS-style, as IFS=:)
81621.72Sapb         test -f "$f" || { { echo "$as_me:8162: error: cannot find input file: $f" >&5
81631.66Stsutsuiecho "$as_me: error: cannot find input file: $f" >&2;}
81641.66Stsutsui   { (exit 1); exit 1; }; }
81651.66Stsutsui         echo $f;;
81661.66Stsutsui      *) # Relative
81671.66Stsutsui         if test -f "$f"; then
81681.66Stsutsui           # Build tree
81691.66Stsutsui           echo $f
81701.66Stsutsui         elif test -f "$srcdir/$f"; then
81711.66Stsutsui           # Source tree
81721.66Stsutsui           echo $srcdir/$f
81731.66Stsutsui         else
81741.66Stsutsui           # /dev/null tree
81751.72Sapb           { { echo "$as_me:8175: error: cannot find input file: $f" >&5
81761.66Stsutsuiecho "$as_me: error: cannot find input file: $f" >&2;}
81771.66Stsutsui   { (exit 1); exit 1; }; }
81781.66Stsutsui         fi;;
81791.65Schristos      esac
81801.66Stsutsui    done` || { (exit 1); exit 1; }
81811.66StsutsuiEOF
81821.66Stsutsuicat >>$CONFIG_STATUS <<EOF
81831.1Stv  sed "$ac_vpsub
81841.1Stv$extrasub
81851.66StsutsuiEOF
81861.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
81871.1Stv:t
81881.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81891.66Stsutsuis,@configure_input@,$configure_input,;t t
81901.66Stsutsuis,@srcdir@,$ac_srcdir,;t t
81911.66Stsutsuis,@top_srcdir@,$ac_top_srcdir,;t t
81921.66Stsutsui" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
81931.66Stsutsui  rm -f $tmp/stdin
81941.66Stsutsui  if test x"$ac_file" != x-; then
81951.66Stsutsui    mv $tmp/out $ac_file
81961.66Stsutsui  else
81971.66Stsutsui    cat $tmp/out
81981.66Stsutsui    rm -f $tmp/out
81991.66Stsutsui  fi
82001.66Stsutsui
82011.66Stsutsuidone
82021.66StsutsuiEOF
82031.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
82041.66Stsutsui
82051.66Stsutsui#
82061.66Stsutsui# CONFIG_HEADER section.
82071.66Stsutsui#
82081.66Stsutsui
82091.66Stsutsui# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
82101.66Stsutsui# NAME is the cpp macro being defined and VALUE is the value it is being given.
82111.66Stsutsui#
82121.66Stsutsui# ac_d sets the value in "#define NAME VALUE" lines.
82131.66Stsutsuiac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
82141.66Stsutsuiac_dB='[ 	].*$,\1#\2'
82151.66Stsutsuiac_dC=' '
82161.66Stsutsuiac_dD=',;t'
82171.66Stsutsui# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
82181.66Stsutsuiac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
82191.66Stsutsuiac_uB='$,\1#\2define\3'
82201.66Stsutsuiac_uC=' '
82211.66Stsutsuiac_uD=',;t'
82221.1Stv
82231.66Stsutsuifor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
82241.66Stsutsui  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
82251.1Stv  case $ac_file in
82261.66Stsutsui  - | *:- | *:-:* ) # input from stdin
82271.66Stsutsui        cat >$tmp/stdin
82281.66Stsutsui        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82291.66Stsutsui        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
82301.66Stsutsui  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
82311.66Stsutsui        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
82321.66Stsutsui  * )   ac_file_in=$ac_file.in ;;
82331.1Stv  esac
82341.1Stv
82351.72Sapb  test x"$ac_file" != x- && { echo "$as_me:8235: creating $ac_file" >&5
82361.66Stsutsuiecho "$as_me: creating $ac_file" >&6;}
82371.66Stsutsui
82381.66Stsutsui  # First look for the input files in the build tree, otherwise in the
82391.66Stsutsui  # src tree.
82401.66Stsutsui  ac_file_inputs=`IFS=:
82411.66Stsutsui    for f in $ac_file_in; do
82421.66Stsutsui      case $f in
82431.66Stsutsui      -) echo $tmp/stdin ;;
82441.66Stsutsui      [\\/$]*)
82451.66Stsutsui         # Absolute (can't be DOS-style, as IFS=:)
82461.72Sapb         test -f "$f" || { { echo "$as_me:8246: error: cannot find input file: $f" >&5
82471.66Stsutsuiecho "$as_me: error: cannot find input file: $f" >&2;}
82481.66Stsutsui   { (exit 1); exit 1; }; }
82491.66Stsutsui         echo $f;;
82501.66Stsutsui      *) # Relative
82511.66Stsutsui         if test -f "$f"; then
82521.66Stsutsui           # Build tree
82531.66Stsutsui           echo $f
82541.66Stsutsui         elif test -f "$srcdir/$f"; then
82551.66Stsutsui           # Source tree
82561.66Stsutsui           echo $srcdir/$f
82571.66Stsutsui         else
82581.66Stsutsui           # /dev/null tree
82591.72Sapb           { { echo "$as_me:8259: error: cannot find input file: $f" >&5
82601.66Stsutsuiecho "$as_me: error: cannot find input file: $f" >&2;}
82611.66Stsutsui   { (exit 1); exit 1; }; }
82621.66Stsutsui         fi;;
82631.66Stsutsui      esac
82641.66Stsutsui    done` || { (exit 1); exit 1; }
82651.66Stsutsui  # Remove the trailing spaces.
82661.66Stsutsui  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
82671.66Stsutsui
82681.66StsutsuiEOF
82691.66Stsutsui
82701.66Stsutsui# Transform confdefs.h into two sed scripts, `conftest.defines' and
82711.66Stsutsui# `conftest.undefs', that substitutes the proper values into
82721.66Stsutsui# config.h.in to produce config.h.  The first handles `#define'
82731.66Stsutsui# templates, and the second `#undef' templates.
82741.66Stsutsui# And first: Protect against being on the right side of a sed subst in
82751.66Stsutsui# config.status.  Protect against being in an unquoted here document
82761.66Stsutsui# in config.status.
82771.66Stsutsuirm -f conftest.defines conftest.undefs
82781.66Stsutsui# Using a here document instead of a string reduces the quoting nightmare.
82791.66Stsutsui# Putting comments in sed scripts is not portable.
82801.66Stsutsui#
82811.66Stsutsui# `end' is used to avoid that the second main sed command (meant for
82821.66Stsutsui# 0-ary CPP macros) applies to n-ary macro definitions.
82831.66Stsutsui# See the Autoconf documentation for `clear'.
82841.66Stsutsuicat >confdef2sed.sed <<\EOF
82851.66Stsutsuis/[\\&,]/\\&/g
82861.66Stsutsuis,[\\$`],\\&,g
82871.66Stsutsuit clear
82881.66Stsutsui: clear
82891.66Stsutsuis,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
82901.66Stsutsuit end
82911.66Stsutsuis,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
82921.66Stsutsui: end
82931.66StsutsuiEOF
82941.66Stsutsui# If some macros were called several times there might be several times
82951.66Stsutsui# the same #defines, which is useless.  Nevertheless, we may not want to
82961.66Stsutsui# sort them, since we want the *last* AC-DEFINE to be honored.
82971.66Stsutsuiuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
82981.66Stsutsuised 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
82991.66Stsutsuirm -f confdef2sed.sed
83001.1Stv
83011.66Stsutsui# This sed command replaces #undef with comments.  This is necessary, for
83021.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
83031.1Stv# on some systems where configure will not decide to define it.
83041.66Stsutsuicat >>conftest.undefs <<\EOF
83051.66Stsutsuis,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
83061.66StsutsuiEOF
83071.66Stsutsui
83081.66Stsutsui# Break up conftest.defines because some shells have a limit on the size
83091.66Stsutsui# of here documents, and old seds have small limits too (100 cmds).
83101.66Stsutsuiecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
83111.66Stsutsuiecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
83121.66Stsutsuiecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
83131.66Stsutsuiecho '  :' >>$CONFIG_STATUS
83141.66Stsutsuirm -f conftest.tail
83151.66Stsutsuiwhile grep . conftest.defines >/dev/null
83161.1Stvdo
83171.66Stsutsui  # Write a limited-size here document to $tmp/defines.sed.
83181.66Stsutsui  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
83191.66Stsutsui  # Speed up: don't consider the non `#define' lines.
83201.66Stsutsui  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
83211.66Stsutsui  # Work around the forget-to-reset-the-flag bug.
83221.66Stsutsui  echo 't clr' >>$CONFIG_STATUS
83231.66Stsutsui  echo ': clr' >>$CONFIG_STATUS
83241.66Stsutsui  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
83251.1Stv  echo 'CEOF
83261.66Stsutsui  sed -f $tmp/defines.sed $tmp/in >$tmp/out
83271.66Stsutsui  rm -f $tmp/in
83281.66Stsutsui  mv $tmp/out $tmp/in
83291.66Stsutsui' >>$CONFIG_STATUS
83301.66Stsutsui  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
83311.1Stv  rm -f conftest.defines
83321.1Stv  mv conftest.tail conftest.defines
83331.1Stvdone
83341.66Stsutsuirm -f conftest.defines
83351.66Stsutsuiecho '  fi # egrep' >>$CONFIG_STATUS
83361.66Stsutsuiecho >>$CONFIG_STATUS
83371.66Stsutsui
83381.66Stsutsui# Break up conftest.undefs because some shells have a limit on the size
83391.66Stsutsui# of here documents, and old seds have small limits too (100 cmds).
83401.66Stsutsuiecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
83411.66Stsutsuirm -f conftest.tail
83421.66Stsutsuiwhile grep . conftest.undefs >/dev/null
83431.66Stsutsuido
83441.66Stsutsui  # Write a limited-size here document to $tmp/undefs.sed.
83451.66Stsutsui  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
83461.66Stsutsui  # Speed up: don't consider the non `#undef'
83471.66Stsutsui  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
83481.66Stsutsui  # Work around the forget-to-reset-the-flag bug.
83491.66Stsutsui  echo 't clr' >>$CONFIG_STATUS
83501.66Stsutsui  echo ': clr' >>$CONFIG_STATUS
83511.66Stsutsui  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
83521.66Stsutsui  echo 'CEOF
83531.66Stsutsui  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
83541.66Stsutsui  rm -f $tmp/in
83551.66Stsutsui  mv $tmp/out $tmp/in
83561.66Stsutsui' >>$CONFIG_STATUS
83571.66Stsutsui  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
83581.66Stsutsui  rm -f conftest.undefs
83591.66Stsutsui  mv conftest.tail conftest.undefs
83601.66Stsutsuidone
83611.66Stsutsuirm -f conftest.undefs
83621.66Stsutsui
83631.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
83641.66Stsutsui  # Let's still pretend it is `configure' which instantiates (i.e., don't
83651.66Stsutsui  # use $as_me), people would be surprised to read:
83661.66Stsutsui  #    /* config.h.  Generated automatically by config.status.  */
83671.66Stsutsui  if test x"$ac_file" = x-; then
83681.66Stsutsui    echo "/* Generated automatically by configure.  */" >$tmp/config.h
83691.66Stsutsui  else
83701.66Stsutsui    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
83711.66Stsutsui  fi
83721.66Stsutsui  cat $tmp/in >>$tmp/config.h
83731.66Stsutsui  rm -f $tmp/in
83741.1Stv  if test x"$ac_file" != x-; then
83751.66Stsutsui    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
83761.72Sapb      { echo "$as_me:8376: $ac_file is unchanged" >&5
83771.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
83781.1Stv    else
83791.66Stsutsui      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83801.66Stsutsui         X"$ac_file" : 'X\(//\)[^/]' \| \
83811.66Stsutsui         X"$ac_file" : 'X\(//\)$' \| \
83821.66Stsutsui         X"$ac_file" : 'X\(/\)' \| \
83831.66Stsutsui         .     : '\(.\)' 2>/dev/null ||
83841.66Stsutsuiecho X"$ac_file" |
83851.66Stsutsui    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
83861.66Stsutsui  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
83871.66Stsutsui  	  /^X\(\/\/\)$/{ s//\1/; q; }
83881.66Stsutsui  	  /^X\(\/\).*/{ s//\1/; q; }
83891.66Stsutsui  	  s/.*/./; q'`
83901.66Stsutsui      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
83911.66Stsutsui        { case "$ac_dir" in
83921.66Stsutsui  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
83931.66Stsutsui  *)                      as_incr_dir=.;;
83941.66Stsutsuiesac
83951.66Stsutsuias_dummy="$ac_dir"
83961.66Stsutsuifor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
83971.66Stsutsui  case $as_mkdir_dir in
83981.66Stsutsui    # Skip DOS drivespec
83991.66Stsutsui    ?:) as_incr_dir=$as_mkdir_dir ;;
84001.66Stsutsui    *)
84011.66Stsutsui      as_incr_dir=$as_incr_dir/$as_mkdir_dir
84021.66Stsutsui      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
84031.66Stsutsui    ;;
84041.66Stsutsui  esac
84051.66Stsutsuidone; }
84061.66Stsutsui
84071.66Stsutsui      fi
84081.1Stv      rm -f $ac_file
84091.66Stsutsui      mv $tmp/config.h $ac_file
84101.1Stv    fi
84111.1Stv  else
84121.66Stsutsui    cat $tmp/config.h
84131.66Stsutsui    rm -f $tmp/config.h
84141.1Stv  fi
84151.66Stsutsuidone
84161.66StsutsuiEOF
84171.1Stv
84181.66Stsutsuicat >>$CONFIG_STATUS <<\EOF
84191.1Stv
84201.1Stv{ (exit 0); exit 0; }
84211.66StsutsuiEOF
84221.1Stvchmod +x $CONFIG_STATUS
84231.1Stvac_clean_files=$ac_clean_files_save
84241.1Stv
84251.1Stv# configure is writing to config.log, and then calls config.status.
84261.1Stv# config.status does its own redirection, appending to config.log.
84271.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
84281.1Stv# by configure, so config.status won't be able to write to it; its
84291.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
84301.1Stv# effectively closing config.log, so it can be properly (re)opened and
84311.1Stv# appended to by config.status.  When coming back to configure, we
84321.1Stv# need to make the FD available again.
84331.1Stvif test "$no_create" != yes; then
84341.1Stv  ac_cs_success=:
84351.1Stv  exec 5>/dev/null
84361.66Stsutsui  $SHELL $CONFIG_STATUS || ac_cs_success=false
84371.1Stv  exec 5>>config.log
84381.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84391.1Stv  # would make configure fail if this is the last instruction.
84401.1Stv  $ac_cs_success || { (exit 1); exit 1; }
84411.1Stvfi
84421.1Stv
8443