configure revision 1.32
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.7Stv	sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
22951.6Stv	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.22Sthorpejecho "$as_me:2870: checking for u_quad_t" >&5
28711.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
28721.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
28731.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28741.7Stvelse
28751.7Stv  cat >conftest.$ac_ext <<_ACEOF
28761.22Sthorpej#line 2876 "configure"
28771.7Stv#include "confdefs.h"
28781.7Stv$ac_includes_default
28791.7Stvint
28801.7Stvmain ()
28811.7Stv{
28821.7Stvif ((u_quad_t *) 0)
28831.7Stv  return 0;
28841.7Stvif (sizeof (u_quad_t))
28851.7Stv  return 0;
28861.7Stv  ;
28871.7Stv  return 0;
28881.7Stv}
28891.7Stv_ACEOF
28901.7Stvrm -f conftest.$ac_objext
28911.22Sthorpejif { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
28921.7Stv  (eval $ac_compile) 2>&5
28931.7Stv  ac_status=$?
28941.22Sthorpej  echo "$as_me:2894: \$? = $ac_status" >&5
28951.7Stv  (exit $ac_status); } &&
28961.7Stv         { ac_try='test -s conftest.$ac_objext'
28971.22Sthorpej  { (eval echo "$as_me:2897: \"$ac_try\"") >&5
28981.7Stv  (eval $ac_try) 2>&5
28991.7Stv  ac_status=$?
29001.22Sthorpej  echo "$as_me:2900: \$? = $ac_status" >&5
29011.7Stv  (exit $ac_status); }; }; then
29021.7Stv  ac_cv_type_u_quad_t=yes
29031.7Stvelse
29041.7Stv  echo "$as_me: failed program was:" >&5
29051.7Stvcat conftest.$ac_ext >&5
29061.7Stvac_cv_type_u_quad_t=no
29071.7Stvfi
29081.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
29091.7Stvfi
29101.22Sthorpejecho "$as_me:2910: result: $ac_cv_type_u_quad_t" >&5
29111.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
29121.7Stvif test $ac_cv_type_u_quad_t = yes; then
29131.7Stv
29141.7Stvcat >>confdefs.h <<EOF
29151.7Stv#define HAVE_U_QUAD_T 1
29161.7StvEOF
29171.7Stv
29181.7Stvfi
29191.6Stv
29201.22Sthorpej	echo "$as_me:2920: checking for uint8_t" >&5
29211.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
29221.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
29231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29241.6Stvelse
29251.6Stv  cat >conftest.$ac_ext <<_ACEOF
29261.22Sthorpej#line 2926 "configure"
29271.6Stv#include "confdefs.h"
29281.6Stv$ac_includes_default
29291.6Stvint
29301.6Stvmain ()
29311.6Stv{
29321.9Stvif ((uint8_t *) 0)
29331.6Stv  return 0;
29341.9Stvif (sizeof (uint8_t))
29351.6Stv  return 0;
29361.6Stv  ;
29371.6Stv  return 0;
29381.6Stv}
29391.6Stv_ACEOF
29401.6Stvrm -f conftest.$ac_objext
29411.22Sthorpejif { (eval echo "$as_me:2941: \"$ac_compile\"") >&5
29421.6Stv  (eval $ac_compile) 2>&5
29431.6Stv  ac_status=$?
29441.22Sthorpej  echo "$as_me:2944: \$? = $ac_status" >&5
29451.6Stv  (exit $ac_status); } &&
29461.6Stv         { ac_try='test -s conftest.$ac_objext'
29471.22Sthorpej  { (eval echo "$as_me:2947: \"$ac_try\"") >&5
29481.6Stv  (eval $ac_try) 2>&5
29491.6Stv  ac_status=$?
29501.22Sthorpej  echo "$as_me:2950: \$? = $ac_status" >&5
29511.6Stv  (exit $ac_status); }; }; then
29521.9Stv  ac_cv_type_uint8_t=yes
29531.9Stvelse
29541.9Stv  echo "$as_me: failed program was:" >&5
29551.9Stvcat conftest.$ac_ext >&5
29561.9Stvac_cv_type_uint8_t=no
29571.9Stvfi
29581.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
29591.9Stvfi
29601.22Sthorpejecho "$as_me:2960: result: $ac_cv_type_uint8_t" >&5
29611.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
29621.9Stvif test $ac_cv_type_uint8_t = yes; then
29631.9Stv  :
29641.9Stvelse
29651.9Stv
29661.22Sthorpej		echo "$as_me:2966: checking for u_int8_t" >&5
29671.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
29681.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
29691.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29701.9Stvelse
29711.9Stv  cat >conftest.$ac_ext <<_ACEOF
29721.22Sthorpej#line 2972 "configure"
29731.9Stv#include "confdefs.h"
29741.9Stv$ac_includes_default
29751.9Stvint
29761.9Stvmain ()
29771.9Stv{
29781.9Stvif ((u_int8_t *) 0)
29791.9Stv  return 0;
29801.9Stvif (sizeof (u_int8_t))
29811.9Stv  return 0;
29821.9Stv  ;
29831.9Stv  return 0;
29841.9Stv}
29851.9Stv_ACEOF
29861.9Stvrm -f conftest.$ac_objext
29871.22Sthorpejif { (eval echo "$as_me:2987: \"$ac_compile\"") >&5
29881.9Stv  (eval $ac_compile) 2>&5
29891.9Stv  ac_status=$?
29901.22Sthorpej  echo "$as_me:2990: \$? = $ac_status" >&5
29911.9Stv  (exit $ac_status); } &&
29921.9Stv         { ac_try='test -s conftest.$ac_objext'
29931.22Sthorpej  { (eval echo "$as_me:2993: \"$ac_try\"") >&5
29941.9Stv  (eval $ac_try) 2>&5
29951.9Stv  ac_status=$?
29961.22Sthorpej  echo "$as_me:2996: \$? = $ac_status" >&5
29971.9Stv  (exit $ac_status); }; }; then
29981.6Stv  ac_cv_type_u_int8_t=yes
29991.6Stvelse
30001.6Stv  echo "$as_me: failed program was:" >&5
30011.6Stvcat conftest.$ac_ext >&5
30021.6Stvac_cv_type_u_int8_t=no
30031.6Stvfi
30041.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
30051.6Stvfi
30061.22Sthorpejecho "$as_me:3006: result: $ac_cv_type_u_int8_t" >&5
30071.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
30081.9Stvif test $ac_cv_type_u_int8_t = yes; then
30091.9Stv  cat >>confdefs.h <<\EOF
30101.9Stv#define uint8_t u_int8_t
30111.9StvEOF
30121.9Stv
30131.9Stvelse
30141.22Sthorpej  { { echo "$as_me:3014: error: cannot find a suitable type for uint8_t" >&5
30151.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
30161.9Stv   { (exit 1); exit 1; }; }
30171.9Stvfi
30181.9Stv
30191.9Stvfi
30201.9Stv
30211.22Sthorpej	echo "$as_me:3021: checking for u_int8_t" >&5
30221.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
30231.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
30241.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30251.9Stvelse
30261.9Stv  cat >conftest.$ac_ext <<_ACEOF
30271.22Sthorpej#line 3027 "configure"
30281.9Stv#include "confdefs.h"
30291.9Stv$ac_includes_default
30301.9Stvint
30311.9Stvmain ()
30321.9Stv{
30331.9Stvif ((u_int8_t *) 0)
30341.9Stv  return 0;
30351.9Stvif (sizeof (u_int8_t))
30361.9Stv  return 0;
30371.9Stv  ;
30381.9Stv  return 0;
30391.9Stv}
30401.9Stv_ACEOF
30411.9Stvrm -f conftest.$ac_objext
30421.22Sthorpejif { (eval echo "$as_me:3042: \"$ac_compile\"") >&5
30431.9Stv  (eval $ac_compile) 2>&5
30441.9Stv  ac_status=$?
30451.22Sthorpej  echo "$as_me:3045: \$? = $ac_status" >&5
30461.9Stv  (exit $ac_status); } &&
30471.9Stv         { ac_try='test -s conftest.$ac_objext'
30481.22Sthorpej  { (eval echo "$as_me:3048: \"$ac_try\"") >&5
30491.9Stv  (eval $ac_try) 2>&5
30501.9Stv  ac_status=$?
30511.22Sthorpej  echo "$as_me:3051: \$? = $ac_status" >&5
30521.9Stv  (exit $ac_status); }; }; then
30531.9Stv  ac_cv_type_u_int8_t=yes
30541.9Stvelse
30551.9Stv  echo "$as_me: failed program was:" >&5
30561.9Stvcat conftest.$ac_ext >&5
30571.9Stvac_cv_type_u_int8_t=no
30581.9Stvfi
30591.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
30601.9Stvfi
30611.22Sthorpejecho "$as_me:3061: result: $ac_cv_type_u_int8_t" >&5
30621.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
30631.6Stvif test $ac_cv_type_u_int8_t = yes; then
30641.6Stv  :
30651.6Stvelse
30661.6Stv
30671.22Sthorpej		echo "$as_me:3067: checking for uint8_t" >&5
30681.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
30691.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
30701.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30711.6Stvelse
30721.6Stv  cat >conftest.$ac_ext <<_ACEOF
30731.22Sthorpej#line 3073 "configure"
30741.6Stv#include "confdefs.h"
30751.6Stv$ac_includes_default
30761.6Stvint
30771.6Stvmain ()
30781.6Stv{
30791.6Stvif ((uint8_t *) 0)
30801.6Stv  return 0;
30811.6Stvif (sizeof (uint8_t))
30821.6Stv  return 0;
30831.6Stv  ;
30841.6Stv  return 0;
30851.6Stv}
30861.6Stv_ACEOF
30871.6Stvrm -f conftest.$ac_objext
30881.22Sthorpejif { (eval echo "$as_me:3088: \"$ac_compile\"") >&5
30891.6Stv  (eval $ac_compile) 2>&5
30901.6Stv  ac_status=$?
30911.22Sthorpej  echo "$as_me:3091: \$? = $ac_status" >&5
30921.6Stv  (exit $ac_status); } &&
30931.6Stv         { ac_try='test -s conftest.$ac_objext'
30941.22Sthorpej  { (eval echo "$as_me:3094: \"$ac_try\"") >&5
30951.6Stv  (eval $ac_try) 2>&5
30961.6Stv  ac_status=$?
30971.22Sthorpej  echo "$as_me:3097: \$? = $ac_status" >&5
30981.6Stv  (exit $ac_status); }; }; then
30991.6Stv  ac_cv_type_uint8_t=yes
31001.4Stvelse
31011.4Stv  echo "$as_me: failed program was:" >&5
31021.6Stvcat conftest.$ac_ext >&5
31031.6Stvac_cv_type_uint8_t=no
31041.4Stvfi
31051.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
31061.4Stvfi
31071.22Sthorpejecho "$as_me:3107: result: $ac_cv_type_uint8_t" >&5
31081.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
31091.6Stvif test $ac_cv_type_uint8_t = yes; then
31101.6Stv  cat >>confdefs.h <<\EOF
31111.6Stv#define u_int8_t uint8_t
31121.4StvEOF
31131.4Stv
31141.6Stvelse
31151.22Sthorpej  { { echo "$as_me:3115: error: cannot find a suitable type for u_int8_t" >&5
31161.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
31171.6Stv   { (exit 1); exit 1; }; }
31181.6Stvfi
31191.6Stv
31201.4Stvfi
31211.4Stv
31221.22Sthorpej	echo "$as_me:3122: checking for uint16_t" >&5
31231.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
31241.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
31251.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31261.9Stvelse
31271.9Stv  cat >conftest.$ac_ext <<_ACEOF
31281.22Sthorpej#line 3128 "configure"
31291.9Stv#include "confdefs.h"
31301.9Stv$ac_includes_default
31311.9Stvint
31321.9Stvmain ()
31331.9Stv{
31341.9Stvif ((uint16_t *) 0)
31351.9Stv  return 0;
31361.9Stvif (sizeof (uint16_t))
31371.9Stv  return 0;
31381.9Stv  ;
31391.9Stv  return 0;
31401.9Stv}
31411.9Stv_ACEOF
31421.9Stvrm -f conftest.$ac_objext
31431.22Sthorpejif { (eval echo "$as_me:3143: \"$ac_compile\"") >&5
31441.9Stv  (eval $ac_compile) 2>&5
31451.9Stv  ac_status=$?
31461.22Sthorpej  echo "$as_me:3146: \$? = $ac_status" >&5
31471.9Stv  (exit $ac_status); } &&
31481.9Stv         { ac_try='test -s conftest.$ac_objext'
31491.22Sthorpej  { (eval echo "$as_me:3149: \"$ac_try\"") >&5
31501.9Stv  (eval $ac_try) 2>&5
31511.9Stv  ac_status=$?
31521.22Sthorpej  echo "$as_me:3152: \$? = $ac_status" >&5
31531.9Stv  (exit $ac_status); }; }; then
31541.9Stv  ac_cv_type_uint16_t=yes
31551.9Stvelse
31561.9Stv  echo "$as_me: failed program was:" >&5
31571.9Stvcat conftest.$ac_ext >&5
31581.9Stvac_cv_type_uint16_t=no
31591.9Stvfi
31601.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
31611.9Stvfi
31621.22Sthorpejecho "$as_me:3162: result: $ac_cv_type_uint16_t" >&5
31631.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
31641.9Stvif test $ac_cv_type_uint16_t = yes; then
31651.9Stv  :
31661.9Stvelse
31671.9Stv
31681.22Sthorpej		echo "$as_me:3168: checking for u_int16_t" >&5
31691.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
31701.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
31711.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31721.9Stvelse
31731.9Stv  cat >conftest.$ac_ext <<_ACEOF
31741.22Sthorpej#line 3174 "configure"
31751.9Stv#include "confdefs.h"
31761.9Stv$ac_includes_default
31771.9Stvint
31781.9Stvmain ()
31791.9Stv{
31801.9Stvif ((u_int16_t *) 0)
31811.9Stv  return 0;
31821.9Stvif (sizeof (u_int16_t))
31831.9Stv  return 0;
31841.9Stv  ;
31851.9Stv  return 0;
31861.9Stv}
31871.9Stv_ACEOF
31881.9Stvrm -f conftest.$ac_objext
31891.22Sthorpejif { (eval echo "$as_me:3189: \"$ac_compile\"") >&5
31901.9Stv  (eval $ac_compile) 2>&5
31911.9Stv  ac_status=$?
31921.22Sthorpej  echo "$as_me:3192: \$? = $ac_status" >&5
31931.9Stv  (exit $ac_status); } &&
31941.9Stv         { ac_try='test -s conftest.$ac_objext'
31951.22Sthorpej  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
31961.9Stv  (eval $ac_try) 2>&5
31971.9Stv  ac_status=$?
31981.22Sthorpej  echo "$as_me:3198: \$? = $ac_status" >&5
31991.9Stv  (exit $ac_status); }; }; then
32001.9Stv  ac_cv_type_u_int16_t=yes
32011.9Stvelse
32021.9Stv  echo "$as_me: failed program was:" >&5
32031.9Stvcat conftest.$ac_ext >&5
32041.9Stvac_cv_type_u_int16_t=no
32051.9Stvfi
32061.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
32071.9Stvfi
32081.22Sthorpejecho "$as_me:3208: result: $ac_cv_type_u_int16_t" >&5
32091.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
32101.9Stvif test $ac_cv_type_u_int16_t = yes; then
32111.9Stv  cat >>confdefs.h <<\EOF
32121.9Stv#define uint16_t u_int16_t
32131.9StvEOF
32141.9Stv
32151.9Stvelse
32161.22Sthorpej  { { echo "$as_me:3216: error: cannot find a suitable type for uint16_t" >&5
32171.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
32181.9Stv   { (exit 1); exit 1; }; }
32191.9Stvfi
32201.9Stv
32211.9Stvfi
32221.9Stv
32231.22Sthorpej	echo "$as_me:3223: checking for u_int16_t" >&5
32241.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
32251.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
32261.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32271.1Stvelse
32281.1Stv  cat >conftest.$ac_ext <<_ACEOF
32291.22Sthorpej#line 3229 "configure"
32301.1Stv#include "confdefs.h"
32311.6Stv$ac_includes_default
32321.6Stvint
32331.6Stvmain ()
32341.6Stv{
32351.6Stvif ((u_int16_t *) 0)
32361.6Stv  return 0;
32371.6Stvif (sizeof (u_int16_t))
32381.6Stv  return 0;
32391.6Stv  ;
32401.6Stv  return 0;
32411.6Stv}
32421.1Stv_ACEOF
32431.6Stvrm -f conftest.$ac_objext
32441.22Sthorpejif { (eval echo "$as_me:3244: \"$ac_compile\"") >&5
32451.6Stv  (eval $ac_compile) 2>&5
32461.6Stv  ac_status=$?
32471.22Sthorpej  echo "$as_me:3247: \$? = $ac_status" >&5
32481.6Stv  (exit $ac_status); } &&
32491.6Stv         { ac_try='test -s conftest.$ac_objext'
32501.22Sthorpej  { (eval echo "$as_me:3250: \"$ac_try\"") >&5
32511.6Stv  (eval $ac_try) 2>&5
32521.1Stv  ac_status=$?
32531.22Sthorpej  echo "$as_me:3253: \$? = $ac_status" >&5
32541.6Stv  (exit $ac_status); }; }; then
32551.6Stv  ac_cv_type_u_int16_t=yes
32561.1Stvelse
32571.6Stv  echo "$as_me: failed program was:" >&5
32581.6Stvcat conftest.$ac_ext >&5
32591.6Stvac_cv_type_u_int16_t=no
32601.6Stvfi
32611.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32621.1Stvfi
32631.22Sthorpejecho "$as_me:3263: result: $ac_cv_type_u_int16_t" >&5
32641.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
32651.6Stvif test $ac_cv_type_u_int16_t = yes; then
32661.6Stv  :
32671.1Stvelse
32681.1Stv
32691.22Sthorpej		echo "$as_me:3269: checking for uint16_t" >&5
32701.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
32711.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
32721.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32731.6Stvelse
32741.1Stv  cat >conftest.$ac_ext <<_ACEOF
32751.22Sthorpej#line 3275 "configure"
32761.1Stv#include "confdefs.h"
32771.6Stv$ac_includes_default
32781.6Stvint
32791.6Stvmain ()
32801.6Stv{
32811.6Stvif ((uint16_t *) 0)
32821.6Stv  return 0;
32831.6Stvif (sizeof (uint16_t))
32841.6Stv  return 0;
32851.6Stv  ;
32861.6Stv  return 0;
32871.6Stv}
32881.1Stv_ACEOF
32891.6Stvrm -f conftest.$ac_objext
32901.22Sthorpejif { (eval echo "$as_me:3290: \"$ac_compile\"") >&5
32911.6Stv  (eval $ac_compile) 2>&5
32921.6Stv  ac_status=$?
32931.22Sthorpej  echo "$as_me:3293: \$? = $ac_status" >&5
32941.6Stv  (exit $ac_status); } &&
32951.6Stv         { ac_try='test -s conftest.$ac_objext'
32961.22Sthorpej  { (eval echo "$as_me:3296: \"$ac_try\"") >&5
32971.6Stv  (eval $ac_try) 2>&5
32981.6Stv  ac_status=$?
32991.22Sthorpej  echo "$as_me:3299: \$? = $ac_status" >&5
33001.6Stv  (exit $ac_status); }; }; then
33011.6Stv  ac_cv_type_uint16_t=yes
33021.1Stvelse
33031.6Stv  echo "$as_me: failed program was:" >&5
33041.6Stvcat conftest.$ac_ext >&5
33051.6Stvac_cv_type_uint16_t=no
33061.1Stvfi
33071.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
33081.1Stvfi
33091.22Sthorpejecho "$as_me:3309: result: $ac_cv_type_uint16_t" >&5
33101.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
33111.6Stvif test $ac_cv_type_uint16_t = yes; then
33121.6Stv  cat >>confdefs.h <<\EOF
33131.6Stv#define u_int16_t uint16_t
33141.6StvEOF
33151.1Stv
33161.1Stvelse
33171.22Sthorpej  { { echo "$as_me:3317: error: cannot find a suitable type for u_int16_t" >&5
33181.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
33191.6Stv   { (exit 1); exit 1; }; }
33201.1Stvfi
33211.1Stv
33221.1Stvfi
33231.1Stv
33241.22Sthorpej	echo "$as_me:3324: checking for uint32_t" >&5
33251.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
33261.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
33271.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33281.9Stvelse
33291.9Stv  cat >conftest.$ac_ext <<_ACEOF
33301.22Sthorpej#line 3330 "configure"
33311.9Stv#include "confdefs.h"
33321.9Stv$ac_includes_default
33331.9Stvint
33341.9Stvmain ()
33351.9Stv{
33361.9Stvif ((uint32_t *) 0)
33371.9Stv  return 0;
33381.9Stvif (sizeof (uint32_t))
33391.9Stv  return 0;
33401.9Stv  ;
33411.9Stv  return 0;
33421.9Stv}
33431.9Stv_ACEOF
33441.9Stvrm -f conftest.$ac_objext
33451.22Sthorpejif { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
33461.9Stv  (eval $ac_compile) 2>&5
33471.9Stv  ac_status=$?
33481.22Sthorpej  echo "$as_me:3348: \$? = $ac_status" >&5
33491.9Stv  (exit $ac_status); } &&
33501.9Stv         { ac_try='test -s conftest.$ac_objext'
33511.22Sthorpej  { (eval echo "$as_me:3351: \"$ac_try\"") >&5
33521.9Stv  (eval $ac_try) 2>&5
33531.9Stv  ac_status=$?
33541.22Sthorpej  echo "$as_me:3354: \$? = $ac_status" >&5
33551.9Stv  (exit $ac_status); }; }; then
33561.9Stv  ac_cv_type_uint32_t=yes
33571.9Stvelse
33581.9Stv  echo "$as_me: failed program was:" >&5
33591.9Stvcat conftest.$ac_ext >&5
33601.9Stvac_cv_type_uint32_t=no
33611.9Stvfi
33621.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33631.9Stvfi
33641.22Sthorpejecho "$as_me:3364: result: $ac_cv_type_uint32_t" >&5
33651.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
33661.9Stvif test $ac_cv_type_uint32_t = yes; then
33671.9Stv  :
33681.9Stvelse
33691.9Stv
33701.22Sthorpej		echo "$as_me:3370: checking for u_int32_t" >&5
33711.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
33721.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
33731.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33741.1Stvelse
33751.1Stv  cat >conftest.$ac_ext <<_ACEOF
33761.22Sthorpej#line 3376 "configure"
33771.9Stv#include "confdefs.h"
33781.9Stv$ac_includes_default
33791.9Stvint
33801.9Stvmain ()
33811.9Stv{
33821.9Stvif ((u_int32_t *) 0)
33831.9Stv  return 0;
33841.9Stvif (sizeof (u_int32_t))
33851.9Stv  return 0;
33861.9Stv  ;
33871.9Stv  return 0;
33881.9Stv}
33891.9Stv_ACEOF
33901.9Stvrm -f conftest.$ac_objext
33911.22Sthorpejif { (eval echo "$as_me:3391: \"$ac_compile\"") >&5
33921.9Stv  (eval $ac_compile) 2>&5
33931.9Stv  ac_status=$?
33941.22Sthorpej  echo "$as_me:3394: \$? = $ac_status" >&5
33951.9Stv  (exit $ac_status); } &&
33961.9Stv         { ac_try='test -s conftest.$ac_objext'
33971.22Sthorpej  { (eval echo "$as_me:3397: \"$ac_try\"") >&5
33981.9Stv  (eval $ac_try) 2>&5
33991.9Stv  ac_status=$?
34001.22Sthorpej  echo "$as_me:3400: \$? = $ac_status" >&5
34011.9Stv  (exit $ac_status); }; }; then
34021.9Stv  ac_cv_type_u_int32_t=yes
34031.9Stvelse
34041.9Stv  echo "$as_me: failed program was:" >&5
34051.9Stvcat conftest.$ac_ext >&5
34061.9Stvac_cv_type_u_int32_t=no
34071.9Stvfi
34081.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
34091.9Stvfi
34101.22Sthorpejecho "$as_me:3410: result: $ac_cv_type_u_int32_t" >&5
34111.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
34121.9Stvif test $ac_cv_type_u_int32_t = yes; then
34131.9Stv  cat >>confdefs.h <<\EOF
34141.9Stv#define uint32_t u_int32_t
34151.9StvEOF
34161.9Stv
34171.9Stvelse
34181.22Sthorpej  { { echo "$as_me:3418: error: cannot find a suitable type for uint32_t" >&5
34191.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
34201.9Stv   { (exit 1); exit 1; }; }
34211.9Stvfi
34221.9Stv
34231.9Stvfi
34241.9Stv
34251.22Sthorpej	echo "$as_me:3425: checking for u_int32_t" >&5
34261.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
34271.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
34281.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34291.9Stvelse
34301.9Stv  cat >conftest.$ac_ext <<_ACEOF
34311.22Sthorpej#line 3431 "configure"
34321.1Stv#include "confdefs.h"
34331.6Stv$ac_includes_default
34341.1Stvint
34351.1Stvmain ()
34361.1Stv{
34371.6Stvif ((u_int32_t *) 0)
34381.6Stv  return 0;
34391.6Stvif (sizeof (u_int32_t))
34401.6Stv  return 0;
34411.6Stv  ;
34421.6Stv  return 0;
34431.1Stv}
34441.1Stv_ACEOF
34451.6Stvrm -f conftest.$ac_objext
34461.22Sthorpejif { (eval echo "$as_me:3446: \"$ac_compile\"") >&5
34471.6Stv  (eval $ac_compile) 2>&5
34481.1Stv  ac_status=$?
34491.22Sthorpej  echo "$as_me:3449: \$? = $ac_status" >&5
34501.6Stv  (exit $ac_status); } &&
34511.6Stv         { ac_try='test -s conftest.$ac_objext'
34521.22Sthorpej  { (eval echo "$as_me:3452: \"$ac_try\"") >&5
34531.1Stv  (eval $ac_try) 2>&5
34541.1Stv  ac_status=$?
34551.22Sthorpej  echo "$as_me:3455: \$? = $ac_status" >&5
34561.1Stv  (exit $ac_status); }; }; then
34571.6Stv  ac_cv_type_u_int32_t=yes
34581.1Stvelse
34591.6Stv  echo "$as_me: failed program was:" >&5
34601.1Stvcat conftest.$ac_ext >&5
34611.6Stvac_cv_type_u_int32_t=no
34621.1Stvfi
34631.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
34641.1Stvfi
34651.22Sthorpejecho "$as_me:3465: result: $ac_cv_type_u_int32_t" >&5
34661.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
34671.6Stvif test $ac_cv_type_u_int32_t = yes; then
34681.6Stv  :
34691.6Stvelse
34701.1Stv
34711.22Sthorpej		echo "$as_me:3471: checking for uint32_t" >&5
34721.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
34731.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
34741.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34751.1Stvelse
34761.1Stv  cat >conftest.$ac_ext <<_ACEOF
34771.22Sthorpej#line 3477 "configure"
34781.1Stv#include "confdefs.h"
34791.1Stv$ac_includes_default
34801.6Stvint
34811.6Stvmain ()
34821.6Stv{
34831.6Stvif ((uint32_t *) 0)
34841.6Stv  return 0;
34851.6Stvif (sizeof (uint32_t))
34861.6Stv  return 0;
34871.6Stv  ;
34881.6Stv  return 0;
34891.6Stv}
34901.1Stv_ACEOF
34911.1Stvrm -f conftest.$ac_objext
34921.22Sthorpejif { (eval echo "$as_me:3492: \"$ac_compile\"") >&5
34931.1Stv  (eval $ac_compile) 2>&5
34941.1Stv  ac_status=$?
34951.22Sthorpej  echo "$as_me:3495: \$? = $ac_status" >&5
34961.1Stv  (exit $ac_status); } &&
34971.1Stv         { ac_try='test -s conftest.$ac_objext'
34981.22Sthorpej  { (eval echo "$as_me:3498: \"$ac_try\"") >&5
34991.1Stv  (eval $ac_try) 2>&5
35001.1Stv  ac_status=$?
35011.22Sthorpej  echo "$as_me:3501: \$? = $ac_status" >&5
35021.1Stv  (exit $ac_status); }; }; then
35031.6Stv  ac_cv_type_uint32_t=yes
35041.1Stvelse
35051.1Stv  echo "$as_me: failed program was:" >&5
35061.1Stvcat conftest.$ac_ext >&5
35071.6Stvac_cv_type_uint32_t=no
35081.1Stvfi
35091.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
35101.1Stvfi
35111.22Sthorpejecho "$as_me:3511: result: $ac_cv_type_uint32_t" >&5
35121.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
35131.6Stvif test $ac_cv_type_uint32_t = yes; then
35141.6Stv  cat >>confdefs.h <<\EOF
35151.6Stv#define u_int32_t uint32_t
35161.1StvEOF
35171.1Stv
35181.6Stvelse
35191.22Sthorpej  { { echo "$as_me:3519: error: cannot find a suitable type for u_int32_t" >&5
35201.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
35211.6Stv   { (exit 1); exit 1; }; }
35221.6Stvfi
35231.6Stv
35241.1Stvfi
35251.1Stv
35261.22Sthorpej	echo "$as_me:3526: checking for uint64_t" >&5
35271.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
35281.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
35291.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35301.9Stvelse
35311.9Stv  cat >conftest.$ac_ext <<_ACEOF
35321.22Sthorpej#line 3532 "configure"
35331.9Stv#include "confdefs.h"
35341.9Stv$ac_includes_default
35351.9Stvint
35361.9Stvmain ()
35371.9Stv{
35381.9Stvif ((uint64_t *) 0)
35391.9Stv  return 0;
35401.9Stvif (sizeof (uint64_t))
35411.9Stv  return 0;
35421.9Stv  ;
35431.9Stv  return 0;
35441.9Stv}
35451.9Stv_ACEOF
35461.9Stvrm -f conftest.$ac_objext
35471.22Sthorpejif { (eval echo "$as_me:3547: \"$ac_compile\"") >&5
35481.9Stv  (eval $ac_compile) 2>&5
35491.9Stv  ac_status=$?
35501.22Sthorpej  echo "$as_me:3550: \$? = $ac_status" >&5
35511.9Stv  (exit $ac_status); } &&
35521.9Stv         { ac_try='test -s conftest.$ac_objext'
35531.22Sthorpej  { (eval echo "$as_me:3553: \"$ac_try\"") >&5
35541.9Stv  (eval $ac_try) 2>&5
35551.9Stv  ac_status=$?
35561.22Sthorpej  echo "$as_me:3556: \$? = $ac_status" >&5
35571.9Stv  (exit $ac_status); }; }; then
35581.9Stv  ac_cv_type_uint64_t=yes
35591.9Stvelse
35601.9Stv  echo "$as_me: failed program was:" >&5
35611.9Stvcat conftest.$ac_ext >&5
35621.9Stvac_cv_type_uint64_t=no
35631.9Stvfi
35641.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
35651.9Stvfi
35661.22Sthorpejecho "$as_me:3566: result: $ac_cv_type_uint64_t" >&5
35671.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
35681.9Stvif test $ac_cv_type_uint64_t = yes; then
35691.9Stv  :
35701.9Stvelse
35711.9Stv
35721.22Sthorpej		echo "$as_me:3572: checking for u_int64_t" >&5
35731.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
35741.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
35751.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35761.9Stvelse
35771.9Stv  cat >conftest.$ac_ext <<_ACEOF
35781.22Sthorpej#line 3578 "configure"
35791.9Stv#include "confdefs.h"
35801.9Stv$ac_includes_default
35811.9Stvint
35821.9Stvmain ()
35831.9Stv{
35841.9Stvif ((u_int64_t *) 0)
35851.9Stv  return 0;
35861.9Stvif (sizeof (u_int64_t))
35871.9Stv  return 0;
35881.9Stv  ;
35891.9Stv  return 0;
35901.9Stv}
35911.9Stv_ACEOF
35921.9Stvrm -f conftest.$ac_objext
35931.22Sthorpejif { (eval echo "$as_me:3593: \"$ac_compile\"") >&5
35941.9Stv  (eval $ac_compile) 2>&5
35951.9Stv  ac_status=$?
35961.22Sthorpej  echo "$as_me:3596: \$? = $ac_status" >&5
35971.9Stv  (exit $ac_status); } &&
35981.9Stv         { ac_try='test -s conftest.$ac_objext'
35991.22Sthorpej  { (eval echo "$as_me:3599: \"$ac_try\"") >&5
36001.9Stv  (eval $ac_try) 2>&5
36011.9Stv  ac_status=$?
36021.22Sthorpej  echo "$as_me:3602: \$? = $ac_status" >&5
36031.9Stv  (exit $ac_status); }; }; then
36041.9Stv  ac_cv_type_u_int64_t=yes
36051.9Stvelse
36061.9Stv  echo "$as_me: failed program was:" >&5
36071.9Stvcat conftest.$ac_ext >&5
36081.9Stvac_cv_type_u_int64_t=no
36091.9Stvfi
36101.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
36111.9Stvfi
36121.22Sthorpejecho "$as_me:3612: result: $ac_cv_type_u_int64_t" >&5
36131.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
36141.9Stvif test $ac_cv_type_u_int64_t = yes; then
36151.9Stv  cat >>confdefs.h <<\EOF
36161.9Stv#define uint64_t u_int64_t
36171.9StvEOF
36181.9Stv
36191.9Stvelse
36201.22Sthorpej  { { echo "$as_me:3620: error: cannot find a suitable type for uint64_t" >&5
36211.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
36221.9Stv   { (exit 1); exit 1; }; }
36231.9Stvfi
36241.9Stv
36251.9Stvfi
36261.9Stv
36271.22Sthorpej	echo "$as_me:3627: checking for u_int64_t" >&5
36281.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
36291.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
36301.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36311.1Stvelse
36321.1Stv  cat >conftest.$ac_ext <<_ACEOF
36331.22Sthorpej#line 3633 "configure"
36341.1Stv#include "confdefs.h"
36351.1Stv$ac_includes_default
36361.1Stvint
36371.1Stvmain ()
36381.1Stv{
36391.6Stvif ((u_int64_t *) 0)
36401.1Stv  return 0;
36411.6Stvif (sizeof (u_int64_t))
36421.1Stv  return 0;
36431.1Stv  ;
36441.1Stv  return 0;
36451.1Stv}
36461.1Stv_ACEOF
36471.1Stvrm -f conftest.$ac_objext
36481.22Sthorpejif { (eval echo "$as_me:3648: \"$ac_compile\"") >&5
36491.1Stv  (eval $ac_compile) 2>&5
36501.1Stv  ac_status=$?
36511.22Sthorpej  echo "$as_me:3651: \$? = $ac_status" >&5
36521.1Stv  (exit $ac_status); } &&
36531.1Stv         { ac_try='test -s conftest.$ac_objext'
36541.22Sthorpej  { (eval echo "$as_me:3654: \"$ac_try\"") >&5
36551.1Stv  (eval $ac_try) 2>&5
36561.1Stv  ac_status=$?
36571.22Sthorpej  echo "$as_me:3657: \$? = $ac_status" >&5
36581.1Stv  (exit $ac_status); }; }; then
36591.6Stv  ac_cv_type_u_int64_t=yes
36601.1Stvelse
36611.1Stv  echo "$as_me: failed program was:" >&5
36621.1Stvcat conftest.$ac_ext >&5
36631.6Stvac_cv_type_u_int64_t=no
36641.1Stvfi
36651.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
36661.1Stvfi
36671.22Sthorpejecho "$as_me:3667: result: $ac_cv_type_u_int64_t" >&5
36681.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
36691.6Stvif test $ac_cv_type_u_int64_t = yes; then
36701.1Stv  :
36711.1Stvelse
36721.1Stv
36731.22Sthorpej		echo "$as_me:3673: checking for uint64_t" >&5
36741.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
36751.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
36761.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36771.1Stvelse
36781.1Stv  cat >conftest.$ac_ext <<_ACEOF
36791.22Sthorpej#line 3679 "configure"
36801.1Stv#include "confdefs.h"
36811.4Stv$ac_includes_default
36821.4Stvint
36831.4Stvmain ()
36841.4Stv{
36851.6Stvif ((uint64_t *) 0)
36861.4Stv  return 0;
36871.6Stvif (sizeof (uint64_t))
36881.4Stv  return 0;
36891.4Stv  ;
36901.4Stv  return 0;
36911.4Stv}
36921.1Stv_ACEOF
36931.4Stvrm -f conftest.$ac_objext
36941.22Sthorpejif { (eval echo "$as_me:3694: \"$ac_compile\"") >&5
36951.4Stv  (eval $ac_compile) 2>&5
36961.4Stv  ac_status=$?
36971.22Sthorpej  echo "$as_me:3697: \$? = $ac_status" >&5
36981.4Stv  (exit $ac_status); } &&
36991.4Stv         { ac_try='test -s conftest.$ac_objext'
37001.22Sthorpej  { (eval echo "$as_me:3700: \"$ac_try\"") >&5
37011.4Stv  (eval $ac_try) 2>&5
37021.4Stv  ac_status=$?
37031.22Sthorpej  echo "$as_me:3703: \$? = $ac_status" >&5
37041.4Stv  (exit $ac_status); }; }; then
37051.6Stv  ac_cv_type_uint64_t=yes
37061.4Stvelse
37071.4Stv  echo "$as_me: failed program was:" >&5
37081.4Stvcat conftest.$ac_ext >&5
37091.6Stvac_cv_type_uint64_t=no
37101.4Stvfi
37111.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
37121.4Stvfi
37131.22Sthorpejecho "$as_me:3713: result: $ac_cv_type_uint64_t" >&5
37141.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
37151.6Stvif test $ac_cv_type_uint64_t = yes; then
37161.6Stv  cat >>confdefs.h <<\EOF
37171.6Stv#define u_int64_t uint64_t
37181.6StvEOF
37191.4Stv
37201.6Stvelse
37211.22Sthorpej  { { echo "$as_me:3721: error: cannot find a suitable type for u_int64_t" >&5
37221.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
37231.6Stv   { (exit 1); exit 1; }; }
37241.6Stvfi
37251.4Stv
37261.4Stvfi
37271.4Stv
37281.4Stv# Struct members.
37291.22Sthorpejecho "$as_me:3729: checking for DIR.dd_fd" >&5
37301.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
37311.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
37321.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37331.7Stvelse
37341.7Stv  cat >conftest.$ac_ext <<_ACEOF
37351.22Sthorpej#line 3735 "configure"
37361.7Stv#include "confdefs.h"
37371.32Sthorpej#include <sys/types.h>
37381.7Stv#include <dirent.h>
37391.7Stv
37401.7Stvint
37411.7Stvmain ()
37421.7Stv{
37431.7Stvstatic DIR ac_aggr;
37441.7Stvif (ac_aggr.dd_fd)
37451.7Stvreturn 0;
37461.7Stv  ;
37471.7Stv  return 0;
37481.7Stv}
37491.7Stv_ACEOF
37501.7Stvrm -f conftest.$ac_objext
37511.32Sthorpejif { (eval echo "$as_me:3751: \"$ac_compile\"") >&5
37521.7Stv  (eval $ac_compile) 2>&5
37531.7Stv  ac_status=$?
37541.32Sthorpej  echo "$as_me:3754: \$? = $ac_status" >&5
37551.7Stv  (exit $ac_status); } &&
37561.7Stv         { ac_try='test -s conftest.$ac_objext'
37571.32Sthorpej  { (eval echo "$as_me:3757: \"$ac_try\"") >&5
37581.7Stv  (eval $ac_try) 2>&5
37591.7Stv  ac_status=$?
37601.32Sthorpej  echo "$as_me:3760: \$? = $ac_status" >&5
37611.7Stv  (exit $ac_status); }; }; then
37621.7Stv  ac_cv_member_DIR_dd_fd=yes
37631.7Stvelse
37641.7Stv  echo "$as_me: failed program was:" >&5
37651.7Stvcat conftest.$ac_ext >&5
37661.7Stvac_cv_member_DIR_dd_fd=no
37671.7Stvfi
37681.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
37691.7Stvfi
37701.32Sthorpejecho "$as_me:3770: result: $ac_cv_member_DIR_dd_fd" >&5
37711.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
37721.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
37731.7Stv
37741.7Stvcat >>confdefs.h <<EOF
37751.7Stv#define HAVE_DIR_DD_FD 1
37761.7StvEOF
37771.7Stv
37781.7Stvfi
37791.32Sthorpejecho "$as_me:3779: checking for struct dirent.d_namlen" >&5
37801.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
37811.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
37821.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37831.8Stvelse
37841.8Stv  cat >conftest.$ac_ext <<_ACEOF
37851.32Sthorpej#line 3785 "configure"
37861.8Stv#include "confdefs.h"
37871.32Sthorpej#include <sys/types.h>
37881.8Stv#include <dirent.h>
37891.8Stv
37901.8Stvint
37911.8Stvmain ()
37921.8Stv{
37931.8Stvstatic struct dirent ac_aggr;
37941.8Stvif (ac_aggr.d_namlen)
37951.8Stvreturn 0;
37961.8Stv  ;
37971.8Stv  return 0;
37981.8Stv}
37991.8Stv_ACEOF
38001.8Stvrm -f conftest.$ac_objext
38011.32Sthorpejif { (eval echo "$as_me:3801: \"$ac_compile\"") >&5
38021.8Stv  (eval $ac_compile) 2>&5
38031.8Stv  ac_status=$?
38041.32Sthorpej  echo "$as_me:3804: \$? = $ac_status" >&5
38051.8Stv  (exit $ac_status); } &&
38061.8Stv         { ac_try='test -s conftest.$ac_objext'
38071.32Sthorpej  { (eval echo "$as_me:3807: \"$ac_try\"") >&5
38081.8Stv  (eval $ac_try) 2>&5
38091.8Stv  ac_status=$?
38101.32Sthorpej  echo "$as_me:3810: \$? = $ac_status" >&5
38111.8Stv  (exit $ac_status); }; }; then
38121.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
38131.8Stvelse
38141.8Stv  echo "$as_me: failed program was:" >&5
38151.8Stvcat conftest.$ac_ext >&5
38161.8Stvac_cv_member_struct_dirent_d_namlen=no
38171.8Stvfi
38181.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
38191.8Stvfi
38201.32Sthorpejecho "$as_me:3820: result: $ac_cv_member_struct_dirent_d_namlen" >&5
38211.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
38221.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
38231.8Stv
38241.8Stvcat >>confdefs.h <<EOF
38251.8Stv#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
38261.8StvEOF
38271.8Stv
38281.8Stvfi
38291.7Stv
38301.32Sthorpejecho "$as_me:3830: checking for struct stat.st_flags" >&5
38311.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
38321.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
38331.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38341.4Stvelse
38351.4Stv  cat >conftest.$ac_ext <<_ACEOF
38361.32Sthorpej#line 3836 "configure"
38371.4Stv#include "confdefs.h"
38381.4Stv#include <sys/stat.h>
38391.4Stv
38401.4Stvint
38411.4Stvmain ()
38421.4Stv{
38431.4Stvstatic struct stat ac_aggr;
38441.4Stvif (ac_aggr.st_flags)
38451.4Stvreturn 0;
38461.4Stv  ;
38471.4Stv  return 0;
38481.4Stv}
38491.4Stv_ACEOF
38501.4Stvrm -f conftest.$ac_objext
38511.32Sthorpejif { (eval echo "$as_me:3851: \"$ac_compile\"") >&5
38521.4Stv  (eval $ac_compile) 2>&5
38531.4Stv  ac_status=$?
38541.32Sthorpej  echo "$as_me:3854: \$? = $ac_status" >&5
38551.4Stv  (exit $ac_status); } &&
38561.4Stv         { ac_try='test -s conftest.$ac_objext'
38571.32Sthorpej  { (eval echo "$as_me:3857: \"$ac_try\"") >&5
38581.4Stv  (eval $ac_try) 2>&5
38591.4Stv  ac_status=$?
38601.32Sthorpej  echo "$as_me:3860: \$? = $ac_status" >&5
38611.4Stv  (exit $ac_status); }; }; then
38621.4Stv  ac_cv_member_struct_stat_st_flags=yes
38631.4Stvelse
38641.4Stv  echo "$as_me: failed program was:" >&5
38651.4Stvcat conftest.$ac_ext >&5
38661.4Stvac_cv_member_struct_stat_st_flags=no
38671.4Stvfi
38681.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
38691.4Stvfi
38701.32Sthorpejecho "$as_me:3870: result: $ac_cv_member_struct_stat_st_flags" >&5
38711.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
38721.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then
38731.4Stv
38741.4Stvcat >>confdefs.h <<EOF
38751.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1
38761.4StvEOF
38771.4Stv
38781.4Stvfi
38791.32Sthorpejecho "$as_me:3879: checking for struct stat.st_gen" >&5
38801.7Stvecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
38811.7Stvif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
38821.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38831.7Stvelse
38841.7Stv  cat >conftest.$ac_ext <<_ACEOF
38851.32Sthorpej#line 3885 "configure"
38861.7Stv#include "confdefs.h"
38871.7Stv#include <sys/stat.h>
38881.7Stv
38891.7Stvint
38901.7Stvmain ()
38911.7Stv{
38921.7Stvstatic struct stat ac_aggr;
38931.7Stvif (ac_aggr.st_gen)
38941.7Stvreturn 0;
38951.7Stv  ;
38961.7Stv  return 0;
38971.7Stv}
38981.7Stv_ACEOF
38991.7Stvrm -f conftest.$ac_objext
39001.32Sthorpejif { (eval echo "$as_me:3900: \"$ac_compile\"") >&5
39011.7Stv  (eval $ac_compile) 2>&5
39021.7Stv  ac_status=$?
39031.32Sthorpej  echo "$as_me:3903: \$? = $ac_status" >&5
39041.7Stv  (exit $ac_status); } &&
39051.7Stv         { ac_try='test -s conftest.$ac_objext'
39061.32Sthorpej  { (eval echo "$as_me:3906: \"$ac_try\"") >&5
39071.7Stv  (eval $ac_try) 2>&5
39081.7Stv  ac_status=$?
39091.32Sthorpej  echo "$as_me:3909: \$? = $ac_status" >&5
39101.7Stv  (exit $ac_status); }; }; then
39111.7Stv  ac_cv_member_struct_stat_st_gen=yes
39121.7Stvelse
39131.7Stv  echo "$as_me: failed program was:" >&5
39141.7Stvcat conftest.$ac_ext >&5
39151.7Stvac_cv_member_struct_stat_st_gen=no
39161.7Stvfi
39171.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
39181.7Stvfi
39191.32Sthorpejecho "$as_me:3919: result: $ac_cv_member_struct_stat_st_gen" >&5
39201.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
39211.7Stvif test $ac_cv_member_struct_stat_st_gen = yes; then
39221.7Stv
39231.7Stvcat >>confdefs.h <<EOF
39241.7Stv#define HAVE_STRUCT_STAT_ST_GEN 1
39251.7StvEOF
39261.7Stv
39271.7Stvfi
39281.32Sthorpejecho "$as_me:3928: checking for struct stat.st_mtimensec" >&5
39291.7Stvecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
39301.7Stvif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
39311.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39321.7Stvelse
39331.7Stv  cat >conftest.$ac_ext <<_ACEOF
39341.32Sthorpej#line 3934 "configure"
39351.7Stv#include "confdefs.h"
39361.7Stv#include <sys/stat.h>
39371.7Stv
39381.7Stvint
39391.7Stvmain ()
39401.7Stv{
39411.7Stvstatic struct stat ac_aggr;
39421.7Stvif (ac_aggr.st_mtimensec)
39431.7Stvreturn 0;
39441.7Stv  ;
39451.7Stv  return 0;
39461.7Stv}
39471.7Stv_ACEOF
39481.7Stvrm -f conftest.$ac_objext
39491.32Sthorpejif { (eval echo "$as_me:3949: \"$ac_compile\"") >&5
39501.7Stv  (eval $ac_compile) 2>&5
39511.7Stv  ac_status=$?
39521.32Sthorpej  echo "$as_me:3952: \$? = $ac_status" >&5
39531.7Stv  (exit $ac_status); } &&
39541.7Stv         { ac_try='test -s conftest.$ac_objext'
39551.32Sthorpej  { (eval echo "$as_me:3955: \"$ac_try\"") >&5
39561.7Stv  (eval $ac_try) 2>&5
39571.7Stv  ac_status=$?
39581.32Sthorpej  echo "$as_me:3958: \$? = $ac_status" >&5
39591.7Stv  (exit $ac_status); }; }; then
39601.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
39611.7Stvelse
39621.7Stv  echo "$as_me: failed program was:" >&5
39631.7Stvcat conftest.$ac_ext >&5
39641.7Stvac_cv_member_struct_stat_st_mtimensec=no
39651.7Stvfi
39661.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
39671.7Stvfi
39681.32Sthorpejecho "$as_me:3968: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
39691.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
39701.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
39711.7Stv
39721.7Stvcat >>confdefs.h <<EOF
39731.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
39741.7StvEOF
39751.7Stv
39761.7Stvfi
39771.4Stv
39781.32Sthorpejecho "$as_me:3978: checking for struct statfs.f_iosize" >&5
39791.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
39801.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
39811.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39821.6Stvelse
39831.6Stv  cat >conftest.$ac_ext <<_ACEOF
39841.32Sthorpej#line 3984 "configure"
39851.6Stv#include "confdefs.h"
39861.7Stv#include <sys/mount.h>
39871.6Stv
39881.6Stvint
39891.6Stvmain ()
39901.6Stv{
39911.7Stvstatic struct statfs ac_aggr;
39921.7Stvif (ac_aggr.f_iosize)
39931.6Stvreturn 0;
39941.6Stv  ;
39951.6Stv  return 0;
39961.6Stv}
39971.6Stv_ACEOF
39981.6Stvrm -f conftest.$ac_objext
39991.32Sthorpejif { (eval echo "$as_me:3999: \"$ac_compile\"") >&5
40001.6Stv  (eval $ac_compile) 2>&5
40011.6Stv  ac_status=$?
40021.32Sthorpej  echo "$as_me:4002: \$? = $ac_status" >&5
40031.6Stv  (exit $ac_status); } &&
40041.6Stv         { ac_try='test -s conftest.$ac_objext'
40051.32Sthorpej  { (eval echo "$as_me:4005: \"$ac_try\"") >&5
40061.6Stv  (eval $ac_try) 2>&5
40071.6Stv  ac_status=$?
40081.32Sthorpej  echo "$as_me:4008: \$? = $ac_status" >&5
40091.6Stv  (exit $ac_status); }; }; then
40101.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
40111.6Stvelse
40121.6Stv  echo "$as_me: failed program was:" >&5
40131.6Stvcat conftest.$ac_ext >&5
40141.7Stvac_cv_member_struct_statfs_f_iosize=no
40151.6Stvfi
40161.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
40171.6Stvfi
40181.32Sthorpejecho "$as_me:4018: result: $ac_cv_member_struct_statfs_f_iosize" >&5
40191.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
40201.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
40211.6Stv
40221.6Stvcat >>confdefs.h <<EOF
40231.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
40241.6StvEOF
40251.6Stv
40261.6Stvfi
40271.6Stv
40281.4Stv# Global variable decls.
40291.32Sthorpejecho "$as_me:4029: checking whether optind is declared" >&5
40301.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
40311.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
40321.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40331.7Stvelse
40341.7Stv  cat >conftest.$ac_ext <<_ACEOF
40351.32Sthorpej#line 4035 "configure"
40361.7Stv#include "confdefs.h"
40371.7Stv
40381.7Stv#include <stdio.h>
40391.7Stv#include <stdlib.h>
40401.7Stv#include <unistd.h>
40411.7Stv
40421.7Stvint
40431.7Stvmain ()
40441.7Stv{
40451.7Stv#ifndef optind
40461.7Stv  char *p = (char *) optind;
40471.7Stv#endif
40481.7Stv
40491.7Stv  ;
40501.7Stv  return 0;
40511.7Stv}
40521.7Stv_ACEOF
40531.7Stvrm -f conftest.$ac_objext
40541.32Sthorpejif { (eval echo "$as_me:4054: \"$ac_compile\"") >&5
40551.7Stv  (eval $ac_compile) 2>&5
40561.7Stv  ac_status=$?
40571.32Sthorpej  echo "$as_me:4057: \$? = $ac_status" >&5
40581.7Stv  (exit $ac_status); } &&
40591.7Stv         { ac_try='test -s conftest.$ac_objext'
40601.32Sthorpej  { (eval echo "$as_me:4060: \"$ac_try\"") >&5
40611.7Stv  (eval $ac_try) 2>&5
40621.7Stv  ac_status=$?
40631.32Sthorpej  echo "$as_me:4063: \$? = $ac_status" >&5
40641.7Stv  (exit $ac_status); }; }; then
40651.7Stv  ac_cv_have_decl_optind=yes
40661.7Stvelse
40671.7Stv  echo "$as_me: failed program was:" >&5
40681.7Stvcat conftest.$ac_ext >&5
40691.7Stvac_cv_have_decl_optind=no
40701.7Stvfi
40711.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40721.7Stvfi
40731.32Sthorpejecho "$as_me:4073: result: $ac_cv_have_decl_optind" >&5
40741.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
40751.7Stvif test $ac_cv_have_decl_optind = yes; then
40761.7Stv
40771.7Stvcat >>confdefs.h <<EOF
40781.7Stv#define HAVE_DECL_OPTIND 1
40791.7StvEOF
40801.7Stv
40811.7Stvelse
40821.7Stv  cat >>confdefs.h <<EOF
40831.7Stv#define HAVE_DECL_OPTIND 0
40841.7StvEOF
40851.7Stv
40861.7Stvfi
40871.32Sthorpejecho "$as_me:4087: checking whether optreset is declared" >&5
40881.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
40891.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
40901.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40911.7Stvelse
40921.7Stv  cat >conftest.$ac_ext <<_ACEOF
40931.32Sthorpej#line 4093 "configure"
40941.7Stv#include "confdefs.h"
40951.7Stv
40961.7Stv#include <stdio.h>
40971.7Stv#include <stdlib.h>
40981.7Stv#include <unistd.h>
40991.7Stv
41001.7Stvint
41011.7Stvmain ()
41021.7Stv{
41031.7Stv#ifndef optreset
41041.7Stv  char *p = (char *) optreset;
41051.7Stv#endif
41061.7Stv
41071.7Stv  ;
41081.7Stv  return 0;
41091.7Stv}
41101.7Stv_ACEOF
41111.7Stvrm -f conftest.$ac_objext
41121.32Sthorpejif { (eval echo "$as_me:4112: \"$ac_compile\"") >&5
41131.7Stv  (eval $ac_compile) 2>&5
41141.7Stv  ac_status=$?
41151.32Sthorpej  echo "$as_me:4115: \$? = $ac_status" >&5
41161.7Stv  (exit $ac_status); } &&
41171.7Stv         { ac_try='test -s conftest.$ac_objext'
41181.32Sthorpej  { (eval echo "$as_me:4118: \"$ac_try\"") >&5
41191.7Stv  (eval $ac_try) 2>&5
41201.7Stv  ac_status=$?
41211.32Sthorpej  echo "$as_me:4121: \$? = $ac_status" >&5
41221.7Stv  (exit $ac_status); }; }; then
41231.7Stv  ac_cv_have_decl_optreset=yes
41241.7Stvelse
41251.7Stv  echo "$as_me: failed program was:" >&5
41261.7Stvcat conftest.$ac_ext >&5
41271.7Stvac_cv_have_decl_optreset=no
41281.7Stvfi
41291.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
41301.7Stvfi
41311.32Sthorpejecho "$as_me:4131: result: $ac_cv_have_decl_optreset" >&5
41321.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
41331.7Stvif test $ac_cv_have_decl_optreset = yes; then
41341.7Stv
41351.7Stvcat >>confdefs.h <<EOF
41361.7Stv#define HAVE_DECL_OPTRESET 1
41371.7StvEOF
41381.7Stv
41391.7Stvelse
41401.7Stv  cat >>confdefs.h <<EOF
41411.7Stv#define HAVE_DECL_OPTRESET 0
41421.7StvEOF
41431.7Stv
41441.7Stvfi
41451.7Stv
41461.32Sthorpejecho "$as_me:4146: checking whether sys_signame is declared" >&5
41471.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
41481.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
41491.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41501.4Stvelse
41511.4Stv  cat >conftest.$ac_ext <<_ACEOF
41521.32Sthorpej#line 4152 "configure"
41531.4Stv#include "confdefs.h"
41541.4Stv#include <signal.h>
41551.4Stv
41561.4Stvint
41571.4Stvmain ()
41581.4Stv{
41591.4Stv#ifndef sys_signame
41601.4Stv  char *p = (char *) sys_signame;
41611.4Stv#endif
41621.4Stv
41631.4Stv  ;
41641.4Stv  return 0;
41651.4Stv}
41661.4Stv_ACEOF
41671.4Stvrm -f conftest.$ac_objext
41681.32Sthorpejif { (eval echo "$as_me:4168: \"$ac_compile\"") >&5
41691.4Stv  (eval $ac_compile) 2>&5
41701.4Stv  ac_status=$?
41711.32Sthorpej  echo "$as_me:4171: \$? = $ac_status" >&5
41721.4Stv  (exit $ac_status); } &&
41731.4Stv         { ac_try='test -s conftest.$ac_objext'
41741.32Sthorpej  { (eval echo "$as_me:4174: \"$ac_try\"") >&5
41751.4Stv  (eval $ac_try) 2>&5
41761.4Stv  ac_status=$?
41771.32Sthorpej  echo "$as_me:4177: \$? = $ac_status" >&5
41781.4Stv  (exit $ac_status); }; }; then
41791.4Stv  ac_cv_have_decl_sys_signame=yes
41801.4Stvelse
41811.4Stv  echo "$as_me: failed program was:" >&5
41821.4Stvcat conftest.$ac_ext >&5
41831.4Stvac_cv_have_decl_sys_signame=no
41841.4Stvfi
41851.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
41861.4Stvfi
41871.32Sthorpejecho "$as_me:4187: result: $ac_cv_have_decl_sys_signame" >&5
41881.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
41891.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
41901.4Stv
41911.4Stvcat >>confdefs.h <<EOF
41921.4Stv#define HAVE_DECL_SYS_SIGNAME 1
41931.4StvEOF
41941.4Stv
41951.4Stvelse
41961.4Stv  cat >>confdefs.h <<EOF
41971.4Stv#define HAVE_DECL_SYS_SIGNAME 0
41981.4StvEOF
41991.4Stv
42001.4Stvfi
42011.4Stv
42021.4Stv# Library functions (where a .h check isn't enough).
42031.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
42041.19Sbjh21# for constant arguments.  Useless!
42051.32Sthorpejecho "$as_me:4205: checking for working alloca.h" >&5
42061.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
42071.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
42081.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42091.19Sbjh21else
42101.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42111.32Sthorpej#line 4211 "configure"
42121.19Sbjh21#include "confdefs.h"
42131.19Sbjh21#include <alloca.h>
42141.19Sbjh21int
42151.19Sbjh21main ()
42161.19Sbjh21{
42171.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
42181.19Sbjh21  ;
42191.19Sbjh21  return 0;
42201.19Sbjh21}
42211.19Sbjh21_ACEOF
42221.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
42231.32Sthorpejif { (eval echo "$as_me:4223: \"$ac_link\"") >&5
42241.19Sbjh21  (eval $ac_link) 2>&5
42251.19Sbjh21  ac_status=$?
42261.32Sthorpej  echo "$as_me:4226: \$? = $ac_status" >&5
42271.19Sbjh21  (exit $ac_status); } &&
42281.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
42291.32Sthorpej  { (eval echo "$as_me:4229: \"$ac_try\"") >&5
42301.19Sbjh21  (eval $ac_try) 2>&5
42311.19Sbjh21  ac_status=$?
42321.32Sthorpej  echo "$as_me:4232: \$? = $ac_status" >&5
42331.19Sbjh21  (exit $ac_status); }; }; then
42341.19Sbjh21  ac_cv_working_alloca_h=yes
42351.19Sbjh21else
42361.19Sbjh21  echo "$as_me: failed program was:" >&5
42371.19Sbjh21cat conftest.$ac_ext >&5
42381.19Sbjh21ac_cv_working_alloca_h=no
42391.19Sbjh21fi
42401.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42411.19Sbjh21fi
42421.32Sthorpejecho "$as_me:4242: result: $ac_cv_working_alloca_h" >&5
42431.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
42441.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
42451.19Sbjh21
42461.19Sbjh21cat >>confdefs.h <<\EOF
42471.19Sbjh21#define HAVE_ALLOCA_H 1
42481.19Sbjh21EOF
42491.19Sbjh21
42501.19Sbjh21fi
42511.19Sbjh21
42521.32Sthorpejecho "$as_me:4252: checking for alloca" >&5
42531.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
42541.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
42551.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42561.19Sbjh21else
42571.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42581.32Sthorpej#line 4258 "configure"
42591.19Sbjh21#include "confdefs.h"
42601.19Sbjh21#ifdef __GNUC__
42611.19Sbjh21# define alloca __builtin_alloca
42621.19Sbjh21#else
42631.19Sbjh21# ifdef _MSC_VER
42641.19Sbjh21#  include <malloc.h>
42651.19Sbjh21#  define alloca _alloca
42661.19Sbjh21# else
42671.19Sbjh21#  if HAVE_ALLOCA_H
42681.19Sbjh21#   include <alloca.h>
42691.19Sbjh21#  else
42701.19Sbjh21#   ifdef _AIX
42711.19Sbjh21 #pragma alloca
42721.19Sbjh21#   else
42731.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
42741.19Sbjh21char *alloca ();
42751.19Sbjh21#    endif
42761.19Sbjh21#   endif
42771.19Sbjh21#  endif
42781.19Sbjh21# endif
42791.19Sbjh21#endif
42801.19Sbjh21
42811.19Sbjh21int
42821.19Sbjh21main ()
42831.19Sbjh21{
42841.19Sbjh21char *p = (char *) alloca (1);
42851.19Sbjh21  ;
42861.19Sbjh21  return 0;
42871.19Sbjh21}
42881.19Sbjh21_ACEOF
42891.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
42901.32Sthorpejif { (eval echo "$as_me:4290: \"$ac_link\"") >&5
42911.19Sbjh21  (eval $ac_link) 2>&5
42921.19Sbjh21  ac_status=$?
42931.32Sthorpej  echo "$as_me:4293: \$? = $ac_status" >&5
42941.19Sbjh21  (exit $ac_status); } &&
42951.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
42961.32Sthorpej  { (eval echo "$as_me:4296: \"$ac_try\"") >&5
42971.19Sbjh21  (eval $ac_try) 2>&5
42981.19Sbjh21  ac_status=$?
42991.32Sthorpej  echo "$as_me:4299: \$? = $ac_status" >&5
43001.19Sbjh21  (exit $ac_status); }; }; then
43011.19Sbjh21  ac_cv_func_alloca_works=yes
43021.19Sbjh21else
43031.19Sbjh21  echo "$as_me: failed program was:" >&5
43041.19Sbjh21cat conftest.$ac_ext >&5
43051.19Sbjh21ac_cv_func_alloca_works=no
43061.19Sbjh21fi
43071.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43081.19Sbjh21fi
43091.32Sthorpejecho "$as_me:4309: result: $ac_cv_func_alloca_works" >&5
43101.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
43111.19Sbjh21
43121.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
43131.19Sbjh21
43141.19Sbjh21cat >>confdefs.h <<\EOF
43151.19Sbjh21#define HAVE_ALLOCA 1
43161.19Sbjh21EOF
43171.19Sbjh21
43181.19Sbjh21else
43191.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
43201.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
43211.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
43221.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
43231.19Sbjh21
43241.19Sbjh21ALLOCA=alloca.$ac_objext
43251.19Sbjh21
43261.19Sbjh21cat >>confdefs.h <<\EOF
43271.19Sbjh21#define C_ALLOCA 1
43281.19Sbjh21EOF
43291.19Sbjh21
43301.32Sthorpejecho "$as_me:4330: checking whether \`alloca.c' needs Cray hooks" >&5
43311.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
43321.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
43331.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43341.19Sbjh21else
43351.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43361.32Sthorpej#line 4336 "configure"
43371.19Sbjh21#include "confdefs.h"
43381.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
43391.19Sbjh21webecray
43401.19Sbjh21#else
43411.19Sbjh21wenotbecray
43421.19Sbjh21#endif
43431.19Sbjh21
43441.19Sbjh21_ACEOF
43451.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43461.19Sbjh21  egrep "webecray" >/dev/null 2>&1; then
43471.19Sbjh21  ac_cv_os_cray=yes
43481.19Sbjh21else
43491.19Sbjh21  ac_cv_os_cray=no
43501.19Sbjh21fi
43511.19Sbjh21rm -f conftest*
43521.19Sbjh21
43531.19Sbjh21fi
43541.32Sthorpejecho "$as_me:4354: result: $ac_cv_os_cray" >&5
43551.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
43561.19Sbjh21if test $ac_cv_os_cray = yes; then
43571.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
43581.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43591.32Sthorpejecho "$as_me:4359: checking for $ac_func" >&5
43601.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43611.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
43621.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43631.19Sbjh21else
43641.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43651.32Sthorpej#line 4365 "configure"
43661.19Sbjh21#include "confdefs.h"
43671.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
43681.19Sbjh21    which can conflict with char $ac_func (); below.  */
43691.19Sbjh21#include <assert.h>
43701.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
43711.19Sbjh21#ifdef __cplusplus
43721.19Sbjh21extern "C"
43731.19Sbjh21#endif
43741.19Sbjh21/* We use char because int might match the return type of a gcc2
43751.19Sbjh21   builtin and then its argument prototype would still apply.  */
43761.19Sbjh21char $ac_func ();
43771.19Sbjh21char (*f) ();
43781.19Sbjh21
43791.19Sbjh21int
43801.19Sbjh21main ()
43811.19Sbjh21{
43821.19Sbjh21/* The GNU C library defines this for functions which it implements
43831.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
43841.19Sbjh21    something starting with __ and the normal name is an alias.  */
43851.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43861.19Sbjh21choke me
43871.19Sbjh21#else
43881.19Sbjh21f = $ac_func;
43891.19Sbjh21#endif
43901.19Sbjh21
43911.19Sbjh21  ;
43921.19Sbjh21  return 0;
43931.19Sbjh21}
43941.19Sbjh21_ACEOF
43951.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
43961.32Sthorpejif { (eval echo "$as_me:4396: \"$ac_link\"") >&5
43971.19Sbjh21  (eval $ac_link) 2>&5
43981.19Sbjh21  ac_status=$?
43991.32Sthorpej  echo "$as_me:4399: \$? = $ac_status" >&5
44001.19Sbjh21  (exit $ac_status); } &&
44011.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
44021.32Sthorpej  { (eval echo "$as_me:4402: \"$ac_try\"") >&5
44031.19Sbjh21  (eval $ac_try) 2>&5
44041.19Sbjh21  ac_status=$?
44051.32Sthorpej  echo "$as_me:4405: \$? = $ac_status" >&5
44061.19Sbjh21  (exit $ac_status); }; }; then
44071.19Sbjh21  eval "$as_ac_var=yes"
44081.19Sbjh21else
44091.19Sbjh21  echo "$as_me: failed program was:" >&5
44101.19Sbjh21cat conftest.$ac_ext >&5
44111.19Sbjh21eval "$as_ac_var=no"
44121.19Sbjh21fi
44131.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44141.19Sbjh21fi
44151.32Sthorpejecho "$as_me:4415: result: `eval echo '${'$as_ac_var'}'`" >&5
44161.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44171.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
44181.19Sbjh21
44191.19Sbjh21cat >>confdefs.h <<EOF
44201.19Sbjh21#define CRAY_STACKSEG_END $ac_func
44211.19Sbjh21EOF
44221.19Sbjh21
44231.19Sbjh21    break
44241.19Sbjh21fi
44251.19Sbjh21
44261.19Sbjh21  done
44271.19Sbjh21fi
44281.19Sbjh21
44291.32Sthorpejecho "$as_me:4429: checking stack direction for C alloca" >&5
44301.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
44311.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
44321.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44331.19Sbjh21else
44341.19Sbjh21  if test "$cross_compiling" = yes; then
44351.19Sbjh21  ac_cv_c_stack_direction=0
44361.19Sbjh21else
44371.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44381.32Sthorpej#line 4438 "configure"
44391.19Sbjh21#include "confdefs.h"
44401.19Sbjh21int
44411.19Sbjh21find_stack_direction ()
44421.19Sbjh21{
44431.19Sbjh21  static char *addr = 0;
44441.19Sbjh21  auto char dummy;
44451.19Sbjh21  if (addr == 0)
44461.19Sbjh21    {
44471.19Sbjh21      addr = &dummy;
44481.19Sbjh21      return find_stack_direction ();
44491.19Sbjh21    }
44501.19Sbjh21  else
44511.19Sbjh21    return (&dummy > addr) ? 1 : -1;
44521.19Sbjh21}
44531.19Sbjh21
44541.19Sbjh21int
44551.19Sbjh21main ()
44561.19Sbjh21{
44571.19Sbjh21  exit (find_stack_direction () < 0);
44581.19Sbjh21}
44591.19Sbjh21_ACEOF
44601.19Sbjh21rm -f conftest$ac_exeext
44611.32Sthorpejif { (eval echo "$as_me:4461: \"$ac_link\"") >&5
44621.19Sbjh21  (eval $ac_link) 2>&5
44631.19Sbjh21  ac_status=$?
44641.32Sthorpej  echo "$as_me:4464: \$? = $ac_status" >&5
44651.19Sbjh21  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44661.32Sthorpej  { (eval echo "$as_me:4466: \"$ac_try\"") >&5
44671.19Sbjh21  (eval $ac_try) 2>&5
44681.19Sbjh21  ac_status=$?
44691.32Sthorpej  echo "$as_me:4469: \$? = $ac_status" >&5
44701.19Sbjh21  (exit $ac_status); }; }; then
44711.19Sbjh21  ac_cv_c_stack_direction=1
44721.19Sbjh21else
44731.19Sbjh21  echo "$as_me: program exited with status $ac_status" >&5
44741.19Sbjh21echo "$as_me: failed program was:" >&5
44751.19Sbjh21cat conftest.$ac_ext >&5
44761.19Sbjh21ac_cv_c_stack_direction=-1
44771.19Sbjh21fi
44781.19Sbjh21rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44791.19Sbjh21fi
44801.19Sbjh21fi
44811.32Sthorpejecho "$as_me:4481: result: $ac_cv_c_stack_direction" >&5
44821.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
44831.19Sbjh21
44841.19Sbjh21cat >>confdefs.h <<EOF
44851.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction
44861.19Sbjh21EOF
44871.19Sbjh21
44881.19Sbjh21fi
44891.19Sbjh21
44901.6Stvfor ac_func in asprintf asnprintf basename dirfd dirname \
44911.7Stv	fgetln flock fparseln futimes getopt getopt_long \
44921.26Slukem	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
44931.25Sthorpej	poll pread pwcache_userdb pwrite random setenv setgroupent \
44941.29Slukem	setprogname setpassent snprintf strlcat strlcpy strsep \
44951.29Slukem	strsuftoll strtoll \
44961.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
44971.1Stvdo
44981.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44991.32Sthorpejecho "$as_me:4499: checking for $ac_func" >&5
45001.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45011.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
45021.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45031.1Stvelse
45041.1Stv  cat >conftest.$ac_ext <<_ACEOF
45051.32Sthorpej#line 4505 "configure"
45061.1Stv#include "confdefs.h"
45071.1Stv/* System header to define __stub macros and hopefully few prototypes,
45081.1Stv    which can conflict with char $ac_func (); below.  */
45091.1Stv#include <assert.h>
45101.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
45111.1Stv#ifdef __cplusplus
45121.1Stvextern "C"
45131.1Stv#endif
45141.1Stv/* We use char because int might match the return type of a gcc2
45151.1Stv   builtin and then its argument prototype would still apply.  */
45161.1Stvchar $ac_func ();
45171.1Stvchar (*f) ();
45181.1Stv
45191.1Stvint
45201.1Stvmain ()
45211.1Stv{
45221.1Stv/* The GNU C library defines this for functions which it implements
45231.1Stv    to always fail with ENOSYS.  Some functions are actually named
45241.1Stv    something starting with __ and the normal name is an alias.  */
45251.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45261.1Stvchoke me
45271.1Stv#else
45281.1Stvf = $ac_func;
45291.1Stv#endif
45301.1Stv
45311.1Stv  ;
45321.1Stv  return 0;
45331.1Stv}
45341.1Stv_ACEOF
45351.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
45361.32Sthorpejif { (eval echo "$as_me:4536: \"$ac_link\"") >&5
45371.1Stv  (eval $ac_link) 2>&5
45381.1Stv  ac_status=$?
45391.32Sthorpej  echo "$as_me:4539: \$? = $ac_status" >&5
45401.1Stv  (exit $ac_status); } &&
45411.1Stv         { ac_try='test -s conftest$ac_exeext'
45421.32Sthorpej  { (eval echo "$as_me:4542: \"$ac_try\"") >&5
45431.1Stv  (eval $ac_try) 2>&5
45441.1Stv  ac_status=$?
45451.32Sthorpej  echo "$as_me:4545: \$? = $ac_status" >&5
45461.1Stv  (exit $ac_status); }; }; then
45471.1Stv  eval "$as_ac_var=yes"
45481.1Stvelse
45491.1Stv  echo "$as_me: failed program was:" >&5
45501.1Stvcat conftest.$ac_ext >&5
45511.1Stveval "$as_ac_var=no"
45521.1Stvfi
45531.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45541.1Stvfi
45551.32Sthorpejecho "$as_me:4555: result: `eval echo '${'$as_ac_var'}'`" >&5
45561.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45571.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
45581.1Stv  cat >>confdefs.h <<EOF
45591.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45601.1StvEOF
45611.1Stv
45621.1Stvfi
45631.1Stvdone
45641.1Stv
45651.32Sthorpejecho "$as_me:4565: checking whether setgroupent is declared" >&5
45661.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
45671.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
45681.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45691.8Stvelse
45701.8Stv  cat >conftest.$ac_ext <<_ACEOF
45711.32Sthorpej#line 4571 "configure"
45721.8Stv#include "confdefs.h"
45731.8Stv
45741.8Stv#include <grp.h>
45751.8Stv#include <pwd.h>
45761.8Stv
45771.8Stvint
45781.8Stvmain ()
45791.8Stv{
45801.8Stv#ifndef setgroupent
45811.8Stv  char *p = (char *) setgroupent;
45821.8Stv#endif
45831.8Stv
45841.8Stv  ;
45851.8Stv  return 0;
45861.8Stv}
45871.8Stv_ACEOF
45881.8Stvrm -f conftest.$ac_objext
45891.32Sthorpejif { (eval echo "$as_me:4589: \"$ac_compile\"") >&5
45901.8Stv  (eval $ac_compile) 2>&5
45911.8Stv  ac_status=$?
45921.32Sthorpej  echo "$as_me:4592: \$? = $ac_status" >&5
45931.8Stv  (exit $ac_status); } &&
45941.8Stv         { ac_try='test -s conftest.$ac_objext'
45951.32Sthorpej  { (eval echo "$as_me:4595: \"$ac_try\"") >&5
45961.8Stv  (eval $ac_try) 2>&5
45971.8Stv  ac_status=$?
45981.32Sthorpej  echo "$as_me:4598: \$? = $ac_status" >&5
45991.8Stv  (exit $ac_status); }; }; then
46001.8Stv  ac_cv_have_decl_setgroupent=yes
46011.8Stvelse
46021.8Stv  echo "$as_me: failed program was:" >&5
46031.8Stvcat conftest.$ac_ext >&5
46041.8Stvac_cv_have_decl_setgroupent=no
46051.8Stvfi
46061.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
46071.8Stvfi
46081.32Sthorpejecho "$as_me:4608: result: $ac_cv_have_decl_setgroupent" >&5
46091.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
46101.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
46111.8Stv
46121.8Stvcat >>confdefs.h <<EOF
46131.8Stv#define HAVE_DECL_SETGROUPENT 1
46141.8StvEOF
46151.8Stv
46161.8Stvelse
46171.8Stv  cat >>confdefs.h <<EOF
46181.8Stv#define HAVE_DECL_SETGROUPENT 0
46191.8StvEOF
46201.8Stv
46211.8Stvfi
46221.32Sthorpejecho "$as_me:4622: checking whether setpassent is declared" >&5
46231.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
46241.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
46251.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46261.8Stvelse
46271.8Stv  cat >conftest.$ac_ext <<_ACEOF
46281.32Sthorpej#line 4628 "configure"
46291.8Stv#include "confdefs.h"
46301.8Stv
46311.8Stv#include <grp.h>
46321.8Stv#include <pwd.h>
46331.8Stv
46341.8Stvint
46351.8Stvmain ()
46361.8Stv{
46371.8Stv#ifndef setpassent
46381.8Stv  char *p = (char *) setpassent;
46391.8Stv#endif
46401.8Stv
46411.8Stv  ;
46421.8Stv  return 0;
46431.8Stv}
46441.8Stv_ACEOF
46451.8Stvrm -f conftest.$ac_objext
46461.32Sthorpejif { (eval echo "$as_me:4646: \"$ac_compile\"") >&5
46471.8Stv  (eval $ac_compile) 2>&5
46481.8Stv  ac_status=$?
46491.32Sthorpej  echo "$as_me:4649: \$? = $ac_status" >&5
46501.8Stv  (exit $ac_status); } &&
46511.8Stv         { ac_try='test -s conftest.$ac_objext'
46521.32Sthorpej  { (eval echo "$as_me:4652: \"$ac_try\"") >&5
46531.8Stv  (eval $ac_try) 2>&5
46541.8Stv  ac_status=$?
46551.32Sthorpej  echo "$as_me:4655: \$? = $ac_status" >&5
46561.8Stv  (exit $ac_status); }; }; then
46571.8Stv  ac_cv_have_decl_setpassent=yes
46581.8Stvelse
46591.8Stv  echo "$as_me: failed program was:" >&5
46601.8Stvcat conftest.$ac_ext >&5
46611.8Stvac_cv_have_decl_setpassent=no
46621.8Stvfi
46631.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
46641.8Stvfi
46651.32Sthorpejecho "$as_me:4665: result: $ac_cv_have_decl_setpassent" >&5
46661.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
46671.8Stvif test $ac_cv_have_decl_setpassent = yes; then
46681.8Stv
46691.8Stvcat >>confdefs.h <<EOF
46701.8Stv#define HAVE_DECL_SETPASSENT 1
46711.8StvEOF
46721.8Stv
46731.8Stvelse
46741.8Stv  cat >>confdefs.h <<EOF
46751.8Stv#define HAVE_DECL_SETPASSENT 0
46761.8StvEOF
46771.8Stv
46781.8Stvfi
46791.8Stv
46801.4Stv# regcomp() and regexec() are also names of functions in the old V8
46811.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
46821.4Stv
46831.32Sthorpejecho "$as_me:4683: checking for regfree in -lregex" >&5
46841.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
46851.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
46861.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46871.4Stvelse
46881.4Stv  ac_check_lib_save_LIBS=$LIBS
46891.4StvLIBS="-lregex  $LIBS"
46901.4Stvcat >conftest.$ac_ext <<_ACEOF
46911.32Sthorpej#line 4691 "configure"
46921.4Stv#include "confdefs.h"
46931.4Stv
46941.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
46951.4Stv#ifdef __cplusplus
46961.4Stvextern "C"
46971.4Stv#endif
46981.4Stv/* We use char because int might match the return type of a gcc2
46991.4Stv   builtin and then its argument prototype would still apply.  */
47001.4Stvchar regfree ();
47011.4Stvint
47021.4Stvmain ()
47031.4Stv{
47041.4Stvregfree ();
47051.4Stv  ;
47061.4Stv  return 0;
47071.4Stv}
47081.4Stv_ACEOF
47091.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
47101.32Sthorpejif { (eval echo "$as_me:4710: \"$ac_link\"") >&5
47111.4Stv  (eval $ac_link) 2>&5
47121.4Stv  ac_status=$?
47131.32Sthorpej  echo "$as_me:4713: \$? = $ac_status" >&5
47141.4Stv  (exit $ac_status); } &&
47151.4Stv         { ac_try='test -s conftest$ac_exeext'
47161.32Sthorpej  { (eval echo "$as_me:4716: \"$ac_try\"") >&5
47171.4Stv  (eval $ac_try) 2>&5
47181.4Stv  ac_status=$?
47191.32Sthorpej  echo "$as_me:4719: \$? = $ac_status" >&5
47201.4Stv  (exit $ac_status); }; }; then
47211.4Stv  ac_cv_lib_regex_regfree=yes
47221.4Stvelse
47231.4Stv  echo "$as_me: failed program was:" >&5
47241.4Stvcat conftest.$ac_ext >&5
47251.4Stvac_cv_lib_regex_regfree=no
47261.4Stvfi
47271.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47281.4StvLIBS=$ac_check_lib_save_LIBS
47291.4Stvfi
47301.32Sthorpejecho "$as_me:4730: result: $ac_cv_lib_regex_regfree" >&5
47311.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
47321.4Stvif test $ac_cv_lib_regex_regfree = yes; then
47331.4Stv  cat >>confdefs.h <<EOF
47341.4Stv#define HAVE_LIBREGEX 1
47351.4StvEOF
47361.4Stv
47371.4Stv  LIBS="-lregex $LIBS"
47381.4Stv
47391.4Stvfi
47401.4Stv
47411.32Sthorpejecho "$as_me:4741: checking for library containing regfree" >&5
47421.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
47431.4Stvif test "${ac_cv_search_regfree+set}" = set; then
47441.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47451.1Stvelse
47461.1Stv  ac_func_search_save_LIBS=$LIBS
47471.4Stvac_cv_search_regfree=no
47481.1Stvcat >conftest.$ac_ext <<_ACEOF
47491.32Sthorpej#line 4749 "configure"
47501.1Stv#include "confdefs.h"
47511.1Stv
47521.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
47531.1Stv#ifdef __cplusplus
47541.1Stvextern "C"
47551.1Stv#endif
47561.1Stv/* We use char because int might match the return type of a gcc2
47571.1Stv   builtin and then its argument prototype would still apply.  */
47581.4Stvchar regfree ();
47591.1Stvint
47601.1Stvmain ()
47611.1Stv{
47621.4Stvregfree ();
47631.1Stv  ;
47641.1Stv  return 0;
47651.1Stv}
47661.1Stv_ACEOF
47671.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
47681.32Sthorpejif { (eval echo "$as_me:4768: \"$ac_link\"") >&5
47691.1Stv  (eval $ac_link) 2>&5
47701.1Stv  ac_status=$?
47711.32Sthorpej  echo "$as_me:4771: \$? = $ac_status" >&5
47721.1Stv  (exit $ac_status); } &&
47731.1Stv         { ac_try='test -s conftest$ac_exeext'
47741.32Sthorpej  { (eval echo "$as_me:4774: \"$ac_try\"") >&5
47751.1Stv  (eval $ac_try) 2>&5
47761.1Stv  ac_status=$?
47771.32Sthorpej  echo "$as_me:4777: \$? = $ac_status" >&5
47781.1Stv  (exit $ac_status); }; }; then
47791.4Stv  ac_cv_search_regfree="none required"
47801.1Stvelse
47811.1Stv  echo "$as_me: failed program was:" >&5
47821.1Stvcat conftest.$ac_ext >&5
47831.1Stvfi
47841.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47851.4Stvif test "$ac_cv_search_regfree" = no; then
47861.4Stv  for ac_lib in rx posix; do
47871.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
47881.1Stv    cat >conftest.$ac_ext <<_ACEOF
47891.32Sthorpej#line 4789 "configure"
47901.1Stv#include "confdefs.h"
47911.1Stv
47921.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
47931.1Stv#ifdef __cplusplus
47941.1Stvextern "C"
47951.1Stv#endif
47961.1Stv/* We use char because int might match the return type of a gcc2
47971.1Stv   builtin and then its argument prototype would still apply.  */
47981.4Stvchar regfree ();
47991.1Stvint
48001.1Stvmain ()
48011.1Stv{
48021.4Stvregfree ();
48031.1Stv  ;
48041.1Stv  return 0;
48051.1Stv}
48061.1Stv_ACEOF
48071.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
48081.32Sthorpejif { (eval echo "$as_me:4808: \"$ac_link\"") >&5
48091.1Stv  (eval $ac_link) 2>&5
48101.1Stv  ac_status=$?
48111.32Sthorpej  echo "$as_me:4811: \$? = $ac_status" >&5
48121.1Stv  (exit $ac_status); } &&
48131.1Stv         { ac_try='test -s conftest$ac_exeext'
48141.32Sthorpej  { (eval echo "$as_me:4814: \"$ac_try\"") >&5
48151.1Stv  (eval $ac_try) 2>&5
48161.1Stv  ac_status=$?
48171.32Sthorpej  echo "$as_me:4817: \$? = $ac_status" >&5
48181.1Stv  (exit $ac_status); }; }; then
48191.4Stv  ac_cv_search_regfree="-l$ac_lib"
48201.1Stvbreak
48211.1Stvelse
48221.1Stv  echo "$as_me: failed program was:" >&5
48231.1Stvcat conftest.$ac_ext >&5
48241.1Stvfi
48251.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48261.1Stv  done
48271.1Stvfi
48281.1StvLIBS=$ac_func_search_save_LIBS
48291.1Stvfi
48301.32Sthorpejecho "$as_me:4830: result: $ac_cv_search_regfree" >&5
48311.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
48321.4Stvif test "$ac_cv_search_regfree" != no; then
48331.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
48341.1Stv
48351.1Stvfi
48361.1Stv
48371.1Stvcat >confcache <<\_ACEOF
48381.1Stv# This file is a shell script that caches the results of configure
48391.1Stv# tests run on this system so they can be shared between configure
48401.1Stv# scripts and configure runs, see configure's option --config-cache.
48411.1Stv# It is not useful on other systems.  If it contains results you don't
48421.1Stv# want to keep, you may remove or edit it.
48431.1Stv#
48441.1Stv# config.status only pays attention to the cache file if you give it
48451.1Stv# the --recheck option to rerun configure.
48461.1Stv#
48471.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
48481.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
48491.1Stv# following values.
48501.1Stv
48511.1Stv_ACEOF
48521.1Stv
48531.1Stv# The following way of writing the cache mishandles newlines in values,
48541.1Stv# but we know of no workaround that is simple, portable, and efficient.
48551.1Stv# So, don't put newlines in cache variables' values.
48561.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
48571.1Stv# and sets the high bit in the cache file unless we assign to the vars.
48581.1Stv{
48591.1Stv  (set) 2>&1 |
48601.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
48611.1Stv    *ac_space=\ *)
48621.1Stv      # `set' does not quote correctly, so add quotes (double-quote
48631.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
48641.1Stv      sed -n \
48651.1Stv        "s/'/'\\\\''/g;
48661.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48671.1Stv      ;;
48681.1Stv    *)
48691.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
48701.1Stv      sed -n \
48711.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48721.1Stv      ;;
48731.1Stv    esac;
48741.1Stv} |
48751.1Stv  sed '
48761.1Stv     t clear
48771.1Stv     : clear
48781.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48791.1Stv     t end
48801.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48811.1Stv     : end' >>confcache
48821.1Stvif cmp -s $cache_file confcache; then :; else
48831.1Stv  if test -w $cache_file; then
48841.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48851.1Stv    cat confcache >$cache_file
48861.1Stv  else
48871.1Stv    echo "not updating unwritable cache $cache_file"
48881.1Stv  fi
48891.1Stvfi
48901.1Stvrm -f confcache
48911.1Stv
48921.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
48931.1Stv# Let make expand exec_prefix.
48941.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48951.1Stv
48961.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
48971.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48981.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
48991.1Stv# (actually we leave an empty line to preserve line numbers).
49001.1Stvif test "x$srcdir" = x.; then
49011.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
49021.1Stvs/:*\$(srcdir):*/:/;
49031.1Stvs/:*\${srcdir}:*/:/;
49041.1Stvs/:*@srcdir@:*/:/;
49051.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
49061.1Stvs/:*$//;
49071.1Stvs/^[^=]*=[ 	]*$//;
49081.1Stv}'
49091.1Stvfi
49101.1Stv
49111.1StvDEFS=-DHAVE_CONFIG_H
49121.1Stv
49131.1Stv: ${CONFIG_STATUS=./config.status}
49141.1Stvac_clean_files_save=$ac_clean_files
49151.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
49161.32Sthorpej{ echo "$as_me:4916: creating $CONFIG_STATUS" >&5
49171.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
49181.1Stvcat >$CONFIG_STATUS <<_ACEOF
49191.1Stv#! $SHELL
49201.1Stv# Generated automatically by configure.
49211.1Stv# Run this file to recreate the current configuration.
49221.1Stv# Compiler output produced by configure, useful for debugging
49231.1Stv# configure, is in config.log if it exists.
49241.1Stv
49251.1Stvdebug=false
49261.1StvSHELL=\${CONFIG_SHELL-$SHELL}
49271.1Stvac_cs_invocation="\$0 \$@"
49281.1Stv
49291.1Stv_ACEOF
49301.1Stv
49311.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
49321.1Stv# Be Bourne compatible
49331.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49341.1Stv  emulate sh
49351.1Stv  NULLCMD=:
49361.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49371.1Stv  set -o posix
49381.1Stvfi
49391.1Stv
49401.1Stv# Name of the executable.
49411.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
49421.1Stv
49431.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
49441.1Stv  as_expr=expr
49451.1Stvelse
49461.1Stv  as_expr=false
49471.1Stvfi
49481.1Stv
49491.1Stvrm -f conf$$ conf$$.exe conf$$.file
49501.1Stvecho >conf$$.file
49511.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
49521.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
49531.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49541.1Stv  if test -f conf$$.exe; then
49551.1Stv    # Don't use ln at all; we don't have any links
49561.1Stv    as_ln_s='cp -p'
49571.1Stv  else
49581.1Stv    as_ln_s='ln -s'
49591.1Stv  fi
49601.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
49611.1Stv  as_ln_s=ln
49621.1Stvelse
49631.1Stv  as_ln_s='cp -p'
49641.1Stvfi
49651.1Stvrm -f conf$$ conf$$.exe conf$$.file
49661.1Stv
49671.1Stvas_executable_p="test -f"
49681.1Stv
49691.1Stv# Support unset when possible.
49701.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
49711.1Stv  as_unset=unset
49721.1Stvelse
49731.1Stv  as_unset=false
49741.1Stvfi
49751.1Stv
49761.1Stv# NLS nuisances.
49771.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
49781.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
49791.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
49801.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
49811.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
49821.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
49831.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
49841.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
49851.1Stv
49861.1Stv# IFS
49871.1Stv# We need space, tab and new line, in precisely that order.
49881.1Stvas_nl='
49891.1Stv'
49901.1StvIFS=" 	$as_nl"
49911.1Stv
49921.1Stv# CDPATH.
49931.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
49941.1Stv
49951.1Stvexec 6>&1
49961.1Stv
49971.1Stv_ACEOF
49981.1Stv
49991.1Stv# Files that config.status was made for.
50001.1Stvif test -n "$ac_config_files"; then
50011.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50021.1Stvfi
50031.1Stv
50041.1Stvif test -n "$ac_config_headers"; then
50051.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50061.1Stvfi
50071.1Stv
50081.1Stvif test -n "$ac_config_links"; then
50091.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50101.1Stvfi
50111.1Stv
50121.1Stvif test -n "$ac_config_commands"; then
50131.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50141.1Stvfi
50151.1Stv
50161.1Stvcat >>$CONFIG_STATUS <<\EOF
50171.1Stv
50181.1Stvac_cs_usage="\
50191.1Stv\`$as_me' instantiates files from templates according to the
50201.1Stvcurrent configuration.
50211.1Stv
50221.1StvUsage: $0 [OPTIONS] [FILE]...
50231.1Stv
50241.1Stv  -h, --help       print this help, then exit
50251.1Stv  -V, --version    print version number, then exit
50261.1Stv  -d, --debug      don't remove temporary files
50271.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
50281.1Stv  --file=FILE[:TEMPLATE]
50291.1Stv                   instantiate the configuration file FILE
50301.1Stv  --header=FILE[:TEMPLATE]
50311.1Stv                   instantiate the configuration header FILE
50321.1Stv
50331.1StvConfiguration files:
50341.1Stv$config_files
50351.1Stv
50361.1StvConfiguration headers:
50371.1Stv$config_headers
50381.1Stv
50391.1StvReport bugs to <bug-autoconf@gnu.org>."
50401.1StvEOF
50411.1Stv
50421.1Stvcat >>$CONFIG_STATUS <<EOF
50431.1Stvac_cs_version="\\
50441.1Stvlibnbcompat config.status noversion
50451.1Stvconfigured by $0, generated by GNU Autoconf 2.52,
50461.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50471.1Stv
50481.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
50491.1StvFree Software Foundation, Inc.
50501.1StvThis config.status script is free software; the Free Software Foundation
50511.1Stvgives unlimited permission to copy, distribute and modify it."
50521.1Stvsrcdir=$srcdir
50531.1StvEOF
50541.1Stv
50551.1Stvcat >>$CONFIG_STATUS <<\EOF
50561.1Stv# If no file are specified by the user, then we need to provide default
50571.1Stv# value.  By we need to know if files were specified by the user.
50581.1Stvac_need_defaults=:
50591.1Stvwhile test $# != 0
50601.1Stvdo
50611.1Stv  case $1 in
50621.1Stv  --*=*)
50631.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
50641.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50651.1Stv    shift
50661.1Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
50671.1Stv    shift
50681.1Stv    ;;
50691.1Stv  -*);;
50701.1Stv  *) # This is not an option, so the user has probably given explicit
50711.1Stv     # arguments.
50721.1Stv     ac_need_defaults=false;;
50731.1Stv  esac
50741.1Stv
50751.1Stv  case $1 in
50761.1Stv  # Handling of the options.
50771.1StvEOF
50781.1Stvcat >>$CONFIG_STATUS <<EOF
50791.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50801.1Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
50811.1Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
50821.1StvEOF
50831.1Stvcat >>$CONFIG_STATUS <<\EOF
50841.1Stv  --version | --vers* | -V )
50851.1Stv    echo "$ac_cs_version"; exit 0 ;;
50861.1Stv  --he | --h)
50871.1Stv    # Conflict between --help and --header
50881.32Sthorpej    { { echo "$as_me:5088: error: ambiguous option: $1
50891.1StvTry \`$0 --help' for more information." >&5
50901.1Stvecho "$as_me: error: ambiguous option: $1
50911.1StvTry \`$0 --help' for more information." >&2;}
50921.1Stv   { (exit 1); exit 1; }; };;
50931.1Stv  --help | --hel | -h )
50941.1Stv    echo "$ac_cs_usage"; exit 0 ;;
50951.1Stv  --debug | --d* | -d )
50961.1Stv    debug=: ;;
50971.1Stv  --file | --fil | --fi | --f )
50981.1Stv    shift
50991.1Stv    CONFIG_FILES="$CONFIG_FILES $1"
51001.1Stv    ac_need_defaults=false;;
51011.1Stv  --header | --heade | --head | --hea )
51021.1Stv    shift
51031.1Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
51041.1Stv    ac_need_defaults=false;;
51051.1Stv
51061.1Stv  # This is an error.
51071.32Sthorpej  -*) { { echo "$as_me:5107: error: unrecognized option: $1
51081.1StvTry \`$0 --help' for more information." >&5
51091.1Stvecho "$as_me: error: unrecognized option: $1
51101.1StvTry \`$0 --help' for more information." >&2;}
51111.1Stv   { (exit 1); exit 1; }; } ;;
51121.1Stv
51131.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
51141.1Stv
51151.1Stv  esac
51161.1Stv  shift
51171.1Stvdone
51181.1Stv
51191.1Stvexec 5>>config.log
51201.1Stvcat >&5 << _ACEOF
51211.1Stv
51221.1Stv## ----------------------- ##
51231.1Stv## Running config.status.  ##
51241.1Stv## ----------------------- ##
51251.1Stv
51261.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
51271.1Stv  CONFIG_FILES    = $CONFIG_FILES
51281.1Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
51291.1Stv  CONFIG_LINKS    = $CONFIG_LINKS
51301.1Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
51311.1Stv  > $ac_cs_invocation
51321.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
51331.1Stv
51341.1Stv_ACEOF
51351.1StvEOF
51361.1Stv
51371.1Stvcat >>$CONFIG_STATUS <<\EOF
51381.1Stvfor ac_config_target in $ac_config_targets
51391.1Stvdo
51401.1Stv  case "$ac_config_target" in
51411.1Stv  # Handling of arguments.
51421.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
51431.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
51441.32Sthorpej  *) { { echo "$as_me:5144: error: invalid argument: $ac_config_target" >&5
51451.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
51461.1Stv   { (exit 1); exit 1; }; };;
51471.1Stv  esac
51481.1Stvdone
51491.1Stv
51501.1Stv# If the user did not use the arguments to specify the items to instantiate,
51511.1Stv# then the envvar interface is used.  Set only those that are not.
51521.1Stv# We use the long form for the default assignment because of an extremely
51531.1Stv# bizarre bug on SunOS 4.1.3.
51541.1Stvif $ac_need_defaults; then
51551.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51561.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51571.1Stvfi
51581.1Stv
51591.1Stv# Create a temporary directory, and hook for its removal unless debugging.
51601.1Stv$debug ||
51611.1Stv{
51621.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51631.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
51641.1Stv}
51651.1Stv
51661.1Stv# Create a (secure) tmp directory for tmp files.
51671.1Stv: ${TMPDIR=/tmp}
51681.1Stv{
51691.1Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
51701.1Stv  test -n "$tmp" && test -d "$tmp"
51711.1Stv}  ||
51721.1Stv{
51731.1Stv  tmp=$TMPDIR/cs$$-$RANDOM
51741.1Stv  (umask 077 && mkdir $tmp)
51751.1Stv} ||
51761.1Stv{
51771.1Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
51781.1Stv   { (exit 1); exit 1; }
51791.1Stv}
51801.1Stv
51811.1StvEOF
51821.1Stv
51831.1Stvcat >>$CONFIG_STATUS <<EOF
51841.1Stv
51851.1Stv#
51861.1Stv# CONFIG_FILES section.
51871.1Stv#
51881.1Stv
51891.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
51901.1Stv# This happens for instance when ./config.status config.h
51911.1Stvif test -n "\$CONFIG_FILES"; then
51921.1Stv  # Protect against being on the right side of a sed subst in config.status.
51931.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51941.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51951.1Stvs,@SHELL@,$SHELL,;t t
51961.1Stvs,@exec_prefix@,$exec_prefix,;t t
51971.1Stvs,@prefix@,$prefix,;t t
51981.1Stvs,@program_transform_name@,$program_transform_name,;t t
51991.1Stvs,@bindir@,$bindir,;t t
52001.1Stvs,@sbindir@,$sbindir,;t t
52011.1Stvs,@libexecdir@,$libexecdir,;t t
52021.1Stvs,@datadir@,$datadir,;t t
52031.1Stvs,@sysconfdir@,$sysconfdir,;t t
52041.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
52051.1Stvs,@localstatedir@,$localstatedir,;t t
52061.1Stvs,@libdir@,$libdir,;t t
52071.1Stvs,@includedir@,$includedir,;t t
52081.1Stvs,@oldincludedir@,$oldincludedir,;t t
52091.1Stvs,@infodir@,$infodir,;t t
52101.1Stvs,@mandir@,$mandir,;t t
52111.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52121.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52131.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52141.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52151.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52161.1Stvs,@build_alias@,$build_alias,;t t
52171.1Stvs,@host_alias@,$host_alias,;t t
52181.1Stvs,@target_alias@,$target_alias,;t t
52191.1Stvs,@ECHO_C@,$ECHO_C,;t t
52201.1Stvs,@ECHO_N@,$ECHO_N,;t t
52211.1Stvs,@ECHO_T@,$ECHO_T,;t t
52221.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52231.1Stvs,@DEFS@,$DEFS,;t t
52241.1Stvs,@LIBS@,$LIBS,;t t
52251.20Sbjh21s,@BSHELL@,$BSHELL,;t t
52261.1Stvs,@CC@,$CC,;t t
52271.1Stvs,@CFLAGS@,$CFLAGS,;t t
52281.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
52291.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
52301.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
52311.1Stvs,@EXEEXT@,$EXEEXT,;t t
52321.1Stvs,@OBJEXT@,$OBJEXT,;t t
52331.1Stvs,@CPP@,$CPP,;t t
52341.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
52351.1StvCEOF
52361.1Stv
52371.1StvEOF
52381.1Stv
52391.1Stv  cat >>$CONFIG_STATUS <<\EOF
52401.1Stv  # Split the substitutions into bite-sized pieces for seds with
52411.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
52421.1Stv  ac_max_sed_lines=48
52431.1Stv  ac_sed_frag=1 # Number of current file.
52441.1Stv  ac_beg=1 # First line for current file.
52451.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
52461.1Stv  ac_more_lines=:
52471.1Stv  ac_sed_cmds=
52481.1Stv  while $ac_more_lines; do
52491.1Stv    if test $ac_beg -gt 1; then
52501.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52511.1Stv    else
52521.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52531.1Stv    fi
52541.1Stv    if test ! -s $tmp/subs.frag; then
52551.1Stv      ac_more_lines=false
52561.1Stv    else
52571.1Stv      # The purpose of the label and of the branching condition is to
52581.1Stv      # speed up the sed processing (if there are no `@' at all, there
52591.1Stv      # is no need to browse any of the substitutions).
52601.1Stv      # These are the two extra sed commands mentioned above.
52611.1Stv      (echo ':t
52621.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52631.1Stv      if test -z "$ac_sed_cmds"; then
52641.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52651.1Stv      else
52661.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52671.1Stv      fi
52681.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
52691.1Stv      ac_beg=$ac_end
52701.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
52711.1Stv    fi
52721.1Stv  done
52731.1Stv  if test -z "$ac_sed_cmds"; then
52741.1Stv    ac_sed_cmds=cat
52751.1Stv  fi
52761.1Stvfi # test -n "$CONFIG_FILES"
52771.1Stv
52781.1StvEOF
52791.1Stvcat >>$CONFIG_STATUS <<\EOF
52801.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52811.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52821.1Stv  case $ac_file in
52831.1Stv  - | *:- | *:-:* ) # input from stdin
52841.1Stv        cat >$tmp/stdin
52851.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52861.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52871.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52881.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52891.1Stv  * )   ac_file_in=$ac_file.in ;;
52901.1Stv  esac
52911.1Stv
52921.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52931.1Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52941.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
52951.1Stv         X"$ac_file" : 'X\(//\)$' \| \
52961.1Stv         X"$ac_file" : 'X\(/\)' \| \
52971.1Stv         .     : '\(.\)' 2>/dev/null ||
52981.1Stvecho X"$ac_file" |
52991.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53001.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53011.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
53021.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
53031.1Stv  	  s/.*/./; q'`
53041.1Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
53051.1Stv    { case "$ac_dir" in
53061.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
53071.1Stv  *)                      as_incr_dir=.;;
53081.1Stvesac
53091.1Stvas_dummy="$ac_dir"
53101.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
53111.1Stv  case $as_mkdir_dir in
53121.1Stv    # Skip DOS drivespec
53131.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
53141.1Stv    *)
53151.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
53161.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
53171.1Stv    ;;
53181.1Stv  esac
53191.1Stvdone; }
53201.1Stv
53211.1Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
53221.1Stv    # A "../" for each directory in $ac_dir_suffix.
53231.1Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
53241.1Stv  else
53251.1Stv    ac_dir_suffix= ac_dots=
53261.1Stv  fi
53271.1Stv
53281.1Stv  case $srcdir in
53291.1Stv  .)  ac_srcdir=.
53301.1Stv      if test -z "$ac_dots"; then
53311.1Stv         ac_top_srcdir=.
53321.1Stv      else
53331.1Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
53341.1Stv      fi ;;
53351.1Stv  [\\/]* | ?:[\\/]* )
53361.1Stv      ac_srcdir=$srcdir$ac_dir_suffix;
53371.1Stv      ac_top_srcdir=$srcdir ;;
53381.1Stv  *) # Relative path.
53391.1Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
53401.1Stv    ac_top_srcdir=$ac_dots$srcdir ;;
53411.1Stv  esac
53421.1Stv
53431.1Stv  if test x"$ac_file" != x-; then
53441.32Sthorpej    { echo "$as_me:5344: creating $ac_file" >&5
53451.1Stvecho "$as_me: creating $ac_file" >&6;}
53461.1Stv    rm -f "$ac_file"
53471.1Stv  fi
53481.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
53491.1Stv  # use $as_me), people would be surprised to read:
53501.1Stv  #    /* config.h.  Generated automatically by config.status.  */
53511.1Stv  configure_input="Generated automatically from `echo $ac_file_in |
53521.1Stv                                                 sed 's,.*/,,'` by configure."
53531.1Stv
53541.1Stv  # First look for the input files in the build tree, otherwise in the
53551.1Stv  # src tree.
53561.1Stv  ac_file_inputs=`IFS=:
53571.1Stv    for f in $ac_file_in; do
53581.1Stv      case $f in
53591.1Stv      -) echo $tmp/stdin ;;
53601.1Stv      [\\/$]*)
53611.1Stv         # Absolute (can't be DOS-style, as IFS=:)
53621.32Sthorpej         test -f "$f" || { { echo "$as_me:5362: error: cannot find input file: $f" >&5
53631.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
53641.1Stv   { (exit 1); exit 1; }; }
53651.1Stv         echo $f;;
53661.1Stv      *) # Relative
53671.1Stv         if test -f "$f"; then
53681.1Stv           # Build tree
53691.1Stv           echo $f
53701.1Stv         elif test -f "$srcdir/$f"; then
53711.1Stv           # Source tree
53721.1Stv           echo $srcdir/$f
53731.1Stv         else
53741.1Stv           # /dev/null tree
53751.32Sthorpej           { { echo "$as_me:5375: error: cannot find input file: $f" >&5
53761.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
53771.1Stv   { (exit 1); exit 1; }; }
53781.1Stv         fi;;
53791.1Stv      esac
53801.1Stv    done` || { (exit 1); exit 1; }
53811.1StvEOF
53821.1Stvcat >>$CONFIG_STATUS <<EOF
53831.1Stv  sed "$ac_vpsub
53841.1Stv$extrasub
53851.1StvEOF
53861.1Stvcat >>$CONFIG_STATUS <<\EOF
53871.1Stv:t
53881.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53891.1Stvs,@configure_input@,$configure_input,;t t
53901.1Stvs,@srcdir@,$ac_srcdir,;t t
53911.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
53921.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
53931.1Stv  rm -f $tmp/stdin
53941.1Stv  if test x"$ac_file" != x-; then
53951.1Stv    mv $tmp/out $ac_file
53961.1Stv  else
53971.1Stv    cat $tmp/out
53981.1Stv    rm -f $tmp/out
53991.1Stv  fi
54001.1Stv
54011.1Stvdone
54021.1StvEOF
54031.1Stvcat >>$CONFIG_STATUS <<\EOF
54041.1Stv
54051.1Stv#
54061.1Stv# CONFIG_HEADER section.
54071.1Stv#
54081.1Stv
54091.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
54101.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
54111.1Stv#
54121.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
54131.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
54141.1Stvac_dB='[ 	].*$,\1#\2'
54151.1Stvac_dC=' '
54161.1Stvac_dD=',;t'
54171.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
54181.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
54191.1Stvac_uB='$,\1#\2define\3'
54201.1Stvac_uC=' '
54211.1Stvac_uD=',;t'
54221.1Stv
54231.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
54241.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54251.1Stv  case $ac_file in
54261.1Stv  - | *:- | *:-:* ) # input from stdin
54271.1Stv        cat >$tmp/stdin
54281.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54291.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54301.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54311.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54321.1Stv  * )   ac_file_in=$ac_file.in ;;
54331.1Stv  esac
54341.1Stv
54351.32Sthorpej  test x"$ac_file" != x- && { echo "$as_me:5435: creating $ac_file" >&5
54361.1Stvecho "$as_me: creating $ac_file" >&6;}
54371.1Stv
54381.1Stv  # First look for the input files in the build tree, otherwise in the
54391.1Stv  # src tree.
54401.1Stv  ac_file_inputs=`IFS=:
54411.1Stv    for f in $ac_file_in; do
54421.1Stv      case $f in
54431.1Stv      -) echo $tmp/stdin ;;
54441.1Stv      [\\/$]*)
54451.1Stv         # Absolute (can't be DOS-style, as IFS=:)
54461.32Sthorpej         test -f "$f" || { { echo "$as_me:5446: error: cannot find input file: $f" >&5
54471.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54481.1Stv   { (exit 1); exit 1; }; }
54491.1Stv         echo $f;;
54501.1Stv      *) # Relative
54511.1Stv         if test -f "$f"; then
54521.1Stv           # Build tree
54531.1Stv           echo $f
54541.1Stv         elif test -f "$srcdir/$f"; then
54551.1Stv           # Source tree
54561.1Stv           echo $srcdir/$f
54571.1Stv         else
54581.1Stv           # /dev/null tree
54591.32Sthorpej           { { echo "$as_me:5459: error: cannot find input file: $f" >&5
54601.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54611.1Stv   { (exit 1); exit 1; }; }
54621.1Stv         fi;;
54631.1Stv      esac
54641.1Stv    done` || { (exit 1); exit 1; }
54651.1Stv  # Remove the trailing spaces.
54661.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
54671.1Stv
54681.1StvEOF
54691.1Stv
54701.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
54711.1Stv# `conftest.undefs', that substitutes the proper values into
54721.1Stv# config.h.in to produce config.h.  The first handles `#define'
54731.1Stv# templates, and the second `#undef' templates.
54741.1Stv# And first: Protect against being on the right side of a sed subst in
54751.1Stv# config.status.  Protect against being in an unquoted here document
54761.1Stv# in config.status.
54771.1Stvrm -f conftest.defines conftest.undefs
54781.1Stv# Using a here document instead of a string reduces the quoting nightmare.
54791.1Stv# Putting comments in sed scripts is not portable.
54801.1Stv#
54811.1Stv# `end' is used to avoid that the second main sed command (meant for
54821.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
54831.1Stv# See the Autoconf documentation for `clear'.
54841.1Stvcat >confdef2sed.sed <<\EOF
54851.1Stvs/[\\&,]/\\&/g
54861.1Stvs,[\\$`],\\&,g
54871.1Stvt clear
54881.1Stv: clear
54891.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
54901.1Stvt end
54911.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
54921.1Stv: end
54931.1StvEOF
54941.1Stv# If some macros were called several times there might be several times
54951.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
54961.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
54971.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
54981.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
54991.1Stvrm -f confdef2sed.sed
55001.1Stv
55011.1Stv# This sed command replaces #undef with comments.  This is necessary, for
55021.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
55031.1Stv# on some systems where configure will not decide to define it.
55041.1Stvcat >>conftest.undefs <<\EOF
55051.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
55061.1StvEOF
55071.1Stv
55081.1Stv# Break up conftest.defines because some shells have a limit on the size
55091.1Stv# of here documents, and old seds have small limits too (100 cmds).
55101.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
55111.1Stvecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
55121.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
55131.1Stvecho '  :' >>$CONFIG_STATUS
55141.1Stvrm -f conftest.tail
55151.1Stvwhile grep . conftest.defines >/dev/null
55161.1Stvdo
55171.1Stv  # Write a limited-size here document to $tmp/defines.sed.
55181.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
55191.1Stv  # Speed up: don't consider the non `#define' lines.
55201.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
55211.1Stv  # Work around the forget-to-reset-the-flag bug.
55221.1Stv  echo 't clr' >>$CONFIG_STATUS
55231.1Stv  echo ': clr' >>$CONFIG_STATUS
55241.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
55251.1Stv  echo 'CEOF
55261.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
55271.1Stv  rm -f $tmp/in
55281.1Stv  mv $tmp/out $tmp/in
55291.1Stv' >>$CONFIG_STATUS
55301.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
55311.1Stv  rm -f conftest.defines
55321.1Stv  mv conftest.tail conftest.defines
55331.1Stvdone
55341.1Stvrm -f conftest.defines
55351.1Stvecho '  fi # egrep' >>$CONFIG_STATUS
55361.1Stvecho >>$CONFIG_STATUS
55371.1Stv
55381.1Stv# Break up conftest.undefs because some shells have a limit on the size
55391.1Stv# of here documents, and old seds have small limits too (100 cmds).
55401.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
55411.1Stvrm -f conftest.tail
55421.1Stvwhile grep . conftest.undefs >/dev/null
55431.1Stvdo
55441.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
55451.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
55461.1Stv  # Speed up: don't consider the non `#undef'
55471.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
55481.1Stv  # Work around the forget-to-reset-the-flag bug.
55491.1Stv  echo 't clr' >>$CONFIG_STATUS
55501.1Stv  echo ': clr' >>$CONFIG_STATUS
55511.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
55521.1Stv  echo 'CEOF
55531.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
55541.1Stv  rm -f $tmp/in
55551.1Stv  mv $tmp/out $tmp/in
55561.1Stv' >>$CONFIG_STATUS
55571.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
55581.1Stv  rm -f conftest.undefs
55591.1Stv  mv conftest.tail conftest.undefs
55601.1Stvdone
55611.1Stvrm -f conftest.undefs
55621.1Stv
55631.1Stvcat >>$CONFIG_STATUS <<\EOF
55641.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
55651.1Stv  # use $as_me), people would be surprised to read:
55661.1Stv  #    /* config.h.  Generated automatically by config.status.  */
55671.1Stv  if test x"$ac_file" = x-; then
55681.1Stv    echo "/* Generated automatically by configure.  */" >$tmp/config.h
55691.1Stv  else
55701.1Stv    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
55711.1Stv  fi
55721.1Stv  cat $tmp/in >>$tmp/config.h
55731.1Stv  rm -f $tmp/in
55741.1Stv  if test x"$ac_file" != x-; then
55751.1Stv    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
55761.32Sthorpej      { echo "$as_me:5576: $ac_file is unchanged" >&5
55771.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
55781.1Stv    else
55791.1Stv      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55801.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
55811.1Stv         X"$ac_file" : 'X\(//\)$' \| \
55821.1Stv         X"$ac_file" : 'X\(/\)' \| \
55831.1Stv         .     : '\(.\)' 2>/dev/null ||
55841.1Stvecho X"$ac_file" |
55851.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
55861.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
55871.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
55881.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
55891.1Stv  	  s/.*/./; q'`
55901.1Stv      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
55911.1Stv        { case "$ac_dir" in
55921.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
55931.1Stv  *)                      as_incr_dir=.;;
55941.1Stvesac
55951.1Stvas_dummy="$ac_dir"
55961.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
55971.1Stv  case $as_mkdir_dir in
55981.1Stv    # Skip DOS drivespec
55991.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
56001.1Stv    *)
56011.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
56021.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
56031.1Stv    ;;
56041.1Stv  esac
56051.1Stvdone; }
56061.1Stv
56071.1Stv      fi
56081.1Stv      rm -f $ac_file
56091.1Stv      mv $tmp/config.h $ac_file
56101.1Stv    fi
56111.1Stv  else
56121.1Stv    cat $tmp/config.h
56131.1Stv    rm -f $tmp/config.h
56141.1Stv  fi
56151.1Stvdone
56161.1StvEOF
56171.1Stv
56181.1Stvcat >>$CONFIG_STATUS <<\EOF
56191.1Stv
56201.1Stv{ (exit 0); exit 0; }
56211.1StvEOF
56221.1Stvchmod +x $CONFIG_STATUS
56231.1Stvac_clean_files=$ac_clean_files_save
56241.1Stv
56251.1Stv# configure is writing to config.log, and then calls config.status.
56261.1Stv# config.status does its own redirection, appending to config.log.
56271.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
56281.1Stv# by configure, so config.status won't be able to write to it; its
56291.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
56301.1Stv# effectively closing config.log, so it can be properly (re)opened and
56311.1Stv# appended to by config.status.  When coming back to configure, we
56321.1Stv# need to make the FD available again.
56331.1Stvif test "$no_create" != yes; then
56341.1Stv  ac_cs_success=:
56351.1Stv  exec 5>/dev/null
56361.1Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
56371.1Stv  exec 5>>config.log
56381.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56391.1Stv  # would make configure fail if this is the last instruction.
56401.1Stv  $ac_cs_success || { (exit 1); exit 1; }
56411.1Stvfi
56421.1Stv
5643