configure revision 1.4
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.4Stv# Make sure certain required headers are available.
17961.4Stv# These are not necessarily required by the code, but they are not
17971.4Stv# currently conditionalized.
17981.1Stvac_ext=c
17991.1Stvac_cpp='$CPP $CPPFLAGS'
18001.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18021.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
18031.4Stvecho "$as_me:1803: checking how to run the C preprocessor" >&5
18041.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
18051.1Stv# On Suns, sometimes $CPP names a directory.
18061.1Stvif test -n "$CPP" && test -d "$CPP"; then
18071.1Stv  CPP=
18081.1Stvfi
18091.1Stvif test -z "$CPP"; then
18101.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
18111.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18121.1Stvelse
18131.1Stv      # Double quotes because CPP needs to be expanded
18141.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18151.1Stv    do
18161.1Stv      ac_preproc_ok=false
18171.1Stvfor ac_c_preproc_warn_flag in '' yes
18181.1Stvdo
18191.1Stv  # Use a header file that comes with gcc, so configuring glibc
18201.1Stv  # with a fresh cross-compiler works.
18211.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
18221.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
18231.1Stv  cat >conftest.$ac_ext <<_ACEOF
18241.4Stv#line 1824 "configure"
18251.1Stv#include "confdefs.h"
18261.1Stv#include <assert.h>
18271.1Stv                     Syntax error
18281.1Stv_ACEOF
18291.4Stvif { (eval echo "$as_me:1829: \"$ac_cpp conftest.$ac_ext\"") >&5
18301.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18311.1Stv  ac_status=$?
18321.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
18331.1Stv  rm -f conftest.er1
18341.1Stv  cat conftest.err >&5
18351.4Stv  echo "$as_me:1835: \$? = $ac_status" >&5
18361.1Stv  (exit $ac_status); } >/dev/null; then
18371.1Stv  if test -s conftest.err; then
18381.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18391.1Stv  else
18401.1Stv    ac_cpp_err=
18411.1Stv  fi
18421.1Stvelse
18431.1Stv  ac_cpp_err=yes
18441.1Stvfi
18451.1Stvif test -z "$ac_cpp_err"; then
18461.1Stv  :
18471.1Stvelse
18481.1Stv  echo "$as_me: failed program was:" >&5
18491.1Stv  cat conftest.$ac_ext >&5
18501.1Stv  # Broken: fails on valid input.
18511.1Stvcontinue
18521.1Stvfi
18531.1Stvrm -f conftest.err conftest.$ac_ext
18541.1Stv
18551.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18561.1Stv  # can be detected and how.
18571.1Stv  cat >conftest.$ac_ext <<_ACEOF
18581.4Stv#line 1858 "configure"
18591.1Stv#include "confdefs.h"
18601.1Stv#include <ac_nonexistent.h>
18611.1Stv_ACEOF
18621.4Stvif { (eval echo "$as_me:1862: \"$ac_cpp conftest.$ac_ext\"") >&5
18631.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18641.1Stv  ac_status=$?
18651.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
18661.1Stv  rm -f conftest.er1
18671.1Stv  cat conftest.err >&5
18681.4Stv  echo "$as_me:1868: \$? = $ac_status" >&5
18691.1Stv  (exit $ac_status); } >/dev/null; then
18701.1Stv  if test -s conftest.err; then
18711.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18721.1Stv  else
18731.1Stv    ac_cpp_err=
18741.1Stv  fi
18751.1Stvelse
18761.1Stv  ac_cpp_err=yes
18771.1Stvfi
18781.1Stvif test -z "$ac_cpp_err"; then
18791.1Stv  # Broken: success on invalid input.
18801.1Stvcontinue
18811.1Stvelse
18821.1Stv  echo "$as_me: failed program was:" >&5
18831.1Stv  cat conftest.$ac_ext >&5
18841.1Stv  # Passes both tests.
18851.1Stvac_preproc_ok=:
18861.1Stvbreak
18871.1Stvfi
18881.1Stvrm -f conftest.err conftest.$ac_ext
18891.1Stv
18901.1Stvdone
18911.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18921.1Stvrm -f conftest.err conftest.$ac_ext
18931.1Stvif $ac_preproc_ok; then
18941.1Stv  break
18951.1Stvfi
18961.1Stv
18971.1Stv    done
18981.1Stv    ac_cv_prog_CPP=$CPP
18991.1Stv
19001.1Stvfi
19011.1Stv  CPP=$ac_cv_prog_CPP
19021.1Stvelse
19031.1Stv  ac_cv_prog_CPP=$CPP
19041.1Stvfi
19051.4Stvecho "$as_me:1905: result: $CPP" >&5
19061.1Stvecho "${ECHO_T}$CPP" >&6
19071.1Stvac_preproc_ok=false
19081.1Stvfor ac_c_preproc_warn_flag in '' yes
19091.1Stvdo
19101.1Stv  # Use a header file that comes with gcc, so configuring glibc
19111.1Stv  # with a fresh cross-compiler works.
19121.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
19131.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
19141.1Stv  cat >conftest.$ac_ext <<_ACEOF
19151.4Stv#line 1915 "configure"
19161.1Stv#include "confdefs.h"
19171.1Stv#include <assert.h>
19181.1Stv                     Syntax error
19191.1Stv_ACEOF
19201.4Stvif { (eval echo "$as_me:1920: \"$ac_cpp conftest.$ac_ext\"") >&5
19211.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19221.1Stv  ac_status=$?
19231.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19241.1Stv  rm -f conftest.er1
19251.1Stv  cat conftest.err >&5
19261.4Stv  echo "$as_me:1926: \$? = $ac_status" >&5
19271.1Stv  (exit $ac_status); } >/dev/null; then
19281.1Stv  if test -s conftest.err; then
19291.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19301.1Stv  else
19311.1Stv    ac_cpp_err=
19321.1Stv  fi
19331.1Stvelse
19341.1Stv  ac_cpp_err=yes
19351.1Stvfi
19361.1Stvif test -z "$ac_cpp_err"; then
19371.1Stv  :
19381.1Stvelse
19391.1Stv  echo "$as_me: failed program was:" >&5
19401.1Stv  cat conftest.$ac_ext >&5
19411.1Stv  # Broken: fails on valid input.
19421.1Stvcontinue
19431.1Stvfi
19441.1Stvrm -f conftest.err conftest.$ac_ext
19451.1Stv
19461.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
19471.1Stv  # can be detected and how.
19481.1Stv  cat >conftest.$ac_ext <<_ACEOF
19491.4Stv#line 1949 "configure"
19501.1Stv#include "confdefs.h"
19511.1Stv#include <ac_nonexistent.h>
19521.1Stv_ACEOF
19531.4Stvif { (eval echo "$as_me:1953: \"$ac_cpp conftest.$ac_ext\"") >&5
19541.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19551.1Stv  ac_status=$?
19561.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
19571.1Stv  rm -f conftest.er1
19581.1Stv  cat conftest.err >&5
19591.4Stv  echo "$as_me:1959: \$? = $ac_status" >&5
19601.1Stv  (exit $ac_status); } >/dev/null; then
19611.1Stv  if test -s conftest.err; then
19621.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19631.1Stv  else
19641.1Stv    ac_cpp_err=
19651.1Stv  fi
19661.1Stvelse
19671.1Stv  ac_cpp_err=yes
19681.1Stvfi
19691.1Stvif test -z "$ac_cpp_err"; then
19701.1Stv  # Broken: success on invalid input.
19711.1Stvcontinue
19721.1Stvelse
19731.1Stv  echo "$as_me: failed program was:" >&5
19741.1Stv  cat conftest.$ac_ext >&5
19751.1Stv  # Passes both tests.
19761.1Stvac_preproc_ok=:
19771.1Stvbreak
19781.1Stvfi
19791.1Stvrm -f conftest.err conftest.$ac_ext
19801.1Stv
19811.1Stvdone
19821.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19831.1Stvrm -f conftest.err conftest.$ac_ext
19841.1Stvif $ac_preproc_ok; then
19851.1Stv  :
19861.1Stvelse
19871.4Stv  { { echo "$as_me:1987: error: C preprocessor \"$CPP\" fails sanity check" >&5
19881.1Stvecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
19891.1Stv   { (exit 1); exit 1; }; }
19901.1Stvfi
19911.1Stv
19921.1Stvac_ext=c
19931.1Stvac_cpp='$CPP $CPPFLAGS'
19941.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19951.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19961.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
19971.1Stv
19981.4Stvfor ac_header in sys/cdefs.h sys/mman.h sys/param.h sys/stat.h \
19991.4Stv	sys/types.h sys/utsname.h sys/wait.h \
20001.4Stv	ctype.h errno.h fcntl.h grp.h limits.h locale.h paths.h pwd.h \
20011.4Stv	signal.h stdio.h stdlib.h string.h unistd.h
20021.4Stvdo
20031.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20041.4Stvecho "$as_me:2004: checking for $ac_header" >&5
20051.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20061.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
20071.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20081.4Stvelse
20091.4Stv  cat >conftest.$ac_ext <<_ACEOF
20101.4Stv#line 2010 "configure"
20111.4Stv#include "confdefs.h"
20121.4Stv#include <$ac_header>
20131.4Stv_ACEOF
20141.4Stvif { (eval echo "$as_me:2014: \"$ac_cpp conftest.$ac_ext\"") >&5
20151.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20161.4Stv  ac_status=$?
20171.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
20181.4Stv  rm -f conftest.er1
20191.4Stv  cat conftest.err >&5
20201.4Stv  echo "$as_me:2020: \$? = $ac_status" >&5
20211.4Stv  (exit $ac_status); } >/dev/null; then
20221.4Stv  if test -s conftest.err; then
20231.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20241.4Stv  else
20251.4Stv    ac_cpp_err=
20261.4Stv  fi
20271.4Stvelse
20281.4Stv  ac_cpp_err=yes
20291.4Stvfi
20301.4Stvif test -z "$ac_cpp_err"; then
20311.4Stv  eval "$as_ac_Header=yes"
20321.4Stvelse
20331.4Stv  echo "$as_me: failed program was:" >&5
20341.4Stv  cat conftest.$ac_ext >&5
20351.4Stv  eval "$as_ac_Header=no"
20361.4Stvfi
20371.4Stvrm -f conftest.err conftest.$ac_ext
20381.4Stvfi
20391.4Stvecho "$as_me:2039: result: `eval echo '${'$as_ac_Header'}'`" >&5
20401.4Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20411.4Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
20421.4Stv  cat >>confdefs.h <<EOF
20431.4Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20441.4StvEOF
20451.4Stv
20461.4Stvelse
20471.4Stv  { { echo "$as_me:2047: error: standard system header file not found" >&5
20481.4Stvecho "$as_me: error: standard system header file not found" >&2;}
20491.4Stv   { (exit 1); exit 1; }; }
20501.4Stvfi
20511.4Stvdone
20521.4Stv
20531.4Stv# Find headers that may not be available.
20541.4Stv
20551.4Stvfor ac_header in err.h inttypes.h libgen.h stddef.h vis.h
20561.4Stvdo
20571.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20581.4Stvecho "$as_me:2058: checking for $ac_header" >&5
20591.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20601.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
20611.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20621.4Stvelse
20631.4Stv  cat >conftest.$ac_ext <<_ACEOF
20641.4Stv#line 2064 "configure"
20651.4Stv#include "confdefs.h"
20661.4Stv#include <$ac_header>
20671.4Stv_ACEOF
20681.4Stvif { (eval echo "$as_me:2068: \"$ac_cpp conftest.$ac_ext\"") >&5
20691.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20701.4Stv  ac_status=$?
20711.4Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
20721.4Stv  rm -f conftest.er1
20731.4Stv  cat conftest.err >&5
20741.4Stv  echo "$as_me:2074: \$? = $ac_status" >&5
20751.4Stv  (exit $ac_status); } >/dev/null; then
20761.4Stv  if test -s conftest.err; then
20771.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20781.4Stv  else
20791.4Stv    ac_cpp_err=
20801.4Stv  fi
20811.4Stvelse
20821.4Stv  ac_cpp_err=yes
20831.4Stvfi
20841.4Stvif test -z "$ac_cpp_err"; then
20851.4Stv  eval "$as_ac_Header=yes"
20861.4Stvelse
20871.4Stv  echo "$as_me: failed program was:" >&5
20881.4Stv  cat conftest.$ac_ext >&5
20891.4Stv  eval "$as_ac_Header=no"
20901.4Stvfi
20911.4Stvrm -f conftest.err conftest.$ac_ext
20921.4Stvfi
20931.4Stvecho "$as_me:2093: result: `eval echo '${'$as_ac_Header'}'`" >&5
20941.4Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20951.4Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
20961.4Stv  cat >>confdefs.h <<EOF
20971.4Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20981.4StvEOF
20991.4Stv
21001.4Stvfi
21011.4Stvdone
21021.4Stv
21031.4Stv# Typedefs.
21041.4Stvecho "$as_me:2104: checking for ANSI C header files" >&5
21051.1Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
21061.1Stvif test "${ac_cv_header_stdc+set}" = set; then
21071.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21081.1Stvelse
21091.1Stv  cat >conftest.$ac_ext <<_ACEOF
21101.4Stv#line 2110 "configure"
21111.1Stv#include "confdefs.h"
21121.1Stv#include <stdlib.h>
21131.1Stv#include <stdarg.h>
21141.1Stv#include <string.h>
21151.1Stv#include <float.h>
21161.1Stv
21171.1Stv_ACEOF
21181.4Stvif { (eval echo "$as_me:2118: \"$ac_cpp conftest.$ac_ext\"") >&5
21191.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21201.1Stv  ac_status=$?
21211.1Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
21221.1Stv  rm -f conftest.er1
21231.1Stv  cat conftest.err >&5
21241.4Stv  echo "$as_me:2124: \$? = $ac_status" >&5
21251.1Stv  (exit $ac_status); } >/dev/null; then
21261.1Stv  if test -s conftest.err; then
21271.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
21281.1Stv  else
21291.1Stv    ac_cpp_err=
21301.1Stv  fi
21311.1Stvelse
21321.1Stv  ac_cpp_err=yes
21331.1Stvfi
21341.1Stvif test -z "$ac_cpp_err"; then
21351.1Stv  ac_cv_header_stdc=yes
21361.1Stvelse
21371.1Stv  echo "$as_me: failed program was:" >&5
21381.1Stv  cat conftest.$ac_ext >&5
21391.1Stv  ac_cv_header_stdc=no
21401.1Stvfi
21411.1Stvrm -f conftest.err conftest.$ac_ext
21421.1Stv
21431.1Stvif test $ac_cv_header_stdc = yes; then
21441.1Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21451.1Stv  cat >conftest.$ac_ext <<_ACEOF
21461.4Stv#line 2146 "configure"
21471.1Stv#include "confdefs.h"
21481.1Stv#include <string.h>
21491.1Stv
21501.1Stv_ACEOF
21511.1Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21521.1Stv  egrep "memchr" >/dev/null 2>&1; then
21531.1Stv  :
21541.1Stvelse
21551.1Stv  ac_cv_header_stdc=no
21561.1Stvfi
21571.1Stvrm -f conftest*
21581.1Stv
21591.1Stvfi
21601.1Stv
21611.1Stvif test $ac_cv_header_stdc = yes; then
21621.1Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21631.1Stv  cat >conftest.$ac_ext <<_ACEOF
21641.4Stv#line 2164 "configure"
21651.1Stv#include "confdefs.h"
21661.1Stv#include <stdlib.h>
21671.1Stv
21681.1Stv_ACEOF
21691.1Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21701.1Stv  egrep "free" >/dev/null 2>&1; then
21711.1Stv  :
21721.1Stvelse
21731.1Stv  ac_cv_header_stdc=no
21741.1Stvfi
21751.1Stvrm -f conftest*
21761.1Stv
21771.1Stvfi
21781.1Stv
21791.1Stvif test $ac_cv_header_stdc = yes; then
21801.1Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21811.1Stv  if test "$cross_compiling" = yes; then
21821.1Stv  :
21831.1Stvelse
21841.1Stv  cat >conftest.$ac_ext <<_ACEOF
21851.4Stv#line 2185 "configure"
21861.1Stv#include "confdefs.h"
21871.1Stv#include <ctype.h>
21881.1Stv#if ((' ' & 0x0FF) == 0x020)
21891.1Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21901.1Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21911.1Stv#else
21921.1Stv# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21931.1Stv                     || ('j' <= (c) && (c) <= 'r') \
21941.1Stv                     || ('s' <= (c) && (c) <= 'z'))
21951.1Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21961.1Stv#endif
21971.1Stv
21981.1Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21991.1Stvint
22001.1Stvmain ()
22011.1Stv{
22021.1Stv  int i;
22031.1Stv  for (i = 0; i < 256; i++)
22041.1Stv    if (XOR (islower (i), ISLOWER (i))
22051.1Stv        || toupper (i) != TOUPPER (i))
22061.1Stv      exit(2);
22071.1Stv  exit (0);
22081.1Stv}
22091.1Stv_ACEOF
22101.1Stvrm -f conftest$ac_exeext
22111.4Stvif { (eval echo "$as_me:2211: \"$ac_link\"") >&5
22121.1Stv  (eval $ac_link) 2>&5
22131.1Stv  ac_status=$?
22141.4Stv  echo "$as_me:2214: \$? = $ac_status" >&5
22151.1Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22161.4Stv  { (eval echo "$as_me:2216: \"$ac_try\"") >&5
22171.1Stv  (eval $ac_try) 2>&5
22181.1Stv  ac_status=$?
22191.4Stv  echo "$as_me:2219: \$? = $ac_status" >&5
22201.1Stv  (exit $ac_status); }; }; then
22211.1Stv  :
22221.1Stvelse
22231.1Stv  echo "$as_me: program exited with status $ac_status" >&5
22241.1Stvecho "$as_me: failed program was:" >&5
22251.1Stvcat conftest.$ac_ext >&5
22261.1Stvac_cv_header_stdc=no
22271.1Stvfi
22281.1Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22291.1Stvfi
22301.1Stvfi
22311.1Stvfi
22321.4Stvecho "$as_me:2232: result: $ac_cv_header_stdc" >&5
22331.1Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
22341.1Stvif test $ac_cv_header_stdc = yes; then
22351.1Stv
22361.1Stvcat >>confdefs.h <<\EOF
22371.1Stv#define STDC_HEADERS 1
22381.1StvEOF
22391.1Stv
22401.1Stvfi
22411.1Stv
22421.1Stv# On IRIX 5.3, sys/types and inttypes.h are conflicting.
22431.1Stv
22441.1Stvfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
22451.1Stv                  inttypes.h stdint.h unistd.h
22461.1Stvdo
22471.1Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22481.4Stvecho "$as_me:2248: checking for $ac_header" >&5
22491.1Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22501.1Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
22511.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22521.1Stvelse
22531.1Stv  cat >conftest.$ac_ext <<_ACEOF
22541.4Stv#line 2254 "configure"
22551.1Stv#include "confdefs.h"
22561.1Stv$ac_includes_default
22571.1Stv#include <$ac_header>
22581.1Stv_ACEOF
22591.1Stvrm -f conftest.$ac_objext
22601.4Stvif { (eval echo "$as_me:2260: \"$ac_compile\"") >&5
22611.1Stv  (eval $ac_compile) 2>&5
22621.1Stv  ac_status=$?
22631.4Stv  echo "$as_me:2263: \$? = $ac_status" >&5
22641.1Stv  (exit $ac_status); } &&
22651.1Stv         { ac_try='test -s conftest.$ac_objext'
22661.4Stv  { (eval echo "$as_me:2266: \"$ac_try\"") >&5
22671.1Stv  (eval $ac_try) 2>&5
22681.1Stv  ac_status=$?
22691.4Stv  echo "$as_me:2269: \$? = $ac_status" >&5
22701.1Stv  (exit $ac_status); }; }; then
22711.1Stv  eval "$as_ac_Header=yes"
22721.1Stvelse
22731.1Stv  echo "$as_me: failed program was:" >&5
22741.1Stvcat conftest.$ac_ext >&5
22751.1Stveval "$as_ac_Header=no"
22761.1Stvfi
22771.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
22781.1Stvfi
22791.4Stvecho "$as_me:2279: result: `eval echo '${'$as_ac_Header'}'`" >&5
22801.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22811.1Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
22821.1Stv  cat >>confdefs.h <<EOF
22831.1Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22841.1StvEOF
22851.1Stv
22861.1Stvfi
22871.1Stvdone
22881.1Stv
22891.4Stvecho "$as_me:2289: checking for size_t" >&5
22901.1Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
22911.1Stvif test "${ac_cv_type_size_t+set}" = set; then
22921.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22931.1Stvelse
22941.1Stv  cat >conftest.$ac_ext <<_ACEOF
22951.4Stv#line 2295 "configure"
22961.1Stv#include "confdefs.h"
22971.1Stv$ac_includes_default
22981.1Stvint
22991.1Stvmain ()
23001.1Stv{
23011.1Stvif ((size_t *) 0)
23021.1Stv  return 0;
23031.1Stvif (sizeof (size_t))
23041.1Stv  return 0;
23051.1Stv  ;
23061.1Stv  return 0;
23071.1Stv}
23081.1Stv_ACEOF
23091.1Stvrm -f conftest.$ac_objext
23101.4Stvif { (eval echo "$as_me:2310: \"$ac_compile\"") >&5
23111.1Stv  (eval $ac_compile) 2>&5
23121.1Stv  ac_status=$?
23131.4Stv  echo "$as_me:2313: \$? = $ac_status" >&5
23141.1Stv  (exit $ac_status); } &&
23151.1Stv         { ac_try='test -s conftest.$ac_objext'
23161.4Stv  { (eval echo "$as_me:2316: \"$ac_try\"") >&5
23171.1Stv  (eval $ac_try) 2>&5
23181.1Stv  ac_status=$?
23191.4Stv  echo "$as_me:2319: \$? = $ac_status" >&5
23201.1Stv  (exit $ac_status); }; }; then
23211.1Stv  ac_cv_type_size_t=yes
23221.1Stvelse
23231.1Stv  echo "$as_me: failed program was:" >&5
23241.1Stvcat conftest.$ac_ext >&5
23251.1Stvac_cv_type_size_t=no
23261.1Stvfi
23271.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
23281.1Stvfi
23291.4Stvecho "$as_me:2329: result: $ac_cv_type_size_t" >&5
23301.1Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
23311.1Stvif test $ac_cv_type_size_t = yes; then
23321.1Stv  :
23331.1Stvelse
23341.1Stv
23351.1Stvcat >>confdefs.h <<EOF
23361.1Stv#define size_t unsigned
23371.1StvEOF
23381.1Stv
23391.1Stvfi
23401.1Stv
23411.4Stvecho "$as_me:2341: checking for id_t" >&5
23421.4Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
23431.4Stvif test "${ac_cv_type_id_t+set}" = set; then
23441.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23451.1Stvelse
23461.1Stv  cat >conftest.$ac_ext <<_ACEOF
23471.4Stv#line 2347 "configure"
23481.1Stv#include "confdefs.h"
23491.4Stv$ac_includes_default
23501.4Stvint
23511.4Stvmain ()
23521.4Stv{
23531.4Stvif ((id_t *) 0)
23541.4Stv  return 0;
23551.4Stvif (sizeof (id_t))
23561.4Stv  return 0;
23571.4Stv  ;
23581.4Stv  return 0;
23591.4Stv}
23601.1Stv_ACEOF
23611.4Stvrm -f conftest.$ac_objext
23621.4Stvif { (eval echo "$as_me:2362: \"$ac_compile\"") >&5
23631.4Stv  (eval $ac_compile) 2>&5
23641.4Stv  ac_status=$?
23651.4Stv  echo "$as_me:2365: \$? = $ac_status" >&5
23661.4Stv  (exit $ac_status); } &&
23671.4Stv         { ac_try='test -s conftest.$ac_objext'
23681.4Stv  { (eval echo "$as_me:2368: \"$ac_try\"") >&5
23691.4Stv  (eval $ac_try) 2>&5
23701.4Stv  ac_status=$?
23711.4Stv  echo "$as_me:2371: \$? = $ac_status" >&5
23721.4Stv  (exit $ac_status); }; }; then
23731.4Stv  ac_cv_type_id_t=yes
23741.4Stvelse
23751.4Stv  echo "$as_me: failed program was:" >&5
23761.4Stvcat conftest.$ac_ext >&5
23771.4Stvac_cv_type_id_t=no
23781.4Stvfi
23791.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
23801.4Stvfi
23811.4Stvecho "$as_me:2381: result: $ac_cv_type_id_t" >&5
23821.4Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
23831.4Stvif test $ac_cv_type_id_t = yes; then
23841.4Stv
23851.4Stvcat >>confdefs.h <<EOF
23861.4Stv#define HAVE_ID_T 1
23871.4StvEOF
23881.4Stv
23891.4Stvfi
23901.4Stv
23911.4Stv# Struct members.
23921.4Stvecho "$as_me:2392: checking for struct stat.st_flags" >&5
23931.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
23941.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
23951.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23961.4Stvelse
23971.4Stv  cat >conftest.$ac_ext <<_ACEOF
23981.4Stv#line 2398 "configure"
23991.4Stv#include "confdefs.h"
24001.4Stv#include <sys/stat.h>
24011.4Stv
24021.4Stvint
24031.4Stvmain ()
24041.4Stv{
24051.4Stvstatic struct stat ac_aggr;
24061.4Stvif (ac_aggr.st_flags)
24071.4Stvreturn 0;
24081.4Stv  ;
24091.4Stv  return 0;
24101.4Stv}
24111.4Stv_ACEOF
24121.4Stvrm -f conftest.$ac_objext
24131.4Stvif { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
24141.4Stv  (eval $ac_compile) 2>&5
24151.4Stv  ac_status=$?
24161.4Stv  echo "$as_me:2416: \$? = $ac_status" >&5
24171.4Stv  (exit $ac_status); } &&
24181.4Stv         { ac_try='test -s conftest.$ac_objext'
24191.4Stv  { (eval echo "$as_me:2419: \"$ac_try\"") >&5
24201.4Stv  (eval $ac_try) 2>&5
24211.4Stv  ac_status=$?
24221.4Stv  echo "$as_me:2422: \$? = $ac_status" >&5
24231.4Stv  (exit $ac_status); }; }; then
24241.4Stv  ac_cv_member_struct_stat_st_flags=yes
24251.4Stvelse
24261.4Stv  echo "$as_me: failed program was:" >&5
24271.4Stvcat conftest.$ac_ext >&5
24281.4Stvac_cv_member_struct_stat_st_flags=no
24291.4Stvfi
24301.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
24311.4Stvfi
24321.4Stvecho "$as_me:2432: result: $ac_cv_member_struct_stat_st_flags" >&5
24331.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
24341.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then
24351.4Stv
24361.4Stvcat >>confdefs.h <<EOF
24371.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1
24381.4StvEOF
24391.4Stv
24401.4Stvfi
24411.4Stv
24421.4Stv# Global variable decls.
24431.4Stvecho "$as_me:2443: checking whether sys_signame is declared" >&5
24441.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
24451.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
24461.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24471.4Stvelse
24481.4Stv  cat >conftest.$ac_ext <<_ACEOF
24491.4Stv#line 2449 "configure"
24501.4Stv#include "confdefs.h"
24511.4Stv#include <signal.h>
24521.4Stv
24531.4Stvint
24541.4Stvmain ()
24551.4Stv{
24561.4Stv#ifndef sys_signame
24571.4Stv  char *p = (char *) sys_signame;
24581.4Stv#endif
24591.4Stv
24601.4Stv  ;
24611.4Stv  return 0;
24621.4Stv}
24631.4Stv_ACEOF
24641.4Stvrm -f conftest.$ac_objext
24651.4Stvif { (eval echo "$as_me:2465: \"$ac_compile\"") >&5
24661.4Stv  (eval $ac_compile) 2>&5
24671.4Stv  ac_status=$?
24681.4Stv  echo "$as_me:2468: \$? = $ac_status" >&5
24691.4Stv  (exit $ac_status); } &&
24701.4Stv         { ac_try='test -s conftest.$ac_objext'
24711.4Stv  { (eval echo "$as_me:2471: \"$ac_try\"") >&5
24721.4Stv  (eval $ac_try) 2>&5
24731.4Stv  ac_status=$?
24741.4Stv  echo "$as_me:2474: \$? = $ac_status" >&5
24751.4Stv  (exit $ac_status); }; }; then
24761.4Stv  ac_cv_have_decl_sys_signame=yes
24771.4Stvelse
24781.4Stv  echo "$as_me: failed program was:" >&5
24791.4Stvcat conftest.$ac_ext >&5
24801.4Stvac_cv_have_decl_sys_signame=no
24811.4Stvfi
24821.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
24831.4Stvfi
24841.4Stvecho "$as_me:2484: result: $ac_cv_have_decl_sys_signame" >&5
24851.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
24861.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
24871.4Stv
24881.4Stvcat >>confdefs.h <<EOF
24891.4Stv#define HAVE_DECL_SYS_SIGNAME 1
24901.4StvEOF
24911.4Stv
24921.4Stvelse
24931.4Stv  cat >>confdefs.h <<EOF
24941.4Stv#define HAVE_DECL_SYS_SIGNAME 0
24951.4StvEOF
24961.4Stv
24971.4Stvfi
24981.4Stv
24991.4Stv# Library functions (where a .h check isn't enough).
25001.4Stvecho "$as_me:2500: checking for library containing fparseln" >&5
25011.4Stvecho $ECHO_N "checking for library containing fparseln... $ECHO_C" >&6
25021.4Stvif test "${ac_cv_search_fparseln+set}" = set; then
25031.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25041.4Stvelse
25051.4Stv  ac_func_search_save_LIBS=$LIBS
25061.4Stvac_cv_search_fparseln=no
25071.4Stvcat >conftest.$ac_ext <<_ACEOF
25081.4Stv#line 2508 "configure"
25091.4Stv#include "confdefs.h"
25101.4Stv
25111.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
25121.4Stv#ifdef __cplusplus
25131.4Stvextern "C"
25141.4Stv#endif
25151.4Stv/* We use char because int might match the return type of a gcc2
25161.4Stv   builtin and then its argument prototype would still apply.  */
25171.4Stvchar fparseln ();
25181.4Stvint
25191.4Stvmain ()
25201.4Stv{
25211.4Stvfparseln ();
25221.4Stv  ;
25231.4Stv  return 0;
25241.4Stv}
25251.4Stv_ACEOF
25261.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
25271.4Stvif { (eval echo "$as_me:2527: \"$ac_link\"") >&5
25281.4Stv  (eval $ac_link) 2>&5
25291.4Stv  ac_status=$?
25301.4Stv  echo "$as_me:2530: \$? = $ac_status" >&5
25311.4Stv  (exit $ac_status); } &&
25321.4Stv         { ac_try='test -s conftest$ac_exeext'
25331.4Stv  { (eval echo "$as_me:2533: \"$ac_try\"") >&5
25341.4Stv  (eval $ac_try) 2>&5
25351.1Stv  ac_status=$?
25361.4Stv  echo "$as_me:2536: \$? = $ac_status" >&5
25371.4Stv  (exit $ac_status); }; }; then
25381.4Stv  ac_cv_search_fparseln="none required"
25391.1Stvelse
25401.4Stv  echo "$as_me: failed program was:" >&5
25411.4Stvcat conftest.$ac_ext >&5
25421.1Stvfi
25431.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25441.4Stvif test "$ac_cv_search_fparseln" = no; then
25451.4Stv  for ac_lib in util; do
25461.4Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
25471.4Stv    cat >conftest.$ac_ext <<_ACEOF
25481.4Stv#line 2548 "configure"
25491.4Stv#include "confdefs.h"
25501.4Stv
25511.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
25521.4Stv#ifdef __cplusplus
25531.4Stvextern "C"
25541.4Stv#endif
25551.4Stv/* We use char because int might match the return type of a gcc2
25561.4Stv   builtin and then its argument prototype would still apply.  */
25571.4Stvchar fparseln ();
25581.4Stvint
25591.4Stvmain ()
25601.4Stv{
25611.4Stvfparseln ();
25621.4Stv  ;
25631.4Stv  return 0;
25641.4Stv}
25651.4Stv_ACEOF
25661.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
25671.4Stvif { (eval echo "$as_me:2567: \"$ac_link\"") >&5
25681.4Stv  (eval $ac_link) 2>&5
25691.4Stv  ac_status=$?
25701.4Stv  echo "$as_me:2570: \$? = $ac_status" >&5
25711.4Stv  (exit $ac_status); } &&
25721.4Stv         { ac_try='test -s conftest$ac_exeext'
25731.4Stv  { (eval echo "$as_me:2573: \"$ac_try\"") >&5
25741.4Stv  (eval $ac_try) 2>&5
25751.4Stv  ac_status=$?
25761.4Stv  echo "$as_me:2576: \$? = $ac_status" >&5
25771.4Stv  (exit $ac_status); }; }; then
25781.4Stv  ac_cv_search_fparseln="-l$ac_lib"
25791.4Stvbreak
25801.1Stvelse
25811.1Stv  echo "$as_me: failed program was:" >&5
25821.4Stvcat conftest.$ac_ext >&5
25831.4Stvfi
25841.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25851.4Stv  done
25861.4Stvfi
25871.4StvLIBS=$ac_func_search_save_LIBS
25881.1Stvfi
25891.4Stvecho "$as_me:2589: result: $ac_cv_search_fparseln" >&5
25901.4Stvecho "${ECHO_T}$ac_cv_search_fparseln" >&6
25911.4Stvif test "$ac_cv_search_fparseln" != no; then
25921.4Stv  test "$ac_cv_search_fparseln" = "none required" || LIBS="$ac_cv_search_fparseln $LIBS"
25931.4Stv
25941.1Stvfi
25951.1Stv
25961.4Stvfor ac_func in basename dirname fgetln flock fparseln futimes pread pwrite setprogname strlcat strlcpy
25971.1Stvdo
25981.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25991.4Stvecho "$as_me:2599: checking for $ac_func" >&5
26001.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26011.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
26021.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26031.1Stvelse
26041.1Stv  cat >conftest.$ac_ext <<_ACEOF
26051.4Stv#line 2605 "configure"
26061.1Stv#include "confdefs.h"
26071.1Stv/* System header to define __stub macros and hopefully few prototypes,
26081.1Stv    which can conflict with char $ac_func (); below.  */
26091.1Stv#include <assert.h>
26101.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
26111.1Stv#ifdef __cplusplus
26121.1Stvextern "C"
26131.1Stv#endif
26141.1Stv/* We use char because int might match the return type of a gcc2
26151.1Stv   builtin and then its argument prototype would still apply.  */
26161.1Stvchar $ac_func ();
26171.1Stvchar (*f) ();
26181.1Stv
26191.1Stvint
26201.1Stvmain ()
26211.1Stv{
26221.1Stv/* The GNU C library defines this for functions which it implements
26231.1Stv    to always fail with ENOSYS.  Some functions are actually named
26241.1Stv    something starting with __ and the normal name is an alias.  */
26251.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26261.1Stvchoke me
26271.1Stv#else
26281.1Stvf = $ac_func;
26291.1Stv#endif
26301.1Stv
26311.1Stv  ;
26321.1Stv  return 0;
26331.1Stv}
26341.1Stv_ACEOF
26351.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
26361.4Stvif { (eval echo "$as_me:2636: \"$ac_link\"") >&5
26371.1Stv  (eval $ac_link) 2>&5
26381.1Stv  ac_status=$?
26391.4Stv  echo "$as_me:2639: \$? = $ac_status" >&5
26401.1Stv  (exit $ac_status); } &&
26411.1Stv         { ac_try='test -s conftest$ac_exeext'
26421.4Stv  { (eval echo "$as_me:2642: \"$ac_try\"") >&5
26431.1Stv  (eval $ac_try) 2>&5
26441.1Stv  ac_status=$?
26451.4Stv  echo "$as_me:2645: \$? = $ac_status" >&5
26461.1Stv  (exit $ac_status); }; }; then
26471.1Stv  eval "$as_ac_var=yes"
26481.1Stvelse
26491.1Stv  echo "$as_me: failed program was:" >&5
26501.1Stvcat conftest.$ac_ext >&5
26511.1Stveval "$as_ac_var=no"
26521.1Stvfi
26531.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26541.1Stvfi
26551.4Stvecho "$as_me:2655: result: `eval echo '${'$as_ac_var'}'`" >&5
26561.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26571.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
26581.1Stv  cat >>confdefs.h <<EOF
26591.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26601.1StvEOF
26611.1Stv
26621.1Stvfi
26631.1Stvdone
26641.1Stv
26651.4Stv# regcomp() and regexec() are also names of functions in the old V8
26661.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
26671.4Stv
26681.4Stvecho "$as_me:2668: checking for regfree in -lregex" >&5
26691.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
26701.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
26711.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26721.4Stvelse
26731.4Stv  ac_check_lib_save_LIBS=$LIBS
26741.4StvLIBS="-lregex  $LIBS"
26751.4Stvcat >conftest.$ac_ext <<_ACEOF
26761.4Stv#line 2676 "configure"
26771.4Stv#include "confdefs.h"
26781.4Stv
26791.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
26801.4Stv#ifdef __cplusplus
26811.4Stvextern "C"
26821.4Stv#endif
26831.4Stv/* We use char because int might match the return type of a gcc2
26841.4Stv   builtin and then its argument prototype would still apply.  */
26851.4Stvchar regfree ();
26861.4Stvint
26871.4Stvmain ()
26881.4Stv{
26891.4Stvregfree ();
26901.4Stv  ;
26911.4Stv  return 0;
26921.4Stv}
26931.4Stv_ACEOF
26941.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
26951.4Stvif { (eval echo "$as_me:2695: \"$ac_link\"") >&5
26961.4Stv  (eval $ac_link) 2>&5
26971.4Stv  ac_status=$?
26981.4Stv  echo "$as_me:2698: \$? = $ac_status" >&5
26991.4Stv  (exit $ac_status); } &&
27001.4Stv         { ac_try='test -s conftest$ac_exeext'
27011.4Stv  { (eval echo "$as_me:2701: \"$ac_try\"") >&5
27021.4Stv  (eval $ac_try) 2>&5
27031.4Stv  ac_status=$?
27041.4Stv  echo "$as_me:2704: \$? = $ac_status" >&5
27051.4Stv  (exit $ac_status); }; }; then
27061.4Stv  ac_cv_lib_regex_regfree=yes
27071.4Stvelse
27081.4Stv  echo "$as_me: failed program was:" >&5
27091.4Stvcat conftest.$ac_ext >&5
27101.4Stvac_cv_lib_regex_regfree=no
27111.4Stvfi
27121.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27131.4StvLIBS=$ac_check_lib_save_LIBS
27141.4Stvfi
27151.4Stvecho "$as_me:2715: result: $ac_cv_lib_regex_regfree" >&5
27161.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
27171.4Stvif test $ac_cv_lib_regex_regfree = yes; then
27181.4Stv  cat >>confdefs.h <<EOF
27191.4Stv#define HAVE_LIBREGEX 1
27201.4StvEOF
27211.4Stv
27221.4Stv  LIBS="-lregex $LIBS"
27231.4Stv
27241.4Stvfi
27251.4Stv
27261.4Stvecho "$as_me:2726: checking for library containing regfree" >&5
27271.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
27281.4Stvif test "${ac_cv_search_regfree+set}" = set; then
27291.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27301.1Stvelse
27311.1Stv  ac_func_search_save_LIBS=$LIBS
27321.4Stvac_cv_search_regfree=no
27331.1Stvcat >conftest.$ac_ext <<_ACEOF
27341.4Stv#line 2734 "configure"
27351.1Stv#include "confdefs.h"
27361.1Stv
27371.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
27381.1Stv#ifdef __cplusplus
27391.1Stvextern "C"
27401.1Stv#endif
27411.1Stv/* We use char because int might match the return type of a gcc2
27421.1Stv   builtin and then its argument prototype would still apply.  */
27431.4Stvchar regfree ();
27441.1Stvint
27451.1Stvmain ()
27461.1Stv{
27471.4Stvregfree ();
27481.1Stv  ;
27491.1Stv  return 0;
27501.1Stv}
27511.1Stv_ACEOF
27521.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
27531.4Stvif { (eval echo "$as_me:2753: \"$ac_link\"") >&5
27541.1Stv  (eval $ac_link) 2>&5
27551.1Stv  ac_status=$?
27561.4Stv  echo "$as_me:2756: \$? = $ac_status" >&5
27571.1Stv  (exit $ac_status); } &&
27581.1Stv         { ac_try='test -s conftest$ac_exeext'
27591.4Stv  { (eval echo "$as_me:2759: \"$ac_try\"") >&5
27601.1Stv  (eval $ac_try) 2>&5
27611.1Stv  ac_status=$?
27621.4Stv  echo "$as_me:2762: \$? = $ac_status" >&5
27631.1Stv  (exit $ac_status); }; }; then
27641.4Stv  ac_cv_search_regfree="none required"
27651.1Stvelse
27661.1Stv  echo "$as_me: failed program was:" >&5
27671.1Stvcat conftest.$ac_ext >&5
27681.1Stvfi
27691.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27701.4Stvif test "$ac_cv_search_regfree" = no; then
27711.4Stv  for ac_lib in rx posix; do
27721.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
27731.1Stv    cat >conftest.$ac_ext <<_ACEOF
27741.4Stv#line 2774 "configure"
27751.1Stv#include "confdefs.h"
27761.1Stv
27771.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
27781.1Stv#ifdef __cplusplus
27791.1Stvextern "C"
27801.1Stv#endif
27811.1Stv/* We use char because int might match the return type of a gcc2
27821.1Stv   builtin and then its argument prototype would still apply.  */
27831.4Stvchar regfree ();
27841.1Stvint
27851.1Stvmain ()
27861.1Stv{
27871.4Stvregfree ();
27881.1Stv  ;
27891.1Stv  return 0;
27901.1Stv}
27911.1Stv_ACEOF
27921.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
27931.4Stvif { (eval echo "$as_me:2793: \"$ac_link\"") >&5
27941.1Stv  (eval $ac_link) 2>&5
27951.1Stv  ac_status=$?
27961.4Stv  echo "$as_me:2796: \$? = $ac_status" >&5
27971.1Stv  (exit $ac_status); } &&
27981.1Stv         { ac_try='test -s conftest$ac_exeext'
27991.4Stv  { (eval echo "$as_me:2799: \"$ac_try\"") >&5
28001.1Stv  (eval $ac_try) 2>&5
28011.1Stv  ac_status=$?
28021.4Stv  echo "$as_me:2802: \$? = $ac_status" >&5
28031.1Stv  (exit $ac_status); }; }; then
28041.4Stv  ac_cv_search_regfree="-l$ac_lib"
28051.1Stvbreak
28061.1Stvelse
28071.1Stv  echo "$as_me: failed program was:" >&5
28081.1Stvcat conftest.$ac_ext >&5
28091.1Stvfi
28101.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28111.1Stv  done
28121.1Stvfi
28131.1StvLIBS=$ac_func_search_save_LIBS
28141.1Stvfi
28151.4Stvecho "$as_me:2815: result: $ac_cv_search_regfree" >&5
28161.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
28171.4Stvif test "$ac_cv_search_regfree" != no; then
28181.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
28191.1Stv
28201.1Stvfi
28211.1Stv
28221.1Stvcat >confcache <<\_ACEOF
28231.1Stv# This file is a shell script that caches the results of configure
28241.1Stv# tests run on this system so they can be shared between configure
28251.1Stv# scripts and configure runs, see configure's option --config-cache.
28261.1Stv# It is not useful on other systems.  If it contains results you don't
28271.1Stv# want to keep, you may remove or edit it.
28281.1Stv#
28291.1Stv# config.status only pays attention to the cache file if you give it
28301.1Stv# the --recheck option to rerun configure.
28311.1Stv#
28321.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
28331.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
28341.1Stv# following values.
28351.1Stv
28361.1Stv_ACEOF
28371.1Stv
28381.1Stv# The following way of writing the cache mishandles newlines in values,
28391.1Stv# but we know of no workaround that is simple, portable, and efficient.
28401.1Stv# So, don't put newlines in cache variables' values.
28411.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
28421.1Stv# and sets the high bit in the cache file unless we assign to the vars.
28431.1Stv{
28441.1Stv  (set) 2>&1 |
28451.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
28461.1Stv    *ac_space=\ *)
28471.1Stv      # `set' does not quote correctly, so add quotes (double-quote
28481.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
28491.1Stv      sed -n \
28501.1Stv        "s/'/'\\\\''/g;
28511.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28521.1Stv      ;;
28531.1Stv    *)
28541.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
28551.1Stv      sed -n \
28561.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28571.1Stv      ;;
28581.1Stv    esac;
28591.1Stv} |
28601.1Stv  sed '
28611.1Stv     t clear
28621.1Stv     : clear
28631.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28641.1Stv     t end
28651.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28661.1Stv     : end' >>confcache
28671.1Stvif cmp -s $cache_file confcache; then :; else
28681.1Stv  if test -w $cache_file; then
28691.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28701.1Stv    cat confcache >$cache_file
28711.1Stv  else
28721.1Stv    echo "not updating unwritable cache $cache_file"
28731.1Stv  fi
28741.1Stvfi
28751.1Stvrm -f confcache
28761.1Stv
28771.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
28781.1Stv# Let make expand exec_prefix.
28791.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28801.1Stv
28811.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
28821.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28831.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
28841.1Stv# (actually we leave an empty line to preserve line numbers).
28851.1Stvif test "x$srcdir" = x.; then
28861.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
28871.1Stvs/:*\$(srcdir):*/:/;
28881.1Stvs/:*\${srcdir}:*/:/;
28891.1Stvs/:*@srcdir@:*/:/;
28901.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
28911.1Stvs/:*$//;
28921.1Stvs/^[^=]*=[ 	]*$//;
28931.1Stv}'
28941.1Stvfi
28951.1Stv
28961.1StvDEFS=-DHAVE_CONFIG_H
28971.1Stv
28981.1Stv: ${CONFIG_STATUS=./config.status}
28991.1Stvac_clean_files_save=$ac_clean_files
29001.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
29011.4Stv{ echo "$as_me:2901: creating $CONFIG_STATUS" >&5
29021.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
29031.1Stvcat >$CONFIG_STATUS <<_ACEOF
29041.1Stv#! $SHELL
29051.1Stv# Generated automatically by configure.
29061.1Stv# Run this file to recreate the current configuration.
29071.1Stv# Compiler output produced by configure, useful for debugging
29081.1Stv# configure, is in config.log if it exists.
29091.1Stv
29101.1Stvdebug=false
29111.1StvSHELL=\${CONFIG_SHELL-$SHELL}
29121.1Stvac_cs_invocation="\$0 \$@"
29131.1Stv
29141.1Stv_ACEOF
29151.1Stv
29161.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
29171.1Stv# Be Bourne compatible
29181.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29191.1Stv  emulate sh
29201.1Stv  NULLCMD=:
29211.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29221.1Stv  set -o posix
29231.1Stvfi
29241.1Stv
29251.1Stv# Name of the executable.
29261.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
29271.1Stv
29281.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
29291.1Stv  as_expr=expr
29301.1Stvelse
29311.1Stv  as_expr=false
29321.1Stvfi
29331.1Stv
29341.1Stvrm -f conf$$ conf$$.exe conf$$.file
29351.1Stvecho >conf$$.file
29361.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
29371.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
29381.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29391.1Stv  if test -f conf$$.exe; then
29401.1Stv    # Don't use ln at all; we don't have any links
29411.1Stv    as_ln_s='cp -p'
29421.1Stv  else
29431.1Stv    as_ln_s='ln -s'
29441.1Stv  fi
29451.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
29461.1Stv  as_ln_s=ln
29471.1Stvelse
29481.1Stv  as_ln_s='cp -p'
29491.1Stvfi
29501.1Stvrm -f conf$$ conf$$.exe conf$$.file
29511.1Stv
29521.1Stvas_executable_p="test -f"
29531.1Stv
29541.1Stv# Support unset when possible.
29551.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29561.1Stv  as_unset=unset
29571.1Stvelse
29581.1Stv  as_unset=false
29591.1Stvfi
29601.1Stv
29611.1Stv# NLS nuisances.
29621.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
29631.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
29641.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
29651.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
29661.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
29671.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
29681.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
29691.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
29701.1Stv
29711.1Stv# IFS
29721.1Stv# We need space, tab and new line, in precisely that order.
29731.1Stvas_nl='
29741.1Stv'
29751.1StvIFS=" 	$as_nl"
29761.1Stv
29771.1Stv# CDPATH.
29781.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
29791.1Stv
29801.1Stvexec 6>&1
29811.1Stv
29821.1Stv_ACEOF
29831.1Stv
29841.1Stv# Files that config.status was made for.
29851.1Stvif test -n "$ac_config_files"; then
29861.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29871.1Stvfi
29881.1Stv
29891.1Stvif test -n "$ac_config_headers"; then
29901.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29911.1Stvfi
29921.1Stv
29931.1Stvif test -n "$ac_config_links"; then
29941.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29951.1Stvfi
29961.1Stv
29971.1Stvif test -n "$ac_config_commands"; then
29981.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29991.1Stvfi
30001.1Stv
30011.1Stvcat >>$CONFIG_STATUS <<\EOF
30021.1Stv
30031.1Stvac_cs_usage="\
30041.1Stv\`$as_me' instantiates files from templates according to the
30051.1Stvcurrent configuration.
30061.1Stv
30071.1StvUsage: $0 [OPTIONS] [FILE]...
30081.1Stv
30091.1Stv  -h, --help       print this help, then exit
30101.1Stv  -V, --version    print version number, then exit
30111.1Stv  -d, --debug      don't remove temporary files
30121.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
30131.1Stv  --file=FILE[:TEMPLATE]
30141.1Stv                   instantiate the configuration file FILE
30151.1Stv  --header=FILE[:TEMPLATE]
30161.1Stv                   instantiate the configuration header FILE
30171.1Stv
30181.1StvConfiguration files:
30191.1Stv$config_files
30201.1Stv
30211.1StvConfiguration headers:
30221.1Stv$config_headers
30231.1Stv
30241.1StvReport bugs to <bug-autoconf@gnu.org>."
30251.1StvEOF
30261.1Stv
30271.1Stvcat >>$CONFIG_STATUS <<EOF
30281.1Stvac_cs_version="\\
30291.1Stvlibnbcompat config.status noversion
30301.1Stvconfigured by $0, generated by GNU Autoconf 2.52,
30311.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30321.1Stv
30331.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
30341.1StvFree Software Foundation, Inc.
30351.1StvThis config.status script is free software; the Free Software Foundation
30361.1Stvgives unlimited permission to copy, distribute and modify it."
30371.1Stvsrcdir=$srcdir
30381.1StvEOF
30391.1Stv
30401.1Stvcat >>$CONFIG_STATUS <<\EOF
30411.1Stv# If no file are specified by the user, then we need to provide default
30421.1Stv# value.  By we need to know if files were specified by the user.
30431.1Stvac_need_defaults=:
30441.1Stvwhile test $# != 0
30451.1Stvdo
30461.1Stv  case $1 in
30471.1Stv  --*=*)
30481.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
30491.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30501.1Stv    shift
30511.1Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
30521.1Stv    shift
30531.1Stv    ;;
30541.1Stv  -*);;
30551.1Stv  *) # This is not an option, so the user has probably given explicit
30561.1Stv     # arguments.
30571.1Stv     ac_need_defaults=false;;
30581.1Stv  esac
30591.1Stv
30601.1Stv  case $1 in
30611.1Stv  # Handling of the options.
30621.1StvEOF
30631.1Stvcat >>$CONFIG_STATUS <<EOF
30641.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30651.1Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
30661.1Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
30671.1StvEOF
30681.1Stvcat >>$CONFIG_STATUS <<\EOF
30691.1Stv  --version | --vers* | -V )
30701.1Stv    echo "$ac_cs_version"; exit 0 ;;
30711.1Stv  --he | --h)
30721.1Stv    # Conflict between --help and --header
30731.4Stv    { { echo "$as_me:3073: error: ambiguous option: $1
30741.1StvTry \`$0 --help' for more information." >&5
30751.1Stvecho "$as_me: error: ambiguous option: $1
30761.1StvTry \`$0 --help' for more information." >&2;}
30771.1Stv   { (exit 1); exit 1; }; };;
30781.1Stv  --help | --hel | -h )
30791.1Stv    echo "$ac_cs_usage"; exit 0 ;;
30801.1Stv  --debug | --d* | -d )
30811.1Stv    debug=: ;;
30821.1Stv  --file | --fil | --fi | --f )
30831.1Stv    shift
30841.1Stv    CONFIG_FILES="$CONFIG_FILES $1"
30851.1Stv    ac_need_defaults=false;;
30861.1Stv  --header | --heade | --head | --hea )
30871.1Stv    shift
30881.1Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
30891.1Stv    ac_need_defaults=false;;
30901.1Stv
30911.1Stv  # This is an error.
30921.4Stv  -*) { { echo "$as_me:3092: error: unrecognized option: $1
30931.1StvTry \`$0 --help' for more information." >&5
30941.1Stvecho "$as_me: error: unrecognized option: $1
30951.1StvTry \`$0 --help' for more information." >&2;}
30961.1Stv   { (exit 1); exit 1; }; } ;;
30971.1Stv
30981.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
30991.1Stv
31001.1Stv  esac
31011.1Stv  shift
31021.1Stvdone
31031.1Stv
31041.1Stvexec 5>>config.log
31051.1Stvcat >&5 << _ACEOF
31061.1Stv
31071.1Stv## ----------------------- ##
31081.1Stv## Running config.status.  ##
31091.1Stv## ----------------------- ##
31101.1Stv
31111.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
31121.1Stv  CONFIG_FILES    = $CONFIG_FILES
31131.1Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
31141.1Stv  CONFIG_LINKS    = $CONFIG_LINKS
31151.1Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
31161.1Stv  > $ac_cs_invocation
31171.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
31181.1Stv
31191.1Stv_ACEOF
31201.1StvEOF
31211.1Stv
31221.1Stvcat >>$CONFIG_STATUS <<\EOF
31231.1Stvfor ac_config_target in $ac_config_targets
31241.1Stvdo
31251.1Stv  case "$ac_config_target" in
31261.1Stv  # Handling of arguments.
31271.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
31281.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
31291.4Stv  *) { { echo "$as_me:3129: error: invalid argument: $ac_config_target" >&5
31301.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
31311.1Stv   { (exit 1); exit 1; }; };;
31321.1Stv  esac
31331.1Stvdone
31341.1Stv
31351.1Stv# If the user did not use the arguments to specify the items to instantiate,
31361.1Stv# then the envvar interface is used.  Set only those that are not.
31371.1Stv# We use the long form for the default assignment because of an extremely
31381.1Stv# bizarre bug on SunOS 4.1.3.
31391.1Stvif $ac_need_defaults; then
31401.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
31411.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
31421.1Stvfi
31431.1Stv
31441.1Stv# Create a temporary directory, and hook for its removal unless debugging.
31451.1Stv$debug ||
31461.1Stv{
31471.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
31481.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
31491.1Stv}
31501.1Stv
31511.1Stv# Create a (secure) tmp directory for tmp files.
31521.1Stv: ${TMPDIR=/tmp}
31531.1Stv{
31541.1Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
31551.1Stv  test -n "$tmp" && test -d "$tmp"
31561.1Stv}  ||
31571.1Stv{
31581.1Stv  tmp=$TMPDIR/cs$$-$RANDOM
31591.1Stv  (umask 077 && mkdir $tmp)
31601.1Stv} ||
31611.1Stv{
31621.1Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
31631.1Stv   { (exit 1); exit 1; }
31641.1Stv}
31651.1Stv
31661.1StvEOF
31671.1Stv
31681.1Stvcat >>$CONFIG_STATUS <<EOF
31691.1Stv
31701.1Stv#
31711.1Stv# CONFIG_FILES section.
31721.1Stv#
31731.1Stv
31741.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
31751.1Stv# This happens for instance when ./config.status config.h
31761.1Stvif test -n "\$CONFIG_FILES"; then
31771.1Stv  # Protect against being on the right side of a sed subst in config.status.
31781.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
31791.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
31801.1Stvs,@SHELL@,$SHELL,;t t
31811.1Stvs,@exec_prefix@,$exec_prefix,;t t
31821.1Stvs,@prefix@,$prefix,;t t
31831.1Stvs,@program_transform_name@,$program_transform_name,;t t
31841.1Stvs,@bindir@,$bindir,;t t
31851.1Stvs,@sbindir@,$sbindir,;t t
31861.1Stvs,@libexecdir@,$libexecdir,;t t
31871.1Stvs,@datadir@,$datadir,;t t
31881.1Stvs,@sysconfdir@,$sysconfdir,;t t
31891.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
31901.1Stvs,@localstatedir@,$localstatedir,;t t
31911.1Stvs,@libdir@,$libdir,;t t
31921.1Stvs,@includedir@,$includedir,;t t
31931.1Stvs,@oldincludedir@,$oldincludedir,;t t
31941.1Stvs,@infodir@,$infodir,;t t
31951.1Stvs,@mandir@,$mandir,;t t
31961.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
31971.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
31981.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
31991.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
32001.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
32011.1Stvs,@build_alias@,$build_alias,;t t
32021.1Stvs,@host_alias@,$host_alias,;t t
32031.1Stvs,@target_alias@,$target_alias,;t t
32041.1Stvs,@ECHO_C@,$ECHO_C,;t t
32051.1Stvs,@ECHO_N@,$ECHO_N,;t t
32061.1Stvs,@ECHO_T@,$ECHO_T,;t t
32071.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
32081.1Stvs,@DEFS@,$DEFS,;t t
32091.1Stvs,@LIBS@,$LIBS,;t t
32101.1Stvs,@CC@,$CC,;t t
32111.1Stvs,@CFLAGS@,$CFLAGS,;t t
32121.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
32131.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
32141.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
32151.1Stvs,@EXEEXT@,$EXEEXT,;t t
32161.1Stvs,@OBJEXT@,$OBJEXT,;t t
32171.1Stvs,@CPP@,$CPP,;t t
32181.1StvCEOF
32191.1Stv
32201.1StvEOF
32211.1Stv
32221.1Stv  cat >>$CONFIG_STATUS <<\EOF
32231.1Stv  # Split the substitutions into bite-sized pieces for seds with
32241.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
32251.1Stv  ac_max_sed_lines=48
32261.1Stv  ac_sed_frag=1 # Number of current file.
32271.1Stv  ac_beg=1 # First line for current file.
32281.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
32291.1Stv  ac_more_lines=:
32301.1Stv  ac_sed_cmds=
32311.1Stv  while $ac_more_lines; do
32321.1Stv    if test $ac_beg -gt 1; then
32331.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
32341.1Stv    else
32351.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
32361.1Stv    fi
32371.1Stv    if test ! -s $tmp/subs.frag; then
32381.1Stv      ac_more_lines=false
32391.1Stv    else
32401.1Stv      # The purpose of the label and of the branching condition is to
32411.1Stv      # speed up the sed processing (if there are no `@' at all, there
32421.1Stv      # is no need to browse any of the substitutions).
32431.1Stv      # These are the two extra sed commands mentioned above.
32441.1Stv      (echo ':t
32451.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
32461.1Stv      if test -z "$ac_sed_cmds"; then
32471.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
32481.1Stv      else
32491.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
32501.1Stv      fi
32511.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
32521.1Stv      ac_beg=$ac_end
32531.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
32541.1Stv    fi
32551.1Stv  done
32561.1Stv  if test -z "$ac_sed_cmds"; then
32571.1Stv    ac_sed_cmds=cat
32581.1Stv  fi
32591.1Stvfi # test -n "$CONFIG_FILES"
32601.1Stv
32611.1StvEOF
32621.1Stvcat >>$CONFIG_STATUS <<\EOF
32631.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
32641.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32651.1Stv  case $ac_file in
32661.1Stv  - | *:- | *:-:* ) # input from stdin
32671.1Stv        cat >$tmp/stdin
32681.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32691.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32701.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32711.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32721.1Stv  * )   ac_file_in=$ac_file.in ;;
32731.1Stv  esac
32741.1Stv
32751.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
32761.1Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32771.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
32781.1Stv         X"$ac_file" : 'X\(//\)$' \| \
32791.1Stv         X"$ac_file" : 'X\(/\)' \| \
32801.1Stv         .     : '\(.\)' 2>/dev/null ||
32811.1Stvecho X"$ac_file" |
32821.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32831.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32841.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
32851.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
32861.1Stv  	  s/.*/./; q'`
32871.1Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
32881.1Stv    { case "$ac_dir" in
32891.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
32901.1Stv  *)                      as_incr_dir=.;;
32911.1Stvesac
32921.1Stvas_dummy="$ac_dir"
32931.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
32941.1Stv  case $as_mkdir_dir in
32951.1Stv    # Skip DOS drivespec
32961.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
32971.1Stv    *)
32981.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
32991.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
33001.1Stv    ;;
33011.1Stv  esac
33021.1Stvdone; }
33031.1Stv
33041.1Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
33051.1Stv    # A "../" for each directory in $ac_dir_suffix.
33061.1Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
33071.1Stv  else
33081.1Stv    ac_dir_suffix= ac_dots=
33091.1Stv  fi
33101.1Stv
33111.1Stv  case $srcdir in
33121.1Stv  .)  ac_srcdir=.
33131.1Stv      if test -z "$ac_dots"; then
33141.1Stv         ac_top_srcdir=.
33151.1Stv      else
33161.1Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
33171.1Stv      fi ;;
33181.1Stv  [\\/]* | ?:[\\/]* )
33191.1Stv      ac_srcdir=$srcdir$ac_dir_suffix;
33201.1Stv      ac_top_srcdir=$srcdir ;;
33211.1Stv  *) # Relative path.
33221.1Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
33231.1Stv    ac_top_srcdir=$ac_dots$srcdir ;;
33241.1Stv  esac
33251.1Stv
33261.1Stv  if test x"$ac_file" != x-; then
33271.4Stv    { echo "$as_me:3327: creating $ac_file" >&5
33281.1Stvecho "$as_me: creating $ac_file" >&6;}
33291.1Stv    rm -f "$ac_file"
33301.1Stv  fi
33311.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
33321.1Stv  # use $as_me), people would be surprised to read:
33331.1Stv  #    /* config.h.  Generated automatically by config.status.  */
33341.1Stv  configure_input="Generated automatically from `echo $ac_file_in |
33351.1Stv                                                 sed 's,.*/,,'` by configure."
33361.1Stv
33371.1Stv  # First look for the input files in the build tree, otherwise in the
33381.1Stv  # src tree.
33391.1Stv  ac_file_inputs=`IFS=:
33401.1Stv    for f in $ac_file_in; do
33411.1Stv      case $f in
33421.1Stv      -) echo $tmp/stdin ;;
33431.1Stv      [\\/$]*)
33441.1Stv         # Absolute (can't be DOS-style, as IFS=:)
33451.4Stv         test -f "$f" || { { echo "$as_me:3345: error: cannot find input file: $f" >&5
33461.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
33471.1Stv   { (exit 1); exit 1; }; }
33481.1Stv         echo $f;;
33491.1Stv      *) # Relative
33501.1Stv         if test -f "$f"; then
33511.1Stv           # Build tree
33521.1Stv           echo $f
33531.1Stv         elif test -f "$srcdir/$f"; then
33541.1Stv           # Source tree
33551.1Stv           echo $srcdir/$f
33561.1Stv         else
33571.1Stv           # /dev/null tree
33581.4Stv           { { echo "$as_me:3358: error: cannot find input file: $f" >&5
33591.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
33601.1Stv   { (exit 1); exit 1; }; }
33611.1Stv         fi;;
33621.1Stv      esac
33631.1Stv    done` || { (exit 1); exit 1; }
33641.1StvEOF
33651.1Stvcat >>$CONFIG_STATUS <<EOF
33661.1Stv  sed "$ac_vpsub
33671.1Stv$extrasub
33681.1StvEOF
33691.1Stvcat >>$CONFIG_STATUS <<\EOF
33701.1Stv:t
33711.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33721.1Stvs,@configure_input@,$configure_input,;t t
33731.1Stvs,@srcdir@,$ac_srcdir,;t t
33741.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
33751.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
33761.1Stv  rm -f $tmp/stdin
33771.1Stv  if test x"$ac_file" != x-; then
33781.1Stv    mv $tmp/out $ac_file
33791.1Stv  else
33801.1Stv    cat $tmp/out
33811.1Stv    rm -f $tmp/out
33821.1Stv  fi
33831.1Stv
33841.1Stvdone
33851.1StvEOF
33861.1Stvcat >>$CONFIG_STATUS <<\EOF
33871.1Stv
33881.1Stv#
33891.1Stv# CONFIG_HEADER section.
33901.1Stv#
33911.1Stv
33921.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
33931.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
33941.1Stv#
33951.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
33961.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
33971.1Stvac_dB='[ 	].*$,\1#\2'
33981.1Stvac_dC=' '
33991.1Stvac_dD=',;t'
34001.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34011.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
34021.1Stvac_uB='$,\1#\2define\3'
34031.1Stvac_uC=' '
34041.1Stvac_uD=',;t'
34051.1Stv
34061.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34071.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34081.1Stv  case $ac_file in
34091.1Stv  - | *:- | *:-:* ) # input from stdin
34101.1Stv        cat >$tmp/stdin
34111.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34121.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34131.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34141.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34151.1Stv  * )   ac_file_in=$ac_file.in ;;
34161.1Stv  esac
34171.1Stv
34181.4Stv  test x"$ac_file" != x- && { echo "$as_me:3418: creating $ac_file" >&5
34191.1Stvecho "$as_me: creating $ac_file" >&6;}
34201.1Stv
34211.1Stv  # First look for the input files in the build tree, otherwise in the
34221.1Stv  # src tree.
34231.1Stv  ac_file_inputs=`IFS=:
34241.1Stv    for f in $ac_file_in; do
34251.1Stv      case $f in
34261.1Stv      -) echo $tmp/stdin ;;
34271.1Stv      [\\/$]*)
34281.1Stv         # Absolute (can't be DOS-style, as IFS=:)
34291.4Stv         test -f "$f" || { { echo "$as_me:3429: error: cannot find input file: $f" >&5
34301.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
34311.1Stv   { (exit 1); exit 1; }; }
34321.1Stv         echo $f;;
34331.1Stv      *) # Relative
34341.1Stv         if test -f "$f"; then
34351.1Stv           # Build tree
34361.1Stv           echo $f
34371.1Stv         elif test -f "$srcdir/$f"; then
34381.1Stv           # Source tree
34391.1Stv           echo $srcdir/$f
34401.1Stv         else
34411.1Stv           # /dev/null tree
34421.4Stv           { { echo "$as_me:3442: error: cannot find input file: $f" >&5
34431.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
34441.1Stv   { (exit 1); exit 1; }; }
34451.1Stv         fi;;
34461.1Stv      esac
34471.1Stv    done` || { (exit 1); exit 1; }
34481.1Stv  # Remove the trailing spaces.
34491.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
34501.1Stv
34511.1StvEOF
34521.1Stv
34531.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
34541.1Stv# `conftest.undefs', that substitutes the proper values into
34551.1Stv# config.h.in to produce config.h.  The first handles `#define'
34561.1Stv# templates, and the second `#undef' templates.
34571.1Stv# And first: Protect against being on the right side of a sed subst in
34581.1Stv# config.status.  Protect against being in an unquoted here document
34591.1Stv# in config.status.
34601.1Stvrm -f conftest.defines conftest.undefs
34611.1Stv# Using a here document instead of a string reduces the quoting nightmare.
34621.1Stv# Putting comments in sed scripts is not portable.
34631.1Stv#
34641.1Stv# `end' is used to avoid that the second main sed command (meant for
34651.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
34661.1Stv# See the Autoconf documentation for `clear'.
34671.1Stvcat >confdef2sed.sed <<\EOF
34681.1Stvs/[\\&,]/\\&/g
34691.1Stvs,[\\$`],\\&,g
34701.1Stvt clear
34711.1Stv: clear
34721.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
34731.1Stvt end
34741.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34751.1Stv: end
34761.1StvEOF
34771.1Stv# If some macros were called several times there might be several times
34781.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
34791.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
34801.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34811.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34821.1Stvrm -f confdef2sed.sed
34831.1Stv
34841.1Stv# This sed command replaces #undef with comments.  This is necessary, for
34851.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
34861.1Stv# on some systems where configure will not decide to define it.
34871.1Stvcat >>conftest.undefs <<\EOF
34881.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34891.1StvEOF
34901.1Stv
34911.1Stv# Break up conftest.defines because some shells have a limit on the size
34921.1Stv# of here documents, and old seds have small limits too (100 cmds).
34931.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34941.1Stvecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34951.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34961.1Stvecho '  :' >>$CONFIG_STATUS
34971.1Stvrm -f conftest.tail
34981.1Stvwhile grep . conftest.defines >/dev/null
34991.1Stvdo
35001.1Stv  # Write a limited-size here document to $tmp/defines.sed.
35011.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35021.1Stv  # Speed up: don't consider the non `#define' lines.
35031.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
35041.1Stv  # Work around the forget-to-reset-the-flag bug.
35051.1Stv  echo 't clr' >>$CONFIG_STATUS
35061.1Stv  echo ': clr' >>$CONFIG_STATUS
35071.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35081.1Stv  echo 'CEOF
35091.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
35101.1Stv  rm -f $tmp/in
35111.1Stv  mv $tmp/out $tmp/in
35121.1Stv' >>$CONFIG_STATUS
35131.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35141.1Stv  rm -f conftest.defines
35151.1Stv  mv conftest.tail conftest.defines
35161.1Stvdone
35171.1Stvrm -f conftest.defines
35181.1Stvecho '  fi # egrep' >>$CONFIG_STATUS
35191.1Stvecho >>$CONFIG_STATUS
35201.1Stv
35211.1Stv# Break up conftest.undefs because some shells have a limit on the size
35221.1Stv# of here documents, and old seds have small limits too (100 cmds).
35231.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
35241.1Stvrm -f conftest.tail
35251.1Stvwhile grep . conftest.undefs >/dev/null
35261.1Stvdo
35271.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
35281.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35291.1Stv  # Speed up: don't consider the non `#undef'
35301.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
35311.1Stv  # Work around the forget-to-reset-the-flag bug.
35321.1Stv  echo 't clr' >>$CONFIG_STATUS
35331.1Stv  echo ': clr' >>$CONFIG_STATUS
35341.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35351.1Stv  echo 'CEOF
35361.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35371.1Stv  rm -f $tmp/in
35381.1Stv  mv $tmp/out $tmp/in
35391.1Stv' >>$CONFIG_STATUS
35401.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35411.1Stv  rm -f conftest.undefs
35421.1Stv  mv conftest.tail conftest.undefs
35431.1Stvdone
35441.1Stvrm -f conftest.undefs
35451.1Stv
35461.1Stvcat >>$CONFIG_STATUS <<\EOF
35471.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
35481.1Stv  # use $as_me), people would be surprised to read:
35491.1Stv  #    /* config.h.  Generated automatically by config.status.  */
35501.1Stv  if test x"$ac_file" = x-; then
35511.1Stv    echo "/* Generated automatically by configure.  */" >$tmp/config.h
35521.1Stv  else
35531.1Stv    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
35541.1Stv  fi
35551.1Stv  cat $tmp/in >>$tmp/config.h
35561.1Stv  rm -f $tmp/in
35571.1Stv  if test x"$ac_file" != x-; then
35581.1Stv    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
35591.4Stv      { echo "$as_me:3559: $ac_file is unchanged" >&5
35601.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
35611.1Stv    else
35621.1Stv      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35631.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
35641.1Stv         X"$ac_file" : 'X\(//\)$' \| \
35651.1Stv         X"$ac_file" : 'X\(/\)' \| \
35661.1Stv         .     : '\(.\)' 2>/dev/null ||
35671.1Stvecho X"$ac_file" |
35681.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35691.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35701.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
35711.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
35721.1Stv  	  s/.*/./; q'`
35731.1Stv      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
35741.1Stv        { case "$ac_dir" in
35751.1Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
35761.1Stv  *)                      as_incr_dir=.;;
35771.1Stvesac
35781.1Stvas_dummy="$ac_dir"
35791.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
35801.1Stv  case $as_mkdir_dir in
35811.1Stv    # Skip DOS drivespec
35821.1Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
35831.1Stv    *)
35841.1Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
35851.1Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
35861.1Stv    ;;
35871.1Stv  esac
35881.1Stvdone; }
35891.1Stv
35901.1Stv      fi
35911.1Stv      rm -f $ac_file
35921.1Stv      mv $tmp/config.h $ac_file
35931.1Stv    fi
35941.1Stv  else
35951.1Stv    cat $tmp/config.h
35961.1Stv    rm -f $tmp/config.h
35971.1Stv  fi
35981.1Stvdone
35991.1StvEOF
36001.1Stv
36011.1Stvcat >>$CONFIG_STATUS <<\EOF
36021.1Stv
36031.1Stv{ (exit 0); exit 0; }
36041.1StvEOF
36051.1Stvchmod +x $CONFIG_STATUS
36061.1Stvac_clean_files=$ac_clean_files_save
36071.1Stv
36081.1Stv# configure is writing to config.log, and then calls config.status.
36091.1Stv# config.status does its own redirection, appending to config.log.
36101.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
36111.1Stv# by configure, so config.status won't be able to write to it; its
36121.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
36131.1Stv# effectively closing config.log, so it can be properly (re)opened and
36141.1Stv# appended to by config.status.  When coming back to configure, we
36151.1Stv# need to make the FD available again.
36161.1Stvif test "$no_create" != yes; then
36171.1Stv  ac_cs_success=:
36181.1Stv  exec 5>/dev/null
36191.1Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
36201.1Stv  exec 5>>config.log
36211.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36221.1Stv  # would make configure fail if this is the last instruction.
36231.1Stv  $ac_cs_success || { (exit 1); exit 1; }
36241.1Stvfi
36251.1Stv
3626