configure revision 1.34
11.1Stv#! /bin/sh 21.1Stv# Guess values for system-dependent variables and create Makefiles. 31.1Stv# Generated by Autoconf 2.52 for libnbcompat noversion. 41.1Stv# 51.1Stv# Report bugs to <lib-bug-people@netbsd.org>. 61.1Stv# 71.1Stv# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 81.1Stv# Free Software Foundation, Inc. 91.1Stv# This configure script is free software; the Free Software Foundation 101.1Stv# gives unlimited permission to copy, distribute and modify it. 111.1Stv 121.1Stv# Avoid depending upon Character Ranges. 131.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz' 141.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 151.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS 161.1Stvas_cr_digits='0123456789' 171.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits 181.1Stv 191.1Stv# Sed expression to map a string onto a valid variable name. 201.1Stvas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 211.1Stv 221.1Stv# Sed expression to map a string onto a valid CPP name. 231.1Stvas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 241.1Stv 251.1Stv# Be Bourne compatible 261.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 271.1Stv emulate sh 281.1Stv NULLCMD=: 291.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 301.1Stv set -o posix 311.1Stvfi 321.1Stv 331.1Stv# Name of the executable. 341.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'` 351.1Stv 361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 371.1Stv as_expr=expr 381.1Stvelse 391.1Stv as_expr=false 401.1Stvfi 411.1Stv 421.1Stvrm -f conf$$ conf$$.exe conf$$.file 431.1Stvecho >conf$$.file 441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 451.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 461.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 471.1Stv if test -f conf$$.exe; then 481.1Stv # Don't use ln at all; we don't have any links 491.1Stv as_ln_s='cp -p' 501.1Stv else 511.1Stv as_ln_s='ln -s' 521.1Stv fi 531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 541.1Stv as_ln_s=ln 551.1Stvelse 561.1Stv as_ln_s='cp -p' 571.1Stvfi 581.1Stvrm -f conf$$ conf$$.exe conf$$.file 591.1Stv 601.1Stvas_executable_p="test -f" 611.1Stv 621.1Stv# Support unset when possible. 631.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then 641.1Stv as_unset=unset 651.1Stvelse 661.1Stv as_unset=false 671.1Stvfi 681.1Stv 691.1Stv# NLS nuisances. 701.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 711.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 721.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 731.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 741.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 751.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 761.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 771.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 781.1Stv 791.1Stv# IFS 801.1Stv# We need space, tab and new line, in precisely that order. 811.1Stvas_nl=' 821.1Stv' 831.1StvIFS=" $as_nl" 841.1Stv 851.1Stv# CDPATH. 861.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 871.1Stv 881.1Stv# Name of the host. 891.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 901.1Stv# so uname gets run too. 911.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 921.1Stv 931.1Stvexec 6>&1 941.1Stv 951.1Stv# 961.1Stv# Initializations. 971.1Stv# 981.1Stvac_default_prefix=/usr/local 991.1Stvcross_compiling=no 1001.1Stvsubdirs= 1011.1StvMFLAGS= MAKEFLAGS= 1021.1StvSHELL=${CONFIG_SHELL-/bin/sh} 1031.1Stv 1041.1Stv# Maximum number of lines to put in a shell here document. 1051.1Stv# This variable seems obsolete. It should probably be removed, and 1061.1Stv# only ac_max_sed_lines should be used. 1071.1Stv: ${ac_max_here_lines=38} 1081.1Stv 1091.1Stv# Factoring default headers for most tests. 1101.1Stvac_includes_default="\ 1111.1Stv#include <stdio.h> 1121.1Stv#if HAVE_SYS_TYPES_H 1131.1Stv# include <sys/types.h> 1141.1Stv#endif 1151.1Stv#if HAVE_SYS_STAT_H 1161.1Stv# include <sys/stat.h> 1171.1Stv#endif 1181.1Stv#if STDC_HEADERS 1191.1Stv# include <stdlib.h> 1201.1Stv# include <stddef.h> 1211.1Stv#else 1221.1Stv# if HAVE_STDLIB_H 1231.1Stv# include <stdlib.h> 1241.1Stv# endif 1251.1Stv#endif 1261.1Stv#if HAVE_STRING_H 1271.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H 1281.1Stv# include <memory.h> 1291.1Stv# endif 1301.1Stv# include <string.h> 1311.1Stv#endif 1321.1Stv#if HAVE_STRINGS_H 1331.1Stv# include <strings.h> 1341.1Stv#endif 1351.1Stv#if HAVE_INTTYPES_H 1361.1Stv# include <inttypes.h> 1371.1Stv#else 1381.1Stv# if HAVE_STDINT_H 1391.1Stv# include <stdint.h> 1401.1Stv# endif 1411.1Stv#endif 1421.1Stv#if HAVE_UNISTD_H 1431.1Stv# include <unistd.h> 1441.1Stv#endif" 1451.1Stv 1461.1Stv# Initialize some variables set by options. 1471.1Stvac_init_help= 1481.1Stvac_init_version=false 1491.1Stv# The variables have the same names as the options, with 1501.1Stv# dashes changed to underlines. 1511.1Stvcache_file=/dev/null 1521.1Stvexec_prefix=NONE 1531.1Stvno_create= 1541.1Stvno_recursion= 1551.1Stvprefix=NONE 1561.1Stvprogram_prefix=NONE 1571.1Stvprogram_suffix=NONE 1581.1Stvprogram_transform_name=s,x,x, 1591.1Stvsilent= 1601.1Stvsite= 1611.1Stvsrcdir= 1621.1Stvverbose= 1631.1Stvx_includes=NONE 1641.1Stvx_libraries=NONE 1651.1Stv 1661.1Stv# Installation directory options. 1671.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo" 1681.1Stv# and all the variables that are supposed to be based on exec_prefix 1691.1Stv# by default will actually change. 1701.1Stv# Use braces instead of parens because sh, perl, etc. also accept them. 1711.1Stvbindir='${exec_prefix}/bin' 1721.1Stvsbindir='${exec_prefix}/sbin' 1731.1Stvlibexecdir='${exec_prefix}/libexec' 1741.1Stvdatadir='${prefix}/share' 1751.1Stvsysconfdir='${prefix}/etc' 1761.1Stvsharedstatedir='${prefix}/com' 1771.1Stvlocalstatedir='${prefix}/var' 1781.1Stvlibdir='${exec_prefix}/lib' 1791.1Stvincludedir='${prefix}/include' 1801.1Stvoldincludedir='/usr/include' 1811.1Stvinfodir='${prefix}/info' 1821.1Stvmandir='${prefix}/man' 1831.1Stv 1841.1Stv# Identity of this package. 1851.1StvPACKAGE_NAME='libnbcompat' 1861.1StvPACKAGE_TARNAME='libnbcompat' 1871.1StvPACKAGE_VERSION='noversion' 1881.1StvPACKAGE_STRING='libnbcompat noversion' 1891.1StvPACKAGE_BUGREPORT='lib-bug-people@netbsd.org' 1901.1Stv 1911.1Stvac_prev= 1921.1Stvfor ac_option 1931.1Stvdo 1941.1Stv # If the previous option needs an argument, assign it. 1951.1Stv if test -n "$ac_prev"; then 1961.1Stv eval "$ac_prev=\$ac_option" 1971.1Stv ac_prev= 1981.1Stv continue 1991.1Stv fi 2001.1Stv 2011.1Stv ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 2021.1Stv 2031.1Stv # Accept the important Cygnus configure options, so we can diagnose typos. 2041.1Stv 2051.1Stv case $ac_option in 2061.1Stv 2071.1Stv -bindir | --bindir | --bindi | --bind | --bin | --bi) 2081.1Stv ac_prev=bindir ;; 2091.1Stv -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 2101.1Stv bindir=$ac_optarg ;; 2111.1Stv 2121.1Stv -build | --build | --buil | --bui | --bu) 2131.1Stv ac_prev=build_alias ;; 2141.1Stv -build=* | --build=* | --buil=* | --bui=* | --bu=*) 2151.1Stv build_alias=$ac_optarg ;; 2161.1Stv 2171.1Stv -cache-file | --cache-file | --cache-fil | --cache-fi \ 2181.1Stv | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 2191.1Stv ac_prev=cache_file ;; 2201.1Stv -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 2211.1Stv | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 2221.1Stv cache_file=$ac_optarg ;; 2231.1Stv 2241.1Stv --config-cache | -C) 2251.1Stv cache_file=config.cache ;; 2261.1Stv 2271.1Stv -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 2281.1Stv ac_prev=datadir ;; 2291.1Stv -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 2301.1Stv | --da=*) 2311.1Stv datadir=$ac_optarg ;; 2321.1Stv 2331.1Stv -disable-* | --disable-*) 2341.1Stv ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 2351.1Stv # Reject names that are not valid shell variable names. 2361.1Stv expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 2371.1Stv { echo "$as_me: error: invalid feature name: $ac_feature" >&2 2381.1Stv { (exit 1); exit 1; }; } 2391.1Stv ac_feature=`echo $ac_feature | sed 's/-/_/g'` 2401.1Stv eval "enable_$ac_feature=no" ;; 2411.1Stv 2421.1Stv -enable-* | --enable-*) 2431.1Stv ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 2441.1Stv # Reject names that are not valid shell variable names. 2451.1Stv expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 2461.1Stv { echo "$as_me: error: invalid feature name: $ac_feature" >&2 2471.1Stv { (exit 1); exit 1; }; } 2481.1Stv ac_feature=`echo $ac_feature | sed 's/-/_/g'` 2491.1Stv case $ac_option in 2501.1Stv *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 2511.1Stv *) ac_optarg=yes ;; 2521.1Stv esac 2531.1Stv eval "enable_$ac_feature='$ac_optarg'" ;; 2541.1Stv 2551.1Stv -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 2561.1Stv | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 2571.1Stv | --exec | --exe | --ex) 2581.1Stv ac_prev=exec_prefix ;; 2591.1Stv -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 2601.1Stv | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 2611.1Stv | --exec=* | --exe=* | --ex=*) 2621.1Stv exec_prefix=$ac_optarg ;; 2631.1Stv 2641.1Stv -gas | --gas | --ga | --g) 2651.1Stv # Obsolete; use --with-gas. 2661.1Stv with_gas=yes ;; 2671.1Stv 2681.1Stv -help | --help | --hel | --he | -h) 2691.1Stv ac_init_help=long ;; 2701.1Stv -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 2711.1Stv ac_init_help=recursive ;; 2721.1Stv -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 2731.1Stv ac_init_help=short ;; 2741.1Stv 2751.1Stv -host | --host | --hos | --ho) 2761.1Stv ac_prev=host_alias ;; 2771.1Stv -host=* | --host=* | --hos=* | --ho=*) 2781.1Stv host_alias=$ac_optarg ;; 2791.1Stv 2801.1Stv -includedir | --includedir | --includedi | --included | --include \ 2811.1Stv | --includ | --inclu | --incl | --inc) 2821.1Stv ac_prev=includedir ;; 2831.1Stv -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 2841.1Stv | --includ=* | --inclu=* | --incl=* | --inc=*) 2851.1Stv includedir=$ac_optarg ;; 2861.1Stv 2871.1Stv -infodir | --infodir | --infodi | --infod | --info | --inf) 2881.1Stv ac_prev=infodir ;; 2891.1Stv -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 2901.1Stv infodir=$ac_optarg ;; 2911.1Stv 2921.1Stv -libdir | --libdir | --libdi | --libd) 2931.1Stv ac_prev=libdir ;; 2941.1Stv -libdir=* | --libdir=* | --libdi=* | --libd=*) 2951.1Stv libdir=$ac_optarg ;; 2961.1Stv 2971.1Stv -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 2981.1Stv | --libexe | --libex | --libe) 2991.1Stv ac_prev=libexecdir ;; 3001.1Stv -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 3011.1Stv | --libexe=* | --libex=* | --libe=*) 3021.1Stv libexecdir=$ac_optarg ;; 3031.1Stv 3041.1Stv -localstatedir | --localstatedir | --localstatedi | --localstated \ 3051.1Stv | --localstate | --localstat | --localsta | --localst \ 3061.1Stv | --locals | --local | --loca | --loc | --lo) 3071.1Stv ac_prev=localstatedir ;; 3081.1Stv -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 3091.1Stv | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 3101.1Stv | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 3111.1Stv localstatedir=$ac_optarg ;; 3121.1Stv 3131.1Stv -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 3141.1Stv ac_prev=mandir ;; 3151.1Stv -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 3161.1Stv mandir=$ac_optarg ;; 3171.1Stv 3181.1Stv -nfp | --nfp | --nf) 3191.1Stv # Obsolete; use --without-fp. 3201.1Stv with_fp=no ;; 3211.1Stv 3221.1Stv -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 3231.1Stv | --no-cr | --no-c) 3241.1Stv no_create=yes ;; 3251.1Stv 3261.1Stv -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 3271.1Stv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 3281.1Stv no_recursion=yes ;; 3291.1Stv 3301.1Stv -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 3311.1Stv | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 3321.1Stv | --oldin | --oldi | --old | --ol | --o) 3331.1Stv ac_prev=oldincludedir ;; 3341.1Stv -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 3351.1Stv | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 3361.1Stv | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 3371.1Stv oldincludedir=$ac_optarg ;; 3381.1Stv 3391.1Stv -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 3401.1Stv ac_prev=prefix ;; 3411.1Stv -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 3421.1Stv prefix=$ac_optarg ;; 3431.1Stv 3441.1Stv -program-prefix | --program-prefix | --program-prefi | --program-pref \ 3451.1Stv | --program-pre | --program-pr | --program-p) 3461.1Stv ac_prev=program_prefix ;; 3471.1Stv -program-prefix=* | --program-prefix=* | --program-prefi=* \ 3481.1Stv | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 3491.1Stv program_prefix=$ac_optarg ;; 3501.1Stv 3511.1Stv -program-suffix | --program-suffix | --program-suffi | --program-suff \ 3521.1Stv | --program-suf | --program-su | --program-s) 3531.1Stv ac_prev=program_suffix ;; 3541.1Stv -program-suffix=* | --program-suffix=* | --program-suffi=* \ 3551.1Stv | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 3561.1Stv program_suffix=$ac_optarg ;; 3571.1Stv 3581.1Stv -program-transform-name | --program-transform-name \ 3591.1Stv | --program-transform-nam | --program-transform-na \ 3601.1Stv | --program-transform-n | --program-transform- \ 3611.1Stv | --program-transform | --program-transfor \ 3621.1Stv | --program-transfo | --program-transf \ 3631.1Stv | --program-trans | --program-tran \ 3641.1Stv | --progr-tra | --program-tr | --program-t) 3651.1Stv ac_prev=program_transform_name ;; 3661.1Stv -program-transform-name=* | --program-transform-name=* \ 3671.1Stv | --program-transform-nam=* | --program-transform-na=* \ 3681.1Stv | --program-transform-n=* | --program-transform-=* \ 3691.1Stv | --program-transform=* | --program-transfor=* \ 3701.1Stv | --program-transfo=* | --program-transf=* \ 3711.1Stv | --program-trans=* | --program-tran=* \ 3721.1Stv | --progr-tra=* | --program-tr=* | --program-t=*) 3731.1Stv program_transform_name=$ac_optarg ;; 3741.1Stv 3751.1Stv -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3761.1Stv | -silent | --silent | --silen | --sile | --sil) 3771.1Stv silent=yes ;; 3781.1Stv 3791.1Stv -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 3801.1Stv ac_prev=sbindir ;; 3811.1Stv -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 3821.1Stv | --sbi=* | --sb=*) 3831.1Stv sbindir=$ac_optarg ;; 3841.1Stv 3851.1Stv -sharedstatedir | --sharedstatedir | --sharedstatedi \ 3861.1Stv | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 3871.1Stv | --sharedst | --shareds | --shared | --share | --shar \ 3881.1Stv | --sha | --sh) 3891.1Stv ac_prev=sharedstatedir ;; 3901.1Stv -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 3911.1Stv | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 3921.1Stv | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 3931.1Stv | --sha=* | --sh=*) 3941.1Stv sharedstatedir=$ac_optarg ;; 3951.1Stv 3961.1Stv -site | --site | --sit) 3971.1Stv ac_prev=site ;; 3981.1Stv -site=* | --site=* | --sit=*) 3991.1Stv site=$ac_optarg ;; 4001.1Stv 4011.1Stv -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 4021.1Stv ac_prev=srcdir ;; 4031.1Stv -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 4041.1Stv srcdir=$ac_optarg ;; 4051.1Stv 4061.1Stv -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 4071.1Stv | --syscon | --sysco | --sysc | --sys | --sy) 4081.1Stv ac_prev=sysconfdir ;; 4091.1Stv -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 4101.1Stv | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 4111.1Stv sysconfdir=$ac_optarg ;; 4121.1Stv 4131.1Stv -target | --target | --targe | --targ | --tar | --ta | --t) 4141.1Stv ac_prev=target_alias ;; 4151.1Stv -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 4161.1Stv target_alias=$ac_optarg ;; 4171.1Stv 4181.1Stv -v | -verbose | --verbose | --verbos | --verbo | --verb) 4191.1Stv verbose=yes ;; 4201.1Stv 4211.1Stv -version | --version | --versio | --versi | --vers | -V) 4221.1Stv ac_init_version=: ;; 4231.1Stv 4241.1Stv -with-* | --with-*) 4251.1Stv ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 4261.1Stv # Reject names that are not valid shell variable names. 4271.1Stv expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 4281.1Stv { echo "$as_me: error: invalid package name: $ac_package" >&2 4291.1Stv { (exit 1); exit 1; }; } 4301.1Stv ac_package=`echo $ac_package| sed 's/-/_/g'` 4311.1Stv case $ac_option in 4321.1Stv *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 4331.1Stv *) ac_optarg=yes ;; 4341.1Stv esac 4351.1Stv eval "with_$ac_package='$ac_optarg'" ;; 4361.1Stv 4371.1Stv -without-* | --without-*) 4381.1Stv ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 4391.1Stv # Reject names that are not valid shell variable names. 4401.1Stv expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 4411.1Stv { echo "$as_me: error: invalid package name: $ac_package" >&2 4421.1Stv { (exit 1); exit 1; }; } 4431.1Stv ac_package=`echo $ac_package | sed 's/-/_/g'` 4441.1Stv eval "with_$ac_package=no" ;; 4451.1Stv 4461.1Stv --x) 4471.1Stv # Obsolete; use --with-x. 4481.1Stv with_x=yes ;; 4491.1Stv 4501.1Stv -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 4511.1Stv | --x-incl | --x-inc | --x-in | --x-i) 4521.1Stv ac_prev=x_includes ;; 4531.1Stv -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 4541.1Stv | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 4551.1Stv x_includes=$ac_optarg ;; 4561.1Stv 4571.1Stv -x-libraries | --x-libraries | --x-librarie | --x-librari \ 4581.1Stv | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 4591.1Stv ac_prev=x_libraries ;; 4601.1Stv -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 4611.1Stv | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 4621.1Stv x_libraries=$ac_optarg ;; 4631.1Stv 4641.1Stv -*) { echo "$as_me: error: unrecognized option: $ac_option 4651.1StvTry \`$0 --help' for more information." >&2 4661.1Stv { (exit 1); exit 1; }; } 4671.1Stv ;; 4681.1Stv 4691.1Stv *=*) 4701.1Stv ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 4711.1Stv # Reject names that are not valid shell variable names. 4721.1Stv expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 4731.1Stv { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 4741.1Stv { (exit 1); exit 1; }; } 4751.1Stv ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 4761.1Stv eval "$ac_envvar='$ac_optarg'" 4771.1Stv export $ac_envvar ;; 4781.1Stv 4791.1Stv *) 4801.1Stv # FIXME: should be removed in autoconf 3.0. 4811.1Stv echo "$as_me: WARNING: you should use --build, --host, --target" >&2 4821.1Stv expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 4831.1Stv echo "$as_me: WARNING: invalid host type: $ac_option" >&2 4841.1Stv : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 4851.1Stv ;; 4861.1Stv 4871.1Stv esac 4881.1Stvdone 4891.1Stv 4901.1Stvif test -n "$ac_prev"; then 4911.1Stv ac_option=--`echo $ac_prev | sed 's/_/-/g'` 4921.1Stv { echo "$as_me: error: missing argument to $ac_option" >&2 4931.1Stv { (exit 1); exit 1; }; } 4941.1Stvfi 4951.1Stv 4961.1Stv# Be sure to have absolute paths. 4971.1Stvfor ac_var in exec_prefix prefix 4981.1Stvdo 4991.1Stv eval ac_val=$`echo $ac_var` 5001.1Stv case $ac_val in 5011.1Stv [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 5021.1Stv *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 5031.1Stv { (exit 1); exit 1; }; };; 5041.1Stv esac 5051.1Stvdone 5061.1Stv 5071.1Stv# Be sure to have absolute paths. 5081.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 5091.1Stv localstatedir libdir includedir oldincludedir infodir mandir 5101.1Stvdo 5111.1Stv eval ac_val=$`echo $ac_var` 5121.1Stv case $ac_val in 5131.1Stv [\\/$]* | ?:[\\/]* ) ;; 5141.1Stv *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 5151.1Stv { (exit 1); exit 1; }; };; 5161.1Stv esac 5171.1Stvdone 5181.1Stv 5191.1Stv# There might be people who depend on the old broken behavior: `$host' 5201.1Stv# used to hold the argument of --host etc. 5211.1Stvbuild=$build_alias 5221.1Stvhost=$host_alias 5231.1Stvtarget=$target_alias 5241.1Stv 5251.1Stv# FIXME: should be removed in autoconf 3.0. 5261.1Stvif test "x$host_alias" != x; then 5271.1Stv if test "x$build_alias" = x; then 5281.1Stv cross_compiling=maybe 5291.1Stv echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 5301.1Stv If a cross compiler is detected then cross compile mode will be used." >&2 5311.1Stv elif test "x$build_alias" != "x$host_alias"; then 5321.1Stv cross_compiling=yes 5331.1Stv fi 5341.1Stvfi 5351.1Stv 5361.1Stvac_tool_prefix= 5371.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias- 5381.1Stv 5391.1Stvtest "$silent" = yes && exec 6>/dev/null 5401.1Stv 5411.1Stv# Find the source files, if location was not specified. 5421.1Stvif test -z "$srcdir"; then 5431.1Stv ac_srcdir_defaulted=yes 5441.1Stv # Try the directory containing this script, then its parent. 5451.1Stv ac_prog=$0 5461.1Stv ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 5471.1Stv test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 5481.1Stv srcdir=$ac_confdir 5491.1Stv if test ! -r $srcdir/$ac_unique_file; then 5501.1Stv srcdir=.. 5511.1Stv fi 5521.1Stvelse 5531.1Stv ac_srcdir_defaulted=no 5541.1Stvfi 5551.1Stvif test ! -r $srcdir/$ac_unique_file; then 5561.1Stv if test "$ac_srcdir_defaulted" = yes; then 5571.1Stv { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 5581.1Stv { (exit 1); exit 1; }; } 5591.1Stv else 5601.1Stv { echo "$as_me: error: cannot find sources in $srcdir" >&2 5611.1Stv { (exit 1); exit 1; }; } 5621.1Stv fi 5631.1Stvfi 5641.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 5651.1Stvac_env_build_alias_set=${build_alias+set} 5661.1Stvac_env_build_alias_value=$build_alias 5671.1Stvac_cv_env_build_alias_set=${build_alias+set} 5681.1Stvac_cv_env_build_alias_value=$build_alias 5691.1Stvac_env_host_alias_set=${host_alias+set} 5701.1Stvac_env_host_alias_value=$host_alias 5711.1Stvac_cv_env_host_alias_set=${host_alias+set} 5721.1Stvac_cv_env_host_alias_value=$host_alias 5731.1Stvac_env_target_alias_set=${target_alias+set} 5741.1Stvac_env_target_alias_value=$target_alias 5751.1Stvac_cv_env_target_alias_set=${target_alias+set} 5761.1Stvac_cv_env_target_alias_value=$target_alias 5771.1Stvac_env_CC_set=${CC+set} 5781.1Stvac_env_CC_value=$CC 5791.1Stvac_cv_env_CC_set=${CC+set} 5801.1Stvac_cv_env_CC_value=$CC 5811.1Stvac_env_CFLAGS_set=${CFLAGS+set} 5821.1Stvac_env_CFLAGS_value=$CFLAGS 5831.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set} 5841.1Stvac_cv_env_CFLAGS_value=$CFLAGS 5851.1Stvac_env_LDFLAGS_set=${LDFLAGS+set} 5861.1Stvac_env_LDFLAGS_value=$LDFLAGS 5871.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set} 5881.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS 5891.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set} 5901.1Stvac_env_CPPFLAGS_value=$CPPFLAGS 5911.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 5921.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS 5931.1Stvac_env_CPP_set=${CPP+set} 5941.1Stvac_env_CPP_value=$CPP 5951.1Stvac_cv_env_CPP_set=${CPP+set} 5961.1Stvac_cv_env_CPP_value=$CPP 5971.1Stv 5981.1Stv# 5991.1Stv# Report the --help message. 6001.1Stv# 6011.1Stvif test "$ac_init_help" = "long"; then 6021.1Stv # Omit some internal or obsolete options to make the list less imposing. 6031.1Stv # This message is too long to be a string in the A/UX 3.1 sh. 6041.1Stv cat <<EOF 6051.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems. 6061.1Stv 6071.1StvUsage: $0 [OPTION]... [VAR=VALUE]... 6081.1Stv 6091.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as 6101.1StvVAR=VALUE. See below for descriptions of some of the useful variables. 6111.1Stv 6121.1StvDefaults for the options are specified in brackets. 6131.1Stv 6141.1StvConfiguration: 6151.1Stv -h, --help display this help and exit 6161.1Stv --help=short display options specific to this package 6171.1Stv --help=recursive display the short help of all the included packages 6181.1Stv -V, --version display version information and exit 6191.1Stv -q, --quiet, --silent do not print \`checking...' messages 6201.1Stv --cache-file=FILE cache test results in FILE [disabled] 6211.1Stv -C, --config-cache alias for \`--cache-file=config.cache' 6221.1Stv -n, --no-create do not create output files 6231.1Stv --srcdir=DIR find the sources in DIR [configure dir or \`..'] 6241.1Stv 6251.1StvEOF 6261.1Stv 6271.1Stv cat <<EOF 6281.1StvInstallation directories: 6291.1Stv --prefix=PREFIX install architecture-independent files in PREFIX 6301.1Stv [$ac_default_prefix] 6311.1Stv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 6321.1Stv [PREFIX] 6331.1Stv 6341.1StvBy default, \`make install' will install all the files in 6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix', 6371.1Stvfor instance \`--prefix=\$HOME'. 6381.1Stv 6391.1StvFor better control, use the options below. 6401.1Stv 6411.1StvFine tuning of the installation directories: 6421.1Stv --bindir=DIR user executables [EPREFIX/bin] 6431.1Stv --sbindir=DIR system admin executables [EPREFIX/sbin] 6441.1Stv --libexecdir=DIR program executables [EPREFIX/libexec] 6451.1Stv --datadir=DIR read-only architecture-independent data [PREFIX/share] 6461.1Stv --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 6471.1Stv --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 6481.1Stv --localstatedir=DIR modifiable single-machine data [PREFIX/var] 6491.1Stv --libdir=DIR object code libraries [EPREFIX/lib] 6501.1Stv --includedir=DIR C header files [PREFIX/include] 6511.1Stv --oldincludedir=DIR C header files for non-gcc [/usr/include] 6521.1Stv --infodir=DIR info documentation [PREFIX/info] 6531.1Stv --mandir=DIR man documentation [PREFIX/man] 6541.1StvEOF 6551.1Stv 6561.1Stv cat <<\EOF 6571.1StvEOF 6581.1Stvfi 6591.1Stv 6601.1Stvif test -n "$ac_init_help"; then 6611.1Stv case $ac_init_help in 6621.1Stv short | recursive ) echo "Configuration of libnbcompat noversion:";; 6631.1Stv esac 6641.1Stv cat <<\EOF 6651.1Stv 6661.1StvSome influential environment variables: 6671.1Stv CC C compiler command 6681.1Stv CFLAGS C compiler flags 6691.1Stv LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 6701.1Stv nonstandard directory <lib dir> 6711.1Stv CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 6721.1Stv headers in a nonstandard directory <include dir> 6731.1Stv CPP C preprocessor 6741.1Stv 6751.1StvUse these variables to override the choices made by `configure' or to help 6761.1Stvit to find libraries and programs with nonstandard names/locations. 6771.1Stv 6781.1StvReport bugs to <lib-bug-people@netbsd.org>. 6791.1StvEOF 6801.1Stvfi 6811.1Stv 6821.1Stvif test "$ac_init_help" = "recursive"; then 6831.1Stv # If there are subdirs, report their specific --help. 6841.1Stv ac_popdir=`pwd` 6851.1Stv for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 6861.1Stv cd $ac_subdir 6871.1Stv # A "../" for each directory in /$ac_subdir. 6881.1Stv ac_dots=`echo $ac_subdir | 6891.1Stv sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 6901.1Stv 6911.1Stv case $srcdir in 6921.1Stv .) # No --srcdir option. We are building in place. 6931.1Stv ac_sub_srcdir=$srcdir ;; 6941.1Stv [\\/]* | ?:[\\/]* ) # Absolute path. 6951.1Stv ac_sub_srcdir=$srcdir/$ac_subdir ;; 6961.1Stv *) # Relative path. 6971.1Stv ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 6981.1Stv esac 6991.1Stv 7001.1Stv # Check for guested configure; otherwise get Cygnus style configure. 7011.1Stv if test -f $ac_sub_srcdir/configure.gnu; then 7021.1Stv echo 7031.1Stv $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 7041.1Stv elif test -f $ac_sub_srcdir/configure; then 7051.1Stv echo 7061.1Stv $SHELL $ac_sub_srcdir/configure --help=recursive 7071.1Stv elif test -f $ac_sub_srcdir/configure.ac || 7081.1Stv test -f $ac_sub_srcdir/configure.in; then 7091.1Stv echo 7101.1Stv $ac_configure --help 7111.1Stv else 7121.1Stv echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 7131.1Stv fi 7141.1Stv cd $ac_popdir 7151.1Stv done 7161.1Stvfi 7171.1Stv 7181.1Stvtest -n "$ac_init_help" && exit 0 7191.1Stvif $ac_init_version; then 7201.1Stv cat <<\EOF 7211.1Stvlibnbcompat configure noversion 7221.1Stvgenerated by GNU Autoconf 2.52 7231.1Stv 7241.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7251.1StvFree Software Foundation, Inc. 7261.1StvThis configure script is free software; the Free Software Foundation 7271.1Stvgives unlimited permission to copy, distribute and modify it. 7281.1StvEOF 7291.1Stv exit 0 7301.1Stvfi 7311.1Stvexec 5>config.log 7321.1Stvcat >&5 <<EOF 7331.1StvThis file contains any messages produced by compilers while 7341.1Stvrunning configure, to aid debugging if configure makes a mistake. 7351.1Stv 7361.1StvIt was created by libnbcompat $as_me noversion, which was 7371.1Stvgenerated by GNU Autoconf 2.52. Invocation command line was 7381.1Stv 7391.1Stv $ $0 $@ 7401.1Stv 7411.1StvEOF 7421.1Stv{ 7431.1Stvcat <<_ASUNAME 7441.1Stv## ---------- ## 7451.1Stv## Platform. ## 7461.1Stv## ---------- ## 7471.1Stv 7481.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 7491.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown` 7501.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown` 7511.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown` 7521.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown` 7531.1Stv 7541.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 7551.1Stv/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 7561.1Stv 7571.1Stv/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 7581.1Stv/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 7591.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 7601.1Stvhostinfo = `(hostinfo) 2>/dev/null || echo unknown` 7611.1Stv/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 7621.1Stv/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 7631.1Stv/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 7641.1Stv 7651.1StvPATH = $PATH 7661.1Stv 7671.1Stv_ASUNAME 7681.1Stv} >&5 7691.1Stv 7701.1Stvcat >&5 <<EOF 7711.1Stv## ------------ ## 7721.1Stv## Core tests. ## 7731.1Stv## ------------ ## 7741.1Stv 7751.1StvEOF 7761.1Stv 7771.1Stv# Keep a trace of the command line. 7781.1Stv# Strip out --no-create and --no-recursion so they do not pile up. 7791.1Stv# Also quote any args containing shell meta-characters. 7801.1Stvac_configure_args= 7811.1Stvac_sep= 7821.1Stvfor ac_arg 7831.1Stvdo 7841.1Stv case $ac_arg in 7851.1Stv -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 7861.1Stv | --no-cr | --no-c) ;; 7871.1Stv -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 7881.1Stv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 7891.1Stv *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 7901.1Stv ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 7911.1Stv ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 7921.1Stv ac_sep=" " ;; 7931.1Stv *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 7941.1Stv ac_sep=" " ;; 7951.1Stv esac 7961.1Stv # Get rid of the leading space. 7971.1Stvdone 7981.1Stv 7991.1Stv# When interrupted or exit'd, cleanup temporary files, and complete 8001.1Stv# config.log. We remove comments because anyway the quotes in there 8011.1Stv# would cause problems or look ugly. 8021.1Stvtrap 'exit_status=$? 8031.1Stv # Save into config.log some information that might help in debugging. 8041.1Stv echo >&5 8051.1Stv echo "## ----------------- ##" >&5 8061.1Stv echo "## Cache variables. ##" >&5 8071.1Stv echo "## ----------------- ##" >&5 8081.1Stv echo >&5 8091.1Stv # The following way of writing the cache mishandles newlines in values, 8101.1Stv{ 8111.1Stv (set) 2>&1 | 8121.1Stv case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 8131.1Stv *ac_space=\ *) 8141.1Stv sed -n \ 8151.1Stv "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 8161.1Stv s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 8171.1Stv ;; 8181.1Stv *) 8191.1Stv sed -n \ 8201.1Stv "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8211.1Stv ;; 8221.1Stv esac; 8231.1Stv} >&5 8241.1Stv sed "/^$/d" confdefs.h >conftest.log 8251.1Stv if test -s conftest.log; then 8261.1Stv echo >&5 8271.1Stv echo "## ------------ ##" >&5 8281.1Stv echo "## confdefs.h. ##" >&5 8291.1Stv echo "## ------------ ##" >&5 8301.1Stv echo >&5 8311.1Stv cat conftest.log >&5 8321.1Stv fi 8331.1Stv (echo; echo) >&5 8341.1Stv test "$ac_signal" != 0 && 8351.1Stv echo "$as_me: caught signal $ac_signal" >&5 8361.1Stv echo "$as_me: exit $exit_status" >&5 8371.1Stv rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 8381.1Stv exit $exit_status 8391.1Stv ' 0 8401.1Stvfor ac_signal in 1 2 13 15; do 8411.1Stv trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 8421.1Stvdone 8431.1Stvac_signal=0 8441.1Stv 8451.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed. 8461.1Stvrm -rf conftest* confdefs.h 8471.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline. 8481.1Stvecho >confdefs.h 8491.1Stv 8501.1Stv# Let the site file select an alternate cache file if it wants to. 8511.1Stv# Prefer explicitly selected file to automatically selected ones. 8521.1Stvif test -z "$CONFIG_SITE"; then 8531.1Stv if test "x$prefix" != xNONE; then 8541.1Stv CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 8551.1Stv else 8561.1Stv CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 8571.1Stv fi 8581.1Stvfi 8591.1Stvfor ac_site_file in $CONFIG_SITE; do 8601.1Stv if test -r "$ac_site_file"; then 8611.1Stv { echo "$as_me:861: loading site script $ac_site_file" >&5 8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;} 8631.1Stv cat "$ac_site_file" >&5 8641.1Stv . "$ac_site_file" 8651.1Stv fi 8661.1Stvdone 8671.1Stv 8681.1Stvif test -r "$cache_file"; then 8691.1Stv # Some versions of bash will fail to source /dev/null (special 8701.1Stv # files actually), so we avoid doing that. 8711.1Stv if test -f "$cache_file"; then 8721.1Stv { echo "$as_me:872: loading cache $cache_file" >&5 8731.1Stvecho "$as_me: loading cache $cache_file" >&6;} 8741.1Stv case $cache_file in 8751.1Stv [\\/]* | ?:[\\/]* ) . $cache_file;; 8761.1Stv *) . ./$cache_file;; 8771.1Stv esac 8781.1Stv fi 8791.1Stvelse 8801.1Stv { echo "$as_me:880: creating cache $cache_file" >&5 8811.1Stvecho "$as_me: creating cache $cache_file" >&6;} 8821.1Stv >$cache_file 8831.1Stvfi 8841.1Stv 8851.1Stv# Check that the precious variables saved in the cache have kept the same 8861.1Stv# value. 8871.1Stvac_cache_corrupted=false 8881.1Stvfor ac_var in `(set) 2>&1 | 8891.1Stv sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 8901.1Stv eval ac_old_set=\$ac_cv_env_${ac_var}_set 8911.1Stv eval ac_new_set=\$ac_env_${ac_var}_set 8921.1Stv eval ac_old_val="\$ac_cv_env_${ac_var}_value" 8931.1Stv eval ac_new_val="\$ac_env_${ac_var}_value" 8941.1Stv case $ac_old_set,$ac_new_set in 8951.1Stv set,) 8961.1Stv { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 8971.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 8981.1Stv ac_cache_corrupted=: ;; 8991.1Stv ,set) 9001.1Stv { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5 9011.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 9021.1Stv ac_cache_corrupted=: ;; 9031.1Stv ,);; 9041.1Stv *) 9051.1Stv if test "x$ac_old_val" != "x$ac_new_val"; then 9061.1Stv { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5 9071.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 9081.1Stv { echo "$as_me:908: former value: $ac_old_val" >&5 9091.1Stvecho "$as_me: former value: $ac_old_val" >&2;} 9101.1Stv { echo "$as_me:910: current value: $ac_new_val" >&5 9111.1Stvecho "$as_me: current value: $ac_new_val" >&2;} 9121.1Stv ac_cache_corrupted=: 9131.1Stv fi;; 9141.1Stv esac 9151.1Stv # Pass precious variables to config.status. It doesn't matter if 9161.1Stv # we pass some twice (in addition to the command line arguments). 9171.1Stv if test "$ac_new_set" = set; then 9181.1Stv case $ac_new_val in 9191.1Stv *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 9201.1Stv ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 9211.1Stv ac_configure_args="$ac_configure_args '$ac_arg'" 9221.1Stv ;; 9231.1Stv *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 9241.1Stv ;; 9251.1Stv esac 9261.1Stv fi 9271.1Stvdone 9281.1Stvif $ac_cache_corrupted; then 9291.1Stv { echo "$as_me:929: error: changes in the environment can compromise the build" >&5 9301.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;} 9311.1Stv { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 9321.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 9331.1Stv { (exit 1); exit 1; }; } 9341.1Stvfi 9351.1Stv 9361.1Stvac_ext=c 9371.1Stvac_cpp='$CPP $CPPFLAGS' 9381.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9391.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9401.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 9411.1Stv 9421.1Stvcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 9431.1Stv *c*,-n*) ECHO_N= ECHO_C=' 9441.1Stv' ECHO_T=' ' ;; 9451.1Stv *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 9461.1Stv *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 9471.1Stvesac 9481.1Stvecho "#! $SHELL" >conftest.sh 9491.1Stvecho "exit 0" >>conftest.sh 9501.1Stvchmod +x conftest.sh 9511.1Stvif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5 9521.1Stv (PATH=".;."; conftest.sh) 2>&5 9531.1Stv ac_status=$? 9541.1Stv echo "$as_me:954: \$? = $ac_status" >&5 9551.1Stv (exit $ac_status); }; then 9561.1Stv ac_path_separator=';' 9571.1Stvelse 9581.1Stv ac_path_separator=: 9591.1Stvfi 9601.1StvPATH_SEPARATOR="$ac_path_separator" 9611.1Stvrm -f conftest.sh 9621.1Stv 9631.1Stvac_config_headers="$ac_config_headers config.h" 9641.1Stv 9651.1Stvac_config_files="$ac_config_files defs.mk" 9661.1Stv 9671.20Sbjh21# Extract the first word of "sh", so it can be a program name with args. 9681.20Sbjh21set dummy sh; ac_word=$2 9691.20Sbjh21echo "$as_me:969: checking for $ac_word" >&5 9701.20Sbjh21echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9711.20Sbjh21if test "${ac_cv_path_BSHELL+set}" = set; then 9721.20Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 9731.20Sbjh21else 9741.20Sbjh21 case $BSHELL in 9751.20Sbjh21 [\\/]* | ?:[\\/]*) 9761.20Sbjh21 ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path. 9771.20Sbjh21 ;; 9781.20Sbjh21 *) 9791.20Sbjh21 ac_save_IFS=$IFS; IFS=$ac_path_separator 9801.20Sbjh21ac_dummy="$PATH" 9811.20Sbjh21for ac_dir in $ac_dummy; do 9821.20Sbjh21 IFS=$ac_save_IFS 9831.20Sbjh21 test -z "$ac_dir" && ac_dir=. 9841.20Sbjh21 if $as_executable_p "$ac_dir/$ac_word"; then 9851.20Sbjh21 ac_cv_path_BSHELL="$ac_dir/$ac_word" 9861.20Sbjh21 echo "$as_me:986: found $ac_dir/$ac_word" >&5 9871.20Sbjh21 break 9881.20Sbjh21fi 9891.20Sbjh21done 9901.20Sbjh21 9911.20Sbjh21 ;; 9921.20Sbjh21esac 9931.20Sbjh21fi 9941.20Sbjh21BSHELL=$ac_cv_path_BSHELL 9951.20Sbjh21 9961.20Sbjh21if test -n "$BSHELL"; then 9971.20Sbjh21 echo "$as_me:997: result: $BSHELL" >&5 9981.20Sbjh21echo "${ECHO_T}$BSHELL" >&6 9991.20Sbjh21else 10001.20Sbjh21 echo "$as_me:1000: result: no" >&5 10011.20Sbjh21echo "${ECHO_T}no" >&6 10021.20Sbjh21fi 10031.20Sbjh21 10041.20Sbjh21if test x"$BSHELL" = x; then 10051.20Sbjh21 { { echo "$as_me:1005: error: sh must be somewhere on \$PATH" >&5 10061.20Sbjh21echo "$as_me: error: sh must be somewhere on \$PATH" >&2;} 10071.20Sbjh21 { (exit 1); exit 1; }; } 10081.20Sbjh21fi 10091.20Sbjh21cat >>confdefs.h <<EOF 10101.20Sbjh21#define PATH_BSHELL "$BSHELL" 10111.20Sbjh21EOF 10121.20Sbjh21 10131.1Stvac_ext=c 10141.1Stvac_cpp='$CPP $CPPFLAGS' 10151.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10161.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10171.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 10181.1Stvif test -n "$ac_tool_prefix"; then 10191.1Stv # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 10201.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2 10211.20Sbjh21echo "$as_me:1021: checking for $ac_word" >&5 10221.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10231.1Stvif test "${ac_cv_prog_CC+set}" = set; then 10241.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 10251.1Stvelse 10261.1Stv if test -n "$CC"; then 10271.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 10281.1Stvelse 10291.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 10301.1Stvac_dummy="$PATH" 10311.1Stvfor ac_dir in $ac_dummy; do 10321.1Stv IFS=$ac_save_IFS 10331.1Stv test -z "$ac_dir" && ac_dir=. 10341.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 10351.1Stvac_cv_prog_CC="${ac_tool_prefix}gcc" 10361.20Sbjh21echo "$as_me:1036: found $ac_dir/$ac_word" >&5 10371.1Stvbreak 10381.1Stvdone 10391.1Stv 10401.1Stvfi 10411.1Stvfi 10421.1StvCC=$ac_cv_prog_CC 10431.1Stvif test -n "$CC"; then 10441.20Sbjh21 echo "$as_me:1044: result: $CC" >&5 10451.1Stvecho "${ECHO_T}$CC" >&6 10461.1Stvelse 10471.20Sbjh21 echo "$as_me:1047: result: no" >&5 10481.1Stvecho "${ECHO_T}no" >&6 10491.1Stvfi 10501.1Stv 10511.1Stvfi 10521.1Stvif test -z "$ac_cv_prog_CC"; then 10531.1Stv ac_ct_CC=$CC 10541.1Stv # Extract the first word of "gcc", so it can be a program name with args. 10551.1Stvset dummy gcc; ac_word=$2 10561.20Sbjh21echo "$as_me:1056: checking for $ac_word" >&5 10571.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10581.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 10591.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 10601.1Stvelse 10611.1Stv if test -n "$ac_ct_CC"; then 10621.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 10631.1Stvelse 10641.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 10651.1Stvac_dummy="$PATH" 10661.1Stvfor ac_dir in $ac_dummy; do 10671.1Stv IFS=$ac_save_IFS 10681.1Stv test -z "$ac_dir" && ac_dir=. 10691.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 10701.1Stvac_cv_prog_ac_ct_CC="gcc" 10711.20Sbjh21echo "$as_me:1071: found $ac_dir/$ac_word" >&5 10721.1Stvbreak 10731.1Stvdone 10741.1Stv 10751.1Stvfi 10761.1Stvfi 10771.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 10781.1Stvif test -n "$ac_ct_CC"; then 10791.20Sbjh21 echo "$as_me:1079: result: $ac_ct_CC" >&5 10801.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 10811.1Stvelse 10821.20Sbjh21 echo "$as_me:1082: result: no" >&5 10831.1Stvecho "${ECHO_T}no" >&6 10841.1Stvfi 10851.1Stv 10861.1Stv CC=$ac_ct_CC 10871.1Stvelse 10881.1Stv CC="$ac_cv_prog_CC" 10891.1Stvfi 10901.1Stv 10911.1Stvif test -z "$CC"; then 10921.1Stv if test -n "$ac_tool_prefix"; then 10931.1Stv # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 10941.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2 10951.20Sbjh21echo "$as_me:1095: checking for $ac_word" >&5 10961.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10971.1Stvif test "${ac_cv_prog_CC+set}" = set; then 10981.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 10991.1Stvelse 11001.1Stv if test -n "$CC"; then 11011.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 11021.1Stvelse 11031.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 11041.1Stvac_dummy="$PATH" 11051.1Stvfor ac_dir in $ac_dummy; do 11061.1Stv IFS=$ac_save_IFS 11071.1Stv test -z "$ac_dir" && ac_dir=. 11081.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 11091.1Stvac_cv_prog_CC="${ac_tool_prefix}cc" 11101.20Sbjh21echo "$as_me:1110: found $ac_dir/$ac_word" >&5 11111.1Stvbreak 11121.1Stvdone 11131.1Stv 11141.1Stvfi 11151.1Stvfi 11161.1StvCC=$ac_cv_prog_CC 11171.1Stvif test -n "$CC"; then 11181.20Sbjh21 echo "$as_me:1118: result: $CC" >&5 11191.1Stvecho "${ECHO_T}$CC" >&6 11201.1Stvelse 11211.20Sbjh21 echo "$as_me:1121: result: no" >&5 11221.1Stvecho "${ECHO_T}no" >&6 11231.1Stvfi 11241.1Stv 11251.1Stvfi 11261.1Stvif test -z "$ac_cv_prog_CC"; then 11271.1Stv ac_ct_CC=$CC 11281.1Stv # Extract the first word of "cc", so it can be a program name with args. 11291.1Stvset dummy cc; ac_word=$2 11301.20Sbjh21echo "$as_me:1130: checking for $ac_word" >&5 11311.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 11321.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 11331.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 11341.1Stvelse 11351.1Stv if test -n "$ac_ct_CC"; then 11361.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11371.1Stvelse 11381.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 11391.1Stvac_dummy="$PATH" 11401.1Stvfor ac_dir in $ac_dummy; do 11411.1Stv IFS=$ac_save_IFS 11421.1Stv test -z "$ac_dir" && ac_dir=. 11431.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 11441.1Stvac_cv_prog_ac_ct_CC="cc" 11451.20Sbjh21echo "$as_me:1145: found $ac_dir/$ac_word" >&5 11461.1Stvbreak 11471.1Stvdone 11481.1Stv 11491.1Stvfi 11501.1Stvfi 11511.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 11521.1Stvif test -n "$ac_ct_CC"; then 11531.20Sbjh21 echo "$as_me:1153: result: $ac_ct_CC" >&5 11541.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 11551.1Stvelse 11561.20Sbjh21 echo "$as_me:1156: result: no" >&5 11571.1Stvecho "${ECHO_T}no" >&6 11581.1Stvfi 11591.1Stv 11601.1Stv CC=$ac_ct_CC 11611.1Stvelse 11621.1Stv CC="$ac_cv_prog_CC" 11631.1Stvfi 11641.1Stv 11651.1Stvfi 11661.1Stvif test -z "$CC"; then 11671.1Stv # Extract the first word of "cc", so it can be a program name with args. 11681.1Stvset dummy cc; ac_word=$2 11691.20Sbjh21echo "$as_me:1169: checking for $ac_word" >&5 11701.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 11711.1Stvif test "${ac_cv_prog_CC+set}" = set; then 11721.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 11731.1Stvelse 11741.1Stv if test -n "$CC"; then 11751.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 11761.1Stvelse 11771.1Stv ac_prog_rejected=no 11781.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 11791.1Stvac_dummy="$PATH" 11801.1Stvfor ac_dir in $ac_dummy; do 11811.1Stv IFS=$ac_save_IFS 11821.1Stv test -z "$ac_dir" && ac_dir=. 11831.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 11841.1Stvif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 11851.1Stv ac_prog_rejected=yes 11861.1Stv continue 11871.1Stvfi 11881.1Stvac_cv_prog_CC="cc" 11891.20Sbjh21echo "$as_me:1189: found $ac_dir/$ac_word" >&5 11901.1Stvbreak 11911.1Stvdone 11921.1Stv 11931.1Stvif test $ac_prog_rejected = yes; then 11941.1Stv # We found a bogon in the path, so make sure we never use it. 11951.1Stv set dummy $ac_cv_prog_CC 11961.1Stv shift 11971.1Stv if test $# != 0; then 11981.1Stv # We chose a different compiler from the bogus one. 11991.1Stv # However, it has the same basename, so the bogon will be chosen 12001.1Stv # first if we set CC to just the basename; use the full file name. 12011.1Stv shift 12021.1Stv set dummy "$ac_dir/$ac_word" ${1+"$@"} 12031.1Stv shift 12041.1Stv ac_cv_prog_CC="$@" 12051.1Stv fi 12061.1Stvfi 12071.1Stvfi 12081.1Stvfi 12091.1StvCC=$ac_cv_prog_CC 12101.1Stvif test -n "$CC"; then 12111.20Sbjh21 echo "$as_me:1211: result: $CC" >&5 12121.1Stvecho "${ECHO_T}$CC" >&6 12131.1Stvelse 12141.20Sbjh21 echo "$as_me:1214: result: no" >&5 12151.1Stvecho "${ECHO_T}no" >&6 12161.1Stvfi 12171.1Stv 12181.1Stvfi 12191.1Stvif test -z "$CC"; then 12201.1Stv if test -n "$ac_tool_prefix"; then 12211.1Stv for ac_prog in cl 12221.1Stv do 12231.1Stv # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12241.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2 12251.20Sbjh21echo "$as_me:1225: checking for $ac_word" >&5 12261.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12271.1Stvif test "${ac_cv_prog_CC+set}" = set; then 12281.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 12291.1Stvelse 12301.1Stv if test -n "$CC"; then 12311.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 12321.1Stvelse 12331.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 12341.1Stvac_dummy="$PATH" 12351.1Stvfor ac_dir in $ac_dummy; do 12361.1Stv IFS=$ac_save_IFS 12371.1Stv test -z "$ac_dir" && ac_dir=. 12381.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 12391.1Stvac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12401.20Sbjh21echo "$as_me:1240: found $ac_dir/$ac_word" >&5 12411.1Stvbreak 12421.1Stvdone 12431.1Stv 12441.1Stvfi 12451.1Stvfi 12461.1StvCC=$ac_cv_prog_CC 12471.1Stvif test -n "$CC"; then 12481.20Sbjh21 echo "$as_me:1248: result: $CC" >&5 12491.1Stvecho "${ECHO_T}$CC" >&6 12501.1Stvelse 12511.20Sbjh21 echo "$as_me:1251: result: no" >&5 12521.1Stvecho "${ECHO_T}no" >&6 12531.1Stvfi 12541.1Stv 12551.1Stv test -n "$CC" && break 12561.1Stv done 12571.1Stvfi 12581.1Stvif test -z "$CC"; then 12591.1Stv ac_ct_CC=$CC 12601.1Stv for ac_prog in cl 12611.1Stvdo 12621.1Stv # Extract the first word of "$ac_prog", so it can be a program name with args. 12631.1Stvset dummy $ac_prog; ac_word=$2 12641.20Sbjh21echo "$as_me:1264: checking for $ac_word" >&5 12651.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12661.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 12671.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 12681.1Stvelse 12691.1Stv if test -n "$ac_ct_CC"; then 12701.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12711.1Stvelse 12721.1Stv ac_save_IFS=$IFS; IFS=$ac_path_separator 12731.1Stvac_dummy="$PATH" 12741.1Stvfor ac_dir in $ac_dummy; do 12751.1Stv IFS=$ac_save_IFS 12761.1Stv test -z "$ac_dir" && ac_dir=. 12771.1Stv $as_executable_p "$ac_dir/$ac_word" || continue 12781.1Stvac_cv_prog_ac_ct_CC="$ac_prog" 12791.20Sbjh21echo "$as_me:1279: found $ac_dir/$ac_word" >&5 12801.1Stvbreak 12811.1Stvdone 12821.1Stv 12831.1Stvfi 12841.1Stvfi 12851.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 12861.1Stvif test -n "$ac_ct_CC"; then 12871.20Sbjh21 echo "$as_me:1287: result: $ac_ct_CC" >&5 12881.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 12891.1Stvelse 12901.20Sbjh21 echo "$as_me:1290: result: no" >&5 12911.1Stvecho "${ECHO_T}no" >&6 12921.1Stvfi 12931.1Stv 12941.1Stv test -n "$ac_ct_CC" && break 12951.1Stvdone 12961.1Stv 12971.1Stv CC=$ac_ct_CC 12981.1Stvfi 12991.1Stv 13001.1Stvfi 13011.1Stv 13021.20Sbjh21test -z "$CC" && { { echo "$as_me:1302: error: no acceptable cc found in \$PATH" >&5 13031.1Stvecho "$as_me: error: no acceptable cc found in \$PATH" >&2;} 13041.1Stv { (exit 1); exit 1; }; } 13051.1Stv 13061.1Stv# Provide some information about the compiler. 13071.20Sbjh21echo "$as_me:1307:" \ 13081.1Stv "checking for C compiler version" >&5 13091.1Stvac_compiler=`set X $ac_compile; echo $2` 13101.20Sbjh21{ (eval echo "$as_me:1310: \"$ac_compiler --version </dev/null >&5\"") >&5 13111.1Stv (eval $ac_compiler --version </dev/null >&5) 2>&5 13121.1Stv ac_status=$? 13131.20Sbjh21 echo "$as_me:1313: \$? = $ac_status" >&5 13141.1Stv (exit $ac_status); } 13151.20Sbjh21{ (eval echo "$as_me:1315: \"$ac_compiler -v </dev/null >&5\"") >&5 13161.1Stv (eval $ac_compiler -v </dev/null >&5) 2>&5 13171.1Stv ac_status=$? 13181.20Sbjh21 echo "$as_me:1318: \$? = $ac_status" >&5 13191.1Stv (exit $ac_status); } 13201.20Sbjh21{ (eval echo "$as_me:1320: \"$ac_compiler -V </dev/null >&5\"") >&5 13211.1Stv (eval $ac_compiler -V </dev/null >&5) 2>&5 13221.1Stv ac_status=$? 13231.20Sbjh21 echo "$as_me:1323: \$? = $ac_status" >&5 13241.1Stv (exit $ac_status); } 13251.1Stv 13261.1Stvcat >conftest.$ac_ext <<_ACEOF 13271.20Sbjh21#line 1327 "configure" 13281.1Stv#include "confdefs.h" 13291.1Stv 13301.1Stvint 13311.1Stvmain () 13321.1Stv{ 13331.1Stv 13341.1Stv ; 13351.1Stv return 0; 13361.1Stv} 13371.1Stv_ACEOF 13381.1Stvac_clean_files_save=$ac_clean_files 13391.1Stvac_clean_files="$ac_clean_files a.out a.exe" 13401.1Stv# Try to create an executable without -o first, disregard a.out. 13411.1Stv# It will help us diagnose broken compilers, and finding out an intuition 13421.1Stv# of exeext. 13431.20Sbjh21echo "$as_me:1343: checking for C compiler default output" >&5 13441.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 13451.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 13461.20Sbjh21if { (eval echo "$as_me:1346: \"$ac_link_default\"") >&5 13471.1Stv (eval $ac_link_default) 2>&5 13481.1Stv ac_status=$? 13491.20Sbjh21 echo "$as_me:1349: \$? = $ac_status" >&5 13501.1Stv (exit $ac_status); }; then 13511.1Stv # Find the output, starting from the most likely. This scheme is 13521.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last 13531.1Stv# resort. 13541.1Stvfor ac_file in `ls a.exe conftest.exe 2>/dev/null; 13551.1Stv ls a.out conftest 2>/dev/null; 13561.1Stv ls a.* conftest.* 2>/dev/null`; do 13571.1Stv case $ac_file in 13581.1Stv *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 13591.1Stv a.out ) # We found the default executable, but exeext='' is most 13601.1Stv # certainly right. 13611.1Stv break;; 13621.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 13631.1Stv # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 13641.1Stv export ac_cv_exeext 13651.1Stv break;; 13661.1Stv * ) break;; 13671.1Stv esac 13681.1Stvdone 13691.1Stvelse 13701.1Stv echo "$as_me: failed program was:" >&5 13711.1Stvcat conftest.$ac_ext >&5 13721.20Sbjh21{ { echo "$as_me:1372: error: C compiler cannot create executables" >&5 13731.1Stvecho "$as_me: error: C compiler cannot create executables" >&2;} 13741.1Stv { (exit 77); exit 77; }; } 13751.1Stvfi 13761.1Stv 13771.1Stvac_exeext=$ac_cv_exeext 13781.20Sbjh21echo "$as_me:1378: result: $ac_file" >&5 13791.1Stvecho "${ECHO_T}$ac_file" >&6 13801.1Stv 13811.1Stv# Check the compiler produces executables we can run. If not, either 13821.1Stv# the compiler is broken, or we cross compile. 13831.20Sbjh21echo "$as_me:1383: checking whether the C compiler works" >&5 13841.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 13851.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 13861.1Stv# If not cross compiling, check that we can run a simple program. 13871.1Stvif test "$cross_compiling" != yes; then 13881.1Stv if { ac_try='./$ac_file' 13891.20Sbjh21 { (eval echo "$as_me:1389: \"$ac_try\"") >&5 13901.1Stv (eval $ac_try) 2>&5 13911.1Stv ac_status=$? 13921.20Sbjh21 echo "$as_me:1392: \$? = $ac_status" >&5 13931.1Stv (exit $ac_status); }; }; then 13941.1Stv cross_compiling=no 13951.1Stv else 13961.1Stv if test "$cross_compiling" = maybe; then 13971.1Stv cross_compiling=yes 13981.1Stv else 13991.20Sbjh21 { { echo "$as_me:1399: error: cannot run C compiled programs. 14001.1StvIf you meant to cross compile, use \`--host'." >&5 14011.1Stvecho "$as_me: error: cannot run C compiled programs. 14021.1StvIf you meant to cross compile, use \`--host'." >&2;} 14031.1Stv { (exit 1); exit 1; }; } 14041.1Stv fi 14051.1Stv fi 14061.1Stvfi 14071.20Sbjh21echo "$as_me:1407: result: yes" >&5 14081.1Stvecho "${ECHO_T}yes" >&6 14091.1Stv 14101.1Stvrm -f a.out a.exe conftest$ac_cv_exeext 14111.1Stvac_clean_files=$ac_clean_files_save 14121.1Stv# Check the compiler produces executables we can run. If not, either 14131.1Stv# the compiler is broken, or we cross compile. 14141.20Sbjh21echo "$as_me:1414: checking whether we are cross compiling" >&5 14151.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 14161.20Sbjh21echo "$as_me:1416: result: $cross_compiling" >&5 14171.1Stvecho "${ECHO_T}$cross_compiling" >&6 14181.1Stv 14191.20Sbjh21echo "$as_me:1419: checking for executable suffix" >&5 14201.1Stvecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6 14211.20Sbjh21if { (eval echo "$as_me:1421: \"$ac_link\"") >&5 14221.1Stv (eval $ac_link) 2>&5 14231.1Stv ac_status=$? 14241.20Sbjh21 echo "$as_me:1424: \$? = $ac_status" >&5 14251.1Stv (exit $ac_status); }; then 14261.1Stv # If both `conftest.exe' and `conftest' are `present' (well, observable) 14271.1Stv# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 14281.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with 14291.1Stv# `rm'. 14301.1Stvfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 14311.1Stv case $ac_file in 14321.1Stv *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 14331.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 14341.1Stv export ac_cv_exeext 14351.1Stv break;; 14361.1Stv * ) break;; 14371.1Stv esac 14381.1Stvdone 14391.1Stvelse 14401.20Sbjh21 { { echo "$as_me:1440: error: cannot compute EXEEXT: cannot compile and link" >&5 14411.1Stvecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 14421.1Stv { (exit 1); exit 1; }; } 14431.1Stvfi 14441.1Stv 14451.1Stvrm -f conftest$ac_cv_exeext 14461.20Sbjh21echo "$as_me:1446: result: $ac_cv_exeext" >&5 14471.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6 14481.1Stv 14491.1Stvrm -f conftest.$ac_ext 14501.1StvEXEEXT=$ac_cv_exeext 14511.1Stvac_exeext=$EXEEXT 14521.20Sbjh21echo "$as_me:1452: checking for object suffix" >&5 14531.1Stvecho $ECHO_N "checking for object suffix... $ECHO_C" >&6 14541.1Stvif test "${ac_cv_objext+set}" = set; then 14551.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 14561.1Stvelse 14571.1Stv cat >conftest.$ac_ext <<_ACEOF 14581.20Sbjh21#line 1458 "configure" 14591.1Stv#include "confdefs.h" 14601.1Stv 14611.1Stvint 14621.1Stvmain () 14631.1Stv{ 14641.1Stv 14651.1Stv ; 14661.1Stv return 0; 14671.1Stv} 14681.1Stv_ACEOF 14691.1Stvrm -f conftest.o conftest.obj 14701.20Sbjh21if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5 14711.1Stv (eval $ac_compile) 2>&5 14721.1Stv ac_status=$? 14731.20Sbjh21 echo "$as_me:1473: \$? = $ac_status" >&5 14741.1Stv (exit $ac_status); }; then 14751.1Stv for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 14761.1Stv case $ac_file in 14771.1Stv *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 14781.1Stv *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 14791.1Stv break;; 14801.1Stv esac 14811.1Stvdone 14821.1Stvelse 14831.1Stv echo "$as_me: failed program was:" >&5 14841.1Stvcat conftest.$ac_ext >&5 14851.20Sbjh21{ { echo "$as_me:1485: error: cannot compute OBJEXT: cannot compile" >&5 14861.1Stvecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 14871.1Stv { (exit 1); exit 1; }; } 14881.1Stvfi 14891.1Stv 14901.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext 14911.1Stvfi 14921.20Sbjh21echo "$as_me:1492: result: $ac_cv_objext" >&5 14931.1Stvecho "${ECHO_T}$ac_cv_objext" >&6 14941.1StvOBJEXT=$ac_cv_objext 14951.1Stvac_objext=$OBJEXT 14961.20Sbjh21echo "$as_me:1496: checking whether we are using the GNU C compiler" >&5 14971.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 14981.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then 14991.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 15001.1Stvelse 15011.1Stv cat >conftest.$ac_ext <<_ACEOF 15021.20Sbjh21#line 1502 "configure" 15031.1Stv#include "confdefs.h" 15041.1Stv 15051.1Stvint 15061.1Stvmain () 15071.1Stv{ 15081.1Stv#ifndef __GNUC__ 15091.1Stv choke me 15101.1Stv#endif 15111.1Stv 15121.1Stv ; 15131.1Stv return 0; 15141.1Stv} 15151.1Stv_ACEOF 15161.1Stvrm -f conftest.$ac_objext 15171.20Sbjh21if { (eval echo "$as_me:1517: \"$ac_compile\"") >&5 15181.1Stv (eval $ac_compile) 2>&5 15191.1Stv ac_status=$? 15201.20Sbjh21 echo "$as_me:1520: \$? = $ac_status" >&5 15211.1Stv (exit $ac_status); } && 15221.1Stv { ac_try='test -s conftest.$ac_objext' 15231.20Sbjh21 { (eval echo "$as_me:1523: \"$ac_try\"") >&5 15241.1Stv (eval $ac_try) 2>&5 15251.1Stv ac_status=$? 15261.20Sbjh21 echo "$as_me:1526: \$? = $ac_status" >&5 15271.1Stv (exit $ac_status); }; }; then 15281.1Stv ac_compiler_gnu=yes 15291.1Stvelse 15301.1Stv echo "$as_me: failed program was:" >&5 15311.1Stvcat conftest.$ac_ext >&5 15321.1Stvac_compiler_gnu=no 15331.1Stvfi 15341.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 15351.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu 15361.1Stv 15371.1Stvfi 15381.20Sbjh21echo "$as_me:1538: result: $ac_cv_c_compiler_gnu" >&5 15391.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 15401.1StvGCC=`test $ac_compiler_gnu = yes && echo yes` 15411.1Stvac_test_CFLAGS=${CFLAGS+set} 15421.1Stvac_save_CFLAGS=$CFLAGS 15431.1StvCFLAGS="-g" 15441.20Sbjh21echo "$as_me:1544: checking whether $CC accepts -g" >&5 15451.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 15461.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then 15471.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 15481.1Stvelse 15491.1Stv cat >conftest.$ac_ext <<_ACEOF 15501.20Sbjh21#line 1550 "configure" 15511.1Stv#include "confdefs.h" 15521.1Stv 15531.1Stvint 15541.1Stvmain () 15551.1Stv{ 15561.1Stv 15571.1Stv ; 15581.1Stv return 0; 15591.1Stv} 15601.1Stv_ACEOF 15611.1Stvrm -f conftest.$ac_objext 15621.20Sbjh21if { (eval echo "$as_me:1562: \"$ac_compile\"") >&5 15631.1Stv (eval $ac_compile) 2>&5 15641.1Stv ac_status=$? 15651.20Sbjh21 echo "$as_me:1565: \$? = $ac_status" >&5 15661.1Stv (exit $ac_status); } && 15671.1Stv { ac_try='test -s conftest.$ac_objext' 15681.20Sbjh21 { (eval echo "$as_me:1568: \"$ac_try\"") >&5 15691.1Stv (eval $ac_try) 2>&5 15701.1Stv ac_status=$? 15711.20Sbjh21 echo "$as_me:1571: \$? = $ac_status" >&5 15721.1Stv (exit $ac_status); }; }; then 15731.1Stv ac_cv_prog_cc_g=yes 15741.1Stvelse 15751.1Stv echo "$as_me: failed program was:" >&5 15761.1Stvcat conftest.$ac_ext >&5 15771.1Stvac_cv_prog_cc_g=no 15781.1Stvfi 15791.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 15801.1Stvfi 15811.20Sbjh21echo "$as_me:1581: result: $ac_cv_prog_cc_g" >&5 15821.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 15831.1Stvif test "$ac_test_CFLAGS" = set; then 15841.1Stv CFLAGS=$ac_save_CFLAGS 15851.1Stvelif test $ac_cv_prog_cc_g = yes; then 15861.1Stv if test "$GCC" = yes; then 15871.1Stv CFLAGS="-g -O2" 15881.1Stv else 15891.1Stv CFLAGS="-g" 15901.1Stv fi 15911.1Stvelse 15921.1Stv if test "$GCC" = yes; then 15931.1Stv CFLAGS="-O2" 15941.1Stv else 15951.1Stv CFLAGS= 15961.1Stv fi 15971.1Stvfi 15981.1Stv# Some people use a C++ compiler to compile C. Since we use `exit', 15991.1Stv# in C++ we need to declare it. In case someone uses the same compiler 16001.1Stv# for both compiling C and C++ we need to have the C++ compiler decide 16011.1Stv# the declaration of exit, since it's the most demanding environment. 16021.1Stvcat >conftest.$ac_ext <<_ACEOF 16031.1Stv#ifndef __cplusplus 16041.1Stv choke me 16051.1Stv#endif 16061.1Stv_ACEOF 16071.1Stvrm -f conftest.$ac_objext 16081.20Sbjh21if { (eval echo "$as_me:1608: \"$ac_compile\"") >&5 16091.1Stv (eval $ac_compile) 2>&5 16101.1Stv ac_status=$? 16111.20Sbjh21 echo "$as_me:1611: \$? = $ac_status" >&5 16121.1Stv (exit $ac_status); } && 16131.1Stv { ac_try='test -s conftest.$ac_objext' 16141.20Sbjh21 { (eval echo "$as_me:1614: \"$ac_try\"") >&5 16151.1Stv (eval $ac_try) 2>&5 16161.1Stv ac_status=$? 16171.20Sbjh21 echo "$as_me:1617: \$? = $ac_status" >&5 16181.1Stv (exit $ac_status); }; }; then 16191.1Stv for ac_declaration in \ 16201.1Stv ''\ 16211.1Stv '#include <stdlib.h>' \ 16221.1Stv 'extern "C" void std::exit (int) throw (); using std::exit;' \ 16231.1Stv 'extern "C" void std::exit (int); using std::exit;' \ 16241.1Stv 'extern "C" void exit (int) throw ();' \ 16251.1Stv 'extern "C" void exit (int);' \ 16261.1Stv 'void exit (int);' 16271.1Stvdo 16281.1Stv cat >conftest.$ac_ext <<_ACEOF 16291.20Sbjh21#line 1629 "configure" 16301.1Stv#include "confdefs.h" 16311.1Stv#include <stdlib.h> 16321.1Stv$ac_declaration 16331.1Stvint 16341.1Stvmain () 16351.1Stv{ 16361.1Stvexit (42); 16371.1Stv ; 16381.1Stv return 0; 16391.1Stv} 16401.1Stv_ACEOF 16411.1Stvrm -f conftest.$ac_objext 16421.20Sbjh21if { (eval echo "$as_me:1642: \"$ac_compile\"") >&5 16431.1Stv (eval $ac_compile) 2>&5 16441.1Stv ac_status=$? 16451.20Sbjh21 echo "$as_me:1645: \$? = $ac_status" >&5 16461.1Stv (exit $ac_status); } && 16471.1Stv { ac_try='test -s conftest.$ac_objext' 16481.20Sbjh21 { (eval echo "$as_me:1648: \"$ac_try\"") >&5 16491.1Stv (eval $ac_try) 2>&5 16501.1Stv ac_status=$? 16511.20Sbjh21 echo "$as_me:1651: \$? = $ac_status" >&5 16521.1Stv (exit $ac_status); }; }; then 16531.1Stv : 16541.1Stvelse 16551.1Stv echo "$as_me: failed program was:" >&5 16561.1Stvcat conftest.$ac_ext >&5 16571.1Stvcontinue 16581.1Stvfi 16591.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 16601.1Stv cat >conftest.$ac_ext <<_ACEOF 16611.20Sbjh21#line 1661 "configure" 16621.1Stv#include "confdefs.h" 16631.1Stv$ac_declaration 16641.1Stvint 16651.1Stvmain () 16661.1Stv{ 16671.1Stvexit (42); 16681.1Stv ; 16691.1Stv return 0; 16701.1Stv} 16711.1Stv_ACEOF 16721.1Stvrm -f conftest.$ac_objext 16731.20Sbjh21if { (eval echo "$as_me:1673: \"$ac_compile\"") >&5 16741.1Stv (eval $ac_compile) 2>&5 16751.1Stv ac_status=$? 16761.20Sbjh21 echo "$as_me:1676: \$? = $ac_status" >&5 16771.1Stv (exit $ac_status); } && 16781.1Stv { ac_try='test -s conftest.$ac_objext' 16791.20Sbjh21 { (eval echo "$as_me:1679: \"$ac_try\"") >&5 16801.1Stv (eval $ac_try) 2>&5 16811.1Stv ac_status=$? 16821.20Sbjh21 echo "$as_me:1682: \$? = $ac_status" >&5 16831.1Stv (exit $ac_status); }; }; then 16841.1Stv break 16851.1Stvelse 16861.1Stv echo "$as_me: failed program was:" >&5 16871.1Stvcat conftest.$ac_ext >&5 16881.1Stvfi 16891.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 16901.1Stvdone 16911.1Stvrm -f conftest* 16921.1Stvif test -n "$ac_declaration"; then 16931.1Stv echo '#ifdef __cplusplus' >>confdefs.h 16941.1Stv echo $ac_declaration >>confdefs.h 16951.1Stv echo '#endif' >>confdefs.h 16961.1Stvfi 16971.1Stv 16981.1Stvelse 16991.1Stv echo "$as_me: failed program was:" >&5 17001.1Stvcat conftest.$ac_ext >&5 17011.1Stvfi 17021.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 17031.1Stvac_ext=c 17041.1Stvac_cpp='$CPP $CPPFLAGS' 17051.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17061.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17071.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 17081.1Stv 17091.20Sbjh21echo "$as_me:1709: checking whether byte ordering is bigendian" >&5 17101.4Stvecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 17111.4Stvif test "${ac_cv_c_bigendian+set}" = set; then 17121.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 17131.4Stvelse 17141.4Stv ac_cv_c_bigendian=unknown 17151.4Stv# See if sys/param.h defines the BYTE_ORDER macro. 17161.4Stvcat >conftest.$ac_ext <<_ACEOF 17171.20Sbjh21#line 1717 "configure" 17181.4Stv#include "confdefs.h" 17191.4Stv#include <sys/types.h> 17201.4Stv#include <sys/param.h> 17211.4Stv 17221.4Stvint 17231.4Stvmain () 17241.4Stv{ 17251.4Stv#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 17261.4Stv bogus endian macros 17271.4Stv#endif 17281.4Stv 17291.4Stv ; 17301.4Stv return 0; 17311.4Stv} 17321.4Stv_ACEOF 17331.4Stvrm -f conftest.$ac_objext 17341.20Sbjh21if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5 17351.4Stv (eval $ac_compile) 2>&5 17361.4Stv ac_status=$? 17371.20Sbjh21 echo "$as_me:1737: \$? = $ac_status" >&5 17381.4Stv (exit $ac_status); } && 17391.4Stv { ac_try='test -s conftest.$ac_objext' 17401.20Sbjh21 { (eval echo "$as_me:1740: \"$ac_try\"") >&5 17411.4Stv (eval $ac_try) 2>&5 17421.4Stv ac_status=$? 17431.20Sbjh21 echo "$as_me:1743: \$? = $ac_status" >&5 17441.4Stv (exit $ac_status); }; }; then 17451.4Stv # It does; now see whether it defined to BIG_ENDIAN or not. 17461.4Stvcat >conftest.$ac_ext <<_ACEOF 17471.20Sbjh21#line 1747 "configure" 17481.4Stv#include "confdefs.h" 17491.4Stv#include <sys/types.h> 17501.4Stv#include <sys/param.h> 17511.4Stv 17521.4Stvint 17531.4Stvmain () 17541.4Stv{ 17551.4Stv#if BYTE_ORDER != BIG_ENDIAN 17561.4Stv not big endian 17571.4Stv#endif 17581.4Stv 17591.4Stv ; 17601.4Stv return 0; 17611.4Stv} 17621.4Stv_ACEOF 17631.4Stvrm -f conftest.$ac_objext 17641.20Sbjh21if { (eval echo "$as_me:1764: \"$ac_compile\"") >&5 17651.4Stv (eval $ac_compile) 2>&5 17661.4Stv ac_status=$? 17671.20Sbjh21 echo "$as_me:1767: \$? = $ac_status" >&5 17681.4Stv (exit $ac_status); } && 17691.4Stv { ac_try='test -s conftest.$ac_objext' 17701.20Sbjh21 { (eval echo "$as_me:1770: \"$ac_try\"") >&5 17711.4Stv (eval $ac_try) 2>&5 17721.4Stv ac_status=$? 17731.20Sbjh21 echo "$as_me:1773: \$? = $ac_status" >&5 17741.4Stv (exit $ac_status); }; }; then 17751.4Stv ac_cv_c_bigendian=yes 17761.4Stvelse 17771.4Stv echo "$as_me: failed program was:" >&5 17781.4Stvcat conftest.$ac_ext >&5 17791.4Stvac_cv_c_bigendian=no 17801.4Stvfi 17811.4Stvrm -f conftest.$ac_objext conftest.$ac_ext 17821.4Stvelse 17831.4Stv echo "$as_me: failed program was:" >&5 17841.4Stvcat conftest.$ac_ext >&5 17851.4Stvfi 17861.4Stvrm -f conftest.$ac_objext conftest.$ac_ext 17871.4Stvif test $ac_cv_c_bigendian = unknown; then 17881.4Stvif test "$cross_compiling" = yes; then 17891.20Sbjh21 { { echo "$as_me:1789: error: cannot run test program while cross compiling" >&5 17901.4Stvecho "$as_me: error: cannot run test program while cross compiling" >&2;} 17911.4Stv { (exit 1); exit 1; }; } 17921.4Stvelse 17931.4Stv cat >conftest.$ac_ext <<_ACEOF 17941.20Sbjh21#line 1794 "configure" 17951.4Stv#include "confdefs.h" 17961.4Stvint 17971.4Stvmain () 17981.4Stv{ 17991.4Stv /* Are we little or big endian? From Harbison&Steele. */ 18001.4Stv union 18011.4Stv { 18021.4Stv long l; 18031.4Stv char c[sizeof (long)]; 18041.4Stv } u; 18051.4Stv u.l = 1; 18061.4Stv exit (u.c[sizeof (long) - 1] == 1); 18071.4Stv} 18081.4Stv_ACEOF 18091.4Stvrm -f conftest$ac_exeext 18101.20Sbjh21if { (eval echo "$as_me:1810: \"$ac_link\"") >&5 18111.4Stv (eval $ac_link) 2>&5 18121.4Stv ac_status=$? 18131.20Sbjh21 echo "$as_me:1813: \$? = $ac_status" >&5 18141.4Stv (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 18151.20Sbjh21 { (eval echo "$as_me:1815: \"$ac_try\"") >&5 18161.4Stv (eval $ac_try) 2>&5 18171.4Stv ac_status=$? 18181.20Sbjh21 echo "$as_me:1818: \$? = $ac_status" >&5 18191.4Stv (exit $ac_status); }; }; then 18201.4Stv ac_cv_c_bigendian=no 18211.4Stvelse 18221.4Stv echo "$as_me: program exited with status $ac_status" >&5 18231.4Stvecho "$as_me: failed program was:" >&5 18241.4Stvcat conftest.$ac_ext >&5 18251.4Stvac_cv_c_bigendian=yes 18261.4Stvfi 18271.4Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 18281.4Stvfi 18291.4Stvfi 18301.4Stvfi 18311.20Sbjh21echo "$as_me:1831: result: $ac_cv_c_bigendian" >&5 18321.4Stvecho "${ECHO_T}$ac_cv_c_bigendian" >&6 18331.4Stvif test $ac_cv_c_bigendian = yes; then 18341.4Stv 18351.4Stvcat >>confdefs.h <<\EOF 18361.4Stv#define WORDS_BIGENDIAN 1 18371.4StvEOF 18381.4Stv 18391.4Stvfi 18401.4Stv 18411.1Stvac_ext=c 18421.1Stvac_cpp='$CPP $CPPFLAGS' 18431.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18441.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18451.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 18461.20Sbjh21echo "$as_me:1846: checking how to run the C preprocessor" >&5 18471.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 18481.1Stv# On Suns, sometimes $CPP names a directory. 18491.1Stvif test -n "$CPP" && test -d "$CPP"; then 18501.1Stv CPP= 18511.1Stvfi 18521.1Stvif test -z "$CPP"; then 18531.1Stv if test "${ac_cv_prog_CPP+set}" = set; then 18541.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 18551.1Stvelse 18561.1Stv # Double quotes because CPP needs to be expanded 18571.1Stv for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 18581.1Stv do 18591.1Stv ac_preproc_ok=false 18601.1Stvfor ac_c_preproc_warn_flag in '' yes 18611.1Stvdo 18621.1Stv # Use a header file that comes with gcc, so configuring glibc 18631.1Stv # with a fresh cross-compiler works. 18641.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 18651.1Stv # not just through cpp. "Syntax error" is here to catch this case. 18661.1Stv cat >conftest.$ac_ext <<_ACEOF 18671.20Sbjh21#line 1867 "configure" 18681.1Stv#include "confdefs.h" 18691.1Stv#include <assert.h> 18701.1Stv Syntax error 18711.1Stv_ACEOF 18721.20Sbjh21if { (eval echo "$as_me:1872: \"$ac_cpp conftest.$ac_ext\"") >&5 18731.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 18741.1Stv ac_status=$? 18751.1Stv egrep -v '^ *\+' conftest.er1 >conftest.err 18761.1Stv rm -f conftest.er1 18771.1Stv cat conftest.err >&5 18781.20Sbjh21 echo "$as_me:1878: \$? = $ac_status" >&5 18791.1Stv (exit $ac_status); } >/dev/null; then 18801.1Stv if test -s conftest.err; then 18811.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 18821.1Stv else 18831.1Stv ac_cpp_err= 18841.1Stv fi 18851.1Stvelse 18861.1Stv ac_cpp_err=yes 18871.1Stvfi 18881.1Stvif test -z "$ac_cpp_err"; then 18891.1Stv : 18901.1Stvelse 18911.1Stv echo "$as_me: failed program was:" >&5 18921.1Stv cat conftest.$ac_ext >&5 18931.1Stv # Broken: fails on valid input. 18941.1Stvcontinue 18951.1Stvfi 18961.1Stvrm -f conftest.err conftest.$ac_ext 18971.1Stv 18981.1Stv # OK, works on sane cases. Now check whether non-existent headers 18991.1Stv # can be detected and how. 19001.1Stv cat >conftest.$ac_ext <<_ACEOF 19011.20Sbjh21#line 1901 "configure" 19021.1Stv#include "confdefs.h" 19031.1Stv#include <ac_nonexistent.h> 19041.1Stv_ACEOF 19051.20Sbjh21if { (eval echo "$as_me:1905: \"$ac_cpp conftest.$ac_ext\"") >&5 19061.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19071.1Stv ac_status=$? 19081.1Stv egrep -v '^ *\+' conftest.er1 >conftest.err 19091.1Stv rm -f conftest.er1 19101.1Stv cat conftest.err >&5 19111.20Sbjh21 echo "$as_me:1911: \$? = $ac_status" >&5 19121.1Stv (exit $ac_status); } >/dev/null; then 19131.1Stv if test -s conftest.err; then 19141.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 19151.1Stv else 19161.1Stv ac_cpp_err= 19171.1Stv fi 19181.1Stvelse 19191.1Stv ac_cpp_err=yes 19201.1Stvfi 19211.1Stvif test -z "$ac_cpp_err"; then 19221.1Stv # Broken: success on invalid input. 19231.1Stvcontinue 19241.1Stvelse 19251.1Stv echo "$as_me: failed program was:" >&5 19261.1Stv cat conftest.$ac_ext >&5 19271.1Stv # Passes both tests. 19281.1Stvac_preproc_ok=: 19291.1Stvbreak 19301.1Stvfi 19311.1Stvrm -f conftest.err conftest.$ac_ext 19321.1Stv 19331.1Stvdone 19341.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 19351.1Stvrm -f conftest.err conftest.$ac_ext 19361.1Stvif $ac_preproc_ok; then 19371.1Stv break 19381.1Stvfi 19391.1Stv 19401.1Stv done 19411.1Stv ac_cv_prog_CPP=$CPP 19421.1Stv 19431.1Stvfi 19441.1Stv CPP=$ac_cv_prog_CPP 19451.1Stvelse 19461.1Stv ac_cv_prog_CPP=$CPP 19471.1Stvfi 19481.20Sbjh21echo "$as_me:1948: result: $CPP" >&5 19491.1Stvecho "${ECHO_T}$CPP" >&6 19501.1Stvac_preproc_ok=false 19511.1Stvfor ac_c_preproc_warn_flag in '' yes 19521.1Stvdo 19531.1Stv # Use a header file that comes with gcc, so configuring glibc 19541.1Stv # with a fresh cross-compiler works. 19551.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 19561.1Stv # not just through cpp. "Syntax error" is here to catch this case. 19571.1Stv cat >conftest.$ac_ext <<_ACEOF 19581.20Sbjh21#line 1958 "configure" 19591.1Stv#include "confdefs.h" 19601.1Stv#include <assert.h> 19611.1Stv Syntax error 19621.1Stv_ACEOF 19631.20Sbjh21if { (eval echo "$as_me:1963: \"$ac_cpp conftest.$ac_ext\"") >&5 19641.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19651.1Stv ac_status=$? 19661.1Stv egrep -v '^ *\+' conftest.er1 >conftest.err 19671.1Stv rm -f conftest.er1 19681.1Stv cat conftest.err >&5 19691.20Sbjh21 echo "$as_me:1969: \$? = $ac_status" >&5 19701.1Stv (exit $ac_status); } >/dev/null; then 19711.1Stv if test -s conftest.err; then 19721.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 19731.1Stv else 19741.1Stv ac_cpp_err= 19751.1Stv fi 19761.1Stvelse 19771.1Stv ac_cpp_err=yes 19781.1Stvfi 19791.1Stvif test -z "$ac_cpp_err"; then 19801.1Stv : 19811.1Stvelse 19821.1Stv echo "$as_me: failed program was:" >&5 19831.1Stv cat conftest.$ac_ext >&5 19841.1Stv # Broken: fails on valid input. 19851.1Stvcontinue 19861.1Stvfi 19871.1Stvrm -f conftest.err conftest.$ac_ext 19881.1Stv 19891.1Stv # OK, works on sane cases. Now check whether non-existent headers 19901.1Stv # can be detected and how. 19911.1Stv cat >conftest.$ac_ext <<_ACEOF 19921.20Sbjh21#line 1992 "configure" 19931.1Stv#include "confdefs.h" 19941.1Stv#include <ac_nonexistent.h> 19951.1Stv_ACEOF 19961.20Sbjh21if { (eval echo "$as_me:1996: \"$ac_cpp conftest.$ac_ext\"") >&5 19971.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19981.1Stv ac_status=$? 19991.1Stv egrep -v '^ *\+' conftest.er1 >conftest.err 20001.1Stv rm -f conftest.er1 20011.1Stv cat conftest.err >&5 20021.20Sbjh21 echo "$as_me:2002: \$? = $ac_status" >&5 20031.1Stv (exit $ac_status); } >/dev/null; then 20041.1Stv if test -s conftest.err; then 20051.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 20061.1Stv else 20071.1Stv ac_cpp_err= 20081.1Stv fi 20091.1Stvelse 20101.1Stv ac_cpp_err=yes 20111.1Stvfi 20121.1Stvif test -z "$ac_cpp_err"; then 20131.1Stv # Broken: success on invalid input. 20141.1Stvcontinue 20151.1Stvelse 20161.1Stv echo "$as_me: failed program was:" >&5 20171.1Stv cat conftest.$ac_ext >&5 20181.1Stv # Passes both tests. 20191.1Stvac_preproc_ok=: 20201.1Stvbreak 20211.1Stvfi 20221.1Stvrm -f conftest.err conftest.$ac_ext 20231.1Stv 20241.1Stvdone 20251.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 20261.1Stvrm -f conftest.err conftest.$ac_ext 20271.1Stvif $ac_preproc_ok; then 20281.1Stv : 20291.1Stvelse 20301.20Sbjh21 { { echo "$as_me:2030: error: C preprocessor \"$CPP\" fails sanity check" >&5 20311.1Stvecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 20321.1Stv { (exit 1); exit 1; }; } 20331.1Stvfi 20341.1Stv 20351.1Stvac_ext=c 20361.1Stvac_cpp='$CPP $CPPFLAGS' 20371.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20381.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20391.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 20401.1Stv 20411.20Sbjh21echo "$as_me:2041: checking for ANSI C header files" >&5 20421.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 20431.6Stvif test "${ac_cv_header_stdc+set}" = set; then 20441.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 20451.6Stvelse 20461.6Stv cat >conftest.$ac_ext <<_ACEOF 20471.20Sbjh21#line 2047 "configure" 20481.6Stv#include "confdefs.h" 20491.6Stv#include <stdlib.h> 20501.6Stv#include <stdarg.h> 20511.6Stv#include <string.h> 20521.6Stv#include <float.h> 20531.6Stv 20541.6Stv_ACEOF 20551.20Sbjh21if { (eval echo "$as_me:2055: \"$ac_cpp conftest.$ac_ext\"") >&5 20561.6Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20571.6Stv ac_status=$? 20581.6Stv egrep -v '^ *\+' conftest.er1 >conftest.err 20591.6Stv rm -f conftest.er1 20601.6Stv cat conftest.err >&5 20611.20Sbjh21 echo "$as_me:2061: \$? = $ac_status" >&5 20621.6Stv (exit $ac_status); } >/dev/null; then 20631.6Stv if test -s conftest.err; then 20641.6Stv ac_cpp_err=$ac_c_preproc_warn_flag 20651.6Stv else 20661.6Stv ac_cpp_err= 20671.6Stv fi 20681.6Stvelse 20691.6Stv ac_cpp_err=yes 20701.6Stvfi 20711.6Stvif test -z "$ac_cpp_err"; then 20721.6Stv ac_cv_header_stdc=yes 20731.6Stvelse 20741.6Stv echo "$as_me: failed program was:" >&5 20751.6Stv cat conftest.$ac_ext >&5 20761.6Stv ac_cv_header_stdc=no 20771.6Stvfi 20781.6Stvrm -f conftest.err conftest.$ac_ext 20791.6Stv 20801.6Stvif test $ac_cv_header_stdc = yes; then 20811.6Stv # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 20821.6Stv cat >conftest.$ac_ext <<_ACEOF 20831.20Sbjh21#line 2083 "configure" 20841.6Stv#include "confdefs.h" 20851.6Stv#include <string.h> 20861.6Stv 20871.6Stv_ACEOF 20881.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20891.6Stv egrep "memchr" >/dev/null 2>&1; then 20901.6Stv : 20911.6Stvelse 20921.6Stv ac_cv_header_stdc=no 20931.6Stvfi 20941.6Stvrm -f conftest* 20951.6Stv 20961.6Stvfi 20971.6Stv 20981.6Stvif test $ac_cv_header_stdc = yes; then 20991.6Stv # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 21001.6Stv cat >conftest.$ac_ext <<_ACEOF 21011.20Sbjh21#line 2101 "configure" 21021.6Stv#include "confdefs.h" 21031.6Stv#include <stdlib.h> 21041.6Stv 21051.6Stv_ACEOF 21061.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21071.6Stv egrep "free" >/dev/null 2>&1; then 21081.6Stv : 21091.6Stvelse 21101.6Stv ac_cv_header_stdc=no 21111.6Stvfi 21121.6Stvrm -f conftest* 21131.6Stv 21141.6Stvfi 21151.6Stv 21161.6Stvif test $ac_cv_header_stdc = yes; then 21171.6Stv # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 21181.6Stv if test "$cross_compiling" = yes; then 21191.6Stv : 21201.6Stvelse 21211.6Stv cat >conftest.$ac_ext <<_ACEOF 21221.20Sbjh21#line 2122 "configure" 21231.6Stv#include "confdefs.h" 21241.6Stv#include <ctype.h> 21251.6Stv#if ((' ' & 0x0FF) == 0x020) 21261.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 21271.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 21281.6Stv#else 21291.6Stv# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 21301.6Stv || ('j' <= (c) && (c) <= 'r') \ 21311.6Stv || ('s' <= (c) && (c) <= 'z')) 21321.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 21331.6Stv#endif 21341.6Stv 21351.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 21361.6Stvint 21371.6Stvmain () 21381.6Stv{ 21391.6Stv int i; 21401.6Stv for (i = 0; i < 256; i++) 21411.6Stv if (XOR (islower (i), ISLOWER (i)) 21421.6Stv || toupper (i) != TOUPPER (i)) 21431.6Stv exit(2); 21441.6Stv exit (0); 21451.6Stv} 21461.6Stv_ACEOF 21471.6Stvrm -f conftest$ac_exeext 21481.20Sbjh21if { (eval echo "$as_me:2148: \"$ac_link\"") >&5 21491.6Stv (eval $ac_link) 2>&5 21501.6Stv ac_status=$? 21511.20Sbjh21 echo "$as_me:2151: \$? = $ac_status" >&5 21521.6Stv (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21531.20Sbjh21 { (eval echo "$as_me:2153: \"$ac_try\"") >&5 21541.6Stv (eval $ac_try) 2>&5 21551.6Stv ac_status=$? 21561.20Sbjh21 echo "$as_me:2156: \$? = $ac_status" >&5 21571.6Stv (exit $ac_status); }; }; then 21581.6Stv : 21591.6Stvelse 21601.6Stv echo "$as_me: program exited with status $ac_status" >&5 21611.6Stvecho "$as_me: failed program was:" >&5 21621.6Stvcat conftest.$ac_ext >&5 21631.6Stvac_cv_header_stdc=no 21641.6Stvfi 21651.6Stvrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21661.6Stvfi 21671.6Stvfi 21681.6Stvfi 21691.20Sbjh21echo "$as_me:2169: result: $ac_cv_header_stdc" >&5 21701.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6 21711.6Stvif test $ac_cv_header_stdc = yes; then 21721.6Stv 21731.6Stvcat >>confdefs.h <<\EOF 21741.6Stv#define STDC_HEADERS 1 21751.6StvEOF 21761.6Stv 21771.6Stvfi 21781.6Stv 21791.6Stv# Confirm existence of zlib. (This is available as a default install 21801.6Stv# option on many OS's; this could be added as a reachover build in the 21811.6Stv# future.) 21821.20Sbjh21echo "$as_me:2182: checking for zlib.h" >&5 21831.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6 21841.6Stvif test "${ac_cv_header_zlib_h+set}" = set; then 21851.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 21861.4Stvelse 21871.4Stv cat >conftest.$ac_ext <<_ACEOF 21881.20Sbjh21#line 2188 "configure" 21891.4Stv#include "confdefs.h" 21901.6Stv#include <zlib.h> 21911.4Stv_ACEOF 21921.20Sbjh21if { (eval echo "$as_me:2192: \"$ac_cpp conftest.$ac_ext\"") >&5 21931.4Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21941.4Stv ac_status=$? 21951.4Stv egrep -v '^ *\+' conftest.er1 >conftest.err 21961.4Stv rm -f conftest.er1 21971.4Stv cat conftest.err >&5 21981.20Sbjh21 echo "$as_me:2198: \$? = $ac_status" >&5 21991.4Stv (exit $ac_status); } >/dev/null; then 22001.4Stv if test -s conftest.err; then 22011.4Stv ac_cpp_err=$ac_c_preproc_warn_flag 22021.4Stv else 22031.4Stv ac_cpp_err= 22041.4Stv fi 22051.4Stvelse 22061.4Stv ac_cpp_err=yes 22071.4Stvfi 22081.4Stvif test -z "$ac_cpp_err"; then 22091.6Stv ac_cv_header_zlib_h=yes 22101.4Stvelse 22111.4Stv echo "$as_me: failed program was:" >&5 22121.4Stv cat conftest.$ac_ext >&5 22131.6Stv ac_cv_header_zlib_h=no 22141.4Stvfi 22151.4Stvrm -f conftest.err conftest.$ac_ext 22161.4Stvfi 22171.20Sbjh21echo "$as_me:2217: result: $ac_cv_header_zlib_h" >&5 22181.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6 22191.6Stvif test $ac_cv_header_zlib_h = yes; then 22201.6Stv : 22211.6Stvelse 22221.20Sbjh21 { { echo "$as_me:2222: error: zlib must be installed in a compiler-visible path" >&5 22231.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;} 22241.6Stv { (exit 1); exit 1; }; } 22251.6Stvfi 22261.6Stv 22271.20Sbjh21echo "$as_me:2227: checking for gzdopen in -lz" >&5 22281.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6 22291.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then 22301.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 22311.6Stvelse 22321.6Stv ac_check_lib_save_LIBS=$LIBS 22331.6StvLIBS="-lz $LIBS" 22341.6Stvcat >conftest.$ac_ext <<_ACEOF 22351.20Sbjh21#line 2235 "configure" 22361.6Stv#include "confdefs.h" 22371.6Stv 22381.6Stv/* Override any gcc2 internal prototype to avoid an error. */ 22391.6Stv#ifdef __cplusplus 22401.6Stvextern "C" 22411.6Stv#endif 22421.6Stv/* We use char because int might match the return type of a gcc2 22431.6Stv builtin and then its argument prototype would still apply. */ 22441.6Stvchar gzdopen (); 22451.6Stvint 22461.6Stvmain () 22471.6Stv{ 22481.6Stvgzdopen (); 22491.6Stv ; 22501.6Stv return 0; 22511.6Stv} 22521.6Stv_ACEOF 22531.6Stvrm -f conftest.$ac_objext conftest$ac_exeext 22541.20Sbjh21if { (eval echo "$as_me:2254: \"$ac_link\"") >&5 22551.6Stv (eval $ac_link) 2>&5 22561.6Stv ac_status=$? 22571.20Sbjh21 echo "$as_me:2257: \$? = $ac_status" >&5 22581.6Stv (exit $ac_status); } && 22591.6Stv { ac_try='test -s conftest$ac_exeext' 22601.20Sbjh21 { (eval echo "$as_me:2260: \"$ac_try\"") >&5 22611.6Stv (eval $ac_try) 2>&5 22621.6Stv ac_status=$? 22631.20Sbjh21 echo "$as_me:2263: \$? = $ac_status" >&5 22641.6Stv (exit $ac_status); }; }; then 22651.6Stv ac_cv_lib_z_gzdopen=yes 22661.6Stvelse 22671.6Stv echo "$as_me: failed program was:" >&5 22681.6Stvcat conftest.$ac_ext >&5 22691.6Stvac_cv_lib_z_gzdopen=no 22701.6Stvfi 22711.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22721.6StvLIBS=$ac_check_lib_save_LIBS 22731.6Stvfi 22741.20Sbjh21echo "$as_me:2274: result: $ac_cv_lib_z_gzdopen" >&5 22751.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6 22761.6Stvif test $ac_cv_lib_z_gzdopen = yes; then 22771.4Stv cat >>confdefs.h <<EOF 22781.6Stv#define HAVE_LIBZ 1 22791.4StvEOF 22801.4Stv 22811.6Stv LIBS="-lz $LIBS" 22821.6Stv 22831.4Stvelse 22841.20Sbjh21 { { echo "$as_me:2284: error: zlib must be installed in a compiler-visible path" >&5 22851.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;} 22861.4Stv { (exit 1); exit 1; }; } 22871.4Stvfi 22881.4Stv 22891.6Stv# Make sure certain required headers are available. 22901.6Stv# These are not necessarily required by the code, but they are not 22911.6Stv# currently conditionalized. 22921.4Stv 22931.6Stvfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \ 22941.34Sthorpej sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \ 22951.34Sthorpej sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \ 22961.28Sbriggs netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \ 22971.22Sthorpej termios.h unistd.h 22981.4Stvdo 22991.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23001.20Sbjh21echo "$as_me:2300: checking for $ac_header" >&5 23011.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23021.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 23031.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 23041.4Stvelse 23051.4Stv cat >conftest.$ac_ext <<_ACEOF 23061.20Sbjh21#line 2306 "configure" 23071.4Stv#include "confdefs.h" 23081.4Stv#include <$ac_header> 23091.4Stv_ACEOF 23101.20Sbjh21if { (eval echo "$as_me:2310: \"$ac_cpp conftest.$ac_ext\"") >&5 23111.4Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23121.4Stv ac_status=$? 23131.4Stv egrep -v '^ *\+' conftest.er1 >conftest.err 23141.4Stv rm -f conftest.er1 23151.4Stv cat conftest.err >&5 23161.20Sbjh21 echo "$as_me:2316: \$? = $ac_status" >&5 23171.4Stv (exit $ac_status); } >/dev/null; then 23181.4Stv if test -s conftest.err; then 23191.4Stv ac_cpp_err=$ac_c_preproc_warn_flag 23201.4Stv else 23211.4Stv ac_cpp_err= 23221.4Stv fi 23231.4Stvelse 23241.6Stv ac_cpp_err=yes 23251.6Stvfi 23261.6Stvif test -z "$ac_cpp_err"; then 23271.6Stv eval "$as_ac_Header=yes" 23281.6Stvelse 23291.6Stv echo "$as_me: failed program was:" >&5 23301.6Stv cat conftest.$ac_ext >&5 23311.6Stv eval "$as_ac_Header=no" 23321.6Stvfi 23331.6Stvrm -f conftest.err conftest.$ac_ext 23341.6Stvfi 23351.20Sbjh21echo "$as_me:2335: result: `eval echo '${'$as_ac_Header'}'`" >&5 23361.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23371.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 23381.6Stv cat >>confdefs.h <<EOF 23391.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23401.6StvEOF 23411.6Stv 23421.6Stvelse 23431.20Sbjh21 { { echo "$as_me:2343: error: standard system header file not found" >&5 23441.6Stvecho "$as_me: error: standard system header file not found" >&2;} 23451.6Stv { (exit 1); exit 1; }; } 23461.6Stvfi 23471.6Stvdone 23481.6Stv 23491.6Stv# Find headers that may not be available. 23501.6Stv 23511.6Stvac_header_dirent=no 23521.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 23531.6Stv as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 23541.20Sbjh21echo "$as_me:2354: checking for $ac_hdr that defines DIR" >&5 23551.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 23561.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 23571.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 23581.6Stvelse 23591.6Stv cat >conftest.$ac_ext <<_ACEOF 23601.20Sbjh21#line 2360 "configure" 23611.6Stv#include "confdefs.h" 23621.6Stv#include <sys/types.h> 23631.6Stv#include <$ac_hdr> 23641.6Stv 23651.6Stvint 23661.6Stvmain () 23671.6Stv{ 23681.6Stvif ((DIR *) 0) 23691.6Stvreturn 0; 23701.6Stv ; 23711.6Stv return 0; 23721.6Stv} 23731.6Stv_ACEOF 23741.6Stvrm -f conftest.$ac_objext 23751.20Sbjh21if { (eval echo "$as_me:2375: \"$ac_compile\"") >&5 23761.6Stv (eval $ac_compile) 2>&5 23771.6Stv ac_status=$? 23781.20Sbjh21 echo "$as_me:2378: \$? = $ac_status" >&5 23791.6Stv (exit $ac_status); } && 23801.6Stv { ac_try='test -s conftest.$ac_objext' 23811.20Sbjh21 { (eval echo "$as_me:2381: \"$ac_try\"") >&5 23821.6Stv (eval $ac_try) 2>&5 23831.6Stv ac_status=$? 23841.20Sbjh21 echo "$as_me:2384: \$? = $ac_status" >&5 23851.6Stv (exit $ac_status); }; }; then 23861.6Stv eval "$as_ac_Header=yes" 23871.6Stvelse 23881.6Stv echo "$as_me: failed program was:" >&5 23891.6Stvcat conftest.$ac_ext >&5 23901.6Stveval "$as_ac_Header=no" 23911.6Stvfi 23921.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 23931.6Stvfi 23941.20Sbjh21echo "$as_me:2394: result: `eval echo '${'$as_ac_Header'}'`" >&5 23951.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23961.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 23971.6Stv cat >>confdefs.h <<EOF 23981.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 23991.6StvEOF 24001.6Stv 24011.6Stvac_header_dirent=$ac_hdr; break 24021.6Stvfi 24031.6Stv 24041.6Stvdone 24051.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 24061.6Stvif test $ac_header_dirent = dirent.h; then 24071.20Sbjh21 echo "$as_me:2407: checking for opendir in -ldir" >&5 24081.6Stvecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 24091.6Stvif test "${ac_cv_lib_dir_opendir+set}" = set; then 24101.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 24111.6Stvelse 24121.6Stv ac_check_lib_save_LIBS=$LIBS 24131.6StvLIBS="-ldir $LIBS" 24141.6Stvcat >conftest.$ac_ext <<_ACEOF 24151.20Sbjh21#line 2415 "configure" 24161.6Stv#include "confdefs.h" 24171.6Stv 24181.6Stv/* Override any gcc2 internal prototype to avoid an error. */ 24191.6Stv#ifdef __cplusplus 24201.6Stvextern "C" 24211.6Stv#endif 24221.6Stv/* We use char because int might match the return type of a gcc2 24231.6Stv builtin and then its argument prototype would still apply. */ 24241.6Stvchar opendir (); 24251.6Stvint 24261.6Stvmain () 24271.6Stv{ 24281.6Stvopendir (); 24291.6Stv ; 24301.6Stv return 0; 24311.6Stv} 24321.6Stv_ACEOF 24331.6Stvrm -f conftest.$ac_objext conftest$ac_exeext 24341.20Sbjh21if { (eval echo "$as_me:2434: \"$ac_link\"") >&5 24351.6Stv (eval $ac_link) 2>&5 24361.6Stv ac_status=$? 24371.20Sbjh21 echo "$as_me:2437: \$? = $ac_status" >&5 24381.6Stv (exit $ac_status); } && 24391.6Stv { ac_try='test -s conftest$ac_exeext' 24401.20Sbjh21 { (eval echo "$as_me:2440: \"$ac_try\"") >&5 24411.6Stv (eval $ac_try) 2>&5 24421.6Stv ac_status=$? 24431.20Sbjh21 echo "$as_me:2443: \$? = $ac_status" >&5 24441.6Stv (exit $ac_status); }; }; then 24451.6Stv ac_cv_lib_dir_opendir=yes 24461.6Stvelse 24471.6Stv echo "$as_me: failed program was:" >&5 24481.6Stvcat conftest.$ac_ext >&5 24491.6Stvac_cv_lib_dir_opendir=no 24501.6Stvfi 24511.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 24521.6StvLIBS=$ac_check_lib_save_LIBS 24531.6Stvfi 24541.20Sbjh21echo "$as_me:2454: result: $ac_cv_lib_dir_opendir" >&5 24551.6Stvecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 24561.6Stvif test $ac_cv_lib_dir_opendir = yes; then 24571.6Stv LIBS="$LIBS -ldir" 24581.6Stvfi 24591.6Stv 24601.6Stvelse 24611.20Sbjh21 echo "$as_me:2461: checking for opendir in -lx" >&5 24621.6Stvecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 24631.6Stvif test "${ac_cv_lib_x_opendir+set}" = set; then 24641.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 24651.6Stvelse 24661.6Stv ac_check_lib_save_LIBS=$LIBS 24671.6StvLIBS="-lx $LIBS" 24681.6Stvcat >conftest.$ac_ext <<_ACEOF 24691.20Sbjh21#line 2469 "configure" 24701.6Stv#include "confdefs.h" 24711.6Stv 24721.6Stv/* Override any gcc2 internal prototype to avoid an error. */ 24731.6Stv#ifdef __cplusplus 24741.6Stvextern "C" 24751.6Stv#endif 24761.6Stv/* We use char because int might match the return type of a gcc2 24771.6Stv builtin and then its argument prototype would still apply. */ 24781.6Stvchar opendir (); 24791.6Stvint 24801.6Stvmain () 24811.6Stv{ 24821.6Stvopendir (); 24831.6Stv ; 24841.6Stv return 0; 24851.6Stv} 24861.6Stv_ACEOF 24871.6Stvrm -f conftest.$ac_objext conftest$ac_exeext 24881.20Sbjh21if { (eval echo "$as_me:2488: \"$ac_link\"") >&5 24891.6Stv (eval $ac_link) 2>&5 24901.6Stv ac_status=$? 24911.20Sbjh21 echo "$as_me:2491: \$? = $ac_status" >&5 24921.6Stv (exit $ac_status); } && 24931.6Stv { ac_try='test -s conftest$ac_exeext' 24941.20Sbjh21 { (eval echo "$as_me:2494: \"$ac_try\"") >&5 24951.6Stv (eval $ac_try) 2>&5 24961.6Stv ac_status=$? 24971.20Sbjh21 echo "$as_me:2497: \$? = $ac_status" >&5 24981.6Stv (exit $ac_status); }; }; then 24991.6Stv ac_cv_lib_x_opendir=yes 25001.6Stvelse 25011.6Stv echo "$as_me: failed program was:" >&5 25021.6Stvcat conftest.$ac_ext >&5 25031.6Stvac_cv_lib_x_opendir=no 25041.6Stvfi 25051.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 25061.6StvLIBS=$ac_check_lib_save_LIBS 25071.6Stvfi 25081.20Sbjh21echo "$as_me:2508: result: $ac_cv_lib_x_opendir" >&5 25091.6Stvecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6 25101.6Stvif test $ac_cv_lib_x_opendir = yes; then 25111.6Stv LIBS="$LIBS -lx" 25121.6Stvfi 25131.6Stv 25141.6Stvfi 25151.6Stv 25161.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \ 25171.28Sbriggs features.h malloc.h poll.h stddef.h 25181.6Stvdo 25191.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25201.20Sbjh21echo "$as_me:2520: checking for $ac_header" >&5 25211.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 25221.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 25231.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 25241.6Stvelse 25251.6Stv cat >conftest.$ac_ext <<_ACEOF 25261.20Sbjh21#line 2526 "configure" 25271.6Stv#include "confdefs.h" 25281.6Stv#include <$ac_header> 25291.6Stv_ACEOF 25301.20Sbjh21if { (eval echo "$as_me:2530: \"$ac_cpp conftest.$ac_ext\"") >&5 25311.6Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 25321.6Stv ac_status=$? 25331.6Stv egrep -v '^ *\+' conftest.er1 >conftest.err 25341.6Stv rm -f conftest.er1 25351.6Stv cat conftest.err >&5 25361.20Sbjh21 echo "$as_me:2536: \$? = $ac_status" >&5 25371.6Stv (exit $ac_status); } >/dev/null; then 25381.6Stv if test -s conftest.err; then 25391.6Stv ac_cpp_err=$ac_c_preproc_warn_flag 25401.6Stv else 25411.6Stv ac_cpp_err= 25421.6Stv fi 25431.6Stvelse 25441.6Stv ac_cpp_err=yes 25451.6Stvfi 25461.6Stvif test -z "$ac_cpp_err"; then 25471.6Stv eval "$as_ac_Header=yes" 25481.6Stvelse 25491.6Stv echo "$as_me: failed program was:" >&5 25501.6Stv cat conftest.$ac_ext >&5 25511.6Stv eval "$as_ac_Header=no" 25521.6Stvfi 25531.6Stvrm -f conftest.err conftest.$ac_ext 25541.6Stvfi 25551.20Sbjh21echo "$as_me:2555: result: `eval echo '${'$as_ac_Header'}'`" >&5 25561.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 25571.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 25581.6Stv cat >>confdefs.h <<EOF 25591.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25601.6StvEOF 25611.6Stv 25621.6Stvfi 25631.6Stvdone 25641.6Stv 25651.18Sbjh21for ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \ 25661.31Slukem err.h inttypes.h libgen.h paths.h stdint.h util.h 25671.6Stvdo 25681.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25691.20Sbjh21echo "$as_me:2569: checking for $ac_header" >&5 25701.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 25711.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 25721.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 25731.6Stvelse 25741.6Stv cat >conftest.$ac_ext <<_ACEOF 25751.20Sbjh21#line 2575 "configure" 25761.6Stv#include "confdefs.h" 25771.6Stv#include <$ac_header> 25781.6Stv_ACEOF 25791.20Sbjh21if { (eval echo "$as_me:2579: \"$ac_cpp conftest.$ac_ext\"") >&5 25801.6Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 25811.6Stv ac_status=$? 25821.6Stv egrep -v '^ *\+' conftest.er1 >conftest.err 25831.6Stv rm -f conftest.er1 25841.6Stv cat conftest.err >&5 25851.20Sbjh21 echo "$as_me:2585: \$? = $ac_status" >&5 25861.6Stv (exit $ac_status); } >/dev/null; then 25871.6Stv if test -s conftest.err; then 25881.6Stv ac_cpp_err=$ac_c_preproc_warn_flag 25891.6Stv else 25901.6Stv ac_cpp_err= 25911.6Stv fi 25921.6Stvelse 25931.6Stv ac_cpp_err=yes 25941.6Stvfi 25951.6Stvif test -z "$ac_cpp_err"; then 25961.6Stv eval "$as_ac_Header=yes" 25971.6Stvelse 25981.6Stv echo "$as_me: failed program was:" >&5 25991.6Stv cat conftest.$ac_ext >&5 26001.6Stv eval "$as_ac_Header=no" 26011.6Stvfi 26021.6Stvrm -f conftest.err conftest.$ac_ext 26031.6Stvfi 26041.20Sbjh21echo "$as_me:2604: result: `eval echo '${'$as_ac_Header'}'`" >&5 26051.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 26061.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 26071.6Stv cat >>confdefs.h <<EOF 26081.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 26091.6StvEOF 26101.6Stv 26111.6Stvelse 26121.11Stv test -f include/$ac_header || touch include/$ac_header 26131.6Stvfi 26141.6Stvdone 26151.6Stv 26161.24Sbriggsfor ac_header in rpc/types.h getopt.h netconfig.h 26171.7Stvdo 26181.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 26191.22Sthorpejecho "$as_me:2619: checking for $ac_header" >&5 26201.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 26211.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 26221.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 26231.7Stvelse 26241.7Stv cat >conftest.$ac_ext <<_ACEOF 26251.22Sthorpej#line 2625 "configure" 26261.7Stv#include "confdefs.h" 26271.7Stv#include <$ac_header> 26281.7Stv_ACEOF 26291.22Sthorpejif { (eval echo "$as_me:2629: \"$ac_cpp conftest.$ac_ext\"") >&5 26301.7Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 26311.7Stv ac_status=$? 26321.7Stv egrep -v '^ *\+' conftest.er1 >conftest.err 26331.7Stv rm -f conftest.er1 26341.7Stv cat conftest.err >&5 26351.22Sthorpej echo "$as_me:2635: \$? = $ac_status" >&5 26361.7Stv (exit $ac_status); } >/dev/null; then 26371.7Stv if test -s conftest.err; then 26381.7Stv ac_cpp_err=$ac_c_preproc_warn_flag 26391.7Stv else 26401.7Stv ac_cpp_err= 26411.7Stv fi 26421.7Stvelse 26431.7Stv ac_cpp_err=yes 26441.7Stvfi 26451.7Stvif test -z "$ac_cpp_err"; then 26461.7Stv eval "$as_ac_Header=yes" 26471.7Stvelse 26481.7Stv echo "$as_me: failed program was:" >&5 26491.7Stv cat conftest.$ac_ext >&5 26501.7Stv eval "$as_ac_Header=no" 26511.7Stvfi 26521.7Stvrm -f conftest.err conftest.$ac_ext 26531.7Stvfi 26541.22Sthorpejecho "$as_me:2654: result: `eval echo '${'$as_ac_Header'}'`" >&5 26551.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 26561.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 26571.7Stv cat >>confdefs.h <<EOF 26581.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 26591.7StvEOF 26601.7Stv 26611.7Stvelse 26621.11Stv echo '#include "config.h"' >include/$ac_header.new 26631.11Stv echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new 26641.11Stv if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 26651.11Stv rm -f include/$ac_header.new 26661.11Stv else 26671.11Stv mv -f include/$ac_header.new include/$ac_header 26681.11Stv fi 26691.7Stvfi 26701.7Stvdone 26711.7Stv 26721.6Stv# Typedefs. 26731.6Stv# On IRIX 5.3, sys/types and inttypes.h are conflicting. 26741.6Stv 26751.6Stvfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 26761.6Stv inttypes.h stdint.h unistd.h 26771.6Stvdo 26781.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 26791.22Sthorpejecho "$as_me:2679: checking for $ac_header" >&5 26801.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 26811.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 26821.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 26831.6Stvelse 26841.6Stv cat >conftest.$ac_ext <<_ACEOF 26851.22Sthorpej#line 2685 "configure" 26861.6Stv#include "confdefs.h" 26871.6Stv$ac_includes_default 26881.6Stv#include <$ac_header> 26891.6Stv_ACEOF 26901.6Stvrm -f conftest.$ac_objext 26911.22Sthorpejif { (eval echo "$as_me:2691: \"$ac_compile\"") >&5 26921.6Stv (eval $ac_compile) 2>&5 26931.6Stv ac_status=$? 26941.22Sthorpej echo "$as_me:2694: \$? = $ac_status" >&5 26951.6Stv (exit $ac_status); } && 26961.6Stv { ac_try='test -s conftest.$ac_objext' 26971.22Sthorpej { (eval echo "$as_me:2697: \"$ac_try\"") >&5 26981.6Stv (eval $ac_try) 2>&5 26991.6Stv ac_status=$? 27001.22Sthorpej echo "$as_me:2700: \$? = $ac_status" >&5 27011.6Stv (exit $ac_status); }; }; then 27021.6Stv eval "$as_ac_Header=yes" 27031.6Stvelse 27041.6Stv echo "$as_me: failed program was:" >&5 27051.6Stvcat conftest.$ac_ext >&5 27061.6Stveval "$as_ac_Header=no" 27071.6Stvfi 27081.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 27091.6Stvfi 27101.22Sthorpejecho "$as_me:2710: result: `eval echo '${'$as_ac_Header'}'`" >&5 27111.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 27121.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 27131.6Stv cat >>confdefs.h <<EOF 27141.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 27151.6StvEOF 27161.6Stv 27171.6Stvfi 27181.6Stvdone 27191.6Stv 27201.22Sthorpejecho "$as_me:2720: checking for size_t" >&5 27211.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6 27221.6Stvif test "${ac_cv_type_size_t+set}" = set; then 27231.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 27241.6Stvelse 27251.6Stv cat >conftest.$ac_ext <<_ACEOF 27261.22Sthorpej#line 2726 "configure" 27271.6Stv#include "confdefs.h" 27281.6Stv$ac_includes_default 27291.6Stvint 27301.6Stvmain () 27311.6Stv{ 27321.6Stvif ((size_t *) 0) 27331.6Stv return 0; 27341.6Stvif (sizeof (size_t)) 27351.6Stv return 0; 27361.6Stv ; 27371.6Stv return 0; 27381.6Stv} 27391.6Stv_ACEOF 27401.6Stvrm -f conftest.$ac_objext 27411.22Sthorpejif { (eval echo "$as_me:2741: \"$ac_compile\"") >&5 27421.6Stv (eval $ac_compile) 2>&5 27431.6Stv ac_status=$? 27441.22Sthorpej echo "$as_me:2744: \$? = $ac_status" >&5 27451.6Stv (exit $ac_status); } && 27461.6Stv { ac_try='test -s conftest.$ac_objext' 27471.22Sthorpej { (eval echo "$as_me:2747: \"$ac_try\"") >&5 27481.6Stv (eval $ac_try) 2>&5 27491.6Stv ac_status=$? 27501.22Sthorpej echo "$as_me:2750: \$? = $ac_status" >&5 27511.6Stv (exit $ac_status); }; }; then 27521.6Stv ac_cv_type_size_t=yes 27531.6Stvelse 27541.6Stv echo "$as_me: failed program was:" >&5 27551.6Stvcat conftest.$ac_ext >&5 27561.6Stvac_cv_type_size_t=no 27571.6Stvfi 27581.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 27591.6Stvfi 27601.22Sthorpejecho "$as_me:2760: result: $ac_cv_type_size_t" >&5 27611.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6 27621.6Stvif test $ac_cv_type_size_t = yes; then 27631.6Stv : 27641.6Stvelse 27651.6Stv 27661.6Stvcat >>confdefs.h <<EOF 27671.6Stv#define size_t unsigned 27681.6StvEOF 27691.6Stv 27701.6Stvfi 27711.6Stv 27721.22Sthorpejecho "$as_me:2772: checking for id_t" >&5 27731.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6 27741.6Stvif test "${ac_cv_type_id_t+set}" = set; then 27751.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 27761.6Stvelse 27771.6Stv cat >conftest.$ac_ext <<_ACEOF 27781.22Sthorpej#line 2778 "configure" 27791.6Stv#include "confdefs.h" 27801.6Stv$ac_includes_default 27811.6Stvint 27821.6Stvmain () 27831.6Stv{ 27841.6Stvif ((id_t *) 0) 27851.6Stv return 0; 27861.6Stvif (sizeof (id_t)) 27871.6Stv return 0; 27881.6Stv ; 27891.6Stv return 0; 27901.6Stv} 27911.6Stv_ACEOF 27921.6Stvrm -f conftest.$ac_objext 27931.22Sthorpejif { (eval echo "$as_me:2793: \"$ac_compile\"") >&5 27941.6Stv (eval $ac_compile) 2>&5 27951.6Stv ac_status=$? 27961.22Sthorpej echo "$as_me:2796: \$? = $ac_status" >&5 27971.6Stv (exit $ac_status); } && 27981.6Stv { ac_try='test -s conftest.$ac_objext' 27991.22Sthorpej { (eval echo "$as_me:2799: \"$ac_try\"") >&5 28001.6Stv (eval $ac_try) 2>&5 28011.6Stv ac_status=$? 28021.22Sthorpej echo "$as_me:2802: \$? = $ac_status" >&5 28031.6Stv (exit $ac_status); }; }; then 28041.6Stv ac_cv_type_id_t=yes 28051.6Stvelse 28061.6Stv echo "$as_me: failed program was:" >&5 28071.6Stvcat conftest.$ac_ext >&5 28081.6Stvac_cv_type_id_t=no 28091.6Stvfi 28101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 28111.6Stvfi 28121.22Sthorpejecho "$as_me:2812: result: $ac_cv_type_id_t" >&5 28131.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6 28141.6Stvif test $ac_cv_type_id_t = yes; then 28151.6Stv 28161.6Stvcat >>confdefs.h <<EOF 28171.6Stv#define HAVE_ID_T 1 28181.6StvEOF 28191.6Stv 28201.6Stvfi 28211.22Sthorpejecho "$as_me:2821: checking for long long" >&5 28221.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6 28231.6Stvif test "${ac_cv_type_long_long+set}" = set; then 28241.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 28251.6Stvelse 28261.6Stv cat >conftest.$ac_ext <<_ACEOF 28271.22Sthorpej#line 2827 "configure" 28281.6Stv#include "confdefs.h" 28291.6Stv$ac_includes_default 28301.6Stvint 28311.6Stvmain () 28321.6Stv{ 28331.6Stvif ((long long *) 0) 28341.6Stv return 0; 28351.6Stvif (sizeof (long long)) 28361.6Stv return 0; 28371.6Stv ; 28381.6Stv return 0; 28391.6Stv} 28401.6Stv_ACEOF 28411.6Stvrm -f conftest.$ac_objext 28421.22Sthorpejif { (eval echo "$as_me:2842: \"$ac_compile\"") >&5 28431.6Stv (eval $ac_compile) 2>&5 28441.6Stv ac_status=$? 28451.22Sthorpej echo "$as_me:2845: \$? = $ac_status" >&5 28461.6Stv (exit $ac_status); } && 28471.6Stv { ac_try='test -s conftest.$ac_objext' 28481.22Sthorpej { (eval echo "$as_me:2848: \"$ac_try\"") >&5 28491.6Stv (eval $ac_try) 2>&5 28501.6Stv ac_status=$? 28511.22Sthorpej echo "$as_me:2851: \$? = $ac_status" >&5 28521.6Stv (exit $ac_status); }; }; then 28531.6Stv ac_cv_type_long_long=yes 28541.6Stvelse 28551.6Stv echo "$as_me: failed program was:" >&5 28561.6Stvcat conftest.$ac_ext >&5 28571.6Stvac_cv_type_long_long=no 28581.6Stvfi 28591.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 28601.6Stvfi 28611.22Sthorpejecho "$as_me:2861: result: $ac_cv_type_long_long" >&5 28621.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6 28631.6Stvif test $ac_cv_type_long_long = yes; then 28641.6Stv 28651.6Stvcat >>confdefs.h <<EOF 28661.6Stv#define HAVE_LONG_LONG 1 28671.6StvEOF 28681.6Stv 28691.6Stvfi 28701.22Sthorpejecho "$as_me:2870: checking for u_quad_t" >&5 28711.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6 28721.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then 28731.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 28741.7Stvelse 28751.7Stv cat >conftest.$ac_ext <<_ACEOF 28761.22Sthorpej#line 2876 "configure" 28771.7Stv#include "confdefs.h" 28781.7Stv$ac_includes_default 28791.7Stvint 28801.7Stvmain () 28811.7Stv{ 28821.7Stvif ((u_quad_t *) 0) 28831.7Stv return 0; 28841.7Stvif (sizeof (u_quad_t)) 28851.7Stv return 0; 28861.7Stv ; 28871.7Stv return 0; 28881.7Stv} 28891.7Stv_ACEOF 28901.7Stvrm -f conftest.$ac_objext 28911.22Sthorpejif { (eval echo "$as_me:2891: \"$ac_compile\"") >&5 28921.7Stv (eval $ac_compile) 2>&5 28931.7Stv ac_status=$? 28941.22Sthorpej echo "$as_me:2894: \$? = $ac_status" >&5 28951.7Stv (exit $ac_status); } && 28961.7Stv { ac_try='test -s conftest.$ac_objext' 28971.22Sthorpej { (eval echo "$as_me:2897: \"$ac_try\"") >&5 28981.7Stv (eval $ac_try) 2>&5 28991.7Stv ac_status=$? 29001.22Sthorpej echo "$as_me:2900: \$? = $ac_status" >&5 29011.7Stv (exit $ac_status); }; }; then 29021.7Stv ac_cv_type_u_quad_t=yes 29031.7Stvelse 29041.7Stv echo "$as_me: failed program was:" >&5 29051.7Stvcat conftest.$ac_ext >&5 29061.7Stvac_cv_type_u_quad_t=no 29071.7Stvfi 29081.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 29091.7Stvfi 29101.22Sthorpejecho "$as_me:2910: result: $ac_cv_type_u_quad_t" >&5 29111.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6 29121.7Stvif test $ac_cv_type_u_quad_t = yes; then 29131.7Stv 29141.7Stvcat >>confdefs.h <<EOF 29151.7Stv#define HAVE_U_QUAD_T 1 29161.7StvEOF 29171.7Stv 29181.7Stvfi 29191.34Sthorpejecho "$as_me:2919: checking for socklen_t" >&5 29201.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6 29211.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then 29221.34Sthorpej echo $ECHO_N "(cached) $ECHO_C" >&6 29231.34Sthorpejelse 29241.34Sthorpej cat >conftest.$ac_ext <<_ACEOF 29251.34Sthorpej#line 2925 "configure" 29261.34Sthorpej#include "confdefs.h" 29271.34Sthorpej$ac_includes_default 29281.34Sthorpejint 29291.34Sthorpejmain () 29301.34Sthorpej{ 29311.34Sthorpejif ((socklen_t *) 0) 29321.34Sthorpej return 0; 29331.34Sthorpejif (sizeof (socklen_t)) 29341.34Sthorpej return 0; 29351.34Sthorpej ; 29361.34Sthorpej return 0; 29371.34Sthorpej} 29381.34Sthorpej_ACEOF 29391.34Sthorpejrm -f conftest.$ac_objext 29401.34Sthorpejif { (eval echo "$as_me:2940: \"$ac_compile\"") >&5 29411.34Sthorpej (eval $ac_compile) 2>&5 29421.34Sthorpej ac_status=$? 29431.34Sthorpej echo "$as_me:2943: \$? = $ac_status" >&5 29441.34Sthorpej (exit $ac_status); } && 29451.34Sthorpej { ac_try='test -s conftest.$ac_objext' 29461.34Sthorpej { (eval echo "$as_me:2946: \"$ac_try\"") >&5 29471.34Sthorpej (eval $ac_try) 2>&5 29481.34Sthorpej ac_status=$? 29491.34Sthorpej echo "$as_me:2949: \$? = $ac_status" >&5 29501.34Sthorpej (exit $ac_status); }; }; then 29511.34Sthorpej ac_cv_type_socklen_t=yes 29521.34Sthorpejelse 29531.34Sthorpej echo "$as_me: failed program was:" >&5 29541.34Sthorpejcat conftest.$ac_ext >&5 29551.34Sthorpejac_cv_type_socklen_t=no 29561.34Sthorpejfi 29571.34Sthorpejrm -f conftest.$ac_objext conftest.$ac_ext 29581.34Sthorpejfi 29591.34Sthorpejecho "$as_me:2959: result: $ac_cv_type_socklen_t" >&5 29601.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6 29611.34Sthorpejif test $ac_cv_type_socklen_t = yes; then 29621.6Stv 29631.34Sthorpejcat >>confdefs.h <<EOF 29641.34Sthorpej#define HAVE_SOCKLEN_T 1 29651.34SthorpejEOF 29661.34Sthorpej 29671.34Sthorpejfi 29681.34Sthorpej 29691.34Sthorpej echo "$as_me:2969: checking for uint8_t" >&5 29701.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6 29711.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then 29721.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 29731.6Stvelse 29741.6Stv cat >conftest.$ac_ext <<_ACEOF 29751.34Sthorpej#line 2975 "configure" 29761.6Stv#include "confdefs.h" 29771.6Stv$ac_includes_default 29781.6Stvint 29791.6Stvmain () 29801.6Stv{ 29811.9Stvif ((uint8_t *) 0) 29821.6Stv return 0; 29831.9Stvif (sizeof (uint8_t)) 29841.6Stv return 0; 29851.6Stv ; 29861.6Stv return 0; 29871.6Stv} 29881.6Stv_ACEOF 29891.6Stvrm -f conftest.$ac_objext 29901.34Sthorpejif { (eval echo "$as_me:2990: \"$ac_compile\"") >&5 29911.6Stv (eval $ac_compile) 2>&5 29921.6Stv ac_status=$? 29931.34Sthorpej echo "$as_me:2993: \$? = $ac_status" >&5 29941.6Stv (exit $ac_status); } && 29951.6Stv { ac_try='test -s conftest.$ac_objext' 29961.34Sthorpej { (eval echo "$as_me:2996: \"$ac_try\"") >&5 29971.6Stv (eval $ac_try) 2>&5 29981.6Stv ac_status=$? 29991.34Sthorpej echo "$as_me:2999: \$? = $ac_status" >&5 30001.6Stv (exit $ac_status); }; }; then 30011.9Stv ac_cv_type_uint8_t=yes 30021.9Stvelse 30031.9Stv echo "$as_me: failed program was:" >&5 30041.9Stvcat conftest.$ac_ext >&5 30051.9Stvac_cv_type_uint8_t=no 30061.9Stvfi 30071.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 30081.9Stvfi 30091.34Sthorpejecho "$as_me:3009: result: $ac_cv_type_uint8_t" >&5 30101.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6 30111.9Stvif test $ac_cv_type_uint8_t = yes; then 30121.9Stv : 30131.9Stvelse 30141.9Stv 30151.34Sthorpej echo "$as_me:3015: checking for u_int8_t" >&5 30161.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6 30171.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then 30181.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 30191.9Stvelse 30201.9Stv cat >conftest.$ac_ext <<_ACEOF 30211.34Sthorpej#line 3021 "configure" 30221.9Stv#include "confdefs.h" 30231.9Stv$ac_includes_default 30241.9Stvint 30251.9Stvmain () 30261.9Stv{ 30271.9Stvif ((u_int8_t *) 0) 30281.9Stv return 0; 30291.9Stvif (sizeof (u_int8_t)) 30301.9Stv return 0; 30311.9Stv ; 30321.9Stv return 0; 30331.9Stv} 30341.9Stv_ACEOF 30351.9Stvrm -f conftest.$ac_objext 30361.34Sthorpejif { (eval echo "$as_me:3036: \"$ac_compile\"") >&5 30371.9Stv (eval $ac_compile) 2>&5 30381.9Stv ac_status=$? 30391.34Sthorpej echo "$as_me:3039: \$? = $ac_status" >&5 30401.9Stv (exit $ac_status); } && 30411.9Stv { ac_try='test -s conftest.$ac_objext' 30421.34Sthorpej { (eval echo "$as_me:3042: \"$ac_try\"") >&5 30431.9Stv (eval $ac_try) 2>&5 30441.9Stv ac_status=$? 30451.34Sthorpej echo "$as_me:3045: \$? = $ac_status" >&5 30461.9Stv (exit $ac_status); }; }; then 30471.6Stv ac_cv_type_u_int8_t=yes 30481.6Stvelse 30491.6Stv echo "$as_me: failed program was:" >&5 30501.6Stvcat conftest.$ac_ext >&5 30511.6Stvac_cv_type_u_int8_t=no 30521.6Stvfi 30531.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 30541.6Stvfi 30551.34Sthorpejecho "$as_me:3055: result: $ac_cv_type_u_int8_t" >&5 30561.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6 30571.9Stvif test $ac_cv_type_u_int8_t = yes; then 30581.9Stv cat >>confdefs.h <<\EOF 30591.9Stv#define uint8_t u_int8_t 30601.9StvEOF 30611.9Stv 30621.9Stvelse 30631.34Sthorpej { { echo "$as_me:3063: error: cannot find a suitable type for uint8_t" >&5 30641.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;} 30651.9Stv { (exit 1); exit 1; }; } 30661.9Stvfi 30671.9Stv 30681.9Stvfi 30691.9Stv 30701.34Sthorpej echo "$as_me:3070: checking for u_int8_t" >&5 30711.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6 30721.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then 30731.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 30741.9Stvelse 30751.9Stv cat >conftest.$ac_ext <<_ACEOF 30761.34Sthorpej#line 3076 "configure" 30771.9Stv#include "confdefs.h" 30781.9Stv$ac_includes_default 30791.9Stvint 30801.9Stvmain () 30811.9Stv{ 30821.9Stvif ((u_int8_t *) 0) 30831.9Stv return 0; 30841.9Stvif (sizeof (u_int8_t)) 30851.9Stv return 0; 30861.9Stv ; 30871.9Stv return 0; 30881.9Stv} 30891.9Stv_ACEOF 30901.9Stvrm -f conftest.$ac_objext 30911.34Sthorpejif { (eval echo "$as_me:3091: \"$ac_compile\"") >&5 30921.9Stv (eval $ac_compile) 2>&5 30931.9Stv ac_status=$? 30941.34Sthorpej echo "$as_me:3094: \$? = $ac_status" >&5 30951.9Stv (exit $ac_status); } && 30961.9Stv { ac_try='test -s conftest.$ac_objext' 30971.34Sthorpej { (eval echo "$as_me:3097: \"$ac_try\"") >&5 30981.9Stv (eval $ac_try) 2>&5 30991.9Stv ac_status=$? 31001.34Sthorpej echo "$as_me:3100: \$? = $ac_status" >&5 31011.9Stv (exit $ac_status); }; }; then 31021.9Stv ac_cv_type_u_int8_t=yes 31031.9Stvelse 31041.9Stv echo "$as_me: failed program was:" >&5 31051.9Stvcat conftest.$ac_ext >&5 31061.9Stvac_cv_type_u_int8_t=no 31071.9Stvfi 31081.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 31091.9Stvfi 31101.34Sthorpejecho "$as_me:3110: result: $ac_cv_type_u_int8_t" >&5 31111.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6 31121.6Stvif test $ac_cv_type_u_int8_t = yes; then 31131.6Stv : 31141.6Stvelse 31151.6Stv 31161.34Sthorpej echo "$as_me:3116: checking for uint8_t" >&5 31171.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6 31181.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then 31191.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 31201.6Stvelse 31211.6Stv cat >conftest.$ac_ext <<_ACEOF 31221.34Sthorpej#line 3122 "configure" 31231.6Stv#include "confdefs.h" 31241.6Stv$ac_includes_default 31251.6Stvint 31261.6Stvmain () 31271.6Stv{ 31281.6Stvif ((uint8_t *) 0) 31291.6Stv return 0; 31301.6Stvif (sizeof (uint8_t)) 31311.6Stv return 0; 31321.6Stv ; 31331.6Stv return 0; 31341.6Stv} 31351.6Stv_ACEOF 31361.6Stvrm -f conftest.$ac_objext 31371.34Sthorpejif { (eval echo "$as_me:3137: \"$ac_compile\"") >&5 31381.6Stv (eval $ac_compile) 2>&5 31391.6Stv ac_status=$? 31401.34Sthorpej echo "$as_me:3140: \$? = $ac_status" >&5 31411.6Stv (exit $ac_status); } && 31421.6Stv { ac_try='test -s conftest.$ac_objext' 31431.34Sthorpej { (eval echo "$as_me:3143: \"$ac_try\"") >&5 31441.6Stv (eval $ac_try) 2>&5 31451.6Stv ac_status=$? 31461.34Sthorpej echo "$as_me:3146: \$? = $ac_status" >&5 31471.6Stv (exit $ac_status); }; }; then 31481.6Stv ac_cv_type_uint8_t=yes 31491.4Stvelse 31501.4Stv echo "$as_me: failed program was:" >&5 31511.6Stvcat conftest.$ac_ext >&5 31521.6Stvac_cv_type_uint8_t=no 31531.4Stvfi 31541.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 31551.4Stvfi 31561.34Sthorpejecho "$as_me:3156: result: $ac_cv_type_uint8_t" >&5 31571.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6 31581.6Stvif test $ac_cv_type_uint8_t = yes; then 31591.6Stv cat >>confdefs.h <<\EOF 31601.6Stv#define u_int8_t uint8_t 31611.4StvEOF 31621.4Stv 31631.6Stvelse 31641.34Sthorpej { { echo "$as_me:3164: error: cannot find a suitable type for u_int8_t" >&5 31651.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;} 31661.6Stv { (exit 1); exit 1; }; } 31671.6Stvfi 31681.6Stv 31691.4Stvfi 31701.4Stv 31711.34Sthorpej echo "$as_me:3171: checking for uint16_t" >&5 31721.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6 31731.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then 31741.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 31751.9Stvelse 31761.9Stv cat >conftest.$ac_ext <<_ACEOF 31771.34Sthorpej#line 3177 "configure" 31781.9Stv#include "confdefs.h" 31791.9Stv$ac_includes_default 31801.9Stvint 31811.9Stvmain () 31821.9Stv{ 31831.9Stvif ((uint16_t *) 0) 31841.9Stv return 0; 31851.9Stvif (sizeof (uint16_t)) 31861.9Stv return 0; 31871.9Stv ; 31881.9Stv return 0; 31891.9Stv} 31901.9Stv_ACEOF 31911.9Stvrm -f conftest.$ac_objext 31921.34Sthorpejif { (eval echo "$as_me:3192: \"$ac_compile\"") >&5 31931.9Stv (eval $ac_compile) 2>&5 31941.9Stv ac_status=$? 31951.34Sthorpej echo "$as_me:3195: \$? = $ac_status" >&5 31961.9Stv (exit $ac_status); } && 31971.9Stv { ac_try='test -s conftest.$ac_objext' 31981.34Sthorpej { (eval echo "$as_me:3198: \"$ac_try\"") >&5 31991.9Stv (eval $ac_try) 2>&5 32001.9Stv ac_status=$? 32011.34Sthorpej echo "$as_me:3201: \$? = $ac_status" >&5 32021.9Stv (exit $ac_status); }; }; then 32031.9Stv ac_cv_type_uint16_t=yes 32041.9Stvelse 32051.9Stv echo "$as_me: failed program was:" >&5 32061.9Stvcat conftest.$ac_ext >&5 32071.9Stvac_cv_type_uint16_t=no 32081.9Stvfi 32091.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 32101.9Stvfi 32111.34Sthorpejecho "$as_me:3211: result: $ac_cv_type_uint16_t" >&5 32121.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6 32131.9Stvif test $ac_cv_type_uint16_t = yes; then 32141.9Stv : 32151.9Stvelse 32161.9Stv 32171.34Sthorpej echo "$as_me:3217: checking for u_int16_t" >&5 32181.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 32191.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then 32201.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 32211.9Stvelse 32221.9Stv cat >conftest.$ac_ext <<_ACEOF 32231.34Sthorpej#line 3223 "configure" 32241.9Stv#include "confdefs.h" 32251.9Stv$ac_includes_default 32261.9Stvint 32271.9Stvmain () 32281.9Stv{ 32291.9Stvif ((u_int16_t *) 0) 32301.9Stv return 0; 32311.9Stvif (sizeof (u_int16_t)) 32321.9Stv return 0; 32331.9Stv ; 32341.9Stv return 0; 32351.9Stv} 32361.9Stv_ACEOF 32371.9Stvrm -f conftest.$ac_objext 32381.34Sthorpejif { (eval echo "$as_me:3238: \"$ac_compile\"") >&5 32391.9Stv (eval $ac_compile) 2>&5 32401.9Stv ac_status=$? 32411.34Sthorpej echo "$as_me:3241: \$? = $ac_status" >&5 32421.9Stv (exit $ac_status); } && 32431.9Stv { ac_try='test -s conftest.$ac_objext' 32441.34Sthorpej { (eval echo "$as_me:3244: \"$ac_try\"") >&5 32451.9Stv (eval $ac_try) 2>&5 32461.9Stv ac_status=$? 32471.34Sthorpej echo "$as_me:3247: \$? = $ac_status" >&5 32481.9Stv (exit $ac_status); }; }; then 32491.9Stv ac_cv_type_u_int16_t=yes 32501.9Stvelse 32511.9Stv echo "$as_me: failed program was:" >&5 32521.9Stvcat conftest.$ac_ext >&5 32531.9Stvac_cv_type_u_int16_t=no 32541.9Stvfi 32551.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 32561.9Stvfi 32571.34Sthorpejecho "$as_me:3257: result: $ac_cv_type_u_int16_t" >&5 32581.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6 32591.9Stvif test $ac_cv_type_u_int16_t = yes; then 32601.9Stv cat >>confdefs.h <<\EOF 32611.9Stv#define uint16_t u_int16_t 32621.9StvEOF 32631.9Stv 32641.9Stvelse 32651.34Sthorpej { { echo "$as_me:3265: error: cannot find a suitable type for uint16_t" >&5 32661.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;} 32671.9Stv { (exit 1); exit 1; }; } 32681.9Stvfi 32691.9Stv 32701.9Stvfi 32711.9Stv 32721.34Sthorpej echo "$as_me:3272: checking for u_int16_t" >&5 32731.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 32741.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then 32751.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 32761.1Stvelse 32771.1Stv cat >conftest.$ac_ext <<_ACEOF 32781.34Sthorpej#line 3278 "configure" 32791.1Stv#include "confdefs.h" 32801.6Stv$ac_includes_default 32811.6Stvint 32821.6Stvmain () 32831.6Stv{ 32841.6Stvif ((u_int16_t *) 0) 32851.6Stv return 0; 32861.6Stvif (sizeof (u_int16_t)) 32871.6Stv return 0; 32881.6Stv ; 32891.6Stv return 0; 32901.6Stv} 32911.1Stv_ACEOF 32921.6Stvrm -f conftest.$ac_objext 32931.34Sthorpejif { (eval echo "$as_me:3293: \"$ac_compile\"") >&5 32941.6Stv (eval $ac_compile) 2>&5 32951.6Stv ac_status=$? 32961.34Sthorpej echo "$as_me:3296: \$? = $ac_status" >&5 32971.6Stv (exit $ac_status); } && 32981.6Stv { ac_try='test -s conftest.$ac_objext' 32991.34Sthorpej { (eval echo "$as_me:3299: \"$ac_try\"") >&5 33001.6Stv (eval $ac_try) 2>&5 33011.1Stv ac_status=$? 33021.34Sthorpej echo "$as_me:3302: \$? = $ac_status" >&5 33031.6Stv (exit $ac_status); }; }; then 33041.6Stv ac_cv_type_u_int16_t=yes 33051.1Stvelse 33061.6Stv echo "$as_me: failed program was:" >&5 33071.6Stvcat conftest.$ac_ext >&5 33081.6Stvac_cv_type_u_int16_t=no 33091.6Stvfi 33101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 33111.1Stvfi 33121.34Sthorpejecho "$as_me:3312: result: $ac_cv_type_u_int16_t" >&5 33131.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6 33141.6Stvif test $ac_cv_type_u_int16_t = yes; then 33151.6Stv : 33161.1Stvelse 33171.1Stv 33181.34Sthorpej echo "$as_me:3318: checking for uint16_t" >&5 33191.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6 33201.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then 33211.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 33221.6Stvelse 33231.1Stv cat >conftest.$ac_ext <<_ACEOF 33241.34Sthorpej#line 3324 "configure" 33251.1Stv#include "confdefs.h" 33261.6Stv$ac_includes_default 33271.6Stvint 33281.6Stvmain () 33291.6Stv{ 33301.6Stvif ((uint16_t *) 0) 33311.6Stv return 0; 33321.6Stvif (sizeof (uint16_t)) 33331.6Stv return 0; 33341.6Stv ; 33351.6Stv return 0; 33361.6Stv} 33371.1Stv_ACEOF 33381.6Stvrm -f conftest.$ac_objext 33391.34Sthorpejif { (eval echo "$as_me:3339: \"$ac_compile\"") >&5 33401.6Stv (eval $ac_compile) 2>&5 33411.6Stv ac_status=$? 33421.34Sthorpej echo "$as_me:3342: \$? = $ac_status" >&5 33431.6Stv (exit $ac_status); } && 33441.6Stv { ac_try='test -s conftest.$ac_objext' 33451.34Sthorpej { (eval echo "$as_me:3345: \"$ac_try\"") >&5 33461.6Stv (eval $ac_try) 2>&5 33471.6Stv ac_status=$? 33481.34Sthorpej echo "$as_me:3348: \$? = $ac_status" >&5 33491.6Stv (exit $ac_status); }; }; then 33501.6Stv ac_cv_type_uint16_t=yes 33511.1Stvelse 33521.6Stv echo "$as_me: failed program was:" >&5 33531.6Stvcat conftest.$ac_ext >&5 33541.6Stvac_cv_type_uint16_t=no 33551.1Stvfi 33561.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 33571.1Stvfi 33581.34Sthorpejecho "$as_me:3358: result: $ac_cv_type_uint16_t" >&5 33591.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6 33601.6Stvif test $ac_cv_type_uint16_t = yes; then 33611.6Stv cat >>confdefs.h <<\EOF 33621.6Stv#define u_int16_t uint16_t 33631.6StvEOF 33641.1Stv 33651.1Stvelse 33661.34Sthorpej { { echo "$as_me:3366: error: cannot find a suitable type for u_int16_t" >&5 33671.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;} 33681.6Stv { (exit 1); exit 1; }; } 33691.1Stvfi 33701.1Stv 33711.1Stvfi 33721.1Stv 33731.34Sthorpej echo "$as_me:3373: checking for uint32_t" >&5 33741.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6 33751.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then 33761.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 33771.9Stvelse 33781.9Stv cat >conftest.$ac_ext <<_ACEOF 33791.34Sthorpej#line 3379 "configure" 33801.9Stv#include "confdefs.h" 33811.9Stv$ac_includes_default 33821.9Stvint 33831.9Stvmain () 33841.9Stv{ 33851.9Stvif ((uint32_t *) 0) 33861.9Stv return 0; 33871.9Stvif (sizeof (uint32_t)) 33881.9Stv return 0; 33891.9Stv ; 33901.9Stv return 0; 33911.9Stv} 33921.9Stv_ACEOF 33931.9Stvrm -f conftest.$ac_objext 33941.34Sthorpejif { (eval echo "$as_me:3394: \"$ac_compile\"") >&5 33951.9Stv (eval $ac_compile) 2>&5 33961.9Stv ac_status=$? 33971.34Sthorpej echo "$as_me:3397: \$? = $ac_status" >&5 33981.9Stv (exit $ac_status); } && 33991.9Stv { ac_try='test -s conftest.$ac_objext' 34001.34Sthorpej { (eval echo "$as_me:3400: \"$ac_try\"") >&5 34011.9Stv (eval $ac_try) 2>&5 34021.9Stv ac_status=$? 34031.34Sthorpej echo "$as_me:3403: \$? = $ac_status" >&5 34041.9Stv (exit $ac_status); }; }; then 34051.9Stv ac_cv_type_uint32_t=yes 34061.9Stvelse 34071.9Stv echo "$as_me: failed program was:" >&5 34081.9Stvcat conftest.$ac_ext >&5 34091.9Stvac_cv_type_uint32_t=no 34101.9Stvfi 34111.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 34121.9Stvfi 34131.34Sthorpejecho "$as_me:3413: result: $ac_cv_type_uint32_t" >&5 34141.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6 34151.9Stvif test $ac_cv_type_uint32_t = yes; then 34161.9Stv : 34171.9Stvelse 34181.9Stv 34191.34Sthorpej echo "$as_me:3419: checking for u_int32_t" >&5 34201.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 34211.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then 34221.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 34231.1Stvelse 34241.1Stv cat >conftest.$ac_ext <<_ACEOF 34251.34Sthorpej#line 3425 "configure" 34261.9Stv#include "confdefs.h" 34271.9Stv$ac_includes_default 34281.9Stvint 34291.9Stvmain () 34301.9Stv{ 34311.9Stvif ((u_int32_t *) 0) 34321.9Stv return 0; 34331.9Stvif (sizeof (u_int32_t)) 34341.9Stv return 0; 34351.9Stv ; 34361.9Stv return 0; 34371.9Stv} 34381.9Stv_ACEOF 34391.9Stvrm -f conftest.$ac_objext 34401.34Sthorpejif { (eval echo "$as_me:3440: \"$ac_compile\"") >&5 34411.9Stv (eval $ac_compile) 2>&5 34421.9Stv ac_status=$? 34431.34Sthorpej echo "$as_me:3443: \$? = $ac_status" >&5 34441.9Stv (exit $ac_status); } && 34451.9Stv { ac_try='test -s conftest.$ac_objext' 34461.34Sthorpej { (eval echo "$as_me:3446: \"$ac_try\"") >&5 34471.9Stv (eval $ac_try) 2>&5 34481.9Stv ac_status=$? 34491.34Sthorpej echo "$as_me:3449: \$? = $ac_status" >&5 34501.9Stv (exit $ac_status); }; }; then 34511.9Stv ac_cv_type_u_int32_t=yes 34521.9Stvelse 34531.9Stv echo "$as_me: failed program was:" >&5 34541.9Stvcat conftest.$ac_ext >&5 34551.9Stvac_cv_type_u_int32_t=no 34561.9Stvfi 34571.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 34581.9Stvfi 34591.34Sthorpejecho "$as_me:3459: result: $ac_cv_type_u_int32_t" >&5 34601.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6 34611.9Stvif test $ac_cv_type_u_int32_t = yes; then 34621.9Stv cat >>confdefs.h <<\EOF 34631.9Stv#define uint32_t u_int32_t 34641.9StvEOF 34651.9Stv 34661.9Stvelse 34671.34Sthorpej { { echo "$as_me:3467: error: cannot find a suitable type for uint32_t" >&5 34681.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;} 34691.9Stv { (exit 1); exit 1; }; } 34701.9Stvfi 34711.9Stv 34721.9Stvfi 34731.9Stv 34741.34Sthorpej echo "$as_me:3474: checking for u_int32_t" >&5 34751.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 34761.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then 34771.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 34781.9Stvelse 34791.9Stv cat >conftest.$ac_ext <<_ACEOF 34801.34Sthorpej#line 3480 "configure" 34811.1Stv#include "confdefs.h" 34821.6Stv$ac_includes_default 34831.1Stvint 34841.1Stvmain () 34851.1Stv{ 34861.6Stvif ((u_int32_t *) 0) 34871.6Stv return 0; 34881.6Stvif (sizeof (u_int32_t)) 34891.6Stv return 0; 34901.6Stv ; 34911.6Stv return 0; 34921.1Stv} 34931.1Stv_ACEOF 34941.6Stvrm -f conftest.$ac_objext 34951.34Sthorpejif { (eval echo "$as_me:3495: \"$ac_compile\"") >&5 34961.6Stv (eval $ac_compile) 2>&5 34971.1Stv ac_status=$? 34981.34Sthorpej echo "$as_me:3498: \$? = $ac_status" >&5 34991.6Stv (exit $ac_status); } && 35001.6Stv { ac_try='test -s conftest.$ac_objext' 35011.34Sthorpej { (eval echo "$as_me:3501: \"$ac_try\"") >&5 35021.1Stv (eval $ac_try) 2>&5 35031.1Stv ac_status=$? 35041.34Sthorpej echo "$as_me:3504: \$? = $ac_status" >&5 35051.1Stv (exit $ac_status); }; }; then 35061.6Stv ac_cv_type_u_int32_t=yes 35071.1Stvelse 35081.6Stv echo "$as_me: failed program was:" >&5 35091.1Stvcat conftest.$ac_ext >&5 35101.6Stvac_cv_type_u_int32_t=no 35111.1Stvfi 35121.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 35131.1Stvfi 35141.34Sthorpejecho "$as_me:3514: result: $ac_cv_type_u_int32_t" >&5 35151.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6 35161.6Stvif test $ac_cv_type_u_int32_t = yes; then 35171.6Stv : 35181.6Stvelse 35191.1Stv 35201.34Sthorpej echo "$as_me:3520: checking for uint32_t" >&5 35211.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6 35221.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then 35231.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 35241.1Stvelse 35251.1Stv cat >conftest.$ac_ext <<_ACEOF 35261.34Sthorpej#line 3526 "configure" 35271.1Stv#include "confdefs.h" 35281.1Stv$ac_includes_default 35291.6Stvint 35301.6Stvmain () 35311.6Stv{ 35321.6Stvif ((uint32_t *) 0) 35331.6Stv return 0; 35341.6Stvif (sizeof (uint32_t)) 35351.6Stv return 0; 35361.6Stv ; 35371.6Stv return 0; 35381.6Stv} 35391.1Stv_ACEOF 35401.1Stvrm -f conftest.$ac_objext 35411.34Sthorpejif { (eval echo "$as_me:3541: \"$ac_compile\"") >&5 35421.1Stv (eval $ac_compile) 2>&5 35431.1Stv ac_status=$? 35441.34Sthorpej echo "$as_me:3544: \$? = $ac_status" >&5 35451.1Stv (exit $ac_status); } && 35461.1Stv { ac_try='test -s conftest.$ac_objext' 35471.34Sthorpej { (eval echo "$as_me:3547: \"$ac_try\"") >&5 35481.1Stv (eval $ac_try) 2>&5 35491.1Stv ac_status=$? 35501.34Sthorpej echo "$as_me:3550: \$? = $ac_status" >&5 35511.1Stv (exit $ac_status); }; }; then 35521.6Stv ac_cv_type_uint32_t=yes 35531.1Stvelse 35541.1Stv echo "$as_me: failed program was:" >&5 35551.1Stvcat conftest.$ac_ext >&5 35561.6Stvac_cv_type_uint32_t=no 35571.1Stvfi 35581.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 35591.1Stvfi 35601.34Sthorpejecho "$as_me:3560: result: $ac_cv_type_uint32_t" >&5 35611.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6 35621.6Stvif test $ac_cv_type_uint32_t = yes; then 35631.6Stv cat >>confdefs.h <<\EOF 35641.6Stv#define u_int32_t uint32_t 35651.1StvEOF 35661.1Stv 35671.6Stvelse 35681.34Sthorpej { { echo "$as_me:3568: error: cannot find a suitable type for u_int32_t" >&5 35691.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;} 35701.6Stv { (exit 1); exit 1; }; } 35711.6Stvfi 35721.6Stv 35731.1Stvfi 35741.1Stv 35751.34Sthorpej echo "$as_me:3575: checking for uint64_t" >&5 35761.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6 35771.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then 35781.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 35791.9Stvelse 35801.9Stv cat >conftest.$ac_ext <<_ACEOF 35811.34Sthorpej#line 3581 "configure" 35821.9Stv#include "confdefs.h" 35831.9Stv$ac_includes_default 35841.9Stvint 35851.9Stvmain () 35861.9Stv{ 35871.9Stvif ((uint64_t *) 0) 35881.9Stv return 0; 35891.9Stvif (sizeof (uint64_t)) 35901.9Stv return 0; 35911.9Stv ; 35921.9Stv return 0; 35931.9Stv} 35941.9Stv_ACEOF 35951.9Stvrm -f conftest.$ac_objext 35961.34Sthorpejif { (eval echo "$as_me:3596: \"$ac_compile\"") >&5 35971.9Stv (eval $ac_compile) 2>&5 35981.9Stv ac_status=$? 35991.34Sthorpej echo "$as_me:3599: \$? = $ac_status" >&5 36001.9Stv (exit $ac_status); } && 36011.9Stv { ac_try='test -s conftest.$ac_objext' 36021.34Sthorpej { (eval echo "$as_me:3602: \"$ac_try\"") >&5 36031.9Stv (eval $ac_try) 2>&5 36041.9Stv ac_status=$? 36051.34Sthorpej echo "$as_me:3605: \$? = $ac_status" >&5 36061.9Stv (exit $ac_status); }; }; then 36071.9Stv ac_cv_type_uint64_t=yes 36081.9Stvelse 36091.9Stv echo "$as_me: failed program was:" >&5 36101.9Stvcat conftest.$ac_ext >&5 36111.9Stvac_cv_type_uint64_t=no 36121.9Stvfi 36131.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 36141.9Stvfi 36151.34Sthorpejecho "$as_me:3615: result: $ac_cv_type_uint64_t" >&5 36161.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6 36171.9Stvif test $ac_cv_type_uint64_t = yes; then 36181.9Stv : 36191.9Stvelse 36201.9Stv 36211.34Sthorpej echo "$as_me:3621: checking for u_int64_t" >&5 36221.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6 36231.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then 36241.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 36251.9Stvelse 36261.9Stv cat >conftest.$ac_ext <<_ACEOF 36271.34Sthorpej#line 3627 "configure" 36281.9Stv#include "confdefs.h" 36291.9Stv$ac_includes_default 36301.9Stvint 36311.9Stvmain () 36321.9Stv{ 36331.9Stvif ((u_int64_t *) 0) 36341.9Stv return 0; 36351.9Stvif (sizeof (u_int64_t)) 36361.9Stv return 0; 36371.9Stv ; 36381.9Stv return 0; 36391.9Stv} 36401.9Stv_ACEOF 36411.9Stvrm -f conftest.$ac_objext 36421.34Sthorpejif { (eval echo "$as_me:3642: \"$ac_compile\"") >&5 36431.9Stv (eval $ac_compile) 2>&5 36441.9Stv ac_status=$? 36451.34Sthorpej echo "$as_me:3645: \$? = $ac_status" >&5 36461.9Stv (exit $ac_status); } && 36471.9Stv { ac_try='test -s conftest.$ac_objext' 36481.34Sthorpej { (eval echo "$as_me:3648: \"$ac_try\"") >&5 36491.9Stv (eval $ac_try) 2>&5 36501.9Stv ac_status=$? 36511.34Sthorpej echo "$as_me:3651: \$? = $ac_status" >&5 36521.9Stv (exit $ac_status); }; }; then 36531.9Stv ac_cv_type_u_int64_t=yes 36541.9Stvelse 36551.9Stv echo "$as_me: failed program was:" >&5 36561.9Stvcat conftest.$ac_ext >&5 36571.9Stvac_cv_type_u_int64_t=no 36581.9Stvfi 36591.9Stvrm -f conftest.$ac_objext conftest.$ac_ext 36601.9Stvfi 36611.34Sthorpejecho "$as_me:3661: result: $ac_cv_type_u_int64_t" >&5 36621.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6 36631.9Stvif test $ac_cv_type_u_int64_t = yes; then 36641.9Stv cat >>confdefs.h <<\EOF 36651.9Stv#define uint64_t u_int64_t 36661.9StvEOF 36671.9Stv 36681.9Stvelse 36691.34Sthorpej { { echo "$as_me:3669: error: cannot find a suitable type for uint64_t" >&5 36701.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;} 36711.9Stv { (exit 1); exit 1; }; } 36721.9Stvfi 36731.9Stv 36741.9Stvfi 36751.9Stv 36761.34Sthorpej echo "$as_me:3676: checking for u_int64_t" >&5 36771.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6 36781.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then 36791.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 36801.1Stvelse 36811.1Stv cat >conftest.$ac_ext <<_ACEOF 36821.34Sthorpej#line 3682 "configure" 36831.1Stv#include "confdefs.h" 36841.1Stv$ac_includes_default 36851.1Stvint 36861.1Stvmain () 36871.1Stv{ 36881.6Stvif ((u_int64_t *) 0) 36891.1Stv return 0; 36901.6Stvif (sizeof (u_int64_t)) 36911.1Stv return 0; 36921.1Stv ; 36931.1Stv return 0; 36941.1Stv} 36951.1Stv_ACEOF 36961.1Stvrm -f conftest.$ac_objext 36971.34Sthorpejif { (eval echo "$as_me:3697: \"$ac_compile\"") >&5 36981.1Stv (eval $ac_compile) 2>&5 36991.1Stv ac_status=$? 37001.34Sthorpej echo "$as_me:3700: \$? = $ac_status" >&5 37011.1Stv (exit $ac_status); } && 37021.1Stv { ac_try='test -s conftest.$ac_objext' 37031.34Sthorpej { (eval echo "$as_me:3703: \"$ac_try\"") >&5 37041.1Stv (eval $ac_try) 2>&5 37051.1Stv ac_status=$? 37061.34Sthorpej echo "$as_me:3706: \$? = $ac_status" >&5 37071.1Stv (exit $ac_status); }; }; then 37081.6Stv ac_cv_type_u_int64_t=yes 37091.1Stvelse 37101.1Stv echo "$as_me: failed program was:" >&5 37111.1Stvcat conftest.$ac_ext >&5 37121.6Stvac_cv_type_u_int64_t=no 37131.1Stvfi 37141.1Stvrm -f conftest.$ac_objext conftest.$ac_ext 37151.1Stvfi 37161.34Sthorpejecho "$as_me:3716: result: $ac_cv_type_u_int64_t" >&5 37171.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6 37181.6Stvif test $ac_cv_type_u_int64_t = yes; then 37191.1Stv : 37201.1Stvelse 37211.1Stv 37221.34Sthorpej echo "$as_me:3722: checking for uint64_t" >&5 37231.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6 37241.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then 37251.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 37261.1Stvelse 37271.1Stv cat >conftest.$ac_ext <<_ACEOF 37281.34Sthorpej#line 3728 "configure" 37291.1Stv#include "confdefs.h" 37301.4Stv$ac_includes_default 37311.4Stvint 37321.4Stvmain () 37331.4Stv{ 37341.6Stvif ((uint64_t *) 0) 37351.4Stv return 0; 37361.6Stvif (sizeof (uint64_t)) 37371.4Stv return 0; 37381.4Stv ; 37391.4Stv return 0; 37401.4Stv} 37411.1Stv_ACEOF 37421.4Stvrm -f conftest.$ac_objext 37431.34Sthorpejif { (eval echo "$as_me:3743: \"$ac_compile\"") >&5 37441.4Stv (eval $ac_compile) 2>&5 37451.4Stv ac_status=$? 37461.34Sthorpej echo "$as_me:3746: \$? = $ac_status" >&5 37471.4Stv (exit $ac_status); } && 37481.4Stv { ac_try='test -s conftest.$ac_objext' 37491.34Sthorpej { (eval echo "$as_me:3749: \"$ac_try\"") >&5 37501.4Stv (eval $ac_try) 2>&5 37511.4Stv ac_status=$? 37521.34Sthorpej echo "$as_me:3752: \$? = $ac_status" >&5 37531.4Stv (exit $ac_status); }; }; then 37541.6Stv ac_cv_type_uint64_t=yes 37551.4Stvelse 37561.4Stv echo "$as_me: failed program was:" >&5 37571.4Stvcat conftest.$ac_ext >&5 37581.6Stvac_cv_type_uint64_t=no 37591.4Stvfi 37601.4Stvrm -f conftest.$ac_objext conftest.$ac_ext 37611.4Stvfi 37621.34Sthorpejecho "$as_me:3762: result: $ac_cv_type_uint64_t" >&5 37631.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6 37641.6Stvif test $ac_cv_type_uint64_t = yes; then 37651.6Stv cat >>confdefs.h <<\EOF 37661.6Stv#define u_int64_t uint64_t 37671.6StvEOF 37681.4Stv 37691.6Stvelse 37701.34Sthorpej { { echo "$as_me:3770: error: cannot find a suitable type for u_int64_t" >&5 37711.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;} 37721.6Stv { (exit 1); exit 1; }; } 37731.6Stvfi 37741.4Stv 37751.4Stvfi 37761.4Stv 37771.4Stv# Struct members. 37781.34Sthorpejecho "$as_me:3778: checking for DIR.dd_fd" >&5 37791.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6 37801.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then 37811.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 37821.7Stvelse 37831.7Stv cat >conftest.$ac_ext <<_ACEOF 37841.34Sthorpej#line 3784 "configure" 37851.7Stv#include "confdefs.h" 37861.32Sthorpej#include <sys/types.h> 37871.7Stv#include <dirent.h> 37881.7Stv 37891.7Stvint 37901.7Stvmain () 37911.7Stv{ 37921.7Stvstatic DIR ac_aggr; 37931.7Stvif (ac_aggr.dd_fd) 37941.7Stvreturn 0; 37951.7Stv ; 37961.7Stv return 0; 37971.7Stv} 37981.7Stv_ACEOF 37991.7Stvrm -f conftest.$ac_objext 38001.34Sthorpejif { (eval echo "$as_me:3800: \"$ac_compile\"") >&5 38011.7Stv (eval $ac_compile) 2>&5 38021.7Stv ac_status=$? 38031.34Sthorpej echo "$as_me:3803: \$? = $ac_status" >&5 38041.7Stv (exit $ac_status); } && 38051.7Stv { ac_try='test -s conftest.$ac_objext' 38061.34Sthorpej { (eval echo "$as_me:3806: \"$ac_try\"") >&5 38071.7Stv (eval $ac_try) 2>&5 38081.7Stv ac_status=$? 38091.34Sthorpej echo "$as_me:3809: \$? = $ac_status" >&5 38101.7Stv (exit $ac_status); }; }; then 38111.7Stv ac_cv_member_DIR_dd_fd=yes 38121.7Stvelse 38131.7Stv echo "$as_me: failed program was:" >&5 38141.7Stvcat conftest.$ac_ext >&5 38151.7Stvac_cv_member_DIR_dd_fd=no 38161.7Stvfi 38171.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 38181.7Stvfi 38191.34Sthorpejecho "$as_me:3819: result: $ac_cv_member_DIR_dd_fd" >&5 38201.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6 38211.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then 38221.7Stv 38231.7Stvcat >>confdefs.h <<EOF 38241.7Stv#define HAVE_DIR_DD_FD 1 38251.7StvEOF 38261.7Stv 38271.7Stvfi 38281.34Sthorpejecho "$as_me:3828: checking for struct dirent.d_namlen" >&5 38291.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6 38301.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then 38311.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 38321.8Stvelse 38331.8Stv cat >conftest.$ac_ext <<_ACEOF 38341.34Sthorpej#line 3834 "configure" 38351.8Stv#include "confdefs.h" 38361.32Sthorpej#include <sys/types.h> 38371.8Stv#include <dirent.h> 38381.8Stv 38391.8Stvint 38401.8Stvmain () 38411.8Stv{ 38421.8Stvstatic struct dirent ac_aggr; 38431.8Stvif (ac_aggr.d_namlen) 38441.8Stvreturn 0; 38451.8Stv ; 38461.8Stv return 0; 38471.8Stv} 38481.8Stv_ACEOF 38491.8Stvrm -f conftest.$ac_objext 38501.34Sthorpejif { (eval echo "$as_me:3850: \"$ac_compile\"") >&5 38511.8Stv (eval $ac_compile) 2>&5 38521.8Stv ac_status=$? 38531.34Sthorpej echo "$as_me:3853: \$? = $ac_status" >&5 38541.8Stv (exit $ac_status); } && 38551.8Stv { ac_try='test -s conftest.$ac_objext' 38561.34Sthorpej { (eval echo "$as_me:3856: \"$ac_try\"") >&5 38571.8Stv (eval $ac_try) 2>&5 38581.8Stv ac_status=$? 38591.34Sthorpej echo "$as_me:3859: \$? = $ac_status" >&5 38601.8Stv (exit $ac_status); }; }; then 38611.8Stv ac_cv_member_struct_dirent_d_namlen=yes 38621.8Stvelse 38631.8Stv echo "$as_me: failed program was:" >&5 38641.8Stvcat conftest.$ac_ext >&5 38651.8Stvac_cv_member_struct_dirent_d_namlen=no 38661.8Stvfi 38671.8Stvrm -f conftest.$ac_objext conftest.$ac_ext 38681.8Stvfi 38691.34Sthorpejecho "$as_me:3869: result: $ac_cv_member_struct_dirent_d_namlen" >&5 38701.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6 38711.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then 38721.8Stv 38731.8Stvcat >>confdefs.h <<EOF 38741.8Stv#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 38751.8StvEOF 38761.8Stv 38771.8Stvfi 38781.7Stv 38791.34Sthorpejecho "$as_me:3879: checking for struct stat.st_flags" >&5 38801.4Stvecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6 38811.4Stvif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then 38821.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 38831.4Stvelse 38841.4Stv cat >conftest.$ac_ext <<_ACEOF 38851.34Sthorpej#line 3885 "configure" 38861.4Stv#include "confdefs.h" 38871.4Stv#include <sys/stat.h> 38881.4Stv 38891.4Stvint 38901.4Stvmain () 38911.4Stv{ 38921.4Stvstatic struct stat ac_aggr; 38931.4Stvif (ac_aggr.st_flags) 38941.4Stvreturn 0; 38951.4Stv ; 38961.4Stv return 0; 38971.4Stv} 38981.4Stv_ACEOF 38991.4Stvrm -f conftest.$ac_objext 39001.34Sthorpejif { (eval echo "$as_me:3900: \"$ac_compile\"") >&5 39011.4Stv (eval $ac_compile) 2>&5 39021.4Stv ac_status=$? 39031.34Sthorpej echo "$as_me:3903: \$? = $ac_status" >&5 39041.4Stv (exit $ac_status); } && 39051.4Stv { ac_try='test -s conftest.$ac_objext' 39061.34Sthorpej { (eval echo "$as_me:3906: \"$ac_try\"") >&5 39071.4Stv (eval $ac_try) 2>&5 39081.4Stv ac_status=$? 39091.34Sthorpej echo "$as_me:3909: \$? = $ac_status" >&5 39101.4Stv (exit $ac_status); }; }; then 39111.4Stv ac_cv_member_struct_stat_st_flags=yes 39121.4Stvelse 39131.4Stv echo "$as_me: failed program was:" >&5 39141.4Stvcat conftest.$ac_ext >&5 39151.4Stvac_cv_member_struct_stat_st_flags=no 39161.4Stvfi 39171.4Stvrm -f conftest.$ac_objext conftest.$ac_ext 39181.4Stvfi 39191.34Sthorpejecho "$as_me:3919: result: $ac_cv_member_struct_stat_st_flags" >&5 39201.4Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6 39211.4Stvif test $ac_cv_member_struct_stat_st_flags = yes; then 39221.4Stv 39231.4Stvcat >>confdefs.h <<EOF 39241.4Stv#define HAVE_STRUCT_STAT_ST_FLAGS 1 39251.4StvEOF 39261.4Stv 39271.4Stvfi 39281.34Sthorpejecho "$as_me:3928: checking for struct stat.st_gen" >&5 39291.7Stvecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6 39301.7Stvif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then 39311.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 39321.7Stvelse 39331.7Stv cat >conftest.$ac_ext <<_ACEOF 39341.34Sthorpej#line 3934 "configure" 39351.7Stv#include "confdefs.h" 39361.7Stv#include <sys/stat.h> 39371.7Stv 39381.7Stvint 39391.7Stvmain () 39401.7Stv{ 39411.7Stvstatic struct stat ac_aggr; 39421.7Stvif (ac_aggr.st_gen) 39431.7Stvreturn 0; 39441.7Stv ; 39451.7Stv return 0; 39461.7Stv} 39471.7Stv_ACEOF 39481.7Stvrm -f conftest.$ac_objext 39491.34Sthorpejif { (eval echo "$as_me:3949: \"$ac_compile\"") >&5 39501.7Stv (eval $ac_compile) 2>&5 39511.7Stv ac_status=$? 39521.34Sthorpej echo "$as_me:3952: \$? = $ac_status" >&5 39531.7Stv (exit $ac_status); } && 39541.7Stv { ac_try='test -s conftest.$ac_objext' 39551.34Sthorpej { (eval echo "$as_me:3955: \"$ac_try\"") >&5 39561.7Stv (eval $ac_try) 2>&5 39571.7Stv ac_status=$? 39581.34Sthorpej echo "$as_me:3958: \$? = $ac_status" >&5 39591.7Stv (exit $ac_status); }; }; then 39601.7Stv ac_cv_member_struct_stat_st_gen=yes 39611.7Stvelse 39621.7Stv echo "$as_me: failed program was:" >&5 39631.7Stvcat conftest.$ac_ext >&5 39641.7Stvac_cv_member_struct_stat_st_gen=no 39651.7Stvfi 39661.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 39671.7Stvfi 39681.34Sthorpejecho "$as_me:3968: result: $ac_cv_member_struct_stat_st_gen" >&5 39691.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6 39701.7Stvif test $ac_cv_member_struct_stat_st_gen = yes; then 39711.7Stv 39721.7Stvcat >>confdefs.h <<EOF 39731.7Stv#define HAVE_STRUCT_STAT_ST_GEN 1 39741.7StvEOF 39751.7Stv 39761.7Stvfi 39771.34Sthorpejecho "$as_me:3977: checking for struct stat.st_mtimensec" >&5 39781.7Stvecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6 39791.7Stvif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then 39801.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 39811.7Stvelse 39821.7Stv cat >conftest.$ac_ext <<_ACEOF 39831.34Sthorpej#line 3983 "configure" 39841.7Stv#include "confdefs.h" 39851.7Stv#include <sys/stat.h> 39861.7Stv 39871.7Stvint 39881.7Stvmain () 39891.7Stv{ 39901.7Stvstatic struct stat ac_aggr; 39911.7Stvif (ac_aggr.st_mtimensec) 39921.7Stvreturn 0; 39931.7Stv ; 39941.7Stv return 0; 39951.7Stv} 39961.7Stv_ACEOF 39971.7Stvrm -f conftest.$ac_objext 39981.34Sthorpejif { (eval echo "$as_me:3998: \"$ac_compile\"") >&5 39991.7Stv (eval $ac_compile) 2>&5 40001.7Stv ac_status=$? 40011.34Sthorpej echo "$as_me:4001: \$? = $ac_status" >&5 40021.7Stv (exit $ac_status); } && 40031.7Stv { ac_try='test -s conftest.$ac_objext' 40041.34Sthorpej { (eval echo "$as_me:4004: \"$ac_try\"") >&5 40051.7Stv (eval $ac_try) 2>&5 40061.7Stv ac_status=$? 40071.34Sthorpej echo "$as_me:4007: \$? = $ac_status" >&5 40081.7Stv (exit $ac_status); }; }; then 40091.7Stv ac_cv_member_struct_stat_st_mtimensec=yes 40101.7Stvelse 40111.7Stv echo "$as_me: failed program was:" >&5 40121.7Stvcat conftest.$ac_ext >&5 40131.7Stvac_cv_member_struct_stat_st_mtimensec=no 40141.7Stvfi 40151.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 40161.7Stvfi 40171.34Sthorpejecho "$as_me:4017: result: $ac_cv_member_struct_stat_st_mtimensec" >&5 40181.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6 40191.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then 40201.7Stv 40211.7Stvcat >>confdefs.h <<EOF 40221.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 40231.7StvEOF 40241.7Stv 40251.7Stvfi 40261.4Stv 40271.34Sthorpejecho "$as_me:4027: checking for struct statfs.f_iosize" >&5 40281.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6 40291.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then 40301.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 40311.6Stvelse 40321.6Stv cat >conftest.$ac_ext <<_ACEOF 40331.34Sthorpej#line 4033 "configure" 40341.6Stv#include "confdefs.h" 40351.7Stv#include <sys/mount.h> 40361.6Stv 40371.6Stvint 40381.6Stvmain () 40391.6Stv{ 40401.7Stvstatic struct statfs ac_aggr; 40411.7Stvif (ac_aggr.f_iosize) 40421.6Stvreturn 0; 40431.6Stv ; 40441.6Stv return 0; 40451.6Stv} 40461.6Stv_ACEOF 40471.6Stvrm -f conftest.$ac_objext 40481.34Sthorpejif { (eval echo "$as_me:4048: \"$ac_compile\"") >&5 40491.6Stv (eval $ac_compile) 2>&5 40501.6Stv ac_status=$? 40511.34Sthorpej echo "$as_me:4051: \$? = $ac_status" >&5 40521.6Stv (exit $ac_status); } && 40531.6Stv { ac_try='test -s conftest.$ac_objext' 40541.34Sthorpej { (eval echo "$as_me:4054: \"$ac_try\"") >&5 40551.6Stv (eval $ac_try) 2>&5 40561.6Stv ac_status=$? 40571.34Sthorpej echo "$as_me:4057: \$? = $ac_status" >&5 40581.6Stv (exit $ac_status); }; }; then 40591.7Stv ac_cv_member_struct_statfs_f_iosize=yes 40601.6Stvelse 40611.6Stv echo "$as_me: failed program was:" >&5 40621.6Stvcat conftest.$ac_ext >&5 40631.7Stvac_cv_member_struct_statfs_f_iosize=no 40641.6Stvfi 40651.6Stvrm -f conftest.$ac_objext conftest.$ac_ext 40661.6Stvfi 40671.34Sthorpejecho "$as_me:4067: result: $ac_cv_member_struct_statfs_f_iosize" >&5 40681.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6 40691.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then 40701.6Stv 40711.6Stvcat >>confdefs.h <<EOF 40721.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1 40731.6StvEOF 40741.6Stv 40751.6Stvfi 40761.6Stv 40771.4Stv# Global variable decls. 40781.34Sthorpejecho "$as_me:4078: checking whether optind is declared" >&5 40791.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6 40801.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then 40811.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 40821.7Stvelse 40831.7Stv cat >conftest.$ac_ext <<_ACEOF 40841.34Sthorpej#line 4084 "configure" 40851.7Stv#include "confdefs.h" 40861.7Stv 40871.7Stv#include <stdio.h> 40881.7Stv#include <stdlib.h> 40891.7Stv#include <unistd.h> 40901.7Stv 40911.7Stvint 40921.7Stvmain () 40931.7Stv{ 40941.7Stv#ifndef optind 40951.7Stv char *p = (char *) optind; 40961.7Stv#endif 40971.7Stv 40981.7Stv ; 40991.7Stv return 0; 41001.7Stv} 41011.7Stv_ACEOF 41021.7Stvrm -f conftest.$ac_objext 41031.34Sthorpejif { (eval echo "$as_me:4103: \"$ac_compile\"") >&5 41041.7Stv (eval $ac_compile) 2>&5 41051.7Stv ac_status=$? 41061.34Sthorpej echo "$as_me:4106: \$? = $ac_status" >&5 41071.7Stv (exit $ac_status); } && 41081.7Stv { ac_try='test -s conftest.$ac_objext' 41091.34Sthorpej { (eval echo "$as_me:4109: \"$ac_try\"") >&5 41101.7Stv (eval $ac_try) 2>&5 41111.7Stv ac_status=$? 41121.34Sthorpej echo "$as_me:4112: \$? = $ac_status" >&5 41131.7Stv (exit $ac_status); }; }; then 41141.7Stv ac_cv_have_decl_optind=yes 41151.7Stvelse 41161.7Stv echo "$as_me: failed program was:" >&5 41171.7Stvcat conftest.$ac_ext >&5 41181.7Stvac_cv_have_decl_optind=no 41191.7Stvfi 41201.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 41211.7Stvfi 41221.34Sthorpejecho "$as_me:4122: result: $ac_cv_have_decl_optind" >&5 41231.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6 41241.7Stvif test $ac_cv_have_decl_optind = yes; then 41251.7Stv 41261.7Stvcat >>confdefs.h <<EOF 41271.7Stv#define HAVE_DECL_OPTIND 1 41281.7StvEOF 41291.7Stv 41301.7Stvelse 41311.7Stv cat >>confdefs.h <<EOF 41321.7Stv#define HAVE_DECL_OPTIND 0 41331.7StvEOF 41341.7Stv 41351.7Stvfi 41361.34Sthorpejecho "$as_me:4136: checking whether optreset is declared" >&5 41371.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 41381.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then 41391.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 41401.7Stvelse 41411.7Stv cat >conftest.$ac_ext <<_ACEOF 41421.34Sthorpej#line 4142 "configure" 41431.7Stv#include "confdefs.h" 41441.7Stv 41451.7Stv#include <stdio.h> 41461.7Stv#include <stdlib.h> 41471.7Stv#include <unistd.h> 41481.7Stv 41491.7Stvint 41501.7Stvmain () 41511.7Stv{ 41521.7Stv#ifndef optreset 41531.7Stv char *p = (char *) optreset; 41541.7Stv#endif 41551.7Stv 41561.7Stv ; 41571.7Stv return 0; 41581.7Stv} 41591.7Stv_ACEOF 41601.7Stvrm -f conftest.$ac_objext 41611.34Sthorpejif { (eval echo "$as_me:4161: \"$ac_compile\"") >&5 41621.7Stv (eval $ac_compile) 2>&5 41631.7Stv ac_status=$? 41641.34Sthorpej echo "$as_me:4164: \$? = $ac_status" >&5 41651.7Stv (exit $ac_status); } && 41661.7Stv { ac_try='test -s conftest.$ac_objext' 41671.34Sthorpej { (eval echo "$as_me:4167: \"$ac_try\"") >&5 41681.7Stv (eval $ac_try) 2>&5 41691.7Stv ac_status=$? 41701.34Sthorpej echo "$as_me:4170: \$? = $ac_status" >&5 41711.7Stv (exit $ac_status); }; }; then 41721.7Stv ac_cv_have_decl_optreset=yes 41731.7Stvelse 41741.7Stv echo "$as_me: failed program was:" >&5 41751.7Stvcat conftest.$ac_ext >&5 41761.7Stvac_cv_have_decl_optreset=no 41771.7Stvfi 41781.7Stvrm -f conftest.$ac_objext conftest.$ac_ext 41791.7Stvfi 41801.34Sthorpejecho "$as_me:4180: result: $ac_cv_have_decl_optreset" >&5 41811.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6 41821.7Stvif test $ac_cv_have_decl_optreset = yes; then 41831.7Stv 41841.7Stvcat >>confdefs.h <<EOF 41851.7Stv#define HAVE_DECL_OPTRESET 1 41861.7StvEOF 41871.7Stv 41881.7Stvelse 41891.7Stv cat >>confdefs.h <<EOF 41901.7Stv#define HAVE_DECL_OPTRESET 0 41911.7StvEOF 41921.7Stv 41931.7Stvfi 41941.7Stv 41951.34Sthorpejecho "$as_me:4195: checking whether sys_signame is declared" >&5 41961.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6 41971.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then 41981.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 41991.4Stvelse 42001.4Stv cat >conftest.$ac_ext <<_ACEOF 42011.34Sthorpej#line 4201 "configure" 42021.4Stv#include "confdefs.h" 42031.4Stv#include <signal.h> 42041.4Stv 42051.4Stvint 42061.4Stvmain () 42071.4Stv{ 42081.4Stv#ifndef sys_signame 42091.4Stv char *p = (char *) sys_signame; 42101.4Stv#endif 42111.4Stv 42121.4Stv ; 42131.4Stv return 0; 42141.4Stv} 42151.4Stv_ACEOF 42161.4Stvrm -f conftest.$ac_objext 42171.34Sthorpejif { (eval echo "$as_me:4217: \"$ac_compile\"") >&5 42181.4Stv (eval $ac_compile) 2>&5 42191.4Stv ac_status=$? 42201.34Sthorpej echo "$as_me:4220: \$? = $ac_status" >&5 42211.4Stv (exit $ac_status); } && 42221.4Stv { ac_try='test -s conftest.$ac_objext' 42231.34Sthorpej { (eval echo "$as_me:4223: \"$ac_try\"") >&5 42241.4Stv (eval $ac_try) 2>&5 42251.4Stv ac_status=$? 42261.34Sthorpej echo "$as_me:4226: \$? = $ac_status" >&5 42271.4Stv (exit $ac_status); }; }; then 42281.4Stv ac_cv_have_decl_sys_signame=yes 42291.4Stvelse 42301.4Stv echo "$as_me: failed program was:" >&5 42311.4Stvcat conftest.$ac_ext >&5 42321.4Stvac_cv_have_decl_sys_signame=no 42331.4Stvfi 42341.4Stvrm -f conftest.$ac_objext conftest.$ac_ext 42351.4Stvfi 42361.34Sthorpejecho "$as_me:4236: result: $ac_cv_have_decl_sys_signame" >&5 42371.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6 42381.4Stvif test $ac_cv_have_decl_sys_signame = yes; then 42391.4Stv 42401.4Stvcat >>confdefs.h <<EOF 42411.4Stv#define HAVE_DECL_SYS_SIGNAME 1 42421.4StvEOF 42431.4Stv 42441.4Stvelse 42451.4Stv cat >>confdefs.h <<EOF 42461.4Stv#define HAVE_DECL_SYS_SIGNAME 0 42471.4StvEOF 42481.4Stv 42491.4Stvfi 42501.4Stv 42511.4Stv# Library functions (where a .h check isn't enough). 42521.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 42531.19Sbjh21# for constant arguments. Useless! 42541.34Sthorpejecho "$as_me:4254: checking for working alloca.h" >&5 42551.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 42561.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then 42571.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 42581.19Sbjh21else 42591.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 42601.34Sthorpej#line 4260 "configure" 42611.19Sbjh21#include "confdefs.h" 42621.19Sbjh21#include <alloca.h> 42631.19Sbjh21int 42641.19Sbjh21main () 42651.19Sbjh21{ 42661.19Sbjh21char *p = (char *) alloca (2 * sizeof (int)); 42671.19Sbjh21 ; 42681.19Sbjh21 return 0; 42691.19Sbjh21} 42701.19Sbjh21_ACEOF 42711.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 42721.34Sthorpejif { (eval echo "$as_me:4272: \"$ac_link\"") >&5 42731.19Sbjh21 (eval $ac_link) 2>&5 42741.19Sbjh21 ac_status=$? 42751.34Sthorpej echo "$as_me:4275: \$? = $ac_status" >&5 42761.19Sbjh21 (exit $ac_status); } && 42771.19Sbjh21 { ac_try='test -s conftest$ac_exeext' 42781.34Sthorpej { (eval echo "$as_me:4278: \"$ac_try\"") >&5 42791.19Sbjh21 (eval $ac_try) 2>&5 42801.19Sbjh21 ac_status=$? 42811.34Sthorpej echo "$as_me:4281: \$? = $ac_status" >&5 42821.19Sbjh21 (exit $ac_status); }; }; then 42831.19Sbjh21 ac_cv_working_alloca_h=yes 42841.19Sbjh21else 42851.19Sbjh21 echo "$as_me: failed program was:" >&5 42861.19Sbjh21cat conftest.$ac_ext >&5 42871.19Sbjh21ac_cv_working_alloca_h=no 42881.19Sbjh21fi 42891.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 42901.19Sbjh21fi 42911.34Sthorpejecho "$as_me:4291: result: $ac_cv_working_alloca_h" >&5 42921.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 42931.19Sbjh21if test $ac_cv_working_alloca_h = yes; then 42941.19Sbjh21 42951.19Sbjh21cat >>confdefs.h <<\EOF 42961.19Sbjh21#define HAVE_ALLOCA_H 1 42971.19Sbjh21EOF 42981.19Sbjh21 42991.19Sbjh21fi 43001.19Sbjh21 43011.34Sthorpejecho "$as_me:4301: checking for alloca" >&5 43021.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6 43031.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then 43041.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 43051.19Sbjh21else 43061.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 43071.34Sthorpej#line 4307 "configure" 43081.19Sbjh21#include "confdefs.h" 43091.19Sbjh21#ifdef __GNUC__ 43101.19Sbjh21# define alloca __builtin_alloca 43111.19Sbjh21#else 43121.19Sbjh21# ifdef _MSC_VER 43131.19Sbjh21# include <malloc.h> 43141.19Sbjh21# define alloca _alloca 43151.19Sbjh21# else 43161.19Sbjh21# if HAVE_ALLOCA_H 43171.19Sbjh21# include <alloca.h> 43181.19Sbjh21# else 43191.19Sbjh21# ifdef _AIX 43201.19Sbjh21 #pragma alloca 43211.19Sbjh21# else 43221.19Sbjh21# ifndef alloca /* predefined by HP cc +Olibcalls */ 43231.19Sbjh21char *alloca (); 43241.19Sbjh21# endif 43251.19Sbjh21# endif 43261.19Sbjh21# endif 43271.19Sbjh21# endif 43281.19Sbjh21#endif 43291.19Sbjh21 43301.19Sbjh21int 43311.19Sbjh21main () 43321.19Sbjh21{ 43331.19Sbjh21char *p = (char *) alloca (1); 43341.19Sbjh21 ; 43351.19Sbjh21 return 0; 43361.19Sbjh21} 43371.19Sbjh21_ACEOF 43381.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 43391.34Sthorpejif { (eval echo "$as_me:4339: \"$ac_link\"") >&5 43401.19Sbjh21 (eval $ac_link) 2>&5 43411.19Sbjh21 ac_status=$? 43421.34Sthorpej echo "$as_me:4342: \$? = $ac_status" >&5 43431.19Sbjh21 (exit $ac_status); } && 43441.19Sbjh21 { ac_try='test -s conftest$ac_exeext' 43451.34Sthorpej { (eval echo "$as_me:4345: \"$ac_try\"") >&5 43461.19Sbjh21 (eval $ac_try) 2>&5 43471.19Sbjh21 ac_status=$? 43481.34Sthorpej echo "$as_me:4348: \$? = $ac_status" >&5 43491.19Sbjh21 (exit $ac_status); }; }; then 43501.19Sbjh21 ac_cv_func_alloca_works=yes 43511.19Sbjh21else 43521.19Sbjh21 echo "$as_me: failed program was:" >&5 43531.19Sbjh21cat conftest.$ac_ext >&5 43541.19Sbjh21ac_cv_func_alloca_works=no 43551.19Sbjh21fi 43561.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 43571.19Sbjh21fi 43581.34Sthorpejecho "$as_me:4358: result: $ac_cv_func_alloca_works" >&5 43591.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 43601.19Sbjh21 43611.19Sbjh21if test $ac_cv_func_alloca_works = yes; then 43621.19Sbjh21 43631.19Sbjh21cat >>confdefs.h <<\EOF 43641.19Sbjh21#define HAVE_ALLOCA 1 43651.19Sbjh21EOF 43661.19Sbjh21 43671.19Sbjh21else 43681.19Sbjh21 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 43691.19Sbjh21# that cause trouble. Some versions do not even contain alloca or 43701.19Sbjh21# contain a buggy version. If you still want to use their alloca, 43711.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c. 43721.19Sbjh21 43731.19Sbjh21ALLOCA=alloca.$ac_objext 43741.19Sbjh21 43751.19Sbjh21cat >>confdefs.h <<\EOF 43761.19Sbjh21#define C_ALLOCA 1 43771.19Sbjh21EOF 43781.19Sbjh21 43791.34Sthorpejecho "$as_me:4379: checking whether \`alloca.c' needs Cray hooks" >&5 43801.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 43811.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then 43821.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 43831.19Sbjh21else 43841.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 43851.34Sthorpej#line 4385 "configure" 43861.19Sbjh21#include "confdefs.h" 43871.19Sbjh21#if defined(CRAY) && ! defined(CRAY2) 43881.19Sbjh21webecray 43891.19Sbjh21#else 43901.19Sbjh21wenotbecray 43911.19Sbjh21#endif 43921.19Sbjh21 43931.19Sbjh21_ACEOF 43941.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 43951.19Sbjh21 egrep "webecray" >/dev/null 2>&1; then 43961.19Sbjh21 ac_cv_os_cray=yes 43971.19Sbjh21else 43981.19Sbjh21 ac_cv_os_cray=no 43991.19Sbjh21fi 44001.19Sbjh21rm -f conftest* 44011.19Sbjh21 44021.19Sbjh21fi 44031.34Sthorpejecho "$as_me:4403: result: $ac_cv_os_cray" >&5 44041.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6 44051.19Sbjh21if test $ac_cv_os_cray = yes; then 44061.19Sbjh21 for ac_func in _getb67 GETB67 getb67; do 44071.19Sbjh21 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 44081.34Sthorpejecho "$as_me:4408: checking for $ac_func" >&5 44091.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 44101.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then 44111.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 44121.19Sbjh21else 44131.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 44141.34Sthorpej#line 4414 "configure" 44151.19Sbjh21#include "confdefs.h" 44161.19Sbjh21/* System header to define __stub macros and hopefully few prototypes, 44171.19Sbjh21 which can conflict with char $ac_func (); below. */ 44181.19Sbjh21#include <assert.h> 44191.19Sbjh21/* Override any gcc2 internal prototype to avoid an error. */ 44201.19Sbjh21#ifdef __cplusplus 44211.19Sbjh21extern "C" 44221.19Sbjh21#endif 44231.19Sbjh21/* We use char because int might match the return type of a gcc2 44241.19Sbjh21 builtin and then its argument prototype would still apply. */ 44251.19Sbjh21char $ac_func (); 44261.19Sbjh21char (*f) (); 44271.19Sbjh21 44281.19Sbjh21int 44291.19Sbjh21main () 44301.19Sbjh21{ 44311.19Sbjh21/* The GNU C library defines this for functions which it implements 44321.19Sbjh21 to always fail with ENOSYS. Some functions are actually named 44331.19Sbjh21 something starting with __ and the normal name is an alias. */ 44341.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 44351.19Sbjh21choke me 44361.19Sbjh21#else 44371.19Sbjh21f = $ac_func; 44381.19Sbjh21#endif 44391.19Sbjh21 44401.19Sbjh21 ; 44411.19Sbjh21 return 0; 44421.19Sbjh21} 44431.19Sbjh21_ACEOF 44441.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 44451.34Sthorpejif { (eval echo "$as_me:4445: \"$ac_link\"") >&5 44461.19Sbjh21 (eval $ac_link) 2>&5 44471.19Sbjh21 ac_status=$? 44481.34Sthorpej echo "$as_me:4448: \$? = $ac_status" >&5 44491.19Sbjh21 (exit $ac_status); } && 44501.19Sbjh21 { ac_try='test -s conftest$ac_exeext' 44511.34Sthorpej { (eval echo "$as_me:4451: \"$ac_try\"") >&5 44521.19Sbjh21 (eval $ac_try) 2>&5 44531.19Sbjh21 ac_status=$? 44541.34Sthorpej echo "$as_me:4454: \$? = $ac_status" >&5 44551.19Sbjh21 (exit $ac_status); }; }; then 44561.19Sbjh21 eval "$as_ac_var=yes" 44571.19Sbjh21else 44581.19Sbjh21 echo "$as_me: failed program was:" >&5 44591.19Sbjh21cat conftest.$ac_ext >&5 44601.19Sbjh21eval "$as_ac_var=no" 44611.19Sbjh21fi 44621.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 44631.19Sbjh21fi 44641.34Sthorpejecho "$as_me:4464: result: `eval echo '${'$as_ac_var'}'`" >&5 44651.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 44661.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then 44671.19Sbjh21 44681.19Sbjh21cat >>confdefs.h <<EOF 44691.19Sbjh21#define CRAY_STACKSEG_END $ac_func 44701.19Sbjh21EOF 44711.19Sbjh21 44721.19Sbjh21 break 44731.19Sbjh21fi 44741.19Sbjh21 44751.19Sbjh21 done 44761.19Sbjh21fi 44771.19Sbjh21 44781.34Sthorpejecho "$as_me:4478: checking stack direction for C alloca" >&5 44791.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 44801.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then 44811.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 44821.19Sbjh21else 44831.19Sbjh21 if test "$cross_compiling" = yes; then 44841.19Sbjh21 ac_cv_c_stack_direction=0 44851.19Sbjh21else 44861.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 44871.34Sthorpej#line 4487 "configure" 44881.19Sbjh21#include "confdefs.h" 44891.19Sbjh21int 44901.19Sbjh21find_stack_direction () 44911.19Sbjh21{ 44921.19Sbjh21 static char *addr = 0; 44931.19Sbjh21 auto char dummy; 44941.19Sbjh21 if (addr == 0) 44951.19Sbjh21 { 44961.19Sbjh21 addr = &dummy; 44971.19Sbjh21 return find_stack_direction (); 44981.19Sbjh21 } 44991.19Sbjh21 else 45001.19Sbjh21 return (&dummy > addr) ? 1 : -1; 45011.19Sbjh21} 45021.19Sbjh21 45031.19Sbjh21int 45041.19Sbjh21main () 45051.19Sbjh21{ 45061.19Sbjh21 exit (find_stack_direction () < 0); 45071.19Sbjh21} 45081.19Sbjh21_ACEOF 45091.19Sbjh21rm -f conftest$ac_exeext 45101.34Sthorpejif { (eval echo "$as_me:4510: \"$ac_link\"") >&5 45111.19Sbjh21 (eval $ac_link) 2>&5 45121.19Sbjh21 ac_status=$? 45131.34Sthorpej echo "$as_me:4513: \$? = $ac_status" >&5 45141.19Sbjh21 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 45151.34Sthorpej { (eval echo "$as_me:4515: \"$ac_try\"") >&5 45161.19Sbjh21 (eval $ac_try) 2>&5 45171.19Sbjh21 ac_status=$? 45181.34Sthorpej echo "$as_me:4518: \$? = $ac_status" >&5 45191.19Sbjh21 (exit $ac_status); }; }; then 45201.19Sbjh21 ac_cv_c_stack_direction=1 45211.19Sbjh21else 45221.19Sbjh21 echo "$as_me: program exited with status $ac_status" >&5 45231.19Sbjh21echo "$as_me: failed program was:" >&5 45241.19Sbjh21cat conftest.$ac_ext >&5 45251.19Sbjh21ac_cv_c_stack_direction=-1 45261.19Sbjh21fi 45271.19Sbjh21rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 45281.19Sbjh21fi 45291.19Sbjh21fi 45301.34Sthorpejecho "$as_me:4530: result: $ac_cv_c_stack_direction" >&5 45311.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 45321.19Sbjh21 45331.19Sbjh21cat >>confdefs.h <<EOF 45341.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction 45351.19Sbjh21EOF 45361.19Sbjh21 45371.19Sbjh21fi 45381.19Sbjh21 45391.6Stvfor ac_func in asprintf asnprintf basename dirfd dirname \ 45401.7Stv fgetln flock fparseln futimes getopt getopt_long \ 45411.26Slukem isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \ 45421.25Sthorpej poll pread pwcache_userdb pwrite random setenv setgroupent \ 45431.29Slukem setprogname setpassent snprintf strlcat strlcpy strsep \ 45441.29Slukem strsuftoll strtoll \ 45451.23Sthorpej user_from_uid vasprintf vasnprintf vsnprintf 45461.1Stvdo 45471.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 45481.34Sthorpejecho "$as_me:4548: checking for $ac_func" >&5 45491.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6 45501.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then 45511.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 45521.1Stvelse 45531.1Stv cat >conftest.$ac_ext <<_ACEOF 45541.34Sthorpej#line 4554 "configure" 45551.1Stv#include "confdefs.h" 45561.1Stv/* System header to define __stub macros and hopefully few prototypes, 45571.1Stv which can conflict with char $ac_func (); below. */ 45581.1Stv#include <assert.h> 45591.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 45601.1Stv#ifdef __cplusplus 45611.1Stvextern "C" 45621.1Stv#endif 45631.1Stv/* We use char because int might match the return type of a gcc2 45641.1Stv builtin and then its argument prototype would still apply. */ 45651.1Stvchar $ac_func (); 45661.1Stvchar (*f) (); 45671.1Stv 45681.1Stvint 45691.1Stvmain () 45701.1Stv{ 45711.1Stv/* The GNU C library defines this for functions which it implements 45721.1Stv to always fail with ENOSYS. Some functions are actually named 45731.1Stv something starting with __ and the normal name is an alias. */ 45741.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 45751.1Stvchoke me 45761.1Stv#else 45771.1Stvf = $ac_func; 45781.1Stv#endif 45791.1Stv 45801.1Stv ; 45811.1Stv return 0; 45821.1Stv} 45831.1Stv_ACEOF 45841.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 45851.34Sthorpejif { (eval echo "$as_me:4585: \"$ac_link\"") >&5 45861.1Stv (eval $ac_link) 2>&5 45871.1Stv ac_status=$? 45881.34Sthorpej echo "$as_me:4588: \$? = $ac_status" >&5 45891.1Stv (exit $ac_status); } && 45901.1Stv { ac_try='test -s conftest$ac_exeext' 45911.34Sthorpej { (eval echo "$as_me:4591: \"$ac_try\"") >&5 45921.1Stv (eval $ac_try) 2>&5 45931.1Stv ac_status=$? 45941.34Sthorpej echo "$as_me:4594: \$? = $ac_status" >&5 45951.1Stv (exit $ac_status); }; }; then 45961.1Stv eval "$as_ac_var=yes" 45971.1Stvelse 45981.1Stv echo "$as_me: failed program was:" >&5 45991.1Stvcat conftest.$ac_ext >&5 46001.1Stveval "$as_ac_var=no" 46011.1Stvfi 46021.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 46031.1Stvfi 46041.34Sthorpejecho "$as_me:4604: result: `eval echo '${'$as_ac_var'}'`" >&5 46051.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 46061.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then 46071.1Stv cat >>confdefs.h <<EOF 46081.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 46091.1StvEOF 46101.1Stv 46111.1Stvfi 46121.1Stvdone 46131.1Stv 46141.34Sthorpejecho "$as_me:4614: checking whether setgroupent is declared" >&5 46151.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 46161.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then 46171.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 46181.8Stvelse 46191.8Stv cat >conftest.$ac_ext <<_ACEOF 46201.34Sthorpej#line 4620 "configure" 46211.8Stv#include "confdefs.h" 46221.8Stv 46231.33Sthorpej#include <sys/types.h> 46241.8Stv#include <grp.h> 46251.8Stv#include <pwd.h> 46261.8Stv 46271.8Stvint 46281.8Stvmain () 46291.8Stv{ 46301.8Stv#ifndef setgroupent 46311.8Stv char *p = (char *) setgroupent; 46321.8Stv#endif 46331.8Stv 46341.8Stv ; 46351.8Stv return 0; 46361.8Stv} 46371.8Stv_ACEOF 46381.8Stvrm -f conftest.$ac_objext 46391.34Sthorpejif { (eval echo "$as_me:4639: \"$ac_compile\"") >&5 46401.8Stv (eval $ac_compile) 2>&5 46411.8Stv ac_status=$? 46421.34Sthorpej echo "$as_me:4642: \$? = $ac_status" >&5 46431.8Stv (exit $ac_status); } && 46441.8Stv { ac_try='test -s conftest.$ac_objext' 46451.34Sthorpej { (eval echo "$as_me:4645: \"$ac_try\"") >&5 46461.8Stv (eval $ac_try) 2>&5 46471.8Stv ac_status=$? 46481.34Sthorpej echo "$as_me:4648: \$? = $ac_status" >&5 46491.8Stv (exit $ac_status); }; }; then 46501.8Stv ac_cv_have_decl_setgroupent=yes 46511.8Stvelse 46521.8Stv echo "$as_me: failed program was:" >&5 46531.8Stvcat conftest.$ac_ext >&5 46541.8Stvac_cv_have_decl_setgroupent=no 46551.8Stvfi 46561.8Stvrm -f conftest.$ac_objext conftest.$ac_ext 46571.8Stvfi 46581.34Sthorpejecho "$as_me:4658: result: $ac_cv_have_decl_setgroupent" >&5 46591.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 46601.8Stvif test $ac_cv_have_decl_setgroupent = yes; then 46611.8Stv 46621.8Stvcat >>confdefs.h <<EOF 46631.8Stv#define HAVE_DECL_SETGROUPENT 1 46641.8StvEOF 46651.8Stv 46661.8Stvelse 46671.8Stv cat >>confdefs.h <<EOF 46681.8Stv#define HAVE_DECL_SETGROUPENT 0 46691.8StvEOF 46701.8Stv 46711.8Stvfi 46721.34Sthorpejecho "$as_me:4672: checking whether setpassent is declared" >&5 46731.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 46741.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then 46751.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 46761.8Stvelse 46771.8Stv cat >conftest.$ac_ext <<_ACEOF 46781.34Sthorpej#line 4678 "configure" 46791.8Stv#include "confdefs.h" 46801.8Stv 46811.33Sthorpej#include <sys/types.h> 46821.8Stv#include <grp.h> 46831.8Stv#include <pwd.h> 46841.8Stv 46851.8Stvint 46861.8Stvmain () 46871.8Stv{ 46881.8Stv#ifndef setpassent 46891.8Stv char *p = (char *) setpassent; 46901.8Stv#endif 46911.8Stv 46921.8Stv ; 46931.8Stv return 0; 46941.8Stv} 46951.8Stv_ACEOF 46961.8Stvrm -f conftest.$ac_objext 46971.34Sthorpejif { (eval echo "$as_me:4697: \"$ac_compile\"") >&5 46981.8Stv (eval $ac_compile) 2>&5 46991.8Stv ac_status=$? 47001.34Sthorpej echo "$as_me:4700: \$? = $ac_status" >&5 47011.8Stv (exit $ac_status); } && 47021.8Stv { ac_try='test -s conftest.$ac_objext' 47031.34Sthorpej { (eval echo "$as_me:4703: \"$ac_try\"") >&5 47041.8Stv (eval $ac_try) 2>&5 47051.8Stv ac_status=$? 47061.34Sthorpej echo "$as_me:4706: \$? = $ac_status" >&5 47071.8Stv (exit $ac_status); }; }; then 47081.8Stv ac_cv_have_decl_setpassent=yes 47091.8Stvelse 47101.8Stv echo "$as_me: failed program was:" >&5 47111.8Stvcat conftest.$ac_ext >&5 47121.8Stvac_cv_have_decl_setpassent=no 47131.8Stvfi 47141.8Stvrm -f conftest.$ac_objext conftest.$ac_ext 47151.8Stvfi 47161.34Sthorpejecho "$as_me:4716: result: $ac_cv_have_decl_setpassent" >&5 47171.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 47181.8Stvif test $ac_cv_have_decl_setpassent = yes; then 47191.8Stv 47201.8Stvcat >>confdefs.h <<EOF 47211.8Stv#define HAVE_DECL_SETPASSENT 1 47221.8StvEOF 47231.8Stv 47241.8Stvelse 47251.8Stv cat >>confdefs.h <<EOF 47261.8Stv#define HAVE_DECL_SETPASSENT 0 47271.8StvEOF 47281.8Stv 47291.8Stvfi 47301.8Stv 47311.4Stv# regcomp() and regexec() are also names of functions in the old V8 47321.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 47331.4Stv 47341.34Sthorpejecho "$as_me:4734: checking for regfree in -lregex" >&5 47351.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 47361.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then 47371.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 47381.4Stvelse 47391.4Stv ac_check_lib_save_LIBS=$LIBS 47401.4StvLIBS="-lregex $LIBS" 47411.4Stvcat >conftest.$ac_ext <<_ACEOF 47421.34Sthorpej#line 4742 "configure" 47431.4Stv#include "confdefs.h" 47441.4Stv 47451.4Stv/* Override any gcc2 internal prototype to avoid an error. */ 47461.4Stv#ifdef __cplusplus 47471.4Stvextern "C" 47481.4Stv#endif 47491.4Stv/* We use char because int might match the return type of a gcc2 47501.4Stv builtin and then its argument prototype would still apply. */ 47511.4Stvchar regfree (); 47521.4Stvint 47531.4Stvmain () 47541.4Stv{ 47551.4Stvregfree (); 47561.4Stv ; 47571.4Stv return 0; 47581.4Stv} 47591.4Stv_ACEOF 47601.4Stvrm -f conftest.$ac_objext conftest$ac_exeext 47611.34Sthorpejif { (eval echo "$as_me:4761: \"$ac_link\"") >&5 47621.4Stv (eval $ac_link) 2>&5 47631.4Stv ac_status=$? 47641.34Sthorpej echo "$as_me:4764: \$? = $ac_status" >&5 47651.4Stv (exit $ac_status); } && 47661.4Stv { ac_try='test -s conftest$ac_exeext' 47671.34Sthorpej { (eval echo "$as_me:4767: \"$ac_try\"") >&5 47681.4Stv (eval $ac_try) 2>&5 47691.4Stv ac_status=$? 47701.34Sthorpej echo "$as_me:4770: \$? = $ac_status" >&5 47711.4Stv (exit $ac_status); }; }; then 47721.4Stv ac_cv_lib_regex_regfree=yes 47731.4Stvelse 47741.4Stv echo "$as_me: failed program was:" >&5 47751.4Stvcat conftest.$ac_ext >&5 47761.4Stvac_cv_lib_regex_regfree=no 47771.4Stvfi 47781.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 47791.4StvLIBS=$ac_check_lib_save_LIBS 47801.4Stvfi 47811.34Sthorpejecho "$as_me:4781: result: $ac_cv_lib_regex_regfree" >&5 47821.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 47831.4Stvif test $ac_cv_lib_regex_regfree = yes; then 47841.4Stv cat >>confdefs.h <<EOF 47851.4Stv#define HAVE_LIBREGEX 1 47861.4StvEOF 47871.4Stv 47881.4Stv LIBS="-lregex $LIBS" 47891.4Stv 47901.4Stvfi 47911.4Stv 47921.34Sthorpejecho "$as_me:4792: checking for library containing regfree" >&5 47931.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 47941.4Stvif test "${ac_cv_search_regfree+set}" = set; then 47951.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 47961.1Stvelse 47971.1Stv ac_func_search_save_LIBS=$LIBS 47981.4Stvac_cv_search_regfree=no 47991.1Stvcat >conftest.$ac_ext <<_ACEOF 48001.34Sthorpej#line 4800 "configure" 48011.1Stv#include "confdefs.h" 48021.1Stv 48031.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 48041.1Stv#ifdef __cplusplus 48051.1Stvextern "C" 48061.1Stv#endif 48071.1Stv/* We use char because int might match the return type of a gcc2 48081.1Stv builtin and then its argument prototype would still apply. */ 48091.4Stvchar regfree (); 48101.1Stvint 48111.1Stvmain () 48121.1Stv{ 48131.4Stvregfree (); 48141.1Stv ; 48151.1Stv return 0; 48161.1Stv} 48171.1Stv_ACEOF 48181.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 48191.34Sthorpejif { (eval echo "$as_me:4819: \"$ac_link\"") >&5 48201.1Stv (eval $ac_link) 2>&5 48211.1Stv ac_status=$? 48221.34Sthorpej echo "$as_me:4822: \$? = $ac_status" >&5 48231.1Stv (exit $ac_status); } && 48241.1Stv { ac_try='test -s conftest$ac_exeext' 48251.34Sthorpej { (eval echo "$as_me:4825: \"$ac_try\"") >&5 48261.1Stv (eval $ac_try) 2>&5 48271.1Stv ac_status=$? 48281.34Sthorpej echo "$as_me:4828: \$? = $ac_status" >&5 48291.1Stv (exit $ac_status); }; }; then 48301.4Stv ac_cv_search_regfree="none required" 48311.1Stvelse 48321.1Stv echo "$as_me: failed program was:" >&5 48331.1Stvcat conftest.$ac_ext >&5 48341.1Stvfi 48351.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48361.4Stvif test "$ac_cv_search_regfree" = no; then 48371.4Stv for ac_lib in rx posix; do 48381.1Stv LIBS="-l$ac_lib $ac_func_search_save_LIBS" 48391.1Stv cat >conftest.$ac_ext <<_ACEOF 48401.34Sthorpej#line 4840 "configure" 48411.1Stv#include "confdefs.h" 48421.1Stv 48431.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 48441.1Stv#ifdef __cplusplus 48451.1Stvextern "C" 48461.1Stv#endif 48471.1Stv/* We use char because int might match the return type of a gcc2 48481.1Stv builtin and then its argument prototype would still apply. */ 48491.4Stvchar regfree (); 48501.1Stvint 48511.1Stvmain () 48521.1Stv{ 48531.4Stvregfree (); 48541.1Stv ; 48551.1Stv return 0; 48561.1Stv} 48571.1Stv_ACEOF 48581.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 48591.34Sthorpejif { (eval echo "$as_me:4859: \"$ac_link\"") >&5 48601.1Stv (eval $ac_link) 2>&5 48611.1Stv ac_status=$? 48621.34Sthorpej echo "$as_me:4862: \$? = $ac_status" >&5 48631.1Stv (exit $ac_status); } && 48641.1Stv { ac_try='test -s conftest$ac_exeext' 48651.34Sthorpej { (eval echo "$as_me:4865: \"$ac_try\"") >&5 48661.1Stv (eval $ac_try) 2>&5 48671.1Stv ac_status=$? 48681.34Sthorpej echo "$as_me:4868: \$? = $ac_status" >&5 48691.1Stv (exit $ac_status); }; }; then 48701.4Stv ac_cv_search_regfree="-l$ac_lib" 48711.1Stvbreak 48721.1Stvelse 48731.1Stv echo "$as_me: failed program was:" >&5 48741.1Stvcat conftest.$ac_ext >&5 48751.1Stvfi 48761.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 48771.1Stv done 48781.1Stvfi 48791.1StvLIBS=$ac_func_search_save_LIBS 48801.1Stvfi 48811.34Sthorpejecho "$as_me:4881: result: $ac_cv_search_regfree" >&5 48821.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6 48831.4Stvif test "$ac_cv_search_regfree" != no; then 48841.4Stv test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" 48851.1Stv 48861.1Stvfi 48871.1Stv 48881.1Stvcat >confcache <<\_ACEOF 48891.1Stv# This file is a shell script that caches the results of configure 48901.1Stv# tests run on this system so they can be shared between configure 48911.1Stv# scripts and configure runs, see configure's option --config-cache. 48921.1Stv# It is not useful on other systems. If it contains results you don't 48931.1Stv# want to keep, you may remove or edit it. 48941.1Stv# 48951.1Stv# config.status only pays attention to the cache file if you give it 48961.1Stv# the --recheck option to rerun configure. 48971.1Stv# 48981.1Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when 48991.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the 49001.1Stv# following values. 49011.1Stv 49021.1Stv_ACEOF 49031.1Stv 49041.1Stv# The following way of writing the cache mishandles newlines in values, 49051.1Stv# but we know of no workaround that is simple, portable, and efficient. 49061.1Stv# So, don't put newlines in cache variables' values. 49071.1Stv# Ultrix sh set writes to stderr and can't be redirected directly, 49081.1Stv# and sets the high bit in the cache file unless we assign to the vars. 49091.1Stv{ 49101.1Stv (set) 2>&1 | 49111.1Stv case `(ac_space=' '; set | grep ac_space) 2>&1` in 49121.1Stv *ac_space=\ *) 49131.1Stv # `set' does not quote correctly, so add quotes (double-quote 49141.1Stv # substitution turns \\\\ into \\, and sed turns \\ into \). 49151.1Stv sed -n \ 49161.1Stv "s/'/'\\\\''/g; 49171.1Stv s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 49181.1Stv ;; 49191.1Stv *) 49201.1Stv # `set' quotes correctly as required by POSIX, so do not add quotes. 49211.1Stv sed -n \ 49221.1Stv "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 49231.1Stv ;; 49241.1Stv esac; 49251.1Stv} | 49261.1Stv sed ' 49271.1Stv t clear 49281.1Stv : clear 49291.1Stv s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 49301.1Stv t end 49311.1Stv /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 49321.1Stv : end' >>confcache 49331.1Stvif cmp -s $cache_file confcache; then :; else 49341.1Stv if test -w $cache_file; then 49351.1Stv test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 49361.1Stv cat confcache >$cache_file 49371.1Stv else 49381.1Stv echo "not updating unwritable cache $cache_file" 49391.1Stv fi 49401.1Stvfi 49411.1Stvrm -f confcache 49421.1Stv 49431.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix 49441.1Stv# Let make expand exec_prefix. 49451.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 49461.1Stv 49471.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir), 49481.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 49491.1Stv# trailing colons and then remove the whole line if VPATH becomes empty 49501.1Stv# (actually we leave an empty line to preserve line numbers). 49511.1Stvif test "x$srcdir" = x.; then 49521.1Stv ac_vpsub='/^[ ]*VPATH[ ]*=/{ 49531.1Stvs/:*\$(srcdir):*/:/; 49541.1Stvs/:*\${srcdir}:*/:/; 49551.1Stvs/:*@srcdir@:*/:/; 49561.1Stvs/^\([^=]*=[ ]*\):*/\1/; 49571.1Stvs/:*$//; 49581.1Stvs/^[^=]*=[ ]*$//; 49591.1Stv}' 49601.1Stvfi 49611.1Stv 49621.1StvDEFS=-DHAVE_CONFIG_H 49631.1Stv 49641.1Stv: ${CONFIG_STATUS=./config.status} 49651.1Stvac_clean_files_save=$ac_clean_files 49661.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS" 49671.34Sthorpej{ echo "$as_me:4967: creating $CONFIG_STATUS" >&5 49681.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;} 49691.1Stvcat >$CONFIG_STATUS <<_ACEOF 49701.1Stv#! $SHELL 49711.1Stv# Generated automatically by configure. 49721.1Stv# Run this file to recreate the current configuration. 49731.1Stv# Compiler output produced by configure, useful for debugging 49741.1Stv# configure, is in config.log if it exists. 49751.1Stv 49761.1Stvdebug=false 49771.1StvSHELL=\${CONFIG_SHELL-$SHELL} 49781.1Stvac_cs_invocation="\$0 \$@" 49791.1Stv 49801.1Stv_ACEOF 49811.1Stv 49821.1Stvcat >>$CONFIG_STATUS <<\_ACEOF 49831.1Stv# Be Bourne compatible 49841.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 49851.1Stv emulate sh 49861.1Stv NULLCMD=: 49871.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 49881.1Stv set -o posix 49891.1Stvfi 49901.1Stv 49911.1Stv# Name of the executable. 49921.1Stvas_me=`echo "$0" |sed 's,.*[\\/],,'` 49931.1Stv 49941.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 49951.1Stv as_expr=expr 49961.1Stvelse 49971.1Stv as_expr=false 49981.1Stvfi 49991.1Stv 50001.1Stvrm -f conf$$ conf$$.exe conf$$.file 50011.1Stvecho >conf$$.file 50021.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 50031.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 50041.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 50051.1Stv if test -f conf$$.exe; then 50061.1Stv # Don't use ln at all; we don't have any links 50071.1Stv as_ln_s='cp -p' 50081.1Stv else 50091.1Stv as_ln_s='ln -s' 50101.1Stv fi 50111.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 50121.1Stv as_ln_s=ln 50131.1Stvelse 50141.1Stv as_ln_s='cp -p' 50151.1Stvfi 50161.1Stvrm -f conf$$ conf$$.exe conf$$.file 50171.1Stv 50181.1Stvas_executable_p="test -f" 50191.1Stv 50201.1Stv# Support unset when possible. 50211.1Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then 50221.1Stv as_unset=unset 50231.1Stvelse 50241.1Stv as_unset=false 50251.1Stvfi 50261.1Stv 50271.1Stv# NLS nuisances. 50281.1Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 50291.1Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 50301.1Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 50311.1Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 50321.1Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 50331.1Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 50341.1Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 50351.1Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 50361.1Stv 50371.1Stv# IFS 50381.1Stv# We need space, tab and new line, in precisely that order. 50391.1Stvas_nl=' 50401.1Stv' 50411.1StvIFS=" $as_nl" 50421.1Stv 50431.1Stv# CDPATH. 50441.1Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 50451.1Stv 50461.1Stvexec 6>&1 50471.1Stv 50481.1Stv_ACEOF 50491.1Stv 50501.1Stv# Files that config.status was made for. 50511.1Stvif test -n "$ac_config_files"; then 50521.1Stv echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 50531.1Stvfi 50541.1Stv 50551.1Stvif test -n "$ac_config_headers"; then 50561.1Stv echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 50571.1Stvfi 50581.1Stv 50591.1Stvif test -n "$ac_config_links"; then 50601.1Stv echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 50611.1Stvfi 50621.1Stv 50631.1Stvif test -n "$ac_config_commands"; then 50641.1Stv echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 50651.1Stvfi 50661.1Stv 50671.1Stvcat >>$CONFIG_STATUS <<\EOF 50681.1Stv 50691.1Stvac_cs_usage="\ 50701.1Stv\`$as_me' instantiates files from templates according to the 50711.1Stvcurrent configuration. 50721.1Stv 50731.1StvUsage: $0 [OPTIONS] [FILE]... 50741.1Stv 50751.1Stv -h, --help print this help, then exit 50761.1Stv -V, --version print version number, then exit 50771.1Stv -d, --debug don't remove temporary files 50781.1Stv --recheck update $as_me by reconfiguring in the same conditions 50791.1Stv --file=FILE[:TEMPLATE] 50801.1Stv instantiate the configuration file FILE 50811.1Stv --header=FILE[:TEMPLATE] 50821.1Stv instantiate the configuration header FILE 50831.1Stv 50841.1StvConfiguration files: 50851.1Stv$config_files 50861.1Stv 50871.1StvConfiguration headers: 50881.1Stv$config_headers 50891.1Stv 50901.1StvReport bugs to <bug-autoconf@gnu.org>." 50911.1StvEOF 50921.1Stv 50931.1Stvcat >>$CONFIG_STATUS <<EOF 50941.1Stvac_cs_version="\\ 50951.1Stvlibnbcompat config.status noversion 50961.1Stvconfigured by $0, generated by GNU Autoconf 2.52, 50971.1Stv with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 50981.1Stv 50991.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 51001.1StvFree Software Foundation, Inc. 51011.1StvThis config.status script is free software; the Free Software Foundation 51021.1Stvgives unlimited permission to copy, distribute and modify it." 51031.1Stvsrcdir=$srcdir 51041.1StvEOF 51051.1Stv 51061.1Stvcat >>$CONFIG_STATUS <<\EOF 51071.1Stv# If no file are specified by the user, then we need to provide default 51081.1Stv# value. By we need to know if files were specified by the user. 51091.1Stvac_need_defaults=: 51101.1Stvwhile test $# != 0 51111.1Stvdo 51121.1Stv case $1 in 51131.1Stv --*=*) 51141.1Stv ac_option=`expr "x$1" : 'x\([^=]*\)='` 51151.1Stv ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 51161.1Stv shift 51171.1Stv set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 51181.1Stv shift 51191.1Stv ;; 51201.1Stv -*);; 51211.1Stv *) # This is not an option, so the user has probably given explicit 51221.1Stv # arguments. 51231.1Stv ac_need_defaults=false;; 51241.1Stv esac 51251.1Stv 51261.1Stv case $1 in 51271.1Stv # Handling of the options. 51281.1StvEOF 51291.1Stvcat >>$CONFIG_STATUS <<EOF 51301.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 51311.1Stv echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 51321.1Stv exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 51331.1StvEOF 51341.1Stvcat >>$CONFIG_STATUS <<\EOF 51351.1Stv --version | --vers* | -V ) 51361.1Stv echo "$ac_cs_version"; exit 0 ;; 51371.1Stv --he | --h) 51381.1Stv # Conflict between --help and --header 51391.34Sthorpej { { echo "$as_me:5139: error: ambiguous option: $1 51401.1StvTry \`$0 --help' for more information." >&5 51411.1Stvecho "$as_me: error: ambiguous option: $1 51421.1StvTry \`$0 --help' for more information." >&2;} 51431.1Stv { (exit 1); exit 1; }; };; 51441.1Stv --help | --hel | -h ) 51451.1Stv echo "$ac_cs_usage"; exit 0 ;; 51461.1Stv --debug | --d* | -d ) 51471.1Stv debug=: ;; 51481.1Stv --file | --fil | --fi | --f ) 51491.1Stv shift 51501.1Stv CONFIG_FILES="$CONFIG_FILES $1" 51511.1Stv ac_need_defaults=false;; 51521.1Stv --header | --heade | --head | --hea ) 51531.1Stv shift 51541.1Stv CONFIG_HEADERS="$CONFIG_HEADERS $1" 51551.1Stv ac_need_defaults=false;; 51561.1Stv 51571.1Stv # This is an error. 51581.34Sthorpej -*) { { echo "$as_me:5158: error: unrecognized option: $1 51591.1StvTry \`$0 --help' for more information." >&5 51601.1Stvecho "$as_me: error: unrecognized option: $1 51611.1StvTry \`$0 --help' for more information." >&2;} 51621.1Stv { (exit 1); exit 1; }; } ;; 51631.1Stv 51641.1Stv *) ac_config_targets="$ac_config_targets $1" ;; 51651.1Stv 51661.1Stv esac 51671.1Stv shift 51681.1Stvdone 51691.1Stv 51701.1Stvexec 5>>config.log 51711.1Stvcat >&5 << _ACEOF 51721.1Stv 51731.1Stv## ----------------------- ## 51741.1Stv## Running config.status. ## 51751.1Stv## ----------------------- ## 51761.1Stv 51771.1StvThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with 51781.1Stv CONFIG_FILES = $CONFIG_FILES 51791.1Stv CONFIG_HEADERS = $CONFIG_HEADERS 51801.1Stv CONFIG_LINKS = $CONFIG_LINKS 51811.1Stv CONFIG_COMMANDS = $CONFIG_COMMANDS 51821.1Stv > $ac_cs_invocation 51831.1Stvon `(hostname || uname -n) 2>/dev/null | sed 1q` 51841.1Stv 51851.1Stv_ACEOF 51861.1StvEOF 51871.1Stv 51881.1Stvcat >>$CONFIG_STATUS <<\EOF 51891.1Stvfor ac_config_target in $ac_config_targets 51901.1Stvdo 51911.1Stv case "$ac_config_target" in 51921.1Stv # Handling of arguments. 51931.1Stv "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 51941.1Stv "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 51951.34Sthorpej *) { { echo "$as_me:5195: error: invalid argument: $ac_config_target" >&5 51961.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 51971.1Stv { (exit 1); exit 1; }; };; 51981.1Stv esac 51991.1Stvdone 52001.1Stv 52011.1Stv# If the user did not use the arguments to specify the items to instantiate, 52021.1Stv# then the envvar interface is used. Set only those that are not. 52031.1Stv# We use the long form for the default assignment because of an extremely 52041.1Stv# bizarre bug on SunOS 4.1.3. 52051.1Stvif $ac_need_defaults; then 52061.1Stv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 52071.1Stv test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 52081.1Stvfi 52091.1Stv 52101.1Stv# Create a temporary directory, and hook for its removal unless debugging. 52111.1Stv$debug || 52121.1Stv{ 52131.1Stv trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 52141.1Stv trap '{ (exit 1); exit 1; }' 1 2 13 15 52151.1Stv} 52161.1Stv 52171.1Stv# Create a (secure) tmp directory for tmp files. 52181.1Stv: ${TMPDIR=/tmp} 52191.1Stv{ 52201.1Stv tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 52211.1Stv test -n "$tmp" && test -d "$tmp" 52221.1Stv} || 52231.1Stv{ 52241.1Stv tmp=$TMPDIR/cs$$-$RANDOM 52251.1Stv (umask 077 && mkdir $tmp) 52261.1Stv} || 52271.1Stv{ 52281.1Stv echo "$me: cannot create a temporary directory in $TMPDIR" >&2 52291.1Stv { (exit 1); exit 1; } 52301.1Stv} 52311.1Stv 52321.1StvEOF 52331.1Stv 52341.1Stvcat >>$CONFIG_STATUS <<EOF 52351.1Stv 52361.1Stv# 52371.1Stv# CONFIG_FILES section. 52381.1Stv# 52391.1Stv 52401.1Stv# No need to generate the scripts if there are no CONFIG_FILES. 52411.1Stv# This happens for instance when ./config.status config.h 52421.1Stvif test -n "\$CONFIG_FILES"; then 52431.1Stv # Protect against being on the right side of a sed subst in config.status. 52441.1Stv sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 52451.1Stv s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 52461.1Stvs,@SHELL@,$SHELL,;t t 52471.1Stvs,@exec_prefix@,$exec_prefix,;t t 52481.1Stvs,@prefix@,$prefix,;t t 52491.1Stvs,@program_transform_name@,$program_transform_name,;t t 52501.1Stvs,@bindir@,$bindir,;t t 52511.1Stvs,@sbindir@,$sbindir,;t t 52521.1Stvs,@libexecdir@,$libexecdir,;t t 52531.1Stvs,@datadir@,$datadir,;t t 52541.1Stvs,@sysconfdir@,$sysconfdir,;t t 52551.1Stvs,@sharedstatedir@,$sharedstatedir,;t t 52561.1Stvs,@localstatedir@,$localstatedir,;t t 52571.1Stvs,@libdir@,$libdir,;t t 52581.1Stvs,@includedir@,$includedir,;t t 52591.1Stvs,@oldincludedir@,$oldincludedir,;t t 52601.1Stvs,@infodir@,$infodir,;t t 52611.1Stvs,@mandir@,$mandir,;t t 52621.1Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 52631.1Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 52641.1Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 52651.1Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 52661.1Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 52671.1Stvs,@build_alias@,$build_alias,;t t 52681.1Stvs,@host_alias@,$host_alias,;t t 52691.1Stvs,@target_alias@,$target_alias,;t t 52701.1Stvs,@ECHO_C@,$ECHO_C,;t t 52711.1Stvs,@ECHO_N@,$ECHO_N,;t t 52721.1Stvs,@ECHO_T@,$ECHO_T,;t t 52731.1Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 52741.1Stvs,@DEFS@,$DEFS,;t t 52751.1Stvs,@LIBS@,$LIBS,;t t 52761.20Sbjh21s,@BSHELL@,$BSHELL,;t t 52771.1Stvs,@CC@,$CC,;t t 52781.1Stvs,@CFLAGS@,$CFLAGS,;t t 52791.1Stvs,@LDFLAGS@,$LDFLAGS,;t t 52801.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t 52811.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t 52821.1Stvs,@EXEEXT@,$EXEEXT,;t t 52831.1Stvs,@OBJEXT@,$OBJEXT,;t t 52841.1Stvs,@CPP@,$CPP,;t t 52851.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t 52861.1StvCEOF 52871.1Stv 52881.1StvEOF 52891.1Stv 52901.1Stv cat >>$CONFIG_STATUS <<\EOF 52911.1Stv # Split the substitutions into bite-sized pieces for seds with 52921.1Stv # small command number limits, like on Digital OSF/1 and HP-UX. 52931.1Stv ac_max_sed_lines=48 52941.1Stv ac_sed_frag=1 # Number of current file. 52951.1Stv ac_beg=1 # First line for current file. 52961.1Stv ac_end=$ac_max_sed_lines # Line after last line for current file. 52971.1Stv ac_more_lines=: 52981.1Stv ac_sed_cmds= 52991.1Stv while $ac_more_lines; do 53001.1Stv if test $ac_beg -gt 1; then 53011.1Stv sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 53021.1Stv else 53031.1Stv sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 53041.1Stv fi 53051.1Stv if test ! -s $tmp/subs.frag; then 53061.1Stv ac_more_lines=false 53071.1Stv else 53081.1Stv # The purpose of the label and of the branching condition is to 53091.1Stv # speed up the sed processing (if there are no `@' at all, there 53101.1Stv # is no need to browse any of the substitutions). 53111.1Stv # These are the two extra sed commands mentioned above. 53121.1Stv (echo ':t 53131.1Stv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 53141.1Stv if test -z "$ac_sed_cmds"; then 53151.1Stv ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 53161.1Stv else 53171.1Stv ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 53181.1Stv fi 53191.1Stv ac_sed_frag=`expr $ac_sed_frag + 1` 53201.1Stv ac_beg=$ac_end 53211.1Stv ac_end=`expr $ac_end + $ac_max_sed_lines` 53221.1Stv fi 53231.1Stv done 53241.1Stv if test -z "$ac_sed_cmds"; then 53251.1Stv ac_sed_cmds=cat 53261.1Stv fi 53271.1Stvfi # test -n "$CONFIG_FILES" 53281.1Stv 53291.1StvEOF 53301.1Stvcat >>$CONFIG_STATUS <<\EOF 53311.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 53321.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 53331.1Stv case $ac_file in 53341.1Stv - | *:- | *:-:* ) # input from stdin 53351.1Stv cat >$tmp/stdin 53361.1Stv ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 53371.1Stv ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 53381.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 53391.1Stv ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 53401.1Stv * ) ac_file_in=$ac_file.in ;; 53411.1Stv esac 53421.1Stv 53431.1Stv # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 53441.1Stv ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53451.1Stv X"$ac_file" : 'X\(//\)[^/]' \| \ 53461.1Stv X"$ac_file" : 'X\(//\)$' \| \ 53471.1Stv X"$ac_file" : 'X\(/\)' \| \ 53481.1Stv . : '\(.\)' 2>/dev/null || 53491.1Stvecho X"$ac_file" | 53501.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 53511.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 53521.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 53531.1Stv /^X\(\/\).*/{ s//\1/; q; } 53541.1Stv s/.*/./; q'` 53551.1Stv if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 53561.1Stv { case "$ac_dir" in 53571.1Stv [\\/]* | ?:[\\/]* ) as_incr_dir=;; 53581.1Stv *) as_incr_dir=.;; 53591.1Stvesac 53601.1Stvas_dummy="$ac_dir" 53611.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 53621.1Stv case $as_mkdir_dir in 53631.1Stv # Skip DOS drivespec 53641.1Stv ?:) as_incr_dir=$as_mkdir_dir ;; 53651.1Stv *) 53661.1Stv as_incr_dir=$as_incr_dir/$as_mkdir_dir 53671.1Stv test -d "$as_incr_dir" || mkdir "$as_incr_dir" 53681.1Stv ;; 53691.1Stv esac 53701.1Stvdone; } 53711.1Stv 53721.1Stv ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 53731.1Stv # A "../" for each directory in $ac_dir_suffix. 53741.1Stv ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 53751.1Stv else 53761.1Stv ac_dir_suffix= ac_dots= 53771.1Stv fi 53781.1Stv 53791.1Stv case $srcdir in 53801.1Stv .) ac_srcdir=. 53811.1Stv if test -z "$ac_dots"; then 53821.1Stv ac_top_srcdir=. 53831.1Stv else 53841.1Stv ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 53851.1Stv fi ;; 53861.1Stv [\\/]* | ?:[\\/]* ) 53871.1Stv ac_srcdir=$srcdir$ac_dir_suffix; 53881.1Stv ac_top_srcdir=$srcdir ;; 53891.1Stv *) # Relative path. 53901.1Stv ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 53911.1Stv ac_top_srcdir=$ac_dots$srcdir ;; 53921.1Stv esac 53931.1Stv 53941.1Stv if test x"$ac_file" != x-; then 53951.34Sthorpej { echo "$as_me:5395: creating $ac_file" >&5 53961.1Stvecho "$as_me: creating $ac_file" >&6;} 53971.1Stv rm -f "$ac_file" 53981.1Stv fi 53991.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 54001.1Stv # use $as_me), people would be surprised to read: 54011.1Stv # /* config.h. Generated automatically by config.status. */ 54021.1Stv configure_input="Generated automatically from `echo $ac_file_in | 54031.1Stv sed 's,.*/,,'` by configure." 54041.1Stv 54051.1Stv # First look for the input files in the build tree, otherwise in the 54061.1Stv # src tree. 54071.1Stv ac_file_inputs=`IFS=: 54081.1Stv for f in $ac_file_in; do 54091.1Stv case $f in 54101.1Stv -) echo $tmp/stdin ;; 54111.1Stv [\\/$]*) 54121.1Stv # Absolute (can't be DOS-style, as IFS=:) 54131.34Sthorpej test -f "$f" || { { echo "$as_me:5413: error: cannot find input file: $f" >&5 54141.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 54151.1Stv { (exit 1); exit 1; }; } 54161.1Stv echo $f;; 54171.1Stv *) # Relative 54181.1Stv if test -f "$f"; then 54191.1Stv # Build tree 54201.1Stv echo $f 54211.1Stv elif test -f "$srcdir/$f"; then 54221.1Stv # Source tree 54231.1Stv echo $srcdir/$f 54241.1Stv else 54251.1Stv # /dev/null tree 54261.34Sthorpej { { echo "$as_me:5426: error: cannot find input file: $f" >&5 54271.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 54281.1Stv { (exit 1); exit 1; }; } 54291.1Stv fi;; 54301.1Stv esac 54311.1Stv done` || { (exit 1); exit 1; } 54321.1StvEOF 54331.1Stvcat >>$CONFIG_STATUS <<EOF 54341.1Stv sed "$ac_vpsub 54351.1Stv$extrasub 54361.1StvEOF 54371.1Stvcat >>$CONFIG_STATUS <<\EOF 54381.1Stv:t 54391.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 54401.1Stvs,@configure_input@,$configure_input,;t t 54411.1Stvs,@srcdir@,$ac_srcdir,;t t 54421.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t 54431.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 54441.1Stv rm -f $tmp/stdin 54451.1Stv if test x"$ac_file" != x-; then 54461.1Stv mv $tmp/out $ac_file 54471.1Stv else 54481.1Stv cat $tmp/out 54491.1Stv rm -f $tmp/out 54501.1Stv fi 54511.1Stv 54521.1Stvdone 54531.1StvEOF 54541.1Stvcat >>$CONFIG_STATUS <<\EOF 54551.1Stv 54561.1Stv# 54571.1Stv# CONFIG_HEADER section. 54581.1Stv# 54591.1Stv 54601.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 54611.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given. 54621.1Stv# 54631.1Stv# ac_d sets the value in "#define NAME VALUE" lines. 54641.1Stvac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 54651.1Stvac_dB='[ ].*$,\1#\2' 54661.1Stvac_dC=' ' 54671.1Stvac_dD=',;t' 54681.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 54691.1Stvac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 54701.1Stvac_uB='$,\1#\2define\3' 54711.1Stvac_uC=' ' 54721.1Stvac_uD=',;t' 54731.1Stv 54741.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 54751.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 54761.1Stv case $ac_file in 54771.1Stv - | *:- | *:-:* ) # input from stdin 54781.1Stv cat >$tmp/stdin 54791.1Stv ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 54801.1Stv ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 54811.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 54821.1Stv ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 54831.1Stv * ) ac_file_in=$ac_file.in ;; 54841.1Stv esac 54851.1Stv 54861.34Sthorpej test x"$ac_file" != x- && { echo "$as_me:5486: creating $ac_file" >&5 54871.1Stvecho "$as_me: creating $ac_file" >&6;} 54881.1Stv 54891.1Stv # First look for the input files in the build tree, otherwise in the 54901.1Stv # src tree. 54911.1Stv ac_file_inputs=`IFS=: 54921.1Stv for f in $ac_file_in; do 54931.1Stv case $f in 54941.1Stv -) echo $tmp/stdin ;; 54951.1Stv [\\/$]*) 54961.1Stv # Absolute (can't be DOS-style, as IFS=:) 54971.34Sthorpej test -f "$f" || { { echo "$as_me:5497: error: cannot find input file: $f" >&5 54981.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 54991.1Stv { (exit 1); exit 1; }; } 55001.1Stv echo $f;; 55011.1Stv *) # Relative 55021.1Stv if test -f "$f"; then 55031.1Stv # Build tree 55041.1Stv echo $f 55051.1Stv elif test -f "$srcdir/$f"; then 55061.1Stv # Source tree 55071.1Stv echo $srcdir/$f 55081.1Stv else 55091.1Stv # /dev/null tree 55101.34Sthorpej { { echo "$as_me:5510: error: cannot find input file: $f" >&5 55111.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 55121.1Stv { (exit 1); exit 1; }; } 55131.1Stv fi;; 55141.1Stv esac 55151.1Stv done` || { (exit 1); exit 1; } 55161.1Stv # Remove the trailing spaces. 55171.1Stv sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 55181.1Stv 55191.1StvEOF 55201.1Stv 55211.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and 55221.1Stv# `conftest.undefs', that substitutes the proper values into 55231.1Stv# config.h.in to produce config.h. The first handles `#define' 55241.1Stv# templates, and the second `#undef' templates. 55251.1Stv# And first: Protect against being on the right side of a sed subst in 55261.1Stv# config.status. Protect against being in an unquoted here document 55271.1Stv# in config.status. 55281.1Stvrm -f conftest.defines conftest.undefs 55291.1Stv# Using a here document instead of a string reduces the quoting nightmare. 55301.1Stv# Putting comments in sed scripts is not portable. 55311.1Stv# 55321.1Stv# `end' is used to avoid that the second main sed command (meant for 55331.1Stv# 0-ary CPP macros) applies to n-ary macro definitions. 55341.1Stv# See the Autoconf documentation for `clear'. 55351.1Stvcat >confdef2sed.sed <<\EOF 55361.1Stvs/[\\&,]/\\&/g 55371.1Stvs,[\\$`],\\&,g 55381.1Stvt clear 55391.1Stv: clear 55401.1Stvs,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 55411.1Stvt end 55421.1Stvs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 55431.1Stv: end 55441.1StvEOF 55451.1Stv# If some macros were called several times there might be several times 55461.1Stv# the same #defines, which is useless. Nevertheless, we may not want to 55471.1Stv# sort them, since we want the *last* AC-DEFINE to be honored. 55481.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 55491.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 55501.1Stvrm -f confdef2sed.sed 55511.1Stv 55521.1Stv# This sed command replaces #undef with comments. This is necessary, for 55531.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required 55541.1Stv# on some systems where configure will not decide to define it. 55551.1Stvcat >>conftest.undefs <<\EOF 55561.1Stvs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 55571.1StvEOF 55581.1Stv 55591.1Stv# Break up conftest.defines because some shells have a limit on the size 55601.1Stv# of here documents, and old seds have small limits too (100 cmds). 55611.1Stvecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 55621.1Stvecho ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 55631.1Stvecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 55641.1Stvecho ' :' >>$CONFIG_STATUS 55651.1Stvrm -f conftest.tail 55661.1Stvwhile grep . conftest.defines >/dev/null 55671.1Stvdo 55681.1Stv # Write a limited-size here document to $tmp/defines.sed. 55691.1Stv echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 55701.1Stv # Speed up: don't consider the non `#define' lines. 55711.1Stv echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 55721.1Stv # Work around the forget-to-reset-the-flag bug. 55731.1Stv echo 't clr' >>$CONFIG_STATUS 55741.1Stv echo ': clr' >>$CONFIG_STATUS 55751.1Stv sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 55761.1Stv echo 'CEOF 55771.1Stv sed -f $tmp/defines.sed $tmp/in >$tmp/out 55781.1Stv rm -f $tmp/in 55791.1Stv mv $tmp/out $tmp/in 55801.1Stv' >>$CONFIG_STATUS 55811.1Stv sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 55821.1Stv rm -f conftest.defines 55831.1Stv mv conftest.tail conftest.defines 55841.1Stvdone 55851.1Stvrm -f conftest.defines 55861.1Stvecho ' fi # egrep' >>$CONFIG_STATUS 55871.1Stvecho >>$CONFIG_STATUS 55881.1Stv 55891.1Stv# Break up conftest.undefs because some shells have a limit on the size 55901.1Stv# of here documents, and old seds have small limits too (100 cmds). 55911.1Stvecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 55921.1Stvrm -f conftest.tail 55931.1Stvwhile grep . conftest.undefs >/dev/null 55941.1Stvdo 55951.1Stv # Write a limited-size here document to $tmp/undefs.sed. 55961.1Stv echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 55971.1Stv # Speed up: don't consider the non `#undef' 55981.1Stv echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 55991.1Stv # Work around the forget-to-reset-the-flag bug. 56001.1Stv echo 't clr' >>$CONFIG_STATUS 56011.1Stv echo ': clr' >>$CONFIG_STATUS 56021.1Stv sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 56031.1Stv echo 'CEOF 56041.1Stv sed -f $tmp/undefs.sed $tmp/in >$tmp/out 56051.1Stv rm -f $tmp/in 56061.1Stv mv $tmp/out $tmp/in 56071.1Stv' >>$CONFIG_STATUS 56081.1Stv sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 56091.1Stv rm -f conftest.undefs 56101.1Stv mv conftest.tail conftest.undefs 56111.1Stvdone 56121.1Stvrm -f conftest.undefs 56131.1Stv 56141.1Stvcat >>$CONFIG_STATUS <<\EOF 56151.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 56161.1Stv # use $as_me), people would be surprised to read: 56171.1Stv # /* config.h. Generated automatically by config.status. */ 56181.1Stv if test x"$ac_file" = x-; then 56191.1Stv echo "/* Generated automatically by configure. */" >$tmp/config.h 56201.1Stv else 56211.1Stv echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 56221.1Stv fi 56231.1Stv cat $tmp/in >>$tmp/config.h 56241.1Stv rm -f $tmp/in 56251.1Stv if test x"$ac_file" != x-; then 56261.1Stv if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 56271.34Sthorpej { echo "$as_me:5627: $ac_file is unchanged" >&5 56281.1Stvecho "$as_me: $ac_file is unchanged" >&6;} 56291.1Stv else 56301.1Stv ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 56311.1Stv X"$ac_file" : 'X\(//\)[^/]' \| \ 56321.1Stv X"$ac_file" : 'X\(//\)$' \| \ 56331.1Stv X"$ac_file" : 'X\(/\)' \| \ 56341.1Stv . : '\(.\)' 2>/dev/null || 56351.1Stvecho X"$ac_file" | 56361.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 56371.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 56381.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 56391.1Stv /^X\(\/\).*/{ s//\1/; q; } 56401.1Stv s/.*/./; q'` 56411.1Stv if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 56421.1Stv { case "$ac_dir" in 56431.1Stv [\\/]* | ?:[\\/]* ) as_incr_dir=;; 56441.1Stv *) as_incr_dir=.;; 56451.1Stvesac 56461.1Stvas_dummy="$ac_dir" 56471.1Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 56481.1Stv case $as_mkdir_dir in 56491.1Stv # Skip DOS drivespec 56501.1Stv ?:) as_incr_dir=$as_mkdir_dir ;; 56511.1Stv *) 56521.1Stv as_incr_dir=$as_incr_dir/$as_mkdir_dir 56531.1Stv test -d "$as_incr_dir" || mkdir "$as_incr_dir" 56541.1Stv ;; 56551.1Stv esac 56561.1Stvdone; } 56571.1Stv 56581.1Stv fi 56591.1Stv rm -f $ac_file 56601.1Stv mv $tmp/config.h $ac_file 56611.1Stv fi 56621.1Stv else 56631.1Stv cat $tmp/config.h 56641.1Stv rm -f $tmp/config.h 56651.1Stv fi 56661.1Stvdone 56671.1StvEOF 56681.1Stv 56691.1Stvcat >>$CONFIG_STATUS <<\EOF 56701.1Stv 56711.1Stv{ (exit 0); exit 0; } 56721.1StvEOF 56731.1Stvchmod +x $CONFIG_STATUS 56741.1Stvac_clean_files=$ac_clean_files_save 56751.1Stv 56761.1Stv# configure is writing to config.log, and then calls config.status. 56771.1Stv# config.status does its own redirection, appending to config.log. 56781.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 56791.1Stv# by configure, so config.status won't be able to write to it; its 56801.1Stv# output is simply discarded. So we exec the FD to /dev/null, 56811.1Stv# effectively closing config.log, so it can be properly (re)opened and 56821.1Stv# appended to by config.status. When coming back to configure, we 56831.1Stv# need to make the FD available again. 56841.1Stvif test "$no_create" != yes; then 56851.1Stv ac_cs_success=: 56861.1Stv exec 5>/dev/null 56871.1Stv $SHELL $CONFIG_STATUS || ac_cs_success=false 56881.1Stv exec 5>>config.log 56891.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 56901.1Stv # would make configure fail if this is the last instruction. 56911.1Stv $ac_cs_success || { (exit 1); exit 1; } 56921.1Stvfi 56931.1Stv 5694