configure revision 1.19
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.1Stvac_ext=c
9681.1Stvac_cpp='$CPP $CPPFLAGS'
9691.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9701.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9711.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9721.1Stvif test -n "$ac_tool_prefix"; then
9731.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9741.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
9751.1Stvecho "$as_me:975: checking for $ac_word" >&5
9761.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9771.1Stvif test "${ac_cv_prog_CC+set}" = set; then
9781.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
9791.1Stvelse
9801.1Stv  if test -n "$CC"; then
9811.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
9821.1Stvelse
9831.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
9841.1Stvac_dummy="$PATH"
9851.1Stvfor ac_dir in $ac_dummy; do
9861.1Stv  IFS=$ac_save_IFS
9871.1Stv  test -z "$ac_dir" && ac_dir=.
9881.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
9891.1Stvac_cv_prog_CC="${ac_tool_prefix}gcc"
9901.1Stvecho "$as_me:990: found $ac_dir/$ac_word" >&5
9911.1Stvbreak
9921.1Stvdone
9931.1Stv
9941.1Stvfi
9951.1Stvfi
9961.1StvCC=$ac_cv_prog_CC
9971.1Stvif test -n "$CC"; then
9981.1Stv  echo "$as_me:998: result: $CC" >&5
9991.1Stvecho "${ECHO_T}$CC" >&6
10001.1Stvelse
10011.1Stv  echo "$as_me:1001: result: no" >&5
10021.1Stvecho "${ECHO_T}no" >&6
10031.1Stvfi
10041.1Stv
10051.1Stvfi
10061.1Stvif test -z "$ac_cv_prog_CC"; then
10071.1Stv  ac_ct_CC=$CC
10081.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10091.1Stvset dummy gcc; ac_word=$2
10101.1Stvecho "$as_me:1010: checking for $ac_word" >&5
10111.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10121.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10131.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10141.1Stvelse
10151.1Stv  if test -n "$ac_ct_CC"; then
10161.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10171.1Stvelse
10181.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
10191.1Stvac_dummy="$PATH"
10201.1Stvfor ac_dir in $ac_dummy; do
10211.1Stv  IFS=$ac_save_IFS
10221.1Stv  test -z "$ac_dir" && ac_dir=.
10231.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
10241.1Stvac_cv_prog_ac_ct_CC="gcc"
10251.1Stvecho "$as_me:1025: found $ac_dir/$ac_word" >&5
10261.1Stvbreak
10271.1Stvdone
10281.1Stv
10291.1Stvfi
10301.1Stvfi
10311.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
10321.1Stvif test -n "$ac_ct_CC"; then
10331.1Stv  echo "$as_me:1033: result: $ac_ct_CC" >&5
10341.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10351.1Stvelse
10361.1Stv  echo "$as_me:1036: result: no" >&5
10371.1Stvecho "${ECHO_T}no" >&6
10381.1Stvfi
10391.1Stv
10401.1Stv  CC=$ac_ct_CC
10411.1Stvelse
10421.1Stv  CC="$ac_cv_prog_CC"
10431.1Stvfi
10441.1Stv
10451.1Stvif test -z "$CC"; then
10461.1Stv  if test -n "$ac_tool_prefix"; then
10471.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10481.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10491.1Stvecho "$as_me:1049: checking for $ac_word" >&5
10501.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10511.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10521.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10531.1Stvelse
10541.1Stv  if test -n "$CC"; then
10551.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10561.1Stvelse
10571.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
10581.1Stvac_dummy="$PATH"
10591.1Stvfor ac_dir in $ac_dummy; do
10601.1Stv  IFS=$ac_save_IFS
10611.1Stv  test -z "$ac_dir" && ac_dir=.
10621.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
10631.1Stvac_cv_prog_CC="${ac_tool_prefix}cc"
10641.1Stvecho "$as_me:1064: found $ac_dir/$ac_word" >&5
10651.1Stvbreak
10661.1Stvdone
10671.1Stv
10681.1Stvfi
10691.1Stvfi
10701.1StvCC=$ac_cv_prog_CC
10711.1Stvif test -n "$CC"; then
10721.1Stv  echo "$as_me:1072: result: $CC" >&5
10731.1Stvecho "${ECHO_T}$CC" >&6
10741.1Stvelse
10751.1Stv  echo "$as_me:1075: result: no" >&5
10761.1Stvecho "${ECHO_T}no" >&6
10771.1Stvfi
10781.1Stv
10791.1Stvfi
10801.1Stvif test -z "$ac_cv_prog_CC"; then
10811.1Stv  ac_ct_CC=$CC
10821.1Stv  # Extract the first word of "cc", so it can be a program name with args.
10831.1Stvset dummy cc; ac_word=$2
10841.1Stvecho "$as_me:1084: checking for $ac_word" >&5
10851.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10861.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10871.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10881.1Stvelse
10891.1Stv  if test -n "$ac_ct_CC"; then
10901.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10911.1Stvelse
10921.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
10931.1Stvac_dummy="$PATH"
10941.1Stvfor ac_dir in $ac_dummy; do
10951.1Stv  IFS=$ac_save_IFS
10961.1Stv  test -z "$ac_dir" && ac_dir=.
10971.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
10981.1Stvac_cv_prog_ac_ct_CC="cc"
10991.1Stvecho "$as_me:1099: found $ac_dir/$ac_word" >&5
11001.1Stvbreak
11011.1Stvdone
11021.1Stv
11031.1Stvfi
11041.1Stvfi
11051.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11061.1Stvif test -n "$ac_ct_CC"; then
11071.1Stv  echo "$as_me:1107: result: $ac_ct_CC" >&5
11081.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11091.1Stvelse
11101.1Stv  echo "$as_me:1110: result: no" >&5
11111.1Stvecho "${ECHO_T}no" >&6
11121.1Stvfi
11131.1Stv
11141.1Stv  CC=$ac_ct_CC
11151.1Stvelse
11161.1Stv  CC="$ac_cv_prog_CC"
11171.1Stvfi
11181.1Stv
11191.1Stvfi
11201.1Stvif test -z "$CC"; then
11211.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11221.1Stvset dummy cc; ac_word=$2
11231.1Stvecho "$as_me:1123: checking for $ac_word" >&5
11241.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11251.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11261.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11271.1Stvelse
11281.1Stv  if test -n "$CC"; then
11291.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11301.1Stvelse
11311.1Stv  ac_prog_rejected=no
11321.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
11331.1Stvac_dummy="$PATH"
11341.1Stvfor ac_dir in $ac_dummy; do
11351.1Stv  IFS=$ac_save_IFS
11361.1Stv  test -z "$ac_dir" && ac_dir=.
11371.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
11381.1Stvif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11391.1Stv  ac_prog_rejected=yes
11401.1Stv  continue
11411.1Stvfi
11421.1Stvac_cv_prog_CC="cc"
11431.1Stvecho "$as_me:1143: found $ac_dir/$ac_word" >&5
11441.1Stvbreak
11451.1Stvdone
11461.1Stv
11471.1Stvif test $ac_prog_rejected = yes; then
11481.1Stv  # We found a bogon in the path, so make sure we never use it.
11491.1Stv  set dummy $ac_cv_prog_CC
11501.1Stv  shift
11511.1Stv  if test $# != 0; then
11521.1Stv    # We chose a different compiler from the bogus one.
11531.1Stv    # However, it has the same basename, so the bogon will be chosen
11541.1Stv    # first if we set CC to just the basename; use the full file name.
11551.1Stv    shift
11561.1Stv    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11571.1Stv    shift
11581.1Stv    ac_cv_prog_CC="$@"
11591.1Stv  fi
11601.1Stvfi
11611.1Stvfi
11621.1Stvfi
11631.1StvCC=$ac_cv_prog_CC
11641.1Stvif test -n "$CC"; then
11651.1Stv  echo "$as_me:1165: result: $CC" >&5
11661.1Stvecho "${ECHO_T}$CC" >&6
11671.1Stvelse
11681.1Stv  echo "$as_me:1168: result: no" >&5
11691.1Stvecho "${ECHO_T}no" >&6
11701.1Stvfi
11711.1Stv
11721.1Stvfi
11731.1Stvif test -z "$CC"; then
11741.1Stv  if test -n "$ac_tool_prefix"; then
11751.1Stv  for ac_prog in cl
11761.1Stv  do
11771.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11781.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
11791.1Stvecho "$as_me:1179: checking for $ac_word" >&5
11801.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11811.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11821.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11831.1Stvelse
11841.1Stv  if test -n "$CC"; then
11851.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11861.1Stvelse
11871.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
11881.1Stvac_dummy="$PATH"
11891.1Stvfor ac_dir in $ac_dummy; do
11901.1Stv  IFS=$ac_save_IFS
11911.1Stv  test -z "$ac_dir" && ac_dir=.
11921.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
11931.1Stvac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11941.1Stvecho "$as_me:1194: found $ac_dir/$ac_word" >&5
11951.1Stvbreak
11961.1Stvdone
11971.1Stv
11981.1Stvfi
11991.1Stvfi
12001.1StvCC=$ac_cv_prog_CC
12011.1Stvif test -n "$CC"; then
12021.1Stv  echo "$as_me:1202: result: $CC" >&5
12031.1Stvecho "${ECHO_T}$CC" >&6
12041.1Stvelse
12051.1Stv  echo "$as_me:1205: result: no" >&5
12061.1Stvecho "${ECHO_T}no" >&6
12071.1Stvfi
12081.1Stv
12091.1Stv    test -n "$CC" && break
12101.1Stv  done
12111.1Stvfi
12121.1Stvif test -z "$CC"; then
12131.1Stv  ac_ct_CC=$CC
12141.1Stv  for ac_prog in cl
12151.1Stvdo
12161.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12171.1Stvset dummy $ac_prog; ac_word=$2
12181.1Stvecho "$as_me:1218: checking for $ac_word" >&5
12191.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12201.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12211.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12221.1Stvelse
12231.1Stv  if test -n "$ac_ct_CC"; then
12241.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12251.1Stvelse
12261.1Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
12271.1Stvac_dummy="$PATH"
12281.1Stvfor ac_dir in $ac_dummy; do
12291.1Stv  IFS=$ac_save_IFS
12301.1Stv  test -z "$ac_dir" && ac_dir=.
12311.1Stv  $as_executable_p "$ac_dir/$ac_word" || continue
12321.1Stvac_cv_prog_ac_ct_CC="$ac_prog"
12331.1Stvecho "$as_me:1233: found $ac_dir/$ac_word" >&5
12341.1Stvbreak
12351.1Stvdone
12361.1Stv
12371.1Stvfi
12381.1Stvfi
12391.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
12401.1Stvif test -n "$ac_ct_CC"; then
12411.1Stv  echo "$as_me:1241: result: $ac_ct_CC" >&5
12421.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12431.1Stvelse
12441.1Stv  echo "$as_me:1244: result: no" >&5
12451.1Stvecho "${ECHO_T}no" >&6
12461.1Stvfi
12471.1Stv
12481.1Stv  test -n "$ac_ct_CC" && break
12491.1Stvdone
12501.1Stv
12511.1Stv  CC=$ac_ct_CC
12521.1Stvfi
12531.1Stv
12541.1Stvfi
12551.1Stv
12561.1Stvtest -z "$CC" && { { echo "$as_me:1256: error: no acceptable cc found in \$PATH" >&5
12571.1Stvecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
12581.1Stv   { (exit 1); exit 1; }; }
12591.1Stv
12601.1Stv# Provide some information about the compiler.
12611.1Stvecho "$as_me:1261:" \
12621.1Stv     "checking for C compiler version" >&5
12631.1Stvac_compiler=`set X $ac_compile; echo $2`
12641.1Stv{ (eval echo "$as_me:1264: \"$ac_compiler --version </dev/null >&5\"") >&5
12651.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
12661.1Stv  ac_status=$?
12671.1Stv  echo "$as_me:1267: \$? = $ac_status" >&5
12681.1Stv  (exit $ac_status); }
12691.1Stv{ (eval echo "$as_me:1269: \"$ac_compiler -v </dev/null >&5\"") >&5
12701.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
12711.1Stv  ac_status=$?
12721.1Stv  echo "$as_me:1272: \$? = $ac_status" >&5
12731.1Stv  (exit $ac_status); }
12741.1Stv{ (eval echo "$as_me:1274: \"$ac_compiler -V </dev/null >&5\"") >&5
12751.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
12761.1Stv  ac_status=$?
12771.1Stv  echo "$as_me:1277: \$? = $ac_status" >&5
12781.1Stv  (exit $ac_status); }
12791.1Stv
12801.1Stvcat >conftest.$ac_ext <<_ACEOF
12811.1Stv#line 1281 "configure"
12821.1Stv#include "confdefs.h"
12831.1Stv
12841.1Stvint
12851.1Stvmain ()
12861.1Stv{
12871.1Stv
12881.1Stv  ;
12891.1Stv  return 0;
12901.1Stv}
12911.1Stv_ACEOF
12921.1Stvac_clean_files_save=$ac_clean_files
12931.1Stvac_clean_files="$ac_clean_files a.out a.exe"
12941.1Stv# Try to create an executable without -o first, disregard a.out.
12951.1Stv# It will help us diagnose broken compilers, and finding out an intuition
12961.1Stv# of exeext.
12971.1Stvecho "$as_me:1297: checking for C compiler default output" >&5
12981.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
12991.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13001.1Stvif { (eval echo "$as_me:1300: \"$ac_link_default\"") >&5
13011.1Stv  (eval $ac_link_default) 2>&5
13021.1Stv  ac_status=$?
13031.1Stv  echo "$as_me:1303: \$? = $ac_status" >&5
13041.1Stv  (exit $ac_status); }; then
13051.1Stv  # Find the output, starting from the most likely.  This scheme is
13061.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13071.1Stv# resort.
13081.1Stvfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13091.1Stv                ls a.out conftest 2>/dev/null;
13101.1Stv                ls a.* conftest.* 2>/dev/null`; do
13111.1Stv  case $ac_file in
13121.1Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13131.1Stv    a.out ) # We found the default executable, but exeext='' is most
13141.1Stv            # certainly right.
13151.1Stv            break;;
13161.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13171.1Stv          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13181.1Stv          export ac_cv_exeext
13191.1Stv          break;;
13201.1Stv    * ) break;;
13211.1Stv  esac
13221.1Stvdone
13231.1Stvelse
13241.1Stv  echo "$as_me: failed program was:" >&5
13251.1Stvcat conftest.$ac_ext >&5
13261.1Stv{ { echo "$as_me:1326: error: C compiler cannot create executables" >&5
13271.1Stvecho "$as_me: error: C compiler cannot create executables" >&2;}
13281.1Stv   { (exit 77); exit 77; }; }
13291.1Stvfi
13301.1Stv
13311.1Stvac_exeext=$ac_cv_exeext
13321.1Stvecho "$as_me:1332: result: $ac_file" >&5
13331.1Stvecho "${ECHO_T}$ac_file" >&6
13341.1Stv
13351.1Stv# Check the compiler produces executables we can run.  If not, either
13361.1Stv# the compiler is broken, or we cross compile.
13371.1Stvecho "$as_me:1337: checking whether the C compiler works" >&5
13381.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13391.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13401.1Stv# If not cross compiling, check that we can run a simple program.
13411.1Stvif test "$cross_compiling" != yes; then
13421.1Stv  if { ac_try='./$ac_file'
13431.1Stv  { (eval echo "$as_me:1343: \"$ac_try\"") >&5
13441.1Stv  (eval $ac_try) 2>&5
13451.1Stv  ac_status=$?
13461.1Stv  echo "$as_me:1346: \$? = $ac_status" >&5
13471.1Stv  (exit $ac_status); }; }; then
13481.1Stv    cross_compiling=no
13491.1Stv  else
13501.1Stv    if test "$cross_compiling" = maybe; then
13511.1Stv	cross_compiling=yes
13521.1Stv    else
13531.1Stv	{ { echo "$as_me:1353: error: cannot run C compiled programs.
13541.1StvIf you meant to cross compile, use \`--host'." >&5
13551.1Stvecho "$as_me: error: cannot run C compiled programs.
13561.1StvIf you meant to cross compile, use \`--host'." >&2;}
13571.1Stv   { (exit 1); exit 1; }; }
13581.1Stv    fi
13591.1Stv  fi
13601.1Stvfi
13611.1Stvecho "$as_me:1361: result: yes" >&5
13621.1Stvecho "${ECHO_T}yes" >&6
13631.1Stv
13641.1Stvrm -f a.out a.exe conftest$ac_cv_exeext
13651.1Stvac_clean_files=$ac_clean_files_save
13661.1Stv# Check the compiler produces executables we can run.  If not, either
13671.1Stv# the compiler is broken, or we cross compile.
13681.1Stvecho "$as_me:1368: checking whether we are cross compiling" >&5
13691.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13701.1Stvecho "$as_me:1370: result: $cross_compiling" >&5
13711.1Stvecho "${ECHO_T}$cross_compiling" >&6
13721.1Stv
13731.1Stvecho "$as_me:1373: checking for executable suffix" >&5
13741.1Stvecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13751.1Stvif { (eval echo "$as_me:1375: \"$ac_link\"") >&5
13761.1Stv  (eval $ac_link) 2>&5
13771.1Stv  ac_status=$?
13781.1Stv  echo "$as_me:1378: \$? = $ac_status" >&5
13791.1Stv  (exit $ac_status); }; then
13801.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
13811.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
13821.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
13831.1Stv# `rm'.
13841.1Stvfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13851.1Stv  case $ac_file in
13861.1Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13871.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13881.1Stv          export ac_cv_exeext
13891.1Stv          break;;
13901.1Stv    * ) break;;
13911.1Stv  esac
13921.1Stvdone
13931.1Stvelse
13941.1Stv  { { echo "$as_me:1394: error: cannot compute EXEEXT: cannot compile and link" >&5
13951.1Stvecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
13961.1Stv   { (exit 1); exit 1; }; }
13971.1Stvfi
13981.1Stv
13991.1Stvrm -f conftest$ac_cv_exeext
14001.1Stvecho "$as_me:1400: result: $ac_cv_exeext" >&5
14011.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14021.1Stv
14031.1Stvrm -f conftest.$ac_ext
14041.1StvEXEEXT=$ac_cv_exeext
14051.1Stvac_exeext=$EXEEXT
14061.1Stvecho "$as_me:1406: checking for object suffix" >&5
14071.1Stvecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14081.1Stvif test "${ac_cv_objext+set}" = set; then
14091.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14101.1Stvelse
14111.1Stv  cat >conftest.$ac_ext <<_ACEOF
14121.1Stv#line 1412 "configure"
14131.1Stv#include "confdefs.h"
14141.1Stv
14151.1Stvint
14161.1Stvmain ()
14171.1Stv{
14181.1Stv
14191.1Stv  ;
14201.1Stv  return 0;
14211.1Stv}
14221.1Stv_ACEOF
14231.1Stvrm -f conftest.o conftest.obj
14241.1Stvif { (eval echo "$as_me:1424: \"$ac_compile\"") >&5
14251.1Stv  (eval $ac_compile) 2>&5
14261.1Stv  ac_status=$?
14271.1Stv  echo "$as_me:1427: \$? = $ac_status" >&5
14281.1Stv  (exit $ac_status); }; then
14291.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14301.1Stv  case $ac_file in
14311.1Stv    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14321.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14331.1Stv       break;;
14341.1Stv  esac
14351.1Stvdone
14361.1Stvelse
14371.1Stv  echo "$as_me: failed program was:" >&5
14381.1Stvcat conftest.$ac_ext >&5
14391.1Stv{ { echo "$as_me:1439: error: cannot compute OBJEXT: cannot compile" >&5
14401.1Stvecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14411.1Stv   { (exit 1); exit 1; }; }
14421.1Stvfi
14431.1Stv
14441.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14451.1Stvfi
14461.1Stvecho "$as_me:1446: result: $ac_cv_objext" >&5
14471.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14481.1StvOBJEXT=$ac_cv_objext
14491.1Stvac_objext=$OBJEXT
14501.1Stvecho "$as_me:1450: checking whether we are using the GNU C compiler" >&5
14511.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14521.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14531.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14541.1Stvelse
14551.1Stv  cat >conftest.$ac_ext <<_ACEOF
14561.1Stv#line 1456 "configure"
14571.1Stv#include "confdefs.h"
14581.1Stv
14591.1Stvint
14601.1Stvmain ()
14611.1Stv{
14621.1Stv#ifndef __GNUC__
14631.1Stv       choke me
14641.1Stv#endif
14651.1Stv
14661.1Stv  ;
14671.1Stv  return 0;
14681.1Stv}
14691.1Stv_ACEOF
14701.1Stvrm -f conftest.$ac_objext
14711.1Stvif { (eval echo "$as_me:1471: \"$ac_compile\"") >&5
14721.1Stv  (eval $ac_compile) 2>&5
14731.1Stv  ac_status=$?
14741.1Stv  echo "$as_me:1474: \$? = $ac_status" >&5
14751.1Stv  (exit $ac_status); } &&
14761.1Stv         { ac_try='test -s conftest.$ac_objext'
14771.1Stv  { (eval echo "$as_me:1477: \"$ac_try\"") >&5
14781.1Stv  (eval $ac_try) 2>&5
14791.1Stv  ac_status=$?
14801.1Stv  echo "$as_me:1480: \$? = $ac_status" >&5
14811.1Stv  (exit $ac_status); }; }; then
14821.1Stv  ac_compiler_gnu=yes
14831.1Stvelse
14841.1Stv  echo "$as_me: failed program was:" >&5
14851.1Stvcat conftest.$ac_ext >&5
14861.1Stvac_compiler_gnu=no
14871.1Stvfi
14881.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
14891.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14901.1Stv
14911.1Stvfi
14921.1Stvecho "$as_me:1492: result: $ac_cv_c_compiler_gnu" >&5
14931.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14941.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
14951.1Stvac_test_CFLAGS=${CFLAGS+set}
14961.1Stvac_save_CFLAGS=$CFLAGS
14971.1StvCFLAGS="-g"
14981.1Stvecho "$as_me:1498: checking whether $CC accepts -g" >&5
14991.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15001.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15011.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15021.1Stvelse
15031.1Stv  cat >conftest.$ac_ext <<_ACEOF
15041.1Stv#line 1504 "configure"
15051.1Stv#include "confdefs.h"
15061.1Stv
15071.1Stvint
15081.1Stvmain ()
15091.1Stv{
15101.1Stv
15111.1Stv  ;
15121.1Stv  return 0;
15131.1Stv}
15141.1Stv_ACEOF
15151.1Stvrm -f conftest.$ac_objext
15161.1Stvif { (eval echo "$as_me:1516: \"$ac_compile\"") >&5
15171.1Stv  (eval $ac_compile) 2>&5
15181.1Stv  ac_status=$?
15191.1Stv  echo "$as_me:1519: \$? = $ac_status" >&5
15201.1Stv  (exit $ac_status); } &&
15211.1Stv         { ac_try='test -s conftest.$ac_objext'
15221.1Stv  { (eval echo "$as_me:1522: \"$ac_try\"") >&5
15231.1Stv  (eval $ac_try) 2>&5
15241.1Stv  ac_status=$?
15251.1Stv  echo "$as_me:1525: \$? = $ac_status" >&5
15261.1Stv  (exit $ac_status); }; }; then
15271.1Stv  ac_cv_prog_cc_g=yes
15281.1Stvelse
15291.1Stv  echo "$as_me: failed program was:" >&5
15301.1Stvcat conftest.$ac_ext >&5
15311.1Stvac_cv_prog_cc_g=no
15321.1Stvfi
15331.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15341.1Stvfi
15351.1Stvecho "$as_me:1535: result: $ac_cv_prog_cc_g" >&5
15361.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15371.1Stvif test "$ac_test_CFLAGS" = set; then
15381.1Stv  CFLAGS=$ac_save_CFLAGS
15391.1Stvelif test $ac_cv_prog_cc_g = yes; then
15401.1Stv  if test "$GCC" = yes; then
15411.1Stv    CFLAGS="-g -O2"
15421.1Stv  else
15431.1Stv    CFLAGS="-g"
15441.1Stv  fi
15451.1Stvelse
15461.1Stv  if test "$GCC" = yes; then
15471.1Stv    CFLAGS="-O2"
15481.1Stv  else
15491.1Stv    CFLAGS=
15501.1Stv  fi
15511.1Stvfi
15521.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15531.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
15541.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
15551.1Stv# the declaration of exit, since it's the most demanding environment.
15561.1Stvcat >conftest.$ac_ext <<_ACEOF
15571.1Stv#ifndef __cplusplus
15581.1Stv  choke me
15591.1Stv#endif
15601.1Stv_ACEOF
15611.1Stvrm -f conftest.$ac_objext
15621.1Stvif { (eval echo "$as_me:1562: \"$ac_compile\"") >&5
15631.1Stv  (eval $ac_compile) 2>&5
15641.1Stv  ac_status=$?
15651.1Stv  echo "$as_me:1565: \$? = $ac_status" >&5
15661.1Stv  (exit $ac_status); } &&
15671.1Stv         { ac_try='test -s conftest.$ac_objext'
15681.1Stv  { (eval echo "$as_me:1568: \"$ac_try\"") >&5
15691.1Stv  (eval $ac_try) 2>&5
15701.1Stv  ac_status=$?
15711.1Stv  echo "$as_me:1571: \$? = $ac_status" >&5
15721.1Stv  (exit $ac_status); }; }; then
15731.1Stv  for ac_declaration in \
15741.1Stv   ''\
15751.1Stv   '#include <stdlib.h>' \
15761.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
15771.1Stv   'extern "C" void std::exit (int); using std::exit;' \
15781.1Stv   'extern "C" void exit (int) throw ();' \
15791.1Stv   'extern "C" void exit (int);' \
15801.1Stv   'void exit (int);'
15811.1Stvdo
15821.1Stv  cat >conftest.$ac_ext <<_ACEOF
15831.1Stv#line 1583 "configure"
15841.1Stv#include "confdefs.h"
15851.1Stv#include <stdlib.h>
15861.1Stv$ac_declaration
15871.1Stvint
15881.1Stvmain ()
15891.1Stv{
15901.1Stvexit (42);
15911.1Stv  ;
15921.1Stv  return 0;
15931.1Stv}
15941.1Stv_ACEOF
15951.1Stvrm -f conftest.$ac_objext
15961.1Stvif { (eval echo "$as_me:1596: \"$ac_compile\"") >&5
15971.1Stv  (eval $ac_compile) 2>&5
15981.1Stv  ac_status=$?
15991.1Stv  echo "$as_me:1599: \$? = $ac_status" >&5
16001.1Stv  (exit $ac_status); } &&
16011.1Stv         { ac_try='test -s conftest.$ac_objext'
16021.1Stv  { (eval echo "$as_me:1602: \"$ac_try\"") >&5
16031.1Stv  (eval $ac_try) 2>&5
16041.1Stv  ac_status=$?
16051.1Stv  echo "$as_me:1605: \$? = $ac_status" >&5
16061.1Stv  (exit $ac_status); }; }; then
16071.1Stv  :
16081.1Stvelse
16091.1Stv  echo "$as_me: failed program was:" >&5
16101.1Stvcat conftest.$ac_ext >&5
16111.1Stvcontinue
16121.1Stvfi
16131.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16141.1Stv  cat >conftest.$ac_ext <<_ACEOF
16151.1Stv#line 1615 "configure"
16161.1Stv#include "confdefs.h"
16171.1Stv$ac_declaration
16181.1Stvint
16191.1Stvmain ()
16201.1Stv{
16211.1Stvexit (42);
16221.1Stv  ;
16231.1Stv  return 0;
16241.1Stv}
16251.1Stv_ACEOF
16261.1Stvrm -f conftest.$ac_objext
16271.1Stvif { (eval echo "$as_me:1627: \"$ac_compile\"") >&5
16281.1Stv  (eval $ac_compile) 2>&5
16291.1Stv  ac_status=$?
16301.1Stv  echo "$as_me:1630: \$? = $ac_status" >&5
16311.1Stv  (exit $ac_status); } &&
16321.1Stv         { ac_try='test -s conftest.$ac_objext'
16331.1Stv  { (eval echo "$as_me:1633: \"$ac_try\"") >&5
16341.1Stv  (eval $ac_try) 2>&5
16351.1Stv  ac_status=$?
16361.1Stv  echo "$as_me:1636: \$? = $ac_status" >&5
16371.1Stv  (exit $ac_status); }; }; then
16381.1Stv  break
16391.1Stvelse
16401.1Stv  echo "$as_me: failed program was:" >&5
16411.1Stvcat conftest.$ac_ext >&5
16421.1Stvfi
16431.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16441.1Stvdone
16451.1Stvrm -f conftest*
16461.1Stvif test -n "$ac_declaration"; then
16471.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16481.1Stv  echo $ac_declaration      >>confdefs.h
16491.1Stv  echo '#endif'             >>confdefs.h
16501.1Stvfi
16511.1Stv
16521.1Stvelse
16531.1Stv  echo "$as_me: failed program was:" >&5
16541.1Stvcat conftest.$ac_ext >&5
16551.1Stvfi
16561.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16571.1Stvac_ext=c
16581.1Stvac_cpp='$CPP $CPPFLAGS'
16591.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
16621.1Stv
16631.4Stvecho "$as_me:1663: checking whether byte ordering is bigendian" >&5
16641.4Stvecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16651.4Stvif test "${ac_cv_c_bigendian+set}" = set; then
16661.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
16671.4Stvelse
16681.4Stv  ac_cv_c_bigendian=unknown
16691.4Stv# See if sys/param.h defines the BYTE_ORDER macro.
16701.4Stvcat >conftest.$ac_ext <<_ACEOF
16711.4Stv#line 1671 "configure"
16721.4Stv#include "confdefs.h"
16731.4Stv#include <sys/types.h>
16741.4Stv#include <sys/param.h>
16751.4Stv
16761.4Stvint
16771.4Stvmain ()
16781.4Stv{
16791.4Stv#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16801.4Stv bogus endian macros
16811.4Stv#endif
16821.4Stv
16831.4Stv  ;
16841.4Stv  return 0;
16851.4Stv}
16861.4Stv_ACEOF
16871.4Stvrm -f conftest.$ac_objext
16881.4Stvif { (eval echo "$as_me:1688: \"$ac_compile\"") >&5
16891.4Stv  (eval $ac_compile) 2>&5
16901.4Stv  ac_status=$?
16911.4Stv  echo "$as_me:1691: \$? = $ac_status" >&5
16921.4Stv  (exit $ac_status); } &&
16931.4Stv         { ac_try='test -s conftest.$ac_objext'
16941.4Stv  { (eval echo "$as_me:1694: \"$ac_try\"") >&5
16951.4Stv  (eval $ac_try) 2>&5
16961.4Stv  ac_status=$?
16971.4Stv  echo "$as_me:1697: \$? = $ac_status" >&5
16981.4Stv  (exit $ac_status); }; }; then
16991.4Stv  # It does; now see whether it defined to BIG_ENDIAN or not.
17001.4Stvcat >conftest.$ac_ext <<_ACEOF
17011.4Stv#line 1701 "configure"
17021.4Stv#include "confdefs.h"
17031.4Stv#include <sys/types.h>
17041.4Stv#include <sys/param.h>
17051.4Stv
17061.4Stvint
17071.4Stvmain ()
17081.4Stv{
17091.4Stv#if BYTE_ORDER != BIG_ENDIAN
17101.4Stv not big endian
17111.4Stv#endif
17121.4Stv
17131.4Stv  ;
17141.4Stv  return 0;
17151.4Stv}
17161.4Stv_ACEOF
17171.4Stvrm -f conftest.$ac_objext
17181.4Stvif { (eval echo "$as_me:1718: \"$ac_compile\"") >&5
17191.4Stv  (eval $ac_compile) 2>&5
17201.4Stv  ac_status=$?
17211.4Stv  echo "$as_me:1721: \$? = $ac_status" >&5
17221.4Stv  (exit $ac_status); } &&
17231.4Stv         { ac_try='test -s conftest.$ac_objext'
17241.4Stv  { (eval echo "$as_me:1724: \"$ac_try\"") >&5
17251.4Stv  (eval $ac_try) 2>&5
17261.4Stv  ac_status=$?
17271.4Stv  echo "$as_me:1727: \$? = $ac_status" >&5
17281.4Stv  (exit $ac_status); }; }; then
17291.4Stv  ac_cv_c_bigendian=yes
17301.4Stvelse
17311.4Stv  echo "$as_me: failed program was:" >&5
17321.4Stvcat conftest.$ac_ext >&5
17331.4Stvac_cv_c_bigendian=no
17341.4Stvfi
17351.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17361.4Stvelse
17371.4Stv  echo "$as_me: failed program was:" >&5
17381.4Stvcat conftest.$ac_ext >&5
17391.4Stvfi
17401.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17411.4Stvif test $ac_cv_c_bigendian = unknown; then
17421.4Stvif test "$cross_compiling" = yes; then
17431.4Stv  { { echo "$as_me:1743: error: cannot run test program while cross compiling" >&5
17441.4Stvecho "$as_me: error: cannot run test program while cross compiling" >&2;}
17451.4Stv   { (exit 1); exit 1; }; }
17461.4Stvelse
17471.4Stv  cat >conftest.$ac_ext <<_ACEOF
17481.4Stv#line 1748 "configure"
17491.4Stv#include "confdefs.h"
17501.4Stvint
17511.4Stvmain ()
17521.4Stv{
17531.4Stv  /* Are we little or big endian?  From Harbison&Steele.  */
17541.4Stv  union
17551.4Stv  {
17561.4Stv    long l;
17571.4Stv    char c[sizeof (long)];
17581.4Stv  } u;
17591.4Stv  u.l = 1;
17601.4Stv  exit (u.c[sizeof (long) - 1] == 1);
17611.4Stv}
17621.4Stv_ACEOF
17631.4Stvrm -f conftest$ac_exeext
17641.4Stvif { (eval echo "$as_me:1764: \"$ac_link\"") >&5
17651.4Stv  (eval $ac_link) 2>&5
17661.4Stv  ac_status=$?
17671.4Stv  echo "$as_me:1767: \$? = $ac_status" >&5
17681.4Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17691.4Stv  { (eval echo "$as_me:1769: \"$ac_try\"") >&5
17701.4Stv  (eval $ac_try) 2>&5
17711.4Stv  ac_status=$?
17721.4Stv  echo "$as_me:1772: \$? = $ac_status" >&5
17731.4Stv  (exit $ac_status); }; }; then
17741.4Stv  ac_cv_c_bigendian=no
17751.4Stvelse
17761.4Stv  echo "$as_me: program exited with status $ac_status" >&5
17771.4Stvecho "$as_me: failed program was:" >&5
17781.4Stvcat conftest.$ac_ext >&5
17791.4Stvac_cv_c_bigendian=yes
17801.4Stvfi
17811.4Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17821.4Stvfi
17831.4Stvfi
17841.4Stvfi
17851.4Stvecho "$as_me:1785: result: $ac_cv_c_bigendian" >&5
17861.4Stvecho "${ECHO_T}$ac_cv_c_bigendian" >&6
17871.4Stvif test $ac_cv_c_bigendian = yes; then
17881.4Stv
17891.4Stvcat >>confdefs.h <<\EOF
17901.4Stv#define WORDS_BIGENDIAN 1
17911.4StvEOF
17921.4Stv
17931.4Stvfi
17941.4Stv
17951.1Stvac_ext=c
17961.1Stvac_cpp='$CPP $CPPFLAGS'
17971.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17981.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
18001.6Stvecho "$as_me:1800: checking how to run the C preprocessor" >&5
18011.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
18021.1Stv# On Suns, sometimes $CPP names a directory.
18031.1Stvif test -n "$CPP" && test -d "$CPP"; then
18041.1Stv  CPP=
18051.1Stvfi
18061.1Stvif test -z "$CPP"; then
18071.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
18081.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18091.1Stvelse
18101.1Stv      # Double quotes because CPP needs to be expanded
18111.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18121.1Stv    do
18131.1Stv      ac_preproc_ok=false
18141.1Stvfor ac_c_preproc_warn_flag in '' yes
18151.1Stvdo
18161.1Stv  # Use a header file that comes with gcc, so configuring glibc
18171.1Stv  # with a fresh cross-compiler works.
18181.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
18191.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
18201.1Stv  cat >conftest.$ac_ext <<_ACEOF
18211.6Stv#line 1821 "configure"
18221.1Stv#include "confdefs.h"
18231.1Stv#include <assert.h>
18241.1Stv                     Syntax error
18251.1Stv_ACEOF
18261.6Stvif { (eval echo "$as_me:1826: \"$ac_cpp conftest.$ac_ext\"") >&5
18271.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18281.1Stv  ac_status=$?
18291.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
18301.1Stv  rm -f conftest.er1
18311.1Stv  cat conftest.err >&5
18321.6Stv  echo "$as_me:1832: \$? = $ac_status" >&5
18331.1Stv  (exit $ac_status); } >/dev/null; then
18341.1Stv  if test -s conftest.err; then
18351.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18361.1Stv  else
18371.1Stv    ac_cpp_err=
18381.1Stv  fi
18391.1Stvelse
18401.1Stv  ac_cpp_err=yes
18411.1Stvfi
18421.1Stvif test -z "$ac_cpp_err"; then
18431.1Stv  :
18441.1Stvelse
18451.1Stv  echo "$as_me: failed program was:" >&5
18461.1Stv  cat conftest.$ac_ext >&5
18471.1Stv  # Broken: fails on valid input.
18481.1Stvcontinue
18491.1Stvfi
18501.1Stvrm -f conftest.err conftest.$ac_ext
18511.1Stv
18521.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18531.1Stv  # can be detected and how.
18541.1Stv  cat >conftest.$ac_ext <<_ACEOF
18551.6Stv#line 1855 "configure"
18561.1Stv#include "confdefs.h"
18571.1Stv#include <ac_nonexistent.h>
18581.1Stv_ACEOF
18591.6Stvif { (eval echo "$as_me:1859: \"$ac_cpp conftest.$ac_ext\"") >&5
18601.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18611.1Stv  ac_status=$?
18621.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
18631.1Stv  rm -f conftest.er1
18641.1Stv  cat conftest.err >&5
18651.6Stv  echo "$as_me:1865: \$? = $ac_status" >&5
18661.1Stv  (exit $ac_status); } >/dev/null; then
18671.1Stv  if test -s conftest.err; then
18681.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18691.1Stv  else
18701.1Stv    ac_cpp_err=
18711.1Stv  fi
18721.1Stvelse
18731.1Stv  ac_cpp_err=yes
18741.1Stvfi
18751.1Stvif test -z "$ac_cpp_err"; then
18761.1Stv  # Broken: success on invalid input.
18771.1Stvcontinue
18781.1Stvelse
18791.1Stv  echo "$as_me: failed program was:" >&5
18801.1Stv  cat conftest.$ac_ext >&5
18811.1Stv  # Passes both tests.
18821.1Stvac_preproc_ok=:
18831.1Stvbreak
18841.1Stvfi
18851.1Stvrm -f conftest.err conftest.$ac_ext
18861.1Stv
18871.1Stvdone
18881.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18891.1Stvrm -f conftest.err conftest.$ac_ext
18901.1Stvif $ac_preproc_ok; then
18911.1Stv  break
18921.1Stvfi
18931.1Stv
18941.1Stv    done
18951.1Stv    ac_cv_prog_CPP=$CPP
18961.1Stv
18971.1Stvfi
18981.1Stv  CPP=$ac_cv_prog_CPP
18991.1Stvelse
19001.1Stv  ac_cv_prog_CPP=$CPP
19011.1Stvfi
19021.6Stvecho "$as_me:1902: result: $CPP" >&5
19031.1Stvecho "${ECHO_T}$CPP" >&6
19041.1Stvac_preproc_ok=false
19051.1Stvfor ac_c_preproc_warn_flag in '' yes
19061.1Stvdo
19071.1Stv  # Use a header file that comes with gcc, so configuring glibc
19081.1Stv  # with a fresh cross-compiler works.
19091.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
19101.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
19111.1Stv  cat >conftest.$ac_ext <<_ACEOF
19121.6Stv#line 1912 "configure"
19131.1Stv#include "confdefs.h"
19141.1Stv#include <assert.h>
19151.1Stv                     Syntax error
19161.1Stv_ACEOF
19171.6Stvif { (eval echo "$as_me:1917: \"$ac_cpp conftest.$ac_ext\"") >&5
19181.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19191.1Stv  ac_status=$?
19201.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19211.1Stv  rm -f conftest.er1
19221.1Stv  cat conftest.err >&5
19231.6Stv  echo "$as_me:1923: \$? = $ac_status" >&5
19241.1Stv  (exit $ac_status); } >/dev/null; then
19251.1Stv  if test -s conftest.err; then
19261.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19271.1Stv  else
19281.1Stv    ac_cpp_err=
19291.1Stv  fi
19301.1Stvelse
19311.1Stv  ac_cpp_err=yes
19321.1Stvfi
19331.1Stvif test -z "$ac_cpp_err"; then
19341.1Stv  :
19351.1Stvelse
19361.1Stv  echo "$as_me: failed program was:" >&5
19371.1Stv  cat conftest.$ac_ext >&5
19381.1Stv  # Broken: fails on valid input.
19391.1Stvcontinue
19401.1Stvfi
19411.1Stvrm -f conftest.err conftest.$ac_ext
19421.1Stv
19431.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
19441.1Stv  # can be detected and how.
19451.1Stv  cat >conftest.$ac_ext <<_ACEOF
19461.6Stv#line 1946 "configure"
19471.1Stv#include "confdefs.h"
19481.1Stv#include <ac_nonexistent.h>
19491.1Stv_ACEOF
19501.6Stvif { (eval echo "$as_me:1950: \"$ac_cpp conftest.$ac_ext\"") >&5
19511.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19521.1Stv  ac_status=$?
19531.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19541.1Stv  rm -f conftest.er1
19551.1Stv  cat conftest.err >&5
19561.6Stv  echo "$as_me:1956: \$? = $ac_status" >&5
19571.1Stv  (exit $ac_status); } >/dev/null; then
19581.1Stv  if test -s conftest.err; then
19591.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19601.1Stv  else
19611.1Stv    ac_cpp_err=
19621.1Stv  fi
19631.1Stvelse
19641.1Stv  ac_cpp_err=yes
19651.1Stvfi
19661.1Stvif test -z "$ac_cpp_err"; then
19671.1Stv  # Broken: success on invalid input.
19681.1Stvcontinue
19691.1Stvelse
19701.1Stv  echo "$as_me: failed program was:" >&5
19711.1Stv  cat conftest.$ac_ext >&5
19721.1Stv  # Passes both tests.
19731.1Stvac_preproc_ok=:
19741.1Stvbreak
19751.1Stvfi
19761.1Stvrm -f conftest.err conftest.$ac_ext
19771.1Stv
19781.1Stvdone
19791.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19801.1Stvrm -f conftest.err conftest.$ac_ext
19811.1Stvif $ac_preproc_ok; then
19821.1Stv  :
19831.1Stvelse
19841.6Stv  { { echo "$as_me:1984: error: C preprocessor \"$CPP\" fails sanity check" >&5
19851.1Stvecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
19861.1Stv   { (exit 1); exit 1; }; }
19871.1Stvfi
19881.1Stv
19891.1Stvac_ext=c
19901.1Stvac_cpp='$CPP $CPPFLAGS'
19911.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19931.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
19941.1Stv
19951.6Stvecho "$as_me:1995: checking for ANSI C header files" >&5
19961.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19971.6Stvif test "${ac_cv_header_stdc+set}" = set; then
19981.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
19991.6Stvelse
20001.6Stv  cat >conftest.$ac_ext <<_ACEOF
20011.6Stv#line 2001 "configure"
20021.6Stv#include "confdefs.h"
20031.6Stv#include <stdlib.h>
20041.6Stv#include <stdarg.h>
20051.6Stv#include <string.h>
20061.6Stv#include <float.h>
20071.6Stv
20081.6Stv_ACEOF
20091.6Stvif { (eval echo "$as_me:2009: \"$ac_cpp conftest.$ac_ext\"") >&5
20101.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20111.6Stv  ac_status=$?
20121.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
20131.6Stv  rm -f conftest.er1
20141.6Stv  cat conftest.err >&5
20151.6Stv  echo "$as_me:2015: \$? = $ac_status" >&5
20161.6Stv  (exit $ac_status); } >/dev/null; then
20171.6Stv  if test -s conftest.err; then
20181.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20191.6Stv  else
20201.6Stv    ac_cpp_err=
20211.6Stv  fi
20221.6Stvelse
20231.6Stv  ac_cpp_err=yes
20241.6Stvfi
20251.6Stvif test -z "$ac_cpp_err"; then
20261.6Stv  ac_cv_header_stdc=yes
20271.6Stvelse
20281.6Stv  echo "$as_me: failed program was:" >&5
20291.6Stv  cat conftest.$ac_ext >&5
20301.6Stv  ac_cv_header_stdc=no
20311.6Stvfi
20321.6Stvrm -f conftest.err conftest.$ac_ext
20331.6Stv
20341.6Stvif test $ac_cv_header_stdc = yes; then
20351.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20361.6Stv  cat >conftest.$ac_ext <<_ACEOF
20371.6Stv#line 2037 "configure"
20381.6Stv#include "confdefs.h"
20391.6Stv#include <string.h>
20401.6Stv
20411.6Stv_ACEOF
20421.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20431.6Stv  egrep "memchr" >/dev/null 2>&1; then
20441.6Stv  :
20451.6Stvelse
20461.6Stv  ac_cv_header_stdc=no
20471.6Stvfi
20481.6Stvrm -f conftest*
20491.6Stv
20501.6Stvfi
20511.6Stv
20521.6Stvif test $ac_cv_header_stdc = yes; then
20531.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20541.6Stv  cat >conftest.$ac_ext <<_ACEOF
20551.6Stv#line 2055 "configure"
20561.6Stv#include "confdefs.h"
20571.6Stv#include <stdlib.h>
20581.6Stv
20591.6Stv_ACEOF
20601.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20611.6Stv  egrep "free" >/dev/null 2>&1; then
20621.6Stv  :
20631.6Stvelse
20641.6Stv  ac_cv_header_stdc=no
20651.6Stvfi
20661.6Stvrm -f conftest*
20671.6Stv
20681.6Stvfi
20691.6Stv
20701.6Stvif test $ac_cv_header_stdc = yes; then
20711.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20721.6Stv  if test "$cross_compiling" = yes; then
20731.6Stv  :
20741.6Stvelse
20751.6Stv  cat >conftest.$ac_ext <<_ACEOF
20761.6Stv#line 2076 "configure"
20771.6Stv#include "confdefs.h"
20781.6Stv#include <ctype.h>
20791.6Stv#if ((' ' & 0x0FF) == 0x020)
20801.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20811.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20821.6Stv#else
20831.6Stv# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
20841.6Stv                     || ('j' <= (c) && (c) <= 'r') \
20851.6Stv                     || ('s' <= (c) && (c) <= 'z'))
20861.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20871.6Stv#endif
20881.6Stv
20891.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20901.6Stvint
20911.6Stvmain ()
20921.6Stv{
20931.6Stv  int i;
20941.6Stv  for (i = 0; i < 256; i++)
20951.6Stv    if (XOR (islower (i), ISLOWER (i))
20961.6Stv        || toupper (i) != TOUPPER (i))
20971.6Stv      exit(2);
20981.6Stv  exit (0);
20991.6Stv}
21001.6Stv_ACEOF
21011.6Stvrm -f conftest$ac_exeext
21021.6Stvif { (eval echo "$as_me:2102: \"$ac_link\"") >&5
21031.6Stv  (eval $ac_link) 2>&5
21041.6Stv  ac_status=$?
21051.6Stv  echo "$as_me:2105: \$? = $ac_status" >&5
21061.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21071.6Stv  { (eval echo "$as_me:2107: \"$ac_try\"") >&5
21081.6Stv  (eval $ac_try) 2>&5
21091.6Stv  ac_status=$?
21101.6Stv  echo "$as_me:2110: \$? = $ac_status" >&5
21111.6Stv  (exit $ac_status); }; }; then
21121.6Stv  :
21131.6Stvelse
21141.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21151.6Stvecho "$as_me: failed program was:" >&5
21161.6Stvcat conftest.$ac_ext >&5
21171.6Stvac_cv_header_stdc=no
21181.6Stvfi
21191.6Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21201.6Stvfi
21211.6Stvfi
21221.6Stvfi
21231.6Stvecho "$as_me:2123: result: $ac_cv_header_stdc" >&5
21241.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
21251.6Stvif test $ac_cv_header_stdc = yes; then
21261.6Stv
21271.6Stvcat >>confdefs.h <<\EOF
21281.6Stv#define STDC_HEADERS 1
21291.6StvEOF
21301.6Stv
21311.6Stvfi
21321.6Stv
21331.6Stv# Confirm existence of zlib.  (This is available as a default install
21341.6Stv# option on many OS's; this could be added as a reachover build in the
21351.6Stv# future.)
21361.6Stvecho "$as_me:2136: checking for zlib.h" >&5
21371.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21381.6Stvif test "${ac_cv_header_zlib_h+set}" = set; then
21391.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21401.4Stvelse
21411.4Stv  cat >conftest.$ac_ext <<_ACEOF
21421.6Stv#line 2142 "configure"
21431.4Stv#include "confdefs.h"
21441.6Stv#include <zlib.h>
21451.4Stv_ACEOF
21461.6Stvif { (eval echo "$as_me:2146: \"$ac_cpp conftest.$ac_ext\"") >&5
21471.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21481.4Stv  ac_status=$?
21491.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
21501.4Stv  rm -f conftest.er1
21511.4Stv  cat conftest.err >&5
21521.6Stv  echo "$as_me:2152: \$? = $ac_status" >&5
21531.4Stv  (exit $ac_status); } >/dev/null; then
21541.4Stv  if test -s conftest.err; then
21551.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
21561.4Stv  else
21571.4Stv    ac_cpp_err=
21581.4Stv  fi
21591.4Stvelse
21601.4Stv  ac_cpp_err=yes
21611.4Stvfi
21621.4Stvif test -z "$ac_cpp_err"; then
21631.6Stv  ac_cv_header_zlib_h=yes
21641.4Stvelse
21651.4Stv  echo "$as_me: failed program was:" >&5
21661.4Stv  cat conftest.$ac_ext >&5
21671.6Stv  ac_cv_header_zlib_h=no
21681.4Stvfi
21691.4Stvrm -f conftest.err conftest.$ac_ext
21701.4Stvfi
21711.6Stvecho "$as_me:2171: result: $ac_cv_header_zlib_h" >&5
21721.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
21731.6Stvif test $ac_cv_header_zlib_h = yes; then
21741.6Stv  :
21751.6Stvelse
21761.6Stv  { { echo "$as_me:2176: error: zlib must be installed in a compiler-visible path" >&5
21771.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
21781.6Stv   { (exit 1); exit 1; }; }
21791.6Stvfi
21801.6Stv
21811.6Stvecho "$as_me:2181: checking for gzdopen in -lz" >&5
21821.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
21831.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then
21841.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21851.6Stvelse
21861.6Stv  ac_check_lib_save_LIBS=$LIBS
21871.6StvLIBS="-lz  $LIBS"
21881.6Stvcat >conftest.$ac_ext <<_ACEOF
21891.6Stv#line 2189 "configure"
21901.6Stv#include "confdefs.h"
21911.6Stv
21921.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
21931.6Stv#ifdef __cplusplus
21941.6Stvextern "C"
21951.6Stv#endif
21961.6Stv/* We use char because int might match the return type of a gcc2
21971.6Stv   builtin and then its argument prototype would still apply.  */
21981.6Stvchar gzdopen ();
21991.6Stvint
22001.6Stvmain ()
22011.6Stv{
22021.6Stvgzdopen ();
22031.6Stv  ;
22041.6Stv  return 0;
22051.6Stv}
22061.6Stv_ACEOF
22071.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22081.6Stvif { (eval echo "$as_me:2208: \"$ac_link\"") >&5
22091.6Stv  (eval $ac_link) 2>&5
22101.6Stv  ac_status=$?
22111.6Stv  echo "$as_me:2211: \$? = $ac_status" >&5
22121.6Stv  (exit $ac_status); } &&
22131.6Stv         { ac_try='test -s conftest$ac_exeext'
22141.6Stv  { (eval echo "$as_me:2214: \"$ac_try\"") >&5
22151.6Stv  (eval $ac_try) 2>&5
22161.6Stv  ac_status=$?
22171.6Stv  echo "$as_me:2217: \$? = $ac_status" >&5
22181.6Stv  (exit $ac_status); }; }; then
22191.6Stv  ac_cv_lib_z_gzdopen=yes
22201.6Stvelse
22211.6Stv  echo "$as_me: failed program was:" >&5
22221.6Stvcat conftest.$ac_ext >&5
22231.6Stvac_cv_lib_z_gzdopen=no
22241.6Stvfi
22251.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22261.6StvLIBS=$ac_check_lib_save_LIBS
22271.6Stvfi
22281.6Stvecho "$as_me:2228: result: $ac_cv_lib_z_gzdopen" >&5
22291.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
22301.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
22311.4Stv  cat >>confdefs.h <<EOF
22321.6Stv#define HAVE_LIBZ 1
22331.4StvEOF
22341.4Stv
22351.6Stv  LIBS="-lz $LIBS"
22361.6Stv
22371.4Stvelse
22381.6Stv  { { echo "$as_me:2238: error: zlib must be installed in a compiler-visible path" >&5
22391.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22401.4Stv   { (exit 1); exit 1; }; }
22411.4Stvfi
22421.4Stv
22431.6Stv# Make sure certain required headers are available.
22441.6Stv# These are not necessarily required by the code, but they are not
22451.6Stv# currently conditionalized.
22461.4Stv
22471.6Stvfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
22481.7Stv	sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
22491.6Stv	assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
22501.6Stv	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
22511.6Stv	unistd.h
22521.4Stvdo
22531.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22541.6Stvecho "$as_me:2254: checking for $ac_header" >&5
22551.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22561.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
22571.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22581.4Stvelse
22591.4Stv  cat >conftest.$ac_ext <<_ACEOF
22601.6Stv#line 2260 "configure"
22611.4Stv#include "confdefs.h"
22621.4Stv#include <$ac_header>
22631.4Stv_ACEOF
22641.6Stvif { (eval echo "$as_me:2264: \"$ac_cpp conftest.$ac_ext\"") >&5
22651.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22661.4Stv  ac_status=$?
22671.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
22681.4Stv  rm -f conftest.er1
22691.4Stv  cat conftest.err >&5
22701.6Stv  echo "$as_me:2270: \$? = $ac_status" >&5
22711.4Stv  (exit $ac_status); } >/dev/null; then
22721.4Stv  if test -s conftest.err; then
22731.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
22741.4Stv  else
22751.4Stv    ac_cpp_err=
22761.4Stv  fi
22771.4Stvelse
22781.6Stv  ac_cpp_err=yes
22791.6Stvfi
22801.6Stvif test -z "$ac_cpp_err"; then
22811.6Stv  eval "$as_ac_Header=yes"
22821.6Stvelse
22831.6Stv  echo "$as_me: failed program was:" >&5
22841.6Stv  cat conftest.$ac_ext >&5
22851.6Stv  eval "$as_ac_Header=no"
22861.6Stvfi
22871.6Stvrm -f conftest.err conftest.$ac_ext
22881.6Stvfi
22891.6Stvecho "$as_me:2289: result: `eval echo '${'$as_ac_Header'}'`" >&5
22901.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22911.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
22921.6Stv  cat >>confdefs.h <<EOF
22931.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22941.6StvEOF
22951.6Stv
22961.6Stvelse
22971.6Stv  { { echo "$as_me:2297: error: standard system header file not found" >&5
22981.6Stvecho "$as_me: error: standard system header file not found" >&2;}
22991.6Stv   { (exit 1); exit 1; }; }
23001.6Stvfi
23011.6Stvdone
23021.6Stv
23031.6Stv# Find headers that may not be available.
23041.6Stv
23051.6Stvac_header_dirent=no
23061.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23071.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23081.6Stvecho "$as_me:2308: checking for $ac_hdr that defines DIR" >&5
23091.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23101.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23111.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23121.6Stvelse
23131.6Stv  cat >conftest.$ac_ext <<_ACEOF
23141.6Stv#line 2314 "configure"
23151.6Stv#include "confdefs.h"
23161.6Stv#include <sys/types.h>
23171.6Stv#include <$ac_hdr>
23181.6Stv
23191.6Stvint
23201.6Stvmain ()
23211.6Stv{
23221.6Stvif ((DIR *) 0)
23231.6Stvreturn 0;
23241.6Stv  ;
23251.6Stv  return 0;
23261.6Stv}
23271.6Stv_ACEOF
23281.6Stvrm -f conftest.$ac_objext
23291.6Stvif { (eval echo "$as_me:2329: \"$ac_compile\"") >&5
23301.6Stv  (eval $ac_compile) 2>&5
23311.6Stv  ac_status=$?
23321.6Stv  echo "$as_me:2332: \$? = $ac_status" >&5
23331.6Stv  (exit $ac_status); } &&
23341.6Stv         { ac_try='test -s conftest.$ac_objext'
23351.6Stv  { (eval echo "$as_me:2335: \"$ac_try\"") >&5
23361.6Stv  (eval $ac_try) 2>&5
23371.6Stv  ac_status=$?
23381.6Stv  echo "$as_me:2338: \$? = $ac_status" >&5
23391.6Stv  (exit $ac_status); }; }; then
23401.6Stv  eval "$as_ac_Header=yes"
23411.6Stvelse
23421.6Stv  echo "$as_me: failed program was:" >&5
23431.6Stvcat conftest.$ac_ext >&5
23441.6Stveval "$as_ac_Header=no"
23451.6Stvfi
23461.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
23471.6Stvfi
23481.6Stvecho "$as_me:2348: result: `eval echo '${'$as_ac_Header'}'`" >&5
23491.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23501.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23511.6Stv  cat >>confdefs.h <<EOF
23521.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
23531.6StvEOF
23541.6Stv
23551.6Stvac_header_dirent=$ac_hdr; break
23561.6Stvfi
23571.6Stv
23581.6Stvdone
23591.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
23601.6Stvif test $ac_header_dirent = dirent.h; then
23611.6Stv  echo "$as_me:2361: checking for opendir in -ldir" >&5
23621.6Stvecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
23631.6Stvif test "${ac_cv_lib_dir_opendir+set}" = set; then
23641.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23651.6Stvelse
23661.6Stv  ac_check_lib_save_LIBS=$LIBS
23671.6StvLIBS="-ldir  $LIBS"
23681.6Stvcat >conftest.$ac_ext <<_ACEOF
23691.6Stv#line 2369 "configure"
23701.6Stv#include "confdefs.h"
23711.6Stv
23721.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
23731.6Stv#ifdef __cplusplus
23741.6Stvextern "C"
23751.6Stv#endif
23761.6Stv/* We use char because int might match the return type of a gcc2
23771.6Stv   builtin and then its argument prototype would still apply.  */
23781.6Stvchar opendir ();
23791.6Stvint
23801.6Stvmain ()
23811.6Stv{
23821.6Stvopendir ();
23831.6Stv  ;
23841.6Stv  return 0;
23851.6Stv}
23861.6Stv_ACEOF
23871.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
23881.6Stvif { (eval echo "$as_me:2388: \"$ac_link\"") >&5
23891.6Stv  (eval $ac_link) 2>&5
23901.6Stv  ac_status=$?
23911.6Stv  echo "$as_me:2391: \$? = $ac_status" >&5
23921.6Stv  (exit $ac_status); } &&
23931.6Stv         { ac_try='test -s conftest$ac_exeext'
23941.6Stv  { (eval echo "$as_me:2394: \"$ac_try\"") >&5
23951.6Stv  (eval $ac_try) 2>&5
23961.6Stv  ac_status=$?
23971.6Stv  echo "$as_me:2397: \$? = $ac_status" >&5
23981.6Stv  (exit $ac_status); }; }; then
23991.6Stv  ac_cv_lib_dir_opendir=yes
24001.6Stvelse
24011.6Stv  echo "$as_me: failed program was:" >&5
24021.6Stvcat conftest.$ac_ext >&5
24031.6Stvac_cv_lib_dir_opendir=no
24041.6Stvfi
24051.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24061.6StvLIBS=$ac_check_lib_save_LIBS
24071.6Stvfi
24081.6Stvecho "$as_me:2408: result: $ac_cv_lib_dir_opendir" >&5
24091.6Stvecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24101.6Stvif test $ac_cv_lib_dir_opendir = yes; then
24111.6Stv  LIBS="$LIBS -ldir"
24121.6Stvfi
24131.6Stv
24141.6Stvelse
24151.6Stv  echo "$as_me:2415: checking for opendir in -lx" >&5
24161.6Stvecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
24171.6Stvif test "${ac_cv_lib_x_opendir+set}" = set; then
24181.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24191.6Stvelse
24201.6Stv  ac_check_lib_save_LIBS=$LIBS
24211.6StvLIBS="-lx  $LIBS"
24221.6Stvcat >conftest.$ac_ext <<_ACEOF
24231.6Stv#line 2423 "configure"
24241.6Stv#include "confdefs.h"
24251.6Stv
24261.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24271.6Stv#ifdef __cplusplus
24281.6Stvextern "C"
24291.6Stv#endif
24301.6Stv/* We use char because int might match the return type of a gcc2
24311.6Stv   builtin and then its argument prototype would still apply.  */
24321.6Stvchar opendir ();
24331.6Stvint
24341.6Stvmain ()
24351.6Stv{
24361.6Stvopendir ();
24371.6Stv  ;
24381.6Stv  return 0;
24391.6Stv}
24401.6Stv_ACEOF
24411.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24421.6Stvif { (eval echo "$as_me:2442: \"$ac_link\"") >&5
24431.6Stv  (eval $ac_link) 2>&5
24441.6Stv  ac_status=$?
24451.6Stv  echo "$as_me:2445: \$? = $ac_status" >&5
24461.6Stv  (exit $ac_status); } &&
24471.6Stv         { ac_try='test -s conftest$ac_exeext'
24481.6Stv  { (eval echo "$as_me:2448: \"$ac_try\"") >&5
24491.6Stv  (eval $ac_try) 2>&5
24501.6Stv  ac_status=$?
24511.6Stv  echo "$as_me:2451: \$? = $ac_status" >&5
24521.6Stv  (exit $ac_status); }; }; then
24531.6Stv  ac_cv_lib_x_opendir=yes
24541.6Stvelse
24551.6Stv  echo "$as_me: failed program was:" >&5
24561.6Stvcat conftest.$ac_ext >&5
24571.6Stvac_cv_lib_x_opendir=no
24581.6Stvfi
24591.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24601.6StvLIBS=$ac_check_lib_save_LIBS
24611.6Stvfi
24621.6Stvecho "$as_me:2462: result: $ac_cv_lib_x_opendir" >&5
24631.6Stvecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
24641.6Stvif test $ac_cv_lib_x_opendir = yes; then
24651.6Stv  LIBS="$LIBS -lx"
24661.6Stvfi
24671.6Stv
24681.6Stvfi
24691.6Stv
24701.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \
24711.17Stv	features.h malloc.h stddef.h
24721.6Stvdo
24731.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24741.16Stvecho "$as_me:2474: checking for $ac_header" >&5
24751.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24761.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
24771.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24781.6Stvelse
24791.6Stv  cat >conftest.$ac_ext <<_ACEOF
24801.16Stv#line 2480 "configure"
24811.6Stv#include "confdefs.h"
24821.6Stv#include <$ac_header>
24831.6Stv_ACEOF
24841.16Stvif { (eval echo "$as_me:2484: \"$ac_cpp conftest.$ac_ext\"") >&5
24851.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24861.6Stv  ac_status=$?
24871.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
24881.6Stv  rm -f conftest.er1
24891.6Stv  cat conftest.err >&5
24901.16Stv  echo "$as_me:2490: \$? = $ac_status" >&5
24911.6Stv  (exit $ac_status); } >/dev/null; then
24921.6Stv  if test -s conftest.err; then
24931.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
24941.6Stv  else
24951.6Stv    ac_cpp_err=
24961.6Stv  fi
24971.6Stvelse
24981.6Stv  ac_cpp_err=yes
24991.6Stvfi
25001.6Stvif test -z "$ac_cpp_err"; then
25011.6Stv  eval "$as_ac_Header=yes"
25021.6Stvelse
25031.6Stv  echo "$as_me: failed program was:" >&5
25041.6Stv  cat conftest.$ac_ext >&5
25051.6Stv  eval "$as_ac_Header=no"
25061.6Stvfi
25071.6Stvrm -f conftest.err conftest.$ac_ext
25081.6Stvfi
25091.16Stvecho "$as_me:2509: result: `eval echo '${'$as_ac_Header'}'`" >&5
25101.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25111.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
25121.6Stv  cat >>confdefs.h <<EOF
25131.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25141.6StvEOF
25151.6Stv
25161.6Stvfi
25171.6Stvdone
25181.6Stv
25191.18Sbjh21for ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
25201.17Stv	err.h inttypes.h libgen.h paths.h stdint.h util.h
25211.6Stvdo
25221.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25231.16Stvecho "$as_me:2523: checking for $ac_header" >&5
25241.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25251.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25261.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25271.6Stvelse
25281.6Stv  cat >conftest.$ac_ext <<_ACEOF
25291.16Stv#line 2529 "configure"
25301.6Stv#include "confdefs.h"
25311.6Stv#include <$ac_header>
25321.6Stv_ACEOF
25331.16Stvif { (eval echo "$as_me:2533: \"$ac_cpp conftest.$ac_ext\"") >&5
25341.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25351.6Stv  ac_status=$?
25361.6Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
25371.6Stv  rm -f conftest.er1
25381.6Stv  cat conftest.err >&5
25391.16Stv  echo "$as_me:2539: \$? = $ac_status" >&5
25401.6Stv  (exit $ac_status); } >/dev/null; then
25411.6Stv  if test -s conftest.err; then
25421.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25431.6Stv  else
25441.6Stv    ac_cpp_err=
25451.6Stv  fi
25461.6Stvelse
25471.6Stv  ac_cpp_err=yes
25481.6Stvfi
25491.6Stvif test -z "$ac_cpp_err"; then
25501.6Stv  eval "$as_ac_Header=yes"
25511.6Stvelse
25521.6Stv  echo "$as_me: failed program was:" >&5
25531.6Stv  cat conftest.$ac_ext >&5
25541.6Stv  eval "$as_ac_Header=no"
25551.6Stvfi
25561.6Stvrm -f conftest.err conftest.$ac_ext
25571.6Stvfi
25581.16Stvecho "$as_me:2558: result: `eval echo '${'$as_ac_Header'}'`" >&5
25591.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25601.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
25611.6Stv  cat >>confdefs.h <<EOF
25621.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25631.6StvEOF
25641.6Stv
25651.6Stvelse
25661.11Stv  test -f include/$ac_header || touch include/$ac_header
25671.6Stvfi
25681.6Stvdone
25691.6Stv
25701.12Sbjh21for ac_header in rpc/types.h fts.h getopt.h md2.h md4.h md5.h netconfig.h \
25711.12Sbjh21	rmd160.h sha1.h vis.h
25721.7Stvdo
25731.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25741.16Stvecho "$as_me:2574: checking for $ac_header" >&5
25751.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25761.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25771.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25781.7Stvelse
25791.7Stv  cat >conftest.$ac_ext <<_ACEOF
25801.16Stv#line 2580 "configure"
25811.7Stv#include "confdefs.h"
25821.7Stv#include <$ac_header>
25831.7Stv_ACEOF
25841.16Stvif { (eval echo "$as_me:2584: \"$ac_cpp conftest.$ac_ext\"") >&5
25851.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25861.7Stv  ac_status=$?
25871.7Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
25881.7Stv  rm -f conftest.er1
25891.7Stv  cat conftest.err >&5
25901.16Stv  echo "$as_me:2590: \$? = $ac_status" >&5
25911.7Stv  (exit $ac_status); } >/dev/null; then
25921.7Stv  if test -s conftest.err; then
25931.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25941.7Stv  else
25951.7Stv    ac_cpp_err=
25961.7Stv  fi
25971.7Stvelse
25981.7Stv  ac_cpp_err=yes
25991.7Stvfi
26001.7Stvif test -z "$ac_cpp_err"; then
26011.7Stv  eval "$as_ac_Header=yes"
26021.7Stvelse
26031.7Stv  echo "$as_me: failed program was:" >&5
26041.7Stv  cat conftest.$ac_ext >&5
26051.7Stv  eval "$as_ac_Header=no"
26061.7Stvfi
26071.7Stvrm -f conftest.err conftest.$ac_ext
26081.7Stvfi
26091.16Stvecho "$as_me:2609: result: `eval echo '${'$as_ac_Header'}'`" >&5
26101.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26111.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26121.7Stv  cat >>confdefs.h <<EOF
26131.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26141.7StvEOF
26151.7Stv
26161.7Stvelse
26171.11Stv  echo '#include "config.h"' >include/$ac_header.new
26181.11Stv	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
26191.11Stv	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
26201.11Stv		rm -f include/$ac_header.new
26211.11Stv	else
26221.11Stv		mv -f include/$ac_header.new include/$ac_header
26231.11Stv	fi
26241.7Stvfi
26251.7Stvdone
26261.7Stv
26271.6Stv# Typedefs.
26281.6Stv# On IRIX 5.3, sys/types and inttypes.h are conflicting.
26291.6Stv
26301.6Stvfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
26311.6Stv                  inttypes.h stdint.h unistd.h
26321.6Stvdo
26331.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26341.16Stvecho "$as_me:2634: checking for $ac_header" >&5
26351.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26361.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26371.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26381.6Stvelse
26391.6Stv  cat >conftest.$ac_ext <<_ACEOF
26401.16Stv#line 2640 "configure"
26411.6Stv#include "confdefs.h"
26421.6Stv$ac_includes_default
26431.6Stv#include <$ac_header>
26441.6Stv_ACEOF
26451.6Stvrm -f conftest.$ac_objext
26461.16Stvif { (eval echo "$as_me:2646: \"$ac_compile\"") >&5
26471.6Stv  (eval $ac_compile) 2>&5
26481.6Stv  ac_status=$?
26491.16Stv  echo "$as_me:2649: \$? = $ac_status" >&5
26501.6Stv  (exit $ac_status); } &&
26511.6Stv         { ac_try='test -s conftest.$ac_objext'
26521.16Stv  { (eval echo "$as_me:2652: \"$ac_try\"") >&5
26531.6Stv  (eval $ac_try) 2>&5
26541.6Stv  ac_status=$?
26551.16Stv  echo "$as_me:2655: \$? = $ac_status" >&5
26561.6Stv  (exit $ac_status); }; }; then
26571.6Stv  eval "$as_ac_Header=yes"
26581.6Stvelse
26591.6Stv  echo "$as_me: failed program was:" >&5
26601.6Stvcat conftest.$ac_ext >&5
26611.6Stveval "$as_ac_Header=no"
26621.6Stvfi
26631.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
26641.6Stvfi
26651.16Stvecho "$as_me:2665: result: `eval echo '${'$as_ac_Header'}'`" >&5
26661.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26671.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26681.6Stv  cat >>confdefs.h <<EOF
26691.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26701.6StvEOF
26711.6Stv
26721.6Stvfi
26731.6Stvdone
26741.6Stv
26751.16Stvecho "$as_me:2675: checking for size_t" >&5
26761.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
26771.6Stvif test "${ac_cv_type_size_t+set}" = set; then
26781.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26791.6Stvelse
26801.6Stv  cat >conftest.$ac_ext <<_ACEOF
26811.16Stv#line 2681 "configure"
26821.6Stv#include "confdefs.h"
26831.6Stv$ac_includes_default
26841.6Stvint
26851.6Stvmain ()
26861.6Stv{
26871.6Stvif ((size_t *) 0)
26881.6Stv  return 0;
26891.6Stvif (sizeof (size_t))
26901.6Stv  return 0;
26911.6Stv  ;
26921.6Stv  return 0;
26931.6Stv}
26941.6Stv_ACEOF
26951.6Stvrm -f conftest.$ac_objext
26961.16Stvif { (eval echo "$as_me:2696: \"$ac_compile\"") >&5
26971.6Stv  (eval $ac_compile) 2>&5
26981.6Stv  ac_status=$?
26991.16Stv  echo "$as_me:2699: \$? = $ac_status" >&5
27001.6Stv  (exit $ac_status); } &&
27011.6Stv         { ac_try='test -s conftest.$ac_objext'
27021.16Stv  { (eval echo "$as_me:2702: \"$ac_try\"") >&5
27031.6Stv  (eval $ac_try) 2>&5
27041.6Stv  ac_status=$?
27051.16Stv  echo "$as_me:2705: \$? = $ac_status" >&5
27061.6Stv  (exit $ac_status); }; }; then
27071.6Stv  ac_cv_type_size_t=yes
27081.6Stvelse
27091.6Stv  echo "$as_me: failed program was:" >&5
27101.6Stvcat conftest.$ac_ext >&5
27111.6Stvac_cv_type_size_t=no
27121.6Stvfi
27131.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27141.6Stvfi
27151.16Stvecho "$as_me:2715: result: $ac_cv_type_size_t" >&5
27161.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
27171.6Stvif test $ac_cv_type_size_t = yes; then
27181.6Stv  :
27191.6Stvelse
27201.6Stv
27211.6Stvcat >>confdefs.h <<EOF
27221.6Stv#define size_t unsigned
27231.6StvEOF
27241.6Stv
27251.6Stvfi
27261.6Stv
27271.16Stvecho "$as_me:2727: checking for id_t" >&5
27281.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
27291.6Stvif test "${ac_cv_type_id_t+set}" = set; then
27301.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27311.6Stvelse
27321.6Stv  cat >conftest.$ac_ext <<_ACEOF
27331.16Stv#line 2733 "configure"
27341.6Stv#include "confdefs.h"
27351.6Stv$ac_includes_default
27361.6Stvint
27371.6Stvmain ()
27381.6Stv{
27391.6Stvif ((id_t *) 0)
27401.6Stv  return 0;
27411.6Stvif (sizeof (id_t))
27421.6Stv  return 0;
27431.6Stv  ;
27441.6Stv  return 0;
27451.6Stv}
27461.6Stv_ACEOF
27471.6Stvrm -f conftest.$ac_objext
27481.16Stvif { (eval echo "$as_me:2748: \"$ac_compile\"") >&5
27491.6Stv  (eval $ac_compile) 2>&5
27501.6Stv  ac_status=$?
27511.16Stv  echo "$as_me:2751: \$? = $ac_status" >&5
27521.6Stv  (exit $ac_status); } &&
27531.6Stv         { ac_try='test -s conftest.$ac_objext'
27541.16Stv  { (eval echo "$as_me:2754: \"$ac_try\"") >&5
27551.6Stv  (eval $ac_try) 2>&5
27561.6Stv  ac_status=$?
27571.16Stv  echo "$as_me:2757: \$? = $ac_status" >&5
27581.6Stv  (exit $ac_status); }; }; then
27591.6Stv  ac_cv_type_id_t=yes
27601.6Stvelse
27611.6Stv  echo "$as_me: failed program was:" >&5
27621.6Stvcat conftest.$ac_ext >&5
27631.6Stvac_cv_type_id_t=no
27641.6Stvfi
27651.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27661.6Stvfi
27671.16Stvecho "$as_me:2767: result: $ac_cv_type_id_t" >&5
27681.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
27691.6Stvif test $ac_cv_type_id_t = yes; then
27701.6Stv
27711.6Stvcat >>confdefs.h <<EOF
27721.6Stv#define HAVE_ID_T 1
27731.6StvEOF
27741.6Stv
27751.6Stvfi
27761.16Stvecho "$as_me:2776: checking for long long" >&5
27771.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
27781.6Stvif test "${ac_cv_type_long_long+set}" = set; then
27791.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27801.6Stvelse
27811.6Stv  cat >conftest.$ac_ext <<_ACEOF
27821.16Stv#line 2782 "configure"
27831.6Stv#include "confdefs.h"
27841.6Stv$ac_includes_default
27851.6Stvint
27861.6Stvmain ()
27871.6Stv{
27881.6Stvif ((long long *) 0)
27891.6Stv  return 0;
27901.6Stvif (sizeof (long long))
27911.6Stv  return 0;
27921.6Stv  ;
27931.6Stv  return 0;
27941.6Stv}
27951.6Stv_ACEOF
27961.6Stvrm -f conftest.$ac_objext
27971.16Stvif { (eval echo "$as_me:2797: \"$ac_compile\"") >&5
27981.6Stv  (eval $ac_compile) 2>&5
27991.6Stv  ac_status=$?
28001.16Stv  echo "$as_me:2800: \$? = $ac_status" >&5
28011.6Stv  (exit $ac_status); } &&
28021.6Stv         { ac_try='test -s conftest.$ac_objext'
28031.16Stv  { (eval echo "$as_me:2803: \"$ac_try\"") >&5
28041.6Stv  (eval $ac_try) 2>&5
28051.6Stv  ac_status=$?
28061.16Stv  echo "$as_me:2806: \$? = $ac_status" >&5
28071.6Stv  (exit $ac_status); }; }; then
28081.6Stv  ac_cv_type_long_long=yes
28091.6Stvelse
28101.6Stv  echo "$as_me: failed program was:" >&5
28111.6Stvcat conftest.$ac_ext >&5
28121.6Stvac_cv_type_long_long=no
28131.6Stvfi
28141.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28151.6Stvfi
28161.16Stvecho "$as_me:2816: result: $ac_cv_type_long_long" >&5
28171.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
28181.6Stvif test $ac_cv_type_long_long = yes; then
28191.6Stv
28201.6Stvcat >>confdefs.h <<EOF
28211.6Stv#define HAVE_LONG_LONG 1
28221.6StvEOF
28231.6Stv
28241.6Stvfi
28251.16Stvecho "$as_me:2825: checking for u_quad_t" >&5
28261.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
28271.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
28281.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28291.7Stvelse
28301.7Stv  cat >conftest.$ac_ext <<_ACEOF
28311.16Stv#line 2831 "configure"
28321.7Stv#include "confdefs.h"
28331.7Stv$ac_includes_default
28341.7Stvint
28351.7Stvmain ()
28361.7Stv{
28371.7Stvif ((u_quad_t *) 0)
28381.7Stv  return 0;
28391.7Stvif (sizeof (u_quad_t))
28401.7Stv  return 0;
28411.7Stv  ;
28421.7Stv  return 0;
28431.7Stv}
28441.7Stv_ACEOF
28451.7Stvrm -f conftest.$ac_objext
28461.16Stvif { (eval echo "$as_me:2846: \"$ac_compile\"") >&5
28471.7Stv  (eval $ac_compile) 2>&5
28481.7Stv  ac_status=$?
28491.16Stv  echo "$as_me:2849: \$? = $ac_status" >&5
28501.7Stv  (exit $ac_status); } &&
28511.7Stv         { ac_try='test -s conftest.$ac_objext'
28521.16Stv  { (eval echo "$as_me:2852: \"$ac_try\"") >&5
28531.7Stv  (eval $ac_try) 2>&5
28541.7Stv  ac_status=$?
28551.16Stv  echo "$as_me:2855: \$? = $ac_status" >&5
28561.7Stv  (exit $ac_status); }; }; then
28571.7Stv  ac_cv_type_u_quad_t=yes
28581.7Stvelse
28591.7Stv  echo "$as_me: failed program was:" >&5
28601.7Stvcat conftest.$ac_ext >&5
28611.7Stvac_cv_type_u_quad_t=no
28621.7Stvfi
28631.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
28641.7Stvfi
28651.16Stvecho "$as_me:2865: result: $ac_cv_type_u_quad_t" >&5
28661.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
28671.7Stvif test $ac_cv_type_u_quad_t = yes; then
28681.7Stv
28691.7Stvcat >>confdefs.h <<EOF
28701.7Stv#define HAVE_U_QUAD_T 1
28711.7StvEOF
28721.7Stv
28731.7Stvfi
28741.6Stv
28751.16Stv	echo "$as_me:2875: checking for uint8_t" >&5
28761.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
28771.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
28781.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28791.6Stvelse
28801.6Stv  cat >conftest.$ac_ext <<_ACEOF
28811.16Stv#line 2881 "configure"
28821.6Stv#include "confdefs.h"
28831.6Stv$ac_includes_default
28841.6Stvint
28851.6Stvmain ()
28861.6Stv{
28871.9Stvif ((uint8_t *) 0)
28881.6Stv  return 0;
28891.9Stvif (sizeof (uint8_t))
28901.6Stv  return 0;
28911.6Stv  ;
28921.6Stv  return 0;
28931.6Stv}
28941.6Stv_ACEOF
28951.6Stvrm -f conftest.$ac_objext
28961.16Stvif { (eval echo "$as_me:2896: \"$ac_compile\"") >&5
28971.6Stv  (eval $ac_compile) 2>&5
28981.6Stv  ac_status=$?
28991.16Stv  echo "$as_me:2899: \$? = $ac_status" >&5
29001.6Stv  (exit $ac_status); } &&
29011.6Stv         { ac_try='test -s conftest.$ac_objext'
29021.16Stv  { (eval echo "$as_me:2902: \"$ac_try\"") >&5
29031.6Stv  (eval $ac_try) 2>&5
29041.6Stv  ac_status=$?
29051.16Stv  echo "$as_me:2905: \$? = $ac_status" >&5
29061.6Stv  (exit $ac_status); }; }; then
29071.9Stv  ac_cv_type_uint8_t=yes
29081.9Stvelse
29091.9Stv  echo "$as_me: failed program was:" >&5
29101.9Stvcat conftest.$ac_ext >&5
29111.9Stvac_cv_type_uint8_t=no
29121.9Stvfi
29131.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
29141.9Stvfi
29151.16Stvecho "$as_me:2915: result: $ac_cv_type_uint8_t" >&5
29161.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
29171.9Stvif test $ac_cv_type_uint8_t = yes; then
29181.9Stv  :
29191.9Stvelse
29201.9Stv
29211.16Stv		echo "$as_me:2921: checking for u_int8_t" >&5
29221.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
29231.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
29241.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29251.9Stvelse
29261.9Stv  cat >conftest.$ac_ext <<_ACEOF
29271.16Stv#line 2927 "configure"
29281.9Stv#include "confdefs.h"
29291.9Stv$ac_includes_default
29301.9Stvint
29311.9Stvmain ()
29321.9Stv{
29331.9Stvif ((u_int8_t *) 0)
29341.9Stv  return 0;
29351.9Stvif (sizeof (u_int8_t))
29361.9Stv  return 0;
29371.9Stv  ;
29381.9Stv  return 0;
29391.9Stv}
29401.9Stv_ACEOF
29411.9Stvrm -f conftest.$ac_objext
29421.16Stvif { (eval echo "$as_me:2942: \"$ac_compile\"") >&5
29431.9Stv  (eval $ac_compile) 2>&5
29441.9Stv  ac_status=$?
29451.16Stv  echo "$as_me:2945: \$? = $ac_status" >&5
29461.9Stv  (exit $ac_status); } &&
29471.9Stv         { ac_try='test -s conftest.$ac_objext'
29481.16Stv  { (eval echo "$as_me:2948: \"$ac_try\"") >&5
29491.9Stv  (eval $ac_try) 2>&5
29501.9Stv  ac_status=$?
29511.16Stv  echo "$as_me:2951: \$? = $ac_status" >&5
29521.9Stv  (exit $ac_status); }; }; then
29531.6Stv  ac_cv_type_u_int8_t=yes
29541.6Stvelse
29551.6Stv  echo "$as_me: failed program was:" >&5
29561.6Stvcat conftest.$ac_ext >&5
29571.6Stvac_cv_type_u_int8_t=no
29581.6Stvfi
29591.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
29601.6Stvfi
29611.16Stvecho "$as_me:2961: result: $ac_cv_type_u_int8_t" >&5
29621.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
29631.9Stvif test $ac_cv_type_u_int8_t = yes; then
29641.9Stv  cat >>confdefs.h <<\EOF
29651.9Stv#define uint8_t u_int8_t
29661.9StvEOF
29671.9Stv
29681.9Stvelse
29691.16Stv  { { echo "$as_me:2969: error: cannot find a suitable type for uint8_t" >&5
29701.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
29711.9Stv   { (exit 1); exit 1; }; }
29721.9Stvfi
29731.9Stv
29741.9Stvfi
29751.9Stv
29761.16Stv	echo "$as_me:2976: checking for u_int8_t" >&5
29771.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
29781.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
29791.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29801.9Stvelse
29811.9Stv  cat >conftest.$ac_ext <<_ACEOF
29821.16Stv#line 2982 "configure"
29831.9Stv#include "confdefs.h"
29841.9Stv$ac_includes_default
29851.9Stvint
29861.9Stvmain ()
29871.9Stv{
29881.9Stvif ((u_int8_t *) 0)
29891.9Stv  return 0;
29901.9Stvif (sizeof (u_int8_t))
29911.9Stv  return 0;
29921.9Stv  ;
29931.9Stv  return 0;
29941.9Stv}
29951.9Stv_ACEOF
29961.9Stvrm -f conftest.$ac_objext
29971.16Stvif { (eval echo "$as_me:2997: \"$ac_compile\"") >&5
29981.9Stv  (eval $ac_compile) 2>&5
29991.9Stv  ac_status=$?
30001.16Stv  echo "$as_me:3000: \$? = $ac_status" >&5
30011.9Stv  (exit $ac_status); } &&
30021.9Stv         { ac_try='test -s conftest.$ac_objext'
30031.16Stv  { (eval echo "$as_me:3003: \"$ac_try\"") >&5
30041.9Stv  (eval $ac_try) 2>&5
30051.9Stv  ac_status=$?
30061.16Stv  echo "$as_me:3006: \$? = $ac_status" >&5
30071.9Stv  (exit $ac_status); }; }; then
30081.9Stv  ac_cv_type_u_int8_t=yes
30091.9Stvelse
30101.9Stv  echo "$as_me: failed program was:" >&5
30111.9Stvcat conftest.$ac_ext >&5
30121.9Stvac_cv_type_u_int8_t=no
30131.9Stvfi
30141.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
30151.9Stvfi
30161.16Stvecho "$as_me:3016: result: $ac_cv_type_u_int8_t" >&5
30171.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
30181.6Stvif test $ac_cv_type_u_int8_t = yes; then
30191.6Stv  :
30201.6Stvelse
30211.6Stv
30221.16Stv		echo "$as_me:3022: checking for uint8_t" >&5
30231.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
30241.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
30251.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30261.6Stvelse
30271.6Stv  cat >conftest.$ac_ext <<_ACEOF
30281.16Stv#line 3028 "configure"
30291.6Stv#include "confdefs.h"
30301.6Stv$ac_includes_default
30311.6Stvint
30321.6Stvmain ()
30331.6Stv{
30341.6Stvif ((uint8_t *) 0)
30351.6Stv  return 0;
30361.6Stvif (sizeof (uint8_t))
30371.6Stv  return 0;
30381.6Stv  ;
30391.6Stv  return 0;
30401.6Stv}
30411.6Stv_ACEOF
30421.6Stvrm -f conftest.$ac_objext
30431.16Stvif { (eval echo "$as_me:3043: \"$ac_compile\"") >&5
30441.6Stv  (eval $ac_compile) 2>&5
30451.6Stv  ac_status=$?
30461.16Stv  echo "$as_me:3046: \$? = $ac_status" >&5
30471.6Stv  (exit $ac_status); } &&
30481.6Stv         { ac_try='test -s conftest.$ac_objext'
30491.16Stv  { (eval echo "$as_me:3049: \"$ac_try\"") >&5
30501.6Stv  (eval $ac_try) 2>&5
30511.6Stv  ac_status=$?
30521.16Stv  echo "$as_me:3052: \$? = $ac_status" >&5
30531.6Stv  (exit $ac_status); }; }; then
30541.6Stv  ac_cv_type_uint8_t=yes
30551.4Stvelse
30561.4Stv  echo "$as_me: failed program was:" >&5
30571.6Stvcat conftest.$ac_ext >&5
30581.6Stvac_cv_type_uint8_t=no
30591.4Stvfi
30601.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
30611.4Stvfi
30621.16Stvecho "$as_me:3062: result: $ac_cv_type_uint8_t" >&5
30631.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
30641.6Stvif test $ac_cv_type_uint8_t = yes; then
30651.6Stv  cat >>confdefs.h <<\EOF
30661.6Stv#define u_int8_t uint8_t
30671.4StvEOF
30681.4Stv
30691.6Stvelse
30701.16Stv  { { echo "$as_me:3070: error: cannot find a suitable type for u_int8_t" >&5
30711.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
30721.6Stv   { (exit 1); exit 1; }; }
30731.6Stvfi
30741.6Stv
30751.4Stvfi
30761.4Stv
30771.16Stv	echo "$as_me:3077: checking for uint16_t" >&5
30781.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
30791.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
30801.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30811.9Stvelse
30821.9Stv  cat >conftest.$ac_ext <<_ACEOF
30831.16Stv#line 3083 "configure"
30841.9Stv#include "confdefs.h"
30851.9Stv$ac_includes_default
30861.9Stvint
30871.9Stvmain ()
30881.9Stv{
30891.9Stvif ((uint16_t *) 0)
30901.9Stv  return 0;
30911.9Stvif (sizeof (uint16_t))
30921.9Stv  return 0;
30931.9Stv  ;
30941.9Stv  return 0;
30951.9Stv}
30961.9Stv_ACEOF
30971.9Stvrm -f conftest.$ac_objext
30981.16Stvif { (eval echo "$as_me:3098: \"$ac_compile\"") >&5
30991.9Stv  (eval $ac_compile) 2>&5
31001.9Stv  ac_status=$?
31011.16Stv  echo "$as_me:3101: \$? = $ac_status" >&5
31021.9Stv  (exit $ac_status); } &&
31031.9Stv         { ac_try='test -s conftest.$ac_objext'
31041.16Stv  { (eval echo "$as_me:3104: \"$ac_try\"") >&5
31051.9Stv  (eval $ac_try) 2>&5
31061.9Stv  ac_status=$?
31071.16Stv  echo "$as_me:3107: \$? = $ac_status" >&5
31081.9Stv  (exit $ac_status); }; }; then
31091.9Stv  ac_cv_type_uint16_t=yes
31101.9Stvelse
31111.9Stv  echo "$as_me: failed program was:" >&5
31121.9Stvcat conftest.$ac_ext >&5
31131.9Stvac_cv_type_uint16_t=no
31141.9Stvfi
31151.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
31161.9Stvfi
31171.16Stvecho "$as_me:3117: result: $ac_cv_type_uint16_t" >&5
31181.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
31191.9Stvif test $ac_cv_type_uint16_t = yes; then
31201.9Stv  :
31211.9Stvelse
31221.9Stv
31231.16Stv		echo "$as_me:3123: checking for u_int16_t" >&5
31241.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
31251.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
31261.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31271.9Stvelse
31281.9Stv  cat >conftest.$ac_ext <<_ACEOF
31291.16Stv#line 3129 "configure"
31301.9Stv#include "confdefs.h"
31311.9Stv$ac_includes_default
31321.9Stvint
31331.9Stvmain ()
31341.9Stv{
31351.9Stvif ((u_int16_t *) 0)
31361.9Stv  return 0;
31371.9Stvif (sizeof (u_int16_t))
31381.9Stv  return 0;
31391.9Stv  ;
31401.9Stv  return 0;
31411.9Stv}
31421.9Stv_ACEOF
31431.9Stvrm -f conftest.$ac_objext
31441.16Stvif { (eval echo "$as_me:3144: \"$ac_compile\"") >&5
31451.9Stv  (eval $ac_compile) 2>&5
31461.9Stv  ac_status=$?
31471.16Stv  echo "$as_me:3147: \$? = $ac_status" >&5
31481.9Stv  (exit $ac_status); } &&
31491.9Stv         { ac_try='test -s conftest.$ac_objext'
31501.16Stv  { (eval echo "$as_me:3150: \"$ac_try\"") >&5
31511.9Stv  (eval $ac_try) 2>&5
31521.9Stv  ac_status=$?
31531.16Stv  echo "$as_me:3153: \$? = $ac_status" >&5
31541.9Stv  (exit $ac_status); }; }; then
31551.9Stv  ac_cv_type_u_int16_t=yes
31561.9Stvelse
31571.9Stv  echo "$as_me: failed program was:" >&5
31581.9Stvcat conftest.$ac_ext >&5
31591.9Stvac_cv_type_u_int16_t=no
31601.9Stvfi
31611.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
31621.9Stvfi
31631.16Stvecho "$as_me:3163: result: $ac_cv_type_u_int16_t" >&5
31641.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
31651.9Stvif test $ac_cv_type_u_int16_t = yes; then
31661.9Stv  cat >>confdefs.h <<\EOF
31671.9Stv#define uint16_t u_int16_t
31681.9StvEOF
31691.9Stv
31701.9Stvelse
31711.16Stv  { { echo "$as_me:3171: error: cannot find a suitable type for uint16_t" >&5
31721.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
31731.9Stv   { (exit 1); exit 1; }; }
31741.9Stvfi
31751.9Stv
31761.9Stvfi
31771.9Stv
31781.16Stv	echo "$as_me:3178: checking for u_int16_t" >&5
31791.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
31801.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
31811.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31821.1Stvelse
31831.1Stv  cat >conftest.$ac_ext <<_ACEOF
31841.16Stv#line 3184 "configure"
31851.1Stv#include "confdefs.h"
31861.6Stv$ac_includes_default
31871.6Stvint
31881.6Stvmain ()
31891.6Stv{
31901.6Stvif ((u_int16_t *) 0)
31911.6Stv  return 0;
31921.6Stvif (sizeof (u_int16_t))
31931.6Stv  return 0;
31941.6Stv  ;
31951.6Stv  return 0;
31961.6Stv}
31971.1Stv_ACEOF
31981.6Stvrm -f conftest.$ac_objext
31991.16Stvif { (eval echo "$as_me:3199: \"$ac_compile\"") >&5
32001.6Stv  (eval $ac_compile) 2>&5
32011.6Stv  ac_status=$?
32021.16Stv  echo "$as_me:3202: \$? = $ac_status" >&5
32031.6Stv  (exit $ac_status); } &&
32041.6Stv         { ac_try='test -s conftest.$ac_objext'
32051.16Stv  { (eval echo "$as_me:3205: \"$ac_try\"") >&5
32061.6Stv  (eval $ac_try) 2>&5
32071.1Stv  ac_status=$?
32081.16Stv  echo "$as_me:3208: \$? = $ac_status" >&5
32091.6Stv  (exit $ac_status); }; }; then
32101.6Stv  ac_cv_type_u_int16_t=yes
32111.1Stvelse
32121.6Stv  echo "$as_me: failed program was:" >&5
32131.6Stvcat conftest.$ac_ext >&5
32141.6Stvac_cv_type_u_int16_t=no
32151.6Stvfi
32161.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32171.1Stvfi
32181.16Stvecho "$as_me:3218: result: $ac_cv_type_u_int16_t" >&5
32191.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
32201.6Stvif test $ac_cv_type_u_int16_t = yes; then
32211.6Stv  :
32221.1Stvelse
32231.1Stv
32241.16Stv		echo "$as_me:3224: checking for uint16_t" >&5
32251.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
32261.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
32271.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32281.6Stvelse
32291.1Stv  cat >conftest.$ac_ext <<_ACEOF
32301.16Stv#line 3230 "configure"
32311.1Stv#include "confdefs.h"
32321.6Stv$ac_includes_default
32331.6Stvint
32341.6Stvmain ()
32351.6Stv{
32361.6Stvif ((uint16_t *) 0)
32371.6Stv  return 0;
32381.6Stvif (sizeof (uint16_t))
32391.6Stv  return 0;
32401.6Stv  ;
32411.6Stv  return 0;
32421.6Stv}
32431.1Stv_ACEOF
32441.6Stvrm -f conftest.$ac_objext
32451.16Stvif { (eval echo "$as_me:3245: \"$ac_compile\"") >&5
32461.6Stv  (eval $ac_compile) 2>&5
32471.6Stv  ac_status=$?
32481.16Stv  echo "$as_me:3248: \$? = $ac_status" >&5
32491.6Stv  (exit $ac_status); } &&
32501.6Stv         { ac_try='test -s conftest.$ac_objext'
32511.16Stv  { (eval echo "$as_me:3251: \"$ac_try\"") >&5
32521.6Stv  (eval $ac_try) 2>&5
32531.6Stv  ac_status=$?
32541.16Stv  echo "$as_me:3254: \$? = $ac_status" >&5
32551.6Stv  (exit $ac_status); }; }; then
32561.6Stv  ac_cv_type_uint16_t=yes
32571.1Stvelse
32581.6Stv  echo "$as_me: failed program was:" >&5
32591.6Stvcat conftest.$ac_ext >&5
32601.6Stvac_cv_type_uint16_t=no
32611.1Stvfi
32621.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32631.1Stvfi
32641.16Stvecho "$as_me:3264: result: $ac_cv_type_uint16_t" >&5
32651.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
32661.6Stvif test $ac_cv_type_uint16_t = yes; then
32671.6Stv  cat >>confdefs.h <<\EOF
32681.6Stv#define u_int16_t uint16_t
32691.6StvEOF
32701.1Stv
32711.1Stvelse
32721.16Stv  { { echo "$as_me:3272: error: cannot find a suitable type for u_int16_t" >&5
32731.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
32741.6Stv   { (exit 1); exit 1; }; }
32751.1Stvfi
32761.1Stv
32771.1Stvfi
32781.1Stv
32791.16Stv	echo "$as_me:3279: checking for uint32_t" >&5
32801.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
32811.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
32821.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32831.9Stvelse
32841.9Stv  cat >conftest.$ac_ext <<_ACEOF
32851.16Stv#line 3285 "configure"
32861.9Stv#include "confdefs.h"
32871.9Stv$ac_includes_default
32881.9Stvint
32891.9Stvmain ()
32901.9Stv{
32911.9Stvif ((uint32_t *) 0)
32921.9Stv  return 0;
32931.9Stvif (sizeof (uint32_t))
32941.9Stv  return 0;
32951.9Stv  ;
32961.9Stv  return 0;
32971.9Stv}
32981.9Stv_ACEOF
32991.9Stvrm -f conftest.$ac_objext
33001.16Stvif { (eval echo "$as_me:3300: \"$ac_compile\"") >&5
33011.9Stv  (eval $ac_compile) 2>&5
33021.9Stv  ac_status=$?
33031.16Stv  echo "$as_me:3303: \$? = $ac_status" >&5
33041.9Stv  (exit $ac_status); } &&
33051.9Stv         { ac_try='test -s conftest.$ac_objext'
33061.16Stv  { (eval echo "$as_me:3306: \"$ac_try\"") >&5
33071.9Stv  (eval $ac_try) 2>&5
33081.9Stv  ac_status=$?
33091.16Stv  echo "$as_me:3309: \$? = $ac_status" >&5
33101.9Stv  (exit $ac_status); }; }; then
33111.9Stv  ac_cv_type_uint32_t=yes
33121.9Stvelse
33131.9Stv  echo "$as_me: failed program was:" >&5
33141.9Stvcat conftest.$ac_ext >&5
33151.9Stvac_cv_type_uint32_t=no
33161.9Stvfi
33171.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33181.9Stvfi
33191.16Stvecho "$as_me:3319: result: $ac_cv_type_uint32_t" >&5
33201.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
33211.9Stvif test $ac_cv_type_uint32_t = yes; then
33221.9Stv  :
33231.9Stvelse
33241.9Stv
33251.16Stv		echo "$as_me:3325: checking for u_int32_t" >&5
33261.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
33271.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
33281.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33291.1Stvelse
33301.1Stv  cat >conftest.$ac_ext <<_ACEOF
33311.16Stv#line 3331 "configure"
33321.9Stv#include "confdefs.h"
33331.9Stv$ac_includes_default
33341.9Stvint
33351.9Stvmain ()
33361.9Stv{
33371.9Stvif ((u_int32_t *) 0)
33381.9Stv  return 0;
33391.9Stvif (sizeof (u_int32_t))
33401.9Stv  return 0;
33411.9Stv  ;
33421.9Stv  return 0;
33431.9Stv}
33441.9Stv_ACEOF
33451.9Stvrm -f conftest.$ac_objext
33461.16Stvif { (eval echo "$as_me:3346: \"$ac_compile\"") >&5
33471.9Stv  (eval $ac_compile) 2>&5
33481.9Stv  ac_status=$?
33491.16Stv  echo "$as_me:3349: \$? = $ac_status" >&5
33501.9Stv  (exit $ac_status); } &&
33511.9Stv         { ac_try='test -s conftest.$ac_objext'
33521.16Stv  { (eval echo "$as_me:3352: \"$ac_try\"") >&5
33531.9Stv  (eval $ac_try) 2>&5
33541.9Stv  ac_status=$?
33551.16Stv  echo "$as_me:3355: \$? = $ac_status" >&5
33561.9Stv  (exit $ac_status); }; }; then
33571.9Stv  ac_cv_type_u_int32_t=yes
33581.9Stvelse
33591.9Stv  echo "$as_me: failed program was:" >&5
33601.9Stvcat conftest.$ac_ext >&5
33611.9Stvac_cv_type_u_int32_t=no
33621.9Stvfi
33631.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33641.9Stvfi
33651.16Stvecho "$as_me:3365: result: $ac_cv_type_u_int32_t" >&5
33661.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
33671.9Stvif test $ac_cv_type_u_int32_t = yes; then
33681.9Stv  cat >>confdefs.h <<\EOF
33691.9Stv#define uint32_t u_int32_t
33701.9StvEOF
33711.9Stv
33721.9Stvelse
33731.16Stv  { { echo "$as_me:3373: error: cannot find a suitable type for uint32_t" >&5
33741.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
33751.9Stv   { (exit 1); exit 1; }; }
33761.9Stvfi
33771.9Stv
33781.9Stvfi
33791.9Stv
33801.16Stv	echo "$as_me:3380: checking for u_int32_t" >&5
33811.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
33821.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
33831.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33841.9Stvelse
33851.9Stv  cat >conftest.$ac_ext <<_ACEOF
33861.16Stv#line 3386 "configure"
33871.1Stv#include "confdefs.h"
33881.6Stv$ac_includes_default
33891.1Stvint
33901.1Stvmain ()
33911.1Stv{
33921.6Stvif ((u_int32_t *) 0)
33931.6Stv  return 0;
33941.6Stvif (sizeof (u_int32_t))
33951.6Stv  return 0;
33961.6Stv  ;
33971.6Stv  return 0;
33981.1Stv}
33991.1Stv_ACEOF
34001.6Stvrm -f conftest.$ac_objext
34011.16Stvif { (eval echo "$as_me:3401: \"$ac_compile\"") >&5
34021.6Stv  (eval $ac_compile) 2>&5
34031.1Stv  ac_status=$?
34041.16Stv  echo "$as_me:3404: \$? = $ac_status" >&5
34051.6Stv  (exit $ac_status); } &&
34061.6Stv         { ac_try='test -s conftest.$ac_objext'
34071.16Stv  { (eval echo "$as_me:3407: \"$ac_try\"") >&5
34081.1Stv  (eval $ac_try) 2>&5
34091.1Stv  ac_status=$?
34101.16Stv  echo "$as_me:3410: \$? = $ac_status" >&5
34111.1Stv  (exit $ac_status); }; }; then
34121.6Stv  ac_cv_type_u_int32_t=yes
34131.1Stvelse
34141.6Stv  echo "$as_me: failed program was:" >&5
34151.1Stvcat conftest.$ac_ext >&5
34161.6Stvac_cv_type_u_int32_t=no
34171.1Stvfi
34181.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
34191.1Stvfi
34201.16Stvecho "$as_me:3420: result: $ac_cv_type_u_int32_t" >&5
34211.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
34221.6Stvif test $ac_cv_type_u_int32_t = yes; then
34231.6Stv  :
34241.6Stvelse
34251.1Stv
34261.16Stv		echo "$as_me:3426: checking for uint32_t" >&5
34271.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
34281.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
34291.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34301.1Stvelse
34311.1Stv  cat >conftest.$ac_ext <<_ACEOF
34321.16Stv#line 3432 "configure"
34331.1Stv#include "confdefs.h"
34341.1Stv$ac_includes_default
34351.6Stvint
34361.6Stvmain ()
34371.6Stv{
34381.6Stvif ((uint32_t *) 0)
34391.6Stv  return 0;
34401.6Stvif (sizeof (uint32_t))
34411.6Stv  return 0;
34421.6Stv  ;
34431.6Stv  return 0;
34441.6Stv}
34451.1Stv_ACEOF
34461.1Stvrm -f conftest.$ac_objext
34471.16Stvif { (eval echo "$as_me:3447: \"$ac_compile\"") >&5
34481.1Stv  (eval $ac_compile) 2>&5
34491.1Stv  ac_status=$?
34501.16Stv  echo "$as_me:3450: \$? = $ac_status" >&5
34511.1Stv  (exit $ac_status); } &&
34521.1Stv         { ac_try='test -s conftest.$ac_objext'
34531.16Stv  { (eval echo "$as_me:3453: \"$ac_try\"") >&5
34541.1Stv  (eval $ac_try) 2>&5
34551.1Stv  ac_status=$?
34561.16Stv  echo "$as_me:3456: \$? = $ac_status" >&5
34571.1Stv  (exit $ac_status); }; }; then
34581.6Stv  ac_cv_type_uint32_t=yes
34591.1Stvelse
34601.1Stv  echo "$as_me: failed program was:" >&5
34611.1Stvcat conftest.$ac_ext >&5
34621.6Stvac_cv_type_uint32_t=no
34631.1Stvfi
34641.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
34651.1Stvfi
34661.16Stvecho "$as_me:3466: result: $ac_cv_type_uint32_t" >&5
34671.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
34681.6Stvif test $ac_cv_type_uint32_t = yes; then
34691.6Stv  cat >>confdefs.h <<\EOF
34701.6Stv#define u_int32_t uint32_t
34711.1StvEOF
34721.1Stv
34731.6Stvelse
34741.16Stv  { { echo "$as_me:3474: error: cannot find a suitable type for u_int32_t" >&5
34751.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
34761.6Stv   { (exit 1); exit 1; }; }
34771.6Stvfi
34781.6Stv
34791.1Stvfi
34801.1Stv
34811.16Stv	echo "$as_me:3481: checking for uint64_t" >&5
34821.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
34831.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
34841.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34851.9Stvelse
34861.9Stv  cat >conftest.$ac_ext <<_ACEOF
34871.16Stv#line 3487 "configure"
34881.9Stv#include "confdefs.h"
34891.9Stv$ac_includes_default
34901.9Stvint
34911.9Stvmain ()
34921.9Stv{
34931.9Stvif ((uint64_t *) 0)
34941.9Stv  return 0;
34951.9Stvif (sizeof (uint64_t))
34961.9Stv  return 0;
34971.9Stv  ;
34981.9Stv  return 0;
34991.9Stv}
35001.9Stv_ACEOF
35011.9Stvrm -f conftest.$ac_objext
35021.16Stvif { (eval echo "$as_me:3502: \"$ac_compile\"") >&5
35031.9Stv  (eval $ac_compile) 2>&5
35041.9Stv  ac_status=$?
35051.16Stv  echo "$as_me:3505: \$? = $ac_status" >&5
35061.9Stv  (exit $ac_status); } &&
35071.9Stv         { ac_try='test -s conftest.$ac_objext'
35081.16Stv  { (eval echo "$as_me:3508: \"$ac_try\"") >&5
35091.9Stv  (eval $ac_try) 2>&5
35101.9Stv  ac_status=$?
35111.16Stv  echo "$as_me:3511: \$? = $ac_status" >&5
35121.9Stv  (exit $ac_status); }; }; then
35131.9Stv  ac_cv_type_uint64_t=yes
35141.9Stvelse
35151.9Stv  echo "$as_me: failed program was:" >&5
35161.9Stvcat conftest.$ac_ext >&5
35171.9Stvac_cv_type_uint64_t=no
35181.9Stvfi
35191.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
35201.9Stvfi
35211.16Stvecho "$as_me:3521: result: $ac_cv_type_uint64_t" >&5
35221.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
35231.9Stvif test $ac_cv_type_uint64_t = yes; then
35241.9Stv  :
35251.9Stvelse
35261.9Stv
35271.16Stv		echo "$as_me:3527: checking for u_int64_t" >&5
35281.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
35291.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
35301.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35311.9Stvelse
35321.9Stv  cat >conftest.$ac_ext <<_ACEOF
35331.16Stv#line 3533 "configure"
35341.9Stv#include "confdefs.h"
35351.9Stv$ac_includes_default
35361.9Stvint
35371.9Stvmain ()
35381.9Stv{
35391.9Stvif ((u_int64_t *) 0)
35401.9Stv  return 0;
35411.9Stvif (sizeof (u_int64_t))
35421.9Stv  return 0;
35431.9Stv  ;
35441.9Stv  return 0;
35451.9Stv}
35461.9Stv_ACEOF
35471.9Stvrm -f conftest.$ac_objext
35481.16Stvif { (eval echo "$as_me:3548: \"$ac_compile\"") >&5
35491.9Stv  (eval $ac_compile) 2>&5
35501.9Stv  ac_status=$?
35511.16Stv  echo "$as_me:3551: \$? = $ac_status" >&5
35521.9Stv  (exit $ac_status); } &&
35531.9Stv         { ac_try='test -s conftest.$ac_objext'
35541.16Stv  { (eval echo "$as_me:3554: \"$ac_try\"") >&5
35551.9Stv  (eval $ac_try) 2>&5
35561.9Stv  ac_status=$?
35571.16Stv  echo "$as_me:3557: \$? = $ac_status" >&5
35581.9Stv  (exit $ac_status); }; }; then
35591.9Stv  ac_cv_type_u_int64_t=yes
35601.9Stvelse
35611.9Stv  echo "$as_me: failed program was:" >&5
35621.9Stvcat conftest.$ac_ext >&5
35631.9Stvac_cv_type_u_int64_t=no
35641.9Stvfi
35651.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
35661.9Stvfi
35671.16Stvecho "$as_me:3567: result: $ac_cv_type_u_int64_t" >&5
35681.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
35691.9Stvif test $ac_cv_type_u_int64_t = yes; then
35701.9Stv  cat >>confdefs.h <<\EOF
35711.9Stv#define uint64_t u_int64_t
35721.9StvEOF
35731.9Stv
35741.9Stvelse
35751.16Stv  { { echo "$as_me:3575: error: cannot find a suitable type for uint64_t" >&5
35761.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
35771.9Stv   { (exit 1); exit 1; }; }
35781.9Stvfi
35791.9Stv
35801.9Stvfi
35811.9Stv
35821.16Stv	echo "$as_me:3582: checking for u_int64_t" >&5
35831.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
35841.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
35851.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35861.1Stvelse
35871.1Stv  cat >conftest.$ac_ext <<_ACEOF
35881.16Stv#line 3588 "configure"
35891.1Stv#include "confdefs.h"
35901.1Stv$ac_includes_default
35911.1Stvint
35921.1Stvmain ()
35931.1Stv{
35941.6Stvif ((u_int64_t *) 0)
35951.1Stv  return 0;
35961.6Stvif (sizeof (u_int64_t))
35971.1Stv  return 0;
35981.1Stv  ;
35991.1Stv  return 0;
36001.1Stv}
36011.1Stv_ACEOF
36021.1Stvrm -f conftest.$ac_objext
36031.16Stvif { (eval echo "$as_me:3603: \"$ac_compile\"") >&5
36041.1Stv  (eval $ac_compile) 2>&5
36051.1Stv  ac_status=$?
36061.16Stv  echo "$as_me:3606: \$? = $ac_status" >&5
36071.1Stv  (exit $ac_status); } &&
36081.1Stv         { ac_try='test -s conftest.$ac_objext'
36091.16Stv  { (eval echo "$as_me:3609: \"$ac_try\"") >&5
36101.1Stv  (eval $ac_try) 2>&5
36111.1Stv  ac_status=$?
36121.16Stv  echo "$as_me:3612: \$? = $ac_status" >&5
36131.1Stv  (exit $ac_status); }; }; then
36141.6Stv  ac_cv_type_u_int64_t=yes
36151.1Stvelse
36161.1Stv  echo "$as_me: failed program was:" >&5
36171.1Stvcat conftest.$ac_ext >&5
36181.6Stvac_cv_type_u_int64_t=no
36191.1Stvfi
36201.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
36211.1Stvfi
36221.16Stvecho "$as_me:3622: result: $ac_cv_type_u_int64_t" >&5
36231.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
36241.6Stvif test $ac_cv_type_u_int64_t = yes; then
36251.1Stv  :
36261.1Stvelse
36271.1Stv
36281.16Stv		echo "$as_me:3628: checking for uint64_t" >&5
36291.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
36301.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
36311.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36321.1Stvelse
36331.1Stv  cat >conftest.$ac_ext <<_ACEOF
36341.16Stv#line 3634 "configure"
36351.1Stv#include "confdefs.h"
36361.4Stv$ac_includes_default
36371.4Stvint
36381.4Stvmain ()
36391.4Stv{
36401.6Stvif ((uint64_t *) 0)
36411.4Stv  return 0;
36421.6Stvif (sizeof (uint64_t))
36431.4Stv  return 0;
36441.4Stv  ;
36451.4Stv  return 0;
36461.4Stv}
36471.1Stv_ACEOF
36481.4Stvrm -f conftest.$ac_objext
36491.16Stvif { (eval echo "$as_me:3649: \"$ac_compile\"") >&5
36501.4Stv  (eval $ac_compile) 2>&5
36511.4Stv  ac_status=$?
36521.16Stv  echo "$as_me:3652: \$? = $ac_status" >&5
36531.4Stv  (exit $ac_status); } &&
36541.4Stv         { ac_try='test -s conftest.$ac_objext'
36551.16Stv  { (eval echo "$as_me:3655: \"$ac_try\"") >&5
36561.4Stv  (eval $ac_try) 2>&5
36571.4Stv  ac_status=$?
36581.16Stv  echo "$as_me:3658: \$? = $ac_status" >&5
36591.4Stv  (exit $ac_status); }; }; then
36601.6Stv  ac_cv_type_uint64_t=yes
36611.4Stvelse
36621.4Stv  echo "$as_me: failed program was:" >&5
36631.4Stvcat conftest.$ac_ext >&5
36641.6Stvac_cv_type_uint64_t=no
36651.4Stvfi
36661.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
36671.4Stvfi
36681.16Stvecho "$as_me:3668: result: $ac_cv_type_uint64_t" >&5
36691.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
36701.6Stvif test $ac_cv_type_uint64_t = yes; then
36711.6Stv  cat >>confdefs.h <<\EOF
36721.6Stv#define u_int64_t uint64_t
36731.6StvEOF
36741.4Stv
36751.6Stvelse
36761.16Stv  { { echo "$as_me:3676: error: cannot find a suitable type for u_int64_t" >&5
36771.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
36781.6Stv   { (exit 1); exit 1; }; }
36791.6Stvfi
36801.4Stv
36811.4Stvfi
36821.4Stv
36831.4Stv# Struct members.
36841.16Stvecho "$as_me:3684: checking for DIR.dd_fd" >&5
36851.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
36861.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
36871.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36881.7Stvelse
36891.7Stv  cat >conftest.$ac_ext <<_ACEOF
36901.16Stv#line 3690 "configure"
36911.7Stv#include "confdefs.h"
36921.7Stv#include <dirent.h>
36931.7Stv
36941.7Stvint
36951.7Stvmain ()
36961.7Stv{
36971.7Stvstatic DIR ac_aggr;
36981.7Stvif (ac_aggr.dd_fd)
36991.7Stvreturn 0;
37001.7Stv  ;
37011.7Stv  return 0;
37021.7Stv}
37031.7Stv_ACEOF
37041.7Stvrm -f conftest.$ac_objext
37051.16Stvif { (eval echo "$as_me:3705: \"$ac_compile\"") >&5
37061.7Stv  (eval $ac_compile) 2>&5
37071.7Stv  ac_status=$?
37081.16Stv  echo "$as_me:3708: \$? = $ac_status" >&5
37091.7Stv  (exit $ac_status); } &&
37101.7Stv         { ac_try='test -s conftest.$ac_objext'
37111.16Stv  { (eval echo "$as_me:3711: \"$ac_try\"") >&5
37121.7Stv  (eval $ac_try) 2>&5
37131.7Stv  ac_status=$?
37141.16Stv  echo "$as_me:3714: \$? = $ac_status" >&5
37151.7Stv  (exit $ac_status); }; }; then
37161.7Stv  ac_cv_member_DIR_dd_fd=yes
37171.7Stvelse
37181.7Stv  echo "$as_me: failed program was:" >&5
37191.7Stvcat conftest.$ac_ext >&5
37201.7Stvac_cv_member_DIR_dd_fd=no
37211.7Stvfi
37221.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
37231.7Stvfi
37241.16Stvecho "$as_me:3724: result: $ac_cv_member_DIR_dd_fd" >&5
37251.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
37261.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
37271.7Stv
37281.7Stvcat >>confdefs.h <<EOF
37291.7Stv#define HAVE_DIR_DD_FD 1
37301.7StvEOF
37311.7Stv
37321.7Stvfi
37331.16Stvecho "$as_me:3733: checking for struct dirent.d_namlen" >&5
37341.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
37351.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
37361.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37371.8Stvelse
37381.8Stv  cat >conftest.$ac_ext <<_ACEOF
37391.16Stv#line 3739 "configure"
37401.8Stv#include "confdefs.h"
37411.8Stv#include <dirent.h>
37421.8Stv
37431.8Stvint
37441.8Stvmain ()
37451.8Stv{
37461.8Stvstatic struct dirent ac_aggr;
37471.8Stvif (ac_aggr.d_namlen)
37481.8Stvreturn 0;
37491.8Stv  ;
37501.8Stv  return 0;
37511.8Stv}
37521.8Stv_ACEOF
37531.8Stvrm -f conftest.$ac_objext
37541.16Stvif { (eval echo "$as_me:3754: \"$ac_compile\"") >&5
37551.8Stv  (eval $ac_compile) 2>&5
37561.8Stv  ac_status=$?
37571.16Stv  echo "$as_me:3757: \$? = $ac_status" >&5
37581.8Stv  (exit $ac_status); } &&
37591.8Stv         { ac_try='test -s conftest.$ac_objext'
37601.16Stv  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
37611.8Stv  (eval $ac_try) 2>&5
37621.8Stv  ac_status=$?
37631.16Stv  echo "$as_me:3763: \$? = $ac_status" >&5
37641.8Stv  (exit $ac_status); }; }; then
37651.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
37661.8Stvelse
37671.8Stv  echo "$as_me: failed program was:" >&5
37681.8Stvcat conftest.$ac_ext >&5
37691.8Stvac_cv_member_struct_dirent_d_namlen=no
37701.8Stvfi
37711.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
37721.8Stvfi
37731.16Stvecho "$as_me:3773: result: $ac_cv_member_struct_dirent_d_namlen" >&5
37741.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
37751.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
37761.8Stv
37771.8Stvcat >>confdefs.h <<EOF
37781.8Stv#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
37791.8StvEOF
37801.8Stv
37811.8Stvfi
37821.7Stv
37831.16Stvecho "$as_me:3783: checking for struct stat.st_flags" >&5
37841.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
37851.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
37861.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37871.4Stvelse
37881.4Stv  cat >conftest.$ac_ext <<_ACEOF
37891.16Stv#line 3789 "configure"
37901.4Stv#include "confdefs.h"
37911.4Stv#include <sys/stat.h>
37921.4Stv
37931.4Stvint
37941.4Stvmain ()
37951.4Stv{
37961.4Stvstatic struct stat ac_aggr;
37971.4Stvif (ac_aggr.st_flags)
37981.4Stvreturn 0;
37991.4Stv  ;
38001.4Stv  return 0;
38011.4Stv}
38021.4Stv_ACEOF
38031.4Stvrm -f conftest.$ac_objext
38041.16Stvif { (eval echo "$as_me:3804: \"$ac_compile\"") >&5
38051.4Stv  (eval $ac_compile) 2>&5
38061.4Stv  ac_status=$?
38071.16Stv  echo "$as_me:3807: \$? = $ac_status" >&5
38081.4Stv  (exit $ac_status); } &&
38091.4Stv         { ac_try='test -s conftest.$ac_objext'
38101.16Stv  { (eval echo "$as_me:3810: \"$ac_try\"") >&5
38111.4Stv  (eval $ac_try) 2>&5
38121.4Stv  ac_status=$?
38131.16Stv  echo "$as_me:3813: \$? = $ac_status" >&5
38141.4Stv  (exit $ac_status); }; }; then
38151.4Stv  ac_cv_member_struct_stat_st_flags=yes
38161.4Stvelse
38171.4Stv  echo "$as_me: failed program was:" >&5
38181.4Stvcat conftest.$ac_ext >&5
38191.4Stvac_cv_member_struct_stat_st_flags=no
38201.4Stvfi
38211.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
38221.4Stvfi
38231.16Stvecho "$as_me:3823: result: $ac_cv_member_struct_stat_st_flags" >&5
38241.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
38251.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then
38261.4Stv
38271.4Stvcat >>confdefs.h <<EOF
38281.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1
38291.4StvEOF
38301.4Stv
38311.4Stvfi
38321.16Stvecho "$as_me:3832: checking for struct stat.st_gen" >&5
38331.7Stvecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
38341.7Stvif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
38351.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38361.7Stvelse
38371.7Stv  cat >conftest.$ac_ext <<_ACEOF
38381.16Stv#line 3838 "configure"
38391.7Stv#include "confdefs.h"
38401.7Stv#include <sys/stat.h>
38411.7Stv
38421.7Stvint
38431.7Stvmain ()
38441.7Stv{
38451.7Stvstatic struct stat ac_aggr;
38461.7Stvif (ac_aggr.st_gen)
38471.7Stvreturn 0;
38481.7Stv  ;
38491.7Stv  return 0;
38501.7Stv}
38511.7Stv_ACEOF
38521.7Stvrm -f conftest.$ac_objext
38531.16Stvif { (eval echo "$as_me:3853: \"$ac_compile\"") >&5
38541.7Stv  (eval $ac_compile) 2>&5
38551.7Stv  ac_status=$?
38561.16Stv  echo "$as_me:3856: \$? = $ac_status" >&5
38571.7Stv  (exit $ac_status); } &&
38581.7Stv         { ac_try='test -s conftest.$ac_objext'
38591.16Stv  { (eval echo "$as_me:3859: \"$ac_try\"") >&5
38601.7Stv  (eval $ac_try) 2>&5
38611.7Stv  ac_status=$?
38621.16Stv  echo "$as_me:3862: \$? = $ac_status" >&5
38631.7Stv  (exit $ac_status); }; }; then
38641.7Stv  ac_cv_member_struct_stat_st_gen=yes
38651.7Stvelse
38661.7Stv  echo "$as_me: failed program was:" >&5
38671.7Stvcat conftest.$ac_ext >&5
38681.7Stvac_cv_member_struct_stat_st_gen=no
38691.7Stvfi
38701.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
38711.7Stvfi
38721.16Stvecho "$as_me:3872: result: $ac_cv_member_struct_stat_st_gen" >&5
38731.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
38741.7Stvif test $ac_cv_member_struct_stat_st_gen = yes; then
38751.7Stv
38761.7Stvcat >>confdefs.h <<EOF
38771.7Stv#define HAVE_STRUCT_STAT_ST_GEN 1
38781.7StvEOF
38791.7Stv
38801.7Stvfi
38811.16Stvecho "$as_me:3881: checking for struct stat.st_mtimensec" >&5
38821.7Stvecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
38831.7Stvif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
38841.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38851.7Stvelse
38861.7Stv  cat >conftest.$ac_ext <<_ACEOF
38871.16Stv#line 3887 "configure"
38881.7Stv#include "confdefs.h"
38891.7Stv#include <sys/stat.h>
38901.7Stv
38911.7Stvint
38921.7Stvmain ()
38931.7Stv{
38941.7Stvstatic struct stat ac_aggr;
38951.7Stvif (ac_aggr.st_mtimensec)
38961.7Stvreturn 0;
38971.7Stv  ;
38981.7Stv  return 0;
38991.7Stv}
39001.7Stv_ACEOF
39011.7Stvrm -f conftest.$ac_objext
39021.16Stvif { (eval echo "$as_me:3902: \"$ac_compile\"") >&5
39031.7Stv  (eval $ac_compile) 2>&5
39041.7Stv  ac_status=$?
39051.16Stv  echo "$as_me:3905: \$? = $ac_status" >&5
39061.7Stv  (exit $ac_status); } &&
39071.7Stv         { ac_try='test -s conftest.$ac_objext'
39081.16Stv  { (eval echo "$as_me:3908: \"$ac_try\"") >&5
39091.7Stv  (eval $ac_try) 2>&5
39101.7Stv  ac_status=$?
39111.16Stv  echo "$as_me:3911: \$? = $ac_status" >&5
39121.7Stv  (exit $ac_status); }; }; then
39131.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
39141.7Stvelse
39151.7Stv  echo "$as_me: failed program was:" >&5
39161.7Stvcat conftest.$ac_ext >&5
39171.7Stvac_cv_member_struct_stat_st_mtimensec=no
39181.7Stvfi
39191.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
39201.7Stvfi
39211.16Stvecho "$as_me:3921: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
39221.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
39231.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
39241.7Stv
39251.7Stvcat >>confdefs.h <<EOF
39261.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
39271.7StvEOF
39281.7Stv
39291.7Stvfi
39301.4Stv
39311.16Stvecho "$as_me:3931: checking for struct statfs.f_iosize" >&5
39321.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
39331.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
39341.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39351.6Stvelse
39361.6Stv  cat >conftest.$ac_ext <<_ACEOF
39371.16Stv#line 3937 "configure"
39381.6Stv#include "confdefs.h"
39391.7Stv#include <sys/mount.h>
39401.6Stv
39411.6Stvint
39421.6Stvmain ()
39431.6Stv{
39441.7Stvstatic struct statfs ac_aggr;
39451.7Stvif (ac_aggr.f_iosize)
39461.6Stvreturn 0;
39471.6Stv  ;
39481.6Stv  return 0;
39491.6Stv}
39501.6Stv_ACEOF
39511.6Stvrm -f conftest.$ac_objext
39521.16Stvif { (eval echo "$as_me:3952: \"$ac_compile\"") >&5
39531.6Stv  (eval $ac_compile) 2>&5
39541.6Stv  ac_status=$?
39551.16Stv  echo "$as_me:3955: \$? = $ac_status" >&5
39561.6Stv  (exit $ac_status); } &&
39571.6Stv         { ac_try='test -s conftest.$ac_objext'
39581.16Stv  { (eval echo "$as_me:3958: \"$ac_try\"") >&5
39591.6Stv  (eval $ac_try) 2>&5
39601.6Stv  ac_status=$?
39611.16Stv  echo "$as_me:3961: \$? = $ac_status" >&5
39621.6Stv  (exit $ac_status); }; }; then
39631.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
39641.6Stvelse
39651.6Stv  echo "$as_me: failed program was:" >&5
39661.6Stvcat conftest.$ac_ext >&5
39671.7Stvac_cv_member_struct_statfs_f_iosize=no
39681.6Stvfi
39691.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
39701.6Stvfi
39711.16Stvecho "$as_me:3971: result: $ac_cv_member_struct_statfs_f_iosize" >&5
39721.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
39731.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
39741.6Stv
39751.6Stvcat >>confdefs.h <<EOF
39761.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
39771.6StvEOF
39781.6Stv
39791.6Stvfi
39801.6Stv
39811.4Stv# Global variable decls.
39821.16Stvecho "$as_me:3982: checking whether optind is declared" >&5
39831.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
39841.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
39851.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39861.7Stvelse
39871.7Stv  cat >conftest.$ac_ext <<_ACEOF
39881.16Stv#line 3988 "configure"
39891.7Stv#include "confdefs.h"
39901.7Stv
39911.7Stv#include <stdio.h>
39921.7Stv#include <stdlib.h>
39931.7Stv#include <unistd.h>
39941.7Stv
39951.7Stvint
39961.7Stvmain ()
39971.7Stv{
39981.7Stv#ifndef optind
39991.7Stv  char *p = (char *) optind;
40001.7Stv#endif
40011.7Stv
40021.7Stv  ;
40031.7Stv  return 0;
40041.7Stv}
40051.7Stv_ACEOF
40061.7Stvrm -f conftest.$ac_objext
40071.16Stvif { (eval echo "$as_me:4007: \"$ac_compile\"") >&5
40081.7Stv  (eval $ac_compile) 2>&5
40091.7Stv  ac_status=$?
40101.16Stv  echo "$as_me:4010: \$? = $ac_status" >&5
40111.7Stv  (exit $ac_status); } &&
40121.7Stv         { ac_try='test -s conftest.$ac_objext'
40131.16Stv  { (eval echo "$as_me:4013: \"$ac_try\"") >&5
40141.7Stv  (eval $ac_try) 2>&5
40151.7Stv  ac_status=$?
40161.16Stv  echo "$as_me:4016: \$? = $ac_status" >&5
40171.7Stv  (exit $ac_status); }; }; then
40181.7Stv  ac_cv_have_decl_optind=yes
40191.7Stvelse
40201.7Stv  echo "$as_me: failed program was:" >&5
40211.7Stvcat conftest.$ac_ext >&5
40221.7Stvac_cv_have_decl_optind=no
40231.7Stvfi
40241.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40251.7Stvfi
40261.16Stvecho "$as_me:4026: result: $ac_cv_have_decl_optind" >&5
40271.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
40281.7Stvif test $ac_cv_have_decl_optind = yes; then
40291.7Stv
40301.7Stvcat >>confdefs.h <<EOF
40311.7Stv#define HAVE_DECL_OPTIND 1
40321.7StvEOF
40331.7Stv
40341.7Stvelse
40351.7Stv  cat >>confdefs.h <<EOF
40361.7Stv#define HAVE_DECL_OPTIND 0
40371.7StvEOF
40381.7Stv
40391.7Stvfi
40401.16Stvecho "$as_me:4040: checking whether optreset is declared" >&5
40411.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
40421.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
40431.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40441.7Stvelse
40451.7Stv  cat >conftest.$ac_ext <<_ACEOF
40461.16Stv#line 4046 "configure"
40471.7Stv#include "confdefs.h"
40481.7Stv
40491.7Stv#include <stdio.h>
40501.7Stv#include <stdlib.h>
40511.7Stv#include <unistd.h>
40521.7Stv
40531.7Stvint
40541.7Stvmain ()
40551.7Stv{
40561.7Stv#ifndef optreset
40571.7Stv  char *p = (char *) optreset;
40581.7Stv#endif
40591.7Stv
40601.7Stv  ;
40611.7Stv  return 0;
40621.7Stv}
40631.7Stv_ACEOF
40641.7Stvrm -f conftest.$ac_objext
40651.16Stvif { (eval echo "$as_me:4065: \"$ac_compile\"") >&5
40661.7Stv  (eval $ac_compile) 2>&5
40671.7Stv  ac_status=$?
40681.16Stv  echo "$as_me:4068: \$? = $ac_status" >&5
40691.7Stv  (exit $ac_status); } &&
40701.7Stv         { ac_try='test -s conftest.$ac_objext'
40711.16Stv  { (eval echo "$as_me:4071: \"$ac_try\"") >&5
40721.7Stv  (eval $ac_try) 2>&5
40731.7Stv  ac_status=$?
40741.16Stv  echo "$as_me:4074: \$? = $ac_status" >&5
40751.7Stv  (exit $ac_status); }; }; then
40761.7Stv  ac_cv_have_decl_optreset=yes
40771.7Stvelse
40781.7Stv  echo "$as_me: failed program was:" >&5
40791.7Stvcat conftest.$ac_ext >&5
40801.7Stvac_cv_have_decl_optreset=no
40811.7Stvfi
40821.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
40831.7Stvfi
40841.16Stvecho "$as_me:4084: result: $ac_cv_have_decl_optreset" >&5
40851.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
40861.7Stvif test $ac_cv_have_decl_optreset = yes; then
40871.7Stv
40881.7Stvcat >>confdefs.h <<EOF
40891.7Stv#define HAVE_DECL_OPTRESET 1
40901.7StvEOF
40911.7Stv
40921.7Stvelse
40931.7Stv  cat >>confdefs.h <<EOF
40941.7Stv#define HAVE_DECL_OPTRESET 0
40951.7StvEOF
40961.7Stv
40971.7Stvfi
40981.7Stv
40991.16Stvecho "$as_me:4099: checking whether sys_signame is declared" >&5
41001.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
41011.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
41021.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41031.4Stvelse
41041.4Stv  cat >conftest.$ac_ext <<_ACEOF
41051.16Stv#line 4105 "configure"
41061.4Stv#include "confdefs.h"
41071.4Stv#include <signal.h>
41081.4Stv
41091.4Stvint
41101.4Stvmain ()
41111.4Stv{
41121.4Stv#ifndef sys_signame
41131.4Stv  char *p = (char *) sys_signame;
41141.4Stv#endif
41151.4Stv
41161.4Stv  ;
41171.4Stv  return 0;
41181.4Stv}
41191.4Stv_ACEOF
41201.4Stvrm -f conftest.$ac_objext
41211.16Stvif { (eval echo "$as_me:4121: \"$ac_compile\"") >&5
41221.4Stv  (eval $ac_compile) 2>&5
41231.4Stv  ac_status=$?
41241.16Stv  echo "$as_me:4124: \$? = $ac_status" >&5
41251.4Stv  (exit $ac_status); } &&
41261.4Stv         { ac_try='test -s conftest.$ac_objext'
41271.16Stv  { (eval echo "$as_me:4127: \"$ac_try\"") >&5
41281.4Stv  (eval $ac_try) 2>&5
41291.4Stv  ac_status=$?
41301.16Stv  echo "$as_me:4130: \$? = $ac_status" >&5
41311.4Stv  (exit $ac_status); }; }; then
41321.4Stv  ac_cv_have_decl_sys_signame=yes
41331.4Stvelse
41341.4Stv  echo "$as_me: failed program was:" >&5
41351.4Stvcat conftest.$ac_ext >&5
41361.4Stvac_cv_have_decl_sys_signame=no
41371.4Stvfi
41381.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
41391.4Stvfi
41401.16Stvecho "$as_me:4140: result: $ac_cv_have_decl_sys_signame" >&5
41411.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
41421.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
41431.4Stv
41441.4Stvcat >>confdefs.h <<EOF
41451.4Stv#define HAVE_DECL_SYS_SIGNAME 1
41461.4StvEOF
41471.4Stv
41481.4Stvelse
41491.4Stv  cat >>confdefs.h <<EOF
41501.4Stv#define HAVE_DECL_SYS_SIGNAME 0
41511.4StvEOF
41521.4Stv
41531.4Stvfi
41541.4Stv
41551.4Stv# Library functions (where a .h check isn't enough).
41561.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
41571.19Sbjh21# for constant arguments.  Useless!
41581.19Sbjh21echo "$as_me:4158: checking for working alloca.h" >&5
41591.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
41601.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
41611.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
41621.19Sbjh21else
41631.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
41641.19Sbjh21#line 4164 "configure"
41651.19Sbjh21#include "confdefs.h"
41661.19Sbjh21#include <alloca.h>
41671.19Sbjh21int
41681.19Sbjh21main ()
41691.19Sbjh21{
41701.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
41711.19Sbjh21  ;
41721.19Sbjh21  return 0;
41731.19Sbjh21}
41741.19Sbjh21_ACEOF
41751.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
41761.19Sbjh21if { (eval echo "$as_me:4176: \"$ac_link\"") >&5
41771.19Sbjh21  (eval $ac_link) 2>&5
41781.19Sbjh21  ac_status=$?
41791.19Sbjh21  echo "$as_me:4179: \$? = $ac_status" >&5
41801.19Sbjh21  (exit $ac_status); } &&
41811.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
41821.19Sbjh21  { (eval echo "$as_me:4182: \"$ac_try\"") >&5
41831.19Sbjh21  (eval $ac_try) 2>&5
41841.19Sbjh21  ac_status=$?
41851.19Sbjh21  echo "$as_me:4185: \$? = $ac_status" >&5
41861.19Sbjh21  (exit $ac_status); }; }; then
41871.19Sbjh21  ac_cv_working_alloca_h=yes
41881.19Sbjh21else
41891.19Sbjh21  echo "$as_me: failed program was:" >&5
41901.19Sbjh21cat conftest.$ac_ext >&5
41911.19Sbjh21ac_cv_working_alloca_h=no
41921.19Sbjh21fi
41931.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41941.19Sbjh21fi
41951.19Sbjh21echo "$as_me:4195: result: $ac_cv_working_alloca_h" >&5
41961.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
41971.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
41981.19Sbjh21
41991.19Sbjh21cat >>confdefs.h <<\EOF
42001.19Sbjh21#define HAVE_ALLOCA_H 1
42011.19Sbjh21EOF
42021.19Sbjh21
42031.19Sbjh21fi
42041.19Sbjh21
42051.19Sbjh21echo "$as_me:4205: checking for alloca" >&5
42061.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
42071.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
42081.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42091.19Sbjh21else
42101.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42111.19Sbjh21#line 4211 "configure"
42121.19Sbjh21#include "confdefs.h"
42131.19Sbjh21#ifdef __GNUC__
42141.19Sbjh21# define alloca __builtin_alloca
42151.19Sbjh21#else
42161.19Sbjh21# ifdef _MSC_VER
42171.19Sbjh21#  include <malloc.h>
42181.19Sbjh21#  define alloca _alloca
42191.19Sbjh21# else
42201.19Sbjh21#  if HAVE_ALLOCA_H
42211.19Sbjh21#   include <alloca.h>
42221.19Sbjh21#  else
42231.19Sbjh21#   ifdef _AIX
42241.19Sbjh21 #pragma alloca
42251.19Sbjh21#   else
42261.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
42271.19Sbjh21char *alloca ();
42281.19Sbjh21#    endif
42291.19Sbjh21#   endif
42301.19Sbjh21#  endif
42311.19Sbjh21# endif
42321.19Sbjh21#endif
42331.19Sbjh21
42341.19Sbjh21int
42351.19Sbjh21main ()
42361.19Sbjh21{
42371.19Sbjh21char *p = (char *) alloca (1);
42381.19Sbjh21  ;
42391.19Sbjh21  return 0;
42401.19Sbjh21}
42411.19Sbjh21_ACEOF
42421.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
42431.19Sbjh21if { (eval echo "$as_me:4243: \"$ac_link\"") >&5
42441.19Sbjh21  (eval $ac_link) 2>&5
42451.19Sbjh21  ac_status=$?
42461.19Sbjh21  echo "$as_me:4246: \$? = $ac_status" >&5
42471.19Sbjh21  (exit $ac_status); } &&
42481.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
42491.19Sbjh21  { (eval echo "$as_me:4249: \"$ac_try\"") >&5
42501.19Sbjh21  (eval $ac_try) 2>&5
42511.19Sbjh21  ac_status=$?
42521.19Sbjh21  echo "$as_me:4252: \$? = $ac_status" >&5
42531.19Sbjh21  (exit $ac_status); }; }; then
42541.19Sbjh21  ac_cv_func_alloca_works=yes
42551.19Sbjh21else
42561.19Sbjh21  echo "$as_me: failed program was:" >&5
42571.19Sbjh21cat conftest.$ac_ext >&5
42581.19Sbjh21ac_cv_func_alloca_works=no
42591.19Sbjh21fi
42601.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42611.19Sbjh21fi
42621.19Sbjh21echo "$as_me:4262: result: $ac_cv_func_alloca_works" >&5
42631.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
42641.19Sbjh21
42651.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
42661.19Sbjh21
42671.19Sbjh21cat >>confdefs.h <<\EOF
42681.19Sbjh21#define HAVE_ALLOCA 1
42691.19Sbjh21EOF
42701.19Sbjh21
42711.19Sbjh21else
42721.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
42731.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
42741.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
42751.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
42761.19Sbjh21
42771.19Sbjh21ALLOCA=alloca.$ac_objext
42781.19Sbjh21
42791.19Sbjh21cat >>confdefs.h <<\EOF
42801.19Sbjh21#define C_ALLOCA 1
42811.19Sbjh21EOF
42821.19Sbjh21
42831.19Sbjh21echo "$as_me:4283: checking whether \`alloca.c' needs Cray hooks" >&5
42841.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
42851.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
42861.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
42871.19Sbjh21else
42881.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
42891.19Sbjh21#line 4289 "configure"
42901.19Sbjh21#include "confdefs.h"
42911.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
42921.19Sbjh21webecray
42931.19Sbjh21#else
42941.19Sbjh21wenotbecray
42951.19Sbjh21#endif
42961.19Sbjh21
42971.19Sbjh21_ACEOF
42981.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
42991.19Sbjh21  egrep "webecray" >/dev/null 2>&1; then
43001.19Sbjh21  ac_cv_os_cray=yes
43011.19Sbjh21else
43021.19Sbjh21  ac_cv_os_cray=no
43031.19Sbjh21fi
43041.19Sbjh21rm -f conftest*
43051.19Sbjh21
43061.19Sbjh21fi
43071.19Sbjh21echo "$as_me:4307: result: $ac_cv_os_cray" >&5
43081.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
43091.19Sbjh21if test $ac_cv_os_cray = yes; then
43101.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
43111.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43121.19Sbjh21echo "$as_me:4312: checking for $ac_func" >&5
43131.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43141.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
43151.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43161.19Sbjh21else
43171.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43181.19Sbjh21#line 4318 "configure"
43191.19Sbjh21#include "confdefs.h"
43201.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
43211.19Sbjh21    which can conflict with char $ac_func (); below.  */
43221.19Sbjh21#include <assert.h>
43231.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
43241.19Sbjh21#ifdef __cplusplus
43251.19Sbjh21extern "C"
43261.19Sbjh21#endif
43271.19Sbjh21/* We use char because int might match the return type of a gcc2
43281.19Sbjh21   builtin and then its argument prototype would still apply.  */
43291.19Sbjh21char $ac_func ();
43301.19Sbjh21char (*f) ();
43311.19Sbjh21
43321.19Sbjh21int
43331.19Sbjh21main ()
43341.19Sbjh21{
43351.19Sbjh21/* The GNU C library defines this for functions which it implements
43361.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
43371.19Sbjh21    something starting with __ and the normal name is an alias.  */
43381.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43391.19Sbjh21choke me
43401.19Sbjh21#else
43411.19Sbjh21f = $ac_func;
43421.19Sbjh21#endif
43431.19Sbjh21
43441.19Sbjh21  ;
43451.19Sbjh21  return 0;
43461.19Sbjh21}
43471.19Sbjh21_ACEOF
43481.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
43491.19Sbjh21if { (eval echo "$as_me:4349: \"$ac_link\"") >&5
43501.19Sbjh21  (eval $ac_link) 2>&5
43511.19Sbjh21  ac_status=$?
43521.19Sbjh21  echo "$as_me:4352: \$? = $ac_status" >&5
43531.19Sbjh21  (exit $ac_status); } &&
43541.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
43551.19Sbjh21  { (eval echo "$as_me:4355: \"$ac_try\"") >&5
43561.19Sbjh21  (eval $ac_try) 2>&5
43571.19Sbjh21  ac_status=$?
43581.19Sbjh21  echo "$as_me:4358: \$? = $ac_status" >&5
43591.19Sbjh21  (exit $ac_status); }; }; then
43601.19Sbjh21  eval "$as_ac_var=yes"
43611.19Sbjh21else
43621.19Sbjh21  echo "$as_me: failed program was:" >&5
43631.19Sbjh21cat conftest.$ac_ext >&5
43641.19Sbjh21eval "$as_ac_var=no"
43651.19Sbjh21fi
43661.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43671.19Sbjh21fi
43681.19Sbjh21echo "$as_me:4368: result: `eval echo '${'$as_ac_var'}'`" >&5
43691.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43701.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
43711.19Sbjh21
43721.19Sbjh21cat >>confdefs.h <<EOF
43731.19Sbjh21#define CRAY_STACKSEG_END $ac_func
43741.19Sbjh21EOF
43751.19Sbjh21
43761.19Sbjh21    break
43771.19Sbjh21fi
43781.19Sbjh21
43791.19Sbjh21  done
43801.19Sbjh21fi
43811.19Sbjh21
43821.19Sbjh21echo "$as_me:4382: checking stack direction for C alloca" >&5
43831.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
43841.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
43851.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
43861.19Sbjh21else
43871.19Sbjh21  if test "$cross_compiling" = yes; then
43881.19Sbjh21  ac_cv_c_stack_direction=0
43891.19Sbjh21else
43901.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
43911.19Sbjh21#line 4391 "configure"
43921.19Sbjh21#include "confdefs.h"
43931.19Sbjh21int
43941.19Sbjh21find_stack_direction ()
43951.19Sbjh21{
43961.19Sbjh21  static char *addr = 0;
43971.19Sbjh21  auto char dummy;
43981.19Sbjh21  if (addr == 0)
43991.19Sbjh21    {
44001.19Sbjh21      addr = &dummy;
44011.19Sbjh21      return find_stack_direction ();
44021.19Sbjh21    }
44031.19Sbjh21  else
44041.19Sbjh21    return (&dummy > addr) ? 1 : -1;
44051.19Sbjh21}
44061.19Sbjh21
44071.19Sbjh21int
44081.19Sbjh21main ()
44091.19Sbjh21{
44101.19Sbjh21  exit (find_stack_direction () < 0);
44111.19Sbjh21}
44121.19Sbjh21_ACEOF
44131.19Sbjh21rm -f conftest$ac_exeext
44141.19Sbjh21if { (eval echo "$as_me:4414: \"$ac_link\"") >&5
44151.19Sbjh21  (eval $ac_link) 2>&5
44161.19Sbjh21  ac_status=$?
44171.19Sbjh21  echo "$as_me:4417: \$? = $ac_status" >&5
44181.19Sbjh21  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44191.19Sbjh21  { (eval echo "$as_me:4419: \"$ac_try\"") >&5
44201.19Sbjh21  (eval $ac_try) 2>&5
44211.19Sbjh21  ac_status=$?
44221.19Sbjh21  echo "$as_me:4422: \$? = $ac_status" >&5
44231.19Sbjh21  (exit $ac_status); }; }; then
44241.19Sbjh21  ac_cv_c_stack_direction=1
44251.19Sbjh21else
44261.19Sbjh21  echo "$as_me: program exited with status $ac_status" >&5
44271.19Sbjh21echo "$as_me: failed program was:" >&5
44281.19Sbjh21cat conftest.$ac_ext >&5
44291.19Sbjh21ac_cv_c_stack_direction=-1
44301.19Sbjh21fi
44311.19Sbjh21rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44321.19Sbjh21fi
44331.19Sbjh21fi
44341.19Sbjh21echo "$as_me:4434: result: $ac_cv_c_stack_direction" >&5
44351.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
44361.19Sbjh21
44371.19Sbjh21cat >>confdefs.h <<EOF
44381.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction
44391.19Sbjh21EOF
44401.19Sbjh21
44411.19Sbjh21fi
44421.19Sbjh21
44431.19Sbjh21echo "$as_me:4443: checking for library containing fparseln" >&5
44441.4Stvecho $ECHO_N "checking for library containing fparseln... $ECHO_C" >&6
44451.4Stvif test "${ac_cv_search_fparseln+set}" = set; then
44461.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44471.4Stvelse
44481.4Stv  ac_func_search_save_LIBS=$LIBS
44491.4Stvac_cv_search_fparseln=no
44501.4Stvcat >conftest.$ac_ext <<_ACEOF
44511.19Sbjh21#line 4451 "configure"
44521.4Stv#include "confdefs.h"
44531.4Stv
44541.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
44551.4Stv#ifdef __cplusplus
44561.4Stvextern "C"
44571.4Stv#endif
44581.4Stv/* We use char because int might match the return type of a gcc2
44591.4Stv   builtin and then its argument prototype would still apply.  */
44601.4Stvchar fparseln ();
44611.4Stvint
44621.4Stvmain ()
44631.4Stv{
44641.4Stvfparseln ();
44651.4Stv  ;
44661.4Stv  return 0;
44671.4Stv}
44681.4Stv_ACEOF
44691.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
44701.19Sbjh21if { (eval echo "$as_me:4470: \"$ac_link\"") >&5
44711.4Stv  (eval $ac_link) 2>&5
44721.4Stv  ac_status=$?
44731.19Sbjh21  echo "$as_me:4473: \$? = $ac_status" >&5
44741.4Stv  (exit $ac_status); } &&
44751.4Stv         { ac_try='test -s conftest$ac_exeext'
44761.19Sbjh21  { (eval echo "$as_me:4476: \"$ac_try\"") >&5
44771.4Stv  (eval $ac_try) 2>&5
44781.1Stv  ac_status=$?
44791.19Sbjh21  echo "$as_me:4479: \$? = $ac_status" >&5
44801.4Stv  (exit $ac_status); }; }; then
44811.4Stv  ac_cv_search_fparseln="none required"
44821.1Stvelse
44831.4Stv  echo "$as_me: failed program was:" >&5
44841.4Stvcat conftest.$ac_ext >&5
44851.1Stvfi
44861.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44871.4Stvif test "$ac_cv_search_fparseln" = no; then
44881.4Stv  for ac_lib in util; do
44891.4Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
44901.4Stv    cat >conftest.$ac_ext <<_ACEOF
44911.19Sbjh21#line 4491 "configure"
44921.4Stv#include "confdefs.h"
44931.4Stv
44941.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
44951.4Stv#ifdef __cplusplus
44961.4Stvextern "C"
44971.4Stv#endif
44981.4Stv/* We use char because int might match the return type of a gcc2
44991.4Stv   builtin and then its argument prototype would still apply.  */
45001.4Stvchar fparseln ();
45011.4Stvint
45021.4Stvmain ()
45031.4Stv{
45041.4Stvfparseln ();
45051.4Stv  ;
45061.4Stv  return 0;
45071.4Stv}
45081.4Stv_ACEOF
45091.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
45101.19Sbjh21if { (eval echo "$as_me:4510: \"$ac_link\"") >&5
45111.4Stv  (eval $ac_link) 2>&5
45121.4Stv  ac_status=$?
45131.19Sbjh21  echo "$as_me:4513: \$? = $ac_status" >&5
45141.4Stv  (exit $ac_status); } &&
45151.4Stv         { ac_try='test -s conftest$ac_exeext'
45161.19Sbjh21  { (eval echo "$as_me:4516: \"$ac_try\"") >&5
45171.4Stv  (eval $ac_try) 2>&5
45181.4Stv  ac_status=$?
45191.19Sbjh21  echo "$as_me:4519: \$? = $ac_status" >&5
45201.4Stv  (exit $ac_status); }; }; then
45211.4Stv  ac_cv_search_fparseln="-l$ac_lib"
45221.4Stvbreak
45231.1Stvelse
45241.1Stv  echo "$as_me: failed program was:" >&5
45251.4Stvcat conftest.$ac_ext >&5
45261.4Stvfi
45271.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45281.4Stv  done
45291.4Stvfi
45301.4StvLIBS=$ac_func_search_save_LIBS
45311.1Stvfi
45321.19Sbjh21echo "$as_me:4532: result: $ac_cv_search_fparseln" >&5
45331.4Stvecho "${ECHO_T}$ac_cv_search_fparseln" >&6
45341.4Stvif test "$ac_cv_search_fparseln" != no; then
45351.4Stv  test "$ac_cv_search_fparseln" = "none required" || LIBS="$ac_cv_search_fparseln $LIBS"
45361.4Stv
45371.1Stvfi
45381.1Stv
45391.6Stvfor ac_func in asprintf asnprintf basename dirfd dirname \
45401.7Stv	fgetln flock fparseln futimes getopt getopt_long \
45411.15Sbjh21	isblank issetugid lchmod lchown lutimes pread pwcache_userdb \
45421.8Stv	pwrite setenv setgroupent setprogname setpassent \
45431.6Stv	snprintf strlcat strlcpy strsep vasprintf vasnprintf vsnprintf
45441.1Stvdo
45451.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45461.19Sbjh21echo "$as_me:4546: checking for $ac_func" >&5
45471.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45481.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
45491.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45501.1Stvelse
45511.1Stv  cat >conftest.$ac_ext <<_ACEOF
45521.19Sbjh21#line 4552 "configure"
45531.1Stv#include "confdefs.h"
45541.1Stv/* System header to define __stub macros and hopefully few prototypes,
45551.1Stv    which can conflict with char $ac_func (); below.  */
45561.1Stv#include <assert.h>
45571.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
45581.1Stv#ifdef __cplusplus
45591.1Stvextern "C"
45601.1Stv#endif
45611.1Stv/* We use char because int might match the return type of a gcc2
45621.1Stv   builtin and then its argument prototype would still apply.  */
45631.1Stvchar $ac_func ();
45641.1Stvchar (*f) ();
45651.1Stv
45661.1Stvint
45671.1Stvmain ()
45681.1Stv{
45691.1Stv/* The GNU C library defines this for functions which it implements
45701.1Stv    to always fail with ENOSYS.  Some functions are actually named
45711.1Stv    something starting with __ and the normal name is an alias.  */
45721.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45731.1Stvchoke me
45741.1Stv#else
45751.1Stvf = $ac_func;
45761.1Stv#endif
45771.1Stv
45781.1Stv  ;
45791.1Stv  return 0;
45801.1Stv}
45811.1Stv_ACEOF
45821.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
45831.19Sbjh21if { (eval echo "$as_me:4583: \"$ac_link\"") >&5
45841.1Stv  (eval $ac_link) 2>&5
45851.1Stv  ac_status=$?
45861.19Sbjh21  echo "$as_me:4586: \$? = $ac_status" >&5
45871.1Stv  (exit $ac_status); } &&
45881.1Stv         { ac_try='test -s conftest$ac_exeext'
45891.19Sbjh21  { (eval echo "$as_me:4589: \"$ac_try\"") >&5
45901.1Stv  (eval $ac_try) 2>&5
45911.1Stv  ac_status=$?
45921.19Sbjh21  echo "$as_me:4592: \$? = $ac_status" >&5
45931.1Stv  (exit $ac_status); }; }; then
45941.1Stv  eval "$as_ac_var=yes"
45951.1Stvelse
45961.1Stv  echo "$as_me: failed program was:" >&5
45971.1Stvcat conftest.$ac_ext >&5
45981.1Stveval "$as_ac_var=no"
45991.1Stvfi
46001.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46011.1Stvfi
46021.19Sbjh21echo "$as_me:4602: result: `eval echo '${'$as_ac_var'}'`" >&5
46031.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46041.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
46051.1Stv  cat >>confdefs.h <<EOF
46061.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46071.1StvEOF
46081.1Stv
46091.1Stvfi
46101.1Stvdone
46111.1Stv
46121.19Sbjh21echo "$as_me:4612: checking whether setgroupent is declared" >&5
46131.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
46141.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
46151.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46161.8Stvelse
46171.8Stv  cat >conftest.$ac_ext <<_ACEOF
46181.19Sbjh21#line 4618 "configure"
46191.8Stv#include "confdefs.h"
46201.8Stv
46211.8Stv#include <grp.h>
46221.8Stv#include <pwd.h>
46231.8Stv
46241.8Stvint
46251.8Stvmain ()
46261.8Stv{
46271.8Stv#ifndef setgroupent
46281.8Stv  char *p = (char *) setgroupent;
46291.8Stv#endif
46301.8Stv
46311.8Stv  ;
46321.8Stv  return 0;
46331.8Stv}
46341.8Stv_ACEOF
46351.8Stvrm -f conftest.$ac_objext
46361.19Sbjh21if { (eval echo "$as_me:4636: \"$ac_compile\"") >&5
46371.8Stv  (eval $ac_compile) 2>&5
46381.8Stv  ac_status=$?
46391.19Sbjh21  echo "$as_me:4639: \$? = $ac_status" >&5
46401.8Stv  (exit $ac_status); } &&
46411.8Stv         { ac_try='test -s conftest.$ac_objext'
46421.19Sbjh21  { (eval echo "$as_me:4642: \"$ac_try\"") >&5
46431.8Stv  (eval $ac_try) 2>&5
46441.8Stv  ac_status=$?
46451.19Sbjh21  echo "$as_me:4645: \$? = $ac_status" >&5
46461.8Stv  (exit $ac_status); }; }; then
46471.8Stv  ac_cv_have_decl_setgroupent=yes
46481.8Stvelse
46491.8Stv  echo "$as_me: failed program was:" >&5
46501.8Stvcat conftest.$ac_ext >&5
46511.8Stvac_cv_have_decl_setgroupent=no
46521.8Stvfi
46531.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
46541.8Stvfi
46551.19Sbjh21echo "$as_me:4655: result: $ac_cv_have_decl_setgroupent" >&5
46561.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
46571.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
46581.8Stv
46591.8Stvcat >>confdefs.h <<EOF
46601.8Stv#define HAVE_DECL_SETGROUPENT 1
46611.8StvEOF
46621.8Stv
46631.8Stvelse
46641.8Stv  cat >>confdefs.h <<EOF
46651.8Stv#define HAVE_DECL_SETGROUPENT 0
46661.8StvEOF
46671.8Stv
46681.8Stvfi
46691.19Sbjh21echo "$as_me:4669: checking whether setpassent is declared" >&5
46701.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
46711.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
46721.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46731.8Stvelse
46741.8Stv  cat >conftest.$ac_ext <<_ACEOF
46751.19Sbjh21#line 4675 "configure"
46761.8Stv#include "confdefs.h"
46771.8Stv
46781.8Stv#include <grp.h>
46791.8Stv#include <pwd.h>
46801.8Stv
46811.8Stvint
46821.8Stvmain ()
46831.8Stv{
46841.8Stv#ifndef setpassent
46851.8Stv  char *p = (char *) setpassent;
46861.8Stv#endif
46871.8Stv
46881.8Stv  ;
46891.8Stv  return 0;
46901.8Stv}
46911.8Stv_ACEOF
46921.8Stvrm -f conftest.$ac_objext
46931.19Sbjh21if { (eval echo "$as_me:4693: \"$ac_compile\"") >&5
46941.8Stv  (eval $ac_compile) 2>&5
46951.8Stv  ac_status=$?
46961.19Sbjh21  echo "$as_me:4696: \$? = $ac_status" >&5
46971.8Stv  (exit $ac_status); } &&
46981.8Stv         { ac_try='test -s conftest.$ac_objext'
46991.19Sbjh21  { (eval echo "$as_me:4699: \"$ac_try\"") >&5
47001.8Stv  (eval $ac_try) 2>&5
47011.8Stv  ac_status=$?
47021.19Sbjh21  echo "$as_me:4702: \$? = $ac_status" >&5
47031.8Stv  (exit $ac_status); }; }; then
47041.8Stv  ac_cv_have_decl_setpassent=yes
47051.8Stvelse
47061.8Stv  echo "$as_me: failed program was:" >&5
47071.8Stvcat conftest.$ac_ext >&5
47081.8Stvac_cv_have_decl_setpassent=no
47091.8Stvfi
47101.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
47111.8Stvfi
47121.19Sbjh21echo "$as_me:4712: result: $ac_cv_have_decl_setpassent" >&5
47131.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
47141.8Stvif test $ac_cv_have_decl_setpassent = yes; then
47151.8Stv
47161.8Stvcat >>confdefs.h <<EOF
47171.8Stv#define HAVE_DECL_SETPASSENT 1
47181.8StvEOF
47191.8Stv
47201.8Stvelse
47211.8Stv  cat >>confdefs.h <<EOF
47221.8Stv#define HAVE_DECL_SETPASSENT 0
47231.8StvEOF
47241.8Stv
47251.8Stvfi
47261.8Stv
47271.4Stv# regcomp() and regexec() are also names of functions in the old V8
47281.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
47291.4Stv
47301.19Sbjh21echo "$as_me:4730: checking for regfree in -lregex" >&5
47311.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
47321.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
47331.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47341.4Stvelse
47351.4Stv  ac_check_lib_save_LIBS=$LIBS
47361.4StvLIBS="-lregex  $LIBS"
47371.4Stvcat >conftest.$ac_ext <<_ACEOF
47381.19Sbjh21#line 4738 "configure"
47391.4Stv#include "confdefs.h"
47401.4Stv
47411.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
47421.4Stv#ifdef __cplusplus
47431.4Stvextern "C"
47441.4Stv#endif
47451.4Stv/* We use char because int might match the return type of a gcc2
47461.4Stv   builtin and then its argument prototype would still apply.  */
47471.4Stvchar regfree ();
47481.4Stvint
47491.4Stvmain ()
47501.4Stv{
47511.4Stvregfree ();
47521.4Stv  ;
47531.4Stv  return 0;
47541.4Stv}
47551.4Stv_ACEOF
47561.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
47571.19Sbjh21if { (eval echo "$as_me:4757: \"$ac_link\"") >&5
47581.4Stv  (eval $ac_link) 2>&5
47591.4Stv  ac_status=$?
47601.19Sbjh21  echo "$as_me:4760: \$? = $ac_status" >&5
47611.4Stv  (exit $ac_status); } &&
47621.4Stv         { ac_try='test -s conftest$ac_exeext'
47631.19Sbjh21  { (eval echo "$as_me:4763: \"$ac_try\"") >&5
47641.4Stv  (eval $ac_try) 2>&5
47651.4Stv  ac_status=$?
47661.19Sbjh21  echo "$as_me:4766: \$? = $ac_status" >&5
47671.4Stv  (exit $ac_status); }; }; then
47681.4Stv  ac_cv_lib_regex_regfree=yes
47691.4Stvelse
47701.4Stv  echo "$as_me: failed program was:" >&5
47711.4Stvcat conftest.$ac_ext >&5
47721.4Stvac_cv_lib_regex_regfree=no
47731.4Stvfi
47741.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47751.4StvLIBS=$ac_check_lib_save_LIBS
47761.4Stvfi
47771.19Sbjh21echo "$as_me:4777: result: $ac_cv_lib_regex_regfree" >&5
47781.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
47791.4Stvif test $ac_cv_lib_regex_regfree = yes; then
47801.4Stv  cat >>confdefs.h <<EOF
47811.4Stv#define HAVE_LIBREGEX 1
47821.4StvEOF
47831.4Stv
47841.4Stv  LIBS="-lregex $LIBS"
47851.4Stv
47861.4Stvfi
47871.4Stv
47881.19Sbjh21echo "$as_me:4788: checking for library containing regfree" >&5
47891.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
47901.4Stvif test "${ac_cv_search_regfree+set}" = set; then
47911.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47921.1Stvelse
47931.1Stv  ac_func_search_save_LIBS=$LIBS
47941.4Stvac_cv_search_regfree=no
47951.1Stvcat >conftest.$ac_ext <<_ACEOF
47961.19Sbjh21#line 4796 "configure"
47971.1Stv#include "confdefs.h"
47981.1Stv
47991.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
48001.1Stv#ifdef __cplusplus
48011.1Stvextern "C"
48021.1Stv#endif
48031.1Stv/* We use char because int might match the return type of a gcc2
48041.1Stv   builtin and then its argument prototype would still apply.  */
48051.4Stvchar regfree ();
48061.1Stvint
48071.1Stvmain ()
48081.1Stv{
48091.4Stvregfree ();
48101.1Stv  ;
48111.1Stv  return 0;
48121.1Stv}
48131.1Stv_ACEOF
48141.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
48151.19Sbjh21if { (eval echo "$as_me:4815: \"$ac_link\"") >&5
48161.1Stv  (eval $ac_link) 2>&5
48171.1Stv  ac_status=$?
48181.19Sbjh21  echo "$as_me:4818: \$? = $ac_status" >&5
48191.1Stv  (exit $ac_status); } &&
48201.1Stv         { ac_try='test -s conftest$ac_exeext'
48211.19Sbjh21  { (eval echo "$as_me:4821: \"$ac_try\"") >&5
48221.1Stv  (eval $ac_try) 2>&5
48231.1Stv  ac_status=$?
48241.19Sbjh21  echo "$as_me:4824: \$? = $ac_status" >&5
48251.1Stv  (exit $ac_status); }; }; then
48261.4Stv  ac_cv_search_regfree="none required"
48271.1Stvelse
48281.1Stv  echo "$as_me: failed program was:" >&5
48291.1Stvcat conftest.$ac_ext >&5
48301.1Stvfi
48311.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48321.4Stvif test "$ac_cv_search_regfree" = no; then
48331.4Stv  for ac_lib in rx posix; do
48341.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
48351.1Stv    cat >conftest.$ac_ext <<_ACEOF
48361.19Sbjh21#line 4836 "configure"
48371.1Stv#include "confdefs.h"
48381.1Stv
48391.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
48401.1Stv#ifdef __cplusplus
48411.1Stvextern "C"
48421.1Stv#endif
48431.1Stv/* We use char because int might match the return type of a gcc2
48441.1Stv   builtin and then its argument prototype would still apply.  */
48451.4Stvchar regfree ();
48461.1Stvint
48471.1Stvmain ()
48481.1Stv{
48491.4Stvregfree ();
48501.1Stv  ;
48511.1Stv  return 0;
48521.1Stv}
48531.1Stv_ACEOF
48541.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
48551.19Sbjh21if { (eval echo "$as_me:4855: \"$ac_link\"") >&5
48561.1Stv  (eval $ac_link) 2>&5
48571.1Stv  ac_status=$?
48581.19Sbjh21  echo "$as_me:4858: \$? = $ac_status" >&5
48591.1Stv  (exit $ac_status); } &&
48601.1Stv         { ac_try='test -s conftest$ac_exeext'
48611.19Sbjh21  { (eval echo "$as_me:4861: \"$ac_try\"") >&5
48621.1Stv  (eval $ac_try) 2>&5
48631.1Stv  ac_status=$?
48641.19Sbjh21  echo "$as_me:4864: \$? = $ac_status" >&5
48651.1Stv  (exit $ac_status); }; }; then
48661.4Stv  ac_cv_search_regfree="-l$ac_lib"
48671.1Stvbreak
48681.1Stvelse
48691.1Stv  echo "$as_me: failed program was:" >&5
48701.1Stvcat conftest.$ac_ext >&5
48711.1Stvfi
48721.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48731.1Stv  done
48741.1Stvfi
48751.1StvLIBS=$ac_func_search_save_LIBS
48761.1Stvfi
48771.19Sbjh21echo "$as_me:4877: result: $ac_cv_search_regfree" >&5
48781.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
48791.4Stvif test "$ac_cv_search_regfree" != no; then
48801.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
48811.1Stv
48821.1Stvfi
48831.1Stv
48841.1Stvcat >confcache <<\_ACEOF
48851.1Stv# This file is a shell script that caches the results of configure
48861.1Stv# tests run on this system so they can be shared between configure
48871.1Stv# scripts and configure runs, see configure's option --config-cache.
48881.1Stv# It is not useful on other systems.  If it contains results you don't
48891.1Stv# want to keep, you may remove or edit it.
48901.1Stv#
48911.1Stv# config.status only pays attention to the cache file if you give it
48921.1Stv# the --recheck option to rerun configure.
48931.1Stv#
48941.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
48951.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
48961.1Stv# following values.
48971.1Stv
48981.1Stv_ACEOF
48991.1Stv
49001.1Stv# The following way of writing the cache mishandles newlines in values,
49011.1Stv# but we know of no workaround that is simple, portable, and efficient.
49021.1Stv# So, don't put newlines in cache variables' values.
49031.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
49041.1Stv# and sets the high bit in the cache file unless we assign to the vars.
49051.1Stv{
49061.1Stv  (set) 2>&1 |
49071.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
49081.1Stv    *ac_space=\ *)
49091.1Stv      # `set' does not quote correctly, so add quotes (double-quote
49101.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
49111.1Stv      sed -n \
49121.1Stv        "s/'/'\\\\''/g;
49131.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49141.1Stv      ;;
49151.1Stv    *)
49161.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
49171.1Stv      sed -n \
49181.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49191.1Stv      ;;
49201.1Stv    esac;
49211.1Stv} |
49221.1Stv  sed '
49231.1Stv     t clear
49241.1Stv     : clear
49251.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49261.1Stv     t end
49271.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49281.1Stv     : end' >>confcache
49291.1Stvif cmp -s $cache_file confcache; then :; else
49301.1Stv  if test -w $cache_file; then
49311.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49321.1Stv    cat confcache >$cache_file
49331.1Stv  else
49341.1Stv    echo "not updating unwritable cache $cache_file"
49351.1Stv  fi
49361.1Stvfi
49371.1Stvrm -f confcache
49381.1Stv
49391.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
49401.1Stv# Let make expand exec_prefix.
49411.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49421.1Stv
49431.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
49441.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49451.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
49461.1Stv# (actually we leave an empty line to preserve line numbers).
49471.1Stvif test "x$srcdir" = x.; then
49481.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
49491.1Stvs/:*\$(srcdir):*/:/;
49501.1Stvs/:*\${srcdir}:*/:/;
49511.1Stvs/:*@srcdir@:*/:/;
49521.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
49531.1Stvs/:*$//;
49541.1Stvs/^[^=]*=[ 	]*$//;
49551.1Stv}'
49561.1Stvfi
49571.1Stv
49581.1StvDEFS=-DHAVE_CONFIG_H
49591.1Stv
49601.1Stv: ${CONFIG_STATUS=./config.status}
49611.1Stvac_clean_files_save=$ac_clean_files
49621.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
49631.19Sbjh21{ echo "$as_me:4963: creating $CONFIG_STATUS" >&5
49641.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
49651.1Stvcat >$CONFIG_STATUS <<_ACEOF
49661.1Stv#! $SHELL
49671.1Stv# Generated automatically by configure.
49681.1Stv# Run this file to recreate the current configuration.
49691.1Stv# Compiler output produced by configure, useful for debugging
49701.1Stv# configure, is in config.log if it exists.
49711.1Stv
49721.1Stvdebug=false
49731.1StvSHELL=\${CONFIG_SHELL-$SHELL}
49741.1Stvac_cs_invocation="\$0 \$@"
49751.1Stv
49761.1Stv_ACEOF
49771.1Stv
49781.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
49791.1Stv# Be Bourne compatible
49801.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49811.1Stv  emulate sh
49821.1Stv  NULLCMD=:
49831.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49841.1Stv  set -o posix
49851.1Stvfi
49861.1Stv
49871.1Stv# Name of the executable.
49881.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
49891.1Stv
49901.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
49911.1Stv  as_expr=expr
49921.1Stvelse
49931.1Stv  as_expr=false
49941.1Stvfi
49951.1Stv
49961.1Stvrm -f conf$$ conf$$.exe conf$$.file
49971.1Stvecho >conf$$.file
49981.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
49991.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
50001.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50011.1Stv  if test -f conf$$.exe; then
50021.1Stv    # Don't use ln at all; we don't have any links
50031.1Stv    as_ln_s='cp -p'
50041.1Stv  else
50051.1Stv    as_ln_s='ln -s'
50061.1Stv  fi
50071.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
50081.1Stv  as_ln_s=ln
50091.1Stvelse
50101.1Stv  as_ln_s='cp -p'
50111.1Stvfi
50121.1Stvrm -f conf$$ conf$$.exe conf$$.file
50131.1Stv
50141.1Stvas_executable_p="test -f"
50151.1Stv
50161.1Stv# Support unset when possible.
50171.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
50181.1Stv  as_unset=unset
50191.1Stvelse
50201.1Stv  as_unset=false
50211.1Stvfi
50221.1Stv
50231.1Stv# NLS nuisances.
50241.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
50251.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
50261.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
50271.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
50281.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
50291.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
50301.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
50311.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
50321.1Stv
50331.1Stv# IFS
50341.1Stv# We need space, tab and new line, in precisely that order.
50351.1Stvas_nl='
50361.1Stv'
50371.1StvIFS=" 	$as_nl"
50381.1Stv
50391.1Stv# CDPATH.
50401.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
50411.1Stv
50421.1Stvexec 6>&1
50431.1Stv
50441.1Stv_ACEOF
50451.1Stv
50461.1Stv# Files that config.status was made for.
50471.1Stvif test -n "$ac_config_files"; then
50481.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50491.1Stvfi
50501.1Stv
50511.1Stvif test -n "$ac_config_headers"; then
50521.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50531.1Stvfi
50541.1Stv
50551.1Stvif test -n "$ac_config_links"; then
50561.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50571.1Stvfi
50581.1Stv
50591.1Stvif test -n "$ac_config_commands"; then
50601.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50611.1Stvfi
50621.1Stv
50631.1Stvcat >>$CONFIG_STATUS <<\EOF
50641.1Stv
50651.1Stvac_cs_usage="\
50661.1Stv\`$as_me' instantiates files from templates according to the
50671.1Stvcurrent configuration.
50681.1Stv
50691.1StvUsage: $0 [OPTIONS] [FILE]...
50701.1Stv
50711.1Stv  -h, --help       print this help, then exit
50721.1Stv  -V, --version    print version number, then exit
50731.1Stv  -d, --debug      don't remove temporary files
50741.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
50751.1Stv  --file=FILE[:TEMPLATE]
50761.1Stv                   instantiate the configuration file FILE
50771.1Stv  --header=FILE[:TEMPLATE]
50781.1Stv                   instantiate the configuration header FILE
50791.1Stv
50801.1StvConfiguration files:
50811.1Stv$config_files
50821.1Stv
50831.1StvConfiguration headers:
50841.1Stv$config_headers
50851.1Stv
50861.1StvReport bugs to <bug-autoconf@gnu.org>."
50871.1StvEOF
50881.1Stv
50891.1Stvcat >>$CONFIG_STATUS <<EOF
50901.1Stvac_cs_version="\\
50911.1Stvlibnbcompat config.status noversion
50921.1Stvconfigured by $0, generated by GNU Autoconf 2.52,
50931.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50941.1Stv
50951.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
50961.1StvFree Software Foundation, Inc.
50971.1StvThis config.status script is free software; the Free Software Foundation
50981.1Stvgives unlimited permission to copy, distribute and modify it."
50991.1Stvsrcdir=$srcdir
51001.1StvEOF
51011.1Stv
51021.1Stvcat >>$CONFIG_STATUS <<\EOF
51031.1Stv# If no file are specified by the user, then we need to provide default
51041.1Stv# value.  By we need to know if files were specified by the user.
51051.1Stvac_need_defaults=:
51061.1Stvwhile test $# != 0
51071.1Stvdo
51081.1Stv  case $1 in
51091.1Stv  --*=*)
51101.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
51111.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51121.1Stv    shift
51131.1Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
51141.1Stv    shift
51151.1Stv    ;;
51161.1Stv  -*);;
51171.1Stv  *) # This is not an option, so the user has probably given explicit
51181.1Stv     # arguments.
51191.1Stv     ac_need_defaults=false;;
51201.1Stv  esac
51211.1Stv
51221.1Stv  case $1 in
51231.1Stv  # Handling of the options.
51241.1StvEOF
51251.1Stvcat >>$CONFIG_STATUS <<EOF
51261.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51271.1Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
51281.1Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
51291.1StvEOF
51301.1Stvcat >>$CONFIG_STATUS <<\EOF
51311.1Stv  --version | --vers* | -V )
51321.1Stv    echo "$ac_cs_version"; exit 0 ;;
51331.1Stv  --he | --h)
51341.1Stv    # Conflict between --help and --header
51351.19Sbjh21    { { echo "$as_me:5135: error: ambiguous option: $1
51361.1StvTry \`$0 --help' for more information." >&5
51371.1Stvecho "$as_me: error: ambiguous option: $1
51381.1StvTry \`$0 --help' for more information." >&2;}
51391.1Stv   { (exit 1); exit 1; }; };;
51401.1Stv  --help | --hel | -h )
51411.1Stv    echo "$ac_cs_usage"; exit 0 ;;
51421.1Stv  --debug | --d* | -d )
51431.1Stv    debug=: ;;
51441.1Stv  --file | --fil | --fi | --f )
51451.1Stv    shift
51461.1Stv    CONFIG_FILES="$CONFIG_FILES $1"
51471.1Stv    ac_need_defaults=false;;
51481.1Stv  --header | --heade | --head | --hea )
51491.1Stv    shift
51501.1Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
51511.1Stv    ac_need_defaults=false;;
51521.1Stv
51531.1Stv  # This is an error.
51541.19Sbjh21  -*) { { echo "$as_me:5154: error: unrecognized option: $1
51551.1StvTry \`$0 --help' for more information." >&5
51561.1Stvecho "$as_me: error: unrecognized option: $1
51571.1StvTry \`$0 --help' for more information." >&2;}
51581.1Stv   { (exit 1); exit 1; }; } ;;
51591.1Stv
51601.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
51611.1Stv
51621.1Stv  esac
51631.1Stv  shift
51641.1Stvdone
51651.1Stv
51661.1Stvexec 5>>config.log
51671.1Stvcat >&5 << _ACEOF
51681.1Stv
51691.1Stv## ----------------------- ##
51701.1Stv## Running config.status.  ##
51711.1Stv## ----------------------- ##
51721.1Stv
51731.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
51741.1Stv  CONFIG_FILES    = $CONFIG_FILES
51751.1Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
51761.1Stv  CONFIG_LINKS    = $CONFIG_LINKS
51771.1Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
51781.1Stv  > $ac_cs_invocation
51791.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
51801.1Stv
51811.1Stv_ACEOF
51821.1StvEOF
51831.1Stv
51841.1Stvcat >>$CONFIG_STATUS <<\EOF
51851.1Stvfor ac_config_target in $ac_config_targets
51861.1Stvdo
51871.1Stv  case "$ac_config_target" in
51881.1Stv  # Handling of arguments.
51891.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
51901.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
51911.19Sbjh21  *) { { echo "$as_me:5191: error: invalid argument: $ac_config_target" >&5
51921.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
51931.1Stv   { (exit 1); exit 1; }; };;
51941.1Stv  esac
51951.1Stvdone
51961.1Stv
51971.1Stv# If the user did not use the arguments to specify the items to instantiate,
51981.1Stv# then the envvar interface is used.  Set only those that are not.
51991.1Stv# We use the long form for the default assignment because of an extremely
52001.1Stv# bizarre bug on SunOS 4.1.3.
52011.1Stvif $ac_need_defaults; then
52021.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52031.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52041.1Stvfi
52051.1Stv
52061.1Stv# Create a temporary directory, and hook for its removal unless debugging.
52071.1Stv$debug ||
52081.1Stv{
52091.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52101.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
52111.1Stv}
52121.1Stv
52131.1Stv# Create a (secure) tmp directory for tmp files.
52141.1Stv: ${TMPDIR=/tmp}
52151.1Stv{
52161.1Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
52171.1Stv  test -n "$tmp" && test -d "$tmp"
52181.1Stv}  ||
52191.1Stv{
52201.1Stv  tmp=$TMPDIR/cs$$-$RANDOM
52211.1Stv  (umask 077 && mkdir $tmp)
52221.1Stv} ||
52231.1Stv{
52241.1Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
52251.1Stv   { (exit 1); exit 1; }
52261.1Stv}
52271.1Stv
52281.1StvEOF
52291.1Stv
52301.1Stvcat >>$CONFIG_STATUS <<EOF
52311.1Stv
52321.1Stv#
52331.1Stv# CONFIG_FILES section.
52341.1Stv#
52351.1Stv
52361.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
52371.1Stv# This happens for instance when ./config.status config.h
52381.1Stvif test -n "\$CONFIG_FILES"; then
52391.1Stv  # Protect against being on the right side of a sed subst in config.status.
52401.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52411.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52421.1Stvs,@SHELL@,$SHELL,;t t
52431.1Stvs,@exec_prefix@,$exec_prefix,;t t
52441.1Stvs,@prefix@,$prefix,;t t
52451.1Stvs,@program_transform_name@,$program_transform_name,;t t
52461.1Stvs,@bindir@,$bindir,;t t
52471.1Stvs,@sbindir@,$sbindir,;t t
52481.1Stvs,@libexecdir@,$libexecdir,;t t
52491.1Stvs,@datadir@,$datadir,;t t
52501.1Stvs,@sysconfdir@,$sysconfdir,;t t
52511.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
52521.1Stvs,@localstatedir@,$localstatedir,;t t
52531.1Stvs,@libdir@,$libdir,;t t
52541.1Stvs,@includedir@,$includedir,;t t
52551.1Stvs,@oldincludedir@,$oldincludedir,;t t
52561.1Stvs,@infodir@,$infodir,;t t
52571.1Stvs,@mandir@,$mandir,;t t
52581.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52591.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52601.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52611.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52621.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52631.1Stvs,@build_alias@,$build_alias,;t t
52641.1Stvs,@host_alias@,$host_alias,;t t
52651.1Stvs,@target_alias@,$target_alias,;t t
52661.1Stvs,@ECHO_C@,$ECHO_C,;t t
52671.1Stvs,@ECHO_N@,$ECHO_N,;t t
52681.1Stvs,@ECHO_T@,$ECHO_T,;t t
52691.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52701.1Stvs,@DEFS@,$DEFS,;t t
52711.1Stvs,@LIBS@,$LIBS,;t t
52721.1Stvs,@CC@,$CC,;t t
52731.1Stvs,@CFLAGS@,$CFLAGS,;t t
52741.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
52751.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
52761.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
52771.1Stvs,@EXEEXT@,$EXEEXT,;t t
52781.1Stvs,@OBJEXT@,$OBJEXT,;t t
52791.1Stvs,@CPP@,$CPP,;t t
52801.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
52811.1StvCEOF
52821.1Stv
52831.1StvEOF
52841.1Stv
52851.1Stv  cat >>$CONFIG_STATUS <<\EOF
52861.1Stv  # Split the substitutions into bite-sized pieces for seds with
52871.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
52881.1Stv  ac_max_sed_lines=48
52891.1Stv  ac_sed_frag=1 # Number of current file.
52901.1Stv  ac_beg=1 # First line for current file.
52911.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
52921.1Stv  ac_more_lines=:
52931.1Stv  ac_sed_cmds=
52941.1Stv  while $ac_more_lines; do
52951.1Stv    if test $ac_beg -gt 1; then
52961.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52971.1Stv    else
52981.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52991.1Stv    fi
53001.1Stv    if test ! -s $tmp/subs.frag; then
53011.1Stv      ac_more_lines=false
53021.1Stv    else
53031.1Stv      # The purpose of the label and of the branching condition is to
53041.1Stv      # speed up the sed processing (if there are no `@' at all, there
53051.1Stv      # is no need to browse any of the substitutions).
53061.1Stv      # These are the two extra sed commands mentioned above.
53071.1Stv      (echo ':t
53081.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
53091.1Stv      if test -z "$ac_sed_cmds"; then
53101.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
53111.1Stv      else
53121.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53131.1Stv      fi
53141.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
53151.1Stv      ac_beg=$ac_end
53161.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
53171.1Stv    fi
53181.1Stv  done
53191.1Stv  if test -z "$ac_sed_cmds"; then
53201.1Stv    ac_sed_cmds=cat
53211.1Stv  fi
53221.1Stvfi # test -n "$CONFIG_FILES"
53231.1Stv
53241.1StvEOF
53251.1Stvcat >>$CONFIG_STATUS <<\EOF
53261.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53271.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53281.1Stv  case $ac_file in
53291.1Stv  - | *:- | *:-:* ) # input from stdin
53301.1Stv        cat >$tmp/stdin
53311.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53321.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53331.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53341.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53351.1Stv  * )   ac_file_in=$ac_file.in ;;
53361.1Stv  esac
53371.1Stv
53381.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53391.1Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53401.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
53411.1Stv         X"$ac_file" : 'X\(//\)$' \| \
53421.1Stv         X"$ac_file" : 'X\(/\)' \| \
53431.1Stv         .     : '\(.\)' 2>/dev/null ||
53441.1Stvecho X"$ac_file" |
53451.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53461.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53471.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
53481.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
53491.1Stv  	  s/.*/./; q'`
53501.1Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
53511.1Stv    { case "$ac_dir" in
53521.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
53531.1Stv  *)                      as_incr_dir=.;;
53541.1Stvesac
53551.1Stvas_dummy="$ac_dir"
53561.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
53571.1Stv  case $as_mkdir_dir in
53581.1Stv    # Skip DOS drivespec
53591.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
53601.1Stv    *)
53611.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
53621.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
53631.1Stv    ;;
53641.1Stv  esac
53651.1Stvdone; }
53661.1Stv
53671.1Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
53681.1Stv    # A "../" for each directory in $ac_dir_suffix.
53691.1Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
53701.1Stv  else
53711.1Stv    ac_dir_suffix= ac_dots=
53721.1Stv  fi
53731.1Stv
53741.1Stv  case $srcdir in
53751.1Stv  .)  ac_srcdir=.
53761.1Stv      if test -z "$ac_dots"; then
53771.1Stv         ac_top_srcdir=.
53781.1Stv      else
53791.1Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
53801.1Stv      fi ;;
53811.1Stv  [\\/]* | ?:[\\/]* )
53821.1Stv      ac_srcdir=$srcdir$ac_dir_suffix;
53831.1Stv      ac_top_srcdir=$srcdir ;;
53841.1Stv  *) # Relative path.
53851.1Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
53861.1Stv    ac_top_srcdir=$ac_dots$srcdir ;;
53871.1Stv  esac
53881.1Stv
53891.1Stv  if test x"$ac_file" != x-; then
53901.19Sbjh21    { echo "$as_me:5390: creating $ac_file" >&5
53911.1Stvecho "$as_me: creating $ac_file" >&6;}
53921.1Stv    rm -f "$ac_file"
53931.1Stv  fi
53941.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
53951.1Stv  # use $as_me), people would be surprised to read:
53961.1Stv  #    /* config.h.  Generated automatically by config.status.  */
53971.1Stv  configure_input="Generated automatically from `echo $ac_file_in |
53981.1Stv                                                 sed 's,.*/,,'` by configure."
53991.1Stv
54001.1Stv  # First look for the input files in the build tree, otherwise in the
54011.1Stv  # src tree.
54021.1Stv  ac_file_inputs=`IFS=:
54031.1Stv    for f in $ac_file_in; do
54041.1Stv      case $f in
54051.1Stv      -) echo $tmp/stdin ;;
54061.1Stv      [\\/$]*)
54071.1Stv         # Absolute (can't be DOS-style, as IFS=:)
54081.19Sbjh21         test -f "$f" || { { echo "$as_me:5408: error: cannot find input file: $f" >&5
54091.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54101.1Stv   { (exit 1); exit 1; }; }
54111.1Stv         echo $f;;
54121.1Stv      *) # Relative
54131.1Stv         if test -f "$f"; then
54141.1Stv           # Build tree
54151.1Stv           echo $f
54161.1Stv         elif test -f "$srcdir/$f"; then
54171.1Stv           # Source tree
54181.1Stv           echo $srcdir/$f
54191.1Stv         else
54201.1Stv           # /dev/null tree
54211.19Sbjh21           { { echo "$as_me:5421: error: cannot find input file: $f" >&5
54221.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54231.1Stv   { (exit 1); exit 1; }; }
54241.1Stv         fi;;
54251.1Stv      esac
54261.1Stv    done` || { (exit 1); exit 1; }
54271.1StvEOF
54281.1Stvcat >>$CONFIG_STATUS <<EOF
54291.1Stv  sed "$ac_vpsub
54301.1Stv$extrasub
54311.1StvEOF
54321.1Stvcat >>$CONFIG_STATUS <<\EOF
54331.1Stv:t
54341.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54351.1Stvs,@configure_input@,$configure_input,;t t
54361.1Stvs,@srcdir@,$ac_srcdir,;t t
54371.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
54381.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
54391.1Stv  rm -f $tmp/stdin
54401.1Stv  if test x"$ac_file" != x-; then
54411.1Stv    mv $tmp/out $ac_file
54421.1Stv  else
54431.1Stv    cat $tmp/out
54441.1Stv    rm -f $tmp/out
54451.1Stv  fi
54461.1Stv
54471.1Stvdone
54481.1StvEOF
54491.1Stvcat >>$CONFIG_STATUS <<\EOF
54501.1Stv
54511.1Stv#
54521.1Stv# CONFIG_HEADER section.
54531.1Stv#
54541.1Stv
54551.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
54561.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
54571.1Stv#
54581.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
54591.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
54601.1Stvac_dB='[ 	].*$,\1#\2'
54611.1Stvac_dC=' '
54621.1Stvac_dD=',;t'
54631.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
54641.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
54651.1Stvac_uB='$,\1#\2define\3'
54661.1Stvac_uC=' '
54671.1Stvac_uD=',;t'
54681.1Stv
54691.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
54701.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54711.1Stv  case $ac_file in
54721.1Stv  - | *:- | *:-:* ) # input from stdin
54731.1Stv        cat >$tmp/stdin
54741.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54751.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54761.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54771.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54781.1Stv  * )   ac_file_in=$ac_file.in ;;
54791.1Stv  esac
54801.1Stv
54811.19Sbjh21  test x"$ac_file" != x- && { echo "$as_me:5481: creating $ac_file" >&5
54821.1Stvecho "$as_me: creating $ac_file" >&6;}
54831.1Stv
54841.1Stv  # First look for the input files in the build tree, otherwise in the
54851.1Stv  # src tree.
54861.1Stv  ac_file_inputs=`IFS=:
54871.1Stv    for f in $ac_file_in; do
54881.1Stv      case $f in
54891.1Stv      -) echo $tmp/stdin ;;
54901.1Stv      [\\/$]*)
54911.1Stv         # Absolute (can't be DOS-style, as IFS=:)
54921.19Sbjh21         test -f "$f" || { { echo "$as_me:5492: error: cannot find input file: $f" >&5
54931.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
54941.1Stv   { (exit 1); exit 1; }; }
54951.1Stv         echo $f;;
54961.1Stv      *) # Relative
54971.1Stv         if test -f "$f"; then
54981.1Stv           # Build tree
54991.1Stv           echo $f
55001.1Stv         elif test -f "$srcdir/$f"; then
55011.1Stv           # Source tree
55021.1Stv           echo $srcdir/$f
55031.1Stv         else
55041.1Stv           # /dev/null tree
55051.19Sbjh21           { { echo "$as_me:5505: error: cannot find input file: $f" >&5
55061.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55071.1Stv   { (exit 1); exit 1; }; }
55081.1Stv         fi;;
55091.1Stv      esac
55101.1Stv    done` || { (exit 1); exit 1; }
55111.1Stv  # Remove the trailing spaces.
55121.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
55131.1Stv
55141.1StvEOF
55151.1Stv
55161.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
55171.1Stv# `conftest.undefs', that substitutes the proper values into
55181.1Stv# config.h.in to produce config.h.  The first handles `#define'
55191.1Stv# templates, and the second `#undef' templates.
55201.1Stv# And first: Protect against being on the right side of a sed subst in
55211.1Stv# config.status.  Protect against being in an unquoted here document
55221.1Stv# in config.status.
55231.1Stvrm -f conftest.defines conftest.undefs
55241.1Stv# Using a here document instead of a string reduces the quoting nightmare.
55251.1Stv# Putting comments in sed scripts is not portable.
55261.1Stv#
55271.1Stv# `end' is used to avoid that the second main sed command (meant for
55281.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
55291.1Stv# See the Autoconf documentation for `clear'.
55301.1Stvcat >confdef2sed.sed <<\EOF
55311.1Stvs/[\\&,]/\\&/g
55321.1Stvs,[\\$`],\\&,g
55331.1Stvt clear
55341.1Stv: clear
55351.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
55361.1Stvt end
55371.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
55381.1Stv: end
55391.1StvEOF
55401.1Stv# If some macros were called several times there might be several times
55411.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
55421.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
55431.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
55441.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
55451.1Stvrm -f confdef2sed.sed
55461.1Stv
55471.1Stv# This sed command replaces #undef with comments.  This is necessary, for
55481.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
55491.1Stv# on some systems where configure will not decide to define it.
55501.1Stvcat >>conftest.undefs <<\EOF
55511.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
55521.1StvEOF
55531.1Stv
55541.1Stv# Break up conftest.defines because some shells have a limit on the size
55551.1Stv# of here documents, and old seds have small limits too (100 cmds).
55561.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
55571.1Stvecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
55581.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
55591.1Stvecho '  :' >>$CONFIG_STATUS
55601.1Stvrm -f conftest.tail
55611.1Stvwhile grep . conftest.defines >/dev/null
55621.1Stvdo
55631.1Stv  # Write a limited-size here document to $tmp/defines.sed.
55641.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
55651.1Stv  # Speed up: don't consider the non `#define' lines.
55661.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
55671.1Stv  # Work around the forget-to-reset-the-flag bug.
55681.1Stv  echo 't clr' >>$CONFIG_STATUS
55691.1Stv  echo ': clr' >>$CONFIG_STATUS
55701.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
55711.1Stv  echo 'CEOF
55721.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
55731.1Stv  rm -f $tmp/in
55741.1Stv  mv $tmp/out $tmp/in
55751.1Stv' >>$CONFIG_STATUS
55761.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
55771.1Stv  rm -f conftest.defines
55781.1Stv  mv conftest.tail conftest.defines
55791.1Stvdone
55801.1Stvrm -f conftest.defines
55811.1Stvecho '  fi # egrep' >>$CONFIG_STATUS
55821.1Stvecho >>$CONFIG_STATUS
55831.1Stv
55841.1Stv# Break up conftest.undefs because some shells have a limit on the size
55851.1Stv# of here documents, and old seds have small limits too (100 cmds).
55861.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
55871.1Stvrm -f conftest.tail
55881.1Stvwhile grep . conftest.undefs >/dev/null
55891.1Stvdo
55901.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
55911.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
55921.1Stv  # Speed up: don't consider the non `#undef'
55931.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
55941.1Stv  # Work around the forget-to-reset-the-flag bug.
55951.1Stv  echo 't clr' >>$CONFIG_STATUS
55961.1Stv  echo ': clr' >>$CONFIG_STATUS
55971.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
55981.1Stv  echo 'CEOF
55991.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
56001.1Stv  rm -f $tmp/in
56011.1Stv  mv $tmp/out $tmp/in
56021.1Stv' >>$CONFIG_STATUS
56031.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
56041.1Stv  rm -f conftest.undefs
56051.1Stv  mv conftest.tail conftest.undefs
56061.1Stvdone
56071.1Stvrm -f conftest.undefs
56081.1Stv
56091.1Stvcat >>$CONFIG_STATUS <<\EOF
56101.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
56111.1Stv  # use $as_me), people would be surprised to read:
56121.1Stv  #    /* config.h.  Generated automatically by config.status.  */
56131.1Stv  if test x"$ac_file" = x-; then
56141.1Stv    echo "/* Generated automatically by configure.  */" >$tmp/config.h
56151.1Stv  else
56161.1Stv    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
56171.1Stv  fi
56181.1Stv  cat $tmp/in >>$tmp/config.h
56191.1Stv  rm -f $tmp/in
56201.1Stv  if test x"$ac_file" != x-; then
56211.1Stv    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
56221.19Sbjh21      { echo "$as_me:5622: $ac_file is unchanged" >&5
56231.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
56241.1Stv    else
56251.1Stv      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56261.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
56271.1Stv         X"$ac_file" : 'X\(//\)$' \| \
56281.1Stv         X"$ac_file" : 'X\(/\)' \| \
56291.1Stv         .     : '\(.\)' 2>/dev/null ||
56301.1Stvecho X"$ac_file" |
56311.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56321.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56331.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
56341.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
56351.1Stv  	  s/.*/./; q'`
56361.1Stv      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
56371.1Stv        { case "$ac_dir" in
56381.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
56391.1Stv  *)                      as_incr_dir=.;;
56401.1Stvesac
56411.1Stvas_dummy="$ac_dir"
56421.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
56431.1Stv  case $as_mkdir_dir in
56441.1Stv    # Skip DOS drivespec
56451.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
56461.1Stv    *)
56471.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
56481.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
56491.1Stv    ;;
56501.1Stv  esac
56511.1Stvdone; }
56521.1Stv
56531.1Stv      fi
56541.1Stv      rm -f $ac_file
56551.1Stv      mv $tmp/config.h $ac_file
56561.1Stv    fi
56571.1Stv  else
56581.1Stv    cat $tmp/config.h
56591.1Stv    rm -f $tmp/config.h
56601.1Stv  fi
56611.1Stvdone
56621.1StvEOF
56631.1Stv
56641.1Stvcat >>$CONFIG_STATUS <<\EOF
56651.1Stv
56661.1Stv{ (exit 0); exit 0; }
56671.1StvEOF
56681.1Stvchmod +x $CONFIG_STATUS
56691.1Stvac_clean_files=$ac_clean_files_save
56701.1Stv
56711.1Stv# configure is writing to config.log, and then calls config.status.
56721.1Stv# config.status does its own redirection, appending to config.log.
56731.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
56741.1Stv# by configure, so config.status won't be able to write to it; its
56751.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
56761.1Stv# effectively closing config.log, so it can be properly (re)opened and
56771.1Stv# appended to by config.status.  When coming back to configure, we
56781.1Stv# need to make the FD available again.
56791.1Stvif test "$no_create" != yes; then
56801.1Stv  ac_cs_success=:
56811.1Stv  exec 5>/dev/null
56821.1Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
56831.1Stv  exec 5>>config.log
56841.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56851.1Stv  # would make configure fail if this is the last instruction.
56861.1Stv  $ac_cs_success || { (exit 1); exit 1; }
56871.1Stvfi
56881.1Stv
5689