configure revision 1.25
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.25Sthorpej	netdb.h poll.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.17Stv	features.h malloc.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.17Stv	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.7Stv#include <dirent.h>
37381.7Stv
37391.7Stvint
37401.7Stvmain ()
37411.7Stv{
37421.7Stvstatic DIR ac_aggr;
37431.7Stvif (ac_aggr.dd_fd)
37441.7Stvreturn 0;
37451.7Stv  ;
37461.7Stv  return 0;
37471.7Stv}
37481.7Stv_ACEOF
37491.7Stvrm -f conftest.$ac_objext
37501.22Sthorpejif { (eval echo "$as_me:3750: \"$ac_compile\"") >&5
37511.7Stv  (eval $ac_compile) 2>&5
37521.7Stv  ac_status=$?
37531.22Sthorpej  echo "$as_me:3753: \$? = $ac_status" >&5
37541.7Stv  (exit $ac_status); } &&
37551.7Stv         { ac_try='test -s conftest.$ac_objext'
37561.22Sthorpej  { (eval echo "$as_me:3756: \"$ac_try\"") >&5
37571.7Stv  (eval $ac_try) 2>&5
37581.7Stv  ac_status=$?
37591.22Sthorpej  echo "$as_me:3759: \$? = $ac_status" >&5
37601.7Stv  (exit $ac_status); }; }; then
37611.7Stv  ac_cv_member_DIR_dd_fd=yes
37621.7Stvelse
37631.7Stv  echo "$as_me: failed program was:" >&5
37641.7Stvcat conftest.$ac_ext >&5
37651.7Stvac_cv_member_DIR_dd_fd=no
37661.7Stvfi
37671.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
37681.7Stvfi
37691.22Sthorpejecho "$as_me:3769: result: $ac_cv_member_DIR_dd_fd" >&5
37701.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
37711.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
37721.7Stv
37731.7Stvcat >>confdefs.h <<EOF
37741.7Stv#define HAVE_DIR_DD_FD 1
37751.7StvEOF
37761.7Stv
37771.7Stvfi
37781.22Sthorpejecho "$as_me:3778: checking for struct dirent.d_namlen" >&5
37791.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
37801.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
37811.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37821.8Stvelse
37831.8Stv  cat >conftest.$ac_ext <<_ACEOF
37841.22Sthorpej#line 3784 "configure"
37851.8Stv#include "confdefs.h"
37861.8Stv#include <dirent.h>
37871.8Stv
37881.8Stvint
37891.8Stvmain ()
37901.8Stv{
37911.8Stvstatic struct dirent ac_aggr;
37921.8Stvif (ac_aggr.d_namlen)
37931.8Stvreturn 0;
37941.8Stv  ;
37951.8Stv  return 0;
37961.8Stv}
37971.8Stv_ACEOF
37981.8Stvrm -f conftest.$ac_objext
37991.22Sthorpejif { (eval echo "$as_me:3799: \"$ac_compile\"") >&5
38001.8Stv  (eval $ac_compile) 2>&5
38011.8Stv  ac_status=$?
38021.22Sthorpej  echo "$as_me:3802: \$? = $ac_status" >&5
38031.8Stv  (exit $ac_status); } &&
38041.8Stv         { ac_try='test -s conftest.$ac_objext'
38051.22Sthorpej  { (eval echo "$as_me:3805: \"$ac_try\"") >&5
38061.8Stv  (eval $ac_try) 2>&5
38071.8Stv  ac_status=$?
38081.22Sthorpej  echo "$as_me:3808: \$? = $ac_status" >&5
38091.8Stv  (exit $ac_status); }; }; then
38101.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
38111.8Stvelse
38121.8Stv  echo "$as_me: failed program was:" >&5
38131.8Stvcat conftest.$ac_ext >&5
38141.8Stvac_cv_member_struct_dirent_d_namlen=no
38151.8Stvfi
38161.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
38171.8Stvfi
38181.22Sthorpejecho "$as_me:3818: result: $ac_cv_member_struct_dirent_d_namlen" >&5
38191.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
38201.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
38211.8Stv
38221.8Stvcat >>confdefs.h <<EOF
38231.8Stv#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
38241.8StvEOF
38251.8Stv
38261.8Stvfi
38271.7Stv
38281.22Sthorpejecho "$as_me:3828: checking for struct stat.st_flags" >&5
38291.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
38301.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
38311.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38321.4Stvelse
38331.4Stv  cat >conftest.$ac_ext <<_ACEOF
38341.22Sthorpej#line 3834 "configure"
38351.4Stv#include "confdefs.h"
38361.4Stv#include <sys/stat.h>
38371.4Stv
38381.4Stvint
38391.4Stvmain ()
38401.4Stv{
38411.4Stvstatic struct stat ac_aggr;
38421.4Stvif (ac_aggr.st_flags)
38431.4Stvreturn 0;
38441.4Stv  ;
38451.4Stv  return 0;
38461.4Stv}
38471.4Stv_ACEOF
38481.4Stvrm -f conftest.$ac_objext
38491.22Sthorpejif { (eval echo "$as_me:3849: \"$ac_compile\"") >&5
38501.4Stv  (eval $ac_compile) 2>&5
38511.4Stv  ac_status=$?
38521.22Sthorpej  echo "$as_me:3852: \$? = $ac_status" >&5
38531.4Stv  (exit $ac_status); } &&
38541.4Stv         { ac_try='test -s conftest.$ac_objext'
38551.22Sthorpej  { (eval echo "$as_me:3855: \"$ac_try\"") >&5
38561.4Stv  (eval $ac_try) 2>&5
38571.4Stv  ac_status=$?
38581.22Sthorpej  echo "$as_me:3858: \$? = $ac_status" >&5
38591.4Stv  (exit $ac_status); }; }; then
38601.4Stv  ac_cv_member_struct_stat_st_flags=yes
38611.4Stvelse
38621.4Stv  echo "$as_me: failed program was:" >&5
38631.4Stvcat conftest.$ac_ext >&5
38641.4Stvac_cv_member_struct_stat_st_flags=no
38651.4Stvfi
38661.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
38671.4Stvfi
38681.22Sthorpejecho "$as_me:3868: result: $ac_cv_member_struct_stat_st_flags" >&5
38691.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
38701.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then
38711.4Stv
38721.4Stvcat >>confdefs.h <<EOF
38731.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1
38741.4StvEOF
38751.4Stv
38761.4Stvfi
38771.22Sthorpejecho "$as_me:3877: checking for struct stat.st_gen" >&5
38781.7Stvecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
38791.7Stvif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
38801.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38811.7Stvelse
38821.7Stv  cat >conftest.$ac_ext <<_ACEOF
38831.22Sthorpej#line 3883 "configure"
38841.7Stv#include "confdefs.h"
38851.7Stv#include <sys/stat.h>
38861.7Stv
38871.7Stvint
38881.7Stvmain ()
38891.7Stv{
38901.7Stvstatic struct stat ac_aggr;
38911.7Stvif (ac_aggr.st_gen)
38921.7Stvreturn 0;
38931.7Stv  ;
38941.7Stv  return 0;
38951.7Stv}
38961.7Stv_ACEOF
38971.7Stvrm -f conftest.$ac_objext
38981.22Sthorpejif { (eval echo "$as_me:3898: \"$ac_compile\"") >&5
38991.7Stv  (eval $ac_compile) 2>&5
39001.7Stv  ac_status=$?
39011.22Sthorpej  echo "$as_me:3901: \$? = $ac_status" >&5
39021.7Stv  (exit $ac_status); } &&
39031.7Stv         { ac_try='test -s conftest.$ac_objext'
39041.22Sthorpej  { (eval echo "$as_me:3904: \"$ac_try\"") >&5
39051.7Stv  (eval $ac_try) 2>&5
39061.7Stv  ac_status=$?
39071.22Sthorpej  echo "$as_me:3907: \$? = $ac_status" >&5
39081.7Stv  (exit $ac_status); }; }; then
39091.7Stv  ac_cv_member_struct_stat_st_gen=yes
39101.7Stvelse
39111.7Stv  echo "$as_me: failed program was:" >&5
39121.7Stvcat conftest.$ac_ext >&5
39131.7Stvac_cv_member_struct_stat_st_gen=no
39141.7Stvfi
39151.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
39161.7Stvfi
39171.22Sthorpejecho "$as_me:3917: result: $ac_cv_member_struct_stat_st_gen" >&5
39181.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
39191.7Stvif test $ac_cv_member_struct_stat_st_gen = yes; then
39201.7Stv
39211.7Stvcat >>confdefs.h <<EOF
39221.7Stv#define HAVE_STRUCT_STAT_ST_GEN 1
39231.7StvEOF
39241.7Stv
39251.7Stvfi
39261.22Sthorpejecho "$as_me:3926: checking for struct stat.st_mtimensec" >&5
39271.7Stvecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
39281.7Stvif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
39291.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39301.7Stvelse
39311.7Stv  cat >conftest.$ac_ext <<_ACEOF
39321.22Sthorpej#line 3932 "configure"
39331.7Stv#include "confdefs.h"
39341.7Stv#include <sys/stat.h>
39351.7Stv
39361.7Stvint
39371.7Stvmain ()
39381.7Stv{
39391.7Stvstatic struct stat ac_aggr;
39401.7Stvif (ac_aggr.st_mtimensec)
39411.7Stvreturn 0;
39421.7Stv  ;
39431.7Stv  return 0;
39441.7Stv}
39451.7Stv_ACEOF
39461.7Stvrm -f conftest.$ac_objext
39471.22Sthorpejif { (eval echo "$as_me:3947: \"$ac_compile\"") >&5
39481.7Stv  (eval $ac_compile) 2>&5
39491.7Stv  ac_status=$?
39501.22Sthorpej  echo "$as_me:3950: \$? = $ac_status" >&5
39511.7Stv  (exit $ac_status); } &&
39521.7Stv         { ac_try='test -s conftest.$ac_objext'
39531.22Sthorpej  { (eval echo "$as_me:3953: \"$ac_try\"") >&5
39541.7Stv  (eval $ac_try) 2>&5
39551.7Stv  ac_status=$?
39561.22Sthorpej  echo "$as_me:3956: \$? = $ac_status" >&5
39571.7Stv  (exit $ac_status); }; }; then
39581.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
39591.7Stvelse
39601.7Stv  echo "$as_me: failed program was:" >&5
39611.7Stvcat conftest.$ac_ext >&5
39621.7Stvac_cv_member_struct_stat_st_mtimensec=no
39631.7Stvfi
39641.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
39651.7Stvfi
39661.22Sthorpejecho "$as_me:3966: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
39671.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
39681.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
39691.7Stv
39701.7Stvcat >>confdefs.h <<EOF
39711.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
39721.7StvEOF
39731.7Stv
39741.7Stvfi
39751.4Stv
39761.22Sthorpejecho "$as_me:3976: checking for struct statfs.f_iosize" >&5
39771.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
39781.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
39791.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39801.6Stvelse
39811.6Stv  cat >conftest.$ac_ext <<_ACEOF
39821.22Sthorpej#line 3982 "configure"
39831.6Stv#include "confdefs.h"
39841.7Stv#include <sys/mount.h>
39851.6Stv
39861.6Stvint
39871.6Stvmain ()
39881.6Stv{
39891.7Stvstatic struct statfs ac_aggr;
39901.7Stvif (ac_aggr.f_iosize)
39911.6Stvreturn 0;
39921.6Stv  ;
39931.6Stv  return 0;
39941.6Stv}
39951.6Stv_ACEOF
39961.6Stvrm -f conftest.$ac_objext
39971.22Sthorpejif { (eval echo "$as_me:3997: \"$ac_compile\"") >&5
39981.6Stv  (eval $ac_compile) 2>&5
39991.6Stv  ac_status=$?
40001.22Sthorpej  echo "$as_me:4000: \$? = $ac_status" >&5
40011.6Stv  (exit $ac_status); } &&
40021.6Stv         { ac_try='test -s conftest.$ac_objext'
40031.22Sthorpej  { (eval echo "$as_me:4003: \"$ac_try\"") >&5
40041.6Stv  (eval $ac_try) 2>&5
40051.6Stv  ac_status=$?
40061.22Sthorpej  echo "$as_me:4006: \$? = $ac_status" >&5
40071.6Stv  (exit $ac_status); }; }; then
40081.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
40091.6Stvelse
40101.6Stv  echo "$as_me: failed program was:" >&5
40111.6Stvcat conftest.$ac_ext >&5
40121.7Stvac_cv_member_struct_statfs_f_iosize=no
40131.6Stvfi
40141.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
40151.6Stvfi
40161.22Sthorpejecho "$as_me:4016: result: $ac_cv_member_struct_statfs_f_iosize" >&5
40171.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
40181.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
40191.6Stv
40201.6Stvcat >>confdefs.h <<EOF
40211.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
40221.6StvEOF
40231.6Stv
40241.6Stvfi
40251.6Stv
40261.4Stv# Global variable decls.
40271.22Sthorpejecho "$as_me:4027: checking whether optind is declared" >&5
40281.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
40291.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
40301.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40311.7Stvelse
40321.7Stv  cat >conftest.$ac_ext <<_ACEOF
40331.22Sthorpej#line 4033 "configure"
40341.7Stv#include "confdefs.h"
40351.7Stv
40361.7Stv#include <stdio.h>
40371.7Stv#include <stdlib.h>
40381.7Stv#include <unistd.h>
40391.7Stv
40401.7Stvint
40411.7Stvmain ()
40421.7Stv{
40431.7Stv#ifndef optind
40441.7Stv  char *p = (char *) optind;
40451.7Stv#endif
40461.7Stv
40471.7Stv  ;
40481.7Stv  return 0;
40491.7Stv}
40501.7Stv_ACEOF
40511.7Stvrm -f conftest.$ac_objext
40521.22Sthorpejif { (eval echo "$as_me:4052: \"$ac_compile\"") >&5
40531.7Stv  (eval $ac_compile) 2>&5
40541.7Stv  ac_status=$?
40551.22Sthorpej  echo "$as_me:4055: \$? = $ac_status" >&5
40561.7Stv  (exit $ac_status); } &&
40571.7Stv         { ac_try='test -s conftest.$ac_objext'
40581.22Sthorpej  { (eval echo "$as_me:4058: \"$ac_try\"") >&5
40591.7Stv  (eval $ac_try) 2>&5
40601.7Stv  ac_status=$?
40611.22Sthorpej  echo "$as_me:4061: \$? = $ac_status" >&5
40621.7Stv  (exit $ac_status); }; }; then
40631.7Stv  ac_cv_have_decl_optind=yes
40641.7Stvelse
40651.7Stv  echo "$as_me: failed program was:" >&5
40661.7Stvcat conftest.$ac_ext >&5
40671.7Stvac_cv_have_decl_optind=no
40681.7Stvfi
40691.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40701.7Stvfi
40711.22Sthorpejecho "$as_me:4071: result: $ac_cv_have_decl_optind" >&5
40721.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
40731.7Stvif test $ac_cv_have_decl_optind = yes; then
40741.7Stv
40751.7Stvcat >>confdefs.h <<EOF
40761.7Stv#define HAVE_DECL_OPTIND 1
40771.7StvEOF
40781.7Stv
40791.7Stvelse
40801.7Stv  cat >>confdefs.h <<EOF
40811.7Stv#define HAVE_DECL_OPTIND 0
40821.7StvEOF
40831.7Stv
40841.7Stvfi
40851.22Sthorpejecho "$as_me:4085: checking whether optreset is declared" >&5
40861.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
40871.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
40881.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40891.7Stvelse
40901.7Stv  cat >conftest.$ac_ext <<_ACEOF
40911.22Sthorpej#line 4091 "configure"
40921.7Stv#include "confdefs.h"
40931.7Stv
40941.7Stv#include <stdio.h>
40951.7Stv#include <stdlib.h>
40961.7Stv#include <unistd.h>
40971.7Stv
40981.7Stvint
40991.7Stvmain ()
41001.7Stv{
41011.7Stv#ifndef optreset
41021.7Stv  char *p = (char *) optreset;
41031.7Stv#endif
41041.7Stv
41051.7Stv  ;
41061.7Stv  return 0;
41071.7Stv}
41081.7Stv_ACEOF
41091.7Stvrm -f conftest.$ac_objext
41101.22Sthorpejif { (eval echo "$as_me:4110: \"$ac_compile\"") >&5
41111.7Stv  (eval $ac_compile) 2>&5
41121.7Stv  ac_status=$?
41131.22Sthorpej  echo "$as_me:4113: \$? = $ac_status" >&5
41141.7Stv  (exit $ac_status); } &&
41151.7Stv         { ac_try='test -s conftest.$ac_objext'
41161.22Sthorpej  { (eval echo "$as_me:4116: \"$ac_try\"") >&5
41171.7Stv  (eval $ac_try) 2>&5
41181.7Stv  ac_status=$?
41191.22Sthorpej  echo "$as_me:4119: \$? = $ac_status" >&5
41201.7Stv  (exit $ac_status); }; }; then
41211.7Stv  ac_cv_have_decl_optreset=yes
41221.7Stvelse
41231.7Stv  echo "$as_me: failed program was:" >&5
41241.7Stvcat conftest.$ac_ext >&5
41251.7Stvac_cv_have_decl_optreset=no
41261.7Stvfi
41271.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
41281.7Stvfi
41291.22Sthorpejecho "$as_me:4129: result: $ac_cv_have_decl_optreset" >&5
41301.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
41311.7Stvif test $ac_cv_have_decl_optreset = yes; then
41321.7Stv
41331.7Stvcat >>confdefs.h <<EOF
41341.7Stv#define HAVE_DECL_OPTRESET 1
41351.7StvEOF
41361.7Stv
41371.7Stvelse
41381.7Stv  cat >>confdefs.h <<EOF
41391.7Stv#define HAVE_DECL_OPTRESET 0
41401.7StvEOF
41411.7Stv
41421.7Stvfi
41431.7Stv
41441.22Sthorpejecho "$as_me:4144: checking whether sys_signame is declared" >&5
41451.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
41461.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
41471.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41481.4Stvelse
41491.4Stv  cat >conftest.$ac_ext <<_ACEOF
41501.22Sthorpej#line 4150 "configure"
41511.4Stv#include "confdefs.h"
41521.4Stv#include <signal.h>
41531.4Stv
41541.4Stvint
41551.4Stvmain ()
41561.4Stv{
41571.4Stv#ifndef sys_signame
41581.4Stv  char *p = (char *) sys_signame;
41591.4Stv#endif
41601.4Stv
41611.4Stv  ;
41621.4Stv  return 0;
41631.4Stv}
41641.4Stv_ACEOF
41651.4Stvrm -f conftest.$ac_objext
41661.22Sthorpejif { (eval echo "$as_me:4166: \"$ac_compile\"") >&5
41671.4Stv  (eval $ac_compile) 2>&5
41681.4Stv  ac_status=$?
41691.22Sthorpej  echo "$as_me:4169: \$? = $ac_status" >&5
41701.4Stv  (exit $ac_status); } &&
41711.4Stv         { ac_try='test -s conftest.$ac_objext'
41721.22Sthorpej  { (eval echo "$as_me:4172: \"$ac_try\"") >&5
41731.4Stv  (eval $ac_try) 2>&5
41741.4Stv  ac_status=$?
41751.22Sthorpej  echo "$as_me:4175: \$? = $ac_status" >&5
41761.4Stv  (exit $ac_status); }; }; then
41771.4Stv  ac_cv_have_decl_sys_signame=yes
41781.4Stvelse
41791.4Stv  echo "$as_me: failed program was:" >&5
41801.4Stvcat conftest.$ac_ext >&5
41811.4Stvac_cv_have_decl_sys_signame=no
41821.4Stvfi
41831.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
41841.4Stvfi
41851.22Sthorpejecho "$as_me:4185: result: $ac_cv_have_decl_sys_signame" >&5
41861.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
41871.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
41881.4Stv
41891.4Stvcat >>confdefs.h <<EOF
41901.4Stv#define HAVE_DECL_SYS_SIGNAME 1
41911.4StvEOF
41921.4Stv
41931.4Stvelse
41941.4Stv  cat >>confdefs.h <<EOF
41951.4Stv#define HAVE_DECL_SYS_SIGNAME 0
41961.4StvEOF
41971.4Stv
41981.4Stvfi
41991.4Stv
42001.4Stv# Library functions (where a .h check isn't enough).
42011.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
42021.19Sbjh21# for constant arguments.  Useless!
42031.22Sthorpejecho "$as_me:4203: checking for working alloca.h" >&5
42041.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
42051.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
42061.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42071.19Sbjh21else
42081.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42091.22Sthorpej#line 4209 "configure"
42101.19Sbjh21#include "confdefs.h"
42111.19Sbjh21#include <alloca.h>
42121.19Sbjh21int
42131.19Sbjh21main ()
42141.19Sbjh21{
42151.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
42161.19Sbjh21  ;
42171.19Sbjh21  return 0;
42181.19Sbjh21}
42191.19Sbjh21_ACEOF
42201.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
42211.22Sthorpejif { (eval echo "$as_me:4221: \"$ac_link\"") >&5
42221.19Sbjh21  (eval $ac_link) 2>&5
42231.19Sbjh21  ac_status=$?
42241.22Sthorpej  echo "$as_me:4224: \$? = $ac_status" >&5
42251.19Sbjh21  (exit $ac_status); } &&
42261.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
42271.22Sthorpej  { (eval echo "$as_me:4227: \"$ac_try\"") >&5
42281.19Sbjh21  (eval $ac_try) 2>&5
42291.19Sbjh21  ac_status=$?
42301.22Sthorpej  echo "$as_me:4230: \$? = $ac_status" >&5
42311.19Sbjh21  (exit $ac_status); }; }; then
42321.19Sbjh21  ac_cv_working_alloca_h=yes
42331.19Sbjh21else
42341.19Sbjh21  echo "$as_me: failed program was:" >&5
42351.19Sbjh21cat conftest.$ac_ext >&5
42361.19Sbjh21ac_cv_working_alloca_h=no
42371.19Sbjh21fi
42381.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42391.19Sbjh21fi
42401.22Sthorpejecho "$as_me:4240: result: $ac_cv_working_alloca_h" >&5
42411.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
42421.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
42431.19Sbjh21
42441.19Sbjh21cat >>confdefs.h <<\EOF
42451.19Sbjh21#define HAVE_ALLOCA_H 1
42461.19Sbjh21EOF
42471.19Sbjh21
42481.19Sbjh21fi
42491.19Sbjh21
42501.22Sthorpejecho "$as_me:4250: checking for alloca" >&5
42511.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
42521.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
42531.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42541.19Sbjh21else
42551.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42561.22Sthorpej#line 4256 "configure"
42571.19Sbjh21#include "confdefs.h"
42581.19Sbjh21#ifdef __GNUC__
42591.19Sbjh21# define alloca __builtin_alloca
42601.19Sbjh21#else
42611.19Sbjh21# ifdef _MSC_VER
42621.19Sbjh21#  include <malloc.h>
42631.19Sbjh21#  define alloca _alloca
42641.19Sbjh21# else
42651.19Sbjh21#  if HAVE_ALLOCA_H
42661.19Sbjh21#   include <alloca.h>
42671.19Sbjh21#  else
42681.19Sbjh21#   ifdef _AIX
42691.19Sbjh21 #pragma alloca
42701.19Sbjh21#   else
42711.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
42721.19Sbjh21char *alloca ();
42731.19Sbjh21#    endif
42741.19Sbjh21#   endif
42751.19Sbjh21#  endif
42761.19Sbjh21# endif
42771.19Sbjh21#endif
42781.19Sbjh21
42791.19Sbjh21int
42801.19Sbjh21main ()
42811.19Sbjh21{
42821.19Sbjh21char *p = (char *) alloca (1);
42831.19Sbjh21  ;
42841.19Sbjh21  return 0;
42851.19Sbjh21}
42861.19Sbjh21_ACEOF
42871.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
42881.22Sthorpejif { (eval echo "$as_me:4288: \"$ac_link\"") >&5
42891.19Sbjh21  (eval $ac_link) 2>&5
42901.19Sbjh21  ac_status=$?
42911.22Sthorpej  echo "$as_me:4291: \$? = $ac_status" >&5
42921.19Sbjh21  (exit $ac_status); } &&
42931.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
42941.22Sthorpej  { (eval echo "$as_me:4294: \"$ac_try\"") >&5
42951.19Sbjh21  (eval $ac_try) 2>&5
42961.19Sbjh21  ac_status=$?
42971.22Sthorpej  echo "$as_me:4297: \$? = $ac_status" >&5
42981.19Sbjh21  (exit $ac_status); }; }; then
42991.19Sbjh21  ac_cv_func_alloca_works=yes
43001.19Sbjh21else
43011.19Sbjh21  echo "$as_me: failed program was:" >&5
43021.19Sbjh21cat conftest.$ac_ext >&5
43031.19Sbjh21ac_cv_func_alloca_works=no
43041.19Sbjh21fi
43051.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43061.19Sbjh21fi
43071.22Sthorpejecho "$as_me:4307: result: $ac_cv_func_alloca_works" >&5
43081.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
43091.19Sbjh21
43101.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
43111.19Sbjh21
43121.19Sbjh21cat >>confdefs.h <<\EOF
43131.19Sbjh21#define HAVE_ALLOCA 1
43141.19Sbjh21EOF
43151.19Sbjh21
43161.19Sbjh21else
43171.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
43181.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
43191.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
43201.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
43211.19Sbjh21
43221.19Sbjh21ALLOCA=alloca.$ac_objext
43231.19Sbjh21
43241.19Sbjh21cat >>confdefs.h <<\EOF
43251.19Sbjh21#define C_ALLOCA 1
43261.19Sbjh21EOF
43271.19Sbjh21
43281.22Sthorpejecho "$as_me:4328: checking whether \`alloca.c' needs Cray hooks" >&5
43291.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
43301.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
43311.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43321.19Sbjh21else
43331.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43341.22Sthorpej#line 4334 "configure"
43351.19Sbjh21#include "confdefs.h"
43361.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
43371.19Sbjh21webecray
43381.19Sbjh21#else
43391.19Sbjh21wenotbecray
43401.19Sbjh21#endif
43411.19Sbjh21
43421.19Sbjh21_ACEOF
43431.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43441.19Sbjh21  egrep "webecray" >/dev/null 2>&1; then
43451.19Sbjh21  ac_cv_os_cray=yes
43461.19Sbjh21else
43471.19Sbjh21  ac_cv_os_cray=no
43481.19Sbjh21fi
43491.19Sbjh21rm -f conftest*
43501.19Sbjh21
43511.19Sbjh21fi
43521.22Sthorpejecho "$as_me:4352: result: $ac_cv_os_cray" >&5
43531.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
43541.19Sbjh21if test $ac_cv_os_cray = yes; then
43551.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
43561.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43571.22Sthorpejecho "$as_me:4357: checking for $ac_func" >&5
43581.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43591.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
43601.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43611.19Sbjh21else
43621.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43631.22Sthorpej#line 4363 "configure"
43641.19Sbjh21#include "confdefs.h"
43651.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
43661.19Sbjh21    which can conflict with char $ac_func (); below.  */
43671.19Sbjh21#include <assert.h>
43681.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
43691.19Sbjh21#ifdef __cplusplus
43701.19Sbjh21extern "C"
43711.19Sbjh21#endif
43721.19Sbjh21/* We use char because int might match the return type of a gcc2
43731.19Sbjh21   builtin and then its argument prototype would still apply.  */
43741.19Sbjh21char $ac_func ();
43751.19Sbjh21char (*f) ();
43761.19Sbjh21
43771.19Sbjh21int
43781.19Sbjh21main ()
43791.19Sbjh21{
43801.19Sbjh21/* The GNU C library defines this for functions which it implements
43811.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
43821.19Sbjh21    something starting with __ and the normal name is an alias.  */
43831.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43841.19Sbjh21choke me
43851.19Sbjh21#else
43861.19Sbjh21f = $ac_func;
43871.19Sbjh21#endif
43881.19Sbjh21
43891.19Sbjh21  ;
43901.19Sbjh21  return 0;
43911.19Sbjh21}
43921.19Sbjh21_ACEOF
43931.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
43941.22Sthorpejif { (eval echo "$as_me:4394: \"$ac_link\"") >&5
43951.19Sbjh21  (eval $ac_link) 2>&5
43961.19Sbjh21  ac_status=$?
43971.22Sthorpej  echo "$as_me:4397: \$? = $ac_status" >&5
43981.19Sbjh21  (exit $ac_status); } &&
43991.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
44001.22Sthorpej  { (eval echo "$as_me:4400: \"$ac_try\"") >&5
44011.19Sbjh21  (eval $ac_try) 2>&5
44021.19Sbjh21  ac_status=$?
44031.22Sthorpej  echo "$as_me:4403: \$? = $ac_status" >&5
44041.19Sbjh21  (exit $ac_status); }; }; then
44051.19Sbjh21  eval "$as_ac_var=yes"
44061.19Sbjh21else
44071.19Sbjh21  echo "$as_me: failed program was:" >&5
44081.19Sbjh21cat conftest.$ac_ext >&5
44091.19Sbjh21eval "$as_ac_var=no"
44101.19Sbjh21fi
44111.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44121.19Sbjh21fi
44131.22Sthorpejecho "$as_me:4413: result: `eval echo '${'$as_ac_var'}'`" >&5
44141.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44151.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
44161.19Sbjh21
44171.19Sbjh21cat >>confdefs.h <<EOF
44181.19Sbjh21#define CRAY_STACKSEG_END $ac_func
44191.19Sbjh21EOF
44201.19Sbjh21
44211.19Sbjh21    break
44221.19Sbjh21fi
44231.19Sbjh21
44241.19Sbjh21  done
44251.19Sbjh21fi
44261.19Sbjh21
44271.22Sthorpejecho "$as_me:4427: checking stack direction for C alloca" >&5
44281.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
44291.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
44301.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44311.19Sbjh21else
44321.19Sbjh21  if test "$cross_compiling" = yes; then
44331.19Sbjh21  ac_cv_c_stack_direction=0
44341.19Sbjh21else
44351.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44361.22Sthorpej#line 4436 "configure"
44371.19Sbjh21#include "confdefs.h"
44381.19Sbjh21int
44391.19Sbjh21find_stack_direction ()
44401.19Sbjh21{
44411.19Sbjh21  static char *addr = 0;
44421.19Sbjh21  auto char dummy;
44431.19Sbjh21  if (addr == 0)
44441.19Sbjh21    {
44451.19Sbjh21      addr = &dummy;
44461.19Sbjh21      return find_stack_direction ();
44471.19Sbjh21    }
44481.19Sbjh21  else
44491.19Sbjh21    return (&dummy > addr) ? 1 : -1;
44501.19Sbjh21}
44511.19Sbjh21
44521.19Sbjh21int
44531.19Sbjh21main ()
44541.19Sbjh21{
44551.19Sbjh21  exit (find_stack_direction () < 0);
44561.19Sbjh21}
44571.19Sbjh21_ACEOF
44581.19Sbjh21rm -f conftest$ac_exeext
44591.22Sthorpejif { (eval echo "$as_me:4459: \"$ac_link\"") >&5
44601.19Sbjh21  (eval $ac_link) 2>&5
44611.19Sbjh21  ac_status=$?
44621.22Sthorpej  echo "$as_me:4462: \$? = $ac_status" >&5
44631.19Sbjh21  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44641.22Sthorpej  { (eval echo "$as_me:4464: \"$ac_try\"") >&5
44651.19Sbjh21  (eval $ac_try) 2>&5
44661.19Sbjh21  ac_status=$?
44671.22Sthorpej  echo "$as_me:4467: \$? = $ac_status" >&5
44681.19Sbjh21  (exit $ac_status); }; }; then
44691.19Sbjh21  ac_cv_c_stack_direction=1
44701.19Sbjh21else
44711.19Sbjh21  echo "$as_me: program exited with status $ac_status" >&5
44721.19Sbjh21echo "$as_me: failed program was:" >&5
44731.19Sbjh21cat conftest.$ac_ext >&5
44741.19Sbjh21ac_cv_c_stack_direction=-1
44751.19Sbjh21fi
44761.19Sbjh21rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44771.19Sbjh21fi
44781.19Sbjh21fi
44791.22Sthorpejecho "$as_me:4479: result: $ac_cv_c_stack_direction" >&5
44801.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
44811.19Sbjh21
44821.19Sbjh21cat >>confdefs.h <<EOF
44831.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction
44841.19Sbjh21EOF
44851.19Sbjh21
44861.19Sbjh21fi
44871.19Sbjh21
44881.22Sthorpejecho "$as_me:4488: checking for library containing fparseln" >&5
44891.4Stvecho $ECHO_N "checking for library containing fparseln... $ECHO_C" >&6
44901.4Stvif test "${ac_cv_search_fparseln+set}" = set; then
44911.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44921.4Stvelse
44931.4Stv  ac_func_search_save_LIBS=$LIBS
44941.4Stvac_cv_search_fparseln=no
44951.4Stvcat >conftest.$ac_ext <<_ACEOF
44961.22Sthorpej#line 4496 "configure"
44971.4Stv#include "confdefs.h"
44981.4Stv
44991.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
45001.4Stv#ifdef __cplusplus
45011.4Stvextern "C"
45021.4Stv#endif
45031.4Stv/* We use char because int might match the return type of a gcc2
45041.4Stv   builtin and then its argument prototype would still apply.  */
45051.4Stvchar fparseln ();
45061.4Stvint
45071.4Stvmain ()
45081.4Stv{
45091.4Stvfparseln ();
45101.4Stv  ;
45111.4Stv  return 0;
45121.4Stv}
45131.4Stv_ACEOF
45141.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
45151.22Sthorpejif { (eval echo "$as_me:4515: \"$ac_link\"") >&5
45161.4Stv  (eval $ac_link) 2>&5
45171.4Stv  ac_status=$?
45181.22Sthorpej  echo "$as_me:4518: \$? = $ac_status" >&5
45191.4Stv  (exit $ac_status); } &&
45201.4Stv         { ac_try='test -s conftest$ac_exeext'
45211.22Sthorpej  { (eval echo "$as_me:4521: \"$ac_try\"") >&5
45221.4Stv  (eval $ac_try) 2>&5
45231.1Stv  ac_status=$?
45241.22Sthorpej  echo "$as_me:4524: \$? = $ac_status" >&5
45251.4Stv  (exit $ac_status); }; }; then
45261.4Stv  ac_cv_search_fparseln="none required"
45271.1Stvelse
45281.4Stv  echo "$as_me: failed program was:" >&5
45291.4Stvcat conftest.$ac_ext >&5
45301.1Stvfi
45311.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45321.4Stvif test "$ac_cv_search_fparseln" = no; then
45331.4Stv  for ac_lib in util; do
45341.4Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
45351.4Stv    cat >conftest.$ac_ext <<_ACEOF
45361.22Sthorpej#line 4536 "configure"
45371.4Stv#include "confdefs.h"
45381.4Stv
45391.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
45401.4Stv#ifdef __cplusplus
45411.4Stvextern "C"
45421.4Stv#endif
45431.4Stv/* We use char because int might match the return type of a gcc2
45441.4Stv   builtin and then its argument prototype would still apply.  */
45451.4Stvchar fparseln ();
45461.4Stvint
45471.4Stvmain ()
45481.4Stv{
45491.4Stvfparseln ();
45501.4Stv  ;
45511.4Stv  return 0;
45521.4Stv}
45531.4Stv_ACEOF
45541.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
45551.22Sthorpejif { (eval echo "$as_me:4555: \"$ac_link\"") >&5
45561.4Stv  (eval $ac_link) 2>&5
45571.4Stv  ac_status=$?
45581.22Sthorpej  echo "$as_me:4558: \$? = $ac_status" >&5
45591.4Stv  (exit $ac_status); } &&
45601.4Stv         { ac_try='test -s conftest$ac_exeext'
45611.22Sthorpej  { (eval echo "$as_me:4561: \"$ac_try\"") >&5
45621.4Stv  (eval $ac_try) 2>&5
45631.4Stv  ac_status=$?
45641.22Sthorpej  echo "$as_me:4564: \$? = $ac_status" >&5
45651.4Stv  (exit $ac_status); }; }; then
45661.4Stv  ac_cv_search_fparseln="-l$ac_lib"
45671.4Stvbreak
45681.1Stvelse
45691.1Stv  echo "$as_me: failed program was:" >&5
45701.4Stvcat conftest.$ac_ext >&5
45711.4Stvfi
45721.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45731.4Stv  done
45741.4Stvfi
45751.4StvLIBS=$ac_func_search_save_LIBS
45761.1Stvfi
45771.22Sthorpejecho "$as_me:4577: result: $ac_cv_search_fparseln" >&5
45781.4Stvecho "${ECHO_T}$ac_cv_search_fparseln" >&6
45791.4Stvif test "$ac_cv_search_fparseln" != no; then
45801.4Stv  test "$ac_cv_search_fparseln" = "none required" || LIBS="$ac_cv_search_fparseln $LIBS"
45811.4Stv
45821.1Stvfi
45831.1Stv
45841.6Stvfor ac_func in asprintf asnprintf basename dirfd dirname \
45851.7Stv	fgetln flock fparseln futimes getopt getopt_long \
45861.23Sthorpej	isblank issetugid lchmod lchown lutimes mkstemp mkdtemp \
45871.25Sthorpej	poll pread pwcache_userdb pwrite random setenv setgroupent \
45881.23Sthorpej	setprogname setpassent snprintf strlcat strlcpy strsep \
45891.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
45901.1Stvdo
45911.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45921.22Sthorpejecho "$as_me:4592: checking for $ac_func" >&5
45931.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45941.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
45951.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45961.1Stvelse
45971.1Stv  cat >conftest.$ac_ext <<_ACEOF
45981.22Sthorpej#line 4598 "configure"
45991.1Stv#include "confdefs.h"
46001.1Stv/* System header to define __stub macros and hopefully few prototypes,
46011.1Stv    which can conflict with char $ac_func (); below.  */
46021.1Stv#include <assert.h>
46031.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
46041.1Stv#ifdef __cplusplus
46051.1Stvextern "C"
46061.1Stv#endif
46071.1Stv/* We use char because int might match the return type of a gcc2
46081.1Stv   builtin and then its argument prototype would still apply.  */
46091.1Stvchar $ac_func ();
46101.1Stvchar (*f) ();
46111.1Stv
46121.1Stvint
46131.1Stvmain ()
46141.1Stv{
46151.1Stv/* The GNU C library defines this for functions which it implements
46161.1Stv    to always fail with ENOSYS.  Some functions are actually named
46171.1Stv    something starting with __ and the normal name is an alias.  */
46181.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46191.1Stvchoke me
46201.1Stv#else
46211.1Stvf = $ac_func;
46221.1Stv#endif
46231.1Stv
46241.1Stv  ;
46251.1Stv  return 0;
46261.1Stv}
46271.1Stv_ACEOF
46281.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
46291.22Sthorpejif { (eval echo "$as_me:4629: \"$ac_link\"") >&5
46301.1Stv  (eval $ac_link) 2>&5
46311.1Stv  ac_status=$?
46321.22Sthorpej  echo "$as_me:4632: \$? = $ac_status" >&5
46331.1Stv  (exit $ac_status); } &&
46341.1Stv         { ac_try='test -s conftest$ac_exeext'
46351.22Sthorpej  { (eval echo "$as_me:4635: \"$ac_try\"") >&5
46361.1Stv  (eval $ac_try) 2>&5
46371.1Stv  ac_status=$?
46381.22Sthorpej  echo "$as_me:4638: \$? = $ac_status" >&5
46391.1Stv  (exit $ac_status); }; }; then
46401.1Stv  eval "$as_ac_var=yes"
46411.1Stvelse
46421.1Stv  echo "$as_me: failed program was:" >&5
46431.1Stvcat conftest.$ac_ext >&5
46441.1Stveval "$as_ac_var=no"
46451.1Stvfi
46461.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46471.1Stvfi
46481.22Sthorpejecho "$as_me:4648: result: `eval echo '${'$as_ac_var'}'`" >&5
46491.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46501.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
46511.1Stv  cat >>confdefs.h <<EOF
46521.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46531.1StvEOF
46541.1Stv
46551.1Stvfi
46561.1Stvdone
46571.1Stv
46581.22Sthorpejecho "$as_me:4658: checking whether setgroupent is declared" >&5
46591.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
46601.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
46611.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46621.8Stvelse
46631.8Stv  cat >conftest.$ac_ext <<_ACEOF
46641.22Sthorpej#line 4664 "configure"
46651.8Stv#include "confdefs.h"
46661.8Stv
46671.8Stv#include <grp.h>
46681.8Stv#include <pwd.h>
46691.8Stv
46701.8Stvint
46711.8Stvmain ()
46721.8Stv{
46731.8Stv#ifndef setgroupent
46741.8Stv  char *p = (char *) setgroupent;
46751.8Stv#endif
46761.8Stv
46771.8Stv  ;
46781.8Stv  return 0;
46791.8Stv}
46801.8Stv_ACEOF
46811.8Stvrm -f conftest.$ac_objext
46821.22Sthorpejif { (eval echo "$as_me:4682: \"$ac_compile\"") >&5
46831.8Stv  (eval $ac_compile) 2>&5
46841.8Stv  ac_status=$?
46851.22Sthorpej  echo "$as_me:4685: \$? = $ac_status" >&5
46861.8Stv  (exit $ac_status); } &&
46871.8Stv         { ac_try='test -s conftest.$ac_objext'
46881.22Sthorpej  { (eval echo "$as_me:4688: \"$ac_try\"") >&5
46891.8Stv  (eval $ac_try) 2>&5
46901.8Stv  ac_status=$?
46911.22Sthorpej  echo "$as_me:4691: \$? = $ac_status" >&5
46921.8Stv  (exit $ac_status); }; }; then
46931.8Stv  ac_cv_have_decl_setgroupent=yes
46941.8Stvelse
46951.8Stv  echo "$as_me: failed program was:" >&5
46961.8Stvcat conftest.$ac_ext >&5
46971.8Stvac_cv_have_decl_setgroupent=no
46981.8Stvfi
46991.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
47001.8Stvfi
47011.22Sthorpejecho "$as_me:4701: result: $ac_cv_have_decl_setgroupent" >&5
47021.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
47031.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
47041.8Stv
47051.8Stvcat >>confdefs.h <<EOF
47061.8Stv#define HAVE_DECL_SETGROUPENT 1
47071.8StvEOF
47081.8Stv
47091.8Stvelse
47101.8Stv  cat >>confdefs.h <<EOF
47111.8Stv#define HAVE_DECL_SETGROUPENT 0
47121.8StvEOF
47131.8Stv
47141.8Stvfi
47151.22Sthorpejecho "$as_me:4715: checking whether setpassent is declared" >&5
47161.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
47171.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
47181.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47191.8Stvelse
47201.8Stv  cat >conftest.$ac_ext <<_ACEOF
47211.22Sthorpej#line 4721 "configure"
47221.8Stv#include "confdefs.h"
47231.8Stv
47241.8Stv#include <grp.h>
47251.8Stv#include <pwd.h>
47261.8Stv
47271.8Stvint
47281.8Stvmain ()
47291.8Stv{
47301.8Stv#ifndef setpassent
47311.8Stv  char *p = (char *) setpassent;
47321.8Stv#endif
47331.8Stv
47341.8Stv  ;
47351.8Stv  return 0;
47361.8Stv}
47371.8Stv_ACEOF
47381.8Stvrm -f conftest.$ac_objext
47391.22Sthorpejif { (eval echo "$as_me:4739: \"$ac_compile\"") >&5
47401.8Stv  (eval $ac_compile) 2>&5
47411.8Stv  ac_status=$?
47421.22Sthorpej  echo "$as_me:4742: \$? = $ac_status" >&5
47431.8Stv  (exit $ac_status); } &&
47441.8Stv         { ac_try='test -s conftest.$ac_objext'
47451.22Sthorpej  { (eval echo "$as_me:4745: \"$ac_try\"") >&5
47461.8Stv  (eval $ac_try) 2>&5
47471.8Stv  ac_status=$?
47481.22Sthorpej  echo "$as_me:4748: \$? = $ac_status" >&5
47491.8Stv  (exit $ac_status); }; }; then
47501.8Stv  ac_cv_have_decl_setpassent=yes
47511.8Stvelse
47521.8Stv  echo "$as_me: failed program was:" >&5
47531.8Stvcat conftest.$ac_ext >&5
47541.8Stvac_cv_have_decl_setpassent=no
47551.8Stvfi
47561.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
47571.8Stvfi
47581.22Sthorpejecho "$as_me:4758: result: $ac_cv_have_decl_setpassent" >&5
47591.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
47601.8Stvif test $ac_cv_have_decl_setpassent = yes; then
47611.8Stv
47621.8Stvcat >>confdefs.h <<EOF
47631.8Stv#define HAVE_DECL_SETPASSENT 1
47641.8StvEOF
47651.8Stv
47661.8Stvelse
47671.8Stv  cat >>confdefs.h <<EOF
47681.8Stv#define HAVE_DECL_SETPASSENT 0
47691.8StvEOF
47701.8Stv
47711.8Stvfi
47721.8Stv
47731.4Stv# regcomp() and regexec() are also names of functions in the old V8
47741.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
47751.4Stv
47761.22Sthorpejecho "$as_me:4776: checking for regfree in -lregex" >&5
47771.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
47781.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
47791.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47801.4Stvelse
47811.4Stv  ac_check_lib_save_LIBS=$LIBS
47821.4StvLIBS="-lregex  $LIBS"
47831.4Stvcat >conftest.$ac_ext <<_ACEOF
47841.22Sthorpej#line 4784 "configure"
47851.4Stv#include "confdefs.h"
47861.4Stv
47871.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
47881.4Stv#ifdef __cplusplus
47891.4Stvextern "C"
47901.4Stv#endif
47911.4Stv/* We use char because int might match the return type of a gcc2
47921.4Stv   builtin and then its argument prototype would still apply.  */
47931.4Stvchar regfree ();
47941.4Stvint
47951.4Stvmain ()
47961.4Stv{
47971.4Stvregfree ();
47981.4Stv  ;
47991.4Stv  return 0;
48001.4Stv}
48011.4Stv_ACEOF
48021.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
48031.22Sthorpejif { (eval echo "$as_me:4803: \"$ac_link\"") >&5
48041.4Stv  (eval $ac_link) 2>&5
48051.4Stv  ac_status=$?
48061.22Sthorpej  echo "$as_me:4806: \$? = $ac_status" >&5
48071.4Stv  (exit $ac_status); } &&
48081.4Stv         { ac_try='test -s conftest$ac_exeext'
48091.22Sthorpej  { (eval echo "$as_me:4809: \"$ac_try\"") >&5
48101.4Stv  (eval $ac_try) 2>&5
48111.4Stv  ac_status=$?
48121.22Sthorpej  echo "$as_me:4812: \$? = $ac_status" >&5
48131.4Stv  (exit $ac_status); }; }; then
48141.4Stv  ac_cv_lib_regex_regfree=yes
48151.4Stvelse
48161.4Stv  echo "$as_me: failed program was:" >&5
48171.4Stvcat conftest.$ac_ext >&5
48181.4Stvac_cv_lib_regex_regfree=no
48191.4Stvfi
48201.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48211.4StvLIBS=$ac_check_lib_save_LIBS
48221.4Stvfi
48231.22Sthorpejecho "$as_me:4823: result: $ac_cv_lib_regex_regfree" >&5
48241.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
48251.4Stvif test $ac_cv_lib_regex_regfree = yes; then
48261.4Stv  cat >>confdefs.h <<EOF
48271.4Stv#define HAVE_LIBREGEX 1
48281.4StvEOF
48291.4Stv
48301.4Stv  LIBS="-lregex $LIBS"
48311.4Stv
48321.4Stvfi
48331.4Stv
48341.22Sthorpejecho "$as_me:4834: checking for library containing regfree" >&5
48351.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
48361.4Stvif test "${ac_cv_search_regfree+set}" = set; then
48371.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48381.1Stvelse
48391.1Stv  ac_func_search_save_LIBS=$LIBS
48401.4Stvac_cv_search_regfree=no
48411.1Stvcat >conftest.$ac_ext <<_ACEOF
48421.22Sthorpej#line 4842 "configure"
48431.1Stv#include "confdefs.h"
48441.1Stv
48451.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
48461.1Stv#ifdef __cplusplus
48471.1Stvextern "C"
48481.1Stv#endif
48491.1Stv/* We use char because int might match the return type of a gcc2
48501.1Stv   builtin and then its argument prototype would still apply.  */
48511.4Stvchar regfree ();
48521.1Stvint
48531.1Stvmain ()
48541.1Stv{
48551.4Stvregfree ();
48561.1Stv  ;
48571.1Stv  return 0;
48581.1Stv}
48591.1Stv_ACEOF
48601.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
48611.22Sthorpejif { (eval echo "$as_me:4861: \"$ac_link\"") >&5
48621.1Stv  (eval $ac_link) 2>&5
48631.1Stv  ac_status=$?
48641.22Sthorpej  echo "$as_me:4864: \$? = $ac_status" >&5
48651.1Stv  (exit $ac_status); } &&
48661.1Stv         { ac_try='test -s conftest$ac_exeext'
48671.22Sthorpej  { (eval echo "$as_me:4867: \"$ac_try\"") >&5
48681.1Stv  (eval $ac_try) 2>&5
48691.1Stv  ac_status=$?
48701.22Sthorpej  echo "$as_me:4870: \$? = $ac_status" >&5
48711.1Stv  (exit $ac_status); }; }; then
48721.4Stv  ac_cv_search_regfree="none required"
48731.1Stvelse
48741.1Stv  echo "$as_me: failed program was:" >&5
48751.1Stvcat conftest.$ac_ext >&5
48761.1Stvfi
48771.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48781.4Stvif test "$ac_cv_search_regfree" = no; then
48791.4Stv  for ac_lib in rx posix; do
48801.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
48811.1Stv    cat >conftest.$ac_ext <<_ACEOF
48821.22Sthorpej#line 4882 "configure"
48831.1Stv#include "confdefs.h"
48841.1Stv
48851.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
48861.1Stv#ifdef __cplusplus
48871.1Stvextern "C"
48881.1Stv#endif
48891.1Stv/* We use char because int might match the return type of a gcc2
48901.1Stv   builtin and then its argument prototype would still apply.  */
48911.4Stvchar regfree ();
48921.1Stvint
48931.1Stvmain ()
48941.1Stv{
48951.4Stvregfree ();
48961.1Stv  ;
48971.1Stv  return 0;
48981.1Stv}
48991.1Stv_ACEOF
49001.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
49011.22Sthorpejif { (eval echo "$as_me:4901: \"$ac_link\"") >&5
49021.1Stv  (eval $ac_link) 2>&5
49031.1Stv  ac_status=$?
49041.22Sthorpej  echo "$as_me:4904: \$? = $ac_status" >&5
49051.1Stv  (exit $ac_status); } &&
49061.1Stv         { ac_try='test -s conftest$ac_exeext'
49071.22Sthorpej  { (eval echo "$as_me:4907: \"$ac_try\"") >&5
49081.1Stv  (eval $ac_try) 2>&5
49091.1Stv  ac_status=$?
49101.22Sthorpej  echo "$as_me:4910: \$? = $ac_status" >&5
49111.1Stv  (exit $ac_status); }; }; then
49121.4Stv  ac_cv_search_regfree="-l$ac_lib"
49131.1Stvbreak
49141.1Stvelse
49151.1Stv  echo "$as_me: failed program was:" >&5
49161.1Stvcat conftest.$ac_ext >&5
49171.1Stvfi
49181.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49191.1Stv  done
49201.1Stvfi
49211.1StvLIBS=$ac_func_search_save_LIBS
49221.1Stvfi
49231.22Sthorpejecho "$as_me:4923: result: $ac_cv_search_regfree" >&5
49241.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
49251.4Stvif test "$ac_cv_search_regfree" != no; then
49261.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
49271.1Stv
49281.1Stvfi
49291.1Stv
49301.1Stvcat >confcache <<\_ACEOF
49311.1Stv# This file is a shell script that caches the results of configure
49321.1Stv# tests run on this system so they can be shared between configure
49331.1Stv# scripts and configure runs, see configure's option --config-cache.
49341.1Stv# It is not useful on other systems.  If it contains results you don't
49351.1Stv# want to keep, you may remove or edit it.
49361.1Stv#
49371.1Stv# config.status only pays attention to the cache file if you give it
49381.1Stv# the --recheck option to rerun configure.
49391.1Stv#
49401.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
49411.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
49421.1Stv# following values.
49431.1Stv
49441.1Stv_ACEOF
49451.1Stv
49461.1Stv# The following way of writing the cache mishandles newlines in values,
49471.1Stv# but we know of no workaround that is simple, portable, and efficient.
49481.1Stv# So, don't put newlines in cache variables' values.
49491.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
49501.1Stv# and sets the high bit in the cache file unless we assign to the vars.
49511.1Stv{
49521.1Stv  (set) 2>&1 |
49531.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
49541.1Stv    *ac_space=\ *)
49551.1Stv      # `set' does not quote correctly, so add quotes (double-quote
49561.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
49571.1Stv      sed -n \
49581.1Stv        "s/'/'\\\\''/g;
49591.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49601.1Stv      ;;
49611.1Stv    *)
49621.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
49631.1Stv      sed -n \
49641.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49651.1Stv      ;;
49661.1Stv    esac;
49671.1Stv} |
49681.1Stv  sed '
49691.1Stv     t clear
49701.1Stv     : clear
49711.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49721.1Stv     t end
49731.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49741.1Stv     : end' >>confcache
49751.1Stvif cmp -s $cache_file confcache; then :; else
49761.1Stv  if test -w $cache_file; then
49771.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49781.1Stv    cat confcache >$cache_file
49791.1Stv  else
49801.1Stv    echo "not updating unwritable cache $cache_file"
49811.1Stv  fi
49821.1Stvfi
49831.1Stvrm -f confcache
49841.1Stv
49851.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
49861.1Stv# Let make expand exec_prefix.
49871.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49881.1Stv
49891.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
49901.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49911.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
49921.1Stv# (actually we leave an empty line to preserve line numbers).
49931.1Stvif test "x$srcdir" = x.; then
49941.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
49951.1Stvs/:*\$(srcdir):*/:/;
49961.1Stvs/:*\${srcdir}:*/:/;
49971.1Stvs/:*@srcdir@:*/:/;
49981.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
49991.1Stvs/:*$//;
50001.1Stvs/^[^=]*=[ 	]*$//;
50011.1Stv}'
50021.1Stvfi
50031.1Stv
50041.1StvDEFS=-DHAVE_CONFIG_H
50051.1Stv
50061.1Stv: ${CONFIG_STATUS=./config.status}
50071.1Stvac_clean_files_save=$ac_clean_files
50081.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
50091.22Sthorpej{ echo "$as_me:5009: creating $CONFIG_STATUS" >&5
50101.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
50111.1Stvcat >$CONFIG_STATUS <<_ACEOF
50121.1Stv#! $SHELL
50131.1Stv# Generated automatically by configure.
50141.1Stv# Run this file to recreate the current configuration.
50151.1Stv# Compiler output produced by configure, useful for debugging
50161.1Stv# configure, is in config.log if it exists.
50171.1Stv
50181.1Stvdebug=false
50191.1StvSHELL=\${CONFIG_SHELL-$SHELL}
50201.1Stvac_cs_invocation="\$0 \$@"
50211.1Stv
50221.1Stv_ACEOF
50231.1Stv
50241.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
50251.1Stv# Be Bourne compatible
50261.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50271.1Stv  emulate sh
50281.1Stv  NULLCMD=:
50291.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50301.1Stv  set -o posix
50311.1Stvfi
50321.1Stv
50331.1Stv# Name of the executable.
50341.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
50351.1Stv
50361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
50371.1Stv  as_expr=expr
50381.1Stvelse
50391.1Stv  as_expr=false
50401.1Stvfi
50411.1Stv
50421.1Stvrm -f conf$$ conf$$.exe conf$$.file
50431.1Stvecho >conf$$.file
50441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
50451.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
50461.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50471.1Stv  if test -f conf$$.exe; then
50481.1Stv    # Don't use ln at all; we don't have any links
50491.1Stv    as_ln_s='cp -p'
50501.1Stv  else
50511.1Stv    as_ln_s='ln -s'
50521.1Stv  fi
50531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
50541.1Stv  as_ln_s=ln
50551.1Stvelse
50561.1Stv  as_ln_s='cp -p'
50571.1Stvfi
50581.1Stvrm -f conf$$ conf$$.exe conf$$.file
50591.1Stv
50601.1Stvas_executable_p="test -f"
50611.1Stv
50621.1Stv# Support unset when possible.
50631.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
50641.1Stv  as_unset=unset
50651.1Stvelse
50661.1Stv  as_unset=false
50671.1Stvfi
50681.1Stv
50691.1Stv# NLS nuisances.
50701.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
50711.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
50721.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
50731.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
50741.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
50751.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
50761.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
50771.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
50781.1Stv
50791.1Stv# IFS
50801.1Stv# We need space, tab and new line, in precisely that order.
50811.1Stvas_nl='
50821.1Stv'
50831.1StvIFS=" 	$as_nl"
50841.1Stv
50851.1Stv# CDPATH.
50861.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
50871.1Stv
50881.1Stvexec 6>&1
50891.1Stv
50901.1Stv_ACEOF
50911.1Stv
50921.1Stv# Files that config.status was made for.
50931.1Stvif test -n "$ac_config_files"; then
50941.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50951.1Stvfi
50961.1Stv
50971.1Stvif test -n "$ac_config_headers"; then
50981.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50991.1Stvfi
51001.1Stv
51011.1Stvif test -n "$ac_config_links"; then
51021.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51031.1Stvfi
51041.1Stv
51051.1Stvif test -n "$ac_config_commands"; then
51061.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51071.1Stvfi
51081.1Stv
51091.1Stvcat >>$CONFIG_STATUS <<\EOF
51101.1Stv
51111.1Stvac_cs_usage="\
51121.1Stv\`$as_me' instantiates files from templates according to the
51131.1Stvcurrent configuration.
51141.1Stv
51151.1StvUsage: $0 [OPTIONS] [FILE]...
51161.1Stv
51171.1Stv  -h, --help       print this help, then exit
51181.1Stv  -V, --version    print version number, then exit
51191.1Stv  -d, --debug      don't remove temporary files
51201.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
51211.1Stv  --file=FILE[:TEMPLATE]
51221.1Stv                   instantiate the configuration file FILE
51231.1Stv  --header=FILE[:TEMPLATE]
51241.1Stv                   instantiate the configuration header FILE
51251.1Stv
51261.1StvConfiguration files:
51271.1Stv$config_files
51281.1Stv
51291.1StvConfiguration headers:
51301.1Stv$config_headers
51311.1Stv
51321.1StvReport bugs to <bug-autoconf@gnu.org>."
51331.1StvEOF
51341.1Stv
51351.1Stvcat >>$CONFIG_STATUS <<EOF
51361.1Stvac_cs_version="\\
51371.1Stvlibnbcompat config.status noversion
51381.1Stvconfigured by $0, generated by GNU Autoconf 2.52,
51391.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51401.1Stv
51411.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
51421.1StvFree Software Foundation, Inc.
51431.1StvThis config.status script is free software; the Free Software Foundation
51441.1Stvgives unlimited permission to copy, distribute and modify it."
51451.1Stvsrcdir=$srcdir
51461.1StvEOF
51471.1Stv
51481.1Stvcat >>$CONFIG_STATUS <<\EOF
51491.1Stv# If no file are specified by the user, then we need to provide default
51501.1Stv# value.  By we need to know if files were specified by the user.
51511.1Stvac_need_defaults=:
51521.1Stvwhile test $# != 0
51531.1Stvdo
51541.1Stv  case $1 in
51551.1Stv  --*=*)
51561.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
51571.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51581.1Stv    shift
51591.1Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
51601.1Stv    shift
51611.1Stv    ;;
51621.1Stv  -*);;
51631.1Stv  *) # This is not an option, so the user has probably given explicit
51641.1Stv     # arguments.
51651.1Stv     ac_need_defaults=false;;
51661.1Stv  esac
51671.1Stv
51681.1Stv  case $1 in
51691.1Stv  # Handling of the options.
51701.1StvEOF
51711.1Stvcat >>$CONFIG_STATUS <<EOF
51721.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51731.1Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
51741.1Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
51751.1StvEOF
51761.1Stvcat >>$CONFIG_STATUS <<\EOF
51771.1Stv  --version | --vers* | -V )
51781.1Stv    echo "$ac_cs_version"; exit 0 ;;
51791.1Stv  --he | --h)
51801.1Stv    # Conflict between --help and --header
51811.22Sthorpej    { { echo "$as_me:5181: error: ambiguous option: $1
51821.1StvTry \`$0 --help' for more information." >&5
51831.1Stvecho "$as_me: error: ambiguous option: $1
51841.1StvTry \`$0 --help' for more information." >&2;}
51851.1Stv   { (exit 1); exit 1; }; };;
51861.1Stv  --help | --hel | -h )
51871.1Stv    echo "$ac_cs_usage"; exit 0 ;;
51881.1Stv  --debug | --d* | -d )
51891.1Stv    debug=: ;;
51901.1Stv  --file | --fil | --fi | --f )
51911.1Stv    shift
51921.1Stv    CONFIG_FILES="$CONFIG_FILES $1"
51931.1Stv    ac_need_defaults=false;;
51941.1Stv  --header | --heade | --head | --hea )
51951.1Stv    shift
51961.1Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
51971.1Stv    ac_need_defaults=false;;
51981.1Stv
51991.1Stv  # This is an error.
52001.22Sthorpej  -*) { { echo "$as_me:5200: error: unrecognized option: $1
52011.1StvTry \`$0 --help' for more information." >&5
52021.1Stvecho "$as_me: error: unrecognized option: $1
52031.1StvTry \`$0 --help' for more information." >&2;}
52041.1Stv   { (exit 1); exit 1; }; } ;;
52051.1Stv
52061.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
52071.1Stv
52081.1Stv  esac
52091.1Stv  shift
52101.1Stvdone
52111.1Stv
52121.1Stvexec 5>>config.log
52131.1Stvcat >&5 << _ACEOF
52141.1Stv
52151.1Stv## ----------------------- ##
52161.1Stv## Running config.status.  ##
52171.1Stv## ----------------------- ##
52181.1Stv
52191.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
52201.1Stv  CONFIG_FILES    = $CONFIG_FILES
52211.1Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
52221.1Stv  CONFIG_LINKS    = $CONFIG_LINKS
52231.1Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
52241.1Stv  > $ac_cs_invocation
52251.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
52261.1Stv
52271.1Stv_ACEOF
52281.1StvEOF
52291.1Stv
52301.1Stvcat >>$CONFIG_STATUS <<\EOF
52311.1Stvfor ac_config_target in $ac_config_targets
52321.1Stvdo
52331.1Stv  case "$ac_config_target" in
52341.1Stv  # Handling of arguments.
52351.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
52361.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
52371.22Sthorpej  *) { { echo "$as_me:5237: error: invalid argument: $ac_config_target" >&5
52381.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
52391.1Stv   { (exit 1); exit 1; }; };;
52401.1Stv  esac
52411.1Stvdone
52421.1Stv
52431.1Stv# If the user did not use the arguments to specify the items to instantiate,
52441.1Stv# then the envvar interface is used.  Set only those that are not.
52451.1Stv# We use the long form for the default assignment because of an extremely
52461.1Stv# bizarre bug on SunOS 4.1.3.
52471.1Stvif $ac_need_defaults; then
52481.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52491.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52501.1Stvfi
52511.1Stv
52521.1Stv# Create a temporary directory, and hook for its removal unless debugging.
52531.1Stv$debug ||
52541.1Stv{
52551.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52561.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
52571.1Stv}
52581.1Stv
52591.1Stv# Create a (secure) tmp directory for tmp files.
52601.1Stv: ${TMPDIR=/tmp}
52611.1Stv{
52621.1Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
52631.1Stv  test -n "$tmp" && test -d "$tmp"
52641.1Stv}  ||
52651.1Stv{
52661.1Stv  tmp=$TMPDIR/cs$$-$RANDOM
52671.1Stv  (umask 077 && mkdir $tmp)
52681.1Stv} ||
52691.1Stv{
52701.1Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
52711.1Stv   { (exit 1); exit 1; }
52721.1Stv}
52731.1Stv
52741.1StvEOF
52751.1Stv
52761.1Stvcat >>$CONFIG_STATUS <<EOF
52771.1Stv
52781.1Stv#
52791.1Stv# CONFIG_FILES section.
52801.1Stv#
52811.1Stv
52821.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
52831.1Stv# This happens for instance when ./config.status config.h
52841.1Stvif test -n "\$CONFIG_FILES"; then
52851.1Stv  # Protect against being on the right side of a sed subst in config.status.
52861.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52871.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52881.1Stvs,@SHELL@,$SHELL,;t t
52891.1Stvs,@exec_prefix@,$exec_prefix,;t t
52901.1Stvs,@prefix@,$prefix,;t t
52911.1Stvs,@program_transform_name@,$program_transform_name,;t t
52921.1Stvs,@bindir@,$bindir,;t t
52931.1Stvs,@sbindir@,$sbindir,;t t
52941.1Stvs,@libexecdir@,$libexecdir,;t t
52951.1Stvs,@datadir@,$datadir,;t t
52961.1Stvs,@sysconfdir@,$sysconfdir,;t t
52971.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
52981.1Stvs,@localstatedir@,$localstatedir,;t t
52991.1Stvs,@libdir@,$libdir,;t t
53001.1Stvs,@includedir@,$includedir,;t t
53011.1Stvs,@oldincludedir@,$oldincludedir,;t t
53021.1Stvs,@infodir@,$infodir,;t t
53031.1Stvs,@mandir@,$mandir,;t t
53041.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
53051.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
53061.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
53071.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
53081.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
53091.1Stvs,@build_alias@,$build_alias,;t t
53101.1Stvs,@host_alias@,$host_alias,;t t
53111.1Stvs,@target_alias@,$target_alias,;t t
53121.1Stvs,@ECHO_C@,$ECHO_C,;t t
53131.1Stvs,@ECHO_N@,$ECHO_N,;t t
53141.1Stvs,@ECHO_T@,$ECHO_T,;t t
53151.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
53161.1Stvs,@DEFS@,$DEFS,;t t
53171.1Stvs,@LIBS@,$LIBS,;t t
53181.20Sbjh21s,@BSHELL@,$BSHELL,;t t
53191.1Stvs,@CC@,$CC,;t t
53201.1Stvs,@CFLAGS@,$CFLAGS,;t t
53211.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
53221.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
53231.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
53241.1Stvs,@EXEEXT@,$EXEEXT,;t t
53251.1Stvs,@OBJEXT@,$OBJEXT,;t t
53261.1Stvs,@CPP@,$CPP,;t t
53271.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
53281.1StvCEOF
53291.1Stv
53301.1StvEOF
53311.1Stv
53321.1Stv  cat >>$CONFIG_STATUS <<\EOF
53331.1Stv  # Split the substitutions into bite-sized pieces for seds with
53341.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
53351.1Stv  ac_max_sed_lines=48
53361.1Stv  ac_sed_frag=1 # Number of current file.
53371.1Stv  ac_beg=1 # First line for current file.
53381.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
53391.1Stv  ac_more_lines=:
53401.1Stv  ac_sed_cmds=
53411.1Stv  while $ac_more_lines; do
53421.1Stv    if test $ac_beg -gt 1; then
53431.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53441.1Stv    else
53451.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53461.1Stv    fi
53471.1Stv    if test ! -s $tmp/subs.frag; then
53481.1Stv      ac_more_lines=false
53491.1Stv    else
53501.1Stv      # The purpose of the label and of the branching condition is to
53511.1Stv      # speed up the sed processing (if there are no `@' at all, there
53521.1Stv      # is no need to browse any of the substitutions).
53531.1Stv      # These are the two extra sed commands mentioned above.
53541.1Stv      (echo ':t
53551.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
53561.1Stv      if test -z "$ac_sed_cmds"; then
53571.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
53581.1Stv      else
53591.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53601.1Stv      fi
53611.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
53621.1Stv      ac_beg=$ac_end
53631.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
53641.1Stv    fi
53651.1Stv  done
53661.1Stv  if test -z "$ac_sed_cmds"; then
53671.1Stv    ac_sed_cmds=cat
53681.1Stv  fi
53691.1Stvfi # test -n "$CONFIG_FILES"
53701.1Stv
53711.1StvEOF
53721.1Stvcat >>$CONFIG_STATUS <<\EOF
53731.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53741.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53751.1Stv  case $ac_file in
53761.1Stv  - | *:- | *:-:* ) # input from stdin
53771.1Stv        cat >$tmp/stdin
53781.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53791.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53801.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53811.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53821.1Stv  * )   ac_file_in=$ac_file.in ;;
53831.1Stv  esac
53841.1Stv
53851.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53861.1Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53871.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
53881.1Stv         X"$ac_file" : 'X\(//\)$' \| \
53891.1Stv         X"$ac_file" : 'X\(/\)' \| \
53901.1Stv         .     : '\(.\)' 2>/dev/null ||
53911.1Stvecho X"$ac_file" |
53921.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53931.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53941.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
53951.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
53961.1Stv  	  s/.*/./; q'`
53971.1Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
53981.1Stv    { case "$ac_dir" in
53991.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
54001.1Stv  *)                      as_incr_dir=.;;
54011.1Stvesac
54021.1Stvas_dummy="$ac_dir"
54031.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
54041.1Stv  case $as_mkdir_dir in
54051.1Stv    # Skip DOS drivespec
54061.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
54071.1Stv    *)
54081.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
54091.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
54101.1Stv    ;;
54111.1Stv  esac
54121.1Stvdone; }
54131.1Stv
54141.1Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
54151.1Stv    # A "../" for each directory in $ac_dir_suffix.
54161.1Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
54171.1Stv  else
54181.1Stv    ac_dir_suffix= ac_dots=
54191.1Stv  fi
54201.1Stv
54211.1Stv  case $srcdir in
54221.1Stv  .)  ac_srcdir=.
54231.1Stv      if test -z "$ac_dots"; then
54241.1Stv         ac_top_srcdir=.
54251.1Stv      else
54261.1Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
54271.1Stv      fi ;;
54281.1Stv  [\\/]* | ?:[\\/]* )
54291.1Stv      ac_srcdir=$srcdir$ac_dir_suffix;
54301.1Stv      ac_top_srcdir=$srcdir ;;
54311.1Stv  *) # Relative path.
54321.1Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
54331.1Stv    ac_top_srcdir=$ac_dots$srcdir ;;
54341.1Stv  esac
54351.1Stv
54361.1Stv  if test x"$ac_file" != x-; then
54371.22Sthorpej    { echo "$as_me:5437: creating $ac_file" >&5
54381.1Stvecho "$as_me: creating $ac_file" >&6;}
54391.1Stv    rm -f "$ac_file"
54401.1Stv  fi
54411.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
54421.1Stv  # use $as_me), people would be surprised to read:
54431.1Stv  #    /* config.h.  Generated automatically by config.status.  */
54441.1Stv  configure_input="Generated automatically from `echo $ac_file_in |
54451.1Stv                                                 sed 's,.*/,,'` by configure."
54461.1Stv
54471.1Stv  # First look for the input files in the build tree, otherwise in the
54481.1Stv  # src tree.
54491.1Stv  ac_file_inputs=`IFS=:
54501.1Stv    for f in $ac_file_in; do
54511.1Stv      case $f in
54521.1Stv      -) echo $tmp/stdin ;;
54531.1Stv      [\\/$]*)
54541.1Stv         # Absolute (can't be DOS-style, as IFS=:)
54551.22Sthorpej         test -f "$f" || { { echo "$as_me:5455: error: cannot find input file: $f" >&5
54561.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54571.1Stv   { (exit 1); exit 1; }; }
54581.1Stv         echo $f;;
54591.1Stv      *) # Relative
54601.1Stv         if test -f "$f"; then
54611.1Stv           # Build tree
54621.1Stv           echo $f
54631.1Stv         elif test -f "$srcdir/$f"; then
54641.1Stv           # Source tree
54651.1Stv           echo $srcdir/$f
54661.1Stv         else
54671.1Stv           # /dev/null tree
54681.22Sthorpej           { { echo "$as_me:5468: error: cannot find input file: $f" >&5
54691.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54701.1Stv   { (exit 1); exit 1; }; }
54711.1Stv         fi;;
54721.1Stv      esac
54731.1Stv    done` || { (exit 1); exit 1; }
54741.1StvEOF
54751.1Stvcat >>$CONFIG_STATUS <<EOF
54761.1Stv  sed "$ac_vpsub
54771.1Stv$extrasub
54781.1StvEOF
54791.1Stvcat >>$CONFIG_STATUS <<\EOF
54801.1Stv:t
54811.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54821.1Stvs,@configure_input@,$configure_input,;t t
54831.1Stvs,@srcdir@,$ac_srcdir,;t t
54841.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
54851.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
54861.1Stv  rm -f $tmp/stdin
54871.1Stv  if test x"$ac_file" != x-; then
54881.1Stv    mv $tmp/out $ac_file
54891.1Stv  else
54901.1Stv    cat $tmp/out
54911.1Stv    rm -f $tmp/out
54921.1Stv  fi
54931.1Stv
54941.1Stvdone
54951.1StvEOF
54961.1Stvcat >>$CONFIG_STATUS <<\EOF
54971.1Stv
54981.1Stv#
54991.1Stv# CONFIG_HEADER section.
55001.1Stv#
55011.1Stv
55021.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
55031.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
55041.1Stv#
55051.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
55061.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
55071.1Stvac_dB='[ 	].*$,\1#\2'
55081.1Stvac_dC=' '
55091.1Stvac_dD=',;t'
55101.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
55111.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
55121.1Stvac_uB='$,\1#\2define\3'
55131.1Stvac_uC=' '
55141.1Stvac_uD=',;t'
55151.1Stv
55161.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
55171.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
55181.1Stv  case $ac_file in
55191.1Stv  - | *:- | *:-:* ) # input from stdin
55201.1Stv        cat >$tmp/stdin
55211.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
55221.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
55231.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
55241.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
55251.1Stv  * )   ac_file_in=$ac_file.in ;;
55261.1Stv  esac
55271.1Stv
55281.22Sthorpej  test x"$ac_file" != x- && { echo "$as_me:5528: creating $ac_file" >&5
55291.1Stvecho "$as_me: creating $ac_file" >&6;}
55301.1Stv
55311.1Stv  # First look for the input files in the build tree, otherwise in the
55321.1Stv  # src tree.
55331.1Stv  ac_file_inputs=`IFS=:
55341.1Stv    for f in $ac_file_in; do
55351.1Stv      case $f in
55361.1Stv      -) echo $tmp/stdin ;;
55371.1Stv      [\\/$]*)
55381.1Stv         # Absolute (can't be DOS-style, as IFS=:)
55391.22Sthorpej         test -f "$f" || { { echo "$as_me:5539: error: cannot find input file: $f" >&5
55401.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55411.1Stv   { (exit 1); exit 1; }; }
55421.1Stv         echo $f;;
55431.1Stv      *) # Relative
55441.1Stv         if test -f "$f"; then
55451.1Stv           # Build tree
55461.1Stv           echo $f
55471.1Stv         elif test -f "$srcdir/$f"; then
55481.1Stv           # Source tree
55491.1Stv           echo $srcdir/$f
55501.1Stv         else
55511.1Stv           # /dev/null tree
55521.22Sthorpej           { { echo "$as_me:5552: error: cannot find input file: $f" >&5
55531.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55541.1Stv   { (exit 1); exit 1; }; }
55551.1Stv         fi;;
55561.1Stv      esac
55571.1Stv    done` || { (exit 1); exit 1; }
55581.1Stv  # Remove the trailing spaces.
55591.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
55601.1Stv
55611.1StvEOF
55621.1Stv
55631.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
55641.1Stv# `conftest.undefs', that substitutes the proper values into
55651.1Stv# config.h.in to produce config.h.  The first handles `#define'
55661.1Stv# templates, and the second `#undef' templates.
55671.1Stv# And first: Protect against being on the right side of a sed subst in
55681.1Stv# config.status.  Protect against being in an unquoted here document
55691.1Stv# in config.status.
55701.1Stvrm -f conftest.defines conftest.undefs
55711.1Stv# Using a here document instead of a string reduces the quoting nightmare.
55721.1Stv# Putting comments in sed scripts is not portable.
55731.1Stv#
55741.1Stv# `end' is used to avoid that the second main sed command (meant for
55751.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
55761.1Stv# See the Autoconf documentation for `clear'.
55771.1Stvcat >confdef2sed.sed <<\EOF
55781.1Stvs/[\\&,]/\\&/g
55791.1Stvs,[\\$`],\\&,g
55801.1Stvt clear
55811.1Stv: clear
55821.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
55831.1Stvt end
55841.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
55851.1Stv: end
55861.1StvEOF
55871.1Stv# If some macros were called several times there might be several times
55881.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
55891.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
55901.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
55911.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
55921.1Stvrm -f confdef2sed.sed
55931.1Stv
55941.1Stv# This sed command replaces #undef with comments.  This is necessary, for
55951.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
55961.1Stv# on some systems where configure will not decide to define it.
55971.1Stvcat >>conftest.undefs <<\EOF
55981.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
55991.1StvEOF
56001.1Stv
56011.1Stv# Break up conftest.defines because some shells have a limit on the size
56021.1Stv# of here documents, and old seds have small limits too (100 cmds).
56031.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
56041.1Stvecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
56051.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
56061.1Stvecho '  :' >>$CONFIG_STATUS
56071.1Stvrm -f conftest.tail
56081.1Stvwhile grep . conftest.defines >/dev/null
56091.1Stvdo
56101.1Stv  # Write a limited-size here document to $tmp/defines.sed.
56111.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
56121.1Stv  # Speed up: don't consider the non `#define' lines.
56131.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
56141.1Stv  # Work around the forget-to-reset-the-flag bug.
56151.1Stv  echo 't clr' >>$CONFIG_STATUS
56161.1Stv  echo ': clr' >>$CONFIG_STATUS
56171.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
56181.1Stv  echo 'CEOF
56191.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
56201.1Stv  rm -f $tmp/in
56211.1Stv  mv $tmp/out $tmp/in
56221.1Stv' >>$CONFIG_STATUS
56231.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
56241.1Stv  rm -f conftest.defines
56251.1Stv  mv conftest.tail conftest.defines
56261.1Stvdone
56271.1Stvrm -f conftest.defines
56281.1Stvecho '  fi # egrep' >>$CONFIG_STATUS
56291.1Stvecho >>$CONFIG_STATUS
56301.1Stv
56311.1Stv# Break up conftest.undefs because some shells have a limit on the size
56321.1Stv# of here documents, and old seds have small limits too (100 cmds).
56331.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
56341.1Stvrm -f conftest.tail
56351.1Stvwhile grep . conftest.undefs >/dev/null
56361.1Stvdo
56371.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
56381.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
56391.1Stv  # Speed up: don't consider the non `#undef'
56401.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
56411.1Stv  # Work around the forget-to-reset-the-flag bug.
56421.1Stv  echo 't clr' >>$CONFIG_STATUS
56431.1Stv  echo ': clr' >>$CONFIG_STATUS
56441.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
56451.1Stv  echo 'CEOF
56461.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
56471.1Stv  rm -f $tmp/in
56481.1Stv  mv $tmp/out $tmp/in
56491.1Stv' >>$CONFIG_STATUS
56501.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
56511.1Stv  rm -f conftest.undefs
56521.1Stv  mv conftest.tail conftest.undefs
56531.1Stvdone
56541.1Stvrm -f conftest.undefs
56551.1Stv
56561.1Stvcat >>$CONFIG_STATUS <<\EOF
56571.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
56581.1Stv  # use $as_me), people would be surprised to read:
56591.1Stv  #    /* config.h.  Generated automatically by config.status.  */
56601.1Stv  if test x"$ac_file" = x-; then
56611.1Stv    echo "/* Generated automatically by configure.  */" >$tmp/config.h
56621.1Stv  else
56631.1Stv    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
56641.1Stv  fi
56651.1Stv  cat $tmp/in >>$tmp/config.h
56661.1Stv  rm -f $tmp/in
56671.1Stv  if test x"$ac_file" != x-; then
56681.1Stv    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
56691.22Sthorpej      { echo "$as_me:5669: $ac_file is unchanged" >&5
56701.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
56711.1Stv    else
56721.1Stv      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56731.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
56741.1Stv         X"$ac_file" : 'X\(//\)$' \| \
56751.1Stv         X"$ac_file" : 'X\(/\)' \| \
56761.1Stv         .     : '\(.\)' 2>/dev/null ||
56771.1Stvecho X"$ac_file" |
56781.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56791.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56801.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
56811.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
56821.1Stv  	  s/.*/./; q'`
56831.1Stv      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
56841.1Stv        { case "$ac_dir" in
56851.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
56861.1Stv  *)                      as_incr_dir=.;;
56871.1Stvesac
56881.1Stvas_dummy="$ac_dir"
56891.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
56901.1Stv  case $as_mkdir_dir in
56911.1Stv    # Skip DOS drivespec
56921.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
56931.1Stv    *)
56941.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
56951.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
56961.1Stv    ;;
56971.1Stv  esac
56981.1Stvdone; }
56991.1Stv
57001.1Stv      fi
57011.1Stv      rm -f $ac_file
57021.1Stv      mv $tmp/config.h $ac_file
57031.1Stv    fi
57041.1Stv  else
57051.1Stv    cat $tmp/config.h
57061.1Stv    rm -f $tmp/config.h
57071.1Stv  fi
57081.1Stvdone
57091.1StvEOF
57101.1Stv
57111.1Stvcat >>$CONFIG_STATUS <<\EOF
57121.1Stv
57131.1Stv{ (exit 0); exit 0; }
57141.1StvEOF
57151.1Stvchmod +x $CONFIG_STATUS
57161.1Stvac_clean_files=$ac_clean_files_save
57171.1Stv
57181.1Stv# configure is writing to config.log, and then calls config.status.
57191.1Stv# config.status does its own redirection, appending to config.log.
57201.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
57211.1Stv# by configure, so config.status won't be able to write to it; its
57221.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
57231.1Stv# effectively closing config.log, so it can be properly (re)opened and
57241.1Stv# appended to by config.status.  When coming back to configure, we
57251.1Stv# need to make the FD available again.
57261.1Stvif test "$no_create" != yes; then
57271.1Stv  ac_cs_success=:
57281.1Stv  exec 5>/dev/null
57291.1Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
57301.1Stv  exec 5>>config.log
57311.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57321.1Stv  # would make configure fail if this is the last instruction.
57331.1Stv  $ac_cs_success || { (exit 1); exit 1; }
57341.1Stvfi
57351.1Stv
5736