configure revision 1.38
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.1Stv# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.1Stv# Report bugs to <lib-bug-people@netbsd.org>.
61.1Stv#
71.1Stv# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.1Stv# 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.1Stv# Sed expression to map a string onto a valid variable name.
201.1Stvas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.1Stv
221.1Stv# Sed expression to map a string onto a valid CPP name.
231.1Stvas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.1Stv
251.1Stv# Be Bourne compatible
261.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.1Stv  emulate sh
281.1Stv  NULLCMD=:
291.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.1Stv  set -o posix
311.1Stvfi
321.1Stv
331.1Stv# Name of the executable.
341.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
351.1Stv
361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
371.1Stv  as_expr=expr
381.1Stvelse
391.1Stv  as_expr=false
401.1Stvfi
411.1Stv
421.1Stvrm -f conf$$ conf$$.exe conf$$.file
431.1Stvecho >conf$$.file
441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
451.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
461.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.1Stv  if test -f conf$$.exe; then
481.1Stv    # Don't use ln at all; we don't have any links
491.1Stv    as_ln_s='cp -p'
501.1Stv  else
511.1Stv    as_ln_s='ln -s'
521.1Stv  fi
531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
541.1Stv  as_ln_s=ln
551.1Stvelse
561.1Stv  as_ln_s='cp -p'
571.1Stvfi
581.1Stvrm -f conf$$ conf$$.exe conf$$.file
591.1Stv
601.1Stvas_executable_p="test -f"
611.1Stv
621.1Stv# Support unset when possible.
631.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.1Stv  as_unset=unset
651.1Stvelse
661.1Stv  as_unset=false
671.1Stvfi
681.1Stv
691.1Stv# NLS nuisances.
701.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.1Stv
791.1Stv# IFS
801.1Stv# We need space, tab and new line, in precisely that order.
811.1Stvas_nl='
821.1Stv'
831.1StvIFS=" 	$as_nl"
841.1Stv
851.1Stv# CDPATH.
861.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
871.1Stv
881.1Stv# Name of the host.
891.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
901.1Stv# so uname gets run too.
911.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
921.1Stv
931.1Stvexec 6>&1
941.1Stv
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.1StvMFLAGS= MAKEFLAGS=
1021.1StvSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.1Stv# Maximum number of lines to put in a shell here document.
1051.1Stv# This variable seems obsolete.  It should probably be removed, and
1061.1Stv# only ac_max_sed_lines should be used.
1071.1Stv: ${ac_max_here_lines=38}
1081.1Stv
1091.1Stv# Factoring default headers for most tests.
1101.1Stvac_includes_default="\
1111.1Stv#include <stdio.h>
1121.1Stv#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.1Stv#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.1Stv#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.1Stv# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.1Stv#if HAVE_STRING_H
1271.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.1Stv#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.1Stv#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.1Stv#else
1381.1Stv# if HAVE_STDINT_H
1391.1Stv#  include <stdint.h>
1401.1Stv# endif
1411.1Stv#endif
1421.1Stv#if HAVE_UNISTD_H
1431.1Stv# include <unistd.h>
1441.1Stv#endif"
1451.1Stv
1461.1Stv# Initialize some variables set by options.
1471.1Stvac_init_help=
1481.1Stvac_init_version=false
1491.1Stv# The variables have the same names as the options, with
1501.1Stv# dashes changed to underlines.
1511.1Stvcache_file=/dev/null
1521.1Stvexec_prefix=NONE
1531.1Stvno_create=
1541.1Stvno_recursion=
1551.1Stvprefix=NONE
1561.1Stvprogram_prefix=NONE
1571.1Stvprogram_suffix=NONE
1581.1Stvprogram_transform_name=s,x,x,
1591.1Stvsilent=
1601.1Stvsite=
1611.1Stvsrcdir=
1621.1Stvverbose=
1631.1Stvx_includes=NONE
1641.1Stvx_libraries=NONE
1651.1Stv
1661.1Stv# Installation directory options.
1671.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
1681.1Stv# and all the variables that are supposed to be based on exec_prefix
1691.1Stv# by default will actually change.
1701.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
1711.1Stvbindir='${exec_prefix}/bin'
1721.1Stvsbindir='${exec_prefix}/sbin'
1731.1Stvlibexecdir='${exec_prefix}/libexec'
1741.1Stvdatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.1Stvlibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.1Stvinfodir='${prefix}/info'
1821.1Stvmandir='${prefix}/man'
1831.1Stv
1841.1Stv# Identity of this package.
1851.1StvPACKAGE_NAME='libnbcompat'
1861.1StvPACKAGE_TARNAME='libnbcompat'
1871.1StvPACKAGE_VERSION='noversion'
1881.1StvPACKAGE_STRING='libnbcompat noversion'
1891.1StvPACKAGE_BUGREPORT='lib-bug-people@netbsd.org'
1901.1Stv
1911.1Stvac_prev=
1921.1Stvfor ac_option
1931.1Stvdo
1941.1Stv  # If the previous option needs an argument, assign it.
1951.1Stv  if test -n "$ac_prev"; then
1961.1Stv    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2021.1Stv
2031.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
2041.1Stv
2051.1Stv  case $ac_option in
2061.1Stv
2071.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
2081.1Stv    ac_prev=bindir ;;
2091.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2101.1Stv    bindir=$ac_optarg ;;
2111.1Stv
2121.1Stv  -build | --build | --buil | --bui | --bu)
2131.1Stv    ac_prev=build_alias ;;
2141.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2151.1Stv    build_alias=$ac_optarg ;;
2161.1Stv
2171.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
2181.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2191.1Stv    ac_prev=cache_file ;;
2201.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2211.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2221.1Stv    cache_file=$ac_optarg ;;
2231.1Stv
2241.1Stv  --config-cache | -C)
2251.1Stv    cache_file=config.cache ;;
2261.1Stv
2271.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.1Stv  | --da=*)
2311.1Stv    datadir=$ac_optarg ;;
2321.1Stv
2331.1Stv  -disable-* | --disable-*)
2341.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2351.1Stv    # Reject names that are not valid shell variable names.
2361.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2371.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2381.1Stv   { (exit 1); exit 1; }; }
2391.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.1Stv    eval "enable_$ac_feature=no" ;;
2411.1Stv
2421.1Stv  -enable-* | --enable-*)
2431.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2441.1Stv    # Reject names that are not valid shell variable names.
2451.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2461.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2471.1Stv   { (exit 1); exit 1; }; }
2481.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.1Stv    case $ac_option in
2501.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.1Stv      *) ac_optarg=yes ;;
2521.1Stv    esac
2531.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
2541.1Stv
2551.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2561.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2571.1Stv  | --exec | --exe | --ex)
2581.1Stv    ac_prev=exec_prefix ;;
2591.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2601.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2611.1Stv  | --exec=* | --exe=* | --ex=*)
2621.1Stv    exec_prefix=$ac_optarg ;;
2631.1Stv
2641.1Stv  -gas | --gas | --ga | --g)
2651.1Stv    # Obsolete; use --with-gas.
2661.1Stv    with_gas=yes ;;
2671.1Stv
2681.1Stv  -help | --help | --hel | --he | -h)
2691.1Stv    ac_init_help=long ;;
2701.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2711.1Stv    ac_init_help=recursive ;;
2721.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2731.1Stv    ac_init_help=short ;;
2741.1Stv
2751.1Stv  -host | --host | --hos | --ho)
2761.1Stv    ac_prev=host_alias ;;
2771.1Stv  -host=* | --host=* | --hos=* | --ho=*)
2781.1Stv    host_alias=$ac_optarg ;;
2791.1Stv
2801.1Stv  -includedir | --includedir | --includedi | --included | --include \
2811.1Stv  | --includ | --inclu | --incl | --inc)
2821.1Stv    ac_prev=includedir ;;
2831.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2841.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
2851.1Stv    includedir=$ac_optarg ;;
2861.1Stv
2871.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
2881.1Stv    ac_prev=infodir ;;
2891.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2901.1Stv    infodir=$ac_optarg ;;
2911.1Stv
2921.1Stv  -libdir | --libdir | --libdi | --libd)
2931.1Stv    ac_prev=libdir ;;
2941.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2951.1Stv    libdir=$ac_optarg ;;
2961.1Stv
2971.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2981.1Stv  | --libexe | --libex | --libe)
2991.1Stv    ac_prev=libexecdir ;;
3001.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
3011.1Stv  | --libexe=* | --libex=* | --libe=*)
3021.1Stv    libexecdir=$ac_optarg ;;
3031.1Stv
3041.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
3051.1Stv  | --localstate | --localstat | --localsta | --localst \
3061.1Stv  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3111.1Stv    localstatedir=$ac_optarg ;;
3121.1Stv
3131.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3141.1Stv    ac_prev=mandir ;;
3151.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3161.1Stv    mandir=$ac_optarg ;;
3171.1Stv
3181.1Stv  -nfp | --nfp | --nf)
3191.1Stv    # Obsolete; use --without-fp.
3201.1Stv    with_fp=no ;;
3211.1Stv
3221.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3231.1Stv  | --no-cr | --no-c)
3241.1Stv    no_create=yes ;;
3251.1Stv
3261.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3271.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
3281.1Stv    no_recursion=yes ;;
3291.1Stv
3301.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
3311.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3321.1Stv  | --oldin | --oldi | --old | --ol | --o)
3331.1Stv    ac_prev=oldincludedir ;;
3341.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3351.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3361.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3371.1Stv    oldincludedir=$ac_optarg ;;
3381.1Stv
3391.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3401.1Stv    ac_prev=prefix ;;
3411.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3421.1Stv    prefix=$ac_optarg ;;
3431.1Stv
3441.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
3451.1Stv  | --program-pre | --program-pr | --program-p)
3461.1Stv    ac_prev=program_prefix ;;
3471.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
3481.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3491.1Stv    program_prefix=$ac_optarg ;;
3501.1Stv
3511.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
3521.1Stv  | --program-suf | --program-su | --program-s)
3531.1Stv    ac_prev=program_suffix ;;
3541.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
3551.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3561.1Stv    program_suffix=$ac_optarg ;;
3571.1Stv
3581.1Stv  -program-transform-name | --program-transform-name \
3591.1Stv  | --program-transform-nam | --program-transform-na \
3601.1Stv  | --program-transform-n | --program-transform- \
3611.1Stv  | --program-transform | --program-transfor \
3621.1Stv  | --program-transfo | --program-transf \
3631.1Stv  | --program-trans | --program-tran \
3641.1Stv  | --progr-tra | --program-tr | --program-t)
3651.1Stv    ac_prev=program_transform_name ;;
3661.1Stv  -program-transform-name=* | --program-transform-name=* \
3671.1Stv  | --program-transform-nam=* | --program-transform-na=* \
3681.1Stv  | --program-transform-n=* | --program-transform-=* \
3691.1Stv  | --program-transform=* | --program-transfor=* \
3701.1Stv  | --program-transfo=* | --program-transf=* \
3711.1Stv  | --program-trans=* | --program-tran=* \
3721.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
3731.1Stv    program_transform_name=$ac_optarg ;;
3741.1Stv
3751.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3761.1Stv  | -silent | --silent | --silen | --sile | --sil)
3771.1Stv    silent=yes ;;
3781.1Stv
3791.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3801.1Stv    ac_prev=sbindir ;;
3811.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3821.1Stv  | --sbi=* | --sb=*)
3831.1Stv    sbindir=$ac_optarg ;;
3841.1Stv
3851.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3861.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3871.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
3881.1Stv  | --sha | --sh)
3891.1Stv    ac_prev=sharedstatedir ;;
3901.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3911.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3921.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3931.1Stv  | --sha=* | --sh=*)
3941.1Stv    sharedstatedir=$ac_optarg ;;
3951.1Stv
3961.1Stv  -site | --site | --sit)
3971.1Stv    ac_prev=site ;;
3981.1Stv  -site=* | --site=* | --sit=*)
3991.1Stv    site=$ac_optarg ;;
4001.1Stv
4011.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4021.1Stv    ac_prev=srcdir ;;
4031.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4041.1Stv    srcdir=$ac_optarg ;;
4051.1Stv
4061.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4071.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
4081.1Stv    ac_prev=sysconfdir ;;
4091.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4101.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4111.1Stv    sysconfdir=$ac_optarg ;;
4121.1Stv
4131.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
4141.1Stv    ac_prev=target_alias ;;
4151.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4161.1Stv    target_alias=$ac_optarg ;;
4171.1Stv
4181.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
4191.1Stv    verbose=yes ;;
4201.1Stv
4211.1Stv  -version | --version | --versio | --versi | --vers | -V)
4221.1Stv    ac_init_version=: ;;
4231.1Stv
4241.1Stv  -with-* | --with-*)
4251.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4261.1Stv    # Reject names that are not valid shell variable names.
4271.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4281.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4291.1Stv   { (exit 1); exit 1; }; }
4301.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.1Stv    case $ac_option in
4321.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.1Stv      *) ac_optarg=yes ;;
4341.1Stv    esac
4351.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
4361.1Stv
4371.1Stv  -without-* | --without-*)
4381.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4391.1Stv    # Reject names that are not valid shell variable names.
4401.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4411.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4421.1Stv   { (exit 1); exit 1; }; }
4431.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.1Stv    eval "with_$ac_package=no" ;;
4451.1Stv
4461.1Stv  --x)
4471.1Stv    # Obsolete; use --with-x.
4481.1Stv    with_x=yes ;;
4491.1Stv
4501.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4511.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
4521.1Stv    ac_prev=x_includes ;;
4531.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4541.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4551.1Stv    x_includes=$ac_optarg ;;
4561.1Stv
4571.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
4581.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4591.1Stv    ac_prev=x_libraries ;;
4601.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4611.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4621.1Stv    x_libraries=$ac_optarg ;;
4631.1Stv
4641.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
4651.1StvTry \`$0 --help' for more information." >&2
4661.1Stv   { (exit 1); exit 1; }; }
4671.1Stv    ;;
4681.1Stv
4691.1Stv  *=*)
4701.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
4711.1Stv    # Reject names that are not valid shell variable names.
4721.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4731.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4741.1Stv   { (exit 1); exit 1; }; }
4751.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.1Stv    eval "$ac_envvar='$ac_optarg'"
4771.1Stv    export $ac_envvar ;;
4781.1Stv
4791.1Stv  *)
4801.1Stv    # FIXME: should be removed in autoconf 3.0.
4811.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4821.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4831.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4841.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4851.1Stv    ;;
4861.1Stv
4871.1Stv  esac
4881.1Stvdone
4891.1Stv
4901.1Stvif test -n "$ac_prev"; then
4911.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4921.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
4931.1Stv   { (exit 1); exit 1; }; }
4941.1Stvfi
4951.1Stv
4961.1Stv# Be sure to have absolute paths.
4971.1Stvfor ac_var in exec_prefix prefix
4981.1Stvdo
4991.1Stv  eval ac_val=$`echo $ac_var`
5001.1Stv  case $ac_val in
5011.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.1Stv    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.1Stv   { (exit 1); exit 1; }; };;
5041.1Stv  esac
5051.1Stvdone
5061.1Stv
5071.1Stv# Be sure to have absolute paths.
5081.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.1Stv              localstatedir libdir includedir oldincludedir infodir mandir
5101.1Stvdo
5111.1Stv  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.1Stv    [\\/$]* | ?:[\\/]* ) ;;
5141.1Stv    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.1Stv   { (exit 1); exit 1; }; };;
5161.1Stv  esac
5171.1Stvdone
5181.1Stv
5191.1Stv# There might be people who depend on the old broken behavior: `$host'
5201.1Stv# used to hold the argument of --host etc.
5211.1Stvbuild=$build_alias
5221.1Stvhost=$host_alias
5231.1Stvtarget=$target_alias
5241.1Stv
5251.1Stv# FIXME: should be removed in autoconf 3.0.
5261.1Stvif test "x$host_alias" != x; then
5271.1Stv  if test "x$build_alias" = x; then
5281.1Stv    cross_compiling=maybe
5291.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5301.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
5311.1Stv  elif test "x$build_alias" != "x$host_alias"; then
5321.1Stv    cross_compiling=yes
5331.1Stv  fi
5341.1Stvfi
5351.1Stv
5361.1Stvac_tool_prefix=
5371.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
5381.1Stv
5391.1Stvtest "$silent" = yes && exec 6>/dev/null
5401.1Stv
5411.1Stv# Find the source files, if location was not specified.
5421.1Stvif test -z "$srcdir"; then
5431.1Stv  ac_srcdir_defaulted=yes
5441.1Stv  # Try the directory containing this script, then its parent.
5451.1Stv  ac_prog=$0
5461.1Stv  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.1Stv  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.1Stv  if test ! -r $srcdir/$ac_unique_file; then
5501.1Stv    srcdir=..
5511.1Stv  fi
5521.1Stvelse
5531.1Stv  ac_srcdir_defaulted=no
5541.1Stvfi
5551.1Stvif test ! -r $srcdir/$ac_unique_file; then
5561.1Stv  if test "$ac_srcdir_defaulted" = yes; then
5571.1Stv    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.1Stv    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.1Stv   { (exit 1); exit 1; }; }
5621.1Stv  fi
5631.1Stvfi
5641.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.1Stvac_env_build_alias_set=${build_alias+set}
5661.1Stvac_env_build_alias_value=$build_alias
5671.1Stvac_cv_env_build_alias_set=${build_alias+set}
5681.1Stvac_cv_env_build_alias_value=$build_alias
5691.1Stvac_env_host_alias_set=${host_alias+set}
5701.1Stvac_env_host_alias_value=$host_alias
5711.1Stvac_cv_env_host_alias_set=${host_alias+set}
5721.1Stvac_cv_env_host_alias_value=$host_alias
5731.1Stvac_env_target_alias_set=${target_alias+set}
5741.1Stvac_env_target_alias_value=$target_alias
5751.1Stvac_cv_env_target_alias_set=${target_alias+set}
5761.1Stvac_cv_env_target_alias_value=$target_alias
5771.1Stvac_env_CC_set=${CC+set}
5781.1Stvac_env_CC_value=$CC
5791.1Stvac_cv_env_CC_set=${CC+set}
5801.1Stvac_cv_env_CC_value=$CC
5811.1Stvac_env_CFLAGS_set=${CFLAGS+set}
5821.1Stvac_env_CFLAGS_value=$CFLAGS
5831.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.1Stvac_cv_env_CFLAGS_value=$CFLAGS
5851.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
5861.1Stvac_env_LDFLAGS_value=$LDFLAGS
5871.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
5891.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
5911.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.1Stvac_env_CPP_set=${CPP+set}
5941.1Stvac_env_CPP_value=$CPP
5951.1Stvac_cv_env_CPP_set=${CPP+set}
5961.1Stvac_cv_env_CPP_value=$CPP
5971.1Stv
5981.1Stv#
5991.1Stv# Report the --help message.
6001.1Stv#
6011.1Stvif test "$ac_init_help" = "long"; then
6021.1Stv  # Omit some internal or obsolete options to make the list less imposing.
6031.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
6041.1Stv  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.1StvEOF
6261.1Stv
6271.1Stv  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.1Stv                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.1Stv                          [PREFIX]
6331.1Stv
6341.1StvBy default, \`make install' will install all the files in
6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
6371.1Stvfor instance \`--prefix=\$HOME'.
6381.1Stv
6391.1StvFor better control, use the options below.
6401.1Stv
6411.1StvFine tuning of the installation directories:
6421.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
6431.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6441.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
6451.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
6461.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6471.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6481.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6491.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
6501.1Stv  --includedir=DIR       C header files [PREFIX/include]
6511.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6521.1Stv  --infodir=DIR          info documentation [PREFIX/info]
6531.1Stv  --mandir=DIR           man documentation [PREFIX/man]
6541.1StvEOF
6551.1Stv
6561.1Stv  cat <<\EOF
6571.1StvEOF
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.1Stv  cat <<\EOF
6651.1Stv
6661.1StvSome influential environment variables:
6671.1Stv  CC          C compiler command
6681.1Stv  CFLAGS      C compiler flags
6691.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
6701.1Stv              nonstandard directory <lib dir>
6711.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.1Stv              headers in a nonstandard directory <include dir>
6731.1Stv  CPP         C preprocessor
6741.1Stv
6751.1StvUse these variables to override the choices made by `configure' or to help
6761.1Stvit to find libraries and programs with nonstandard names/locations.
6771.1Stv
6781.1StvReport bugs to <lib-bug-people@netbsd.org>.
6791.1StvEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.1Stv  ac_popdir=`pwd`
6851.1Stv  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.1Stv    cd $ac_subdir
6871.1Stv    # A "../" for each directory in /$ac_subdir.
6881.1Stv    ac_dots=`echo $ac_subdir |
6891.1Stv             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.1Stv
6911.1Stv    case $srcdir in
6921.1Stv    .) # No --srcdir option.  We are building in place.
6931.1Stv      ac_sub_srcdir=$srcdir ;;
6941.1Stv    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.1Stv      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.1Stv    *) # Relative path.
6971.1Stv      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.1Stv    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.1Stv    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.1Stv      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.1Stv    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.1Stv      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.1Stv    elif test -f $ac_sub_srcdir/configure.ac ||
7081.1Stv           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.1Stv      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.1Stv    fi
7141.1Stv    cd $ac_popdir
7151.1Stv  done
7161.1Stvfi
7171.1Stv
7181.1Stvtest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.1Stv  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.1Stvgenerated by GNU Autoconf 2.52
7231.1Stv
7241.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.1StvFree 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.1StvEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.1Stvcat >&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.1Stvgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.1StvEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.1Stv## ---------- ##
7451.1Stv## Platform.  ##
7461.1Stv## ---------- ##
7471.1Stv
7481.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7491.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
7501.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
7511.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
7521.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
7531.1Stv
7541.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7551.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7561.1Stv
7571.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7581.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7591.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7601.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
7611.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7621.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7631.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7641.1Stv
7651.1StvPATH = $PATH
7661.1Stv
7671.1Stv_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.1Stvcat >&5 <<EOF
7711.1Stv## ------------ ##
7721.1Stv## Core tests.  ##
7731.1Stv## ------------ ##
7741.1Stv
7751.1StvEOF
7761.1Stv
7771.1Stv# Keep a trace of the command line.
7781.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
7791.1Stv# Also quote any args containing shell meta-characters.
7801.1Stvac_configure_args=
7811.1Stvac_sep=
7821.1Stvfor ac_arg
7831.1Stvdo
7841.1Stv  case $ac_arg in
7851.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.1Stv  | --no-cr | --no-c) ;;
7871.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.1Stv  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.1Stv    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.1Stv    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.1Stv    ac_sep=" " ;;
7931.1Stv  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.1Stv     ac_sep=" " ;;
7951.1Stv  esac
7961.1Stv  # 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.1Stv  echo >&5
8051.1Stv  echo "## ----------------- ##" >&5
8061.1Stv  echo "## Cache variables.  ##" >&5
8071.1Stv  echo "## ----------------- ##" >&5
8081.1Stv  echo >&5
8091.1Stv  # The following way of writing the cache mishandles newlines in values,
8101.1Stv{
8111.1Stv  (set) 2>&1 |
8121.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.1Stv    *ac_space=\ *)
8141.1Stv      sed -n \
8151.1Stv        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.1Stv} >&5
8241.1Stv  sed "/^$/d" confdefs.h >conftest.log
8251.1Stv  if test -s conftest.log; then
8261.1Stv    echo >&5
8271.1Stv    echo "## ------------ ##" >&5
8281.1Stv    echo "## confdefs.h.  ##" >&5
8291.1Stv    echo "## ------------ ##" >&5
8301.1Stv    echo >&5
8311.1Stv    cat conftest.log >&5
8321.1Stv  fi
8331.1Stv  (echo; echo) >&5
8341.1Stv  test "$ac_signal" != 0 &&
8351.1Stv    echo "$as_me: caught signal $ac_signal" >&5
8361.1Stv  echo "$as_me: exit $exit_status" >&5
8371.1Stv  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.1Stv     ' 0
8401.1Stvfor ac_signal in 1 2 13 15; do
8411.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
8421.1Stvdone
8431.1Stvac_signal=0
8441.1Stv
8451.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
8461.1Stvrm -rf conftest* confdefs.h
8471.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.1Stvecho >confdefs.h
8491.1Stv
8501.1Stv# Let the site file select an alternate cache file if it wants to.
8511.1Stv# Prefer explicitly selected file to automatically selected ones.
8521.1Stvif test -z "$CONFIG_SITE"; then
8531.1Stv  if test "x$prefix" != xNONE; then
8541.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.1Stv  else
8561.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.1Stv  fi
8581.1Stvfi
8591.1Stvfor ac_site_file in $CONFIG_SITE; do
8601.1Stv  if test -r "$ac_site_file"; then
8611.1Stv    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.1Stv    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.1Stv    { echo "$as_me:872: loading cache $cache_file" >&5
8731.1Stvecho "$as_me: loading cache $cache_file" >&6;}
8741.1Stv    case $cache_file in
8751.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.1Stv      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.1Stv  { echo "$as_me:880: creating cache $cache_file" >&5
8811.1Stvecho "$as_me: creating cache $cache_file" >&6;}
8821.1Stv  >$cache_file
8831.1Stvfi
8841.1Stv
8851.1Stv# Check that the precious variables saved in the cache have kept the same
8861.1Stv# value.
8871.1Stvac_cache_corrupted=false
8881.1Stvfor ac_var in `(set) 2>&1 |
8891.1Stv               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
8901.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8911.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
8921.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.1Stv      { 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.1Stv      { 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.1Stv        { 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.1Stv        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.1Stv        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.1Stv        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.1Stv  # Pass precious variables to config.status.  It doesn't matter if
9161.1Stv  # we pass some twice (in addition to the command line arguments).
9171.1Stv  if test "$ac_new_set" = set; then
9181.1Stv    case $ac_new_val in
9191.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.1Stv      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.1Stv      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.1Stv      ;;
9231.1Stv    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.1Stv       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.1Stv  { 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.1Stv  { { 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.1Stvcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.1Stv  *c*,-n*) ECHO_N= ECHO_C='
9441.1Stv' ECHO_T='	' ;;
9451.1Stv  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.1Stv  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.1Stvesac
9481.1Stvecho "#! $SHELL" >conftest.sh
9491.1Stvecho  "exit 0"   >>conftest.sh
9501.1Stvchmod +x conftest.sh
9511.1Stvif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.1Stv  (PATH=".;."; conftest.sh) 2>&5
9531.1Stv  ac_status=$?
9541.1Stv  echo "$as_me:954: \$? = $ac_status" >&5
9551.1Stv  (exit $ac_status); }; then
9561.1Stv  ac_path_separator=';'
9571.1Stvelse
9581.1Stv  ac_path_separator=:
9591.1Stvfi
9601.1StvPATH_SEPARATOR="$ac_path_separator"
9611.1Stvrm -f conftest.sh
9621.1Stv
9631.1Stvac_config_headers="$ac_config_headers config.h"
9641.1Stv
9651.1Stvac_config_files="$ac_config_files defs.mk"
9661.1Stv
9671.20Sbjh21# Extract the first word of "sh", so it can be a program name with args.
9681.20Sbjh21set dummy sh; ac_word=$2
9691.20Sbjh21echo "$as_me:969: checking for $ac_word" >&5
9701.20Sbjh21echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9711.20Sbjh21if test "${ac_cv_path_BSHELL+set}" = set; then
9721.20Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
9731.20Sbjh21else
9741.20Sbjh21  case $BSHELL in
9751.20Sbjh21  [\\/]* | ?:[\\/]*)
9761.20Sbjh21  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
9771.20Sbjh21  ;;
9781.20Sbjh21  *)
9791.20Sbjh21  ac_save_IFS=$IFS; IFS=$ac_path_separator
9801.20Sbjh21ac_dummy="$PATH"
9811.20Sbjh21for ac_dir in $ac_dummy; do
9821.20Sbjh21  IFS=$ac_save_IFS
9831.20Sbjh21  test -z "$ac_dir" && ac_dir=.
9841.20Sbjh21  if $as_executable_p "$ac_dir/$ac_word"; then
9851.20Sbjh21   ac_cv_path_BSHELL="$ac_dir/$ac_word"
9861.20Sbjh21   echo "$as_me:986: found $ac_dir/$ac_word" >&5
9871.20Sbjh21   break
9881.20Sbjh21fi
9891.20Sbjh21done
9901.20Sbjh21
9911.20Sbjh21  ;;
9921.20Sbjh21esac
9931.20Sbjh21fi
9941.20Sbjh21BSHELL=$ac_cv_path_BSHELL
9951.20Sbjh21
9961.20Sbjh21if test -n "$BSHELL"; then
9971.20Sbjh21  echo "$as_me:997: result: $BSHELL" >&5
9981.20Sbjh21echo "${ECHO_T}$BSHELL" >&6
9991.20Sbjh21else
10001.20Sbjh21  echo "$as_me:1000: result: no" >&5
10011.20Sbjh21echo "${ECHO_T}no" >&6
10021.20Sbjh21fi
10031.20Sbjh21
10041.20Sbjh21if test x"$BSHELL" = x; then
10051.20Sbjh21	{ { echo "$as_me:1005: error: sh must be somewhere on \$PATH" >&5
10061.20Sbjh21echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
10071.20Sbjh21   { (exit 1); exit 1; }; }
10081.20Sbjh21fi
10091.20Sbjh21cat >>confdefs.h <<EOF
10101.20Sbjh21#define PATH_BSHELL "$BSHELL"
10111.20Sbjh21EOF
10121.20Sbjh21
10131.1Stvac_ext=c
10141.1Stvac_cpp='$CPP $CPPFLAGS'
10151.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10161.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10171.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
10181.1Stvif test -n "$ac_tool_prefix"; then
10191.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10201.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
10211.20Sbjh21echo "$as_me:1021: checking for $ac_word" >&5
10221.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10231.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10241.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10251.1Stvelse
10261.1Stv  if test -n "$CC"; then
10271.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10281.1Stvelse
10291.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
10301.1Stvac_dummy="$PATH"
10311.1Stvfor ac_dir in $ac_dummy; do
10321.1Stv  IFS=$ac_save_IFS
10331.1Stv  test -z "$ac_dir" && ac_dir=.
10341.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
10351.1Stvac_cv_prog_CC="${ac_tool_prefix}gcc"
10361.20Sbjh21echo "$as_me:1036: found $ac_dir/$ac_word" >&5
10371.1Stvbreak
10381.1Stvdone
10391.1Stv
10401.1Stvfi
10411.1Stvfi
10421.1StvCC=$ac_cv_prog_CC
10431.1Stvif test -n "$CC"; then
10441.20Sbjh21  echo "$as_me:1044: result: $CC" >&5
10451.1Stvecho "${ECHO_T}$CC" >&6
10461.1Stvelse
10471.20Sbjh21  echo "$as_me:1047: result: no" >&5
10481.1Stvecho "${ECHO_T}no" >&6
10491.1Stvfi
10501.1Stv
10511.1Stvfi
10521.1Stvif test -z "$ac_cv_prog_CC"; then
10531.1Stv  ac_ct_CC=$CC
10541.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10551.1Stvset dummy gcc; ac_word=$2
10561.20Sbjh21echo "$as_me:1056: checking for $ac_word" >&5
10571.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10581.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10591.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10601.1Stvelse
10611.1Stv  if test -n "$ac_ct_CC"; then
10621.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10631.1Stvelse
10641.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
10651.1Stvac_dummy="$PATH"
10661.1Stvfor ac_dir in $ac_dummy; do
10671.1Stv  IFS=$ac_save_IFS
10681.1Stv  test -z "$ac_dir" && ac_dir=.
10691.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
10701.1Stvac_cv_prog_ac_ct_CC="gcc"
10711.20Sbjh21echo "$as_me:1071: found $ac_dir/$ac_word" >&5
10721.1Stvbreak
10731.1Stvdone
10741.1Stv
10751.1Stvfi
10761.1Stvfi
10771.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
10781.1Stvif test -n "$ac_ct_CC"; then
10791.20Sbjh21  echo "$as_me:1079: result: $ac_ct_CC" >&5
10801.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10811.1Stvelse
10821.20Sbjh21  echo "$as_me:1082: result: no" >&5
10831.1Stvecho "${ECHO_T}no" >&6
10841.1Stvfi
10851.1Stv
10861.1Stv  CC=$ac_ct_CC
10871.1Stvelse
10881.1Stv  CC="$ac_cv_prog_CC"
10891.1Stvfi
10901.1Stv
10911.1Stvif test -z "$CC"; then
10921.1Stv  if test -n "$ac_tool_prefix"; then
10931.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10941.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10951.20Sbjh21echo "$as_me:1095: checking for $ac_word" >&5
10961.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10971.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10981.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10991.1Stvelse
11001.1Stv  if test -n "$CC"; then
11011.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11021.1Stvelse
11031.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
11041.1Stvac_dummy="$PATH"
11051.1Stvfor ac_dir in $ac_dummy; do
11061.1Stv  IFS=$ac_save_IFS
11071.1Stv  test -z "$ac_dir" && ac_dir=.
11081.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
11091.1Stvac_cv_prog_CC="${ac_tool_prefix}cc"
11101.20Sbjh21echo "$as_me:1110: found $ac_dir/$ac_word" >&5
11111.1Stvbreak
11121.1Stvdone
11131.1Stv
11141.1Stvfi
11151.1Stvfi
11161.1StvCC=$ac_cv_prog_CC
11171.1Stvif test -n "$CC"; then
11181.20Sbjh21  echo "$as_me:1118: result: $CC" >&5
11191.1Stvecho "${ECHO_T}$CC" >&6
11201.1Stvelse
11211.20Sbjh21  echo "$as_me:1121: result: no" >&5
11221.1Stvecho "${ECHO_T}no" >&6
11231.1Stvfi
11241.1Stv
11251.1Stvfi
11261.1Stvif test -z "$ac_cv_prog_CC"; then
11271.1Stv  ac_ct_CC=$CC
11281.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11291.1Stvset dummy cc; ac_word=$2
11301.20Sbjh21echo "$as_me:1130: checking for $ac_word" >&5
11311.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11321.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11331.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11341.1Stvelse
11351.1Stv  if test -n "$ac_ct_CC"; then
11361.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11371.1Stvelse
11381.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
11391.1Stvac_dummy="$PATH"
11401.1Stvfor ac_dir in $ac_dummy; do
11411.1Stv  IFS=$ac_save_IFS
11421.1Stv  test -z "$ac_dir" && ac_dir=.
11431.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
11441.1Stvac_cv_prog_ac_ct_CC="cc"
11451.20Sbjh21echo "$as_me:1145: found $ac_dir/$ac_word" >&5
11461.1Stvbreak
11471.1Stvdone
11481.1Stv
11491.1Stvfi
11501.1Stvfi
11511.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11521.1Stvif test -n "$ac_ct_CC"; then
11531.20Sbjh21  echo "$as_me:1153: result: $ac_ct_CC" >&5
11541.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11551.1Stvelse
11561.20Sbjh21  echo "$as_me:1156: result: no" >&5
11571.1Stvecho "${ECHO_T}no" >&6
11581.1Stvfi
11591.1Stv
11601.1Stv  CC=$ac_ct_CC
11611.1Stvelse
11621.1Stv  CC="$ac_cv_prog_CC"
11631.1Stvfi
11641.1Stv
11651.1Stvfi
11661.1Stvif test -z "$CC"; then
11671.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11681.1Stvset dummy cc; ac_word=$2
11691.20Sbjh21echo "$as_me:1169: checking for $ac_word" >&5
11701.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11711.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11721.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11731.1Stvelse
11741.1Stv  if test -n "$CC"; then
11751.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11761.1Stvelse
11771.1Stv  ac_prog_rejected=no
11781.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
11791.1Stvac_dummy="$PATH"
11801.1Stvfor ac_dir in $ac_dummy; do
11811.1Stv  IFS=$ac_save_IFS
11821.1Stv  test -z "$ac_dir" && ac_dir=.
11831.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
11841.1Stvif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11851.1Stv  ac_prog_rejected=yes
11861.1Stv  continue
11871.1Stvfi
11881.1Stvac_cv_prog_CC="cc"
11891.20Sbjh21echo "$as_me:1189: found $ac_dir/$ac_word" >&5
11901.1Stvbreak
11911.1Stvdone
11921.1Stv
11931.1Stvif test $ac_prog_rejected = yes; then
11941.1Stv  # We found a bogon in the path, so make sure we never use it.
11951.1Stv  set dummy $ac_cv_prog_CC
11961.1Stv  shift
11971.1Stv  if test $# != 0; then
11981.1Stv    # We chose a different compiler from the bogus one.
11991.1Stv    # However, it has the same basename, so the bogon will be chosen
12001.1Stv    # first if we set CC to just the basename; use the full file name.
12011.1Stv    shift
12021.1Stv    set dummy "$ac_dir/$ac_word" ${1+"$@"}
12031.1Stv    shift
12041.1Stv    ac_cv_prog_CC="$@"
12051.1Stv  fi
12061.1Stvfi
12071.1Stvfi
12081.1Stvfi
12091.1StvCC=$ac_cv_prog_CC
12101.1Stvif test -n "$CC"; then
12111.20Sbjh21  echo "$as_me:1211: result: $CC" >&5
12121.1Stvecho "${ECHO_T}$CC" >&6
12131.1Stvelse
12141.20Sbjh21  echo "$as_me:1214: result: no" >&5
12151.1Stvecho "${ECHO_T}no" >&6
12161.1Stvfi
12171.1Stv
12181.1Stvfi
12191.1Stvif test -z "$CC"; then
12201.1Stv  if test -n "$ac_tool_prefix"; then
12211.1Stv  for ac_prog in cl
12221.1Stv  do
12231.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12241.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
12251.20Sbjh21echo "$as_me:1225: checking for $ac_word" >&5
12261.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12271.1Stvif test "${ac_cv_prog_CC+set}" = set; then
12281.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12291.1Stvelse
12301.1Stv  if test -n "$CC"; then
12311.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
12321.1Stvelse
12331.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
12341.1Stvac_dummy="$PATH"
12351.1Stvfor ac_dir in $ac_dummy; do
12361.1Stv  IFS=$ac_save_IFS
12371.1Stv  test -z "$ac_dir" && ac_dir=.
12381.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
12391.1Stvac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12401.20Sbjh21echo "$as_me:1240: found $ac_dir/$ac_word" >&5
12411.1Stvbreak
12421.1Stvdone
12431.1Stv
12441.1Stvfi
12451.1Stvfi
12461.1StvCC=$ac_cv_prog_CC
12471.1Stvif test -n "$CC"; then
12481.20Sbjh21  echo "$as_me:1248: result: $CC" >&5
12491.1Stvecho "${ECHO_T}$CC" >&6
12501.1Stvelse
12511.20Sbjh21  echo "$as_me:1251: result: no" >&5
12521.1Stvecho "${ECHO_T}no" >&6
12531.1Stvfi
12541.1Stv
12551.1Stv    test -n "$CC" && break
12561.1Stv  done
12571.1Stvfi
12581.1Stvif test -z "$CC"; then
12591.1Stv  ac_ct_CC=$CC
12601.1Stv  for ac_prog in cl
12611.1Stvdo
12621.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12631.1Stvset dummy $ac_prog; ac_word=$2
12641.20Sbjh21echo "$as_me:1264: checking for $ac_word" >&5
12651.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12661.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12671.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12681.1Stvelse
12691.1Stv  if test -n "$ac_ct_CC"; then
12701.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12711.1Stvelse
12721.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
12731.1Stvac_dummy="$PATH"
12741.1Stvfor ac_dir in $ac_dummy; do
12751.1Stv  IFS=$ac_save_IFS
12761.1Stv  test -z "$ac_dir" && ac_dir=.
12771.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
12781.1Stvac_cv_prog_ac_ct_CC="$ac_prog"
12791.20Sbjh21echo "$as_me:1279: found $ac_dir/$ac_word" >&5
12801.1Stvbreak
12811.1Stvdone
12821.1Stv
12831.1Stvfi
12841.1Stvfi
12851.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
12861.1Stvif test -n "$ac_ct_CC"; then
12871.20Sbjh21  echo "$as_me:1287: result: $ac_ct_CC" >&5
12881.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12891.1Stvelse
12901.20Sbjh21  echo "$as_me:1290: result: no" >&5
12911.1Stvecho "${ECHO_T}no" >&6
12921.1Stvfi
12931.1Stv
12941.1Stv  test -n "$ac_ct_CC" && break
12951.1Stvdone
12961.1Stv
12971.1Stv  CC=$ac_ct_CC
12981.1Stvfi
12991.1Stv
13001.1Stvfi
13011.1Stv
13021.20Sbjh21test -z "$CC" && { { echo "$as_me:1302: error: no acceptable cc found in \$PATH" >&5
13031.1Stvecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
13041.1Stv   { (exit 1); exit 1; }; }
13051.1Stv
13061.1Stv# Provide some information about the compiler.
13071.20Sbjh21echo "$as_me:1307:" \
13081.1Stv     "checking for C compiler version" >&5
13091.1Stvac_compiler=`set X $ac_compile; echo $2`
13101.20Sbjh21{ (eval echo "$as_me:1310: \"$ac_compiler --version </dev/null >&5\"") >&5
13111.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
13121.1Stv  ac_status=$?
13131.20Sbjh21  echo "$as_me:1313: \$? = $ac_status" >&5
13141.1Stv  (exit $ac_status); }
13151.20Sbjh21{ (eval echo "$as_me:1315: \"$ac_compiler -v </dev/null >&5\"") >&5
13161.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
13171.1Stv  ac_status=$?
13181.20Sbjh21  echo "$as_me:1318: \$? = $ac_status" >&5
13191.1Stv  (exit $ac_status); }
13201.20Sbjh21{ (eval echo "$as_me:1320: \"$ac_compiler -V </dev/null >&5\"") >&5
13211.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
13221.1Stv  ac_status=$?
13231.20Sbjh21  echo "$as_me:1323: \$? = $ac_status" >&5
13241.1Stv  (exit $ac_status); }
13251.1Stv
13261.1Stvcat >conftest.$ac_ext <<_ACEOF
13271.20Sbjh21#line 1327 "configure"
13281.1Stv#include "confdefs.h"
13291.1Stv
13301.1Stvint
13311.1Stvmain ()
13321.1Stv{
13331.1Stv
13341.1Stv  ;
13351.1Stv  return 0;
13361.1Stv}
13371.1Stv_ACEOF
13381.1Stvac_clean_files_save=$ac_clean_files
13391.1Stvac_clean_files="$ac_clean_files a.out a.exe"
13401.1Stv# Try to create an executable without -o first, disregard a.out.
13411.1Stv# It will help us diagnose broken compilers, and finding out an intuition
13421.1Stv# of exeext.
13431.20Sbjh21echo "$as_me:1343: checking for C compiler default output" >&5
13441.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13451.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13461.20Sbjh21if { (eval echo "$as_me:1346: \"$ac_link_default\"") >&5
13471.1Stv  (eval $ac_link_default) 2>&5
13481.1Stv  ac_status=$?
13491.20Sbjh21  echo "$as_me:1349: \$? = $ac_status" >&5
13501.1Stv  (exit $ac_status); }; then
13511.1Stv  # Find the output, starting from the most likely.  This scheme is
13521.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13531.1Stv# resort.
13541.1Stvfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13551.1Stv                ls a.out conftest 2>/dev/null;
13561.1Stv                ls a.* conftest.* 2>/dev/null`; do
13571.1Stv  case $ac_file in
13581.1Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13591.1Stv    a.out ) # We found the default executable, but exeext='' is most
13601.1Stv            # certainly right.
13611.1Stv            break;;
13621.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13631.1Stv          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13641.1Stv          export ac_cv_exeext
13651.1Stv          break;;
13661.1Stv    * ) break;;
13671.1Stv  esac
13681.1Stvdone
13691.1Stvelse
13701.1Stv  echo "$as_me: failed program was:" >&5
13711.1Stvcat conftest.$ac_ext >&5
13721.20Sbjh21{ { echo "$as_me:1372: error: C compiler cannot create executables" >&5
13731.1Stvecho "$as_me: error: C compiler cannot create executables" >&2;}
13741.1Stv   { (exit 77); exit 77; }; }
13751.1Stvfi
13761.1Stv
13771.1Stvac_exeext=$ac_cv_exeext
13781.20Sbjh21echo "$as_me:1378: result: $ac_file" >&5
13791.1Stvecho "${ECHO_T}$ac_file" >&6
13801.1Stv
13811.1Stv# Check the compiler produces executables we can run.  If not, either
13821.1Stv# the compiler is broken, or we cross compile.
13831.20Sbjh21echo "$as_me:1383: checking whether the C compiler works" >&5
13841.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13851.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13861.1Stv# If not cross compiling, check that we can run a simple program.
13871.1Stvif test "$cross_compiling" != yes; then
13881.1Stv  if { ac_try='./$ac_file'
13891.20Sbjh21  { (eval echo "$as_me:1389: \"$ac_try\"") >&5
13901.1Stv  (eval $ac_try) 2>&5
13911.1Stv  ac_status=$?
13921.20Sbjh21  echo "$as_me:1392: \$? = $ac_status" >&5
13931.1Stv  (exit $ac_status); }; }; then
13941.1Stv    cross_compiling=no
13951.1Stv  else
13961.1Stv    if test "$cross_compiling" = maybe; then
13971.1Stv	cross_compiling=yes
13981.1Stv    else
13991.20Sbjh21	{ { echo "$as_me:1399: error: cannot run C compiled programs.
14001.1StvIf you meant to cross compile, use \`--host'." >&5
14011.1Stvecho "$as_me: error: cannot run C compiled programs.
14021.1StvIf you meant to cross compile, use \`--host'." >&2;}
14031.1Stv   { (exit 1); exit 1; }; }
14041.1Stv    fi
14051.1Stv  fi
14061.1Stvfi
14071.20Sbjh21echo "$as_me:1407: result: yes" >&5
14081.1Stvecho "${ECHO_T}yes" >&6
14091.1Stv
14101.1Stvrm -f a.out a.exe conftest$ac_cv_exeext
14111.1Stvac_clean_files=$ac_clean_files_save
14121.1Stv# Check the compiler produces executables we can run.  If not, either
14131.1Stv# the compiler is broken, or we cross compile.
14141.20Sbjh21echo "$as_me:1414: checking whether we are cross compiling" >&5
14151.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
14161.20Sbjh21echo "$as_me:1416: result: $cross_compiling" >&5
14171.1Stvecho "${ECHO_T}$cross_compiling" >&6
14181.1Stv
14191.20Sbjh21echo "$as_me:1419: checking for executable suffix" >&5
14201.1Stvecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
14211.20Sbjh21if { (eval echo "$as_me:1421: \"$ac_link\"") >&5
14221.1Stv  (eval $ac_link) 2>&5
14231.1Stv  ac_status=$?
14241.20Sbjh21  echo "$as_me:1424: \$? = $ac_status" >&5
14251.1Stv  (exit $ac_status); }; then
14261.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
14271.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
14281.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
14291.1Stv# `rm'.
14301.1Stvfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
14311.1Stv  case $ac_file in
14321.1Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
14331.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14341.1Stv          export ac_cv_exeext
14351.1Stv          break;;
14361.1Stv    * ) break;;
14371.1Stv  esac
14381.1Stvdone
14391.1Stvelse
14401.20Sbjh21  { { echo "$as_me:1440: error: cannot compute EXEEXT: cannot compile and link" >&5
14411.1Stvecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
14421.1Stv   { (exit 1); exit 1; }; }
14431.1Stvfi
14441.1Stv
14451.1Stvrm -f conftest$ac_cv_exeext
14461.20Sbjh21echo "$as_me:1446: result: $ac_cv_exeext" >&5
14471.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14481.1Stv
14491.1Stvrm -f conftest.$ac_ext
14501.1StvEXEEXT=$ac_cv_exeext
14511.1Stvac_exeext=$EXEEXT
14521.20Sbjh21echo "$as_me:1452: checking for object suffix" >&5
14531.1Stvecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14541.1Stvif test "${ac_cv_objext+set}" = set; then
14551.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14561.1Stvelse
14571.1Stv  cat >conftest.$ac_ext <<_ACEOF
14581.20Sbjh21#line 1458 "configure"
14591.1Stv#include "confdefs.h"
14601.1Stv
14611.1Stvint
14621.1Stvmain ()
14631.1Stv{
14641.1Stv
14651.1Stv  ;
14661.1Stv  return 0;
14671.1Stv}
14681.1Stv_ACEOF
14691.1Stvrm -f conftest.o conftest.obj
14701.20Sbjh21if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5
14711.1Stv  (eval $ac_compile) 2>&5
14721.1Stv  ac_status=$?
14731.20Sbjh21  echo "$as_me:1473: \$? = $ac_status" >&5
14741.1Stv  (exit $ac_status); }; then
14751.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14761.1Stv  case $ac_file in
14771.1Stv    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14781.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14791.1Stv       break;;
14801.1Stv  esac
14811.1Stvdone
14821.1Stvelse
14831.1Stv  echo "$as_me: failed program was:" >&5
14841.1Stvcat conftest.$ac_ext >&5
14851.20Sbjh21{ { echo "$as_me:1485: error: cannot compute OBJEXT: cannot compile" >&5
14861.1Stvecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14871.1Stv   { (exit 1); exit 1; }; }
14881.1Stvfi
14891.1Stv
14901.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14911.1Stvfi
14921.20Sbjh21echo "$as_me:1492: result: $ac_cv_objext" >&5
14931.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14941.1StvOBJEXT=$ac_cv_objext
14951.1Stvac_objext=$OBJEXT
14961.20Sbjh21echo "$as_me:1496: checking whether we are using the GNU C compiler" >&5
14971.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14981.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14991.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15001.1Stvelse
15011.1Stv  cat >conftest.$ac_ext <<_ACEOF
15021.20Sbjh21#line 1502 "configure"
15031.1Stv#include "confdefs.h"
15041.1Stv
15051.1Stvint
15061.1Stvmain ()
15071.1Stv{
15081.1Stv#ifndef __GNUC__
15091.1Stv       choke me
15101.1Stv#endif
15111.1Stv
15121.1Stv  ;
15131.1Stv  return 0;
15141.1Stv}
15151.1Stv_ACEOF
15161.1Stvrm -f conftest.$ac_objext
15171.20Sbjh21if { (eval echo "$as_me:1517: \"$ac_compile\"") >&5
15181.1Stv  (eval $ac_compile) 2>&5
15191.1Stv  ac_status=$?
15201.20Sbjh21  echo "$as_me:1520: \$? = $ac_status" >&5
15211.1Stv  (exit $ac_status); } &&
15221.1Stv         { ac_try='test -s conftest.$ac_objext'
15231.20Sbjh21  { (eval echo "$as_me:1523: \"$ac_try\"") >&5
15241.1Stv  (eval $ac_try) 2>&5
15251.1Stv  ac_status=$?
15261.20Sbjh21  echo "$as_me:1526: \$? = $ac_status" >&5
15271.1Stv  (exit $ac_status); }; }; then
15281.1Stv  ac_compiler_gnu=yes
15291.1Stvelse
15301.1Stv  echo "$as_me: failed program was:" >&5
15311.1Stvcat conftest.$ac_ext >&5
15321.1Stvac_compiler_gnu=no
15331.1Stvfi
15341.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15351.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
15361.1Stv
15371.1Stvfi
15381.20Sbjh21echo "$as_me:1538: result: $ac_cv_c_compiler_gnu" >&5
15391.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15401.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
15411.1Stvac_test_CFLAGS=${CFLAGS+set}
15421.1Stvac_save_CFLAGS=$CFLAGS
15431.1StvCFLAGS="-g"
15441.20Sbjh21echo "$as_me:1544: checking whether $CC accepts -g" >&5
15451.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15461.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15471.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15481.1Stvelse
15491.1Stv  cat >conftest.$ac_ext <<_ACEOF
15501.20Sbjh21#line 1550 "configure"
15511.1Stv#include "confdefs.h"
15521.1Stv
15531.1Stvint
15541.1Stvmain ()
15551.1Stv{
15561.1Stv
15571.1Stv  ;
15581.1Stv  return 0;
15591.1Stv}
15601.1Stv_ACEOF
15611.1Stvrm -f conftest.$ac_objext
15621.20Sbjh21if { (eval echo "$as_me:1562: \"$ac_compile\"") >&5
15631.1Stv  (eval $ac_compile) 2>&5
15641.1Stv  ac_status=$?
15651.20Sbjh21  echo "$as_me:1565: \$? = $ac_status" >&5
15661.1Stv  (exit $ac_status); } &&
15671.1Stv         { ac_try='test -s conftest.$ac_objext'
15681.20Sbjh21  { (eval echo "$as_me:1568: \"$ac_try\"") >&5
15691.1Stv  (eval $ac_try) 2>&5
15701.1Stv  ac_status=$?
15711.20Sbjh21  echo "$as_me:1571: \$? = $ac_status" >&5
15721.1Stv  (exit $ac_status); }; }; then
15731.1Stv  ac_cv_prog_cc_g=yes
15741.1Stvelse
15751.1Stv  echo "$as_me: failed program was:" >&5
15761.1Stvcat conftest.$ac_ext >&5
15771.1Stvac_cv_prog_cc_g=no
15781.1Stvfi
15791.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15801.1Stvfi
15811.20Sbjh21echo "$as_me:1581: result: $ac_cv_prog_cc_g" >&5
15821.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15831.1Stvif test "$ac_test_CFLAGS" = set; then
15841.1Stv  CFLAGS=$ac_save_CFLAGS
15851.1Stvelif test $ac_cv_prog_cc_g = yes; then
15861.1Stv  if test "$GCC" = yes; then
15871.1Stv    CFLAGS="-g -O2"
15881.1Stv  else
15891.1Stv    CFLAGS="-g"
15901.1Stv  fi
15911.1Stvelse
15921.1Stv  if test "$GCC" = yes; then
15931.1Stv    CFLAGS="-O2"
15941.1Stv  else
15951.1Stv    CFLAGS=
15961.1Stv  fi
15971.1Stvfi
15981.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15991.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
16001.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
16011.1Stv# the declaration of exit, since it's the most demanding environment.
16021.1Stvcat >conftest.$ac_ext <<_ACEOF
16031.1Stv#ifndef __cplusplus
16041.1Stv  choke me
16051.1Stv#endif
16061.1Stv_ACEOF
16071.1Stvrm -f conftest.$ac_objext
16081.20Sbjh21if { (eval echo "$as_me:1608: \"$ac_compile\"") >&5
16091.1Stv  (eval $ac_compile) 2>&5
16101.1Stv  ac_status=$?
16111.20Sbjh21  echo "$as_me:1611: \$? = $ac_status" >&5
16121.1Stv  (exit $ac_status); } &&
16131.1Stv         { ac_try='test -s conftest.$ac_objext'
16141.20Sbjh21  { (eval echo "$as_me:1614: \"$ac_try\"") >&5
16151.1Stv  (eval $ac_try) 2>&5
16161.1Stv  ac_status=$?
16171.20Sbjh21  echo "$as_me:1617: \$? = $ac_status" >&5
16181.1Stv  (exit $ac_status); }; }; then
16191.1Stv  for ac_declaration in \
16201.1Stv   ''\
16211.1Stv   '#include <stdlib.h>' \
16221.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
16231.1Stv   'extern "C" void std::exit (int); using std::exit;' \
16241.1Stv   'extern "C" void exit (int) throw ();' \
16251.1Stv   'extern "C" void exit (int);' \
16261.1Stv   'void exit (int);'
16271.1Stvdo
16281.1Stv  cat >conftest.$ac_ext <<_ACEOF
16291.20Sbjh21#line 1629 "configure"
16301.1Stv#include "confdefs.h"
16311.1Stv#include <stdlib.h>
16321.1Stv$ac_declaration
16331.1Stvint
16341.1Stvmain ()
16351.1Stv{
16361.1Stvexit (42);
16371.1Stv  ;
16381.1Stv  return 0;
16391.1Stv}
16401.1Stv_ACEOF
16411.1Stvrm -f conftest.$ac_objext
16421.20Sbjh21if { (eval echo "$as_me:1642: \"$ac_compile\"") >&5
16431.1Stv  (eval $ac_compile) 2>&5
16441.1Stv  ac_status=$?
16451.20Sbjh21  echo "$as_me:1645: \$? = $ac_status" >&5
16461.1Stv  (exit $ac_status); } &&
16471.1Stv         { ac_try='test -s conftest.$ac_objext'
16481.20Sbjh21  { (eval echo "$as_me:1648: \"$ac_try\"") >&5
16491.1Stv  (eval $ac_try) 2>&5
16501.1Stv  ac_status=$?
16511.20Sbjh21  echo "$as_me:1651: \$? = $ac_status" >&5
16521.1Stv  (exit $ac_status); }; }; then
16531.1Stv  :
16541.1Stvelse
16551.1Stv  echo "$as_me: failed program was:" >&5
16561.1Stvcat conftest.$ac_ext >&5
16571.1Stvcontinue
16581.1Stvfi
16591.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16601.1Stv  cat >conftest.$ac_ext <<_ACEOF
16611.20Sbjh21#line 1661 "configure"
16621.1Stv#include "confdefs.h"
16631.1Stv$ac_declaration
16641.1Stvint
16651.1Stvmain ()
16661.1Stv{
16671.1Stvexit (42);
16681.1Stv  ;
16691.1Stv  return 0;
16701.1Stv}
16711.1Stv_ACEOF
16721.1Stvrm -f conftest.$ac_objext
16731.20Sbjh21if { (eval echo "$as_me:1673: \"$ac_compile\"") >&5
16741.1Stv  (eval $ac_compile) 2>&5
16751.1Stv  ac_status=$?
16761.20Sbjh21  echo "$as_me:1676: \$? = $ac_status" >&5
16771.1Stv  (exit $ac_status); } &&
16781.1Stv         { ac_try='test -s conftest.$ac_objext'
16791.20Sbjh21  { (eval echo "$as_me:1679: \"$ac_try\"") >&5
16801.1Stv  (eval $ac_try) 2>&5
16811.1Stv  ac_status=$?
16821.20Sbjh21  echo "$as_me:1682: \$? = $ac_status" >&5
16831.1Stv  (exit $ac_status); }; }; then
16841.1Stv  break
16851.1Stvelse
16861.1Stv  echo "$as_me: failed program was:" >&5
16871.1Stvcat conftest.$ac_ext >&5
16881.1Stvfi
16891.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16901.1Stvdone
16911.1Stvrm -f conftest*
16921.1Stvif test -n "$ac_declaration"; then
16931.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16941.1Stv  echo $ac_declaration      >>confdefs.h
16951.1Stv  echo '#endif'             >>confdefs.h
16961.1Stvfi
16971.1Stv
16981.1Stvelse
16991.1Stv  echo "$as_me: failed program was:" >&5
17001.1Stvcat conftest.$ac_ext >&5
17011.1Stvfi
17021.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
17031.1Stvac_ext=c
17041.1Stvac_cpp='$CPP $CPPFLAGS'
17051.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
17081.1Stv
17091.20Sbjh21echo "$as_me:1709: checking whether byte ordering is bigendian" >&5
17101.4Stvecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17111.4Stvif test "${ac_cv_c_bigendian+set}" = set; then
17121.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
17131.4Stvelse
17141.4Stv  ac_cv_c_bigendian=unknown
17151.4Stv# See if sys/param.h defines the BYTE_ORDER macro.
17161.4Stvcat >conftest.$ac_ext <<_ACEOF
17171.20Sbjh21#line 1717 "configure"
17181.4Stv#include "confdefs.h"
17191.4Stv#include <sys/types.h>
17201.4Stv#include <sys/param.h>
17211.4Stv
17221.4Stvint
17231.4Stvmain ()
17241.4Stv{
17251.4Stv#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17261.4Stv bogus endian macros
17271.4Stv#endif
17281.4Stv
17291.4Stv  ;
17301.4Stv  return 0;
17311.4Stv}
17321.4Stv_ACEOF
17331.4Stvrm -f conftest.$ac_objext
17341.20Sbjh21if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
17351.4Stv  (eval $ac_compile) 2>&5
17361.4Stv  ac_status=$?
17371.20Sbjh21  echo "$as_me:1737: \$? = $ac_status" >&5
17381.4Stv  (exit $ac_status); } &&
17391.4Stv         { ac_try='test -s conftest.$ac_objext'
17401.20Sbjh21  { (eval echo "$as_me:1740: \"$ac_try\"") >&5
17411.4Stv  (eval $ac_try) 2>&5
17421.4Stv  ac_status=$?
17431.20Sbjh21  echo "$as_me:1743: \$? = $ac_status" >&5
17441.4Stv  (exit $ac_status); }; }; then
17451.4Stv  # It does; now see whether it defined to BIG_ENDIAN or not.
17461.4Stvcat >conftest.$ac_ext <<_ACEOF
17471.20Sbjh21#line 1747 "configure"
17481.4Stv#include "confdefs.h"
17491.4Stv#include <sys/types.h>
17501.4Stv#include <sys/param.h>
17511.4Stv
17521.4Stvint
17531.4Stvmain ()
17541.4Stv{
17551.4Stv#if BYTE_ORDER != BIG_ENDIAN
17561.4Stv not big endian
17571.4Stv#endif
17581.4Stv
17591.4Stv  ;
17601.4Stv  return 0;
17611.4Stv}
17621.4Stv_ACEOF
17631.4Stvrm -f conftest.$ac_objext
17641.20Sbjh21if { (eval echo "$as_me:1764: \"$ac_compile\"") >&5
17651.4Stv  (eval $ac_compile) 2>&5
17661.4Stv  ac_status=$?
17671.20Sbjh21  echo "$as_me:1767: \$? = $ac_status" >&5
17681.4Stv  (exit $ac_status); } &&
17691.4Stv         { ac_try='test -s conftest.$ac_objext'
17701.20Sbjh21  { (eval echo "$as_me:1770: \"$ac_try\"") >&5
17711.4Stv  (eval $ac_try) 2>&5
17721.4Stv  ac_status=$?
17731.20Sbjh21  echo "$as_me:1773: \$? = $ac_status" >&5
17741.4Stv  (exit $ac_status); }; }; then
17751.4Stv  ac_cv_c_bigendian=yes
17761.4Stvelse
17771.4Stv  echo "$as_me: failed program was:" >&5
17781.4Stvcat conftest.$ac_ext >&5
17791.4Stvac_cv_c_bigendian=no
17801.4Stvfi
17811.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17821.4Stvelse
17831.4Stv  echo "$as_me: failed program was:" >&5
17841.4Stvcat conftest.$ac_ext >&5
17851.4Stvfi
17861.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17871.4Stvif test $ac_cv_c_bigendian = unknown; then
17881.4Stvif test "$cross_compiling" = yes; then
17891.20Sbjh21  { { echo "$as_me:1789: error: cannot run test program while cross compiling" >&5
17901.4Stvecho "$as_me: error: cannot run test program while cross compiling" >&2;}
17911.4Stv   { (exit 1); exit 1; }; }
17921.4Stvelse
17931.4Stv  cat >conftest.$ac_ext <<_ACEOF
17941.20Sbjh21#line 1794 "configure"
17951.4Stv#include "confdefs.h"
17961.4Stvint
17971.4Stvmain ()
17981.4Stv{
17991.4Stv  /* Are we little or big endian?  From Harbison&Steele.  */
18001.4Stv  union
18011.4Stv  {
18021.4Stv    long l;
18031.4Stv    char c[sizeof (long)];
18041.4Stv  } u;
18051.4Stv  u.l = 1;
18061.4Stv  exit (u.c[sizeof (long) - 1] == 1);
18071.4Stv}
18081.4Stv_ACEOF
18091.4Stvrm -f conftest$ac_exeext
18101.20Sbjh21if { (eval echo "$as_me:1810: \"$ac_link\"") >&5
18111.4Stv  (eval $ac_link) 2>&5
18121.4Stv  ac_status=$?
18131.20Sbjh21  echo "$as_me:1813: \$? = $ac_status" >&5
18141.4Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18151.20Sbjh21  { (eval echo "$as_me:1815: \"$ac_try\"") >&5
18161.4Stv  (eval $ac_try) 2>&5
18171.4Stv  ac_status=$?
18181.20Sbjh21  echo "$as_me:1818: \$? = $ac_status" >&5
18191.4Stv  (exit $ac_status); }; }; then
18201.4Stv  ac_cv_c_bigendian=no
18211.4Stvelse
18221.4Stv  echo "$as_me: program exited with status $ac_status" >&5
18231.4Stvecho "$as_me: failed program was:" >&5
18241.4Stvcat conftest.$ac_ext >&5
18251.4Stvac_cv_c_bigendian=yes
18261.4Stvfi
18271.4Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18281.4Stvfi
18291.4Stvfi
18301.4Stvfi
18311.20Sbjh21echo "$as_me:1831: result: $ac_cv_c_bigendian" >&5
18321.4Stvecho "${ECHO_T}$ac_cv_c_bigendian" >&6
18331.4Stvif test $ac_cv_c_bigendian = yes; then
18341.4Stv
18351.4Stvcat >>confdefs.h <<\EOF
18361.4Stv#define WORDS_BIGENDIAN 1
18371.4StvEOF
18381.4Stv
18391.4Stvfi
18401.4Stv
18411.1Stvac_ext=c
18421.1Stvac_cpp='$CPP $CPPFLAGS'
18431.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
18461.20Sbjh21echo "$as_me:1846: checking how to run the C preprocessor" >&5
18471.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
18481.1Stv# On Suns, sometimes $CPP names a directory.
18491.1Stvif test -n "$CPP" && test -d "$CPP"; then
18501.1Stv  CPP=
18511.1Stvfi
18521.1Stvif test -z "$CPP"; then
18531.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
18541.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18551.1Stvelse
18561.1Stv      # Double quotes because CPP needs to be expanded
18571.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18581.1Stv    do
18591.1Stv      ac_preproc_ok=false
18601.1Stvfor ac_c_preproc_warn_flag in '' yes
18611.1Stvdo
18621.1Stv  # Use a header file that comes with gcc, so configuring glibc
18631.1Stv  # with a fresh cross-compiler works.
18641.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
18651.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
18661.1Stv  cat >conftest.$ac_ext <<_ACEOF
18671.20Sbjh21#line 1867 "configure"
18681.1Stv#include "confdefs.h"
18691.1Stv#include <assert.h>
18701.1Stv                     Syntax error
18711.1Stv_ACEOF
18721.20Sbjh21if { (eval echo "$as_me:1872: \"$ac_cpp conftest.$ac_ext\"") >&5
18731.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18741.1Stv  ac_status=$?
18751.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
18761.1Stv  rm -f conftest.er1
18771.1Stv  cat conftest.err >&5
18781.20Sbjh21  echo "$as_me:1878: \$? = $ac_status" >&5
18791.1Stv  (exit $ac_status); } >/dev/null; then
18801.1Stv  if test -s conftest.err; then
18811.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18821.1Stv  else
18831.1Stv    ac_cpp_err=
18841.1Stv  fi
18851.1Stvelse
18861.1Stv  ac_cpp_err=yes
18871.1Stvfi
18881.1Stvif test -z "$ac_cpp_err"; then
18891.1Stv  :
18901.1Stvelse
18911.1Stv  echo "$as_me: failed program was:" >&5
18921.1Stv  cat conftest.$ac_ext >&5
18931.1Stv  # Broken: fails on valid input.
18941.1Stvcontinue
18951.1Stvfi
18961.1Stvrm -f conftest.err conftest.$ac_ext
18971.1Stv
18981.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18991.1Stv  # can be detected and how.
19001.1Stv  cat >conftest.$ac_ext <<_ACEOF
19011.20Sbjh21#line 1901 "configure"
19021.1Stv#include "confdefs.h"
19031.1Stv#include <ac_nonexistent.h>
19041.1Stv_ACEOF
19051.20Sbjh21if { (eval echo "$as_me:1905: \"$ac_cpp conftest.$ac_ext\"") >&5
19061.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19071.1Stv  ac_status=$?
19081.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19091.1Stv  rm -f conftest.er1
19101.1Stv  cat conftest.err >&5
19111.20Sbjh21  echo "$as_me:1911: \$? = $ac_status" >&5
19121.1Stv  (exit $ac_status); } >/dev/null; then
19131.1Stv  if test -s conftest.err; then
19141.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19151.1Stv  else
19161.1Stv    ac_cpp_err=
19171.1Stv  fi
19181.1Stvelse
19191.1Stv  ac_cpp_err=yes
19201.1Stvfi
19211.1Stvif test -z "$ac_cpp_err"; then
19221.1Stv  # Broken: success on invalid input.
19231.1Stvcontinue
19241.1Stvelse
19251.1Stv  echo "$as_me: failed program was:" >&5
19261.1Stv  cat conftest.$ac_ext >&5
19271.1Stv  # Passes both tests.
19281.1Stvac_preproc_ok=:
19291.1Stvbreak
19301.1Stvfi
19311.1Stvrm -f conftest.err conftest.$ac_ext
19321.1Stv
19331.1Stvdone
19341.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19351.1Stvrm -f conftest.err conftest.$ac_ext
19361.1Stvif $ac_preproc_ok; then
19371.1Stv  break
19381.1Stvfi
19391.1Stv
19401.1Stv    done
19411.1Stv    ac_cv_prog_CPP=$CPP
19421.1Stv
19431.1Stvfi
19441.1Stv  CPP=$ac_cv_prog_CPP
19451.1Stvelse
19461.1Stv  ac_cv_prog_CPP=$CPP
19471.1Stvfi
19481.20Sbjh21echo "$as_me:1948: result: $CPP" >&5
19491.1Stvecho "${ECHO_T}$CPP" >&6
19501.1Stvac_preproc_ok=false
19511.1Stvfor ac_c_preproc_warn_flag in '' yes
19521.1Stvdo
19531.1Stv  # Use a header file that comes with gcc, so configuring glibc
19541.1Stv  # with a fresh cross-compiler works.
19551.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
19561.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
19571.1Stv  cat >conftest.$ac_ext <<_ACEOF
19581.20Sbjh21#line 1958 "configure"
19591.1Stv#include "confdefs.h"
19601.1Stv#include <assert.h>
19611.1Stv                     Syntax error
19621.1Stv_ACEOF
19631.20Sbjh21if { (eval echo "$as_me:1963: \"$ac_cpp conftest.$ac_ext\"") >&5
19641.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19651.1Stv  ac_status=$?
19661.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19671.1Stv  rm -f conftest.er1
19681.1Stv  cat conftest.err >&5
19691.20Sbjh21  echo "$as_me:1969: \$? = $ac_status" >&5
19701.1Stv  (exit $ac_status); } >/dev/null; then
19711.1Stv  if test -s conftest.err; then
19721.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19731.1Stv  else
19741.1Stv    ac_cpp_err=
19751.1Stv  fi
19761.1Stvelse
19771.1Stv  ac_cpp_err=yes
19781.1Stvfi
19791.1Stvif test -z "$ac_cpp_err"; then
19801.1Stv  :
19811.1Stvelse
19821.1Stv  echo "$as_me: failed program was:" >&5
19831.1Stv  cat conftest.$ac_ext >&5
19841.1Stv  # Broken: fails on valid input.
19851.1Stvcontinue
19861.1Stvfi
19871.1Stvrm -f conftest.err conftest.$ac_ext
19881.1Stv
19891.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
19901.1Stv  # can be detected and how.
19911.1Stv  cat >conftest.$ac_ext <<_ACEOF
19921.20Sbjh21#line 1992 "configure"
19931.1Stv#include "confdefs.h"
19941.1Stv#include <ac_nonexistent.h>
19951.1Stv_ACEOF
19961.20Sbjh21if { (eval echo "$as_me:1996: \"$ac_cpp conftest.$ac_ext\"") >&5
19971.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19981.1Stv  ac_status=$?
19991.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
20001.1Stv  rm -f conftest.er1
20011.1Stv  cat conftest.err >&5
20021.20Sbjh21  echo "$as_me:2002: \$? = $ac_status" >&5
20031.1Stv  (exit $ac_status); } >/dev/null; then
20041.1Stv  if test -s conftest.err; then
20051.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20061.1Stv  else
20071.1Stv    ac_cpp_err=
20081.1Stv  fi
20091.1Stvelse
20101.1Stv  ac_cpp_err=yes
20111.1Stvfi
20121.1Stvif test -z "$ac_cpp_err"; then
20131.1Stv  # Broken: success on invalid input.
20141.1Stvcontinue
20151.1Stvelse
20161.1Stv  echo "$as_me: failed program was:" >&5
20171.1Stv  cat conftest.$ac_ext >&5
20181.1Stv  # Passes both tests.
20191.1Stvac_preproc_ok=:
20201.1Stvbreak
20211.1Stvfi
20221.1Stvrm -f conftest.err conftest.$ac_ext
20231.1Stv
20241.1Stvdone
20251.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20261.1Stvrm -f conftest.err conftest.$ac_ext
20271.1Stvif $ac_preproc_ok; then
20281.1Stv  :
20291.1Stvelse
20301.20Sbjh21  { { echo "$as_me:2030: error: C preprocessor \"$CPP\" fails sanity check" >&5
20311.1Stvecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
20321.1Stv   { (exit 1); exit 1; }; }
20331.1Stvfi
20341.1Stv
20351.1Stvac_ext=c
20361.1Stvac_cpp='$CPP $CPPFLAGS'
20371.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
20401.1Stv
20411.20Sbjh21echo "$as_me:2041: checking for ANSI C header files" >&5
20421.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20431.6Stvif test "${ac_cv_header_stdc+set}" = set; then
20441.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20451.6Stvelse
20461.6Stv  cat >conftest.$ac_ext <<_ACEOF
20471.20Sbjh21#line 2047 "configure"
20481.6Stv#include "confdefs.h"
20491.6Stv#include <stdlib.h>
20501.6Stv#include <stdarg.h>
20511.6Stv#include <string.h>
20521.6Stv#include <float.h>
20531.6Stv
20541.6Stv_ACEOF
20551.20Sbjh21if { (eval echo "$as_me:2055: \"$ac_cpp conftest.$ac_ext\"") >&5
20561.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20571.6Stv  ac_status=$?
20581.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
20591.6Stv  rm -f conftest.er1
20601.6Stv  cat conftest.err >&5
20611.20Sbjh21  echo "$as_me:2061: \$? = $ac_status" >&5
20621.6Stv  (exit $ac_status); } >/dev/null; then
20631.6Stv  if test -s conftest.err; then
20641.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20651.6Stv  else
20661.6Stv    ac_cpp_err=
20671.6Stv  fi
20681.6Stvelse
20691.6Stv  ac_cpp_err=yes
20701.6Stvfi
20711.6Stvif test -z "$ac_cpp_err"; then
20721.6Stv  ac_cv_header_stdc=yes
20731.6Stvelse
20741.6Stv  echo "$as_me: failed program was:" >&5
20751.6Stv  cat conftest.$ac_ext >&5
20761.6Stv  ac_cv_header_stdc=no
20771.6Stvfi
20781.6Stvrm -f conftest.err conftest.$ac_ext
20791.6Stv
20801.6Stvif test $ac_cv_header_stdc = yes; then
20811.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20821.6Stv  cat >conftest.$ac_ext <<_ACEOF
20831.20Sbjh21#line 2083 "configure"
20841.6Stv#include "confdefs.h"
20851.6Stv#include <string.h>
20861.6Stv
20871.6Stv_ACEOF
20881.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20891.6Stv  egrep "memchr" >/dev/null 2>&1; then
20901.6Stv  :
20911.6Stvelse
20921.6Stv  ac_cv_header_stdc=no
20931.6Stvfi
20941.6Stvrm -f conftest*
20951.6Stv
20961.6Stvfi
20971.6Stv
20981.6Stvif test $ac_cv_header_stdc = yes; then
20991.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21001.6Stv  cat >conftest.$ac_ext <<_ACEOF
21011.20Sbjh21#line 2101 "configure"
21021.6Stv#include "confdefs.h"
21031.6Stv#include <stdlib.h>
21041.6Stv
21051.6Stv_ACEOF
21061.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21071.6Stv  egrep "free" >/dev/null 2>&1; then
21081.6Stv  :
21091.6Stvelse
21101.6Stv  ac_cv_header_stdc=no
21111.6Stvfi
21121.6Stvrm -f conftest*
21131.6Stv
21141.6Stvfi
21151.6Stv
21161.6Stvif test $ac_cv_header_stdc = yes; then
21171.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21181.6Stv  if test "$cross_compiling" = yes; then
21191.6Stv  :
21201.6Stvelse
21211.6Stv  cat >conftest.$ac_ext <<_ACEOF
21221.20Sbjh21#line 2122 "configure"
21231.6Stv#include "confdefs.h"
21241.6Stv#include <ctype.h>
21251.6Stv#if ((' ' & 0x0FF) == 0x020)
21261.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21271.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21281.6Stv#else
21291.6Stv# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21301.6Stv                     || ('j' <= (c) && (c) <= 'r') \
21311.6Stv                     || ('s' <= (c) && (c) <= 'z'))
21321.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21331.6Stv#endif
21341.6Stv
21351.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21361.6Stvint
21371.6Stvmain ()
21381.6Stv{
21391.6Stv  int i;
21401.6Stv  for (i = 0; i < 256; i++)
21411.6Stv    if (XOR (islower (i), ISLOWER (i))
21421.6Stv        || toupper (i) != TOUPPER (i))
21431.6Stv      exit(2);
21441.6Stv  exit (0);
21451.6Stv}
21461.6Stv_ACEOF
21471.6Stvrm -f conftest$ac_exeext
21481.20Sbjh21if { (eval echo "$as_me:2148: \"$ac_link\"") >&5
21491.6Stv  (eval $ac_link) 2>&5
21501.6Stv  ac_status=$?
21511.20Sbjh21  echo "$as_me:2151: \$? = $ac_status" >&5
21521.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21531.20Sbjh21  { (eval echo "$as_me:2153: \"$ac_try\"") >&5
21541.6Stv  (eval $ac_try) 2>&5
21551.6Stv  ac_status=$?
21561.20Sbjh21  echo "$as_me:2156: \$? = $ac_status" >&5
21571.6Stv  (exit $ac_status); }; }; then
21581.6Stv  :
21591.6Stvelse
21601.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21611.6Stvecho "$as_me: failed program was:" >&5
21621.6Stvcat conftest.$ac_ext >&5
21631.6Stvac_cv_header_stdc=no
21641.6Stvfi
21651.6Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21661.6Stvfi
21671.6Stvfi
21681.6Stvfi
21691.20Sbjh21echo "$as_me:2169: result: $ac_cv_header_stdc" >&5
21701.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
21711.6Stvif test $ac_cv_header_stdc = yes; then
21721.6Stv
21731.6Stvcat >>confdefs.h <<\EOF
21741.6Stv#define STDC_HEADERS 1
21751.6StvEOF
21761.6Stv
21771.6Stvfi
21781.6Stv
21791.6Stv# Confirm existence of zlib.  (This is available as a default install
21801.6Stv# option on many OS's; this could be added as a reachover build in the
21811.6Stv# future.)
21821.20Sbjh21echo "$as_me:2182: checking for zlib.h" >&5
21831.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21841.6Stvif test "${ac_cv_header_zlib_h+set}" = set; then
21851.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21861.4Stvelse
21871.4Stv  cat >conftest.$ac_ext <<_ACEOF
21881.20Sbjh21#line 2188 "configure"
21891.4Stv#include "confdefs.h"
21901.6Stv#include <zlib.h>
21911.4Stv_ACEOF
21921.20Sbjh21if { (eval echo "$as_me:2192: \"$ac_cpp conftest.$ac_ext\"") >&5
21931.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21941.4Stv  ac_status=$?
21951.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
21961.4Stv  rm -f conftest.er1
21971.4Stv  cat conftest.err >&5
21981.20Sbjh21  echo "$as_me:2198: \$? = $ac_status" >&5
21991.4Stv  (exit $ac_status); } >/dev/null; then
22001.4Stv  if test -s conftest.err; then
22011.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
22021.4Stv  else
22031.4Stv    ac_cpp_err=
22041.4Stv  fi
22051.4Stvelse
22061.4Stv  ac_cpp_err=yes
22071.4Stvfi
22081.4Stvif test -z "$ac_cpp_err"; then
22091.6Stv  ac_cv_header_zlib_h=yes
22101.4Stvelse
22111.4Stv  echo "$as_me: failed program was:" >&5
22121.4Stv  cat conftest.$ac_ext >&5
22131.6Stv  ac_cv_header_zlib_h=no
22141.4Stvfi
22151.4Stvrm -f conftest.err conftest.$ac_ext
22161.4Stvfi
22171.20Sbjh21echo "$as_me:2217: result: $ac_cv_header_zlib_h" >&5
22181.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22191.6Stvif test $ac_cv_header_zlib_h = yes; then
22201.6Stv  :
22211.6Stvelse
22221.20Sbjh21  { { echo "$as_me:2222: error: zlib must be installed in a compiler-visible path" >&5
22231.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22241.6Stv   { (exit 1); exit 1; }; }
22251.6Stvfi
22261.6Stv
22271.20Sbjh21echo "$as_me:2227: checking for gzdopen in -lz" >&5
22281.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22291.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22301.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22311.6Stvelse
22321.6Stv  ac_check_lib_save_LIBS=$LIBS
22331.6StvLIBS="-lz  $LIBS"
22341.6Stvcat >conftest.$ac_ext <<_ACEOF
22351.20Sbjh21#line 2235 "configure"
22361.6Stv#include "confdefs.h"
22371.6Stv
22381.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
22391.6Stv#ifdef __cplusplus
22401.6Stvextern "C"
22411.6Stv#endif
22421.6Stv/* We use char because int might match the return type of a gcc2
22431.6Stv   builtin and then its argument prototype would still apply.  */
22441.6Stvchar gzdopen ();
22451.6Stvint
22461.6Stvmain ()
22471.6Stv{
22481.6Stvgzdopen ();
22491.6Stv  ;
22501.6Stv  return 0;
22511.6Stv}
22521.6Stv_ACEOF
22531.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22541.20Sbjh21if { (eval echo "$as_me:2254: \"$ac_link\"") >&5
22551.6Stv  (eval $ac_link) 2>&5
22561.6Stv  ac_status=$?
22571.20Sbjh21  echo "$as_me:2257: \$? = $ac_status" >&5
22581.6Stv  (exit $ac_status); } &&
22591.6Stv         { ac_try='test -s conftest$ac_exeext'
22601.20Sbjh21  { (eval echo "$as_me:2260: \"$ac_try\"") >&5
22611.6Stv  (eval $ac_try) 2>&5
22621.6Stv  ac_status=$?
22631.20Sbjh21  echo "$as_me:2263: \$? = $ac_status" >&5
22641.6Stv  (exit $ac_status); }; }; then
22651.6Stv  ac_cv_lib_z_gzdopen=yes
22661.6Stvelse
22671.6Stv  echo "$as_me: failed program was:" >&5
22681.6Stvcat conftest.$ac_ext >&5
22691.6Stvac_cv_lib_z_gzdopen=no
22701.6Stvfi
22711.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22721.6StvLIBS=$ac_check_lib_save_LIBS
22731.6Stvfi
22741.20Sbjh21echo "$as_me:2274: result: $ac_cv_lib_z_gzdopen" >&5
22751.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
22761.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
22771.4Stv  cat >>confdefs.h <<EOF
22781.6Stv#define HAVE_LIBZ 1
22791.4StvEOF
22801.4Stv
22811.6Stv  LIBS="-lz $LIBS"
22821.6Stv
22831.4Stvelse
22841.20Sbjh21  { { echo "$as_me:2284: error: zlib must be installed in a compiler-visible path" >&5
22851.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22861.4Stv   { (exit 1); exit 1; }; }
22871.4Stvfi
22881.4Stv
22891.6Stv# Make sure certain required headers are available.
22901.6Stv# These are not necessarily required by the code, but they are not
22911.6Stv# currently conditionalized.
22921.4Stv
22931.6Stvfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
22941.34Sthorpej	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
22951.34Sthorpej	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
22961.28Sbriggs	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
22971.22Sthorpej	termios.h unistd.h
22981.4Stvdo
22991.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23001.20Sbjh21echo "$as_me:2300: checking for $ac_header" >&5
23011.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23021.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23031.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23041.4Stvelse
23051.4Stv  cat >conftest.$ac_ext <<_ACEOF
23061.20Sbjh21#line 2306 "configure"
23071.4Stv#include "confdefs.h"
23081.4Stv#include <$ac_header>
23091.4Stv_ACEOF
23101.20Sbjh21if { (eval echo "$as_me:2310: \"$ac_cpp conftest.$ac_ext\"") >&5
23111.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23121.4Stv  ac_status=$?
23131.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
23141.4Stv  rm -f conftest.er1
23151.4Stv  cat conftest.err >&5
23161.20Sbjh21  echo "$as_me:2316: \$? = $ac_status" >&5
23171.4Stv  (exit $ac_status); } >/dev/null; then
23181.4Stv  if test -s conftest.err; then
23191.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23201.4Stv  else
23211.4Stv    ac_cpp_err=
23221.4Stv  fi
23231.4Stvelse
23241.6Stv  ac_cpp_err=yes
23251.6Stvfi
23261.6Stvif test -z "$ac_cpp_err"; then
23271.6Stv  eval "$as_ac_Header=yes"
23281.6Stvelse
23291.6Stv  echo "$as_me: failed program was:" >&5
23301.6Stv  cat conftest.$ac_ext >&5
23311.6Stv  eval "$as_ac_Header=no"
23321.6Stvfi
23331.6Stvrm -f conftest.err conftest.$ac_ext
23341.6Stvfi
23351.20Sbjh21echo "$as_me:2335: result: `eval echo '${'$as_ac_Header'}'`" >&5
23361.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23371.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23381.6Stv  cat >>confdefs.h <<EOF
23391.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23401.6StvEOF
23411.6Stv
23421.6Stvelse
23431.20Sbjh21  { { echo "$as_me:2343: error: standard system header file not found" >&5
23441.6Stvecho "$as_me: error: standard system header file not found" >&2;}
23451.6Stv   { (exit 1); exit 1; }; }
23461.6Stvfi
23471.6Stvdone
23481.6Stv
23491.6Stv# Find headers that may not be available.
23501.6Stv
23511.6Stvac_header_dirent=no
23521.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23531.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23541.20Sbjh21echo "$as_me:2354: checking for $ac_hdr that defines DIR" >&5
23551.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23561.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23571.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23581.6Stvelse
23591.6Stv  cat >conftest.$ac_ext <<_ACEOF
23601.20Sbjh21#line 2360 "configure"
23611.6Stv#include "confdefs.h"
23621.6Stv#include <sys/types.h>
23631.6Stv#include <$ac_hdr>
23641.6Stv
23651.6Stvint
23661.6Stvmain ()
23671.6Stv{
23681.6Stvif ((DIR *) 0)
23691.6Stvreturn 0;
23701.6Stv  ;
23711.6Stv  return 0;
23721.6Stv}
23731.6Stv_ACEOF
23741.6Stvrm -f conftest.$ac_objext
23751.20Sbjh21if { (eval echo "$as_me:2375: \"$ac_compile\"") >&5
23761.6Stv  (eval $ac_compile) 2>&5
23771.6Stv  ac_status=$?
23781.20Sbjh21  echo "$as_me:2378: \$? = $ac_status" >&5
23791.6Stv  (exit $ac_status); } &&
23801.6Stv         { ac_try='test -s conftest.$ac_objext'
23811.20Sbjh21  { (eval echo "$as_me:2381: \"$ac_try\"") >&5
23821.6Stv  (eval $ac_try) 2>&5
23831.6Stv  ac_status=$?
23841.20Sbjh21  echo "$as_me:2384: \$? = $ac_status" >&5
23851.6Stv  (exit $ac_status); }; }; then
23861.6Stv  eval "$as_ac_Header=yes"
23871.6Stvelse
23881.6Stv  echo "$as_me: failed program was:" >&5
23891.6Stvcat conftest.$ac_ext >&5
23901.6Stveval "$as_ac_Header=no"
23911.6Stvfi
23921.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
23931.6Stvfi
23941.20Sbjh21echo "$as_me:2394: result: `eval echo '${'$as_ac_Header'}'`" >&5
23951.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23961.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23971.6Stv  cat >>confdefs.h <<EOF
23981.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
23991.6StvEOF
24001.6Stv
24011.6Stvac_header_dirent=$ac_hdr; break
24021.6Stvfi
24031.6Stv
24041.6Stvdone
24051.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24061.6Stvif test $ac_header_dirent = dirent.h; then
24071.20Sbjh21  echo "$as_me:2407: checking for opendir in -ldir" >&5
24081.6Stvecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24091.6Stvif test "${ac_cv_lib_dir_opendir+set}" = set; then
24101.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24111.6Stvelse
24121.6Stv  ac_check_lib_save_LIBS=$LIBS
24131.6StvLIBS="-ldir  $LIBS"
24141.6Stvcat >conftest.$ac_ext <<_ACEOF
24151.20Sbjh21#line 2415 "configure"
24161.6Stv#include "confdefs.h"
24171.6Stv
24181.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24191.6Stv#ifdef __cplusplus
24201.6Stvextern "C"
24211.6Stv#endif
24221.6Stv/* We use char because int might match the return type of a gcc2
24231.6Stv   builtin and then its argument prototype would still apply.  */
24241.6Stvchar opendir ();
24251.6Stvint
24261.6Stvmain ()
24271.6Stv{
24281.6Stvopendir ();
24291.6Stv  ;
24301.6Stv  return 0;
24311.6Stv}
24321.6Stv_ACEOF
24331.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24341.20Sbjh21if { (eval echo "$as_me:2434: \"$ac_link\"") >&5
24351.6Stv  (eval $ac_link) 2>&5
24361.6Stv  ac_status=$?
24371.20Sbjh21  echo "$as_me:2437: \$? = $ac_status" >&5
24381.6Stv  (exit $ac_status); } &&
24391.6Stv         { ac_try='test -s conftest$ac_exeext'
24401.20Sbjh21  { (eval echo "$as_me:2440: \"$ac_try\"") >&5
24411.6Stv  (eval $ac_try) 2>&5
24421.6Stv  ac_status=$?
24431.20Sbjh21  echo "$as_me:2443: \$? = $ac_status" >&5
24441.6Stv  (exit $ac_status); }; }; then
24451.6Stv  ac_cv_lib_dir_opendir=yes
24461.6Stvelse
24471.6Stv  echo "$as_me: failed program was:" >&5
24481.6Stvcat conftest.$ac_ext >&5
24491.6Stvac_cv_lib_dir_opendir=no
24501.6Stvfi
24511.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24521.6StvLIBS=$ac_check_lib_save_LIBS
24531.6Stvfi
24541.20Sbjh21echo "$as_me:2454: result: $ac_cv_lib_dir_opendir" >&5
24551.6Stvecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24561.6Stvif test $ac_cv_lib_dir_opendir = yes; then
24571.6Stv  LIBS="$LIBS -ldir"
24581.6Stvfi
24591.6Stv
24601.6Stvelse
24611.20Sbjh21  echo "$as_me:2461: checking for opendir in -lx" >&5
24621.6Stvecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
24631.6Stvif test "${ac_cv_lib_x_opendir+set}" = set; then
24641.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24651.6Stvelse
24661.6Stv  ac_check_lib_save_LIBS=$LIBS
24671.6StvLIBS="-lx  $LIBS"
24681.6Stvcat >conftest.$ac_ext <<_ACEOF
24691.20Sbjh21#line 2469 "configure"
24701.6Stv#include "confdefs.h"
24711.6Stv
24721.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24731.6Stv#ifdef __cplusplus
24741.6Stvextern "C"
24751.6Stv#endif
24761.6Stv/* We use char because int might match the return type of a gcc2
24771.6Stv   builtin and then its argument prototype would still apply.  */
24781.6Stvchar opendir ();
24791.6Stvint
24801.6Stvmain ()
24811.6Stv{
24821.6Stvopendir ();
24831.6Stv  ;
24841.6Stv  return 0;
24851.6Stv}
24861.6Stv_ACEOF
24871.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24881.20Sbjh21if { (eval echo "$as_me:2488: \"$ac_link\"") >&5
24891.6Stv  (eval $ac_link) 2>&5
24901.6Stv  ac_status=$?
24911.20Sbjh21  echo "$as_me:2491: \$? = $ac_status" >&5
24921.6Stv  (exit $ac_status); } &&
24931.6Stv         { ac_try='test -s conftest$ac_exeext'
24941.20Sbjh21  { (eval echo "$as_me:2494: \"$ac_try\"") >&5
24951.6Stv  (eval $ac_try) 2>&5
24961.6Stv  ac_status=$?
24971.20Sbjh21  echo "$as_me:2497: \$? = $ac_status" >&5
24981.6Stv  (exit $ac_status); }; }; then
24991.6Stv  ac_cv_lib_x_opendir=yes
25001.6Stvelse
25011.6Stv  echo "$as_me: failed program was:" >&5
25021.6Stvcat conftest.$ac_ext >&5
25031.6Stvac_cv_lib_x_opendir=no
25041.6Stvfi
25051.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25061.6StvLIBS=$ac_check_lib_save_LIBS
25071.6Stvfi
25081.20Sbjh21echo "$as_me:2508: result: $ac_cv_lib_x_opendir" >&5
25091.6Stvecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25101.6Stvif test $ac_cv_lib_x_opendir = yes; then
25111.6Stv  LIBS="$LIBS -lx"
25121.6Stvfi
25131.6Stv
25141.6Stvfi
25151.6Stv
25161.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \
25171.28Sbriggs	features.h malloc.h poll.h stddef.h
25181.6Stvdo
25191.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25201.20Sbjh21echo "$as_me:2520: checking for $ac_header" >&5
25211.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25221.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25241.6Stvelse
25251.6Stv  cat >conftest.$ac_ext <<_ACEOF
25261.20Sbjh21#line 2526 "configure"
25271.6Stv#include "confdefs.h"
25281.6Stv#include <$ac_header>
25291.6Stv_ACEOF
25301.20Sbjh21if { (eval echo "$as_me:2530: \"$ac_cpp conftest.$ac_ext\"") >&5
25311.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25321.6Stv  ac_status=$?
25331.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
25341.6Stv  rm -f conftest.er1
25351.6Stv  cat conftest.err >&5
25361.20Sbjh21  echo "$as_me:2536: \$? = $ac_status" >&5
25371.6Stv  (exit $ac_status); } >/dev/null; then
25381.6Stv  if test -s conftest.err; then
25391.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25401.6Stv  else
25411.6Stv    ac_cpp_err=
25421.6Stv  fi
25431.6Stvelse
25441.6Stv  ac_cpp_err=yes
25451.6Stvfi
25461.6Stvif test -z "$ac_cpp_err"; then
25471.6Stv  eval "$as_ac_Header=yes"
25481.6Stvelse
25491.6Stv  echo "$as_me: failed program was:" >&5
25501.6Stv  cat conftest.$ac_ext >&5
25511.6Stv  eval "$as_ac_Header=no"
25521.6Stvfi
25531.6Stvrm -f conftest.err conftest.$ac_ext
25541.6Stvfi
25551.20Sbjh21echo "$as_me:2555: result: `eval echo '${'$as_ac_Header'}'`" >&5
25561.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25571.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
25581.6Stv  cat >>confdefs.h <<EOF
25591.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25601.6StvEOF
25611.6Stv
25621.6Stvfi
25631.6Stvdone
25641.6Stv
25651.18Sbjh21for ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
25661.31Slukem	err.h inttypes.h libgen.h paths.h stdint.h util.h
25671.6Stvdo
25681.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25691.20Sbjh21echo "$as_me:2569: checking for $ac_header" >&5
25701.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25711.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25721.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25731.6Stvelse
25741.6Stv  cat >conftest.$ac_ext <<_ACEOF
25751.20Sbjh21#line 2575 "configure"
25761.6Stv#include "confdefs.h"
25771.6Stv#include <$ac_header>
25781.6Stv_ACEOF
25791.20Sbjh21if { (eval echo "$as_me:2579: \"$ac_cpp conftest.$ac_ext\"") >&5
25801.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25811.6Stv  ac_status=$?
25821.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
25831.6Stv  rm -f conftest.er1
25841.6Stv  cat conftest.err >&5
25851.20Sbjh21  echo "$as_me:2585: \$? = $ac_status" >&5
25861.6Stv  (exit $ac_status); } >/dev/null; then
25871.6Stv  if test -s conftest.err; then
25881.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25891.6Stv  else
25901.6Stv    ac_cpp_err=
25911.6Stv  fi
25921.6Stvelse
25931.6Stv  ac_cpp_err=yes
25941.6Stvfi
25951.6Stvif test -z "$ac_cpp_err"; then
25961.6Stv  eval "$as_ac_Header=yes"
25971.6Stvelse
25981.6Stv  echo "$as_me: failed program was:" >&5
25991.6Stv  cat conftest.$ac_ext >&5
26001.6Stv  eval "$as_ac_Header=no"
26011.6Stvfi
26021.6Stvrm -f conftest.err conftest.$ac_ext
26031.6Stvfi
26041.20Sbjh21echo "$as_me:2604: result: `eval echo '${'$as_ac_Header'}'`" >&5
26051.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26061.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26071.6Stv  cat >>confdefs.h <<EOF
26081.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26091.6StvEOF
26101.6Stv
26111.6Stvelse
26121.11Stv  test -f include/$ac_header || touch include/$ac_header
26131.6Stvfi
26141.6Stvdone
26151.6Stv
26161.24Sbriggsfor ac_header in rpc/types.h getopt.h netconfig.h
26171.7Stvdo
26181.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26191.22Sthorpejecho "$as_me:2619: checking for $ac_header" >&5
26201.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26211.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26221.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26231.7Stvelse
26241.7Stv  cat >conftest.$ac_ext <<_ACEOF
26251.22Sthorpej#line 2625 "configure"
26261.7Stv#include "confdefs.h"
26271.7Stv#include <$ac_header>
26281.7Stv_ACEOF
26291.22Sthorpejif { (eval echo "$as_me:2629: \"$ac_cpp conftest.$ac_ext\"") >&5
26301.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26311.7Stv  ac_status=$?
26321.7Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
26331.7Stv  rm -f conftest.er1
26341.7Stv  cat conftest.err >&5
26351.22Sthorpej  echo "$as_me:2635: \$? = $ac_status" >&5
26361.7Stv  (exit $ac_status); } >/dev/null; then
26371.7Stv  if test -s conftest.err; then
26381.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26391.7Stv  else
26401.7Stv    ac_cpp_err=
26411.7Stv  fi
26421.7Stvelse
26431.7Stv  ac_cpp_err=yes
26441.7Stvfi
26451.7Stvif test -z "$ac_cpp_err"; then
26461.7Stv  eval "$as_ac_Header=yes"
26471.7Stvelse
26481.7Stv  echo "$as_me: failed program was:" >&5
26491.7Stv  cat conftest.$ac_ext >&5
26501.7Stv  eval "$as_ac_Header=no"
26511.7Stvfi
26521.7Stvrm -f conftest.err conftest.$ac_ext
26531.7Stvfi
26541.22Sthorpejecho "$as_me:2654: result: `eval echo '${'$as_ac_Header'}'`" >&5
26551.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26561.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26571.7Stv  cat >>confdefs.h <<EOF
26581.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26591.7StvEOF
26601.7Stv
26611.7Stvelse
26621.11Stv  echo '#include "config.h"' >include/$ac_header.new
26631.11Stv	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
26641.11Stv	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
26651.11Stv		rm -f include/$ac_header.new
26661.11Stv	else
26671.11Stv		mv -f include/$ac_header.new include/$ac_header
26681.11Stv	fi
26691.7Stvfi
26701.7Stvdone
26711.7Stv
26721.6Stv# Typedefs.
26731.6Stv# On IRIX 5.3, sys/types and inttypes.h are conflicting.
26741.6Stv
26751.6Stvfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
26761.6Stv                  inttypes.h stdint.h unistd.h
26771.6Stvdo
26781.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26791.22Sthorpejecho "$as_me:2679: checking for $ac_header" >&5
26801.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26811.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26821.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26831.6Stvelse
26841.6Stv  cat >conftest.$ac_ext <<_ACEOF
26851.22Sthorpej#line 2685 "configure"
26861.6Stv#include "confdefs.h"
26871.6Stv$ac_includes_default
26881.6Stv#include <$ac_header>
26891.6Stv_ACEOF
26901.6Stvrm -f conftest.$ac_objext
26911.22Sthorpejif { (eval echo "$as_me:2691: \"$ac_compile\"") >&5
26921.6Stv  (eval $ac_compile) 2>&5
26931.6Stv  ac_status=$?
26941.22Sthorpej  echo "$as_me:2694: \$? = $ac_status" >&5
26951.6Stv  (exit $ac_status); } &&
26961.6Stv         { ac_try='test -s conftest.$ac_objext'
26971.22Sthorpej  { (eval echo "$as_me:2697: \"$ac_try\"") >&5
26981.6Stv  (eval $ac_try) 2>&5
26991.6Stv  ac_status=$?
27001.22Sthorpej  echo "$as_me:2700: \$? = $ac_status" >&5
27011.6Stv  (exit $ac_status); }; }; then
27021.6Stv  eval "$as_ac_Header=yes"
27031.6Stvelse
27041.6Stv  echo "$as_me: failed program was:" >&5
27051.6Stvcat conftest.$ac_ext >&5
27061.6Stveval "$as_ac_Header=no"
27071.6Stvfi
27081.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27091.6Stvfi
27101.22Sthorpejecho "$as_me:2710: result: `eval echo '${'$as_ac_Header'}'`" >&5
27111.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27121.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
27131.6Stv  cat >>confdefs.h <<EOF
27141.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27151.6StvEOF
27161.6Stv
27171.6Stvfi
27181.6Stvdone
27191.6Stv
27201.22Sthorpejecho "$as_me:2720: checking for size_t" >&5
27211.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27221.6Stvif test "${ac_cv_type_size_t+set}" = set; then
27231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27241.6Stvelse
27251.6Stv  cat >conftest.$ac_ext <<_ACEOF
27261.22Sthorpej#line 2726 "configure"
27271.6Stv#include "confdefs.h"
27281.6Stv$ac_includes_default
27291.6Stvint
27301.6Stvmain ()
27311.6Stv{
27321.6Stvif ((size_t *) 0)
27331.6Stv  return 0;
27341.6Stvif (sizeof (size_t))
27351.6Stv  return 0;
27361.6Stv  ;
27371.6Stv  return 0;
27381.6Stv}
27391.6Stv_ACEOF
27401.6Stvrm -f conftest.$ac_objext
27411.22Sthorpejif { (eval echo "$as_me:2741: \"$ac_compile\"") >&5
27421.6Stv  (eval $ac_compile) 2>&5
27431.6Stv  ac_status=$?
27441.22Sthorpej  echo "$as_me:2744: \$? = $ac_status" >&5
27451.6Stv  (exit $ac_status); } &&
27461.6Stv         { ac_try='test -s conftest.$ac_objext'
27471.22Sthorpej  { (eval echo "$as_me:2747: \"$ac_try\"") >&5
27481.6Stv  (eval $ac_try) 2>&5
27491.6Stv  ac_status=$?
27501.22Sthorpej  echo "$as_me:2750: \$? = $ac_status" >&5
27511.6Stv  (exit $ac_status); }; }; then
27521.6Stv  ac_cv_type_size_t=yes
27531.6Stvelse
27541.6Stv  echo "$as_me: failed program was:" >&5
27551.6Stvcat conftest.$ac_ext >&5
27561.6Stvac_cv_type_size_t=no
27571.6Stvfi
27581.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27591.6Stvfi
27601.22Sthorpejecho "$as_me:2760: result: $ac_cv_type_size_t" >&5
27611.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
27621.6Stvif test $ac_cv_type_size_t = yes; then
27631.6Stv  :
27641.6Stvelse
27651.6Stv
27661.6Stvcat >>confdefs.h <<EOF
27671.6Stv#define size_t unsigned
27681.6StvEOF
27691.6Stv
27701.6Stvfi
27711.6Stv
27721.22Sthorpejecho "$as_me:2772: checking for id_t" >&5
27731.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
27741.6Stvif test "${ac_cv_type_id_t+set}" = set; then
27751.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27761.6Stvelse
27771.6Stv  cat >conftest.$ac_ext <<_ACEOF
27781.22Sthorpej#line 2778 "configure"
27791.6Stv#include "confdefs.h"
27801.6Stv$ac_includes_default
27811.6Stvint
27821.6Stvmain ()
27831.6Stv{
27841.6Stvif ((id_t *) 0)
27851.6Stv  return 0;
27861.6Stvif (sizeof (id_t))
27871.6Stv  return 0;
27881.6Stv  ;
27891.6Stv  return 0;
27901.6Stv}
27911.6Stv_ACEOF
27921.6Stvrm -f conftest.$ac_objext
27931.22Sthorpejif { (eval echo "$as_me:2793: \"$ac_compile\"") >&5
27941.6Stv  (eval $ac_compile) 2>&5
27951.6Stv  ac_status=$?
27961.22Sthorpej  echo "$as_me:2796: \$? = $ac_status" >&5
27971.6Stv  (exit $ac_status); } &&
27981.6Stv         { ac_try='test -s conftest.$ac_objext'
27991.22Sthorpej  { (eval echo "$as_me:2799: \"$ac_try\"") >&5
28001.6Stv  (eval $ac_try) 2>&5
28011.6Stv  ac_status=$?
28021.22Sthorpej  echo "$as_me:2802: \$? = $ac_status" >&5
28031.6Stv  (exit $ac_status); }; }; then
28041.6Stv  ac_cv_type_id_t=yes
28051.6Stvelse
28061.6Stv  echo "$as_me: failed program was:" >&5
28071.6Stvcat conftest.$ac_ext >&5
28081.6Stvac_cv_type_id_t=no
28091.6Stvfi
28101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28111.6Stvfi
28121.22Sthorpejecho "$as_me:2812: result: $ac_cv_type_id_t" >&5
28131.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
28141.6Stvif test $ac_cv_type_id_t = yes; then
28151.6Stv
28161.6Stvcat >>confdefs.h <<EOF
28171.6Stv#define HAVE_ID_T 1
28181.6StvEOF
28191.6Stv
28201.6Stvfi
28211.22Sthorpejecho "$as_me:2821: checking for long long" >&5
28221.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
28231.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28241.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28251.6Stvelse
28261.6Stv  cat >conftest.$ac_ext <<_ACEOF
28271.22Sthorpej#line 2827 "configure"
28281.6Stv#include "confdefs.h"
28291.6Stv$ac_includes_default
28301.6Stvint
28311.6Stvmain ()
28321.6Stv{
28331.6Stvif ((long long *) 0)
28341.6Stv  return 0;
28351.6Stvif (sizeof (long long))
28361.6Stv  return 0;
28371.6Stv  ;
28381.6Stv  return 0;
28391.6Stv}
28401.6Stv_ACEOF
28411.6Stvrm -f conftest.$ac_objext
28421.22Sthorpejif { (eval echo "$as_me:2842: \"$ac_compile\"") >&5
28431.6Stv  (eval $ac_compile) 2>&5
28441.6Stv  ac_status=$?
28451.22Sthorpej  echo "$as_me:2845: \$? = $ac_status" >&5
28461.6Stv  (exit $ac_status); } &&
28471.6Stv         { ac_try='test -s conftest.$ac_objext'
28481.22Sthorpej  { (eval echo "$as_me:2848: \"$ac_try\"") >&5
28491.6Stv  (eval $ac_try) 2>&5
28501.6Stv  ac_status=$?
28511.22Sthorpej  echo "$as_me:2851: \$? = $ac_status" >&5
28521.6Stv  (exit $ac_status); }; }; then
28531.6Stv  ac_cv_type_long_long=yes
28541.6Stvelse
28551.6Stv  echo "$as_me: failed program was:" >&5
28561.6Stvcat conftest.$ac_ext >&5
28571.6Stvac_cv_type_long_long=no
28581.6Stvfi
28591.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28601.6Stvfi
28611.22Sthorpejecho "$as_me:2861: result: $ac_cv_type_long_long" >&5
28621.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
28631.6Stvif test $ac_cv_type_long_long = yes; then
28641.6Stv
28651.6Stvcat >>confdefs.h <<EOF
28661.6Stv#define HAVE_LONG_LONG 1
28671.6StvEOF
28681.6Stv
28691.6Stvfi
28701.38Sfredbecho "$as_me:0: checking for u_long" >&5
28711.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
28721.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
28731.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
28741.38Sfredbelse
28751.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
28761.38Sfredb#line 0 "configure"
28771.38Sfredb/* confdefs.h.  */
28781.38Sfredb_ACEOF
28791.38Sfredbcat confdefs.h >>conftest.$ac_ext
28801.38Sfredbcat >>conftest.$ac_ext <<_ACEOF
28811.38Sfredb/* end confdefs.h.  */
28821.38Sfredb$ac_includes_default
28831.38Sfredbint
28841.38Sfredbmain ()
28851.38Sfredb{
28861.38Sfredbif ((u_long *) 0)
28871.38Sfredb  return 0;
28881.38Sfredbif (sizeof (u_long))
28891.38Sfredb  return 0;
28901.38Sfredb  ;
28911.38Sfredb  return 0;
28921.38Sfredb}
28931.38Sfredb_ACEOF
28941.38Sfredbrm -f conftest.$ac_objext
28951.38Sfredbif { (eval echo "$as_me:0: \"$ac_compile\"") >&5
28961.38Sfredb  (eval $ac_compile) 2>&5
28971.38Sfredb  ac_status=$?
28981.38Sfredb  echo "$as_me:0: \$? = $ac_status" >&5
28991.38Sfredb  (exit $ac_status); } &&
29001.38Sfredb         { ac_try='test -s conftest.$ac_objext'
29011.38Sfredb  { (eval echo "$as_me:0: \"$ac_try\"") >&5
29021.38Sfredb  (eval $ac_try) 2>&5
29031.38Sfredb  ac_status=$?
29041.38Sfredb  echo "$as_me:0: \$? = $ac_status" >&5
29051.38Sfredb  (exit $ac_status); }; }; then
29061.38Sfredb  ac_cv_type_u_long=yes
29071.38Sfredbelse
29081.38Sfredb  echo "$as_me: failed program was:" >&5
29091.38Sfredbsed 's/^/| /' conftest.$ac_ext >&5
29101.38Sfredb
29111.38Sfredbac_cv_type_u_long=no
29121.38Sfredbfi
29131.38Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
29141.38Sfredbfi
29151.38Sfredbecho "$as_me:0: result: $ac_cv_type_u_long" >&5
29161.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
29171.38Sfredbif test $ac_cv_type_u_long = yes; then
29181.38Sfredb
29191.38Sfredbcat >>confdefs.h <<_ACEOF
29201.38Sfredb#define HAVE_U_LONG 1
29211.38Sfredb_ACEOF
29221.38Sfredb
29231.38Sfredbfi
29241.22Sthorpejecho "$as_me:2870: checking for u_quad_t" >&5
29251.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
29261.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
29271.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29281.7Stvelse
29291.7Stv  cat >conftest.$ac_ext <<_ACEOF
29301.22Sthorpej#line 2876 "configure"
29311.7Stv#include "confdefs.h"
29321.7Stv$ac_includes_default
29331.7Stvint
29341.7Stvmain ()
29351.7Stv{
29361.7Stvif ((u_quad_t *) 0)
29371.7Stv  return 0;
29381.7Stvif (sizeof (u_quad_t))
29391.7Stv  return 0;
29401.7Stv  ;
29411.7Stv  return 0;
29421.7Stv}
29431.7Stv_ACEOF
29441.7Stvrm -f conftest.$ac_objext
29451.22Sthorpejif { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
29461.7Stv  (eval $ac_compile) 2>&5
29471.7Stv  ac_status=$?
29481.22Sthorpej  echo "$as_me:2894: \$? = $ac_status" >&5
29491.7Stv  (exit $ac_status); } &&
29501.7Stv         { ac_try='test -s conftest.$ac_objext'
29511.22Sthorpej  { (eval echo "$as_me:2897: \"$ac_try\"") >&5
29521.7Stv  (eval $ac_try) 2>&5
29531.7Stv  ac_status=$?
29541.22Sthorpej  echo "$as_me:2900: \$? = $ac_status" >&5
29551.7Stv  (exit $ac_status); }; }; then
29561.7Stv  ac_cv_type_u_quad_t=yes
29571.7Stvelse
29581.7Stv  echo "$as_me: failed program was:" >&5
29591.7Stvcat conftest.$ac_ext >&5
29601.7Stvac_cv_type_u_quad_t=no
29611.7Stvfi
29621.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
29631.7Stvfi
29641.22Sthorpejecho "$as_me:2910: result: $ac_cv_type_u_quad_t" >&5
29651.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
29661.7Stvif test $ac_cv_type_u_quad_t = yes; then
29671.7Stv
29681.7Stvcat >>confdefs.h <<EOF
29691.7Stv#define HAVE_U_QUAD_T 1
29701.7StvEOF
29711.7Stv
29721.7Stvfi
29731.35Sthorpej
29741.35Sthorpejecho "$as_me:2920: checking for socklen_t" >&5
29751.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
29761.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
29771.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
29781.34Sthorpejelse
29791.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
29801.35Sthorpej#line 2926 "configure"
29811.34Sthorpej#include "confdefs.h"
29821.35Sthorpej#include <sys/types.h>
29831.35Sthorpej#include <sys/socket.h>
29841.35Sthorpej
29851.34Sthorpejint
29861.34Sthorpejmain ()
29871.34Sthorpej{
29881.34Sthorpejif ((socklen_t *) 0)
29891.34Sthorpej  return 0;
29901.34Sthorpejif (sizeof (socklen_t))
29911.34Sthorpej  return 0;
29921.34Sthorpej  ;
29931.34Sthorpej  return 0;
29941.34Sthorpej}
29951.34Sthorpej_ACEOF
29961.34Sthorpejrm -f conftest.$ac_objext
29971.35Sthorpejif { (eval echo "$as_me:2943: \"$ac_compile\"") >&5
29981.34Sthorpej  (eval $ac_compile) 2>&5
29991.34Sthorpej  ac_status=$?
30001.35Sthorpej  echo "$as_me:2946: \$? = $ac_status" >&5
30011.34Sthorpej  (exit $ac_status); } &&
30021.34Sthorpej         { ac_try='test -s conftest.$ac_objext'
30031.35Sthorpej  { (eval echo "$as_me:2949: \"$ac_try\"") >&5
30041.34Sthorpej  (eval $ac_try) 2>&5
30051.34Sthorpej  ac_status=$?
30061.35Sthorpej  echo "$as_me:2952: \$? = $ac_status" >&5
30071.34Sthorpej  (exit $ac_status); }; }; then
30081.34Sthorpej  ac_cv_type_socklen_t=yes
30091.34Sthorpejelse
30101.34Sthorpej  echo "$as_me: failed program was:" >&5
30111.34Sthorpejcat conftest.$ac_ext >&5
30121.34Sthorpejac_cv_type_socklen_t=no
30131.34Sthorpejfi
30141.34Sthorpejrm -f conftest.$ac_objext conftest.$ac_ext
30151.34Sthorpejfi
30161.35Sthorpejecho "$as_me:2962: result: $ac_cv_type_socklen_t" >&5
30171.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
30181.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
30191.35Sthorpej  cat >>confdefs.h <<\EOF
30201.34Sthorpej#define HAVE_SOCKLEN_T 1
30211.34SthorpejEOF
30221.34Sthorpej
30231.34Sthorpejfi
30241.34Sthorpej
30251.35Sthorpej	echo "$as_me:2971: checking for uint8_t" >&5
30261.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
30271.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
30281.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30291.6Stvelse
30301.6Stv  cat >conftest.$ac_ext <<_ACEOF
30311.35Sthorpej#line 2977 "configure"
30321.6Stv#include "confdefs.h"
30331.6Stv$ac_includes_default
30341.6Stvint
30351.6Stvmain ()
30361.6Stv{
30371.9Stvif ((uint8_t *) 0)
30381.6Stv  return 0;
30391.9Stvif (sizeof (uint8_t))
30401.6Stv  return 0;
30411.6Stv  ;
30421.6Stv  return 0;
30431.6Stv}
30441.6Stv_ACEOF
30451.6Stvrm -f conftest.$ac_objext
30461.35Sthorpejif { (eval echo "$as_me:2992: \"$ac_compile\"") >&5
30471.6Stv  (eval $ac_compile) 2>&5
30481.6Stv  ac_status=$?
30491.35Sthorpej  echo "$as_me:2995: \$? = $ac_status" >&5
30501.6Stv  (exit $ac_status); } &&
30511.6Stv         { ac_try='test -s conftest.$ac_objext'
30521.35Sthorpej  { (eval echo "$as_me:2998: \"$ac_try\"") >&5
30531.6Stv  (eval $ac_try) 2>&5
30541.6Stv  ac_status=$?
30551.35Sthorpej  echo "$as_me:3001: \$? = $ac_status" >&5
30561.6Stv  (exit $ac_status); }; }; then
30571.9Stv  ac_cv_type_uint8_t=yes
30581.9Stvelse
30591.9Stv  echo "$as_me: failed program was:" >&5
30601.9Stvcat conftest.$ac_ext >&5
30611.9Stvac_cv_type_uint8_t=no
30621.9Stvfi
30631.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
30641.9Stvfi
30651.35Sthorpejecho "$as_me:3011: result: $ac_cv_type_uint8_t" >&5
30661.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
30671.9Stvif test $ac_cv_type_uint8_t = yes; then
30681.9Stv  :
30691.9Stvelse
30701.9Stv
30711.35Sthorpej		echo "$as_me:3017: checking for u_int8_t" >&5
30721.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
30731.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
30741.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30751.9Stvelse
30761.9Stv  cat >conftest.$ac_ext <<_ACEOF
30771.35Sthorpej#line 3023 "configure"
30781.9Stv#include "confdefs.h"
30791.9Stv$ac_includes_default
30801.9Stvint
30811.9Stvmain ()
30821.9Stv{
30831.9Stvif ((u_int8_t *) 0)
30841.9Stv  return 0;
30851.9Stvif (sizeof (u_int8_t))
30861.9Stv  return 0;
30871.9Stv  ;
30881.9Stv  return 0;
30891.9Stv}
30901.9Stv_ACEOF
30911.9Stvrm -f conftest.$ac_objext
30921.35Sthorpejif { (eval echo "$as_me:3038: \"$ac_compile\"") >&5
30931.9Stv  (eval $ac_compile) 2>&5
30941.9Stv  ac_status=$?
30951.35Sthorpej  echo "$as_me:3041: \$? = $ac_status" >&5
30961.9Stv  (exit $ac_status); } &&
30971.9Stv         { ac_try='test -s conftest.$ac_objext'
30981.35Sthorpej  { (eval echo "$as_me:3044: \"$ac_try\"") >&5
30991.9Stv  (eval $ac_try) 2>&5
31001.9Stv  ac_status=$?
31011.35Sthorpej  echo "$as_me:3047: \$? = $ac_status" >&5
31021.9Stv  (exit $ac_status); }; }; then
31031.6Stv  ac_cv_type_u_int8_t=yes
31041.6Stvelse
31051.6Stv  echo "$as_me: failed program was:" >&5
31061.6Stvcat conftest.$ac_ext >&5
31071.6Stvac_cv_type_u_int8_t=no
31081.6Stvfi
31091.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
31101.6Stvfi
31111.35Sthorpejecho "$as_me:3057: result: $ac_cv_type_u_int8_t" >&5
31121.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
31131.9Stvif test $ac_cv_type_u_int8_t = yes; then
31141.9Stv  cat >>confdefs.h <<\EOF
31151.9Stv#define uint8_t u_int8_t
31161.9StvEOF
31171.9Stv
31181.9Stvelse
31191.35Sthorpej  { { echo "$as_me:3065: error: cannot find a suitable type for uint8_t" >&5
31201.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
31211.9Stv   { (exit 1); exit 1; }; }
31221.9Stvfi
31231.9Stv
31241.9Stvfi
31251.9Stv
31261.35Sthorpej	echo "$as_me:3072: checking for u_int8_t" >&5
31271.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
31281.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
31291.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31301.9Stvelse
31311.9Stv  cat >conftest.$ac_ext <<_ACEOF
31321.35Sthorpej#line 3078 "configure"
31331.9Stv#include "confdefs.h"
31341.9Stv$ac_includes_default
31351.9Stvint
31361.9Stvmain ()
31371.9Stv{
31381.9Stvif ((u_int8_t *) 0)
31391.9Stv  return 0;
31401.9Stvif (sizeof (u_int8_t))
31411.9Stv  return 0;
31421.9Stv  ;
31431.9Stv  return 0;
31441.9Stv}
31451.9Stv_ACEOF
31461.9Stvrm -f conftest.$ac_objext
31471.35Sthorpejif { (eval echo "$as_me:3093: \"$ac_compile\"") >&5
31481.9Stv  (eval $ac_compile) 2>&5
31491.9Stv  ac_status=$?
31501.35Sthorpej  echo "$as_me:3096: \$? = $ac_status" >&5
31511.9Stv  (exit $ac_status); } &&
31521.9Stv         { ac_try='test -s conftest.$ac_objext'
31531.35Sthorpej  { (eval echo "$as_me:3099: \"$ac_try\"") >&5
31541.9Stv  (eval $ac_try) 2>&5
31551.9Stv  ac_status=$?
31561.35Sthorpej  echo "$as_me:3102: \$? = $ac_status" >&5
31571.9Stv  (exit $ac_status); }; }; then
31581.9Stv  ac_cv_type_u_int8_t=yes
31591.9Stvelse
31601.9Stv  echo "$as_me: failed program was:" >&5
31611.9Stvcat conftest.$ac_ext >&5
31621.9Stvac_cv_type_u_int8_t=no
31631.9Stvfi
31641.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
31651.9Stvfi
31661.35Sthorpejecho "$as_me:3112: result: $ac_cv_type_u_int8_t" >&5
31671.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
31681.6Stvif test $ac_cv_type_u_int8_t = yes; then
31691.6Stv  :
31701.6Stvelse
31711.6Stv
31721.35Sthorpej		echo "$as_me:3118: checking for uint8_t" >&5
31731.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
31741.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
31751.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31761.6Stvelse
31771.6Stv  cat >conftest.$ac_ext <<_ACEOF
31781.35Sthorpej#line 3124 "configure"
31791.6Stv#include "confdefs.h"
31801.6Stv$ac_includes_default
31811.6Stvint
31821.6Stvmain ()
31831.6Stv{
31841.6Stvif ((uint8_t *) 0)
31851.6Stv  return 0;
31861.6Stvif (sizeof (uint8_t))
31871.6Stv  return 0;
31881.6Stv  ;
31891.6Stv  return 0;
31901.6Stv}
31911.6Stv_ACEOF
31921.6Stvrm -f conftest.$ac_objext
31931.35Sthorpejif { (eval echo "$as_me:3139: \"$ac_compile\"") >&5
31941.6Stv  (eval $ac_compile) 2>&5
31951.6Stv  ac_status=$?
31961.35Sthorpej  echo "$as_me:3142: \$? = $ac_status" >&5
31971.6Stv  (exit $ac_status); } &&
31981.6Stv         { ac_try='test -s conftest.$ac_objext'
31991.35Sthorpej  { (eval echo "$as_me:3145: \"$ac_try\"") >&5
32001.6Stv  (eval $ac_try) 2>&5
32011.6Stv  ac_status=$?
32021.35Sthorpej  echo "$as_me:3148: \$? = $ac_status" >&5
32031.6Stv  (exit $ac_status); }; }; then
32041.6Stv  ac_cv_type_uint8_t=yes
32051.4Stvelse
32061.4Stv  echo "$as_me: failed program was:" >&5
32071.6Stvcat conftest.$ac_ext >&5
32081.6Stvac_cv_type_uint8_t=no
32091.4Stvfi
32101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32111.4Stvfi
32121.35Sthorpejecho "$as_me:3158: result: $ac_cv_type_uint8_t" >&5
32131.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32141.6Stvif test $ac_cv_type_uint8_t = yes; then
32151.6Stv  cat >>confdefs.h <<\EOF
32161.6Stv#define u_int8_t uint8_t
32171.4StvEOF
32181.4Stv
32191.6Stvelse
32201.35Sthorpej  { { echo "$as_me:3166: error: cannot find a suitable type for u_int8_t" >&5
32211.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
32221.6Stv   { (exit 1); exit 1; }; }
32231.6Stvfi
32241.6Stv
32251.4Stvfi
32261.4Stv
32271.35Sthorpej	echo "$as_me:3173: checking for uint16_t" >&5
32281.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
32291.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
32301.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32311.9Stvelse
32321.9Stv  cat >conftest.$ac_ext <<_ACEOF
32331.35Sthorpej#line 3179 "configure"
32341.9Stv#include "confdefs.h"
32351.9Stv$ac_includes_default
32361.9Stvint
32371.9Stvmain ()
32381.9Stv{
32391.9Stvif ((uint16_t *) 0)
32401.9Stv  return 0;
32411.9Stvif (sizeof (uint16_t))
32421.9Stv  return 0;
32431.9Stv  ;
32441.9Stv  return 0;
32451.9Stv}
32461.9Stv_ACEOF
32471.9Stvrm -f conftest.$ac_objext
32481.35Sthorpejif { (eval echo "$as_me:3194: \"$ac_compile\"") >&5
32491.9Stv  (eval $ac_compile) 2>&5
32501.9Stv  ac_status=$?
32511.35Sthorpej  echo "$as_me:3197: \$? = $ac_status" >&5
32521.9Stv  (exit $ac_status); } &&
32531.9Stv         { ac_try='test -s conftest.$ac_objext'
32541.35Sthorpej  { (eval echo "$as_me:3200: \"$ac_try\"") >&5
32551.9Stv  (eval $ac_try) 2>&5
32561.9Stv  ac_status=$?
32571.35Sthorpej  echo "$as_me:3203: \$? = $ac_status" >&5
32581.9Stv  (exit $ac_status); }; }; then
32591.9Stv  ac_cv_type_uint16_t=yes
32601.9Stvelse
32611.9Stv  echo "$as_me: failed program was:" >&5
32621.9Stvcat conftest.$ac_ext >&5
32631.9Stvac_cv_type_uint16_t=no
32641.9Stvfi
32651.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
32661.9Stvfi
32671.35Sthorpejecho "$as_me:3213: result: $ac_cv_type_uint16_t" >&5
32681.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
32691.9Stvif test $ac_cv_type_uint16_t = yes; then
32701.9Stv  :
32711.9Stvelse
32721.9Stv
32731.35Sthorpej		echo "$as_me:3219: checking for u_int16_t" >&5
32741.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
32751.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
32761.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32771.9Stvelse
32781.9Stv  cat >conftest.$ac_ext <<_ACEOF
32791.35Sthorpej#line 3225 "configure"
32801.9Stv#include "confdefs.h"
32811.9Stv$ac_includes_default
32821.9Stvint
32831.9Stvmain ()
32841.9Stv{
32851.9Stvif ((u_int16_t *) 0)
32861.9Stv  return 0;
32871.9Stvif (sizeof (u_int16_t))
32881.9Stv  return 0;
32891.9Stv  ;
32901.9Stv  return 0;
32911.9Stv}
32921.9Stv_ACEOF
32931.9Stvrm -f conftest.$ac_objext
32941.35Sthorpejif { (eval echo "$as_me:3240: \"$ac_compile\"") >&5
32951.9Stv  (eval $ac_compile) 2>&5
32961.9Stv  ac_status=$?
32971.35Sthorpej  echo "$as_me:3243: \$? = $ac_status" >&5
32981.9Stv  (exit $ac_status); } &&
32991.9Stv         { ac_try='test -s conftest.$ac_objext'
33001.35Sthorpej  { (eval echo "$as_me:3246: \"$ac_try\"") >&5
33011.9Stv  (eval $ac_try) 2>&5
33021.9Stv  ac_status=$?
33031.35Sthorpej  echo "$as_me:3249: \$? = $ac_status" >&5
33041.9Stv  (exit $ac_status); }; }; then
33051.9Stv  ac_cv_type_u_int16_t=yes
33061.9Stvelse
33071.9Stv  echo "$as_me: failed program was:" >&5
33081.9Stvcat conftest.$ac_ext >&5
33091.9Stvac_cv_type_u_int16_t=no
33101.9Stvfi
33111.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33121.9Stvfi
33131.35Sthorpejecho "$as_me:3259: result: $ac_cv_type_u_int16_t" >&5
33141.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
33151.9Stvif test $ac_cv_type_u_int16_t = yes; then
33161.9Stv  cat >>confdefs.h <<\EOF
33171.9Stv#define uint16_t u_int16_t
33181.9StvEOF
33191.9Stv
33201.9Stvelse
33211.35Sthorpej  { { echo "$as_me:3267: error: cannot find a suitable type for uint16_t" >&5
33221.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
33231.9Stv   { (exit 1); exit 1; }; }
33241.9Stvfi
33251.9Stv
33261.9Stvfi
33271.9Stv
33281.35Sthorpej	echo "$as_me:3274: checking for u_int16_t" >&5
33291.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
33301.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
33311.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33321.1Stvelse
33331.1Stv  cat >conftest.$ac_ext <<_ACEOF
33341.35Sthorpej#line 3280 "configure"
33351.1Stv#include "confdefs.h"
33361.6Stv$ac_includes_default
33371.6Stvint
33381.6Stvmain ()
33391.6Stv{
33401.6Stvif ((u_int16_t *) 0)
33411.6Stv  return 0;
33421.6Stvif (sizeof (u_int16_t))
33431.6Stv  return 0;
33441.6Stv  ;
33451.6Stv  return 0;
33461.6Stv}
33471.1Stv_ACEOF
33481.6Stvrm -f conftest.$ac_objext
33491.35Sthorpejif { (eval echo "$as_me:3295: \"$ac_compile\"") >&5
33501.6Stv  (eval $ac_compile) 2>&5
33511.6Stv  ac_status=$?
33521.35Sthorpej  echo "$as_me:3298: \$? = $ac_status" >&5
33531.6Stv  (exit $ac_status); } &&
33541.6Stv         { ac_try='test -s conftest.$ac_objext'
33551.35Sthorpej  { (eval echo "$as_me:3301: \"$ac_try\"") >&5
33561.6Stv  (eval $ac_try) 2>&5
33571.1Stv  ac_status=$?
33581.35Sthorpej  echo "$as_me:3304: \$? = $ac_status" >&5
33591.6Stv  (exit $ac_status); }; }; then
33601.6Stv  ac_cv_type_u_int16_t=yes
33611.1Stvelse
33621.6Stv  echo "$as_me: failed program was:" >&5
33631.6Stvcat conftest.$ac_ext >&5
33641.6Stvac_cv_type_u_int16_t=no
33651.6Stvfi
33661.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
33671.1Stvfi
33681.35Sthorpejecho "$as_me:3314: result: $ac_cv_type_u_int16_t" >&5
33691.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
33701.6Stvif test $ac_cv_type_u_int16_t = yes; then
33711.6Stv  :
33721.1Stvelse
33731.1Stv
33741.35Sthorpej		echo "$as_me:3320: checking for uint16_t" >&5
33751.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
33761.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
33771.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33781.6Stvelse
33791.1Stv  cat >conftest.$ac_ext <<_ACEOF
33801.35Sthorpej#line 3326 "configure"
33811.1Stv#include "confdefs.h"
33821.6Stv$ac_includes_default
33831.6Stvint
33841.6Stvmain ()
33851.6Stv{
33861.6Stvif ((uint16_t *) 0)
33871.6Stv  return 0;
33881.6Stvif (sizeof (uint16_t))
33891.6Stv  return 0;
33901.6Stv  ;
33911.6Stv  return 0;
33921.6Stv}
33931.1Stv_ACEOF
33941.6Stvrm -f conftest.$ac_objext
33951.35Sthorpejif { (eval echo "$as_me:3341: \"$ac_compile\"") >&5
33961.6Stv  (eval $ac_compile) 2>&5
33971.6Stv  ac_status=$?
33981.35Sthorpej  echo "$as_me:3344: \$? = $ac_status" >&5
33991.6Stv  (exit $ac_status); } &&
34001.6Stv         { ac_try='test -s conftest.$ac_objext'
34011.35Sthorpej  { (eval echo "$as_me:3347: \"$ac_try\"") >&5
34021.6Stv  (eval $ac_try) 2>&5
34031.6Stv  ac_status=$?
34041.35Sthorpej  echo "$as_me:3350: \$? = $ac_status" >&5
34051.6Stv  (exit $ac_status); }; }; then
34061.6Stv  ac_cv_type_uint16_t=yes
34071.1Stvelse
34081.6Stv  echo "$as_me: failed program was:" >&5
34091.6Stvcat conftest.$ac_ext >&5
34101.6Stvac_cv_type_uint16_t=no
34111.1Stvfi
34121.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
34131.1Stvfi
34141.35Sthorpejecho "$as_me:3360: result: $ac_cv_type_uint16_t" >&5
34151.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34161.6Stvif test $ac_cv_type_uint16_t = yes; then
34171.6Stv  cat >>confdefs.h <<\EOF
34181.6Stv#define u_int16_t uint16_t
34191.6StvEOF
34201.1Stv
34211.1Stvelse
34221.35Sthorpej  { { echo "$as_me:3368: error: cannot find a suitable type for u_int16_t" >&5
34231.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
34241.6Stv   { (exit 1); exit 1; }; }
34251.1Stvfi
34261.1Stv
34271.1Stvfi
34281.1Stv
34291.35Sthorpej	echo "$as_me:3375: checking for uint32_t" >&5
34301.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
34311.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
34321.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34331.9Stvelse
34341.9Stv  cat >conftest.$ac_ext <<_ACEOF
34351.35Sthorpej#line 3381 "configure"
34361.9Stv#include "confdefs.h"
34371.9Stv$ac_includes_default
34381.9Stvint
34391.9Stvmain ()
34401.9Stv{
34411.9Stvif ((uint32_t *) 0)
34421.9Stv  return 0;
34431.9Stvif (sizeof (uint32_t))
34441.9Stv  return 0;
34451.9Stv  ;
34461.9Stv  return 0;
34471.9Stv}
34481.9Stv_ACEOF
34491.9Stvrm -f conftest.$ac_objext
34501.35Sthorpejif { (eval echo "$as_me:3396: \"$ac_compile\"") >&5
34511.9Stv  (eval $ac_compile) 2>&5
34521.9Stv  ac_status=$?
34531.35Sthorpej  echo "$as_me:3399: \$? = $ac_status" >&5
34541.9Stv  (exit $ac_status); } &&
34551.9Stv         { ac_try='test -s conftest.$ac_objext'
34561.35Sthorpej  { (eval echo "$as_me:3402: \"$ac_try\"") >&5
34571.9Stv  (eval $ac_try) 2>&5
34581.9Stv  ac_status=$?
34591.35Sthorpej  echo "$as_me:3405: \$? = $ac_status" >&5
34601.9Stv  (exit $ac_status); }; }; then
34611.9Stv  ac_cv_type_uint32_t=yes
34621.9Stvelse
34631.9Stv  echo "$as_me: failed program was:" >&5
34641.9Stvcat conftest.$ac_ext >&5
34651.9Stvac_cv_type_uint32_t=no
34661.9Stvfi
34671.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
34681.9Stvfi
34691.35Sthorpejecho "$as_me:3415: result: $ac_cv_type_uint32_t" >&5
34701.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
34711.9Stvif test $ac_cv_type_uint32_t = yes; then
34721.9Stv  :
34731.9Stvelse
34741.9Stv
34751.35Sthorpej		echo "$as_me:3421: checking for u_int32_t" >&5
34761.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
34771.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
34781.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34791.1Stvelse
34801.1Stv  cat >conftest.$ac_ext <<_ACEOF
34811.35Sthorpej#line 3427 "configure"
34821.9Stv#include "confdefs.h"
34831.9Stv$ac_includes_default
34841.9Stvint
34851.9Stvmain ()
34861.9Stv{
34871.9Stvif ((u_int32_t *) 0)
34881.9Stv  return 0;
34891.9Stvif (sizeof (u_int32_t))
34901.9Stv  return 0;
34911.9Stv  ;
34921.9Stv  return 0;
34931.9Stv}
34941.9Stv_ACEOF
34951.9Stvrm -f conftest.$ac_objext
34961.35Sthorpejif { (eval echo "$as_me:3442: \"$ac_compile\"") >&5
34971.9Stv  (eval $ac_compile) 2>&5
34981.9Stv  ac_status=$?
34991.35Sthorpej  echo "$as_me:3445: \$? = $ac_status" >&5
35001.9Stv  (exit $ac_status); } &&
35011.9Stv         { ac_try='test -s conftest.$ac_objext'
35021.35Sthorpej  { (eval echo "$as_me:3448: \"$ac_try\"") >&5
35031.9Stv  (eval $ac_try) 2>&5
35041.9Stv  ac_status=$?
35051.35Sthorpej  echo "$as_me:3451: \$? = $ac_status" >&5
35061.9Stv  (exit $ac_status); }; }; then
35071.9Stv  ac_cv_type_u_int32_t=yes
35081.9Stvelse
35091.9Stv  echo "$as_me: failed program was:" >&5
35101.9Stvcat conftest.$ac_ext >&5
35111.9Stvac_cv_type_u_int32_t=no
35121.9Stvfi
35131.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
35141.9Stvfi
35151.35Sthorpejecho "$as_me:3461: result: $ac_cv_type_u_int32_t" >&5
35161.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
35171.9Stvif test $ac_cv_type_u_int32_t = yes; then
35181.9Stv  cat >>confdefs.h <<\EOF
35191.9Stv#define uint32_t u_int32_t
35201.9StvEOF
35211.9Stv
35221.9Stvelse
35231.35Sthorpej  { { echo "$as_me:3469: error: cannot find a suitable type for uint32_t" >&5
35241.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
35251.9Stv   { (exit 1); exit 1; }; }
35261.9Stvfi
35271.9Stv
35281.9Stvfi
35291.9Stv
35301.35Sthorpej	echo "$as_me:3476: checking for u_int32_t" >&5
35311.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
35321.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
35331.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35341.9Stvelse
35351.9Stv  cat >conftest.$ac_ext <<_ACEOF
35361.35Sthorpej#line 3482 "configure"
35371.1Stv#include "confdefs.h"
35381.6Stv$ac_includes_default
35391.1Stvint
35401.1Stvmain ()
35411.1Stv{
35421.6Stvif ((u_int32_t *) 0)
35431.6Stv  return 0;
35441.6Stvif (sizeof (u_int32_t))
35451.6Stv  return 0;
35461.6Stv  ;
35471.6Stv  return 0;
35481.1Stv}
35491.1Stv_ACEOF
35501.6Stvrm -f conftest.$ac_objext
35511.35Sthorpejif { (eval echo "$as_me:3497: \"$ac_compile\"") >&5
35521.6Stv  (eval $ac_compile) 2>&5
35531.1Stv  ac_status=$?
35541.35Sthorpej  echo "$as_me:3500: \$? = $ac_status" >&5
35551.6Stv  (exit $ac_status); } &&
35561.6Stv         { ac_try='test -s conftest.$ac_objext'
35571.35Sthorpej  { (eval echo "$as_me:3503: \"$ac_try\"") >&5
35581.1Stv  (eval $ac_try) 2>&5
35591.1Stv  ac_status=$?
35601.35Sthorpej  echo "$as_me:3506: \$? = $ac_status" >&5
35611.1Stv  (exit $ac_status); }; }; then
35621.6Stv  ac_cv_type_u_int32_t=yes
35631.1Stvelse
35641.6Stv  echo "$as_me: failed program was:" >&5
35651.1Stvcat conftest.$ac_ext >&5
35661.6Stvac_cv_type_u_int32_t=no
35671.1Stvfi
35681.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
35691.1Stvfi
35701.35Sthorpejecho "$as_me:3516: result: $ac_cv_type_u_int32_t" >&5
35711.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
35721.6Stvif test $ac_cv_type_u_int32_t = yes; then
35731.6Stv  :
35741.6Stvelse
35751.1Stv
35761.35Sthorpej		echo "$as_me:3522: checking for uint32_t" >&5
35771.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
35781.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
35791.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35801.1Stvelse
35811.1Stv  cat >conftest.$ac_ext <<_ACEOF
35821.35Sthorpej#line 3528 "configure"
35831.1Stv#include "confdefs.h"
35841.1Stv$ac_includes_default
35851.6Stvint
35861.6Stvmain ()
35871.6Stv{
35881.6Stvif ((uint32_t *) 0)
35891.6Stv  return 0;
35901.6Stvif (sizeof (uint32_t))
35911.6Stv  return 0;
35921.6Stv  ;
35931.6Stv  return 0;
35941.6Stv}
35951.1Stv_ACEOF
35961.1Stvrm -f conftest.$ac_objext
35971.35Sthorpejif { (eval echo "$as_me:3543: \"$ac_compile\"") >&5
35981.1Stv  (eval $ac_compile) 2>&5
35991.1Stv  ac_status=$?
36001.35Sthorpej  echo "$as_me:3546: \$? = $ac_status" >&5
36011.1Stv  (exit $ac_status); } &&
36021.1Stv         { ac_try='test -s conftest.$ac_objext'
36031.35Sthorpej  { (eval echo "$as_me:3549: \"$ac_try\"") >&5
36041.1Stv  (eval $ac_try) 2>&5
36051.1Stv  ac_status=$?
36061.35Sthorpej  echo "$as_me:3552: \$? = $ac_status" >&5
36071.1Stv  (exit $ac_status); }; }; then
36081.6Stv  ac_cv_type_uint32_t=yes
36091.1Stvelse
36101.1Stv  echo "$as_me: failed program was:" >&5
36111.1Stvcat conftest.$ac_ext >&5
36121.6Stvac_cv_type_uint32_t=no
36131.1Stvfi
36141.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
36151.1Stvfi
36161.35Sthorpejecho "$as_me:3562: result: $ac_cv_type_uint32_t" >&5
36171.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36181.6Stvif test $ac_cv_type_uint32_t = yes; then
36191.6Stv  cat >>confdefs.h <<\EOF
36201.6Stv#define u_int32_t uint32_t
36211.1StvEOF
36221.1Stv
36231.6Stvelse
36241.35Sthorpej  { { echo "$as_me:3570: error: cannot find a suitable type for u_int32_t" >&5
36251.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
36261.6Stv   { (exit 1); exit 1; }; }
36271.6Stvfi
36281.6Stv
36291.1Stvfi
36301.1Stv
36311.35Sthorpej	echo "$as_me:3577: checking for uint64_t" >&5
36321.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
36331.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
36341.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36351.9Stvelse
36361.9Stv  cat >conftest.$ac_ext <<_ACEOF
36371.35Sthorpej#line 3583 "configure"
36381.9Stv#include "confdefs.h"
36391.9Stv$ac_includes_default
36401.9Stvint
36411.9Stvmain ()
36421.9Stv{
36431.9Stvif ((uint64_t *) 0)
36441.9Stv  return 0;
36451.9Stvif (sizeof (uint64_t))
36461.9Stv  return 0;
36471.9Stv  ;
36481.9Stv  return 0;
36491.9Stv}
36501.9Stv_ACEOF
36511.9Stvrm -f conftest.$ac_objext
36521.35Sthorpejif { (eval echo "$as_me:3598: \"$ac_compile\"") >&5
36531.9Stv  (eval $ac_compile) 2>&5
36541.9Stv  ac_status=$?
36551.35Sthorpej  echo "$as_me:3601: \$? = $ac_status" >&5
36561.9Stv  (exit $ac_status); } &&
36571.9Stv         { ac_try='test -s conftest.$ac_objext'
36581.35Sthorpej  { (eval echo "$as_me:3604: \"$ac_try\"") >&5
36591.9Stv  (eval $ac_try) 2>&5
36601.9Stv  ac_status=$?
36611.35Sthorpej  echo "$as_me:3607: \$? = $ac_status" >&5
36621.9Stv  (exit $ac_status); }; }; then
36631.9Stv  ac_cv_type_uint64_t=yes
36641.9Stvelse
36651.9Stv  echo "$as_me: failed program was:" >&5
36661.9Stvcat conftest.$ac_ext >&5
36671.9Stvac_cv_type_uint64_t=no
36681.9Stvfi
36691.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
36701.9Stvfi
36711.35Sthorpejecho "$as_me:3617: result: $ac_cv_type_uint64_t" >&5
36721.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
36731.9Stvif test $ac_cv_type_uint64_t = yes; then
36741.9Stv  :
36751.9Stvelse
36761.9Stv
36771.35Sthorpej		echo "$as_me:3623: checking for u_int64_t" >&5
36781.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
36791.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
36801.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36811.9Stvelse
36821.9Stv  cat >conftest.$ac_ext <<_ACEOF
36831.35Sthorpej#line 3629 "configure"
36841.9Stv#include "confdefs.h"
36851.9Stv$ac_includes_default
36861.9Stvint
36871.9Stvmain ()
36881.9Stv{
36891.9Stvif ((u_int64_t *) 0)
36901.9Stv  return 0;
36911.9Stvif (sizeof (u_int64_t))
36921.9Stv  return 0;
36931.9Stv  ;
36941.9Stv  return 0;
36951.9Stv}
36961.9Stv_ACEOF
36971.9Stvrm -f conftest.$ac_objext
36981.35Sthorpejif { (eval echo "$as_me:3644: \"$ac_compile\"") >&5
36991.9Stv  (eval $ac_compile) 2>&5
37001.9Stv  ac_status=$?
37011.35Sthorpej  echo "$as_me:3647: \$? = $ac_status" >&5
37021.9Stv  (exit $ac_status); } &&
37031.9Stv         { ac_try='test -s conftest.$ac_objext'
37041.35Sthorpej  { (eval echo "$as_me:3650: \"$ac_try\"") >&5
37051.9Stv  (eval $ac_try) 2>&5
37061.9Stv  ac_status=$?
37071.35Sthorpej  echo "$as_me:3653: \$? = $ac_status" >&5
37081.9Stv  (exit $ac_status); }; }; then
37091.9Stv  ac_cv_type_u_int64_t=yes
37101.9Stvelse
37111.9Stv  echo "$as_me: failed program was:" >&5
37121.9Stvcat conftest.$ac_ext >&5
37131.9Stvac_cv_type_u_int64_t=no
37141.9Stvfi
37151.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
37161.9Stvfi
37171.35Sthorpejecho "$as_me:3663: result: $ac_cv_type_u_int64_t" >&5
37181.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
37191.9Stvif test $ac_cv_type_u_int64_t = yes; then
37201.9Stv  cat >>confdefs.h <<\EOF
37211.9Stv#define uint64_t u_int64_t
37221.9StvEOF
37231.9Stv
37241.9Stvelse
37251.35Sthorpej  { { echo "$as_me:3671: error: cannot find a suitable type for uint64_t" >&5
37261.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
37271.9Stv   { (exit 1); exit 1; }; }
37281.9Stvfi
37291.9Stv
37301.9Stvfi
37311.9Stv
37321.35Sthorpej	echo "$as_me:3678: checking for u_int64_t" >&5
37331.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
37341.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
37351.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37361.1Stvelse
37371.1Stv  cat >conftest.$ac_ext <<_ACEOF
37381.35Sthorpej#line 3684 "configure"
37391.1Stv#include "confdefs.h"
37401.1Stv$ac_includes_default
37411.1Stvint
37421.1Stvmain ()
37431.1Stv{
37441.6Stvif ((u_int64_t *) 0)
37451.1Stv  return 0;
37461.6Stvif (sizeof (u_int64_t))
37471.1Stv  return 0;
37481.1Stv  ;
37491.1Stv  return 0;
37501.1Stv}
37511.1Stv_ACEOF
37521.1Stvrm -f conftest.$ac_objext
37531.35Sthorpejif { (eval echo "$as_me:3699: \"$ac_compile\"") >&5
37541.1Stv  (eval $ac_compile) 2>&5
37551.1Stv  ac_status=$?
37561.35Sthorpej  echo "$as_me:3702: \$? = $ac_status" >&5
37571.1Stv  (exit $ac_status); } &&
37581.1Stv         { ac_try='test -s conftest.$ac_objext'
37591.35Sthorpej  { (eval echo "$as_me:3705: \"$ac_try\"") >&5
37601.1Stv  (eval $ac_try) 2>&5
37611.1Stv  ac_status=$?
37621.35Sthorpej  echo "$as_me:3708: \$? = $ac_status" >&5
37631.1Stv  (exit $ac_status); }; }; then
37641.6Stv  ac_cv_type_u_int64_t=yes
37651.1Stvelse
37661.1Stv  echo "$as_me: failed program was:" >&5
37671.1Stvcat conftest.$ac_ext >&5
37681.6Stvac_cv_type_u_int64_t=no
37691.1Stvfi
37701.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
37711.1Stvfi
37721.35Sthorpejecho "$as_me:3718: result: $ac_cv_type_u_int64_t" >&5
37731.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
37741.6Stvif test $ac_cv_type_u_int64_t = yes; then
37751.1Stv  :
37761.1Stvelse
37771.1Stv
37781.35Sthorpej		echo "$as_me:3724: checking for uint64_t" >&5
37791.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
37801.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
37811.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37821.1Stvelse
37831.1Stv  cat >conftest.$ac_ext <<_ACEOF
37841.35Sthorpej#line 3730 "configure"
37851.1Stv#include "confdefs.h"
37861.4Stv$ac_includes_default
37871.4Stvint
37881.4Stvmain ()
37891.4Stv{
37901.6Stvif ((uint64_t *) 0)
37911.4Stv  return 0;
37921.6Stvif (sizeof (uint64_t))
37931.4Stv  return 0;
37941.4Stv  ;
37951.4Stv  return 0;
37961.4Stv}
37971.1Stv_ACEOF
37981.4Stvrm -f conftest.$ac_objext
37991.35Sthorpejif { (eval echo "$as_me:3745: \"$ac_compile\"") >&5
38001.4Stv  (eval $ac_compile) 2>&5
38011.4Stv  ac_status=$?
38021.35Sthorpej  echo "$as_me:3748: \$? = $ac_status" >&5
38031.4Stv  (exit $ac_status); } &&
38041.4Stv         { ac_try='test -s conftest.$ac_objext'
38051.35Sthorpej  { (eval echo "$as_me:3751: \"$ac_try\"") >&5
38061.4Stv  (eval $ac_try) 2>&5
38071.4Stv  ac_status=$?
38081.35Sthorpej  echo "$as_me:3754: \$? = $ac_status" >&5
38091.4Stv  (exit $ac_status); }; }; then
38101.6Stv  ac_cv_type_uint64_t=yes
38111.4Stvelse
38121.4Stv  echo "$as_me: failed program was:" >&5
38131.4Stvcat conftest.$ac_ext >&5
38141.6Stvac_cv_type_uint64_t=no
38151.4Stvfi
38161.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
38171.4Stvfi
38181.35Sthorpejecho "$as_me:3764: result: $ac_cv_type_uint64_t" >&5
38191.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38201.6Stvif test $ac_cv_type_uint64_t = yes; then
38211.6Stv  cat >>confdefs.h <<\EOF
38221.6Stv#define u_int64_t uint64_t
38231.6StvEOF
38241.4Stv
38251.6Stvelse
38261.35Sthorpej  { { echo "$as_me:3772: error: cannot find a suitable type for u_int64_t" >&5
38271.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
38281.6Stv   { (exit 1); exit 1; }; }
38291.6Stvfi
38301.4Stv
38311.4Stvfi
38321.4Stv
38331.4Stv# Struct members.
38341.35Sthorpejecho "$as_me:3780: checking for DIR.dd_fd" >&5
38351.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
38361.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
38371.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38381.7Stvelse
38391.7Stv  cat >conftest.$ac_ext <<_ACEOF
38401.35Sthorpej#line 3786 "configure"
38411.7Stv#include "confdefs.h"
38421.32Sthorpej#include <sys/types.h>
38431.7Stv#include <dirent.h>
38441.7Stv
38451.7Stvint
38461.7Stvmain ()
38471.7Stv{
38481.7Stvstatic DIR ac_aggr;
38491.7Stvif (ac_aggr.dd_fd)
38501.7Stvreturn 0;
38511.7Stv  ;
38521.7Stv  return 0;
38531.7Stv}
38541.7Stv_ACEOF
38551.7Stvrm -f conftest.$ac_objext
38561.35Sthorpejif { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
38571.7Stv  (eval $ac_compile) 2>&5
38581.7Stv  ac_status=$?
38591.35Sthorpej  echo "$as_me:3805: \$? = $ac_status" >&5
38601.7Stv  (exit $ac_status); } &&
38611.7Stv         { ac_try='test -s conftest.$ac_objext'
38621.35Sthorpej  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
38631.7Stv  (eval $ac_try) 2>&5
38641.7Stv  ac_status=$?
38651.35Sthorpej  echo "$as_me:3811: \$? = $ac_status" >&5
38661.7Stv  (exit $ac_status); }; }; then
38671.7Stv  ac_cv_member_DIR_dd_fd=yes
38681.7Stvelse
38691.7Stv  echo "$as_me: failed program was:" >&5
38701.7Stvcat conftest.$ac_ext >&5
38711.7Stvac_cv_member_DIR_dd_fd=no
38721.7Stvfi
38731.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
38741.7Stvfi
38751.35Sthorpejecho "$as_me:3821: result: $ac_cv_member_DIR_dd_fd" >&5
38761.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
38771.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
38781.7Stv
38791.7Stvcat >>confdefs.h <<EOF
38801.7Stv#define HAVE_DIR_DD_FD 1
38811.7StvEOF
38821.7Stv
38831.7Stvfi
38841.35Sthorpejecho "$as_me:3830: checking for struct dirent.d_namlen" >&5
38851.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
38861.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
38871.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38881.8Stvelse
38891.8Stv  cat >conftest.$ac_ext <<_ACEOF
38901.35Sthorpej#line 3836 "configure"
38911.8Stv#include "confdefs.h"
38921.32Sthorpej#include <sys/types.h>
38931.8Stv#include <dirent.h>
38941.8Stv
38951.8Stvint
38961.8Stvmain ()
38971.8Stv{
38981.8Stvstatic struct dirent ac_aggr;
38991.8Stvif (ac_aggr.d_namlen)
39001.8Stvreturn 0;
39011.8Stv  ;
39021.8Stv  return 0;
39031.8Stv}
39041.8Stv_ACEOF
39051.8Stvrm -f conftest.$ac_objext
39061.35Sthorpejif { (eval echo "$as_me:3852: \"$ac_compile\"") >&5
39071.8Stv  (eval $ac_compile) 2>&5
39081.8Stv  ac_status=$?
39091.35Sthorpej  echo "$as_me:3855: \$? = $ac_status" >&5
39101.8Stv  (exit $ac_status); } &&
39111.8Stv         { ac_try='test -s conftest.$ac_objext'
39121.35Sthorpej  { (eval echo "$as_me:3858: \"$ac_try\"") >&5
39131.8Stv  (eval $ac_try) 2>&5
39141.8Stv  ac_status=$?
39151.35Sthorpej  echo "$as_me:3861: \$? = $ac_status" >&5
39161.8Stv  (exit $ac_status); }; }; then
39171.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
39181.8Stvelse
39191.8Stv  echo "$as_me: failed program was:" >&5
39201.8Stvcat conftest.$ac_ext >&5
39211.8Stvac_cv_member_struct_dirent_d_namlen=no
39221.8Stvfi
39231.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
39241.8Stvfi
39251.35Sthorpejecho "$as_me:3871: result: $ac_cv_member_struct_dirent_d_namlen" >&5
39261.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
39271.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
39281.8Stv
39291.8Stvcat >>confdefs.h <<EOF
39301.8Stv#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
39311.8StvEOF
39321.8Stv
39331.8Stvfi
39341.7Stv
39351.35Sthorpejecho "$as_me:3881: checking for struct stat.st_flags" >&5
39361.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
39371.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
39381.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39391.4Stvelse
39401.4Stv  cat >conftest.$ac_ext <<_ACEOF
39411.35Sthorpej#line 3887 "configure"
39421.4Stv#include "confdefs.h"
39431.4Stv#include <sys/stat.h>
39441.4Stv
39451.4Stvint
39461.4Stvmain ()
39471.4Stv{
39481.4Stvstatic struct stat ac_aggr;
39491.4Stvif (ac_aggr.st_flags)
39501.4Stvreturn 0;
39511.4Stv  ;
39521.4Stv  return 0;
39531.4Stv}
39541.4Stv_ACEOF
39551.4Stvrm -f conftest.$ac_objext
39561.35Sthorpejif { (eval echo "$as_me:3902: \"$ac_compile\"") >&5
39571.4Stv  (eval $ac_compile) 2>&5
39581.4Stv  ac_status=$?
39591.35Sthorpej  echo "$as_me:3905: \$? = $ac_status" >&5
39601.4Stv  (exit $ac_status); } &&
39611.4Stv         { ac_try='test -s conftest.$ac_objext'
39621.35Sthorpej  { (eval echo "$as_me:3908: \"$ac_try\"") >&5
39631.4Stv  (eval $ac_try) 2>&5
39641.4Stv  ac_status=$?
39651.35Sthorpej  echo "$as_me:3911: \$? = $ac_status" >&5
39661.4Stv  (exit $ac_status); }; }; then
39671.4Stv  ac_cv_member_struct_stat_st_flags=yes
39681.4Stvelse
39691.4Stv  echo "$as_me: failed program was:" >&5
39701.4Stvcat conftest.$ac_ext >&5
39711.4Stvac_cv_member_struct_stat_st_flags=no
39721.4Stvfi
39731.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
39741.4Stvfi
39751.35Sthorpejecho "$as_me:3921: result: $ac_cv_member_struct_stat_st_flags" >&5
39761.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
39771.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then
39781.4Stv
39791.4Stvcat >>confdefs.h <<EOF
39801.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1
39811.4StvEOF
39821.4Stv
39831.4Stvfi
39841.35Sthorpejecho "$as_me:3930: checking for struct stat.st_gen" >&5
39851.7Stvecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
39861.7Stvif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
39871.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39881.7Stvelse
39891.7Stv  cat >conftest.$ac_ext <<_ACEOF
39901.35Sthorpej#line 3936 "configure"
39911.7Stv#include "confdefs.h"
39921.7Stv#include <sys/stat.h>
39931.7Stv
39941.7Stvint
39951.7Stvmain ()
39961.7Stv{
39971.7Stvstatic struct stat ac_aggr;
39981.7Stvif (ac_aggr.st_gen)
39991.7Stvreturn 0;
40001.7Stv  ;
40011.7Stv  return 0;
40021.7Stv}
40031.7Stv_ACEOF
40041.7Stvrm -f conftest.$ac_objext
40051.35Sthorpejif { (eval echo "$as_me:3951: \"$ac_compile\"") >&5
40061.7Stv  (eval $ac_compile) 2>&5
40071.7Stv  ac_status=$?
40081.35Sthorpej  echo "$as_me:3954: \$? = $ac_status" >&5
40091.7Stv  (exit $ac_status); } &&
40101.7Stv         { ac_try='test -s conftest.$ac_objext'
40111.35Sthorpej  { (eval echo "$as_me:3957: \"$ac_try\"") >&5
40121.7Stv  (eval $ac_try) 2>&5
40131.7Stv  ac_status=$?
40141.35Sthorpej  echo "$as_me:3960: \$? = $ac_status" >&5
40151.7Stv  (exit $ac_status); }; }; then
40161.7Stv  ac_cv_member_struct_stat_st_gen=yes
40171.7Stvelse
40181.7Stv  echo "$as_me: failed program was:" >&5
40191.7Stvcat conftest.$ac_ext >&5
40201.7Stvac_cv_member_struct_stat_st_gen=no
40211.7Stvfi
40221.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40231.7Stvfi
40241.35Sthorpejecho "$as_me:3970: result: $ac_cv_member_struct_stat_st_gen" >&5
40251.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
40261.7Stvif test $ac_cv_member_struct_stat_st_gen = yes; then
40271.7Stv
40281.7Stvcat >>confdefs.h <<EOF
40291.7Stv#define HAVE_STRUCT_STAT_ST_GEN 1
40301.7StvEOF
40311.7Stv
40321.7Stvfi
40331.35Sthorpejecho "$as_me:3979: checking for struct stat.st_mtimensec" >&5
40341.7Stvecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
40351.7Stvif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
40361.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40371.7Stvelse
40381.7Stv  cat >conftest.$ac_ext <<_ACEOF
40391.35Sthorpej#line 3985 "configure"
40401.7Stv#include "confdefs.h"
40411.7Stv#include <sys/stat.h>
40421.7Stv
40431.7Stvint
40441.7Stvmain ()
40451.7Stv{
40461.7Stvstatic struct stat ac_aggr;
40471.7Stvif (ac_aggr.st_mtimensec)
40481.7Stvreturn 0;
40491.7Stv  ;
40501.7Stv  return 0;
40511.7Stv}
40521.7Stv_ACEOF
40531.7Stvrm -f conftest.$ac_objext
40541.35Sthorpejif { (eval echo "$as_me:4000: \"$ac_compile\"") >&5
40551.7Stv  (eval $ac_compile) 2>&5
40561.7Stv  ac_status=$?
40571.35Sthorpej  echo "$as_me:4003: \$? = $ac_status" >&5
40581.7Stv  (exit $ac_status); } &&
40591.7Stv         { ac_try='test -s conftest.$ac_objext'
40601.35Sthorpej  { (eval echo "$as_me:4006: \"$ac_try\"") >&5
40611.7Stv  (eval $ac_try) 2>&5
40621.7Stv  ac_status=$?
40631.35Sthorpej  echo "$as_me:4009: \$? = $ac_status" >&5
40641.7Stv  (exit $ac_status); }; }; then
40651.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
40661.7Stvelse
40671.7Stv  echo "$as_me: failed program was:" >&5
40681.7Stvcat conftest.$ac_ext >&5
40691.7Stvac_cv_member_struct_stat_st_mtimensec=no
40701.7Stvfi
40711.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40721.7Stvfi
40731.35Sthorpejecho "$as_me:4019: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
40741.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
40751.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
40761.7Stv
40771.7Stvcat >>confdefs.h <<EOF
40781.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
40791.7StvEOF
40801.7Stv
40811.7Stvfi
40821.4Stv
40831.35Sthorpejecho "$as_me:4029: checking for struct statfs.f_iosize" >&5
40841.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
40851.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
40861.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40871.6Stvelse
40881.6Stv  cat >conftest.$ac_ext <<_ACEOF
40891.35Sthorpej#line 4035 "configure"
40901.6Stv#include "confdefs.h"
40911.7Stv#include <sys/mount.h>
40921.6Stv
40931.6Stvint
40941.6Stvmain ()
40951.6Stv{
40961.7Stvstatic struct statfs ac_aggr;
40971.7Stvif (ac_aggr.f_iosize)
40981.6Stvreturn 0;
40991.6Stv  ;
41001.6Stv  return 0;
41011.6Stv}
41021.6Stv_ACEOF
41031.6Stvrm -f conftest.$ac_objext
41041.35Sthorpejif { (eval echo "$as_me:4050: \"$ac_compile\"") >&5
41051.6Stv  (eval $ac_compile) 2>&5
41061.6Stv  ac_status=$?
41071.35Sthorpej  echo "$as_me:4053: \$? = $ac_status" >&5
41081.6Stv  (exit $ac_status); } &&
41091.6Stv         { ac_try='test -s conftest.$ac_objext'
41101.35Sthorpej  { (eval echo "$as_me:4056: \"$ac_try\"") >&5
41111.6Stv  (eval $ac_try) 2>&5
41121.6Stv  ac_status=$?
41131.35Sthorpej  echo "$as_me:4059: \$? = $ac_status" >&5
41141.6Stv  (exit $ac_status); }; }; then
41151.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
41161.6Stvelse
41171.6Stv  echo "$as_me: failed program was:" >&5
41181.6Stvcat conftest.$ac_ext >&5
41191.7Stvac_cv_member_struct_statfs_f_iosize=no
41201.6Stvfi
41211.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
41221.6Stvfi
41231.35Sthorpejecho "$as_me:4069: result: $ac_cv_member_struct_statfs_f_iosize" >&5
41241.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
41251.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
41261.6Stv
41271.6Stvcat >>confdefs.h <<EOF
41281.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
41291.6StvEOF
41301.6Stv
41311.6Stvfi
41321.6Stv
41331.4Stv# Global variable decls.
41341.35Sthorpejecho "$as_me:4080: checking whether optind is declared" >&5
41351.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
41361.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
41371.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41381.7Stvelse
41391.7Stv  cat >conftest.$ac_ext <<_ACEOF
41401.35Sthorpej#line 4086 "configure"
41411.7Stv#include "confdefs.h"
41421.7Stv
41431.7Stv#include <stdio.h>
41441.7Stv#include <stdlib.h>
41451.7Stv#include <unistd.h>
41461.7Stv
41471.7Stvint
41481.7Stvmain ()
41491.7Stv{
41501.7Stv#ifndef optind
41511.7Stv  char *p = (char *) optind;
41521.7Stv#endif
41531.7Stv
41541.7Stv  ;
41551.7Stv  return 0;
41561.7Stv}
41571.7Stv_ACEOF
41581.7Stvrm -f conftest.$ac_objext
41591.35Sthorpejif { (eval echo "$as_me:4105: \"$ac_compile\"") >&5
41601.7Stv  (eval $ac_compile) 2>&5
41611.7Stv  ac_status=$?
41621.35Sthorpej  echo "$as_me:4108: \$? = $ac_status" >&5
41631.7Stv  (exit $ac_status); } &&
41641.7Stv         { ac_try='test -s conftest.$ac_objext'
41651.35Sthorpej  { (eval echo "$as_me:4111: \"$ac_try\"") >&5
41661.7Stv  (eval $ac_try) 2>&5
41671.7Stv  ac_status=$?
41681.35Sthorpej  echo "$as_me:4114: \$? = $ac_status" >&5
41691.7Stv  (exit $ac_status); }; }; then
41701.7Stv  ac_cv_have_decl_optind=yes
41711.7Stvelse
41721.7Stv  echo "$as_me: failed program was:" >&5
41731.7Stvcat conftest.$ac_ext >&5
41741.7Stvac_cv_have_decl_optind=no
41751.7Stvfi
41761.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
41771.7Stvfi
41781.35Sthorpejecho "$as_me:4124: result: $ac_cv_have_decl_optind" >&5
41791.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
41801.7Stvif test $ac_cv_have_decl_optind = yes; then
41811.7Stv
41821.7Stvcat >>confdefs.h <<EOF
41831.7Stv#define HAVE_DECL_OPTIND 1
41841.7StvEOF
41851.7Stv
41861.7Stvelse
41871.7Stv  cat >>confdefs.h <<EOF
41881.7Stv#define HAVE_DECL_OPTIND 0
41891.7StvEOF
41901.7Stv
41911.7Stvfi
41921.35Sthorpejecho "$as_me:4138: checking whether optreset is declared" >&5
41931.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
41941.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
41951.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41961.7Stvelse
41971.7Stv  cat >conftest.$ac_ext <<_ACEOF
41981.35Sthorpej#line 4144 "configure"
41991.7Stv#include "confdefs.h"
42001.7Stv
42011.7Stv#include <stdio.h>
42021.7Stv#include <stdlib.h>
42031.7Stv#include <unistd.h>
42041.7Stv
42051.7Stvint
42061.7Stvmain ()
42071.7Stv{
42081.7Stv#ifndef optreset
42091.7Stv  char *p = (char *) optreset;
42101.7Stv#endif
42111.7Stv
42121.7Stv  ;
42131.7Stv  return 0;
42141.7Stv}
42151.7Stv_ACEOF
42161.7Stvrm -f conftest.$ac_objext
42171.35Sthorpejif { (eval echo "$as_me:4163: \"$ac_compile\"") >&5
42181.7Stv  (eval $ac_compile) 2>&5
42191.7Stv  ac_status=$?
42201.35Sthorpej  echo "$as_me:4166: \$? = $ac_status" >&5
42211.7Stv  (exit $ac_status); } &&
42221.7Stv         { ac_try='test -s conftest.$ac_objext'
42231.35Sthorpej  { (eval echo "$as_me:4169: \"$ac_try\"") >&5
42241.7Stv  (eval $ac_try) 2>&5
42251.7Stv  ac_status=$?
42261.35Sthorpej  echo "$as_me:4172: \$? = $ac_status" >&5
42271.7Stv  (exit $ac_status); }; }; then
42281.7Stv  ac_cv_have_decl_optreset=yes
42291.7Stvelse
42301.7Stv  echo "$as_me: failed program was:" >&5
42311.7Stvcat conftest.$ac_ext >&5
42321.7Stvac_cv_have_decl_optreset=no
42331.7Stvfi
42341.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
42351.7Stvfi
42361.35Sthorpejecho "$as_me:4182: result: $ac_cv_have_decl_optreset" >&5
42371.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
42381.7Stvif test $ac_cv_have_decl_optreset = yes; then
42391.7Stv
42401.7Stvcat >>confdefs.h <<EOF
42411.7Stv#define HAVE_DECL_OPTRESET 1
42421.7StvEOF
42431.7Stv
42441.7Stvelse
42451.7Stv  cat >>confdefs.h <<EOF
42461.7Stv#define HAVE_DECL_OPTRESET 0
42471.7StvEOF
42481.7Stv
42491.7Stvfi
42501.7Stv
42511.35Sthorpejecho "$as_me:4197: checking whether sys_signame is declared" >&5
42521.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
42531.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
42541.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
42551.4Stvelse
42561.4Stv  cat >conftest.$ac_ext <<_ACEOF
42571.35Sthorpej#line 4203 "configure"
42581.4Stv#include "confdefs.h"
42591.4Stv#include <signal.h>
42601.4Stv
42611.4Stvint
42621.4Stvmain ()
42631.4Stv{
42641.4Stv#ifndef sys_signame
42651.4Stv  char *p = (char *) sys_signame;
42661.4Stv#endif
42671.4Stv
42681.4Stv  ;
42691.4Stv  return 0;
42701.4Stv}
42711.4Stv_ACEOF
42721.4Stvrm -f conftest.$ac_objext
42731.35Sthorpejif { (eval echo "$as_me:4219: \"$ac_compile\"") >&5
42741.4Stv  (eval $ac_compile) 2>&5
42751.4Stv  ac_status=$?
42761.35Sthorpej  echo "$as_me:4222: \$? = $ac_status" >&5
42771.4Stv  (exit $ac_status); } &&
42781.4Stv         { ac_try='test -s conftest.$ac_objext'
42791.35Sthorpej  { (eval echo "$as_me:4225: \"$ac_try\"") >&5
42801.4Stv  (eval $ac_try) 2>&5
42811.4Stv  ac_status=$?
42821.35Sthorpej  echo "$as_me:4228: \$? = $ac_status" >&5
42831.4Stv  (exit $ac_status); }; }; then
42841.4Stv  ac_cv_have_decl_sys_signame=yes
42851.4Stvelse
42861.4Stv  echo "$as_me: failed program was:" >&5
42871.4Stvcat conftest.$ac_ext >&5
42881.4Stvac_cv_have_decl_sys_signame=no
42891.4Stvfi
42901.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
42911.4Stvfi
42921.35Sthorpejecho "$as_me:4238: result: $ac_cv_have_decl_sys_signame" >&5
42931.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
42941.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
42951.4Stv
42961.4Stvcat >>confdefs.h <<EOF
42971.4Stv#define HAVE_DECL_SYS_SIGNAME 1
42981.4StvEOF
42991.4Stv
43001.4Stvelse
43011.4Stv  cat >>confdefs.h <<EOF
43021.4Stv#define HAVE_DECL_SYS_SIGNAME 0
43031.4StvEOF
43041.4Stv
43051.4Stvfi
43061.4Stv
43071.4Stv# Library functions (where a .h check isn't enough).
43081.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
43091.19Sbjh21# for constant arguments.  Useless!
43101.35Sthorpejecho "$as_me:4256: checking for working alloca.h" >&5
43111.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
43121.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
43131.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43141.19Sbjh21else
43151.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43161.35Sthorpej#line 4262 "configure"
43171.19Sbjh21#include "confdefs.h"
43181.19Sbjh21#include <alloca.h>
43191.19Sbjh21int
43201.19Sbjh21main ()
43211.19Sbjh21{
43221.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
43231.19Sbjh21  ;
43241.19Sbjh21  return 0;
43251.19Sbjh21}
43261.19Sbjh21_ACEOF
43271.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
43281.35Sthorpejif { (eval echo "$as_me:4274: \"$ac_link\"") >&5
43291.19Sbjh21  (eval $ac_link) 2>&5
43301.19Sbjh21  ac_status=$?
43311.35Sthorpej  echo "$as_me:4277: \$? = $ac_status" >&5
43321.19Sbjh21  (exit $ac_status); } &&
43331.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
43341.35Sthorpej  { (eval echo "$as_me:4280: \"$ac_try\"") >&5
43351.19Sbjh21  (eval $ac_try) 2>&5
43361.19Sbjh21  ac_status=$?
43371.35Sthorpej  echo "$as_me:4283: \$? = $ac_status" >&5
43381.19Sbjh21  (exit $ac_status); }; }; then
43391.19Sbjh21  ac_cv_working_alloca_h=yes
43401.19Sbjh21else
43411.19Sbjh21  echo "$as_me: failed program was:" >&5
43421.19Sbjh21cat conftest.$ac_ext >&5
43431.19Sbjh21ac_cv_working_alloca_h=no
43441.19Sbjh21fi
43451.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43461.19Sbjh21fi
43471.35Sthorpejecho "$as_me:4293: result: $ac_cv_working_alloca_h" >&5
43481.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
43491.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
43501.19Sbjh21
43511.19Sbjh21cat >>confdefs.h <<\EOF
43521.19Sbjh21#define HAVE_ALLOCA_H 1
43531.19Sbjh21EOF
43541.19Sbjh21
43551.19Sbjh21fi
43561.19Sbjh21
43571.35Sthorpejecho "$as_me:4303: checking for alloca" >&5
43581.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
43591.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
43601.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43611.19Sbjh21else
43621.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43631.35Sthorpej#line 4309 "configure"
43641.19Sbjh21#include "confdefs.h"
43651.19Sbjh21#ifdef __GNUC__
43661.19Sbjh21# define alloca __builtin_alloca
43671.19Sbjh21#else
43681.19Sbjh21# ifdef _MSC_VER
43691.19Sbjh21#  include <malloc.h>
43701.19Sbjh21#  define alloca _alloca
43711.19Sbjh21# else
43721.19Sbjh21#  if HAVE_ALLOCA_H
43731.19Sbjh21#   include <alloca.h>
43741.19Sbjh21#  else
43751.19Sbjh21#   ifdef _AIX
43761.19Sbjh21 #pragma alloca
43771.19Sbjh21#   else
43781.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
43791.19Sbjh21char *alloca ();
43801.19Sbjh21#    endif
43811.19Sbjh21#   endif
43821.19Sbjh21#  endif
43831.19Sbjh21# endif
43841.19Sbjh21#endif
43851.19Sbjh21
43861.19Sbjh21int
43871.19Sbjh21main ()
43881.19Sbjh21{
43891.19Sbjh21char *p = (char *) alloca (1);
43901.19Sbjh21  ;
43911.19Sbjh21  return 0;
43921.19Sbjh21}
43931.19Sbjh21_ACEOF
43941.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
43951.35Sthorpejif { (eval echo "$as_me:4341: \"$ac_link\"") >&5
43961.19Sbjh21  (eval $ac_link) 2>&5
43971.19Sbjh21  ac_status=$?
43981.35Sthorpej  echo "$as_me:4344: \$? = $ac_status" >&5
43991.19Sbjh21  (exit $ac_status); } &&
44001.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
44011.35Sthorpej  { (eval echo "$as_me:4347: \"$ac_try\"") >&5
44021.19Sbjh21  (eval $ac_try) 2>&5
44031.19Sbjh21  ac_status=$?
44041.35Sthorpej  echo "$as_me:4350: \$? = $ac_status" >&5
44051.19Sbjh21  (exit $ac_status); }; }; then
44061.19Sbjh21  ac_cv_func_alloca_works=yes
44071.19Sbjh21else
44081.19Sbjh21  echo "$as_me: failed program was:" >&5
44091.19Sbjh21cat conftest.$ac_ext >&5
44101.19Sbjh21ac_cv_func_alloca_works=no
44111.19Sbjh21fi
44121.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44131.19Sbjh21fi
44141.35Sthorpejecho "$as_me:4360: result: $ac_cv_func_alloca_works" >&5
44151.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
44161.19Sbjh21
44171.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
44181.19Sbjh21
44191.19Sbjh21cat >>confdefs.h <<\EOF
44201.19Sbjh21#define HAVE_ALLOCA 1
44211.19Sbjh21EOF
44221.19Sbjh21
44231.19Sbjh21else
44241.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
44251.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
44261.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
44271.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
44281.19Sbjh21
44291.19Sbjh21ALLOCA=alloca.$ac_objext
44301.19Sbjh21
44311.19Sbjh21cat >>confdefs.h <<\EOF
44321.19Sbjh21#define C_ALLOCA 1
44331.19Sbjh21EOF
44341.19Sbjh21
44351.35Sthorpejecho "$as_me:4381: checking whether \`alloca.c' needs Cray hooks" >&5
44361.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
44371.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
44381.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44391.19Sbjh21else
44401.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44411.35Sthorpej#line 4387 "configure"
44421.19Sbjh21#include "confdefs.h"
44431.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
44441.19Sbjh21webecray
44451.19Sbjh21#else
44461.19Sbjh21wenotbecray
44471.19Sbjh21#endif
44481.19Sbjh21
44491.19Sbjh21_ACEOF
44501.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
44511.19Sbjh21  egrep "webecray" >/dev/null 2>&1; then
44521.19Sbjh21  ac_cv_os_cray=yes
44531.19Sbjh21else
44541.19Sbjh21  ac_cv_os_cray=no
44551.19Sbjh21fi
44561.19Sbjh21rm -f conftest*
44571.19Sbjh21
44581.19Sbjh21fi
44591.35Sthorpejecho "$as_me:4405: result: $ac_cv_os_cray" >&5
44601.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
44611.19Sbjh21if test $ac_cv_os_cray = yes; then
44621.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
44631.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44641.35Sthorpejecho "$as_me:4410: checking for $ac_func" >&5
44651.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44661.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
44671.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44681.19Sbjh21else
44691.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44701.35Sthorpej#line 4416 "configure"
44711.19Sbjh21#include "confdefs.h"
44721.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
44731.19Sbjh21    which can conflict with char $ac_func (); below.  */
44741.19Sbjh21#include <assert.h>
44751.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
44761.19Sbjh21#ifdef __cplusplus
44771.19Sbjh21extern "C"
44781.19Sbjh21#endif
44791.19Sbjh21/* We use char because int might match the return type of a gcc2
44801.19Sbjh21   builtin and then its argument prototype would still apply.  */
44811.19Sbjh21char $ac_func ();
44821.19Sbjh21char (*f) ();
44831.19Sbjh21
44841.19Sbjh21int
44851.19Sbjh21main ()
44861.19Sbjh21{
44871.19Sbjh21/* The GNU C library defines this for functions which it implements
44881.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
44891.19Sbjh21    something starting with __ and the normal name is an alias.  */
44901.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44911.19Sbjh21choke me
44921.19Sbjh21#else
44931.19Sbjh21f = $ac_func;
44941.19Sbjh21#endif
44951.19Sbjh21
44961.19Sbjh21  ;
44971.19Sbjh21  return 0;
44981.19Sbjh21}
44991.19Sbjh21_ACEOF
45001.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
45011.35Sthorpejif { (eval echo "$as_me:4447: \"$ac_link\"") >&5
45021.19Sbjh21  (eval $ac_link) 2>&5
45031.19Sbjh21  ac_status=$?
45041.35Sthorpej  echo "$as_me:4450: \$? = $ac_status" >&5
45051.19Sbjh21  (exit $ac_status); } &&
45061.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
45071.35Sthorpej  { (eval echo "$as_me:4453: \"$ac_try\"") >&5
45081.19Sbjh21  (eval $ac_try) 2>&5
45091.19Sbjh21  ac_status=$?
45101.35Sthorpej  echo "$as_me:4456: \$? = $ac_status" >&5
45111.19Sbjh21  (exit $ac_status); }; }; then
45121.19Sbjh21  eval "$as_ac_var=yes"
45131.19Sbjh21else
45141.19Sbjh21  echo "$as_me: failed program was:" >&5
45151.19Sbjh21cat conftest.$ac_ext >&5
45161.19Sbjh21eval "$as_ac_var=no"
45171.19Sbjh21fi
45181.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45191.19Sbjh21fi
45201.35Sthorpejecho "$as_me:4466: result: `eval echo '${'$as_ac_var'}'`" >&5
45211.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
45231.19Sbjh21
45241.19Sbjh21cat >>confdefs.h <<EOF
45251.19Sbjh21#define CRAY_STACKSEG_END $ac_func
45261.19Sbjh21EOF
45271.19Sbjh21
45281.19Sbjh21    break
45291.19Sbjh21fi
45301.19Sbjh21
45311.19Sbjh21  done
45321.19Sbjh21fi
45331.19Sbjh21
45341.35Sthorpejecho "$as_me:4480: checking stack direction for C alloca" >&5
45351.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
45361.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
45371.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
45381.19Sbjh21else
45391.19Sbjh21  if test "$cross_compiling" = yes; then
45401.19Sbjh21  ac_cv_c_stack_direction=0
45411.19Sbjh21else
45421.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
45431.35Sthorpej#line 4489 "configure"
45441.19Sbjh21#include "confdefs.h"
45451.19Sbjh21int
45461.19Sbjh21find_stack_direction ()
45471.19Sbjh21{
45481.19Sbjh21  static char *addr = 0;
45491.19Sbjh21  auto char dummy;
45501.19Sbjh21  if (addr == 0)
45511.19Sbjh21    {
45521.19Sbjh21      addr = &dummy;
45531.19Sbjh21      return find_stack_direction ();
45541.19Sbjh21    }
45551.19Sbjh21  else
45561.19Sbjh21    return (&dummy > addr) ? 1 : -1;
45571.19Sbjh21}
45581.19Sbjh21
45591.19Sbjh21int
45601.19Sbjh21main ()
45611.19Sbjh21{
45621.19Sbjh21  exit (find_stack_direction () < 0);
45631.19Sbjh21}
45641.19Sbjh21_ACEOF
45651.19Sbjh21rm -f conftest$ac_exeext
45661.35Sthorpejif { (eval echo "$as_me:4512: \"$ac_link\"") >&5
45671.19Sbjh21  (eval $ac_link) 2>&5
45681.19Sbjh21  ac_status=$?
45691.35Sthorpej  echo "$as_me:4515: \$? = $ac_status" >&5
45701.19Sbjh21  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45711.35Sthorpej  { (eval echo "$as_me:4517: \"$ac_try\"") >&5
45721.19Sbjh21  (eval $ac_try) 2>&5
45731.19Sbjh21  ac_status=$?
45741.35Sthorpej  echo "$as_me:4520: \$? = $ac_status" >&5
45751.19Sbjh21  (exit $ac_status); }; }; then
45761.19Sbjh21  ac_cv_c_stack_direction=1
45771.19Sbjh21else
45781.19Sbjh21  echo "$as_me: program exited with status $ac_status" >&5
45791.19Sbjh21echo "$as_me: failed program was:" >&5
45801.19Sbjh21cat conftest.$ac_ext >&5
45811.19Sbjh21ac_cv_c_stack_direction=-1
45821.19Sbjh21fi
45831.19Sbjh21rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45841.19Sbjh21fi
45851.19Sbjh21fi
45861.35Sthorpejecho "$as_me:4532: result: $ac_cv_c_stack_direction" >&5
45871.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
45881.19Sbjh21
45891.19Sbjh21cat >>confdefs.h <<EOF
45901.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction
45911.19Sbjh21EOF
45921.19Sbjh21
45931.19Sbjh21fi
45941.19Sbjh21
45951.37Suwefor ac_func in atoll asprintf asnprintf basename dirfd dirname \
45961.7Stv	fgetln flock fparseln futimes getopt getopt_long \
45971.26Slukem	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
45981.36Sthorpej	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
45991.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
46001.29Slukem	strsuftoll strtoll \
46011.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
46021.1Stvdo
46031.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46041.35Sthorpejecho "$as_me:4550: checking for $ac_func" >&5
46051.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46061.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
46071.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46081.1Stvelse
46091.1Stv  cat >conftest.$ac_ext <<_ACEOF
46101.35Sthorpej#line 4556 "configure"
46111.1Stv#include "confdefs.h"
46121.1Stv/* System header to define __stub macros and hopefully few prototypes,
46131.1Stv    which can conflict with char $ac_func (); below.  */
46141.1Stv#include <assert.h>
46151.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
46161.1Stv#ifdef __cplusplus
46171.1Stvextern "C"
46181.1Stv#endif
46191.1Stv/* We use char because int might match the return type of a gcc2
46201.1Stv   builtin and then its argument prototype would still apply.  */
46211.1Stvchar $ac_func ();
46221.1Stvchar (*f) ();
46231.1Stv
46241.1Stvint
46251.1Stvmain ()
46261.1Stv{
46271.1Stv/* The GNU C library defines this for functions which it implements
46281.1Stv    to always fail with ENOSYS.  Some functions are actually named
46291.1Stv    something starting with __ and the normal name is an alias.  */
46301.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46311.1Stvchoke me
46321.1Stv#else
46331.1Stvf = $ac_func;
46341.1Stv#endif
46351.1Stv
46361.1Stv  ;
46371.1Stv  return 0;
46381.1Stv}
46391.1Stv_ACEOF
46401.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
46411.35Sthorpejif { (eval echo "$as_me:4587: \"$ac_link\"") >&5
46421.1Stv  (eval $ac_link) 2>&5
46431.1Stv  ac_status=$?
46441.35Sthorpej  echo "$as_me:4590: \$? = $ac_status" >&5
46451.1Stv  (exit $ac_status); } &&
46461.1Stv         { ac_try='test -s conftest$ac_exeext'
46471.35Sthorpej  { (eval echo "$as_me:4593: \"$ac_try\"") >&5
46481.1Stv  (eval $ac_try) 2>&5
46491.1Stv  ac_status=$?
46501.35Sthorpej  echo "$as_me:4596: \$? = $ac_status" >&5
46511.1Stv  (exit $ac_status); }; }; then
46521.1Stv  eval "$as_ac_var=yes"
46531.1Stvelse
46541.1Stv  echo "$as_me: failed program was:" >&5
46551.1Stvcat conftest.$ac_ext >&5
46561.1Stveval "$as_ac_var=no"
46571.1Stvfi
46581.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46591.1Stvfi
46601.35Sthorpejecho "$as_me:4606: result: `eval echo '${'$as_ac_var'}'`" >&5
46611.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46621.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
46631.1Stv  cat >>confdefs.h <<EOF
46641.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46651.1StvEOF
46661.1Stv
46671.1Stvfi
46681.1Stvdone
46691.1Stv
46701.35Sthorpejecho "$as_me:4616: checking whether setgroupent is declared" >&5
46711.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
46721.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
46731.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46741.8Stvelse
46751.8Stv  cat >conftest.$ac_ext <<_ACEOF
46761.35Sthorpej#line 4622 "configure"
46771.8Stv#include "confdefs.h"
46781.8Stv
46791.33Sthorpej#include <sys/types.h>
46801.8Stv#include <grp.h>
46811.8Stv#include <pwd.h>
46821.8Stv
46831.8Stvint
46841.8Stvmain ()
46851.8Stv{
46861.8Stv#ifndef setgroupent
46871.8Stv  char *p = (char *) setgroupent;
46881.8Stv#endif
46891.8Stv
46901.8Stv  ;
46911.8Stv  return 0;
46921.8Stv}
46931.8Stv_ACEOF
46941.8Stvrm -f conftest.$ac_objext
46951.35Sthorpejif { (eval echo "$as_me:4641: \"$ac_compile\"") >&5
46961.8Stv  (eval $ac_compile) 2>&5
46971.8Stv  ac_status=$?
46981.35Sthorpej  echo "$as_me:4644: \$? = $ac_status" >&5
46991.8Stv  (exit $ac_status); } &&
47001.8Stv         { ac_try='test -s conftest.$ac_objext'
47011.35Sthorpej  { (eval echo "$as_me:4647: \"$ac_try\"") >&5
47021.8Stv  (eval $ac_try) 2>&5
47031.8Stv  ac_status=$?
47041.35Sthorpej  echo "$as_me:4650: \$? = $ac_status" >&5
47051.8Stv  (exit $ac_status); }; }; then
47061.8Stv  ac_cv_have_decl_setgroupent=yes
47071.8Stvelse
47081.8Stv  echo "$as_me: failed program was:" >&5
47091.8Stvcat conftest.$ac_ext >&5
47101.8Stvac_cv_have_decl_setgroupent=no
47111.8Stvfi
47121.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
47131.8Stvfi
47141.35Sthorpejecho "$as_me:4660: result: $ac_cv_have_decl_setgroupent" >&5
47151.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
47161.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
47171.8Stv
47181.8Stvcat >>confdefs.h <<EOF
47191.8Stv#define HAVE_DECL_SETGROUPENT 1
47201.8StvEOF
47211.8Stv
47221.8Stvelse
47231.8Stv  cat >>confdefs.h <<EOF
47241.8Stv#define HAVE_DECL_SETGROUPENT 0
47251.8StvEOF
47261.8Stv
47271.8Stvfi
47281.35Sthorpejecho "$as_me:4674: checking whether setpassent is declared" >&5
47291.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
47301.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
47311.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47321.8Stvelse
47331.8Stv  cat >conftest.$ac_ext <<_ACEOF
47341.35Sthorpej#line 4680 "configure"
47351.8Stv#include "confdefs.h"
47361.8Stv
47371.33Sthorpej#include <sys/types.h>
47381.8Stv#include <grp.h>
47391.8Stv#include <pwd.h>
47401.8Stv
47411.8Stvint
47421.8Stvmain ()
47431.8Stv{
47441.8Stv#ifndef setpassent
47451.8Stv  char *p = (char *) setpassent;
47461.8Stv#endif
47471.8Stv
47481.8Stv  ;
47491.8Stv  return 0;
47501.8Stv}
47511.8Stv_ACEOF
47521.8Stvrm -f conftest.$ac_objext
47531.35Sthorpejif { (eval echo "$as_me:4699: \"$ac_compile\"") >&5
47541.8Stv  (eval $ac_compile) 2>&5
47551.8Stv  ac_status=$?
47561.35Sthorpej  echo "$as_me:4702: \$? = $ac_status" >&5
47571.8Stv  (exit $ac_status); } &&
47581.8Stv         { ac_try='test -s conftest.$ac_objext'
47591.35Sthorpej  { (eval echo "$as_me:4705: \"$ac_try\"") >&5
47601.8Stv  (eval $ac_try) 2>&5
47611.8Stv  ac_status=$?
47621.35Sthorpej  echo "$as_me:4708: \$? = $ac_status" >&5
47631.8Stv  (exit $ac_status); }; }; then
47641.8Stv  ac_cv_have_decl_setpassent=yes
47651.8Stvelse
47661.8Stv  echo "$as_me: failed program was:" >&5
47671.8Stvcat conftest.$ac_ext >&5
47681.8Stvac_cv_have_decl_setpassent=no
47691.8Stvfi
47701.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
47711.8Stvfi
47721.35Sthorpejecho "$as_me:4718: result: $ac_cv_have_decl_setpassent" >&5
47731.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
47741.8Stvif test $ac_cv_have_decl_setpassent = yes; then
47751.8Stv
47761.8Stvcat >>confdefs.h <<EOF
47771.8Stv#define HAVE_DECL_SETPASSENT 1
47781.8StvEOF
47791.8Stv
47801.8Stvelse
47811.8Stv  cat >>confdefs.h <<EOF
47821.8Stv#define HAVE_DECL_SETPASSENT 0
47831.8StvEOF
47841.8Stv
47851.8Stvfi
47861.8Stv
47871.4Stv# regcomp() and regexec() are also names of functions in the old V8
47881.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
47891.4Stv
47901.35Sthorpejecho "$as_me:4736: checking for regfree in -lregex" >&5
47911.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
47921.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
47931.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47941.4Stvelse
47951.4Stv  ac_check_lib_save_LIBS=$LIBS
47961.4StvLIBS="-lregex  $LIBS"
47971.4Stvcat >conftest.$ac_ext <<_ACEOF
47981.35Sthorpej#line 4744 "configure"
47991.4Stv#include "confdefs.h"
48001.4Stv
48011.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
48021.4Stv#ifdef __cplusplus
48031.4Stvextern "C"
48041.4Stv#endif
48051.4Stv/* We use char because int might match the return type of a gcc2
48061.4Stv   builtin and then its argument prototype would still apply.  */
48071.4Stvchar regfree ();
48081.4Stvint
48091.4Stvmain ()
48101.4Stv{
48111.4Stvregfree ();
48121.4Stv  ;
48131.4Stv  return 0;
48141.4Stv}
48151.4Stv_ACEOF
48161.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
48171.35Sthorpejif { (eval echo "$as_me:4763: \"$ac_link\"") >&5
48181.4Stv  (eval $ac_link) 2>&5
48191.4Stv  ac_status=$?
48201.35Sthorpej  echo "$as_me:4766: \$? = $ac_status" >&5
48211.4Stv  (exit $ac_status); } &&
48221.4Stv         { ac_try='test -s conftest$ac_exeext'
48231.35Sthorpej  { (eval echo "$as_me:4769: \"$ac_try\"") >&5
48241.4Stv  (eval $ac_try) 2>&5
48251.4Stv  ac_status=$?
48261.35Sthorpej  echo "$as_me:4772: \$? = $ac_status" >&5
48271.4Stv  (exit $ac_status); }; }; then
48281.4Stv  ac_cv_lib_regex_regfree=yes
48291.4Stvelse
48301.4Stv  echo "$as_me: failed program was:" >&5
48311.4Stvcat conftest.$ac_ext >&5
48321.4Stvac_cv_lib_regex_regfree=no
48331.4Stvfi
48341.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48351.4StvLIBS=$ac_check_lib_save_LIBS
48361.4Stvfi
48371.35Sthorpejecho "$as_me:4783: result: $ac_cv_lib_regex_regfree" >&5
48381.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
48391.4Stvif test $ac_cv_lib_regex_regfree = yes; then
48401.4Stv  cat >>confdefs.h <<EOF
48411.4Stv#define HAVE_LIBREGEX 1
48421.4StvEOF
48431.4Stv
48441.4Stv  LIBS="-lregex $LIBS"
48451.4Stv
48461.4Stvfi
48471.4Stv
48481.35Sthorpejecho "$as_me:4794: checking for library containing regfree" >&5
48491.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
48501.4Stvif test "${ac_cv_search_regfree+set}" = set; then
48511.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48521.1Stvelse
48531.1Stv  ac_func_search_save_LIBS=$LIBS
48541.4Stvac_cv_search_regfree=no
48551.1Stvcat >conftest.$ac_ext <<_ACEOF
48561.35Sthorpej#line 4802 "configure"
48571.1Stv#include "confdefs.h"
48581.1Stv
48591.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
48601.1Stv#ifdef __cplusplus
48611.1Stvextern "C"
48621.1Stv#endif
48631.1Stv/* We use char because int might match the return type of a gcc2
48641.1Stv   builtin and then its argument prototype would still apply.  */
48651.4Stvchar regfree ();
48661.1Stvint
48671.1Stvmain ()
48681.1Stv{
48691.4Stvregfree ();
48701.1Stv  ;
48711.1Stv  return 0;
48721.1Stv}
48731.1Stv_ACEOF
48741.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
48751.35Sthorpejif { (eval echo "$as_me:4821: \"$ac_link\"") >&5
48761.1Stv  (eval $ac_link) 2>&5
48771.1Stv  ac_status=$?
48781.35Sthorpej  echo "$as_me:4824: \$? = $ac_status" >&5
48791.1Stv  (exit $ac_status); } &&
48801.1Stv         { ac_try='test -s conftest$ac_exeext'
48811.35Sthorpej  { (eval echo "$as_me:4827: \"$ac_try\"") >&5
48821.1Stv  (eval $ac_try) 2>&5
48831.1Stv  ac_status=$?
48841.35Sthorpej  echo "$as_me:4830: \$? = $ac_status" >&5
48851.1Stv  (exit $ac_status); }; }; then
48861.4Stv  ac_cv_search_regfree="none required"
48871.1Stvelse
48881.1Stv  echo "$as_me: failed program was:" >&5
48891.1Stvcat conftest.$ac_ext >&5
48901.1Stvfi
48911.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48921.4Stvif test "$ac_cv_search_regfree" = no; then
48931.4Stv  for ac_lib in rx posix; do
48941.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
48951.1Stv    cat >conftest.$ac_ext <<_ACEOF
48961.35Sthorpej#line 4842 "configure"
48971.1Stv#include "confdefs.h"
48981.1Stv
48991.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
49001.1Stv#ifdef __cplusplus
49011.1Stvextern "C"
49021.1Stv#endif
49031.1Stv/* We use char because int might match the return type of a gcc2
49041.1Stv   builtin and then its argument prototype would still apply.  */
49051.4Stvchar regfree ();
49061.1Stvint
49071.1Stvmain ()
49081.1Stv{
49091.4Stvregfree ();
49101.1Stv  ;
49111.1Stv  return 0;
49121.1Stv}
49131.1Stv_ACEOF
49141.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
49151.35Sthorpejif { (eval echo "$as_me:4861: \"$ac_link\"") >&5
49161.1Stv  (eval $ac_link) 2>&5
49171.1Stv  ac_status=$?
49181.35Sthorpej  echo "$as_me:4864: \$? = $ac_status" >&5
49191.1Stv  (exit $ac_status); } &&
49201.1Stv         { ac_try='test -s conftest$ac_exeext'
49211.35Sthorpej  { (eval echo "$as_me:4867: \"$ac_try\"") >&5
49221.1Stv  (eval $ac_try) 2>&5
49231.1Stv  ac_status=$?
49241.35Sthorpej  echo "$as_me:4870: \$? = $ac_status" >&5
49251.1Stv  (exit $ac_status); }; }; then
49261.4Stv  ac_cv_search_regfree="-l$ac_lib"
49271.1Stvbreak
49281.1Stvelse
49291.1Stv  echo "$as_me: failed program was:" >&5
49301.1Stvcat conftest.$ac_ext >&5
49311.1Stvfi
49321.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49331.1Stv  done
49341.1Stvfi
49351.1StvLIBS=$ac_func_search_save_LIBS
49361.1Stvfi
49371.35Sthorpejecho "$as_me:4883: result: $ac_cv_search_regfree" >&5
49381.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
49391.4Stvif test "$ac_cv_search_regfree" != no; then
49401.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
49411.1Stv
49421.1Stvfi
49431.1Stv
49441.1Stvcat >confcache <<\_ACEOF
49451.1Stv# This file is a shell script that caches the results of configure
49461.1Stv# tests run on this system so they can be shared between configure
49471.1Stv# scripts and configure runs, see configure's option --config-cache.
49481.1Stv# It is not useful on other systems.  If it contains results you don't
49491.1Stv# want to keep, you may remove or edit it.
49501.1Stv#
49511.1Stv# config.status only pays attention to the cache file if you give it
49521.1Stv# the --recheck option to rerun configure.
49531.1Stv#
49541.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
49551.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
49561.1Stv# following values.
49571.1Stv
49581.1Stv_ACEOF
49591.1Stv
49601.1Stv# The following way of writing the cache mishandles newlines in values,
49611.1Stv# but we know of no workaround that is simple, portable, and efficient.
49621.1Stv# So, don't put newlines in cache variables' values.
49631.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
49641.1Stv# and sets the high bit in the cache file unless we assign to the vars.
49651.1Stv{
49661.1Stv  (set) 2>&1 |
49671.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
49681.1Stv    *ac_space=\ *)
49691.1Stv      # `set' does not quote correctly, so add quotes (double-quote
49701.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
49711.1Stv      sed -n \
49721.1Stv        "s/'/'\\\\''/g;
49731.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49741.1Stv      ;;
49751.1Stv    *)
49761.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
49771.1Stv      sed -n \
49781.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49791.1Stv      ;;
49801.1Stv    esac;
49811.1Stv} |
49821.1Stv  sed '
49831.1Stv     t clear
49841.1Stv     : clear
49851.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49861.1Stv     t end
49871.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49881.1Stv     : end' >>confcache
49891.1Stvif cmp -s $cache_file confcache; then :; else
49901.1Stv  if test -w $cache_file; then
49911.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49921.1Stv    cat confcache >$cache_file
49931.1Stv  else
49941.1Stv    echo "not updating unwritable cache $cache_file"
49951.1Stv  fi
49961.1Stvfi
49971.1Stvrm -f confcache
49981.1Stv
49991.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
50001.1Stv# Let make expand exec_prefix.
50011.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50021.1Stv
50031.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
50041.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50051.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
50061.1Stv# (actually we leave an empty line to preserve line numbers).
50071.1Stvif test "x$srcdir" = x.; then
50081.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
50091.1Stvs/:*\$(srcdir):*/:/;
50101.1Stvs/:*\${srcdir}:*/:/;
50111.1Stvs/:*@srcdir@:*/:/;
50121.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
50131.1Stvs/:*$//;
50141.1Stvs/^[^=]*=[ 	]*$//;
50151.1Stv}'
50161.1Stvfi
50171.1Stv
50181.1StvDEFS=-DHAVE_CONFIG_H
50191.1Stv
50201.1Stv: ${CONFIG_STATUS=./config.status}
50211.1Stvac_clean_files_save=$ac_clean_files
50221.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
50231.35Sthorpej{ echo "$as_me:4969: creating $CONFIG_STATUS" >&5
50241.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
50251.1Stvcat >$CONFIG_STATUS <<_ACEOF
50261.1Stv#! $SHELL
50271.1Stv# Generated automatically by configure.
50281.1Stv# Run this file to recreate the current configuration.
50291.1Stv# Compiler output produced by configure, useful for debugging
50301.1Stv# configure, is in config.log if it exists.
50311.1Stv
50321.1Stvdebug=false
50331.1StvSHELL=\${CONFIG_SHELL-$SHELL}
50341.1Stvac_cs_invocation="\$0 \$@"
50351.1Stv
50361.1Stv_ACEOF
50371.1Stv
50381.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
50391.1Stv# Be Bourne compatible
50401.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50411.1Stv  emulate sh
50421.1Stv  NULLCMD=:
50431.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50441.1Stv  set -o posix
50451.1Stvfi
50461.1Stv
50471.1Stv# Name of the executable.
50481.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
50491.1Stv
50501.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
50511.1Stv  as_expr=expr
50521.1Stvelse
50531.1Stv  as_expr=false
50541.1Stvfi
50551.1Stv
50561.1Stvrm -f conf$$ conf$$.exe conf$$.file
50571.1Stvecho >conf$$.file
50581.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
50591.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
50601.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50611.1Stv  if test -f conf$$.exe; then
50621.1Stv    # Don't use ln at all; we don't have any links
50631.1Stv    as_ln_s='cp -p'
50641.1Stv  else
50651.1Stv    as_ln_s='ln -s'
50661.1Stv  fi
50671.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
50681.1Stv  as_ln_s=ln
50691.1Stvelse
50701.1Stv  as_ln_s='cp -p'
50711.1Stvfi
50721.1Stvrm -f conf$$ conf$$.exe conf$$.file
50731.1Stv
50741.1Stvas_executable_p="test -f"
50751.1Stv
50761.1Stv# Support unset when possible.
50771.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
50781.1Stv  as_unset=unset
50791.1Stvelse
50801.1Stv  as_unset=false
50811.1Stvfi
50821.1Stv
50831.1Stv# NLS nuisances.
50841.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
50851.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
50861.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
50871.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
50881.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
50891.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
50901.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
50911.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
50921.1Stv
50931.1Stv# IFS
50941.1Stv# We need space, tab and new line, in precisely that order.
50951.1Stvas_nl='
50961.1Stv'
50971.1StvIFS=" 	$as_nl"
50981.1Stv
50991.1Stv# CDPATH.
51001.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
51011.1Stv
51021.1Stvexec 6>&1
51031.1Stv
51041.1Stv_ACEOF
51051.1Stv
51061.1Stv# Files that config.status was made for.
51071.1Stvif test -n "$ac_config_files"; then
51081.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51091.1Stvfi
51101.1Stv
51111.1Stvif test -n "$ac_config_headers"; then
51121.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51131.1Stvfi
51141.1Stv
51151.1Stvif test -n "$ac_config_links"; then
51161.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51171.1Stvfi
51181.1Stv
51191.1Stvif test -n "$ac_config_commands"; then
51201.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51211.1Stvfi
51221.1Stv
51231.1Stvcat >>$CONFIG_STATUS <<\EOF
51241.1Stv
51251.1Stvac_cs_usage="\
51261.1Stv\`$as_me' instantiates files from templates according to the
51271.1Stvcurrent configuration.
51281.1Stv
51291.1StvUsage: $0 [OPTIONS] [FILE]...
51301.1Stv
51311.1Stv  -h, --help       print this help, then exit
51321.1Stv  -V, --version    print version number, then exit
51331.1Stv  -d, --debug      don't remove temporary files
51341.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
51351.1Stv  --file=FILE[:TEMPLATE]
51361.1Stv                   instantiate the configuration file FILE
51371.1Stv  --header=FILE[:TEMPLATE]
51381.1Stv                   instantiate the configuration header FILE
51391.1Stv
51401.1StvConfiguration files:
51411.1Stv$config_files
51421.1Stv
51431.1StvConfiguration headers:
51441.1Stv$config_headers
51451.1Stv
51461.1StvReport bugs to <bug-autoconf@gnu.org>."
51471.1StvEOF
51481.1Stv
51491.1Stvcat >>$CONFIG_STATUS <<EOF
51501.1Stvac_cs_version="\\
51511.1Stvlibnbcompat config.status noversion
51521.1Stvconfigured by $0, generated by GNU Autoconf 2.52,
51531.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51541.1Stv
51551.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
51561.1StvFree Software Foundation, Inc.
51571.1StvThis config.status script is free software; the Free Software Foundation
51581.1Stvgives unlimited permission to copy, distribute and modify it."
51591.1Stvsrcdir=$srcdir
51601.1StvEOF
51611.1Stv
51621.1Stvcat >>$CONFIG_STATUS <<\EOF
51631.1Stv# If no file are specified by the user, then we need to provide default
51641.1Stv# value.  By we need to know if files were specified by the user.
51651.1Stvac_need_defaults=:
51661.1Stvwhile test $# != 0
51671.1Stvdo
51681.1Stv  case $1 in
51691.1Stv  --*=*)
51701.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
51711.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51721.1Stv    shift
51731.1Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
51741.1Stv    shift
51751.1Stv    ;;
51761.1Stv  -*);;
51771.1Stv  *) # This is not an option, so the user has probably given explicit
51781.1Stv     # arguments.
51791.1Stv     ac_need_defaults=false;;
51801.1Stv  esac
51811.1Stv
51821.1Stv  case $1 in
51831.1Stv  # Handling of the options.
51841.1StvEOF
51851.1Stvcat >>$CONFIG_STATUS <<EOF
51861.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51871.1Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
51881.1Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
51891.1StvEOF
51901.1Stvcat >>$CONFIG_STATUS <<\EOF
51911.1Stv  --version | --vers* | -V )
51921.1Stv    echo "$ac_cs_version"; exit 0 ;;
51931.1Stv  --he | --h)
51941.1Stv    # Conflict between --help and --header
51951.35Sthorpej    { { echo "$as_me:5141: error: ambiguous option: $1
51961.1StvTry \`$0 --help' for more information." >&5
51971.1Stvecho "$as_me: error: ambiguous option: $1
51981.1StvTry \`$0 --help' for more information." >&2;}
51991.1Stv   { (exit 1); exit 1; }; };;
52001.1Stv  --help | --hel | -h )
52011.1Stv    echo "$ac_cs_usage"; exit 0 ;;
52021.1Stv  --debug | --d* | -d )
52031.1Stv    debug=: ;;
52041.1Stv  --file | --fil | --fi | --f )
52051.1Stv    shift
52061.1Stv    CONFIG_FILES="$CONFIG_FILES $1"
52071.1Stv    ac_need_defaults=false;;
52081.1Stv  --header | --heade | --head | --hea )
52091.1Stv    shift
52101.1Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
52111.1Stv    ac_need_defaults=false;;
52121.1Stv
52131.1Stv  # This is an error.
52141.35Sthorpej  -*) { { echo "$as_me:5160: error: unrecognized option: $1
52151.1StvTry \`$0 --help' for more information." >&5
52161.1Stvecho "$as_me: error: unrecognized option: $1
52171.1StvTry \`$0 --help' for more information." >&2;}
52181.1Stv   { (exit 1); exit 1; }; } ;;
52191.1Stv
52201.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
52211.1Stv
52221.1Stv  esac
52231.1Stv  shift
52241.1Stvdone
52251.1Stv
52261.1Stvexec 5>>config.log
52271.1Stvcat >&5 << _ACEOF
52281.1Stv
52291.1Stv## ----------------------- ##
52301.1Stv## Running config.status.  ##
52311.1Stv## ----------------------- ##
52321.1Stv
52331.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
52341.1Stv  CONFIG_FILES    = $CONFIG_FILES
52351.1Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
52361.1Stv  CONFIG_LINKS    = $CONFIG_LINKS
52371.1Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
52381.1Stv  > $ac_cs_invocation
52391.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
52401.1Stv
52411.1Stv_ACEOF
52421.1StvEOF
52431.1Stv
52441.1Stvcat >>$CONFIG_STATUS <<\EOF
52451.1Stvfor ac_config_target in $ac_config_targets
52461.1Stvdo
52471.1Stv  case "$ac_config_target" in
52481.1Stv  # Handling of arguments.
52491.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
52501.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
52511.35Sthorpej  *) { { echo "$as_me:5197: error: invalid argument: $ac_config_target" >&5
52521.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
52531.1Stv   { (exit 1); exit 1; }; };;
52541.1Stv  esac
52551.1Stvdone
52561.1Stv
52571.1Stv# If the user did not use the arguments to specify the items to instantiate,
52581.1Stv# then the envvar interface is used.  Set only those that are not.
52591.1Stv# We use the long form for the default assignment because of an extremely
52601.1Stv# bizarre bug on SunOS 4.1.3.
52611.1Stvif $ac_need_defaults; then
52621.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52631.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52641.1Stvfi
52651.1Stv
52661.1Stv# Create a temporary directory, and hook for its removal unless debugging.
52671.1Stv$debug ||
52681.1Stv{
52691.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52701.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
52711.1Stv}
52721.1Stv
52731.1Stv# Create a (secure) tmp directory for tmp files.
52741.1Stv: ${TMPDIR=/tmp}
52751.1Stv{
52761.1Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
52771.1Stv  test -n "$tmp" && test -d "$tmp"
52781.1Stv}  ||
52791.1Stv{
52801.1Stv  tmp=$TMPDIR/cs$$-$RANDOM
52811.1Stv  (umask 077 && mkdir $tmp)
52821.1Stv} ||
52831.1Stv{
52841.1Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
52851.1Stv   { (exit 1); exit 1; }
52861.1Stv}
52871.1Stv
52881.1StvEOF
52891.1Stv
52901.1Stvcat >>$CONFIG_STATUS <<EOF
52911.1Stv
52921.1Stv#
52931.1Stv# CONFIG_FILES section.
52941.1Stv#
52951.1Stv
52961.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
52971.1Stv# This happens for instance when ./config.status config.h
52981.1Stvif test -n "\$CONFIG_FILES"; then
52991.1Stv  # Protect against being on the right side of a sed subst in config.status.
53001.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
53011.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
53021.1Stvs,@SHELL@,$SHELL,;t t
53031.1Stvs,@exec_prefix@,$exec_prefix,;t t
53041.1Stvs,@prefix@,$prefix,;t t
53051.1Stvs,@program_transform_name@,$program_transform_name,;t t
53061.1Stvs,@bindir@,$bindir,;t t
53071.1Stvs,@sbindir@,$sbindir,;t t
53081.1Stvs,@libexecdir@,$libexecdir,;t t
53091.1Stvs,@datadir@,$datadir,;t t
53101.1Stvs,@sysconfdir@,$sysconfdir,;t t
53111.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
53121.1Stvs,@localstatedir@,$localstatedir,;t t
53131.1Stvs,@libdir@,$libdir,;t t
53141.1Stvs,@includedir@,$includedir,;t t
53151.1Stvs,@oldincludedir@,$oldincludedir,;t t
53161.1Stvs,@infodir@,$infodir,;t t
53171.1Stvs,@mandir@,$mandir,;t t
53181.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
53191.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
53201.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
53211.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
53221.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
53231.1Stvs,@build_alias@,$build_alias,;t t
53241.1Stvs,@host_alias@,$host_alias,;t t
53251.1Stvs,@target_alias@,$target_alias,;t t
53261.1Stvs,@ECHO_C@,$ECHO_C,;t t
53271.1Stvs,@ECHO_N@,$ECHO_N,;t t
53281.1Stvs,@ECHO_T@,$ECHO_T,;t t
53291.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
53301.1Stvs,@DEFS@,$DEFS,;t t
53311.1Stvs,@LIBS@,$LIBS,;t t
53321.20Sbjh21s,@BSHELL@,$BSHELL,;t t
53331.1Stvs,@CC@,$CC,;t t
53341.1Stvs,@CFLAGS@,$CFLAGS,;t t
53351.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
53361.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
53371.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
53381.1Stvs,@EXEEXT@,$EXEEXT,;t t
53391.1Stvs,@OBJEXT@,$OBJEXT,;t t
53401.1Stvs,@CPP@,$CPP,;t t
53411.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
53421.1StvCEOF
53431.1Stv
53441.1StvEOF
53451.1Stv
53461.1Stv  cat >>$CONFIG_STATUS <<\EOF
53471.1Stv  # Split the substitutions into bite-sized pieces for seds with
53481.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
53491.1Stv  ac_max_sed_lines=48
53501.1Stv  ac_sed_frag=1 # Number of current file.
53511.1Stv  ac_beg=1 # First line for current file.
53521.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
53531.1Stv  ac_more_lines=:
53541.1Stv  ac_sed_cmds=
53551.1Stv  while $ac_more_lines; do
53561.1Stv    if test $ac_beg -gt 1; then
53571.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53581.1Stv    else
53591.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53601.1Stv    fi
53611.1Stv    if test ! -s $tmp/subs.frag; then
53621.1Stv      ac_more_lines=false
53631.1Stv    else
53641.1Stv      # The purpose of the label and of the branching condition is to
53651.1Stv      # speed up the sed processing (if there are no `@' at all, there
53661.1Stv      # is no need to browse any of the substitutions).
53671.1Stv      # These are the two extra sed commands mentioned above.
53681.1Stv      (echo ':t
53691.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
53701.1Stv      if test -z "$ac_sed_cmds"; then
53711.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
53721.1Stv      else
53731.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53741.1Stv      fi
53751.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
53761.1Stv      ac_beg=$ac_end
53771.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
53781.1Stv    fi
53791.1Stv  done
53801.1Stv  if test -z "$ac_sed_cmds"; then
53811.1Stv    ac_sed_cmds=cat
53821.1Stv  fi
53831.1Stvfi # test -n "$CONFIG_FILES"
53841.1Stv
53851.1StvEOF
53861.1Stvcat >>$CONFIG_STATUS <<\EOF
53871.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53881.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53891.1Stv  case $ac_file in
53901.1Stv  - | *:- | *:-:* ) # input from stdin
53911.1Stv        cat >$tmp/stdin
53921.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53931.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53941.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53951.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53961.1Stv  * )   ac_file_in=$ac_file.in ;;
53971.1Stv  esac
53981.1Stv
53991.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
54001.1Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54011.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
54021.1Stv         X"$ac_file" : 'X\(//\)$' \| \
54031.1Stv         X"$ac_file" : 'X\(/\)' \| \
54041.1Stv         .     : '\(.\)' 2>/dev/null ||
54051.1Stvecho X"$ac_file" |
54061.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54071.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54081.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
54091.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
54101.1Stv  	  s/.*/./; q'`
54111.1Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
54121.1Stv    { case "$ac_dir" in
54131.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
54141.1Stv  *)                      as_incr_dir=.;;
54151.1Stvesac
54161.1Stvas_dummy="$ac_dir"
54171.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
54181.1Stv  case $as_mkdir_dir in
54191.1Stv    # Skip DOS drivespec
54201.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
54211.1Stv    *)
54221.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
54231.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
54241.1Stv    ;;
54251.1Stv  esac
54261.1Stvdone; }
54271.1Stv
54281.1Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
54291.1Stv    # A "../" for each directory in $ac_dir_suffix.
54301.1Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
54311.1Stv  else
54321.1Stv    ac_dir_suffix= ac_dots=
54331.1Stv  fi
54341.1Stv
54351.1Stv  case $srcdir in
54361.1Stv  .)  ac_srcdir=.
54371.1Stv      if test -z "$ac_dots"; then
54381.1Stv         ac_top_srcdir=.
54391.1Stv      else
54401.1Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
54411.1Stv      fi ;;
54421.1Stv  [\\/]* | ?:[\\/]* )
54431.1Stv      ac_srcdir=$srcdir$ac_dir_suffix;
54441.1Stv      ac_top_srcdir=$srcdir ;;
54451.1Stv  *) # Relative path.
54461.1Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
54471.1Stv    ac_top_srcdir=$ac_dots$srcdir ;;
54481.1Stv  esac
54491.1Stv
54501.1Stv  if test x"$ac_file" != x-; then
54511.35Sthorpej    { echo "$as_me:5397: creating $ac_file" >&5
54521.1Stvecho "$as_me: creating $ac_file" >&6;}
54531.1Stv    rm -f "$ac_file"
54541.1Stv  fi
54551.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
54561.1Stv  # use $as_me), people would be surprised to read:
54571.1Stv  #    /* config.h.  Generated automatically by config.status.  */
54581.1Stv  configure_input="Generated automatically from `echo $ac_file_in |
54591.1Stv                                                 sed 's,.*/,,'` by configure."
54601.1Stv
54611.1Stv  # First look for the input files in the build tree, otherwise in the
54621.1Stv  # src tree.
54631.1Stv  ac_file_inputs=`IFS=:
54641.1Stv    for f in $ac_file_in; do
54651.1Stv      case $f in
54661.1Stv      -) echo $tmp/stdin ;;
54671.1Stv      [\\/$]*)
54681.1Stv         # Absolute (can't be DOS-style, as IFS=:)
54691.35Sthorpej         test -f "$f" || { { echo "$as_me:5415: error: cannot find input file: $f" >&5
54701.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54711.1Stv   { (exit 1); exit 1; }; }
54721.1Stv         echo $f;;
54731.1Stv      *) # Relative
54741.1Stv         if test -f "$f"; then
54751.1Stv           # Build tree
54761.1Stv           echo $f
54771.1Stv         elif test -f "$srcdir/$f"; then
54781.1Stv           # Source tree
54791.1Stv           echo $srcdir/$f
54801.1Stv         else
54811.1Stv           # /dev/null tree
54821.35Sthorpej           { { echo "$as_me:5428: error: cannot find input file: $f" >&5
54831.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54841.1Stv   { (exit 1); exit 1; }; }
54851.1Stv         fi;;
54861.1Stv      esac
54871.1Stv    done` || { (exit 1); exit 1; }
54881.1StvEOF
54891.1Stvcat >>$CONFIG_STATUS <<EOF
54901.1Stv  sed "$ac_vpsub
54911.1Stv$extrasub
54921.1StvEOF
54931.1Stvcat >>$CONFIG_STATUS <<\EOF
54941.1Stv:t
54951.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54961.1Stvs,@configure_input@,$configure_input,;t t
54971.1Stvs,@srcdir@,$ac_srcdir,;t t
54981.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
54991.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
55001.1Stv  rm -f $tmp/stdin
55011.1Stv  if test x"$ac_file" != x-; then
55021.1Stv    mv $tmp/out $ac_file
55031.1Stv  else
55041.1Stv    cat $tmp/out
55051.1Stv    rm -f $tmp/out
55061.1Stv  fi
55071.1Stv
55081.1Stvdone
55091.1StvEOF
55101.1Stvcat >>$CONFIG_STATUS <<\EOF
55111.1Stv
55121.1Stv#
55131.1Stv# CONFIG_HEADER section.
55141.1Stv#
55151.1Stv
55161.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
55171.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
55181.1Stv#
55191.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
55201.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
55211.1Stvac_dB='[ 	].*$,\1#\2'
55221.1Stvac_dC=' '
55231.1Stvac_dD=',;t'
55241.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
55251.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
55261.1Stvac_uB='$,\1#\2define\3'
55271.1Stvac_uC=' '
55281.1Stvac_uD=',;t'
55291.1Stv
55301.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
55311.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
55321.1Stv  case $ac_file in
55331.1Stv  - | *:- | *:-:* ) # input from stdin
55341.1Stv        cat >$tmp/stdin
55351.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
55361.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
55371.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
55381.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
55391.1Stv  * )   ac_file_in=$ac_file.in ;;
55401.1Stv  esac
55411.1Stv
55421.35Sthorpej  test x"$ac_file" != x- && { echo "$as_me:5488: creating $ac_file" >&5
55431.1Stvecho "$as_me: creating $ac_file" >&6;}
55441.1Stv
55451.1Stv  # First look for the input files in the build tree, otherwise in the
55461.1Stv  # src tree.
55471.1Stv  ac_file_inputs=`IFS=:
55481.1Stv    for f in $ac_file_in; do
55491.1Stv      case $f in
55501.1Stv      -) echo $tmp/stdin ;;
55511.1Stv      [\\/$]*)
55521.1Stv         # Absolute (can't be DOS-style, as IFS=:)
55531.35Sthorpej         test -f "$f" || { { echo "$as_me:5499: error: cannot find input file: $f" >&5
55541.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55551.1Stv   { (exit 1); exit 1; }; }
55561.1Stv         echo $f;;
55571.1Stv      *) # Relative
55581.1Stv         if test -f "$f"; then
55591.1Stv           # Build tree
55601.1Stv           echo $f
55611.1Stv         elif test -f "$srcdir/$f"; then
55621.1Stv           # Source tree
55631.1Stv           echo $srcdir/$f
55641.1Stv         else
55651.1Stv           # /dev/null tree
55661.35Sthorpej           { { echo "$as_me:5512: error: cannot find input file: $f" >&5
55671.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55681.1Stv   { (exit 1); exit 1; }; }
55691.1Stv         fi;;
55701.1Stv      esac
55711.1Stv    done` || { (exit 1); exit 1; }
55721.1Stv  # Remove the trailing spaces.
55731.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
55741.1Stv
55751.1StvEOF
55761.1Stv
55771.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
55781.1Stv# `conftest.undefs', that substitutes the proper values into
55791.1Stv# config.h.in to produce config.h.  The first handles `#define'
55801.1Stv# templates, and the second `#undef' templates.
55811.1Stv# And first: Protect against being on the right side of a sed subst in
55821.1Stv# config.status.  Protect against being in an unquoted here document
55831.1Stv# in config.status.
55841.1Stvrm -f conftest.defines conftest.undefs
55851.1Stv# Using a here document instead of a string reduces the quoting nightmare.
55861.1Stv# Putting comments in sed scripts is not portable.
55871.1Stv#
55881.1Stv# `end' is used to avoid that the second main sed command (meant for
55891.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
55901.1Stv# See the Autoconf documentation for `clear'.
55911.1Stvcat >confdef2sed.sed <<\EOF
55921.1Stvs/[\\&,]/\\&/g
55931.1Stvs,[\\$`],\\&,g
55941.1Stvt clear
55951.1Stv: clear
55961.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
55971.1Stvt end
55981.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
55991.1Stv: end
56001.1StvEOF
56011.1Stv# If some macros were called several times there might be several times
56021.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
56031.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
56041.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
56051.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
56061.1Stvrm -f confdef2sed.sed
56071.1Stv
56081.1Stv# This sed command replaces #undef with comments.  This is necessary, for
56091.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
56101.1Stv# on some systems where configure will not decide to define it.
56111.1Stvcat >>conftest.undefs <<\EOF
56121.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
56131.1StvEOF
56141.1Stv
56151.1Stv# Break up conftest.defines because some shells have a limit on the size
56161.1Stv# of here documents, and old seds have small limits too (100 cmds).
56171.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
56181.1Stvecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
56191.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
56201.1Stvecho '  :' >>$CONFIG_STATUS
56211.1Stvrm -f conftest.tail
56221.1Stvwhile grep . conftest.defines >/dev/null
56231.1Stvdo
56241.1Stv  # Write a limited-size here document to $tmp/defines.sed.
56251.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
56261.1Stv  # Speed up: don't consider the non `#define' lines.
56271.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
56281.1Stv  # Work around the forget-to-reset-the-flag bug.
56291.1Stv  echo 't clr' >>$CONFIG_STATUS
56301.1Stv  echo ': clr' >>$CONFIG_STATUS
56311.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
56321.1Stv  echo 'CEOF
56331.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
56341.1Stv  rm -f $tmp/in
56351.1Stv  mv $tmp/out $tmp/in
56361.1Stv' >>$CONFIG_STATUS
56371.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
56381.1Stv  rm -f conftest.defines
56391.1Stv  mv conftest.tail conftest.defines
56401.1Stvdone
56411.1Stvrm -f conftest.defines
56421.1Stvecho '  fi # egrep' >>$CONFIG_STATUS
56431.1Stvecho >>$CONFIG_STATUS
56441.1Stv
56451.1Stv# Break up conftest.undefs because some shells have a limit on the size
56461.1Stv# of here documents, and old seds have small limits too (100 cmds).
56471.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
56481.1Stvrm -f conftest.tail
56491.1Stvwhile grep . conftest.undefs >/dev/null
56501.1Stvdo
56511.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
56521.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
56531.1Stv  # Speed up: don't consider the non `#undef'
56541.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
56551.1Stv  # Work around the forget-to-reset-the-flag bug.
56561.1Stv  echo 't clr' >>$CONFIG_STATUS
56571.1Stv  echo ': clr' >>$CONFIG_STATUS
56581.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
56591.1Stv  echo 'CEOF
56601.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
56611.1Stv  rm -f $tmp/in
56621.1Stv  mv $tmp/out $tmp/in
56631.1Stv' >>$CONFIG_STATUS
56641.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
56651.1Stv  rm -f conftest.undefs
56661.1Stv  mv conftest.tail conftest.undefs
56671.1Stvdone
56681.1Stvrm -f conftest.undefs
56691.1Stv
56701.1Stvcat >>$CONFIG_STATUS <<\EOF
56711.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
56721.1Stv  # use $as_me), people would be surprised to read:
56731.1Stv  #    /* config.h.  Generated automatically by config.status.  */
56741.1Stv  if test x"$ac_file" = x-; then
56751.1Stv    echo "/* Generated automatically by configure.  */" >$tmp/config.h
56761.1Stv  else
56771.1Stv    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
56781.1Stv  fi
56791.1Stv  cat $tmp/in >>$tmp/config.h
56801.1Stv  rm -f $tmp/in
56811.1Stv  if test x"$ac_file" != x-; then
56821.1Stv    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
56831.35Sthorpej      { echo "$as_me:5629: $ac_file is unchanged" >&5
56841.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
56851.1Stv    else
56861.1Stv      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56871.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
56881.1Stv         X"$ac_file" : 'X\(//\)$' \| \
56891.1Stv         X"$ac_file" : 'X\(/\)' \| \
56901.1Stv         .     : '\(.\)' 2>/dev/null ||
56911.1Stvecho X"$ac_file" |
56921.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56931.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56941.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
56951.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
56961.1Stv  	  s/.*/./; q'`
56971.1Stv      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
56981.1Stv        { case "$ac_dir" in
56991.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
57001.1Stv  *)                      as_incr_dir=.;;
57011.1Stvesac
57021.1Stvas_dummy="$ac_dir"
57031.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
57041.1Stv  case $as_mkdir_dir in
57051.1Stv    # Skip DOS drivespec
57061.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
57071.1Stv    *)
57081.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
57091.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
57101.1Stv    ;;
57111.1Stv  esac
57121.1Stvdone; }
57131.1Stv
57141.1Stv      fi
57151.1Stv      rm -f $ac_file
57161.1Stv      mv $tmp/config.h $ac_file
57171.1Stv    fi
57181.1Stv  else
57191.1Stv    cat $tmp/config.h
57201.1Stv    rm -f $tmp/config.h
57211.1Stv  fi
57221.1Stvdone
57231.1StvEOF
57241.1Stv
57251.1Stvcat >>$CONFIG_STATUS <<\EOF
57261.1Stv
57271.1Stv{ (exit 0); exit 0; }
57281.1StvEOF
57291.1Stvchmod +x $CONFIG_STATUS
57301.1Stvac_clean_files=$ac_clean_files_save
57311.1Stv
57321.1Stv# configure is writing to config.log, and then calls config.status.
57331.1Stv# config.status does its own redirection, appending to config.log.
57341.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
57351.1Stv# by configure, so config.status won't be able to write to it; its
57361.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
57371.1Stv# effectively closing config.log, so it can be properly (re)opened and
57381.1Stv# appended to by config.status.  When coming back to configure, we
57391.1Stv# need to make the FD available again.
57401.1Stvif test "$no_create" != yes; then
57411.1Stv  ac_cs_success=:
57421.1Stv  exec 5>/dev/null
57431.1Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
57441.1Stv  exec 5>>config.log
57451.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57461.1Stv  # would make configure fail if this is the last instruction.
57471.1Stv  $ac_cs_success || { (exit 1); exit 1; }
57481.1Stvfi
57491.1Stv
5750