configure revision 1.59
11.1Stv#! /bin/sh 21.1Stv# Guess values for system-dependent variables and create Makefiles. 31.53Sdogcow# Generated by GNU Autoconf 2.59 for libnbcompat noversion. 41.1Stv# 51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>. 61.1Stv# 71.53Sdogcow# Copyright (C) 2003 Free Software Foundation, Inc. 81.1Stv# This configure script is free software; the Free Software Foundation 91.1Stv# gives unlimited permission to copy, distribute and modify it. 101.53Sdogcow## --------------------- ## 111.53Sdogcow## M4sh Initialization. ## 121.53Sdogcow## --------------------- ## 131.1Stv 141.53Sdogcow# Be Bourne compatible 151.53Sdogcowif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 161.53Sdogcow emulate sh 171.53Sdogcow NULLCMD=: 181.53Sdogcow # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 191.53Sdogcow # is contrary to our usage. Disable this feature. 201.53Sdogcow alias -g '${1+"$@"}'='"$@"' 211.53Sdogcowelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 221.53Sdogcow set -o posix 231.53Sdogcowfi 241.53SdogcowDUALCASE=1; export DUALCASE # for MKS sh 251.53Sdogcow 261.53Sdogcow# Support unset when possible. 271.53Sdogcowif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 281.53Sdogcow as_unset=unset 291.53Sdogcowelse 301.53Sdogcow as_unset=false 311.53Sdogcowfi 321.53Sdogcow 331.53Sdogcow 341.53Sdogcow# Work around bugs in pre-3.0 UWIN ksh. 351.53Sdogcow$as_unset ENV MAIL MAILPATH 361.53SdogcowPS1='$ ' 371.53SdogcowPS2='> ' 381.53SdogcowPS4='+ ' 391.53Sdogcow 401.53Sdogcow# NLS nuisances. 411.53Sdogcowfor as_var in \ 421.53Sdogcow LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 431.53Sdogcow LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 441.53Sdogcow LC_TELEPHONE LC_TIME 451.53Sdogcowdo 461.53Sdogcow if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 471.53Sdogcow eval $as_var=C; export $as_var 481.53Sdogcow else 491.53Sdogcow $as_unset $as_var 501.53Sdogcow fi 511.53Sdogcowdone 521.53Sdogcow 531.53Sdogcow# Required to use basename. 541.53Sdogcowif expr a : '\(a\)' >/dev/null 2>&1; then 551.53Sdogcow as_expr=expr 561.53Sdogcowelse 571.53Sdogcow as_expr=false 581.53Sdogcowfi 591.53Sdogcow 601.53Sdogcowif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 611.53Sdogcow as_basename=basename 621.53Sdogcowelse 631.53Sdogcow as_basename=false 641.53Sdogcowfi 651.53Sdogcow 661.53Sdogcow 671.53Sdogcow# Name of the executable. 681.53Sdogcowas_me=`$as_basename "$0" || 691.53Sdogcow$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 701.53Sdogcow X"$0" : 'X\(//\)$' \| \ 711.53Sdogcow X"$0" : 'X\(/\)$' \| \ 721.53Sdogcow . : '\(.\)' 2>/dev/null || 731.53Sdogcowecho X/"$0" | 741.53Sdogcow sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 751.53Sdogcow /^X\/\(\/\/\)$/{ s//\1/; q; } 761.53Sdogcow /^X\/\(\/\).*/{ s//\1/; q; } 771.53Sdogcow s/.*/./; q'` 781.53Sdogcow 791.53Sdogcow 801.53Sdogcow# PATH needs CR, and LINENO needs CR and PATH. 811.1Stv# Avoid depending upon Character Ranges. 821.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz' 831.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 841.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS 851.1Stvas_cr_digits='0123456789' 861.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits 871.1Stv 881.53Sdogcow# The user is always right. 891.53Sdogcowif test "${PATH_SEPARATOR+set}" != set; then 901.53Sdogcow echo "#! /bin/sh" >conf$$.sh 911.53Sdogcow echo "exit 0" >>conf$$.sh 921.53Sdogcow chmod +x conf$$.sh 931.53Sdogcow if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 941.53Sdogcow PATH_SEPARATOR=';' 951.53Sdogcow else 961.53Sdogcow PATH_SEPARATOR=: 971.53Sdogcow fi 981.53Sdogcow rm -f conf$$.sh 991.53Sdogcowfi 1001.53Sdogcow 1011.53Sdogcow 1021.53Sdogcow as_lineno_1=$LINENO 1031.53Sdogcow as_lineno_2=$LINENO 1041.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1051.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 1061.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" || { 1071.53Sdogcow # Find who we are. Look in the path if we contain no path at all 1081.53Sdogcow # relative or not. 1091.53Sdogcow case $0 in 1101.53Sdogcow *[\\/]* ) as_myself=$0 ;; 1111.53Sdogcow *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1121.53Sdogcowfor as_dir in $PATH 1131.53Sdogcowdo 1141.53Sdogcow IFS=$as_save_IFS 1151.53Sdogcow test -z "$as_dir" && as_dir=. 1161.53Sdogcow test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1171.53Sdogcowdone 1181.53Sdogcow 1191.53Sdogcow ;; 1201.53Sdogcow esac 1211.53Sdogcow # We did not find ourselves, most probably we were run as `sh COMMAND' 1221.53Sdogcow # in which case we are not to be found in the path. 1231.53Sdogcow if test "x$as_myself" = x; then 1241.53Sdogcow as_myself=$0 1251.53Sdogcow fi 1261.53Sdogcow if test ! -f "$as_myself"; then 1271.53Sdogcow { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 1281.53Sdogcow { (exit 1); exit 1; }; } 1291.53Sdogcow fi 1301.53Sdogcow case $CONFIG_SHELL in 1311.53Sdogcow '') 1321.53Sdogcow as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1331.53Sdogcowfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1341.53Sdogcowdo 1351.53Sdogcow IFS=$as_save_IFS 1361.53Sdogcow test -z "$as_dir" && as_dir=. 1371.53Sdogcow for as_base in sh bash ksh sh5; do 1381.53Sdogcow case $as_dir in 1391.53Sdogcow /*) 1401.53Sdogcow if ("$as_dir/$as_base" -c ' 1411.53Sdogcow as_lineno_1=$LINENO 1421.53Sdogcow as_lineno_2=$LINENO 1431.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1441.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 1451.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1461.53Sdogcow $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 1471.53Sdogcow $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 1481.53Sdogcow CONFIG_SHELL=$as_dir/$as_base 1491.53Sdogcow export CONFIG_SHELL 1501.53Sdogcow exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1511.53Sdogcow fi;; 1521.53Sdogcow esac 1531.53Sdogcow done 1541.53Sdogcowdone 1551.53Sdogcow;; 1561.53Sdogcow esac 1571.53Sdogcow 1581.53Sdogcow # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1591.53Sdogcow # uniformly replaced by the line number. The first 'sed' inserts a 1601.53Sdogcow # line-number line before each line; the second 'sed' does the real 1611.53Sdogcow # work. The second script uses 'N' to pair each line-number line 1621.53Sdogcow # with the numbered line, and appends trailing '-' during 1631.53Sdogcow # substitution so that $LINENO is not a special case at line end. 1641.53Sdogcow # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1651.53Sdogcow # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1661.53Sdogcow sed '=' <$as_myself | 1671.53Sdogcow sed ' 1681.53Sdogcow N 1691.53Sdogcow s,$,-, 1701.53Sdogcow : loop 1711.53Sdogcow s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1721.53Sdogcow t loop 1731.53Sdogcow s,-$,, 1741.53Sdogcow s,^['$as_cr_digits']*\n,, 1751.53Sdogcow ' >$as_me.lineno && 1761.53Sdogcow chmod +x $as_me.lineno || 1771.53Sdogcow { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 1781.53Sdogcow { (exit 1); exit 1; }; } 1791.48Sjmc 1801.53Sdogcow # Don't try to exec as it changes $[0], causing all sort of problems 1811.53Sdogcow # (the dirname of $[0] is not the place where we might find the 1821.53Sdogcow # original and so on. Autoconf is especially sensible to this). 1831.53Sdogcow . ./$as_me.lineno 1841.53Sdogcow # Exit status is that of the last command. 1851.53Sdogcow exit 1861.53Sdogcow} 1871.48Sjmc 1881.39Sfredb 1891.53Sdogcowcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1901.53Sdogcow *c*,-n*) ECHO_N= ECHO_C=' 1911.53Sdogcow' ECHO_T=' ' ;; 1921.53Sdogcow *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1931.53Sdogcow *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1941.53Sdogcowesac 1951.1Stv 1961.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 1971.1Stv as_expr=expr 1981.1Stvelse 1991.1Stv as_expr=false 2001.1Stvfi 2011.1Stv 2021.1Stvrm -f conf$$ conf$$.exe conf$$.file 2031.1Stvecho >conf$$.file 2041.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 2051.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 2061.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2071.1Stv if test -f conf$$.exe; then 2081.1Stv # Don't use ln at all; we don't have any links 2091.1Stv as_ln_s='cp -p' 2101.1Stv else 2111.1Stv as_ln_s='ln -s' 2121.1Stv fi 2131.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 2141.1Stv as_ln_s=ln 2151.1Stvelse 2161.1Stv as_ln_s='cp -p' 2171.1Stvfi 2181.1Stvrm -f conf$$ conf$$.exe conf$$.file 2191.1Stv 2201.53Sdogcowif mkdir -p . 2>/dev/null; then 2211.53Sdogcow as_mkdir_p=: 2221.53Sdogcowelse 2231.53Sdogcow test -d ./-p && rmdir ./-p 2241.53Sdogcow as_mkdir_p=false 2251.53Sdogcowfi 2261.53Sdogcow 2271.52Sdbjas_executable_p="test -f" 2281.52Sdbj 2291.53Sdogcow# Sed expression to map a string onto a valid CPP name. 2301.53Sdogcowas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2311.53Sdogcow 2321.53Sdogcow# Sed expression to map a string onto a valid variable name. 2331.53Sdogcowas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2341.48Sjmc 2351.1Stv 2361.1Stv# IFS 2371.1Stv# We need space, tab and new line, in precisely that order. 2381.1Stvas_nl=' 2391.1Stv' 2401.1StvIFS=" $as_nl" 2411.1Stv 2421.1Stv# CDPATH. 2431.53Sdogcow$as_unset CDPATH 2441.53Sdogcow 2451.1Stv 2461.1Stv# Name of the host. 2471.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 2481.1Stv# so uname gets run too. 2491.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 2501.1Stv 2511.1Stvexec 6>&1 2521.1Stv 2531.1Stv# 2541.1Stv# Initializations. 2551.1Stv# 2561.1Stvac_default_prefix=/usr/local 2571.53Sdogcowac_config_libobj_dir=. 2581.1Stvcross_compiling=no 2591.1Stvsubdirs= 2601.53SdogcowMFLAGS= 2611.53SdogcowMAKEFLAGS= 2621.1StvSHELL=${CONFIG_SHELL-/bin/sh} 2631.1Stv 2641.1Stv# Maximum number of lines to put in a shell here document. 2651.1Stv# This variable seems obsolete. It should probably be removed, and 2661.1Stv# only ac_max_sed_lines should be used. 2671.1Stv: ${ac_max_here_lines=38} 2681.1Stv 2691.53Sdogcow# Identity of this package. 2701.53SdogcowPACKAGE_NAME='libnbcompat' 2711.53SdogcowPACKAGE_TARNAME='libnbcompat' 2721.53SdogcowPACKAGE_VERSION='noversion' 2731.53SdogcowPACKAGE_STRING='libnbcompat noversion' 2741.53SdogcowPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org' 2751.53Sdogcow 2761.1Stv# Factoring default headers for most tests. 2771.1Stvac_includes_default="\ 2781.1Stv#include <stdio.h> 2791.1Stv#if HAVE_SYS_TYPES_H 2801.1Stv# include <sys/types.h> 2811.1Stv#endif 2821.1Stv#if HAVE_SYS_STAT_H 2831.1Stv# include <sys/stat.h> 2841.1Stv#endif 2851.1Stv#if STDC_HEADERS 2861.1Stv# include <stdlib.h> 2871.1Stv# include <stddef.h> 2881.1Stv#else 2891.1Stv# if HAVE_STDLIB_H 2901.1Stv# include <stdlib.h> 2911.1Stv# endif 2921.1Stv#endif 2931.1Stv#if HAVE_STRING_H 2941.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H 2951.1Stv# include <memory.h> 2961.1Stv# endif 2971.1Stv# include <string.h> 2981.1Stv#endif 2991.1Stv#if HAVE_STRINGS_H 3001.1Stv# include <strings.h> 3011.1Stv#endif 3021.1Stv#if HAVE_INTTYPES_H 3031.1Stv# include <inttypes.h> 3041.1Stv#else 3051.1Stv# if HAVE_STDINT_H 3061.1Stv# include <stdint.h> 3071.1Stv# endif 3081.1Stv#endif 3091.1Stv#if HAVE_UNISTD_H 3101.1Stv# include <unistd.h> 3111.1Stv#endif" 3121.1Stv 3131.53Sdogcowac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP BSHELL ALLOCA LIBOBJS LTLIBOBJS' 3141.53Sdogcowac_subst_files='' 3151.53Sdogcow 3161.1Stv# Initialize some variables set by options. 3171.1Stvac_init_help= 3181.1Stvac_init_version=false 3191.1Stv# The variables have the same names as the options, with 3201.1Stv# dashes changed to underlines. 3211.1Stvcache_file=/dev/null 3221.1Stvexec_prefix=NONE 3231.1Stvno_create= 3241.1Stvno_recursion= 3251.1Stvprefix=NONE 3261.1Stvprogram_prefix=NONE 3271.1Stvprogram_suffix=NONE 3281.1Stvprogram_transform_name=s,x,x, 3291.1Stvsilent= 3301.1Stvsite= 3311.1Stvsrcdir= 3321.1Stvverbose= 3331.1Stvx_includes=NONE 3341.1Stvx_libraries=NONE 3351.1Stv 3361.1Stv# Installation directory options. 3371.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo" 3381.1Stv# and all the variables that are supposed to be based on exec_prefix 3391.1Stv# by default will actually change. 3401.1Stv# Use braces instead of parens because sh, perl, etc. also accept them. 3411.1Stvbindir='${exec_prefix}/bin' 3421.1Stvsbindir='${exec_prefix}/sbin' 3431.1Stvlibexecdir='${exec_prefix}/libexec' 3441.1Stvdatadir='${prefix}/share' 3451.1Stvsysconfdir='${prefix}/etc' 3461.1Stvsharedstatedir='${prefix}/com' 3471.1Stvlocalstatedir='${prefix}/var' 3481.1Stvlibdir='${exec_prefix}/lib' 3491.1Stvincludedir='${prefix}/include' 3501.1Stvoldincludedir='/usr/include' 3511.1Stvinfodir='${prefix}/info' 3521.1Stvmandir='${prefix}/man' 3531.1Stv 3541.1Stvac_prev= 3551.1Stvfor ac_option 3561.1Stvdo 3571.1Stv # If the previous option needs an argument, assign it. 3581.1Stv if test -n "$ac_prev"; then 3591.1Stv eval "$ac_prev=\$ac_option" 3601.1Stv ac_prev= 3611.1Stv continue 3621.1Stv fi 3631.1Stv 3641.1Stv ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 3651.1Stv 3661.1Stv # Accept the important Cygnus configure options, so we can diagnose typos. 3671.1Stv 3681.1Stv case $ac_option in 3691.1Stv 3701.1Stv -bindir | --bindir | --bindi | --bind | --bin | --bi) 3711.1Stv ac_prev=bindir ;; 3721.1Stv -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 3731.1Stv bindir=$ac_optarg ;; 3741.1Stv 3751.1Stv -build | --build | --buil | --bui | --bu) 3761.1Stv ac_prev=build_alias ;; 3771.1Stv -build=* | --build=* | --buil=* | --bui=* | --bu=*) 3781.1Stv build_alias=$ac_optarg ;; 3791.1Stv 3801.1Stv -cache-file | --cache-file | --cache-fil | --cache-fi \ 3811.1Stv | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 3821.1Stv ac_prev=cache_file ;; 3831.1Stv -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 3841.1Stv | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 3851.1Stv cache_file=$ac_optarg ;; 3861.1Stv 3871.1Stv --config-cache | -C) 3881.1Stv cache_file=config.cache ;; 3891.1Stv 3901.1Stv -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 3911.1Stv ac_prev=datadir ;; 3921.1Stv -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 3931.1Stv | --da=*) 3941.1Stv datadir=$ac_optarg ;; 3951.1Stv 3961.1Stv -disable-* | --disable-*) 3971.1Stv ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 3981.1Stv # Reject names that are not valid shell variable names. 3991.1Stv expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 4001.1Stv { echo "$as_me: error: invalid feature name: $ac_feature" >&2 4011.1Stv { (exit 1); exit 1; }; } 4021.1Stv ac_feature=`echo $ac_feature | sed 's/-/_/g'` 4031.1Stv eval "enable_$ac_feature=no" ;; 4041.1Stv 4051.1Stv -enable-* | --enable-*) 4061.1Stv ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 4071.1Stv # Reject names that are not valid shell variable names. 4081.1Stv expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 4091.1Stv { echo "$as_me: error: invalid feature name: $ac_feature" >&2 4101.1Stv { (exit 1); exit 1; }; } 4111.1Stv ac_feature=`echo $ac_feature | sed 's/-/_/g'` 4121.1Stv case $ac_option in 4131.1Stv *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 4141.1Stv *) ac_optarg=yes ;; 4151.1Stv esac 4161.1Stv eval "enable_$ac_feature='$ac_optarg'" ;; 4171.1Stv 4181.1Stv -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 4191.1Stv | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 4201.1Stv | --exec | --exe | --ex) 4211.1Stv ac_prev=exec_prefix ;; 4221.1Stv -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 4231.1Stv | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 4241.1Stv | --exec=* | --exe=* | --ex=*) 4251.1Stv exec_prefix=$ac_optarg ;; 4261.1Stv 4271.1Stv -gas | --gas | --ga | --g) 4281.1Stv # Obsolete; use --with-gas. 4291.1Stv with_gas=yes ;; 4301.1Stv 4311.1Stv -help | --help | --hel | --he | -h) 4321.1Stv ac_init_help=long ;; 4331.1Stv -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 4341.1Stv ac_init_help=recursive ;; 4351.1Stv -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 4361.1Stv ac_init_help=short ;; 4371.1Stv 4381.1Stv -host | --host | --hos | --ho) 4391.1Stv ac_prev=host_alias ;; 4401.1Stv -host=* | --host=* | --hos=* | --ho=*) 4411.1Stv host_alias=$ac_optarg ;; 4421.1Stv 4431.1Stv -includedir | --includedir | --includedi | --included | --include \ 4441.1Stv | --includ | --inclu | --incl | --inc) 4451.1Stv ac_prev=includedir ;; 4461.1Stv -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 4471.1Stv | --includ=* | --inclu=* | --incl=* | --inc=*) 4481.1Stv includedir=$ac_optarg ;; 4491.1Stv 4501.1Stv -infodir | --infodir | --infodi | --infod | --info | --inf) 4511.1Stv ac_prev=infodir ;; 4521.1Stv -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 4531.1Stv infodir=$ac_optarg ;; 4541.1Stv 4551.1Stv -libdir | --libdir | --libdi | --libd) 4561.1Stv ac_prev=libdir ;; 4571.1Stv -libdir=* | --libdir=* | --libdi=* | --libd=*) 4581.1Stv libdir=$ac_optarg ;; 4591.1Stv 4601.1Stv -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 4611.1Stv | --libexe | --libex | --libe) 4621.1Stv ac_prev=libexecdir ;; 4631.1Stv -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 4641.1Stv | --libexe=* | --libex=* | --libe=*) 4651.1Stv libexecdir=$ac_optarg ;; 4661.1Stv 4671.1Stv -localstatedir | --localstatedir | --localstatedi | --localstated \ 4681.1Stv | --localstate | --localstat | --localsta | --localst \ 4691.1Stv | --locals | --local | --loca | --loc | --lo) 4701.1Stv ac_prev=localstatedir ;; 4711.1Stv -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 4721.1Stv | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 4731.1Stv | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 4741.1Stv localstatedir=$ac_optarg ;; 4751.1Stv 4761.1Stv -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 4771.1Stv ac_prev=mandir ;; 4781.1Stv -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 4791.1Stv mandir=$ac_optarg ;; 4801.1Stv 4811.1Stv -nfp | --nfp | --nf) 4821.1Stv # Obsolete; use --without-fp. 4831.1Stv with_fp=no ;; 4841.1Stv 4851.1Stv -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 4861.53Sdogcow | --no-cr | --no-c | -n) 4871.1Stv no_create=yes ;; 4881.1Stv 4891.1Stv -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 4901.1Stv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 4911.1Stv no_recursion=yes ;; 4921.1Stv 4931.1Stv -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 4941.1Stv | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 4951.1Stv | --oldin | --oldi | --old | --ol | --o) 4961.1Stv ac_prev=oldincludedir ;; 4971.1Stv -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 4981.1Stv | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 4991.1Stv | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 5001.1Stv oldincludedir=$ac_optarg ;; 5011.1Stv 5021.1Stv -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 5031.1Stv ac_prev=prefix ;; 5041.1Stv -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 5051.1Stv prefix=$ac_optarg ;; 5061.1Stv 5071.1Stv -program-prefix | --program-prefix | --program-prefi | --program-pref \ 5081.1Stv | --program-pre | --program-pr | --program-p) 5091.1Stv ac_prev=program_prefix ;; 5101.1Stv -program-prefix=* | --program-prefix=* | --program-prefi=* \ 5111.1Stv | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 5121.1Stv program_prefix=$ac_optarg ;; 5131.1Stv 5141.1Stv -program-suffix | --program-suffix | --program-suffi | --program-suff \ 5151.1Stv | --program-suf | --program-su | --program-s) 5161.1Stv ac_prev=program_suffix ;; 5171.1Stv -program-suffix=* | --program-suffix=* | --program-suffi=* \ 5181.1Stv | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 5191.1Stv program_suffix=$ac_optarg ;; 5201.1Stv 5211.1Stv -program-transform-name | --program-transform-name \ 5221.1Stv | --program-transform-nam | --program-transform-na \ 5231.1Stv | --program-transform-n | --program-transform- \ 5241.1Stv | --program-transform | --program-transfor \ 5251.1Stv | --program-transfo | --program-transf \ 5261.1Stv | --program-trans | --program-tran \ 5271.1Stv | --progr-tra | --program-tr | --program-t) 5281.1Stv ac_prev=program_transform_name ;; 5291.1Stv -program-transform-name=* | --program-transform-name=* \ 5301.1Stv | --program-transform-nam=* | --program-transform-na=* \ 5311.1Stv | --program-transform-n=* | --program-transform-=* \ 5321.1Stv | --program-transform=* | --program-transfor=* \ 5331.1Stv | --program-transfo=* | --program-transf=* \ 5341.1Stv | --program-trans=* | --program-tran=* \ 5351.1Stv | --progr-tra=* | --program-tr=* | --program-t=*) 5361.1Stv program_transform_name=$ac_optarg ;; 5371.1Stv 5381.1Stv -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5391.1Stv | -silent | --silent | --silen | --sile | --sil) 5401.1Stv silent=yes ;; 5411.1Stv 5421.1Stv -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 5431.1Stv ac_prev=sbindir ;; 5441.1Stv -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 5451.1Stv | --sbi=* | --sb=*) 5461.1Stv sbindir=$ac_optarg ;; 5471.1Stv 5481.1Stv -sharedstatedir | --sharedstatedir | --sharedstatedi \ 5491.1Stv | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 5501.1Stv | --sharedst | --shareds | --shared | --share | --shar \ 5511.1Stv | --sha | --sh) 5521.1Stv ac_prev=sharedstatedir ;; 5531.1Stv -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 5541.1Stv | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 5551.1Stv | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 5561.1Stv | --sha=* | --sh=*) 5571.1Stv sharedstatedir=$ac_optarg ;; 5581.1Stv 5591.1Stv -site | --site | --sit) 5601.1Stv ac_prev=site ;; 5611.1Stv -site=* | --site=* | --sit=*) 5621.1Stv site=$ac_optarg ;; 5631.1Stv 5641.1Stv -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 5651.1Stv ac_prev=srcdir ;; 5661.1Stv -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 5671.1Stv srcdir=$ac_optarg ;; 5681.1Stv 5691.1Stv -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 5701.1Stv | --syscon | --sysco | --sysc | --sys | --sy) 5711.1Stv ac_prev=sysconfdir ;; 5721.1Stv -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 5731.1Stv | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 5741.1Stv sysconfdir=$ac_optarg ;; 5751.1Stv 5761.1Stv -target | --target | --targe | --targ | --tar | --ta | --t) 5771.1Stv ac_prev=target_alias ;; 5781.1Stv -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 5791.1Stv target_alias=$ac_optarg ;; 5801.1Stv 5811.1Stv -v | -verbose | --verbose | --verbos | --verbo | --verb) 5821.1Stv verbose=yes ;; 5831.1Stv 5841.1Stv -version | --version | --versio | --versi | --vers | -V) 5851.1Stv ac_init_version=: ;; 5861.1Stv 5871.1Stv -with-* | --with-*) 5881.1Stv ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 5891.1Stv # Reject names that are not valid shell variable names. 5901.1Stv expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 5911.1Stv { echo "$as_me: error: invalid package name: $ac_package" >&2 5921.1Stv { (exit 1); exit 1; }; } 5931.1Stv ac_package=`echo $ac_package| sed 's/-/_/g'` 5941.1Stv case $ac_option in 5951.1Stv *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 5961.1Stv *) ac_optarg=yes ;; 5971.1Stv esac 5981.1Stv eval "with_$ac_package='$ac_optarg'" ;; 5991.1Stv 6001.1Stv -without-* | --without-*) 6011.1Stv ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 6021.1Stv # Reject names that are not valid shell variable names. 6031.1Stv expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 6041.1Stv { echo "$as_me: error: invalid package name: $ac_package" >&2 6051.1Stv { (exit 1); exit 1; }; } 6061.1Stv ac_package=`echo $ac_package | sed 's/-/_/g'` 6071.1Stv eval "with_$ac_package=no" ;; 6081.1Stv 6091.1Stv --x) 6101.1Stv # Obsolete; use --with-x. 6111.1Stv with_x=yes ;; 6121.1Stv 6131.1Stv -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 6141.1Stv | --x-incl | --x-inc | --x-in | --x-i) 6151.1Stv ac_prev=x_includes ;; 6161.1Stv -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 6171.1Stv | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 6181.1Stv x_includes=$ac_optarg ;; 6191.1Stv 6201.1Stv -x-libraries | --x-libraries | --x-librarie | --x-librari \ 6211.1Stv | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 6221.1Stv ac_prev=x_libraries ;; 6231.1Stv -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 6241.1Stv | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 6251.1Stv x_libraries=$ac_optarg ;; 6261.1Stv 6271.1Stv -*) { echo "$as_me: error: unrecognized option: $ac_option 6281.1StvTry \`$0 --help' for more information." >&2 6291.1Stv { (exit 1); exit 1; }; } 6301.1Stv ;; 6311.1Stv 6321.1Stv *=*) 6331.1Stv ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 6341.1Stv # Reject names that are not valid shell variable names. 6351.1Stv expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 6361.1Stv { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 6371.1Stv { (exit 1); exit 1; }; } 6381.1Stv ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 6391.1Stv eval "$ac_envvar='$ac_optarg'" 6401.1Stv export $ac_envvar ;; 6411.1Stv 6421.1Stv *) 6431.1Stv # FIXME: should be removed in autoconf 3.0. 6441.1Stv echo "$as_me: WARNING: you should use --build, --host, --target" >&2 6451.1Stv expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 6461.1Stv echo "$as_me: WARNING: invalid host type: $ac_option" >&2 6471.1Stv : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 6481.1Stv ;; 6491.1Stv 6501.1Stv esac 6511.1Stvdone 6521.1Stv 6531.1Stvif test -n "$ac_prev"; then 6541.1Stv ac_option=--`echo $ac_prev | sed 's/_/-/g'` 6551.1Stv { echo "$as_me: error: missing argument to $ac_option" >&2 6561.1Stv { (exit 1); exit 1; }; } 6571.1Stvfi 6581.1Stv 6591.1Stv# Be sure to have absolute paths. 6601.1Stvfor ac_var in exec_prefix prefix 6611.1Stvdo 6621.1Stv eval ac_val=$`echo $ac_var` 6631.1Stv case $ac_val in 6641.1Stv [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 6651.53Sdogcow *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6661.1Stv { (exit 1); exit 1; }; };; 6671.1Stv esac 6681.1Stvdone 6691.1Stv 6701.1Stv# Be sure to have absolute paths. 6711.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 6721.53Sdogcow localstatedir libdir includedir oldincludedir infodir mandir 6731.1Stvdo 6741.1Stv eval ac_val=$`echo $ac_var` 6751.1Stv case $ac_val in 6761.1Stv [\\/$]* | ?:[\\/]* ) ;; 6771.53Sdogcow *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6781.1Stv { (exit 1); exit 1; }; };; 6791.1Stv esac 6801.1Stvdone 6811.1Stv 6821.1Stv# There might be people who depend on the old broken behavior: `$host' 6831.1Stv# used to hold the argument of --host etc. 6841.53Sdogcow# FIXME: To remove some day. 6851.1Stvbuild=$build_alias 6861.1Stvhost=$host_alias 6871.1Stvtarget=$target_alias 6881.1Stv 6891.53Sdogcow# FIXME: To remove some day. 6901.1Stvif test "x$host_alias" != x; then 6911.1Stv if test "x$build_alias" = x; then 6921.1Stv cross_compiling=maybe 6931.1Stv echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 6941.1Stv If a cross compiler is detected then cross compile mode will be used." >&2 6951.1Stv elif test "x$build_alias" != "x$host_alias"; then 6961.1Stv cross_compiling=yes 6971.1Stv fi 6981.1Stvfi 6991.1Stv 7001.1Stvac_tool_prefix= 7011.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias- 7021.1Stv 7031.1Stvtest "$silent" = yes && exec 6>/dev/null 7041.1Stv 7051.53Sdogcow 7061.1Stv# Find the source files, if location was not specified. 7071.1Stvif test -z "$srcdir"; then 7081.1Stv ac_srcdir_defaulted=yes 7091.1Stv # Try the directory containing this script, then its parent. 7101.53Sdogcow ac_confdir=`(dirname "$0") 2>/dev/null || 7111.53Sdogcow$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7121.53Sdogcow X"$0" : 'X\(//\)[^/]' \| \ 7131.53Sdogcow X"$0" : 'X\(//\)$' \| \ 7141.53Sdogcow X"$0" : 'X\(/\)' \| \ 7151.53Sdogcow . : '\(.\)' 2>/dev/null || 7161.53Sdogcowecho X"$0" | 7171.53Sdogcow sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7181.53Sdogcow /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7191.53Sdogcow /^X\(\/\/\)$/{ s//\1/; q; } 7201.53Sdogcow /^X\(\/\).*/{ s//\1/; q; } 7211.53Sdogcow s/.*/./; q'` 7221.1Stv srcdir=$ac_confdir 7231.1Stv if test ! -r $srcdir/$ac_unique_file; then 7241.1Stv srcdir=.. 7251.1Stv fi 7261.1Stvelse 7271.1Stv ac_srcdir_defaulted=no 7281.1Stvfi 7291.1Stvif test ! -r $srcdir/$ac_unique_file; then 7301.1Stv if test "$ac_srcdir_defaulted" = yes; then 7311.53Sdogcow { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 7321.1Stv { (exit 1); exit 1; }; } 7331.1Stv else 7341.53Sdogcow { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 7351.1Stv { (exit 1); exit 1; }; } 7361.1Stv fi 7371.1Stvfi 7381.53Sdogcow(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 7391.53Sdogcow { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 7401.53Sdogcow { (exit 1); exit 1; }; } 7411.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 7421.1Stvac_env_build_alias_set=${build_alias+set} 7431.1Stvac_env_build_alias_value=$build_alias 7441.1Stvac_cv_env_build_alias_set=${build_alias+set} 7451.1Stvac_cv_env_build_alias_value=$build_alias 7461.1Stvac_env_host_alias_set=${host_alias+set} 7471.1Stvac_env_host_alias_value=$host_alias 7481.1Stvac_cv_env_host_alias_set=${host_alias+set} 7491.1Stvac_cv_env_host_alias_value=$host_alias 7501.1Stvac_env_target_alias_set=${target_alias+set} 7511.1Stvac_env_target_alias_value=$target_alias 7521.1Stvac_cv_env_target_alias_set=${target_alias+set} 7531.1Stvac_cv_env_target_alias_value=$target_alias 7541.1Stvac_env_CC_set=${CC+set} 7551.1Stvac_env_CC_value=$CC 7561.1Stvac_cv_env_CC_set=${CC+set} 7571.1Stvac_cv_env_CC_value=$CC 7581.1Stvac_env_CFLAGS_set=${CFLAGS+set} 7591.1Stvac_env_CFLAGS_value=$CFLAGS 7601.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set} 7611.1Stvac_cv_env_CFLAGS_value=$CFLAGS 7621.1Stvac_env_LDFLAGS_set=${LDFLAGS+set} 7631.1Stvac_env_LDFLAGS_value=$LDFLAGS 7641.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set} 7651.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS 7661.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set} 7671.1Stvac_env_CPPFLAGS_value=$CPPFLAGS 7681.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 7691.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS 7701.1Stvac_env_CPP_set=${CPP+set} 7711.1Stvac_env_CPP_value=$CPP 7721.1Stvac_cv_env_CPP_set=${CPP+set} 7731.1Stvac_cv_env_CPP_value=$CPP 7741.1Stv 7751.1Stv# 7761.1Stv# Report the --help message. 7771.1Stv# 7781.1Stvif test "$ac_init_help" = "long"; then 7791.1Stv # Omit some internal or obsolete options to make the list less imposing. 7801.1Stv # This message is too long to be a string in the A/UX 3.1 sh. 7811.53Sdogcow cat <<_ACEOF 7821.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems. 7831.1Stv 7841.1StvUsage: $0 [OPTION]... [VAR=VALUE]... 7851.1Stv 7861.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as 7871.1StvVAR=VALUE. See below for descriptions of some of the useful variables. 7881.1Stv 7891.1StvDefaults for the options are specified in brackets. 7901.1Stv 7911.1StvConfiguration: 7921.1Stv -h, --help display this help and exit 7931.1Stv --help=short display options specific to this package 7941.1Stv --help=recursive display the short help of all the included packages 7951.1Stv -V, --version display version information and exit 7961.1Stv -q, --quiet, --silent do not print \`checking...' messages 7971.1Stv --cache-file=FILE cache test results in FILE [disabled] 7981.1Stv -C, --config-cache alias for \`--cache-file=config.cache' 7991.1Stv -n, --no-create do not create output files 8001.1Stv --srcdir=DIR find the sources in DIR [configure dir or \`..'] 8011.1Stv 8021.53Sdogcow_ACEOF 8031.1Stv 8041.53Sdogcow cat <<_ACEOF 8051.1StvInstallation directories: 8061.1Stv --prefix=PREFIX install architecture-independent files in PREFIX 8071.53Sdogcow [$ac_default_prefix] 8081.1Stv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 8091.53Sdogcow [PREFIX] 8101.1Stv 8111.1StvBy default, \`make install' will install all the files in 8121.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 8131.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix', 8141.1Stvfor instance \`--prefix=\$HOME'. 8151.1Stv 8161.1StvFor better control, use the options below. 8171.1Stv 8181.1StvFine tuning of the installation directories: 8191.1Stv --bindir=DIR user executables [EPREFIX/bin] 8201.1Stv --sbindir=DIR system admin executables [EPREFIX/sbin] 8211.1Stv --libexecdir=DIR program executables [EPREFIX/libexec] 8221.1Stv --datadir=DIR read-only architecture-independent data [PREFIX/share] 8231.1Stv --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 8241.1Stv --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 8251.1Stv --localstatedir=DIR modifiable single-machine data [PREFIX/var] 8261.1Stv --libdir=DIR object code libraries [EPREFIX/lib] 8271.1Stv --includedir=DIR C header files [PREFIX/include] 8281.1Stv --oldincludedir=DIR C header files for non-gcc [/usr/include] 8291.1Stv --infodir=DIR info documentation [PREFIX/info] 8301.1Stv --mandir=DIR man documentation [PREFIX/man] 8311.53Sdogcow_ACEOF 8321.1Stv 8331.53Sdogcow cat <<\_ACEOF 8341.53Sdogcow_ACEOF 8351.1Stvfi 8361.1Stv 8371.1Stvif test -n "$ac_init_help"; then 8381.1Stv case $ac_init_help in 8391.1Stv short | recursive ) echo "Configuration of libnbcompat noversion:";; 8401.1Stv esac 8411.53Sdogcow cat <<\_ACEOF 8421.1Stv 8431.1StvSome influential environment variables: 8441.1Stv CC C compiler command 8451.1Stv CFLAGS C compiler flags 8461.1Stv LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 8471.1Stv nonstandard directory <lib dir> 8481.1Stv CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 8491.1Stv headers in a nonstandard directory <include dir> 8501.1Stv CPP C preprocessor 8511.1Stv 8521.1StvUse these variables to override the choices made by `configure' or to help 8531.1Stvit to find libraries and programs with nonstandard names/locations. 8541.1Stv 8551.41SsaloReport bugs to <lib-bug-people@NetBSD.org>. 8561.53Sdogcow_ACEOF 8571.1Stvfi 8581.1Stv 8591.1Stvif test "$ac_init_help" = "recursive"; then 8601.1Stv # If there are subdirs, report their specific --help. 8611.1Stv ac_popdir=`pwd` 8621.53Sdogcow for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 8631.53Sdogcow test -d $ac_dir || continue 8641.53Sdogcow ac_builddir=. 8651.53Sdogcow 8661.53Sdogcowif test "$ac_dir" != .; then 8671.53Sdogcow ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8681.53Sdogcow # A "../" for each directory in $ac_dir_suffix. 8691.53Sdogcow ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8701.53Sdogcowelse 8711.53Sdogcow ac_dir_suffix= ac_top_builddir= 8721.53Sdogcowfi 8731.53Sdogcow 8741.53Sdogcowcase $srcdir in 8751.53Sdogcow .) # No --srcdir option. We are building in place. 8761.53Sdogcow ac_srcdir=. 8771.53Sdogcow if test -z "$ac_top_builddir"; then 8781.53Sdogcow ac_top_srcdir=. 8791.53Sdogcow else 8801.53Sdogcow ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8811.53Sdogcow fi ;; 8821.53Sdogcow [\\/]* | ?:[\\/]* ) # Absolute path. 8831.53Sdogcow ac_srcdir=$srcdir$ac_dir_suffix; 8841.53Sdogcow ac_top_srcdir=$srcdir ;; 8851.53Sdogcow *) # Relative path. 8861.53Sdogcow ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8871.53Sdogcow ac_top_srcdir=$ac_top_builddir$srcdir ;; 8881.53Sdogcowesac 8891.53Sdogcow 8901.53Sdogcow# Do not use `cd foo && pwd` to compute absolute paths, because 8911.53Sdogcow# the directories may not exist. 8921.53Sdogcowcase `pwd` in 8931.53Sdogcow.) ac_abs_builddir="$ac_dir";; 8941.53Sdogcow*) 8951.53Sdogcow case "$ac_dir" in 8961.53Sdogcow .) ac_abs_builddir=`pwd`;; 8971.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8981.53Sdogcow *) ac_abs_builddir=`pwd`/"$ac_dir";; 8991.53Sdogcow esac;; 9001.53Sdogcowesac 9011.53Sdogcowcase $ac_abs_builddir in 9021.53Sdogcow.) ac_abs_top_builddir=${ac_top_builddir}.;; 9031.53Sdogcow*) 9041.53Sdogcow case ${ac_top_builddir}. in 9051.53Sdogcow .) ac_abs_top_builddir=$ac_abs_builddir;; 9061.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9071.53Sdogcow *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9081.53Sdogcow esac;; 9091.53Sdogcowesac 9101.53Sdogcowcase $ac_abs_builddir in 9111.53Sdogcow.) ac_abs_srcdir=$ac_srcdir;; 9121.53Sdogcow*) 9131.53Sdogcow case $ac_srcdir in 9141.53Sdogcow .) ac_abs_srcdir=$ac_abs_builddir;; 9151.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9161.53Sdogcow *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9171.53Sdogcow esac;; 9181.53Sdogcowesac 9191.53Sdogcowcase $ac_abs_builddir in 9201.53Sdogcow.) ac_abs_top_srcdir=$ac_top_srcdir;; 9211.53Sdogcow*) 9221.53Sdogcow case $ac_top_srcdir in 9231.53Sdogcow .) ac_abs_top_srcdir=$ac_abs_builddir;; 9241.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9251.53Sdogcow *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9261.53Sdogcow esac;; 9271.53Sdogcowesac 9281.1Stv 9291.53Sdogcow cd $ac_dir 9301.1Stv # Check for guested configure; otherwise get Cygnus style configure. 9311.53Sdogcow if test -f $ac_srcdir/configure.gnu; then 9321.1Stv echo 9331.53Sdogcow $SHELL $ac_srcdir/configure.gnu --help=recursive 9341.53Sdogcow elif test -f $ac_srcdir/configure; then 9351.1Stv echo 9361.53Sdogcow $SHELL $ac_srcdir/configure --help=recursive 9371.53Sdogcow elif test -f $ac_srcdir/configure.ac || 9381.53Sdogcow test -f $ac_srcdir/configure.in; then 9391.1Stv echo 9401.1Stv $ac_configure --help 9411.1Stv else 9421.53Sdogcow echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 9431.1Stv fi 9441.1Stv cd $ac_popdir 9451.1Stv done 9461.1Stvfi 9471.1Stv 9481.1Stvtest -n "$ac_init_help" && exit 0 9491.1Stvif $ac_init_version; then 9501.53Sdogcow cat <<\_ACEOF 9511.1Stvlibnbcompat configure noversion 9521.53Sdogcowgenerated by GNU Autoconf 2.59 9531.1Stv 9541.53SdogcowCopyright (C) 2003 Free Software Foundation, Inc. 9551.1StvThis configure script is free software; the Free Software Foundation 9561.1Stvgives unlimited permission to copy, distribute and modify it. 9571.53Sdogcow_ACEOF 9581.1Stv exit 0 9591.1Stvfi 9601.1Stvexec 5>config.log 9611.53Sdogcowcat >&5 <<_ACEOF 9621.1StvThis file contains any messages produced by compilers while 9631.1Stvrunning configure, to aid debugging if configure makes a mistake. 9641.1Stv 9651.1StvIt was created by libnbcompat $as_me noversion, which was 9661.53Sdogcowgenerated by GNU Autoconf 2.59. Invocation command line was 9671.1Stv 9681.1Stv $ $0 $@ 9691.1Stv 9701.53Sdogcow_ACEOF 9711.1Stv{ 9721.1Stvcat <<_ASUNAME 9731.53Sdogcow## --------- ## 9741.53Sdogcow## Platform. ## 9751.53Sdogcow## --------- ## 9761.1Stv 9771.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 9781.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown` 9791.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown` 9801.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown` 9811.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown` 9821.1Stv 9831.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 9841.1Stv/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 9851.1Stv 9861.1Stv/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 9871.1Stv/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 9881.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 9891.1Stvhostinfo = `(hostinfo) 2>/dev/null || echo unknown` 9901.1Stv/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 9911.1Stv/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 9921.1Stv/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 9931.1Stv 9941.53Sdogcow_ASUNAME 9951.53Sdogcow 9961.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9971.53Sdogcowfor as_dir in $PATH 9981.53Sdogcowdo 9991.53Sdogcow IFS=$as_save_IFS 10001.53Sdogcow test -z "$as_dir" && as_dir=. 10011.53Sdogcow echo "PATH: $as_dir" 10021.53Sdogcowdone 10031.52Sdbj 10041.1Stv} >&5 10051.1Stv 10061.53Sdogcowcat >&5 <<_ACEOF 10071.53Sdogcow 10081.53Sdogcow 10091.53Sdogcow## ----------- ## 10101.53Sdogcow## Core tests. ## 10111.53Sdogcow## ----------- ## 10121.53Sdogcow 10131.53Sdogcow_ACEOF 10141.1Stv 10151.1Stv 10161.1Stv# Keep a trace of the command line. 10171.1Stv# Strip out --no-create and --no-recursion so they do not pile up. 10181.53Sdogcow# Strip out --silent because we don't want to record it for future runs. 10191.1Stv# Also quote any args containing shell meta-characters. 10201.53Sdogcow# Make two passes to allow for proper duplicate-argument suppression. 10211.1Stvac_configure_args= 10221.53Sdogcowac_configure_args0= 10231.53Sdogcowac_configure_args1= 10241.1Stvac_sep= 10251.53Sdogcowac_must_keep_next=false 10261.53Sdogcowfor ac_pass in 1 2 10271.1Stvdo 10281.53Sdogcow for ac_arg 10291.53Sdogcow do 10301.53Sdogcow case $ac_arg in 10311.53Sdogcow -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 10321.53Sdogcow -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10331.53Sdogcow | -silent | --silent | --silen | --sile | --sil) 10341.53Sdogcow continue ;; 10351.53Sdogcow *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 10361.53Sdogcow ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10371.53Sdogcow esac 10381.53Sdogcow case $ac_pass in 10391.53Sdogcow 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 10401.53Sdogcow 2) 10411.53Sdogcow ac_configure_args1="$ac_configure_args1 '$ac_arg'" 10421.53Sdogcow if test $ac_must_keep_next = true; then 10431.53Sdogcow ac_must_keep_next=false # Got value, back to normal. 10441.53Sdogcow else 10451.53Sdogcow case $ac_arg in 10461.53Sdogcow *=* | --config-cache | -C | -disable-* | --disable-* \ 10471.53Sdogcow | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 10481.53Sdogcow | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 10491.53Sdogcow | -with-* | --with-* | -without-* | --without-* | --x) 10501.53Sdogcow case "$ac_configure_args0 " in 10511.53Sdogcow "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 10521.53Sdogcow esac 10531.53Sdogcow ;; 10541.53Sdogcow -* ) ac_must_keep_next=true ;; 10551.53Sdogcow esac 10561.53Sdogcow fi 10571.53Sdogcow ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 10581.53Sdogcow # Get rid of the leading space. 10591.53Sdogcow ac_sep=" " 10601.53Sdogcow ;; 10611.53Sdogcow esac 10621.53Sdogcow done 10631.1Stvdone 10641.53Sdogcow$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 10651.53Sdogcow$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 10661.1Stv 10671.1Stv# When interrupted or exit'd, cleanup temporary files, and complete 10681.1Stv# config.log. We remove comments because anyway the quotes in there 10691.1Stv# would cause problems or look ugly. 10701.53Sdogcow# WARNING: Be sure not to use single quotes in there, as some shells, 10711.53Sdogcow# such as our DU 5.0 friend, will then `close' the trap. 10721.1Stvtrap 'exit_status=$? 10731.1Stv # Save into config.log some information that might help in debugging. 10741.53Sdogcow { 10751.53Sdogcow echo 10761.53Sdogcow 10771.53Sdogcow cat <<\_ASBOX 10781.53Sdogcow## ---------------- ## 10791.53Sdogcow## Cache variables. ## 10801.53Sdogcow## ---------------- ## 10811.53Sdogcow_ASBOX 10821.53Sdogcow echo 10831.53Sdogcow # The following way of writing the cache mishandles newlines in values, 10841.1Stv{ 10851.1Stv (set) 2>&1 | 10861.1Stv case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 10871.1Stv *ac_space=\ *) 10881.1Stv sed -n \ 10891.53Sdogcow "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 10901.53Sdogcow s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 10911.1Stv ;; 10921.1Stv *) 10931.1Stv sed -n \ 10941.53Sdogcow "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10951.1Stv ;; 10961.1Stv esac; 10971.53Sdogcow} 10981.53Sdogcow echo 10991.53Sdogcow 11001.53Sdogcow cat <<\_ASBOX 11011.53Sdogcow## ----------------- ## 11021.53Sdogcow## Output variables. ## 11031.53Sdogcow## ----------------- ## 11041.53Sdogcow_ASBOX 11051.53Sdogcow echo 11061.53Sdogcow for ac_var in $ac_subst_vars 11071.53Sdogcow do 11081.53Sdogcow eval ac_val=$`echo $ac_var` 11091.53Sdogcow echo "$ac_var='"'"'$ac_val'"'"'" 11101.53Sdogcow done | sort 11111.53Sdogcow echo 11121.53Sdogcow 11131.53Sdogcow if test -n "$ac_subst_files"; then 11141.53Sdogcow cat <<\_ASBOX 11151.53Sdogcow## ------------- ## 11161.53Sdogcow## Output files. ## 11171.53Sdogcow## ------------- ## 11181.53Sdogcow_ASBOX 11191.53Sdogcow echo 11201.53Sdogcow for ac_var in $ac_subst_files 11211.53Sdogcow do 11221.53Sdogcow eval ac_val=$`echo $ac_var` 11231.53Sdogcow echo "$ac_var='"'"'$ac_val'"'"'" 11241.53Sdogcow done | sort 11251.53Sdogcow echo 11261.53Sdogcow fi 11271.53Sdogcow 11281.53Sdogcow if test -s confdefs.h; then 11291.53Sdogcow cat <<\_ASBOX 11301.53Sdogcow## ----------- ## 11311.53Sdogcow## confdefs.h. ## 11321.53Sdogcow## ----------- ## 11331.53Sdogcow_ASBOX 11341.53Sdogcow echo 11351.53Sdogcow sed "/^$/d" confdefs.h | sort 11361.53Sdogcow echo 11371.53Sdogcow fi 11381.53Sdogcow test "$ac_signal" != 0 && 11391.53Sdogcow echo "$as_me: caught signal $ac_signal" 11401.53Sdogcow echo "$as_me: exit $exit_status" 11411.53Sdogcow } >&5 11421.53Sdogcow rm -f core *.core && 11431.53Sdogcow rm -rf conftest* confdefs* conf$$* $ac_clean_files && 11441.1Stv exit $exit_status 11451.1Stv ' 0 11461.1Stvfor ac_signal in 1 2 13 15; do 11471.1Stv trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 11481.1Stvdone 11491.1Stvac_signal=0 11501.1Stv 11511.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed. 11521.1Stvrm -rf conftest* confdefs.h 11531.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline. 11541.1Stvecho >confdefs.h 11551.1Stv 11561.53Sdogcow# Predefined preprocessor variables. 11571.53Sdogcow 11581.53Sdogcowcat >>confdefs.h <<_ACEOF 11591.53Sdogcow#define PACKAGE_NAME "$PACKAGE_NAME" 11601.53Sdogcow_ACEOF 11611.53Sdogcow 11621.53Sdogcow 11631.53Sdogcowcat >>confdefs.h <<_ACEOF 11641.53Sdogcow#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 11651.53Sdogcow_ACEOF 11661.53Sdogcow 11671.53Sdogcow 11681.53Sdogcowcat >>confdefs.h <<_ACEOF 11691.53Sdogcow#define PACKAGE_VERSION "$PACKAGE_VERSION" 11701.53Sdogcow_ACEOF 11711.53Sdogcow 11721.53Sdogcow 11731.53Sdogcowcat >>confdefs.h <<_ACEOF 11741.53Sdogcow#define PACKAGE_STRING "$PACKAGE_STRING" 11751.53Sdogcow_ACEOF 11761.53Sdogcow 11771.53Sdogcow 11781.53Sdogcowcat >>confdefs.h <<_ACEOF 11791.53Sdogcow#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 11801.53Sdogcow_ACEOF 11811.53Sdogcow 11821.53Sdogcow 11831.1Stv# Let the site file select an alternate cache file if it wants to. 11841.1Stv# Prefer explicitly selected file to automatically selected ones. 11851.1Stvif test -z "$CONFIG_SITE"; then 11861.1Stv if test "x$prefix" != xNONE; then 11871.1Stv CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 11881.1Stv else 11891.1Stv CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 11901.1Stv fi 11911.1Stvfi 11921.1Stvfor ac_site_file in $CONFIG_SITE; do 11931.1Stv if test -r "$ac_site_file"; then 11941.53Sdogcow { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 11951.1Stvecho "$as_me: loading site script $ac_site_file" >&6;} 11961.53Sdogcow sed 's/^/| /' "$ac_site_file" >&5 11971.1Stv . "$ac_site_file" 11981.1Stv fi 11991.1Stvdone 12001.1Stv 12011.1Stvif test -r "$cache_file"; then 12021.1Stv # Some versions of bash will fail to source /dev/null (special 12031.1Stv # files actually), so we avoid doing that. 12041.1Stv if test -f "$cache_file"; then 12051.53Sdogcow { echo "$as_me:$LINENO: loading cache $cache_file" >&5 12061.1Stvecho "$as_me: loading cache $cache_file" >&6;} 12071.1Stv case $cache_file in 12081.1Stv [\\/]* | ?:[\\/]* ) . $cache_file;; 12091.1Stv *) . ./$cache_file;; 12101.1Stv esac 12111.1Stv fi 12121.1Stvelse 12131.53Sdogcow { echo "$as_me:$LINENO: creating cache $cache_file" >&5 12141.1Stvecho "$as_me: creating cache $cache_file" >&6;} 12151.1Stv >$cache_file 12161.1Stvfi 12171.1Stv 12181.1Stv# Check that the precious variables saved in the cache have kept the same 12191.1Stv# value. 12201.1Stvac_cache_corrupted=false 12211.1Stvfor ac_var in `(set) 2>&1 | 12221.53Sdogcow sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 12231.1Stv eval ac_old_set=\$ac_cv_env_${ac_var}_set 12241.1Stv eval ac_new_set=\$ac_env_${ac_var}_set 12251.1Stv eval ac_old_val="\$ac_cv_env_${ac_var}_value" 12261.1Stv eval ac_new_val="\$ac_env_${ac_var}_value" 12271.1Stv case $ac_old_set,$ac_new_set in 12281.1Stv set,) 12291.53Sdogcow { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 12301.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 12311.1Stv ac_cache_corrupted=: ;; 12321.1Stv ,set) 12331.53Sdogcow { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 12341.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 12351.1Stv ac_cache_corrupted=: ;; 12361.1Stv ,);; 12371.1Stv *) 12381.1Stv if test "x$ac_old_val" != "x$ac_new_val"; then 12391.53Sdogcow { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 12401.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 12411.53Sdogcow { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 12421.1Stvecho "$as_me: former value: $ac_old_val" >&2;} 12431.53Sdogcow { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 12441.1Stvecho "$as_me: current value: $ac_new_val" >&2;} 12451.53Sdogcow ac_cache_corrupted=: 12461.1Stv fi;; 12471.1Stv esac 12481.53Sdogcow # Pass precious variables to config.status. 12491.1Stv if test "$ac_new_set" = set; then 12501.1Stv case $ac_new_val in 12511.1Stv *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 12521.53Sdogcow ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 12531.53Sdogcow *) ac_arg=$ac_var=$ac_new_val ;; 12541.53Sdogcow esac 12551.53Sdogcow case " $ac_configure_args " in 12561.53Sdogcow *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 12571.53Sdogcow *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 12581.1Stv esac 12591.1Stv fi 12601.1Stvdone 12611.1Stvif $ac_cache_corrupted; then 12621.53Sdogcow { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 12631.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;} 12641.53Sdogcow { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 12651.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 12661.1Stv { (exit 1); exit 1; }; } 12671.1Stvfi 12681.1Stv 12691.1Stvac_ext=c 12701.1Stvac_cpp='$CPP $CPPFLAGS' 12711.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12721.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12731.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 12741.1Stv 12751.1Stv 12761.1Stv 12771.53Sdogcow 12781.53Sdogcow 12791.53Sdogcow 12801.53Sdogcow 12811.53Sdogcow 12821.53Sdogcow 12831.53Sdogcow 12841.53Sdogcow 12851.53Sdogcow 12861.53Sdogcow 12871.53Sdogcow 12881.53Sdogcow 12891.53Sdogcow 12901.53Sdogcow 12911.53Sdogcow 12921.53Sdogcow 12931.53Sdogcow 12941.53Sdogcow 12951.53Sdogcow 12961.53Sdogcow 12971.53Sdogcow 12981.53Sdogcow 12991.53Sdogcow 13001.53Sdogcow 13011.57Swiz ac_config_headers="$ac_config_headers nbtool_config.h" 13021.53Sdogcow 13031.53Sdogcow ac_config_files="$ac_config_files defs.mk" 13041.53Sdogcow 13051.1Stv 13061.57Swiz# Autoheader header and footer 13071.57Swiz 13081.57Swiz 13091.57Swiz 13101.57Swiz 13111.57Swiz 13121.57Swiz 13131.45Sjmc# AC_NETBSD 13141.20Sbjh21 13151.1Stvac_ext=c 13161.1Stvac_cpp='$CPP $CPPFLAGS' 13171.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13181.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13191.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 13201.1Stvif test -n "$ac_tool_prefix"; then 13211.1Stv # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 13221.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2 13231.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 13241.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13251.1Stvif test "${ac_cv_prog_CC+set}" = set; then 13261.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 13271.1Stvelse 13281.1Stv if test -n "$CC"; then 13291.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 13301.1Stvelse 13311.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13321.53Sdogcowfor as_dir in $PATH 13331.53Sdogcowdo 13341.53Sdogcow IFS=$as_save_IFS 13351.53Sdogcow test -z "$as_dir" && as_dir=. 13361.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 13371.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13381.53Sdogcow ac_cv_prog_CC="${ac_tool_prefix}gcc" 13391.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13401.53Sdogcow break 2 13411.53Sdogcow fi 13421.53Sdogcowdone 13431.1Stvdone 13441.1Stv 13451.1Stvfi 13461.1Stvfi 13471.1StvCC=$ac_cv_prog_CC 13481.1Stvif test -n "$CC"; then 13491.53Sdogcow echo "$as_me:$LINENO: result: $CC" >&5 13501.1Stvecho "${ECHO_T}$CC" >&6 13511.1Stvelse 13521.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 13531.1Stvecho "${ECHO_T}no" >&6 13541.1Stvfi 13551.1Stv 13561.1Stvfi 13571.1Stvif test -z "$ac_cv_prog_CC"; then 13581.1Stv ac_ct_CC=$CC 13591.1Stv # Extract the first word of "gcc", so it can be a program name with args. 13601.1Stvset dummy gcc; ac_word=$2 13611.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 13621.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13631.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 13641.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 13651.1Stvelse 13661.1Stv if test -n "$ac_ct_CC"; then 13671.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13681.1Stvelse 13691.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13701.53Sdogcowfor as_dir in $PATH 13711.53Sdogcowdo 13721.53Sdogcow IFS=$as_save_IFS 13731.53Sdogcow test -z "$as_dir" && as_dir=. 13741.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 13751.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13761.53Sdogcow ac_cv_prog_ac_ct_CC="gcc" 13771.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13781.53Sdogcow break 2 13791.53Sdogcow fi 13801.53Sdogcowdone 13811.1Stvdone 13821.1Stv 13831.1Stvfi 13841.1Stvfi 13851.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 13861.1Stvif test -n "$ac_ct_CC"; then 13871.53Sdogcow echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 13881.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 13891.1Stvelse 13901.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 13911.1Stvecho "${ECHO_T}no" >&6 13921.1Stvfi 13931.1Stv 13941.1Stv CC=$ac_ct_CC 13951.1Stvelse 13961.1Stv CC="$ac_cv_prog_CC" 13971.1Stvfi 13981.1Stv 13991.1Stvif test -z "$CC"; then 14001.1Stv if test -n "$ac_tool_prefix"; then 14011.1Stv # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 14021.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2 14031.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 14041.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14051.1Stvif test "${ac_cv_prog_CC+set}" = set; then 14061.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 14071.1Stvelse 14081.1Stv if test -n "$CC"; then 14091.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 14101.1Stvelse 14111.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14121.53Sdogcowfor as_dir in $PATH 14131.53Sdogcowdo 14141.53Sdogcow IFS=$as_save_IFS 14151.53Sdogcow test -z "$as_dir" && as_dir=. 14161.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 14171.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14181.53Sdogcow ac_cv_prog_CC="${ac_tool_prefix}cc" 14191.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14201.53Sdogcow break 2 14211.53Sdogcow fi 14221.53Sdogcowdone 14231.1Stvdone 14241.1Stv 14251.1Stvfi 14261.1Stvfi 14271.1StvCC=$ac_cv_prog_CC 14281.1Stvif test -n "$CC"; then 14291.53Sdogcow echo "$as_me:$LINENO: result: $CC" >&5 14301.1Stvecho "${ECHO_T}$CC" >&6 14311.1Stvelse 14321.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 14331.1Stvecho "${ECHO_T}no" >&6 14341.1Stvfi 14351.1Stv 14361.1Stvfi 14371.1Stvif test -z "$ac_cv_prog_CC"; then 14381.1Stv ac_ct_CC=$CC 14391.1Stv # Extract the first word of "cc", so it can be a program name with args. 14401.1Stvset dummy cc; ac_word=$2 14411.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 14421.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14431.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 14441.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 14451.1Stvelse 14461.1Stv if test -n "$ac_ct_CC"; then 14471.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 14481.1Stvelse 14491.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14501.53Sdogcowfor as_dir in $PATH 14511.53Sdogcowdo 14521.53Sdogcow IFS=$as_save_IFS 14531.53Sdogcow test -z "$as_dir" && as_dir=. 14541.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 14551.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14561.53Sdogcow ac_cv_prog_ac_ct_CC="cc" 14571.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14581.53Sdogcow break 2 14591.53Sdogcow fi 14601.53Sdogcowdone 14611.1Stvdone 14621.1Stv 14631.1Stvfi 14641.1Stvfi 14651.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 14661.1Stvif test -n "$ac_ct_CC"; then 14671.53Sdogcow echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 14681.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 14691.1Stvelse 14701.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 14711.1Stvecho "${ECHO_T}no" >&6 14721.1Stvfi 14731.1Stv 14741.1Stv CC=$ac_ct_CC 14751.1Stvelse 14761.1Stv CC="$ac_cv_prog_CC" 14771.1Stvfi 14781.1Stv 14791.1Stvfi 14801.1Stvif test -z "$CC"; then 14811.1Stv # Extract the first word of "cc", so it can be a program name with args. 14821.1Stvset dummy cc; ac_word=$2 14831.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 14841.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14851.1Stvif test "${ac_cv_prog_CC+set}" = set; then 14861.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 14871.1Stvelse 14881.1Stv if test -n "$CC"; then 14891.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 14901.1Stvelse 14911.1Stv ac_prog_rejected=no 14921.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14931.53Sdogcowfor as_dir in $PATH 14941.53Sdogcowdo 14951.53Sdogcow IFS=$as_save_IFS 14961.53Sdogcow test -z "$as_dir" && as_dir=. 14971.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 14981.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14991.53Sdogcow if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 15001.53Sdogcow ac_prog_rejected=yes 15011.53Sdogcow continue 15021.53Sdogcow fi 15031.53Sdogcow ac_cv_prog_CC="cc" 15041.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15051.53Sdogcow break 2 15061.53Sdogcow fi 15071.53Sdogcowdone 15081.1Stvdone 15091.1Stv 15101.1Stvif test $ac_prog_rejected = yes; then 15111.1Stv # We found a bogon in the path, so make sure we never use it. 15121.1Stv set dummy $ac_cv_prog_CC 15131.1Stv shift 15141.1Stv if test $# != 0; then 15151.1Stv # We chose a different compiler from the bogus one. 15161.1Stv # However, it has the same basename, so the bogon will be chosen 15171.1Stv # first if we set CC to just the basename; use the full file name. 15181.1Stv shift 15191.53Sdogcow ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 15201.1Stv fi 15211.1Stvfi 15221.1Stvfi 15231.1Stvfi 15241.1StvCC=$ac_cv_prog_CC 15251.1Stvif test -n "$CC"; then 15261.53Sdogcow echo "$as_me:$LINENO: result: $CC" >&5 15271.1Stvecho "${ECHO_T}$CC" >&6 15281.1Stvelse 15291.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 15301.1Stvecho "${ECHO_T}no" >&6 15311.1Stvfi 15321.1Stv 15331.1Stvfi 15341.1Stvif test -z "$CC"; then 15351.1Stv if test -n "$ac_tool_prefix"; then 15361.1Stv for ac_prog in cl 15371.1Stv do 15381.1Stv # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 15391.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2 15401.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 15411.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15421.1Stvif test "${ac_cv_prog_CC+set}" = set; then 15431.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 15441.1Stvelse 15451.1Stv if test -n "$CC"; then 15461.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 15471.1Stvelse 15481.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15491.53Sdogcowfor as_dir in $PATH 15501.53Sdogcowdo 15511.53Sdogcow IFS=$as_save_IFS 15521.53Sdogcow test -z "$as_dir" && as_dir=. 15531.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 15541.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15551.53Sdogcow ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 15561.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15571.53Sdogcow break 2 15581.53Sdogcow fi 15591.53Sdogcowdone 15601.1Stvdone 15611.1Stv 15621.1Stvfi 15631.1Stvfi 15641.1StvCC=$ac_cv_prog_CC 15651.1Stvif test -n "$CC"; then 15661.53Sdogcow echo "$as_me:$LINENO: result: $CC" >&5 15671.1Stvecho "${ECHO_T}$CC" >&6 15681.1Stvelse 15691.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 15701.1Stvecho "${ECHO_T}no" >&6 15711.1Stvfi 15721.1Stv 15731.1Stv test -n "$CC" && break 15741.1Stv done 15751.1Stvfi 15761.1Stvif test -z "$CC"; then 15771.1Stv ac_ct_CC=$CC 15781.1Stv for ac_prog in cl 15791.1Stvdo 15801.1Stv # Extract the first word of "$ac_prog", so it can be a program name with args. 15811.1Stvset dummy $ac_prog; ac_word=$2 15821.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 15831.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15841.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 15851.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 15861.1Stvelse 15871.1Stv if test -n "$ac_ct_CC"; then 15881.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 15891.1Stvelse 15901.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15911.53Sdogcowfor as_dir in $PATH 15921.53Sdogcowdo 15931.53Sdogcow IFS=$as_save_IFS 15941.53Sdogcow test -z "$as_dir" && as_dir=. 15951.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 15961.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15971.53Sdogcow ac_cv_prog_ac_ct_CC="$ac_prog" 15981.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15991.53Sdogcow break 2 16001.53Sdogcow fi 16011.53Sdogcowdone 16021.1Stvdone 16031.1Stv 16041.1Stvfi 16051.1Stvfi 16061.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 16071.1Stvif test -n "$ac_ct_CC"; then 16081.53Sdogcow echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 16091.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 16101.1Stvelse 16111.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 16121.1Stvecho "${ECHO_T}no" >&6 16131.1Stvfi 16141.1Stv 16151.1Stv test -n "$ac_ct_CC" && break 16161.1Stvdone 16171.1Stv 16181.1Stv CC=$ac_ct_CC 16191.1Stvfi 16201.1Stv 16211.1Stvfi 16221.1Stv 16231.53Sdogcow 16241.53Sdogcowtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 16251.53SdogcowSee \`config.log' for more details." >&5 16261.53Sdogcowecho "$as_me: error: no acceptable C compiler found in \$PATH 16271.53SdogcowSee \`config.log' for more details." >&2;} 16281.1Stv { (exit 1); exit 1; }; } 16291.1Stv 16301.1Stv# Provide some information about the compiler. 16311.53Sdogcowecho "$as_me:$LINENO:" \ 16321.1Stv "checking for C compiler version" >&5 16331.1Stvac_compiler=`set X $ac_compile; echo $2` 16341.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 16351.1Stv (eval $ac_compiler --version </dev/null >&5) 2>&5 16361.1Stv ac_status=$? 16371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 16381.1Stv (exit $ac_status); } 16391.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 16401.1Stv (eval $ac_compiler -v </dev/null >&5) 2>&5 16411.1Stv ac_status=$? 16421.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 16431.1Stv (exit $ac_status); } 16441.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 16451.1Stv (eval $ac_compiler -V </dev/null >&5) 2>&5 16461.1Stv ac_status=$? 16471.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 16481.1Stv (exit $ac_status); } 16491.1Stv 16501.1Stvcat >conftest.$ac_ext <<_ACEOF 16511.53Sdogcow/* confdefs.h. */ 16521.53Sdogcow_ACEOF 16531.53Sdogcowcat confdefs.h >>conftest.$ac_ext 16541.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 16551.53Sdogcow/* end confdefs.h. */ 16561.1Stv 16571.1Stvint 16581.1Stvmain () 16591.1Stv{ 16601.1Stv 16611.1Stv ; 16621.1Stv return 0; 16631.1Stv} 16641.1Stv_ACEOF 16651.1Stvac_clean_files_save=$ac_clean_files 16661.53Sdogcowac_clean_files="$ac_clean_files a.out a.exe b.out" 16671.1Stv# Try to create an executable without -o first, disregard a.out. 16681.1Stv# It will help us diagnose broken compilers, and finding out an intuition 16691.1Stv# of exeext. 16701.53Sdogcowecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 16711.53Sdogcowecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 16721.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 16731.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 16741.1Stv (eval $ac_link_default) 2>&5 16751.1Stv ac_status=$? 16761.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 16771.1Stv (exit $ac_status); }; then 16781.1Stv # Find the output, starting from the most likely. This scheme is 16791.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last 16801.1Stv# resort. 16811.53Sdogcow 16821.53Sdogcow# Be careful to initialize this variable, since it used to be cached. 16831.53Sdogcow# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 16841.53Sdogcowac_cv_exeext= 16851.53Sdogcow# b.out is created by i960 compilers. 16861.53Sdogcowfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 16871.53Sdogcowdo 16881.53Sdogcow test -f "$ac_file" || continue 16891.1Stv case $ac_file in 16901.53Sdogcow *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 16911.53Sdogcow ;; 16921.53Sdogcow conftest.$ac_ext ) 16931.53Sdogcow # This is the source file. 16941.53Sdogcow ;; 16951.53Sdogcow [ab].out ) 16961.53Sdogcow # We found the default executable, but exeext='' is most 16971.53Sdogcow # certainly right. 16981.53Sdogcow break;; 16991.53Sdogcow *.* ) 17001.53Sdogcow ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 17011.53Sdogcow # FIXME: I believe we export ac_cv_exeext for Libtool, 17021.53Sdogcow # but it would be cool to find out if it's true. Does anybody 17031.53Sdogcow # maintain Libtool? --akim. 17041.53Sdogcow export ac_cv_exeext 17051.53Sdogcow break;; 17061.53Sdogcow * ) 17071.53Sdogcow break;; 17081.1Stv esac 17091.1Stvdone 17101.1Stvelse 17111.1Stv echo "$as_me: failed program was:" >&5 17121.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 17131.53Sdogcow 17141.53Sdogcow{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 17151.53SdogcowSee \`config.log' for more details." >&5 17161.53Sdogcowecho "$as_me: error: C compiler cannot create executables 17171.53SdogcowSee \`config.log' for more details." >&2;} 17181.1Stv { (exit 77); exit 77; }; } 17191.1Stvfi 17201.1Stv 17211.1Stvac_exeext=$ac_cv_exeext 17221.53Sdogcowecho "$as_me:$LINENO: result: $ac_file" >&5 17231.1Stvecho "${ECHO_T}$ac_file" >&6 17241.1Stv 17251.1Stv# Check the compiler produces executables we can run. If not, either 17261.1Stv# the compiler is broken, or we cross compile. 17271.53Sdogcowecho "$as_me:$LINENO: checking whether the C compiler works" >&5 17281.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 17291.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 17301.1Stv# If not cross compiling, check that we can run a simple program. 17311.1Stvif test "$cross_compiling" != yes; then 17321.1Stv if { ac_try='./$ac_file' 17331.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17341.1Stv (eval $ac_try) 2>&5 17351.1Stv ac_status=$? 17361.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 17371.1Stv (exit $ac_status); }; }; then 17381.1Stv cross_compiling=no 17391.1Stv else 17401.1Stv if test "$cross_compiling" = maybe; then 17411.1Stv cross_compiling=yes 17421.1Stv else 17431.53Sdogcow { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 17441.53SdogcowIf you meant to cross compile, use \`--host'. 17451.53SdogcowSee \`config.log' for more details." >&5 17461.1Stvecho "$as_me: error: cannot run C compiled programs. 17471.53SdogcowIf you meant to cross compile, use \`--host'. 17481.53SdogcowSee \`config.log' for more details." >&2;} 17491.1Stv { (exit 1); exit 1; }; } 17501.1Stv fi 17511.1Stv fi 17521.1Stvfi 17531.53Sdogcowecho "$as_me:$LINENO: result: yes" >&5 17541.1Stvecho "${ECHO_T}yes" >&6 17551.1Stv 17561.53Sdogcowrm -f a.out a.exe conftest$ac_cv_exeext b.out 17571.1Stvac_clean_files=$ac_clean_files_save 17581.1Stv# Check the compiler produces executables we can run. If not, either 17591.1Stv# the compiler is broken, or we cross compile. 17601.53Sdogcowecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 17611.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 17621.53Sdogcowecho "$as_me:$LINENO: result: $cross_compiling" >&5 17631.1Stvecho "${ECHO_T}$cross_compiling" >&6 17641.1Stv 17651.53Sdogcowecho "$as_me:$LINENO: checking for suffix of executables" >&5 17661.53Sdogcowecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 17671.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17681.1Stv (eval $ac_link) 2>&5 17691.1Stv ac_status=$? 17701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 17711.1Stv (exit $ac_status); }; then 17721.1Stv # If both `conftest.exe' and `conftest' are `present' (well, observable) 17731.1Stv# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 17741.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with 17751.1Stv# `rm'. 17761.53Sdogcowfor ac_file in conftest.exe conftest conftest.*; do 17771.53Sdogcow test -f "$ac_file" || continue 17781.1Stv case $ac_file in 17791.53Sdogcow *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 17801.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 17811.53Sdogcow export ac_cv_exeext 17821.53Sdogcow break;; 17831.1Stv * ) break;; 17841.1Stv esac 17851.1Stvdone 17861.1Stvelse 17871.53Sdogcow { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 17881.53SdogcowSee \`config.log' for more details." >&5 17891.53Sdogcowecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 17901.53SdogcowSee \`config.log' for more details." >&2;} 17911.1Stv { (exit 1); exit 1; }; } 17921.1Stvfi 17931.1Stv 17941.1Stvrm -f conftest$ac_cv_exeext 17951.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 17961.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6 17971.1Stv 17981.1Stvrm -f conftest.$ac_ext 17991.1StvEXEEXT=$ac_cv_exeext 18001.1Stvac_exeext=$EXEEXT 18011.53Sdogcowecho "$as_me:$LINENO: checking for suffix of object files" >&5 18021.53Sdogcowecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 18031.1Stvif test "${ac_cv_objext+set}" = set; then 18041.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 18051.1Stvelse 18061.1Stv cat >conftest.$ac_ext <<_ACEOF 18071.53Sdogcow/* confdefs.h. */ 18081.53Sdogcow_ACEOF 18091.53Sdogcowcat confdefs.h >>conftest.$ac_ext 18101.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 18111.53Sdogcow/* end confdefs.h. */ 18121.1Stv 18131.1Stvint 18141.1Stvmain () 18151.1Stv{ 18161.1Stv 18171.1Stv ; 18181.1Stv return 0; 18191.1Stv} 18201.1Stv_ACEOF 18211.1Stvrm -f conftest.o conftest.obj 18221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18231.1Stv (eval $ac_compile) 2>&5 18241.1Stv ac_status=$? 18251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 18261.1Stv (exit $ac_status); }; then 18271.1Stv for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 18281.1Stv case $ac_file in 18291.53Sdogcow *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 18301.1Stv *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 18311.1Stv break;; 18321.1Stv esac 18331.1Stvdone 18341.1Stvelse 18351.1Stv echo "$as_me: failed program was:" >&5 18361.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 18371.53Sdogcow 18381.53Sdogcow{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 18391.53SdogcowSee \`config.log' for more details." >&5 18401.53Sdogcowecho "$as_me: error: cannot compute suffix of object files: cannot compile 18411.53SdogcowSee \`config.log' for more details." >&2;} 18421.1Stv { (exit 1); exit 1; }; } 18431.1Stvfi 18441.1Stv 18451.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext 18461.1Stvfi 18471.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 18481.1Stvecho "${ECHO_T}$ac_cv_objext" >&6 18491.1StvOBJEXT=$ac_cv_objext 18501.1Stvac_objext=$OBJEXT 18511.53Sdogcowecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 18521.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 18531.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then 18541.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 18551.1Stvelse 18561.1Stv cat >conftest.$ac_ext <<_ACEOF 18571.53Sdogcow/* confdefs.h. */ 18581.53Sdogcow_ACEOF 18591.53Sdogcowcat confdefs.h >>conftest.$ac_ext 18601.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 18611.53Sdogcow/* end confdefs.h. */ 18621.1Stv 18631.1Stvint 18641.1Stvmain () 18651.1Stv{ 18661.1Stv#ifndef __GNUC__ 18671.1Stv choke me 18681.1Stv#endif 18691.1Stv 18701.1Stv ; 18711.1Stv return 0; 18721.1Stv} 18731.1Stv_ACEOF 18741.1Stvrm -f conftest.$ac_objext 18751.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18761.53Sdogcow (eval $ac_compile) 2>conftest.er1 18771.1Stv ac_status=$? 18781.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 18791.53Sdogcow rm -f conftest.er1 18801.53Sdogcow cat conftest.err >&5 18811.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 18821.1Stv (exit $ac_status); } && 18831.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 18841.53Sdogcow || test ! -s conftest.err' 18851.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18861.53Sdogcow (eval $ac_try) 2>&5 18871.53Sdogcow ac_status=$? 18881.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 18891.53Sdogcow (exit $ac_status); }; } && 18901.53Sdogcow { ac_try='test -s conftest.$ac_objext' 18911.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18921.1Stv (eval $ac_try) 2>&5 18931.1Stv ac_status=$? 18941.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 18951.1Stv (exit $ac_status); }; }; then 18961.1Stv ac_compiler_gnu=yes 18971.1Stvelse 18981.1Stv echo "$as_me: failed program was:" >&5 18991.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 19001.53Sdogcow 19011.1Stvac_compiler_gnu=no 19021.1Stvfi 19031.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19041.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu 19051.1Stv 19061.1Stvfi 19071.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 19081.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 19091.1StvGCC=`test $ac_compiler_gnu = yes && echo yes` 19101.1Stvac_test_CFLAGS=${CFLAGS+set} 19111.1Stvac_save_CFLAGS=$CFLAGS 19121.1StvCFLAGS="-g" 19131.53Sdogcowecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 19141.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 19151.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then 19161.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 19171.1Stvelse 19181.1Stv cat >conftest.$ac_ext <<_ACEOF 19191.53Sdogcow/* confdefs.h. */ 19201.53Sdogcow_ACEOF 19211.53Sdogcowcat confdefs.h >>conftest.$ac_ext 19221.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 19231.53Sdogcow/* end confdefs.h. */ 19241.1Stv 19251.1Stvint 19261.1Stvmain () 19271.1Stv{ 19281.1Stv 19291.1Stv ; 19301.1Stv return 0; 19311.1Stv} 19321.1Stv_ACEOF 19331.1Stvrm -f conftest.$ac_objext 19341.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19351.53Sdogcow (eval $ac_compile) 2>conftest.er1 19361.1Stv ac_status=$? 19371.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 19381.53Sdogcow rm -f conftest.er1 19391.53Sdogcow cat conftest.err >&5 19401.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 19411.52Sdbj (exit $ac_status); } && 19421.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 19431.53Sdogcow || test ! -s conftest.err' 19441.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19451.53Sdogcow (eval $ac_try) 2>&5 19461.53Sdogcow ac_status=$? 19471.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 19481.53Sdogcow (exit $ac_status); }; } && 19491.53Sdogcow { ac_try='test -s conftest.$ac_objext' 19501.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19511.1Stv (eval $ac_try) 2>&5 19521.1Stv ac_status=$? 19531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 19541.1Stv (exit $ac_status); }; }; then 19551.1Stv ac_cv_prog_cc_g=yes 19561.1Stvelse 19571.1Stv echo "$as_me: failed program was:" >&5 19581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 19591.53Sdogcow 19601.1Stvac_cv_prog_cc_g=no 19611.1Stvfi 19621.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19631.1Stvfi 19641.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 19651.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 19661.1Stvif test "$ac_test_CFLAGS" = set; then 19671.1Stv CFLAGS=$ac_save_CFLAGS 19681.1Stvelif test $ac_cv_prog_cc_g = yes; then 19691.1Stv if test "$GCC" = yes; then 19701.1Stv CFLAGS="-g -O2" 19711.1Stv else 19721.1Stv CFLAGS="-g" 19731.1Stv fi 19741.1Stvelse 19751.1Stv if test "$GCC" = yes; then 19761.1Stv CFLAGS="-O2" 19771.1Stv else 19781.1Stv CFLAGS= 19791.1Stv fi 19801.1Stvfi 19811.53Sdogcowecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 19821.53Sdogcowecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 19831.53Sdogcowif test "${ac_cv_prog_cc_stdc+set}" = set; then 19841.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 19851.53Sdogcowelse 19861.53Sdogcow ac_cv_prog_cc_stdc=no 19871.53Sdogcowac_save_CC=$CC 19881.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 19891.53Sdogcow/* confdefs.h. */ 19901.53Sdogcow_ACEOF 19911.53Sdogcowcat confdefs.h >>conftest.$ac_ext 19921.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 19931.53Sdogcow/* end confdefs.h. */ 19941.53Sdogcow#include <stdarg.h> 19951.53Sdogcow#include <stdio.h> 19961.53Sdogcow#include <sys/types.h> 19971.53Sdogcow#include <sys/stat.h> 19981.53Sdogcow/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 19991.53Sdogcowstruct buf { int x; }; 20001.53SdogcowFILE * (*rcsopen) (struct buf *, struct stat *, int); 20011.53Sdogcowstatic char *e (p, i) 20021.53Sdogcow char **p; 20031.53Sdogcow int i; 20041.53Sdogcow{ 20051.53Sdogcow return p[i]; 20061.53Sdogcow} 20071.53Sdogcowstatic char *f (char * (*g) (char **, int), char **p, ...) 20081.53Sdogcow{ 20091.53Sdogcow char *s; 20101.53Sdogcow va_list v; 20111.53Sdogcow va_start (v,p); 20121.53Sdogcow s = g (p, va_arg (v,int)); 20131.53Sdogcow va_end (v); 20141.53Sdogcow return s; 20151.53Sdogcow} 20161.53Sdogcow 20171.53Sdogcow/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 20181.53Sdogcow function prototypes and stuff, but not '\xHH' hex character constants. 20191.53Sdogcow These don't provoke an error unfortunately, instead are silently treated 20201.53Sdogcow as 'x'. The following induces an error, until -std1 is added to get 20211.53Sdogcow proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 20221.53Sdogcow array size at least. It's necessary to write '\x00'==0 to get something 20231.53Sdogcow that's true only with -std1. */ 20241.53Sdogcowint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 20251.53Sdogcow 20261.53Sdogcowint test (int i, double x); 20271.53Sdogcowstruct s1 {int (*f) (int a);}; 20281.53Sdogcowstruct s2 {int (*f) (double a);}; 20291.53Sdogcowint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 20301.53Sdogcowint argc; 20311.53Sdogcowchar **argv; 20321.53Sdogcowint 20331.53Sdogcowmain () 20341.53Sdogcow{ 20351.53Sdogcowreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 20361.53Sdogcow ; 20371.53Sdogcow return 0; 20381.53Sdogcow} 20391.53Sdogcow_ACEOF 20401.53Sdogcow# Don't try gcc -ansi; that turns off useful extensions and 20411.53Sdogcow# breaks some systems' header files. 20421.53Sdogcow# AIX -qlanglvl=ansi 20431.53Sdogcow# Ultrix and OSF/1 -std1 20441.53Sdogcow# HP-UX 10.20 and later -Ae 20451.53Sdogcow# HP-UX older versions -Aa -D_HPUX_SOURCE 20461.53Sdogcow# SVR4 -Xc -D__EXTENSIONS__ 20471.53Sdogcowfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 20481.53Sdogcowdo 20491.53Sdogcow CC="$ac_save_CC $ac_arg" 20501.53Sdogcow rm -f conftest.$ac_objext 20511.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20521.53Sdogcow (eval $ac_compile) 2>conftest.er1 20531.53Sdogcow ac_status=$? 20541.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 20551.53Sdogcow rm -f conftest.er1 20561.53Sdogcow cat conftest.err >&5 20571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 20581.53Sdogcow (exit $ac_status); } && 20591.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 20601.53Sdogcow || test ! -s conftest.err' 20611.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20621.53Sdogcow (eval $ac_try) 2>&5 20631.53Sdogcow ac_status=$? 20641.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 20651.53Sdogcow (exit $ac_status); }; } && 20661.53Sdogcow { ac_try='test -s conftest.$ac_objext' 20671.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20681.53Sdogcow (eval $ac_try) 2>&5 20691.53Sdogcow ac_status=$? 20701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 20711.53Sdogcow (exit $ac_status); }; }; then 20721.53Sdogcow ac_cv_prog_cc_stdc=$ac_arg 20731.53Sdogcowbreak 20741.53Sdogcowelse 20751.53Sdogcow echo "$as_me: failed program was:" >&5 20761.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 20771.53Sdogcow 20781.53Sdogcowfi 20791.53Sdogcowrm -f conftest.err conftest.$ac_objext 20801.53Sdogcowdone 20811.53Sdogcowrm -f conftest.$ac_ext conftest.$ac_objext 20821.53SdogcowCC=$ac_save_CC 20831.53Sdogcow 20841.53Sdogcowfi 20851.53Sdogcow 20861.53Sdogcowcase "x$ac_cv_prog_cc_stdc" in 20871.53Sdogcow x|xno) 20881.53Sdogcow echo "$as_me:$LINENO: result: none needed" >&5 20891.53Sdogcowecho "${ECHO_T}none needed" >&6 ;; 20901.53Sdogcow *) 20911.53Sdogcow echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 20921.53Sdogcowecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 20931.53Sdogcow CC="$CC $ac_cv_prog_cc_stdc" ;; 20941.53Sdogcowesac 20951.53Sdogcow 20961.1Stv# Some people use a C++ compiler to compile C. Since we use `exit', 20971.1Stv# in C++ we need to declare it. In case someone uses the same compiler 20981.1Stv# for both compiling C and C++ we need to have the C++ compiler decide 20991.1Stv# the declaration of exit, since it's the most demanding environment. 21001.1Stvcat >conftest.$ac_ext <<_ACEOF 21011.1Stv#ifndef __cplusplus 21021.1Stv choke me 21031.1Stv#endif 21041.1Stv_ACEOF 21051.1Stvrm -f conftest.$ac_objext 21061.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21071.53Sdogcow (eval $ac_compile) 2>conftest.er1 21081.1Stv ac_status=$? 21091.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 21101.53Sdogcow rm -f conftest.er1 21111.53Sdogcow cat conftest.err >&5 21121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21131.1Stv (exit $ac_status); } && 21141.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 21151.53Sdogcow || test ! -s conftest.err' 21161.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21171.53Sdogcow (eval $ac_try) 2>&5 21181.53Sdogcow ac_status=$? 21191.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21201.53Sdogcow (exit $ac_status); }; } && 21211.53Sdogcow { ac_try='test -s conftest.$ac_objext' 21221.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21231.50Sjmc (eval $ac_try) 2>&5 21241.50Sjmc ac_status=$? 21251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21261.1Stv (exit $ac_status); }; }; then 21271.1Stv for ac_declaration in \ 21281.53Sdogcow '' \ 21291.1Stv 'extern "C" void std::exit (int) throw (); using std::exit;' \ 21301.1Stv 'extern "C" void std::exit (int); using std::exit;' \ 21311.1Stv 'extern "C" void exit (int) throw ();' \ 21321.1Stv 'extern "C" void exit (int);' \ 21331.1Stv 'void exit (int);' 21341.1Stvdo 21351.1Stv cat >conftest.$ac_ext <<_ACEOF 21361.53Sdogcow/* confdefs.h. */ 21371.53Sdogcow_ACEOF 21381.53Sdogcowcat confdefs.h >>conftest.$ac_ext 21391.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 21401.53Sdogcow/* end confdefs.h. */ 21411.53Sdogcow$ac_declaration 21421.52Sdbj#include <stdlib.h> 21431.1Stvint 21441.1Stvmain () 21451.1Stv{ 21461.1Stvexit (42); 21471.1Stv ; 21481.1Stv return 0; 21491.1Stv} 21501.1Stv_ACEOF 21511.1Stvrm -f conftest.$ac_objext 21521.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21531.53Sdogcow (eval $ac_compile) 2>conftest.er1 21541.1Stv ac_status=$? 21551.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 21561.53Sdogcow rm -f conftest.er1 21571.53Sdogcow cat conftest.err >&5 21581.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21591.1Stv (exit $ac_status); } && 21601.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 21611.53Sdogcow || test ! -s conftest.err' 21621.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21631.53Sdogcow (eval $ac_try) 2>&5 21641.53Sdogcow ac_status=$? 21651.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21661.53Sdogcow (exit $ac_status); }; } && 21671.53Sdogcow { ac_try='test -s conftest.$ac_objext' 21681.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21691.50Sjmc (eval $ac_try) 2>&5 21701.50Sjmc ac_status=$? 21711.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 21721.1Stv (exit $ac_status); }; }; then 21731.1Stv : 21741.1Stvelse 21751.1Stv echo "$as_me: failed program was:" >&5 21761.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 21771.53Sdogcow 21781.1Stvcontinue 21791.1Stvfi 21801.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21811.1Stv cat >conftest.$ac_ext <<_ACEOF 21821.53Sdogcow/* confdefs.h. */ 21831.53Sdogcow_ACEOF 21841.53Sdogcowcat confdefs.h >>conftest.$ac_ext 21851.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 21861.53Sdogcow/* end confdefs.h. */ 21871.1Stv$ac_declaration 21881.1Stvint 21891.1Stvmain () 21901.1Stv{ 21911.1Stvexit (42); 21921.1Stv ; 21931.1Stv return 0; 21941.1Stv} 21951.1Stv_ACEOF 21961.1Stvrm -f conftest.$ac_objext 21971.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21981.53Sdogcow (eval $ac_compile) 2>conftest.er1 21991.1Stv ac_status=$? 22001.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 22011.53Sdogcow rm -f conftest.er1 22021.53Sdogcow cat conftest.err >&5 22031.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 22041.1Stv (exit $ac_status); } && 22051.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 22061.53Sdogcow || test ! -s conftest.err' 22071.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22081.53Sdogcow (eval $ac_try) 2>&5 22091.53Sdogcow ac_status=$? 22101.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 22111.53Sdogcow (exit $ac_status); }; } && 22121.53Sdogcow { ac_try='test -s conftest.$ac_objext' 22131.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22141.1Stv (eval $ac_try) 2>&5 22151.1Stv ac_status=$? 22161.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 22171.1Stv (exit $ac_status); }; }; then 22181.1Stv break 22191.1Stvelse 22201.1Stv echo "$as_me: failed program was:" >&5 22211.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 22221.53Sdogcow 22231.1Stvfi 22241.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22251.1Stvdone 22261.1Stvrm -f conftest* 22271.1Stvif test -n "$ac_declaration"; then 22281.1Stv echo '#ifdef __cplusplus' >>confdefs.h 22291.1Stv echo $ac_declaration >>confdefs.h 22301.1Stv echo '#endif' >>confdefs.h 22311.1Stvfi 22321.1Stv 22331.1Stvelse 22341.1Stv echo "$as_me: failed program was:" >&5 22351.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 22361.53Sdogcow 22371.1Stvfi 22381.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22391.1Stvac_ext=c 22401.1Stvac_cpp='$CPP $CPPFLAGS' 22411.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22421.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22431.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 22441.1Stv 22451.53Sdogcow 22461.1Stvac_ext=c 22471.1Stvac_cpp='$CPP $CPPFLAGS' 22481.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22491.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22501.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 22511.53Sdogcowecho "$as_me:$LINENO: checking how to run the C preprocessor" >&5 22521.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 22531.1Stv# On Suns, sometimes $CPP names a directory. 22541.1Stvif test -n "$CPP" && test -d "$CPP"; then 22551.1Stv CPP= 22561.1Stvfi 22571.1Stvif test -z "$CPP"; then 22581.1Stv if test "${ac_cv_prog_CPP+set}" = set; then 22591.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 22601.1Stvelse 22611.1Stv # Double quotes because CPP needs to be expanded 22621.1Stv for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 22631.1Stv do 22641.1Stv ac_preproc_ok=false 22651.1Stvfor ac_c_preproc_warn_flag in '' yes 22661.1Stvdo 22671.1Stv # Use a header file that comes with gcc, so configuring glibc 22681.1Stv # with a fresh cross-compiler works. 22691.53Sdogcow # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 22701.53Sdogcow # <limits.h> exists even on freestanding compilers. 22711.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 22721.1Stv # not just through cpp. "Syntax error" is here to catch this case. 22731.1Stv cat >conftest.$ac_ext <<_ACEOF 22741.53Sdogcow/* confdefs.h. */ 22751.53Sdogcow_ACEOF 22761.53Sdogcowcat confdefs.h >>conftest.$ac_ext 22771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 22781.53Sdogcow/* end confdefs.h. */ 22791.53Sdogcow#ifdef __STDC__ 22801.53Sdogcow# include <limits.h> 22811.53Sdogcow#else 22821.53Sdogcow# include <assert.h> 22831.53Sdogcow#endif 22841.53Sdogcow Syntax error 22851.48Sjmc_ACEOF 22861.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 22871.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22881.1Stv ac_status=$? 22891.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 22901.1Stv rm -f conftest.er1 22911.1Stv cat conftest.err >&5 22921.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 22931.1Stv (exit $ac_status); } >/dev/null; then 22941.1Stv if test -s conftest.err; then 22951.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 22961.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 22971.1Stv else 22981.1Stv ac_cpp_err= 22991.1Stv fi 23001.1Stvelse 23011.1Stv ac_cpp_err=yes 23021.1Stvfi 23031.1Stvif test -z "$ac_cpp_err"; then 23041.1Stv : 23051.1Stvelse 23061.1Stv echo "$as_me: failed program was:" >&5 23071.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 23081.53Sdogcow 23091.1Stv # Broken: fails on valid input. 23101.1Stvcontinue 23111.1Stvfi 23121.1Stvrm -f conftest.err conftest.$ac_ext 23131.1Stv 23141.1Stv # OK, works on sane cases. Now check whether non-existent headers 23151.1Stv # can be detected and how. 23161.1Stv cat >conftest.$ac_ext <<_ACEOF 23171.53Sdogcow/* confdefs.h. */ 23181.53Sdogcow_ACEOF 23191.53Sdogcowcat confdefs.h >>conftest.$ac_ext 23201.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 23211.53Sdogcow/* end confdefs.h. */ 23221.1Stv#include <ac_nonexistent.h> 23231.1Stv_ACEOF 23241.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23251.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23261.1Stv ac_status=$? 23271.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 23281.1Stv rm -f conftest.er1 23291.1Stv cat conftest.err >&5 23301.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 23311.1Stv (exit $ac_status); } >/dev/null; then 23321.1Stv if test -s conftest.err; then 23331.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 23341.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 23351.1Stv else 23361.1Stv ac_cpp_err= 23371.1Stv fi 23381.1Stvelse 23391.1Stv ac_cpp_err=yes 23401.1Stvfi 23411.1Stvif test -z "$ac_cpp_err"; then 23421.1Stv # Broken: success on invalid input. 23431.1Stvcontinue 23441.1Stvelse 23451.1Stv echo "$as_me: failed program was:" >&5 23461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 23471.53Sdogcow 23481.1Stv # Passes both tests. 23491.1Stvac_preproc_ok=: 23501.1Stvbreak 23511.1Stvfi 23521.1Stvrm -f conftest.err conftest.$ac_ext 23531.1Stv 23541.1Stvdone 23551.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 23561.1Stvrm -f conftest.err conftest.$ac_ext 23571.1Stvif $ac_preproc_ok; then 23581.1Stv break 23591.1Stvfi 23601.1Stv 23611.1Stv done 23621.1Stv ac_cv_prog_CPP=$CPP 23631.1Stv 23641.1Stvfi 23651.1Stv CPP=$ac_cv_prog_CPP 23661.1Stvelse 23671.1Stv ac_cv_prog_CPP=$CPP 23681.1Stvfi 23691.53Sdogcowecho "$as_me:$LINENO: result: $CPP" >&5 23701.1Stvecho "${ECHO_T}$CPP" >&6 23711.1Stvac_preproc_ok=false 23721.1Stvfor ac_c_preproc_warn_flag in '' yes 23731.1Stvdo 23741.1Stv # Use a header file that comes with gcc, so configuring glibc 23751.1Stv # with a fresh cross-compiler works. 23761.53Sdogcow # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 23771.53Sdogcow # <limits.h> exists even on freestanding compilers. 23781.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 23791.1Stv # not just through cpp. "Syntax error" is here to catch this case. 23801.1Stv cat >conftest.$ac_ext <<_ACEOF 23811.53Sdogcow/* confdefs.h. */ 23821.48Sjmc_ACEOF 23831.53Sdogcowcat confdefs.h >>conftest.$ac_ext 23841.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 23851.53Sdogcow/* end confdefs.h. */ 23861.53Sdogcow#ifdef __STDC__ 23871.53Sdogcow# include <limits.h> 23881.53Sdogcow#else 23891.53Sdogcow# include <assert.h> 23901.53Sdogcow#endif 23911.53Sdogcow Syntax error 23921.53Sdogcow_ACEOF 23931.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23941.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23951.1Stv ac_status=$? 23961.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 23971.1Stv rm -f conftest.er1 23981.1Stv cat conftest.err >&5 23991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 24001.1Stv (exit $ac_status); } >/dev/null; then 24011.1Stv if test -s conftest.err; then 24021.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 24031.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 24041.1Stv else 24051.1Stv ac_cpp_err= 24061.1Stv fi 24071.1Stvelse 24081.1Stv ac_cpp_err=yes 24091.1Stvfi 24101.1Stvif test -z "$ac_cpp_err"; then 24111.1Stv : 24121.1Stvelse 24131.1Stv echo "$as_me: failed program was:" >&5 24141.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 24151.53Sdogcow 24161.1Stv # Broken: fails on valid input. 24171.1Stvcontinue 24181.1Stvfi 24191.1Stvrm -f conftest.err conftest.$ac_ext 24201.1Stv 24211.1Stv # OK, works on sane cases. Now check whether non-existent headers 24221.1Stv # can be detected and how. 24231.1Stv cat >conftest.$ac_ext <<_ACEOF 24241.53Sdogcow/* confdefs.h. */ 24251.53Sdogcow_ACEOF 24261.53Sdogcowcat confdefs.h >>conftest.$ac_ext 24271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 24281.53Sdogcow/* end confdefs.h. */ 24291.1Stv#include <ac_nonexistent.h> 24301.1Stv_ACEOF 24311.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24321.1Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24331.1Stv ac_status=$? 24341.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 24351.1Stv rm -f conftest.er1 24361.1Stv cat conftest.err >&5 24371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 24381.1Stv (exit $ac_status); } >/dev/null; then 24391.1Stv if test -s conftest.err; then 24401.1Stv ac_cpp_err=$ac_c_preproc_warn_flag 24411.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 24421.1Stv else 24431.1Stv ac_cpp_err= 24441.1Stv fi 24451.1Stvelse 24461.45Sjmc ac_cpp_err=yes 24471.45Sjmcfi 24481.45Sjmcif test -z "$ac_cpp_err"; then 24491.45Sjmc # Broken: success on invalid input. 24501.45Sjmccontinue 24511.45Sjmcelse 24521.45Sjmc echo "$as_me: failed program was:" >&5 24531.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 24541.53Sdogcow 24551.45Sjmc # Passes both tests. 24561.45Sjmcac_preproc_ok=: 24571.45Sjmcbreak 24581.45Sjmcfi 24591.45Sjmcrm -f conftest.err conftest.$ac_ext 24601.45Sjmc 24611.45Sjmcdone 24621.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 24631.45Sjmcrm -f conftest.err conftest.$ac_ext 24641.45Sjmcif $ac_preproc_ok; then 24651.45Sjmc : 24661.45Sjmcelse 24671.53Sdogcow { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 24681.53SdogcowSee \`config.log' for more details." >&5 24691.53Sdogcowecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check 24701.53SdogcowSee \`config.log' for more details." >&2;} 24711.45Sjmc { (exit 1); exit 1; }; } 24721.45Sjmcfi 24731.45Sjmc 24741.45Sjmcac_ext=c 24751.45Sjmcac_cpp='$CPP $CPPFLAGS' 24761.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24771.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24781.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu 24791.45Sjmc 24801.53Sdogcow 24811.53Sdogcowecho "$as_me:$LINENO: checking for egrep" >&5 24821.53Sdogcowecho $ECHO_N "checking for egrep... $ECHO_C" >&6 24831.53Sdogcowif test "${ac_cv_prog_egrep+set}" = set; then 24841.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 24851.53Sdogcowelse 24861.53Sdogcow if echo a | (grep -E '(a|b)') >/dev/null 2>&1 24871.53Sdogcow then ac_cv_prog_egrep='grep -E' 24881.53Sdogcow else ac_cv_prog_egrep='egrep' 24891.53Sdogcow fi 24901.53Sdogcowfi 24911.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 24921.53Sdogcowecho "${ECHO_T}$ac_cv_prog_egrep" >&6 24931.53Sdogcow EGREP=$ac_cv_prog_egrep 24941.53Sdogcow 24951.53Sdogcow 24961.53Sdogcow echo "$as_me:$LINENO: checking for NetBSD" >&5 24971.45Sjmcecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6 24981.45Sjmc cat >conftest.$ac_ext <<_ACEOF 24991.53Sdogcow/* confdefs.h. */ 25001.53Sdogcow_ACEOF 25011.53Sdogcowcat confdefs.h >>conftest.$ac_ext 25021.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 25031.53Sdogcow/* end confdefs.h. */ 25041.45Sjmc#ifdef __NetBSD__ 25051.45Sjmc yes 25061.45Sjmc #endif 25071.45Sjmc 25081.45Sjmc_ACEOF 25091.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 25101.53Sdogcow $EGREP "yes" >/dev/null 2>&1; then 25111.53Sdogcow echo "$as_me:$LINENO: result: yes" >&5 25121.45Sjmcecho "${ECHO_T}yes" >&6 25131.54Swiz 25141.54Swizcat >>confdefs.h <<\_ACEOF 25151.45Sjmc#define _POSIX_SOURCE 1 25161.53Sdogcow_ACEOF 25171.54Swiz 25181.54Swiz 25191.54Swizcat >>confdefs.h <<\_ACEOF 25201.45Sjmc#define _POSIX_C_SOURCE 200112L 25211.53Sdogcow_ACEOF 25221.54Swiz 25231.54Swiz 25241.54Swizcat >>confdefs.h <<\_ACEOF 25251.45Sjmc#define _XOPEN_SOURCE 600 25261.53Sdogcow_ACEOF 25271.45Sjmc 25281.45Sjmcelse 25291.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 25301.45Sjmcecho "${ECHO_T}no" >&6 25311.45Sjmcfi 25321.45Sjmcrm -f conftest* 25331.45Sjmc 25341.53Sdogcow 25351.45Sjmc# Extract the first word of "sh", so it can be a program name with args. 25361.45Sjmcset dummy sh; ac_word=$2 25371.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5 25381.45Sjmcecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 25391.45Sjmcif test "${ac_cv_path_BSHELL+set}" = set; then 25401.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 25411.45Sjmcelse 25421.45Sjmc case $BSHELL in 25431.45Sjmc [\\/]* | ?:[\\/]*) 25441.45Sjmc ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path. 25451.45Sjmc ;; 25461.45Sjmc *) 25471.53Sdogcow as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25481.53Sdogcowfor as_dir in $PATH 25491.53Sdogcowdo 25501.53Sdogcow IFS=$as_save_IFS 25511.53Sdogcow test -z "$as_dir" && as_dir=. 25521.53Sdogcow for ac_exec_ext in '' $ac_executable_extensions; do 25531.53Sdogcow if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25541.53Sdogcow ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext" 25551.53Sdogcow echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25561.53Sdogcow break 2 25571.53Sdogcow fi 25581.53Sdogcowdone 25591.45Sjmcdone 25601.45Sjmc 25611.45Sjmc ;; 25621.45Sjmcesac 25631.45Sjmcfi 25641.45SjmcBSHELL=$ac_cv_path_BSHELL 25651.45Sjmc 25661.45Sjmcif test -n "$BSHELL"; then 25671.53Sdogcow echo "$as_me:$LINENO: result: $BSHELL" >&5 25681.45Sjmcecho "${ECHO_T}$BSHELL" >&6 25691.45Sjmcelse 25701.53Sdogcow echo "$as_me:$LINENO: result: no" >&5 25711.45Sjmcecho "${ECHO_T}no" >&6 25721.45Sjmcfi 25731.45Sjmc 25741.45Sjmcif test x"$BSHELL" = x; then 25751.53Sdogcow { { echo "$as_me:$LINENO: error: sh must be somewhere on \$PATH" >&5 25761.45Sjmcecho "$as_me: error: sh must be somewhere on \$PATH" >&2;} 25771.45Sjmc { (exit 1); exit 1; }; } 25781.45Sjmcfi 25791.54Swiz 25801.53Sdogcowcat >>confdefs.h <<_ACEOF 25811.45Sjmc#define PATH_BSHELL "$BSHELL" 25821.53Sdogcow_ACEOF 25831.53Sdogcow 25841.45Sjmc 25851.53Sdogcowecho "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 25861.45Sjmcecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 25871.45Sjmcif test "${ac_cv_c_bigendian+set}" = set; then 25881.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 25891.45Sjmcelse 25901.53Sdogcow # See if sys/param.h defines the BYTE_ORDER macro. 25911.45Sjmccat >conftest.$ac_ext <<_ACEOF 25921.53Sdogcow/* confdefs.h. */ 25931.53Sdogcow_ACEOF 25941.53Sdogcowcat confdefs.h >>conftest.$ac_ext 25951.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 25961.53Sdogcow/* end confdefs.h. */ 25971.45Sjmc#include <sys/types.h> 25981.45Sjmc#include <sys/param.h> 25991.45Sjmc 26001.45Sjmcint 26011.45Sjmcmain () 26021.45Sjmc{ 26031.45Sjmc#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 26041.45Sjmc bogus endian macros 26051.45Sjmc#endif 26061.45Sjmc 26071.45Sjmc ; 26081.45Sjmc return 0; 26091.45Sjmc} 26101.45Sjmc_ACEOF 26111.45Sjmcrm -f conftest.$ac_objext 26121.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26131.53Sdogcow (eval $ac_compile) 2>conftest.er1 26141.45Sjmc ac_status=$? 26151.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 26161.53Sdogcow rm -f conftest.er1 26171.53Sdogcow cat conftest.err >&5 26181.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26191.45Sjmc (exit $ac_status); } && 26201.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 26211.53Sdogcow || test ! -s conftest.err' 26221.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26231.53Sdogcow (eval $ac_try) 2>&5 26241.53Sdogcow ac_status=$? 26251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26261.53Sdogcow (exit $ac_status); }; } && 26271.53Sdogcow { ac_try='test -s conftest.$ac_objext' 26281.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26291.45Sjmc (eval $ac_try) 2>&5 26301.45Sjmc ac_status=$? 26311.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26321.45Sjmc (exit $ac_status); }; }; then 26331.45Sjmc # It does; now see whether it defined to BIG_ENDIAN or not. 26341.45Sjmccat >conftest.$ac_ext <<_ACEOF 26351.53Sdogcow/* confdefs.h. */ 26361.53Sdogcow_ACEOF 26371.53Sdogcowcat confdefs.h >>conftest.$ac_ext 26381.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 26391.53Sdogcow/* end confdefs.h. */ 26401.45Sjmc#include <sys/types.h> 26411.45Sjmc#include <sys/param.h> 26421.45Sjmc 26431.45Sjmcint 26441.45Sjmcmain () 26451.45Sjmc{ 26461.45Sjmc#if BYTE_ORDER != BIG_ENDIAN 26471.45Sjmc not big endian 26481.45Sjmc#endif 26491.45Sjmc 26501.45Sjmc ; 26511.45Sjmc return 0; 26521.45Sjmc} 26531.45Sjmc_ACEOF 26541.45Sjmcrm -f conftest.$ac_objext 26551.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26561.53Sdogcow (eval $ac_compile) 2>conftest.er1 26571.45Sjmc ac_status=$? 26581.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 26591.53Sdogcow rm -f conftest.er1 26601.53Sdogcow cat conftest.err >&5 26611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26621.45Sjmc (exit $ac_status); } && 26631.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 26641.53Sdogcow || test ! -s conftest.err' 26651.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26661.53Sdogcow (eval $ac_try) 2>&5 26671.53Sdogcow ac_status=$? 26681.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26691.53Sdogcow (exit $ac_status); }; } && 26701.53Sdogcow { ac_try='test -s conftest.$ac_objext' 26711.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26721.45Sjmc (eval $ac_try) 2>&5 26731.45Sjmc ac_status=$? 26741.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 26751.45Sjmc (exit $ac_status); }; }; then 26761.45Sjmc ac_cv_c_bigendian=yes 26771.45Sjmcelse 26781.45Sjmc echo "$as_me: failed program was:" >&5 26791.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 26801.53Sdogcow 26811.45Sjmcac_cv_c_bigendian=no 26821.45Sjmcfi 26831.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26841.53Sdogcowelse 26851.53Sdogcow echo "$as_me: failed program was:" >&5 26861.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 26871.53Sdogcow 26881.53Sdogcow# It does not; compile a test program. 26891.53Sdogcowif test "$cross_compiling" = yes; then 26901.53Sdogcow # try to guess the endianness by grepping values into an object file 26911.53Sdogcow ac_cv_c_bigendian=unknown 26921.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 26931.53Sdogcow/* confdefs.h. */ 26941.53Sdogcow_ACEOF 26951.53Sdogcowcat confdefs.h >>conftest.$ac_ext 26961.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 26971.53Sdogcow/* end confdefs.h. */ 26981.53Sdogcowshort ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 26991.53Sdogcowshort ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 27001.53Sdogcowvoid _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 27011.53Sdogcowshort ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 27021.53Sdogcowshort ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 27031.53Sdogcowvoid _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 27041.53Sdogcowint 27051.53Sdogcowmain () 27061.53Sdogcow{ 27071.53Sdogcow _ascii (); _ebcdic (); 27081.53Sdogcow ; 27091.53Sdogcow return 0; 27101.53Sdogcow} 27111.53Sdogcow_ACEOF 27121.53Sdogcowrm -f conftest.$ac_objext 27131.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 27141.53Sdogcow (eval $ac_compile) 2>conftest.er1 27151.53Sdogcow ac_status=$? 27161.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 27171.53Sdogcow rm -f conftest.er1 27181.53Sdogcow cat conftest.err >&5 27191.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 27201.53Sdogcow (exit $ac_status); } && 27211.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 27221.53Sdogcow || test ! -s conftest.err' 27231.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27241.53Sdogcow (eval $ac_try) 2>&5 27251.53Sdogcow ac_status=$? 27261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 27271.53Sdogcow (exit $ac_status); }; } && 27281.53Sdogcow { ac_try='test -s conftest.$ac_objext' 27291.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27301.53Sdogcow (eval $ac_try) 2>&5 27311.53Sdogcow ac_status=$? 27321.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 27331.53Sdogcow (exit $ac_status); }; }; then 27341.53Sdogcow if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 27351.53Sdogcow ac_cv_c_bigendian=yes 27361.53Sdogcowfi 27371.53Sdogcowif grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 27381.53Sdogcow if test "$ac_cv_c_bigendian" = unknown; then 27391.53Sdogcow ac_cv_c_bigendian=no 27401.53Sdogcow else 27411.53Sdogcow # finding both strings is unlikely to happen, but who knows? 27421.53Sdogcow ac_cv_c_bigendian=unknown 27431.53Sdogcow fi 27441.53Sdogcowfi 27451.48Sjmcelse 27461.48Sjmc echo "$as_me: failed program was:" >&5 27471.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 27481.53Sdogcow 27491.52Sdbjfi 27501.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 27511.45Sjmcelse 27521.45Sjmc cat >conftest.$ac_ext <<_ACEOF 27531.53Sdogcow/* confdefs.h. */ 27541.53Sdogcow_ACEOF 27551.53Sdogcowcat confdefs.h >>conftest.$ac_ext 27561.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 27571.53Sdogcow/* end confdefs.h. */ 27581.45Sjmcint 27591.45Sjmcmain () 27601.45Sjmc{ 27611.45Sjmc /* Are we little or big endian? From Harbison&Steele. */ 27621.45Sjmc union 27631.45Sjmc { 27641.45Sjmc long l; 27651.45Sjmc char c[sizeof (long)]; 27661.45Sjmc } u; 27671.45Sjmc u.l = 1; 27681.45Sjmc exit (u.c[sizeof (long) - 1] == 1); 27691.45Sjmc} 27701.45Sjmc_ACEOF 27711.45Sjmcrm -f conftest$ac_exeext 27721.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 27731.45Sjmc (eval $ac_link) 2>&5 27741.45Sjmc ac_status=$? 27751.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 27761.45Sjmc (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 27771.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27781.45Sjmc (eval $ac_try) 2>&5 27791.45Sjmc ac_status=$? 27801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 27811.45Sjmc (exit $ac_status); }; }; then 27821.45Sjmc ac_cv_c_bigendian=no 27831.45Sjmcelse 27841.45Sjmc echo "$as_me: program exited with status $ac_status" >&5 27851.45Sjmcecho "$as_me: failed program was:" >&5 27861.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 27871.53Sdogcow 27881.53Sdogcow( exit $ac_status ) 27891.45Sjmcac_cv_c_bigendian=yes 27901.45Sjmcfi 27911.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 27921.45Sjmcfi 27931.1Stvfi 27941.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 27951.1Stvfi 27961.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 27971.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6 27981.53Sdogcowcase $ac_cv_c_bigendian in 27991.53Sdogcow yes) 28001.45Sjmc 28011.53Sdogcowcat >>confdefs.h <<\_ACEOF 28021.45Sjmc#define WORDS_BIGENDIAN 1 28031.53Sdogcow_ACEOF 28041.53Sdogcow ;; 28051.53Sdogcow no) 28061.53Sdogcow ;; 28071.53Sdogcow *) 28081.53Sdogcow { { echo "$as_me:$LINENO: error: unknown endianness 28091.53Sdogcowpresetting ac_cv_c_bigendian=no (or yes) will help" >&5 28101.53Sdogcowecho "$as_me: error: unknown endianness 28111.53Sdogcowpresetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 28121.53Sdogcow { (exit 1); exit 1; }; } ;; 28131.53Sdogcowesac 28141.52Sdbj 28151.53Sdogcowecho "$as_me:$LINENO: checking for ANSI C header files" >&5 28161.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 28171.6Stvif test "${ac_cv_header_stdc+set}" = set; then 28181.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 28191.6Stvelse 28201.6Stv cat >conftest.$ac_ext <<_ACEOF 28211.53Sdogcow/* confdefs.h. */ 28221.53Sdogcow_ACEOF 28231.53Sdogcowcat confdefs.h >>conftest.$ac_ext 28241.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 28251.53Sdogcow/* end confdefs.h. */ 28261.6Stv#include <stdlib.h> 28271.6Stv#include <stdarg.h> 28281.6Stv#include <string.h> 28291.6Stv#include <float.h> 28301.6Stv 28311.53Sdogcowint 28321.53Sdogcowmain () 28331.53Sdogcow{ 28341.53Sdogcow 28351.53Sdogcow ; 28361.53Sdogcow return 0; 28371.53Sdogcow} 28381.6Stv_ACEOF 28391.53Sdogcowrm -f conftest.$ac_objext 28401.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 28411.53Sdogcow (eval $ac_compile) 2>conftest.er1 28421.39Sfredb ac_status=$? 28431.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 28441.50Sjmc rm -f conftest.er1 28451.50Sjmc cat conftest.err >&5 28461.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 28471.53Sdogcow (exit $ac_status); } && 28481.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 28491.53Sdogcow || test ! -s conftest.err' 28501.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28511.53Sdogcow (eval $ac_try) 2>&5 28521.53Sdogcow ac_status=$? 28531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 28541.53Sdogcow (exit $ac_status); }; } && 28551.53Sdogcow { ac_try='test -s conftest.$ac_objext' 28561.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28571.53Sdogcow (eval $ac_try) 2>&5 28581.53Sdogcow ac_status=$? 28591.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 28601.53Sdogcow (exit $ac_status); }; }; then 28611.6Stv ac_cv_header_stdc=yes 28621.6Stvelse 28631.6Stv echo "$as_me: failed program was:" >&5 28641.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 28651.53Sdogcow 28661.53Sdogcowac_cv_header_stdc=no 28671.6Stvfi 28681.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 28691.6Stv 28701.6Stvif test $ac_cv_header_stdc = yes; then 28711.6Stv # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 28721.6Stv cat >conftest.$ac_ext <<_ACEOF 28731.53Sdogcow/* confdefs.h. */ 28741.53Sdogcow_ACEOF 28751.53Sdogcowcat confdefs.h >>conftest.$ac_ext 28761.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 28771.53Sdogcow/* end confdefs.h. */ 28781.6Stv#include <string.h> 28791.6Stv 28801.6Stv_ACEOF 28811.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 28821.53Sdogcow $EGREP "memchr" >/dev/null 2>&1; then 28831.6Stv : 28841.6Stvelse 28851.6Stv ac_cv_header_stdc=no 28861.6Stvfi 28871.6Stvrm -f conftest* 28881.6Stv 28891.6Stvfi 28901.6Stv 28911.6Stvif test $ac_cv_header_stdc = yes; then 28921.6Stv # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 28931.6Stv cat >conftest.$ac_ext <<_ACEOF 28941.53Sdogcow/* confdefs.h. */ 28951.53Sdogcow_ACEOF 28961.53Sdogcowcat confdefs.h >>conftest.$ac_ext 28971.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 28981.53Sdogcow/* end confdefs.h. */ 28991.6Stv#include <stdlib.h> 29001.6Stv 29011.6Stv_ACEOF 29021.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 29031.53Sdogcow $EGREP "free" >/dev/null 2>&1; then 29041.6Stv : 29051.6Stvelse 29061.6Stv ac_cv_header_stdc=no 29071.6Stvfi 29081.6Stvrm -f conftest* 29091.6Stv 29101.6Stvfi 29111.6Stv 29121.6Stvif test $ac_cv_header_stdc = yes; then 29131.6Stv # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 29141.6Stv if test "$cross_compiling" = yes; then 29151.6Stv : 29161.6Stvelse 29171.6Stv cat >conftest.$ac_ext <<_ACEOF 29181.53Sdogcow/* confdefs.h. */ 29191.53Sdogcow_ACEOF 29201.53Sdogcowcat confdefs.h >>conftest.$ac_ext 29211.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 29221.53Sdogcow/* end confdefs.h. */ 29231.6Stv#include <ctype.h> 29241.6Stv#if ((' ' & 0x0FF) == 0x020) 29251.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 29261.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 29271.6Stv#else 29281.53Sdogcow# define ISLOWER(c) \ 29291.53Sdogcow (('a' <= (c) && (c) <= 'i') \ 29301.53Sdogcow || ('j' <= (c) && (c) <= 'r') \ 29311.53Sdogcow || ('s' <= (c) && (c) <= 'z')) 29321.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 29331.6Stv#endif 29341.6Stv 29351.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 29361.6Stvint 29371.6Stvmain () 29381.6Stv{ 29391.6Stv int i; 29401.6Stv for (i = 0; i < 256; i++) 29411.6Stv if (XOR (islower (i), ISLOWER (i)) 29421.53Sdogcow || toupper (i) != TOUPPER (i)) 29431.6Stv exit(2); 29441.6Stv exit (0); 29451.6Stv} 29461.6Stv_ACEOF 29471.6Stvrm -f conftest$ac_exeext 29481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 29491.6Stv (eval $ac_link) 2>&5 29501.6Stv ac_status=$? 29511.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 29521.6Stv (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 29531.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29541.6Stv (eval $ac_try) 2>&5 29551.6Stv ac_status=$? 29561.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 29571.6Stv (exit $ac_status); }; }; then 29581.6Stv : 29591.6Stvelse 29601.6Stv echo "$as_me: program exited with status $ac_status" >&5 29611.6Stvecho "$as_me: failed program was:" >&5 29621.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 29631.53Sdogcow 29641.53Sdogcow( exit $ac_status ) 29651.6Stvac_cv_header_stdc=no 29661.6Stvfi 29671.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 29681.6Stvfi 29691.6Stvfi 29701.6Stvfi 29711.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 29721.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6 29731.6Stvif test $ac_cv_header_stdc = yes; then 29741.6Stv 29751.53Sdogcowcat >>confdefs.h <<\_ACEOF 29761.6Stv#define STDC_HEADERS 1 29771.53Sdogcow_ACEOF 29781.6Stv 29791.6Stvfi 29801.6Stv 29811.53Sdogcow 29821.6Stv# Confirm existence of zlib. (This is available as a default install 29831.6Stv# option on many OS's; this could be added as a reachover build in the 29841.6Stv# future.) 29851.53Sdogcow# On IRIX 5.3, sys/types and inttypes.h are conflicting. 29861.53Sdogcow 29871.53Sdogcow 29881.53Sdogcow 29891.53Sdogcow 29901.53Sdogcow 29911.53Sdogcow 29921.53Sdogcow 29931.53Sdogcow 29941.53Sdogcow 29951.53Sdogcowfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 29961.53Sdogcow inttypes.h stdint.h unistd.h 29971.53Sdogcowdo 29981.53Sdogcowas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29991.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5 30001.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 30011.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 30021.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 30031.39Sfredbelse 30041.43Sdbj cat >conftest.$ac_ext <<_ACEOF 30051.53Sdogcow/* confdefs.h. */ 30061.53Sdogcow_ACEOF 30071.53Sdogcowcat confdefs.h >>conftest.$ac_ext 30081.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 30091.53Sdogcow/* end confdefs.h. */ 30101.53Sdogcow$ac_includes_default 30111.53Sdogcow 30121.53Sdogcow#include <$ac_header> 30131.48Sjmc_ACEOF 30141.53Sdogcowrm -f conftest.$ac_objext 30151.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 30161.53Sdogcow (eval $ac_compile) 2>conftest.er1 30171.4Stv ac_status=$? 30181.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 30191.50Sjmc rm -f conftest.er1 30201.50Sjmc cat conftest.err >&5 30211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30221.53Sdogcow (exit $ac_status); } && 30231.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 30241.53Sdogcow || test ! -s conftest.err' 30251.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30261.53Sdogcow (eval $ac_try) 2>&5 30271.53Sdogcow ac_status=$? 30281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30291.53Sdogcow (exit $ac_status); }; } && 30301.53Sdogcow { ac_try='test -s conftest.$ac_objext' 30311.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30321.53Sdogcow (eval $ac_try) 2>&5 30331.53Sdogcow ac_status=$? 30341.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30351.53Sdogcow (exit $ac_status); }; }; then 30361.53Sdogcow eval "$as_ac_Header=yes" 30371.4Stvelse 30381.4Stv echo "$as_me: failed program was:" >&5 30391.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 30401.53Sdogcow 30411.53Sdogcoweval "$as_ac_Header=no" 30421.4Stvfi 30431.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 30441.4Stvfi 30451.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 30461.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 30471.53Sdogcowif test `eval echo '${'$as_ac_Header'}'` = yes; then 30481.53Sdogcow cat >>confdefs.h <<_ACEOF 30491.53Sdogcow#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 30501.53Sdogcow_ACEOF 30511.53Sdogcow 30521.6Stvfi 30531.6Stv 30541.53Sdogcowdone 30551.53Sdogcow 30561.53Sdogcow 30571.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then 30581.53Sdogcow echo "$as_me:$LINENO: checking for zlib.h" >&5 30591.53Sdogcowecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6 30601.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then 30611.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 30621.53Sdogcowfi 30631.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 30641.53Sdogcowecho "${ECHO_T}$ac_cv_header_zlib_h" >&6 30651.53Sdogcowelse 30661.53Sdogcow # Is the header compilable? 30671.53Sdogcowecho "$as_me:$LINENO: checking zlib.h usability" >&5 30681.53Sdogcowecho $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 30691.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 30701.53Sdogcow/* confdefs.h. */ 30711.53Sdogcow_ACEOF 30721.53Sdogcowcat confdefs.h >>conftest.$ac_ext 30731.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 30741.53Sdogcow/* end confdefs.h. */ 30751.53Sdogcow$ac_includes_default 30761.53Sdogcow#include <zlib.h> 30771.53Sdogcow_ACEOF 30781.53Sdogcowrm -f conftest.$ac_objext 30791.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 30801.53Sdogcow (eval $ac_compile) 2>conftest.er1 30811.53Sdogcow ac_status=$? 30821.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 30831.53Sdogcow rm -f conftest.er1 30841.53Sdogcow cat conftest.err >&5 30851.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30861.53Sdogcow (exit $ac_status); } && 30871.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 30881.53Sdogcow || test ! -s conftest.err' 30891.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30901.53Sdogcow (eval $ac_try) 2>&5 30911.53Sdogcow ac_status=$? 30921.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30931.53Sdogcow (exit $ac_status); }; } && 30941.53Sdogcow { ac_try='test -s conftest.$ac_objext' 30951.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30961.53Sdogcow (eval $ac_try) 2>&5 30971.53Sdogcow ac_status=$? 30981.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 30991.53Sdogcow (exit $ac_status); }; }; then 31001.53Sdogcow ac_header_compiler=yes 31011.53Sdogcowelse 31021.53Sdogcow echo "$as_me: failed program was:" >&5 31031.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 31041.53Sdogcow 31051.53Sdogcowac_header_compiler=no 31061.53Sdogcowfi 31071.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 31081.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 31091.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6 31101.53Sdogcow 31111.53Sdogcow# Is the header present? 31121.53Sdogcowecho "$as_me:$LINENO: checking zlib.h presence" >&5 31131.53Sdogcowecho $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 31141.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 31151.53Sdogcow/* confdefs.h. */ 31161.53Sdogcow_ACEOF 31171.53Sdogcowcat confdefs.h >>conftest.$ac_ext 31181.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 31191.53Sdogcow/* end confdefs.h. */ 31201.53Sdogcow#include <zlib.h> 31211.53Sdogcow_ACEOF 31221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 31231.53Sdogcow (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 31241.53Sdogcow ac_status=$? 31251.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 31261.53Sdogcow rm -f conftest.er1 31271.53Sdogcow cat conftest.err >&5 31281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 31291.53Sdogcow (exit $ac_status); } >/dev/null; then 31301.53Sdogcow if test -s conftest.err; then 31311.53Sdogcow ac_cpp_err=$ac_c_preproc_warn_flag 31321.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 31331.53Sdogcow else 31341.53Sdogcow ac_cpp_err= 31351.53Sdogcow fi 31361.53Sdogcowelse 31371.53Sdogcow ac_cpp_err=yes 31381.53Sdogcowfi 31391.53Sdogcowif test -z "$ac_cpp_err"; then 31401.53Sdogcow ac_header_preproc=yes 31411.53Sdogcowelse 31421.53Sdogcow echo "$as_me: failed program was:" >&5 31431.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 31441.53Sdogcow 31451.53Sdogcow ac_header_preproc=no 31461.53Sdogcowfi 31471.53Sdogcowrm -f conftest.err conftest.$ac_ext 31481.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 31491.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6 31501.53Sdogcow 31511.53Sdogcow# So? What about this header? 31521.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 31531.53Sdogcow yes:no: ) 31541.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 31551.53Sdogcowecho "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 31561.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 31571.53Sdogcowecho "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} 31581.53Sdogcow ac_header_preproc=yes 31591.53Sdogcow ;; 31601.53Sdogcow no:yes:* ) 31611.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 31621.53Sdogcowecho "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} 31631.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 31641.53Sdogcowecho "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} 31651.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 31661.53Sdogcowecho "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} 31671.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 31681.53Sdogcowecho "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 31691.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 31701.53Sdogcowecho "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} 31711.53Sdogcow { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 31721.53Sdogcowecho "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 31731.53Sdogcow ( 31741.53Sdogcow cat <<\_ASBOX 31751.53Sdogcow## ---------------------------------------- ## 31761.53Sdogcow## Report this to lib-bug-people@NetBSD.org ## 31771.53Sdogcow## ---------------------------------------- ## 31781.53Sdogcow_ASBOX 31791.53Sdogcow ) | 31801.53Sdogcow sed "s/^/$as_me: WARNING: /" >&2 31811.53Sdogcow ;; 31821.53Sdogcowesac 31831.53Sdogcowecho "$as_me:$LINENO: checking for zlib.h" >&5 31841.53Sdogcowecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6 31851.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then 31861.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 31871.53Sdogcowelse 31881.53Sdogcow ac_cv_header_zlib_h=$ac_header_preproc 31891.53Sdogcowfi 31901.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 31911.53Sdogcowecho "${ECHO_T}$ac_cv_header_zlib_h" >&6 31921.53Sdogcow 31931.53Sdogcowfi 31941.53Sdogcowif test $ac_cv_header_zlib_h = yes; then 31951.53Sdogcow : 31961.53Sdogcowelse 31971.53Sdogcow { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5 31981.53Sdogcowecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;} 31991.53Sdogcow { (exit 1); exit 1; }; } 32001.53Sdogcowfi 32011.53Sdogcow 32021.53Sdogcow 32031.53Sdogcow 32041.53Sdogcowecho "$as_me:$LINENO: checking for gzdopen in -lz" >&5 32051.53Sdogcowecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6 32061.53Sdogcowif test "${ac_cv_lib_z_gzdopen+set}" = set; then 32071.52Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 32081.52Sdbjelse 32091.52Sdbj ac_check_lib_save_LIBS=$LIBS 32101.52SdbjLIBS="-lz $LIBS" 32111.52Sdbjcat >conftest.$ac_ext <<_ACEOF 32121.53Sdogcow/* confdefs.h. */ 32131.53Sdogcow_ACEOF 32141.53Sdogcowcat confdefs.h >>conftest.$ac_ext 32151.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 32161.53Sdogcow/* end confdefs.h. */ 32171.48Sjmc 32181.52Sdbj/* Override any gcc2 internal prototype to avoid an error. */ 32191.6Stv#ifdef __cplusplus 32201.6Stvextern "C" 32211.6Stv#endif 32221.6Stv/* We use char because int might match the return type of a gcc2 32231.6Stv builtin and then its argument prototype would still apply. */ 32241.6Stvchar gzdopen (); 32251.6Stvint 32261.6Stvmain () 32271.6Stv{ 32281.6Stvgzdopen (); 32291.6Stv ; 32301.6Stv return 0; 32311.6Stv} 32321.6Stv_ACEOF 32331.6Stvrm -f conftest.$ac_objext conftest$ac_exeext 32341.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 32351.53Sdogcow (eval $ac_link) 2>conftest.er1 32361.6Stv ac_status=$? 32371.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 32381.53Sdogcow rm -f conftest.er1 32391.53Sdogcow cat conftest.err >&5 32401.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 32411.6Stv (exit $ac_status); } && 32421.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 32431.53Sdogcow || test ! -s conftest.err' 32441.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 32451.53Sdogcow (eval $ac_try) 2>&5 32461.53Sdogcow ac_status=$? 32471.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 32481.53Sdogcow (exit $ac_status); }; } && 32491.53Sdogcow { ac_try='test -s conftest$ac_exeext' 32501.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 32511.48Sjmc (eval $ac_try) 2>&5 32521.48Sjmc ac_status=$? 32531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 32541.6Stv (exit $ac_status); }; }; then 32551.6Stv ac_cv_lib_z_gzdopen=yes 32561.6Stvelse 32571.6Stv echo "$as_me: failed program was:" >&5 32581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 32591.53Sdogcow 32601.6Stvac_cv_lib_z_gzdopen=no 32611.6Stvfi 32621.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 32631.53Sdogcow conftest$ac_exeext conftest.$ac_ext 32641.6StvLIBS=$ac_check_lib_save_LIBS 32651.6Stvfi 32661.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5 32671.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6 32681.6Stvif test $ac_cv_lib_z_gzdopen = yes; then 32691.53Sdogcow cat >>confdefs.h <<_ACEOF 32701.6Stv#define HAVE_LIBZ 1 32711.53Sdogcow_ACEOF 32721.4Stv 32731.6Stv LIBS="-lz $LIBS" 32741.6Stv 32751.4Stvelse 32761.53Sdogcow { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5 32771.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;} 32781.4Stv { (exit 1); exit 1; }; } 32791.4Stvfi 32801.4Stv 32811.53Sdogcow 32821.6Stv# Make sure certain required headers are available. 32831.6Stv# These are not necessarily required by the code, but they are not 32841.6Stv# currently conditionalized. 32851.4Stv 32861.53Sdogcow 32871.53Sdogcow 32881.53Sdogcow 32891.53Sdogcow 32901.53Sdogcow 32911.53Sdogcow 32921.53Sdogcow 32931.53Sdogcow 32941.53Sdogcow 32951.53Sdogcow 32961.53Sdogcow 32971.53Sdogcow 32981.53Sdogcow 32991.53Sdogcow 33001.53Sdogcow 33011.53Sdogcow 33021.53Sdogcow 33031.53Sdogcow 33041.53Sdogcow 33051.53Sdogcow 33061.53Sdogcow 33071.53Sdogcow 33081.53Sdogcow 33091.53Sdogcow 33101.53Sdogcow 33111.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \ 33121.43Sdbj sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \ 33131.43Sdbj sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \ 33141.43Sdbj netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \ 33151.43Sdbj termios.h unistd.h 33161.43Sdbjdo 33171.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 33181.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 33191.53Sdogcow echo "$as_me:$LINENO: checking for $ac_header" >&5 33201.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 33211.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then 33221.43Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 33231.53Sdogcowfi 33241.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 33251.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 33261.53Sdogcowelse 33271.53Sdogcow # Is the header compilable? 33281.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5 33291.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 33301.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 33311.53Sdogcow/* confdefs.h. */ 33321.53Sdogcow_ACEOF 33331.53Sdogcowcat confdefs.h >>conftest.$ac_ext 33341.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 33351.53Sdogcow/* end confdefs.h. */ 33361.53Sdogcow$ac_includes_default 33371.53Sdogcow#include <$ac_header> 33381.53Sdogcow_ACEOF 33391.53Sdogcowrm -f conftest.$ac_objext 33401.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 33411.53Sdogcow (eval $ac_compile) 2>conftest.er1 33421.53Sdogcow ac_status=$? 33431.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 33441.53Sdogcow rm -f conftest.er1 33451.53Sdogcow cat conftest.err >&5 33461.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 33471.53Sdogcow (exit $ac_status); } && 33481.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 33491.53Sdogcow || test ! -s conftest.err' 33501.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 33511.53Sdogcow (eval $ac_try) 2>&5 33521.53Sdogcow ac_status=$? 33531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 33541.53Sdogcow (exit $ac_status); }; } && 33551.53Sdogcow { ac_try='test -s conftest.$ac_objext' 33561.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 33571.53Sdogcow (eval $ac_try) 2>&5 33581.53Sdogcow ac_status=$? 33591.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 33601.53Sdogcow (exit $ac_status); }; }; then 33611.53Sdogcow ac_header_compiler=yes 33621.43Sdbjelse 33631.53Sdogcow echo "$as_me: failed program was:" >&5 33641.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 33651.53Sdogcow 33661.53Sdogcowac_header_compiler=no 33671.53Sdogcowfi 33681.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 33691.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 33701.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6 33711.53Sdogcow 33721.53Sdogcow# Is the header present? 33731.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5 33741.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 33751.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 33761.53Sdogcow/* confdefs.h. */ 33771.53Sdogcow_ACEOF 33781.53Sdogcowcat confdefs.h >>conftest.$ac_ext 33791.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 33801.53Sdogcow/* end confdefs.h. */ 33811.48Sjmc#include <$ac_header> 33821.48Sjmc_ACEOF 33831.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 33841.4Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 33851.4Stv ac_status=$? 33861.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 33871.4Stv rm -f conftest.er1 33881.4Stv cat conftest.err >&5 33891.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 33901.4Stv (exit $ac_status); } >/dev/null; then 33911.4Stv if test -s conftest.err; then 33921.4Stv ac_cpp_err=$ac_c_preproc_warn_flag 33931.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 33941.4Stv else 33951.4Stv ac_cpp_err= 33961.4Stv fi 33971.4Stvelse 33981.6Stv ac_cpp_err=yes 33991.6Stvfi 34001.6Stvif test -z "$ac_cpp_err"; then 34011.53Sdogcow ac_header_preproc=yes 34021.6Stvelse 34031.6Stv echo "$as_me: failed program was:" >&5 34041.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 34051.53Sdogcow 34061.53Sdogcow ac_header_preproc=no 34071.6Stvfi 34081.6Stvrm -f conftest.err conftest.$ac_ext 34091.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 34101.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6 34111.53Sdogcow 34121.53Sdogcow# So? What about this header? 34131.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 34141.53Sdogcow yes:no: ) 34151.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 34161.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 34171.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 34181.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 34191.53Sdogcow ac_header_preproc=yes 34201.53Sdogcow ;; 34211.53Sdogcow no:yes:* ) 34221.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 34231.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 34241.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 34251.53Sdogcowecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 34261.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 34271.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 34281.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 34291.53Sdogcowecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 34301.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 34311.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 34321.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 34331.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 34341.53Sdogcow ( 34351.53Sdogcow cat <<\_ASBOX 34361.53Sdogcow## ---------------------------------------- ## 34371.53Sdogcow## Report this to lib-bug-people@NetBSD.org ## 34381.53Sdogcow## ---------------------------------------- ## 34391.53Sdogcow_ASBOX 34401.53Sdogcow ) | 34411.53Sdogcow sed "s/^/$as_me: WARNING: /" >&2 34421.53Sdogcow ;; 34431.53Sdogcowesac 34441.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5 34451.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 34461.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 34471.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 34481.53Sdogcowelse 34491.53Sdogcow eval "$as_ac_Header=\$ac_header_preproc" 34501.6Stvfi 34511.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 34521.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 34531.53Sdogcow 34541.53Sdogcowfi 34551.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 34561.53Sdogcow cat >>confdefs.h <<_ACEOF 34571.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 34581.53Sdogcow_ACEOF 34591.6Stv 34601.6Stvelse 34611.53Sdogcow { { echo "$as_me:$LINENO: error: standard system header file not found" >&5 34621.6Stvecho "$as_me: error: standard system header file not found" >&2;} 34631.6Stv { (exit 1); exit 1; }; } 34641.6Stvfi 34651.53Sdogcow 34661.6Stvdone 34671.6Stv 34681.53Sdogcow 34691.6Stv# Find headers that may not be available. 34701.6Stv 34711.53Sdogcow 34721.53Sdogcow 34731.53Sdogcow 34741.53Sdogcow 34751.6Stvac_header_dirent=no 34761.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 34771.6Stv as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 34781.53Sdogcowecho "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 34791.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 34801.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 34811.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 34821.6Stvelse 34831.6Stv cat >conftest.$ac_ext <<_ACEOF 34841.53Sdogcow/* confdefs.h. */ 34851.53Sdogcow_ACEOF 34861.53Sdogcowcat confdefs.h >>conftest.$ac_ext 34871.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 34881.53Sdogcow/* end confdefs.h. */ 34891.6Stv#include <sys/types.h> 34901.6Stv#include <$ac_hdr> 34911.6Stv 34921.6Stvint 34931.6Stvmain () 34941.6Stv{ 34951.6Stvif ((DIR *) 0) 34961.6Stvreturn 0; 34971.6Stv ; 34981.6Stv return 0; 34991.6Stv} 35001.6Stv_ACEOF 35011.6Stvrm -f conftest.$ac_objext 35021.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 35031.53Sdogcow (eval $ac_compile) 2>conftest.er1 35041.6Stv ac_status=$? 35051.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 35061.53Sdogcow rm -f conftest.er1 35071.53Sdogcow cat conftest.err >&5 35081.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35091.6Stv (exit $ac_status); } && 35101.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 35111.53Sdogcow || test ! -s conftest.err' 35121.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35131.53Sdogcow (eval $ac_try) 2>&5 35141.53Sdogcow ac_status=$? 35151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35161.53Sdogcow (exit $ac_status); }; } && 35171.53Sdogcow { ac_try='test -s conftest.$ac_objext' 35181.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35191.50Sjmc (eval $ac_try) 2>&5 35201.50Sjmc ac_status=$? 35211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35221.6Stv (exit $ac_status); }; }; then 35231.6Stv eval "$as_ac_Header=yes" 35241.6Stvelse 35251.6Stv echo "$as_me: failed program was:" >&5 35261.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 35271.53Sdogcow 35281.6Stveval "$as_ac_Header=no" 35291.6Stvfi 35301.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 35311.6Stvfi 35321.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 35331.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 35341.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 35351.53Sdogcow cat >>confdefs.h <<_ACEOF 35361.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 35371.53Sdogcow_ACEOF 35381.6Stv 35391.6Stvac_header_dirent=$ac_hdr; break 35401.6Stvfi 35411.6Stv 35421.6Stvdone 35431.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 35441.6Stvif test $ac_header_dirent = dirent.h; then 35451.53Sdogcow echo "$as_me:$LINENO: checking for library containing opendir" >&5 35461.53Sdogcowecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 35471.53Sdogcowif test "${ac_cv_search_opendir+set}" = set; then 35481.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 35491.6Stvelse 35501.53Sdogcow ac_func_search_save_LIBS=$LIBS 35511.53Sdogcowac_cv_search_opendir=no 35521.6Stvcat >conftest.$ac_ext <<_ACEOF 35531.53Sdogcow/* confdefs.h. */ 35541.53Sdogcow_ACEOF 35551.53Sdogcowcat confdefs.h >>conftest.$ac_ext 35561.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 35571.53Sdogcow/* end confdefs.h. */ 35581.48Sjmc 35591.48Sjmc/* Override any gcc2 internal prototype to avoid an error. */ 35601.48Sjmc#ifdef __cplusplus 35611.48Sjmcextern "C" 35621.48Sjmc#endif 35631.48Sjmc/* We use char because int might match the return type of a gcc2 35641.48Sjmc builtin and then its argument prototype would still apply. */ 35651.48Sjmcchar opendir (); 35661.48Sjmcint 35671.48Sjmcmain () 35681.48Sjmc{ 35691.48Sjmcopendir (); 35701.48Sjmc ; 35711.48Sjmc return 0; 35721.48Sjmc} 35731.48Sjmc_ACEOF 35741.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext 35751.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 35761.53Sdogcow (eval $ac_link) 2>conftest.er1 35771.6Stv ac_status=$? 35781.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 35791.53Sdogcow rm -f conftest.er1 35801.53Sdogcow cat conftest.err >&5 35811.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35821.6Stv (exit $ac_status); } && 35831.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 35841.53Sdogcow || test ! -s conftest.err' 35851.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35861.50Sjmc (eval $ac_try) 2>&5 35871.50Sjmc ac_status=$? 35881.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35891.53Sdogcow (exit $ac_status); }; } && 35901.53Sdogcow { ac_try='test -s conftest$ac_exeext' 35911.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35921.53Sdogcow (eval $ac_try) 2>&5 35931.53Sdogcow ac_status=$? 35941.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 35951.6Stv (exit $ac_status); }; }; then 35961.53Sdogcow ac_cv_search_opendir="none required" 35971.6Stvelse 35981.6Stv echo "$as_me: failed program was:" >&5 35991.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 36001.53Sdogcow 36011.6Stvfi 36021.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 36031.53Sdogcow conftest$ac_exeext conftest.$ac_ext 36041.53Sdogcowif test "$ac_cv_search_opendir" = no; then 36051.53Sdogcow for ac_lib in dir; do 36061.53Sdogcow LIBS="-l$ac_lib $ac_func_search_save_LIBS" 36071.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 36081.53Sdogcow/* confdefs.h. */ 36091.53Sdogcow_ACEOF 36101.53Sdogcowcat confdefs.h >>conftest.$ac_ext 36111.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 36121.53Sdogcow/* end confdefs.h. */ 36131.6Stv 36141.6Stv/* Override any gcc2 internal prototype to avoid an error. */ 36151.6Stv#ifdef __cplusplus 36161.6Stvextern "C" 36171.6Stv#endif 36181.6Stv/* We use char because int might match the return type of a gcc2 36191.6Stv builtin and then its argument prototype would still apply. */ 36201.6Stvchar opendir (); 36211.6Stvint 36221.6Stvmain () 36231.6Stv{ 36241.6Stvopendir (); 36251.6Stv ; 36261.6Stv return 0; 36271.6Stv} 36281.6Stv_ACEOF 36291.6Stvrm -f conftest.$ac_objext conftest$ac_exeext 36301.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 36311.53Sdogcow (eval $ac_link) 2>conftest.er1 36321.48Sjmc ac_status=$? 36331.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 36341.53Sdogcow rm -f conftest.er1 36351.53Sdogcow cat conftest.err >&5 36361.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 36371.48Sjmc (exit $ac_status); } && 36381.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 36391.53Sdogcow || test ! -s conftest.err' 36401.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 36411.53Sdogcow (eval $ac_try) 2>&5 36421.53Sdogcow ac_status=$? 36431.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 36441.53Sdogcow (exit $ac_status); }; } && 36451.53Sdogcow { ac_try='test -s conftest$ac_exeext' 36461.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 36471.50Sjmc (eval $ac_try) 2>&5 36481.50Sjmc ac_status=$? 36491.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 36501.48Sjmc (exit $ac_status); }; }; then 36511.53Sdogcow ac_cv_search_opendir="-l$ac_lib" 36521.53Sdogcowbreak 36531.48Sjmcelse 36541.48Sjmc echo "$as_me: failed program was:" >&5 36551.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 36561.53Sdogcow 36571.48Sjmcfi 36581.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 36591.53Sdogcow conftest$ac_exeext conftest.$ac_ext 36601.53Sdogcow done 36611.48Sjmcfi 36621.53SdogcowLIBS=$ac_func_search_save_LIBS 36631.6Stvfi 36641.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 36651.53Sdogcowecho "${ECHO_T}$ac_cv_search_opendir" >&6 36661.53Sdogcowif test "$ac_cv_search_opendir" != no; then 36671.53Sdogcow test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 36681.39Sfredb 36691.6Stvfi 36701.6Stv 36711.53Sdogcowelse 36721.53Sdogcow echo "$as_me:$LINENO: checking for library containing opendir" >&5 36731.53Sdogcowecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 36741.53Sdogcowif test "${ac_cv_search_opendir+set}" = set; then 36751.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 36761.48Sjmcelse 36771.53Sdogcow ac_func_search_save_LIBS=$LIBS 36781.53Sdogcowac_cv_search_opendir=no 36791.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 36801.53Sdogcow/* confdefs.h. */ 36811.53Sdogcow_ACEOF 36821.53Sdogcowcat confdefs.h >>conftest.$ac_ext 36831.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 36841.53Sdogcow/* end confdefs.h. */ 36851.53Sdogcow 36861.53Sdogcow/* Override any gcc2 internal prototype to avoid an error. */ 36871.53Sdogcow#ifdef __cplusplus 36881.53Sdogcowextern "C" 36891.53Sdogcow#endif 36901.53Sdogcow/* We use char because int might match the return type of a gcc2 36911.53Sdogcow builtin and then its argument prototype would still apply. */ 36921.53Sdogcowchar opendir (); 36931.53Sdogcowint 36941.53Sdogcowmain () 36951.53Sdogcow{ 36961.53Sdogcowopendir (); 36971.53Sdogcow ; 36981.53Sdogcow return 0; 36991.53Sdogcow} 37001.6Stv_ACEOF 37011.53Sdogcowrm -f conftest.$ac_objext conftest$ac_exeext 37021.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 37031.53Sdogcow (eval $ac_link) 2>conftest.er1 37041.6Stv ac_status=$? 37051.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 37061.6Stv rm -f conftest.er1 37071.6Stv cat conftest.err >&5 37081.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37091.53Sdogcow (exit $ac_status); } && 37101.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 37111.53Sdogcow || test ! -s conftest.err' 37121.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37131.53Sdogcow (eval $ac_try) 2>&5 37141.53Sdogcow ac_status=$? 37151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37161.53Sdogcow (exit $ac_status); }; } && 37171.53Sdogcow { ac_try='test -s conftest$ac_exeext' 37181.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37191.53Sdogcow (eval $ac_try) 2>&5 37201.53Sdogcow ac_status=$? 37211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37221.53Sdogcow (exit $ac_status); }; }; then 37231.53Sdogcow ac_cv_search_opendir="none required" 37241.6Stvelse 37251.6Stv echo "$as_me: failed program was:" >&5 37261.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 37271.6Stv 37281.6Stvfi 37291.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 37301.53Sdogcow conftest$ac_exeext conftest.$ac_ext 37311.53Sdogcowif test "$ac_cv_search_opendir" = no; then 37321.53Sdogcow for ac_lib in x; do 37331.53Sdogcow LIBS="-l$ac_lib $ac_func_search_save_LIBS" 37341.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 37351.53Sdogcow/* confdefs.h. */ 37361.53Sdogcow_ACEOF 37371.53Sdogcowcat confdefs.h >>conftest.$ac_ext 37381.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 37391.53Sdogcow/* end confdefs.h. */ 37401.6Stv 37411.53Sdogcow/* Override any gcc2 internal prototype to avoid an error. */ 37421.53Sdogcow#ifdef __cplusplus 37431.53Sdogcowextern "C" 37441.53Sdogcow#endif 37451.53Sdogcow/* We use char because int might match the return type of a gcc2 37461.53Sdogcow builtin and then its argument prototype would still apply. */ 37471.53Sdogcowchar opendir (); 37481.53Sdogcowint 37491.53Sdogcowmain () 37501.53Sdogcow{ 37511.53Sdogcowopendir (); 37521.53Sdogcow ; 37531.53Sdogcow return 0; 37541.53Sdogcow} 37551.53Sdogcow_ACEOF 37561.53Sdogcowrm -f conftest.$ac_objext conftest$ac_exeext 37571.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 37581.53Sdogcow (eval $ac_link) 2>conftest.er1 37591.53Sdogcow ac_status=$? 37601.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 37611.53Sdogcow rm -f conftest.er1 37621.53Sdogcow cat conftest.err >&5 37631.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37641.53Sdogcow (exit $ac_status); } && 37651.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 37661.53Sdogcow || test ! -s conftest.err' 37671.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37681.53Sdogcow (eval $ac_try) 2>&5 37691.53Sdogcow ac_status=$? 37701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37711.53Sdogcow (exit $ac_status); }; } && 37721.53Sdogcow { ac_try='test -s conftest$ac_exeext' 37731.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37741.53Sdogcow (eval $ac_try) 2>&5 37751.53Sdogcow ac_status=$? 37761.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 37771.53Sdogcow (exit $ac_status); }; }; then 37781.53Sdogcow ac_cv_search_opendir="-l$ac_lib" 37791.53Sdogcowbreak 37801.53Sdogcowelse 37811.53Sdogcow echo "$as_me: failed program was:" >&5 37821.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 37831.53Sdogcow 37841.53Sdogcowfi 37851.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 37861.53Sdogcow conftest$ac_exeext conftest.$ac_ext 37871.53Sdogcow done 37881.53Sdogcowfi 37891.53SdogcowLIBS=$ac_func_search_save_LIBS 37901.53Sdogcowfi 37911.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 37921.53Sdogcowecho "${ECHO_T}$ac_cv_search_opendir" >&6 37931.53Sdogcowif test "$ac_cv_search_opendir" != no; then 37941.53Sdogcow test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 37951.53Sdogcow 37961.53Sdogcowfi 37971.53Sdogcow 37981.53Sdogcowfi 37991.53Sdogcow 38001.53Sdogcow 38011.53Sdogcow 38021.53Sdogcow 38031.53Sdogcow 38041.53Sdogcow 38051.53Sdogcow 38061.53Sdogcow 38071.53Sdogcowfor ac_header in sys/sysmacros.h sys/syslimits.h \ 38081.53Sdogcow getopt.h features.h malloc.h sys/poll.h stddef.h 38091.39Sfredbdo 38101.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 38111.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 38121.53Sdogcow echo "$as_me:$LINENO: checking for $ac_header" >&5 38131.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 38141.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then 38151.39Sfredb echo $ECHO_N "(cached) $ECHO_C" >&6 38161.53Sdogcowfi 38171.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 38181.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 38191.53Sdogcowelse 38201.53Sdogcow # Is the header compilable? 38211.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5 38221.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 38231.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 38241.53Sdogcow/* confdefs.h. */ 38251.53Sdogcow_ACEOF 38261.53Sdogcowcat confdefs.h >>conftest.$ac_ext 38271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 38281.53Sdogcow/* end confdefs.h. */ 38291.53Sdogcow$ac_includes_default 38301.53Sdogcow#include <$ac_header> 38311.53Sdogcow_ACEOF 38321.53Sdogcowrm -f conftest.$ac_objext 38331.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 38341.53Sdogcow (eval $ac_compile) 2>conftest.er1 38351.53Sdogcow ac_status=$? 38361.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 38371.53Sdogcow rm -f conftest.er1 38381.53Sdogcow cat conftest.err >&5 38391.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 38401.53Sdogcow (exit $ac_status); } && 38411.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 38421.53Sdogcow || test ! -s conftest.err' 38431.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 38441.53Sdogcow (eval $ac_try) 2>&5 38451.53Sdogcow ac_status=$? 38461.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 38471.53Sdogcow (exit $ac_status); }; } && 38481.53Sdogcow { ac_try='test -s conftest.$ac_objext' 38491.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 38501.53Sdogcow (eval $ac_try) 2>&5 38511.53Sdogcow ac_status=$? 38521.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 38531.53Sdogcow (exit $ac_status); }; }; then 38541.53Sdogcow ac_header_compiler=yes 38551.48Sjmcelse 38561.53Sdogcow echo "$as_me: failed program was:" >&5 38571.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 38581.53Sdogcow 38591.53Sdogcowac_header_compiler=no 38601.53Sdogcowfi 38611.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 38621.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 38631.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6 38641.53Sdogcow 38651.53Sdogcow# Is the header present? 38661.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5 38671.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 38681.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 38691.53Sdogcow/* confdefs.h. */ 38701.53Sdogcow_ACEOF 38711.53Sdogcowcat confdefs.h >>conftest.$ac_ext 38721.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 38731.53Sdogcow/* end confdefs.h. */ 38741.48Sjmc#include <$ac_header> 38751.48Sjmc_ACEOF 38761.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 38771.6Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 38781.6Stv ac_status=$? 38791.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 38801.6Stv rm -f conftest.er1 38811.6Stv cat conftest.err >&5 38821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 38831.6Stv (exit $ac_status); } >/dev/null; then 38841.6Stv if test -s conftest.err; then 38851.6Stv ac_cpp_err=$ac_c_preproc_warn_flag 38861.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 38871.6Stv else 38881.6Stv ac_cpp_err= 38891.6Stv fi 38901.6Stvelse 38911.6Stv ac_cpp_err=yes 38921.6Stvfi 38931.6Stvif test -z "$ac_cpp_err"; then 38941.53Sdogcow ac_header_preproc=yes 38951.6Stvelse 38961.6Stv echo "$as_me: failed program was:" >&5 38971.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 38981.53Sdogcow 38991.53Sdogcow ac_header_preproc=no 39001.6Stvfi 39011.6Stvrm -f conftest.err conftest.$ac_ext 39021.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 39031.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6 39041.53Sdogcow 39051.53Sdogcow# So? What about this header? 39061.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 39071.53Sdogcow yes:no: ) 39081.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 39091.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 39101.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 39111.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 39121.53Sdogcow ac_header_preproc=yes 39131.53Sdogcow ;; 39141.53Sdogcow no:yes:* ) 39151.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 39161.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 39171.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 39181.53Sdogcowecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 39191.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 39201.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 39211.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 39221.53Sdogcowecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 39231.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 39241.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 39251.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 39261.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 39271.53Sdogcow ( 39281.53Sdogcow cat <<\_ASBOX 39291.53Sdogcow## ---------------------------------------- ## 39301.53Sdogcow## Report this to lib-bug-people@NetBSD.org ## 39311.53Sdogcow## ---------------------------------------- ## 39321.53Sdogcow_ASBOX 39331.53Sdogcow ) | 39341.53Sdogcow sed "s/^/$as_me: WARNING: /" >&2 39351.53Sdogcow ;; 39361.53Sdogcowesac 39371.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5 39381.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 39391.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 39401.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 39411.53Sdogcowelse 39421.53Sdogcow eval "$as_ac_Header=\$ac_header_preproc" 39431.6Stvfi 39441.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 39451.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 39461.53Sdogcow 39471.53Sdogcowfi 39481.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 39491.53Sdogcow cat >>confdefs.h <<_ACEOF 39501.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 39511.53Sdogcow_ACEOF 39521.6Stv 39531.6Stvfi 39541.53Sdogcow 39551.6Stvdone 39561.6Stv 39571.53Sdogcow 39581.53Sdogcow 39591.53Sdogcow 39601.53Sdogcow 39611.53Sdogcow 39621.53Sdogcow 39631.53Sdogcow 39641.53Sdogcow 39651.53Sdogcow 39661.53Sdogcow 39671.53Sdogcow 39681.58Sdogcowfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \ 39691.54Swiz sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h 39701.7Stvdo 39711.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 39721.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 39731.53Sdogcow echo "$as_me:$LINENO: checking for $ac_header" >&5 39741.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 39751.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then 39761.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 39771.53Sdogcowfi 39781.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 39791.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 39801.53Sdogcowelse 39811.53Sdogcow # Is the header compilable? 39821.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5 39831.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 39841.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 39851.53Sdogcow/* confdefs.h. */ 39861.53Sdogcow_ACEOF 39871.53Sdogcowcat confdefs.h >>conftest.$ac_ext 39881.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 39891.53Sdogcow/* end confdefs.h. */ 39901.53Sdogcow$ac_includes_default 39911.53Sdogcow#include <$ac_header> 39921.53Sdogcow_ACEOF 39931.53Sdogcowrm -f conftest.$ac_objext 39941.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 39951.53Sdogcow (eval $ac_compile) 2>conftest.er1 39961.53Sdogcow ac_status=$? 39971.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 39981.53Sdogcow rm -f conftest.er1 39991.53Sdogcow cat conftest.err >&5 40001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 40011.53Sdogcow (exit $ac_status); } && 40021.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 40031.53Sdogcow || test ! -s conftest.err' 40041.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 40051.53Sdogcow (eval $ac_try) 2>&5 40061.53Sdogcow ac_status=$? 40071.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 40081.53Sdogcow (exit $ac_status); }; } && 40091.53Sdogcow { ac_try='test -s conftest.$ac_objext' 40101.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 40111.53Sdogcow (eval $ac_try) 2>&5 40121.53Sdogcow ac_status=$? 40131.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 40141.53Sdogcow (exit $ac_status); }; }; then 40151.53Sdogcow ac_header_compiler=yes 40161.39Sfredbelse 40171.53Sdogcow echo "$as_me: failed program was:" >&5 40181.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 40191.53Sdogcow 40201.53Sdogcowac_header_compiler=no 40211.53Sdogcowfi 40221.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 40231.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 40241.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6 40251.53Sdogcow 40261.53Sdogcow# Is the header present? 40271.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5 40281.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 40291.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 40301.53Sdogcow/* confdefs.h. */ 40311.53Sdogcow_ACEOF 40321.53Sdogcowcat confdefs.h >>conftest.$ac_ext 40331.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 40341.53Sdogcow/* end confdefs.h. */ 40351.7Stv#include <$ac_header> 40361.7Stv_ACEOF 40371.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 40381.7Stv (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 40391.7Stv ac_status=$? 40401.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 40411.7Stv rm -f conftest.er1 40421.7Stv cat conftest.err >&5 40431.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 40441.7Stv (exit $ac_status); } >/dev/null; then 40451.7Stv if test -s conftest.err; then 40461.7Stv ac_cpp_err=$ac_c_preproc_warn_flag 40471.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 40481.7Stv else 40491.7Stv ac_cpp_err= 40501.7Stv fi 40511.7Stvelse 40521.7Stv ac_cpp_err=yes 40531.7Stvfi 40541.7Stvif test -z "$ac_cpp_err"; then 40551.53Sdogcow ac_header_preproc=yes 40561.7Stvelse 40571.7Stv echo "$as_me: failed program was:" >&5 40581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 40591.53Sdogcow 40601.53Sdogcow ac_header_preproc=no 40611.43Sdbjfi 40621.43Sdbjrm -f conftest.err conftest.$ac_ext 40631.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 40641.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6 40651.53Sdogcow 40661.53Sdogcow# So? What about this header? 40671.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 40681.53Sdogcow yes:no: ) 40691.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 40701.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 40711.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 40721.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 40731.53Sdogcow ac_header_preproc=yes 40741.53Sdogcow ;; 40751.53Sdogcow no:yes:* ) 40761.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 40771.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 40781.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 40791.53Sdogcowecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 40801.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 40811.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 40821.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 40831.53Sdogcowecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 40841.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 40851.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 40861.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 40871.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 40881.53Sdogcow ( 40891.53Sdogcow cat <<\_ASBOX 40901.53Sdogcow## ---------------------------------------- ## 40911.53Sdogcow## Report this to lib-bug-people@NetBSD.org ## 40921.53Sdogcow## ---------------------------------------- ## 40931.53Sdogcow_ASBOX 40941.53Sdogcow ) | 40951.53Sdogcow sed "s/^/$as_me: WARNING: /" >&2 40961.53Sdogcow ;; 40971.53Sdogcowesac 40981.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5 40991.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 41001.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 41011.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 41021.53Sdogcowelse 41031.53Sdogcow eval "$as_ac_Header=\$ac_header_preproc" 41041.43Sdbjfi 41051.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 41061.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 41071.53Sdogcow 41081.53Sdogcowfi 41091.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then 41101.53Sdogcow cat >>confdefs.h <<_ACEOF 41111.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 41121.53Sdogcow_ACEOF 41131.39Sfredb 41141.43Sdbjelse 41151.53Sdogcow test -f include/$ac_header || touch include/$ac_header 41161.7Stvfi 41171.53Sdogcow 41181.52Sdbjdone 41191.52Sdbj 41201.52Sdbj 41211.53Sdogcow 41221.53Sdogcowfor ac_header in rpc/types.h netconfig.h 41231.52Sdbjdo 41241.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 41251.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 41261.53Sdogcow echo "$as_me:$LINENO: checking for $ac_header" >&5 41271.52Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 41281.52Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then 41291.52Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 41301.53Sdogcowfi 41311.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 41321.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 41331.52Sdbjelse 41341.53Sdogcow # Is the header compilable? 41351.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5 41361.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 41371.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 41381.53Sdogcow/* confdefs.h. */ 41391.53Sdogcow_ACEOF 41401.53Sdogcowcat confdefs.h >>conftest.$ac_ext 41411.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 41421.53Sdogcow/* end confdefs.h. */ 41431.52Sdbj$ac_includes_default 41441.52Sdbj#include <$ac_header> 41451.52Sdbj_ACEOF 41461.52Sdbjrm -f conftest.$ac_objext 41471.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 41481.53Sdogcow (eval $ac_compile) 2>conftest.er1 41491.52Sdbj ac_status=$? 41501.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 41511.53Sdogcow rm -f conftest.er1 41521.53Sdogcow cat conftest.err >&5 41531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 41541.52Sdbj (exit $ac_status); } && 41551.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 41561.53Sdogcow || test ! -s conftest.err' 41571.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 41581.53Sdogcow (eval $ac_try) 2>&5 41591.53Sdogcow ac_status=$? 41601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 41611.53Sdogcow (exit $ac_status); }; } && 41621.53Sdogcow { ac_try='test -s conftest.$ac_objext' 41631.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 41641.52Sdbj (eval $ac_try) 2>&5 41651.52Sdbj ac_status=$? 41661.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 41671.52Sdbj (exit $ac_status); }; }; then 41681.53Sdogcow ac_header_compiler=yes 41691.53Sdogcowelse 41701.53Sdogcow echo "$as_me: failed program was:" >&5 41711.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 41721.53Sdogcow 41731.53Sdogcowac_header_compiler=no 41741.53Sdogcowfi 41751.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 41761.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 41771.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6 41781.53Sdogcow 41791.53Sdogcow# Is the header present? 41801.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5 41811.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 41821.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 41831.53Sdogcow/* confdefs.h. */ 41841.53Sdogcow_ACEOF 41851.53Sdogcowcat confdefs.h >>conftest.$ac_ext 41861.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 41871.53Sdogcow/* end confdefs.h. */ 41881.53Sdogcow#include <$ac_header> 41891.53Sdogcow_ACEOF 41901.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 41911.53Sdogcow (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 41921.53Sdogcow ac_status=$? 41931.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 41941.53Sdogcow rm -f conftest.er1 41951.53Sdogcow cat conftest.err >&5 41961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 41971.53Sdogcow (exit $ac_status); } >/dev/null; then 41981.53Sdogcow if test -s conftest.err; then 41991.53Sdogcow ac_cpp_err=$ac_c_preproc_warn_flag 42001.53Sdogcow ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 42011.53Sdogcow else 42021.53Sdogcow ac_cpp_err= 42031.53Sdogcow fi 42041.53Sdogcowelse 42051.53Sdogcow ac_cpp_err=yes 42061.53Sdogcowfi 42071.53Sdogcowif test -z "$ac_cpp_err"; then 42081.53Sdogcow ac_header_preproc=yes 42091.52Sdbjelse 42101.52Sdbj echo "$as_me: failed program was:" >&5 42111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 42121.53Sdogcow 42131.53Sdogcow ac_header_preproc=no 42141.52Sdbjfi 42151.53Sdogcowrm -f conftest.err conftest.$ac_ext 42161.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 42171.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6 42181.53Sdogcow 42191.53Sdogcow# So? What about this header? 42201.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 42211.53Sdogcow yes:no: ) 42221.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 42231.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 42241.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 42251.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 42261.53Sdogcow ac_header_preproc=yes 42271.53Sdogcow ;; 42281.53Sdogcow no:yes:* ) 42291.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 42301.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 42311.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 42321.53Sdogcowecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 42331.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 42341.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 42351.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 42361.53Sdogcowecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 42371.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 42381.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 42391.53Sdogcow { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 42401.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 42411.53Sdogcow ( 42421.53Sdogcow cat <<\_ASBOX 42431.53Sdogcow## ---------------------------------------- ## 42441.53Sdogcow## Report this to lib-bug-people@NetBSD.org ## 42451.53Sdogcow## ---------------------------------------- ## 42461.53Sdogcow_ASBOX 42471.53Sdogcow ) | 42481.53Sdogcow sed "s/^/$as_me: WARNING: /" >&2 42491.53Sdogcow ;; 42501.53Sdogcowesac 42511.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5 42521.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 42531.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then 42541.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 42551.53Sdogcowelse 42561.53Sdogcow eval "$as_ac_Header=\$ac_header_preproc" 42571.52Sdbjfi 42581.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 42591.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 42601.53Sdogcow 42611.53Sdogcowfi 42621.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then 42631.53Sdogcow cat >>confdefs.h <<_ACEOF 42641.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 42651.53Sdogcow_ACEOF 42661.48Sjmc 42671.53Sdogcowelse 42681.53Sdogcow echo '#include "nbtool_config.h"' >include/$ac_header.new 42691.53Sdogcow echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new 42701.53Sdogcow if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 42711.53Sdogcow rm -f include/$ac_header.new 42721.53Sdogcow else 42731.53Sdogcow mv -f include/$ac_header.new include/$ac_header 42741.53Sdogcow fi 42751.52Sdbjfi 42761.53Sdogcow 42771.43Sdbjdone 42781.43Sdbj 42791.53Sdogcow 42801.53Sdogcow# Typedefs. 42811.53Sdogcowecho "$as_me:$LINENO: checking for size_t" >&5 42821.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6 42831.6Stvif test "${ac_cv_type_size_t+set}" = set; then 42841.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 42851.6Stvelse 42861.6Stv cat >conftest.$ac_ext <<_ACEOF 42871.53Sdogcow/* confdefs.h. */ 42881.53Sdogcow_ACEOF 42891.53Sdogcowcat confdefs.h >>conftest.$ac_ext 42901.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 42911.53Sdogcow/* end confdefs.h. */ 42921.6Stv$ac_includes_default 42931.6Stvint 42941.6Stvmain () 42951.6Stv{ 42961.6Stvif ((size_t *) 0) 42971.6Stv return 0; 42981.6Stvif (sizeof (size_t)) 42991.6Stv return 0; 43001.6Stv ; 43011.6Stv return 0; 43021.6Stv} 43031.6Stv_ACEOF 43041.6Stvrm -f conftest.$ac_objext 43051.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 43061.53Sdogcow (eval $ac_compile) 2>conftest.er1 43071.6Stv ac_status=$? 43081.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 43091.53Sdogcow rm -f conftest.er1 43101.53Sdogcow cat conftest.err >&5 43111.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43121.6Stv (exit $ac_status); } && 43131.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 43141.53Sdogcow || test ! -s conftest.err' 43151.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43161.6Stv (eval $ac_try) 2>&5 43171.6Stv ac_status=$? 43181.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43191.53Sdogcow (exit $ac_status); }; } && 43201.53Sdogcow { ac_try='test -s conftest.$ac_objext' 43211.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43221.53Sdogcow (eval $ac_try) 2>&5 43231.53Sdogcow ac_status=$? 43241.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43251.6Stv (exit $ac_status); }; }; then 43261.6Stv ac_cv_type_size_t=yes 43271.6Stvelse 43281.6Stv echo "$as_me: failed program was:" >&5 43291.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 43301.53Sdogcow 43311.6Stvac_cv_type_size_t=no 43321.6Stvfi 43331.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 43341.6Stvfi 43351.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 43361.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6 43371.6Stvif test $ac_cv_type_size_t = yes; then 43381.6Stv : 43391.6Stvelse 43401.6Stv 43411.53Sdogcowcat >>confdefs.h <<_ACEOF 43421.6Stv#define size_t unsigned 43431.53Sdogcow_ACEOF 43441.6Stv 43451.6Stvfi 43461.6Stv 43471.53Sdogcowecho "$as_me:$LINENO: checking for id_t" >&5 43481.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6 43491.6Stvif test "${ac_cv_type_id_t+set}" = set; then 43501.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 43511.6Stvelse 43521.6Stv cat >conftest.$ac_ext <<_ACEOF 43531.53Sdogcow/* confdefs.h. */ 43541.53Sdogcow_ACEOF 43551.53Sdogcowcat confdefs.h >>conftest.$ac_ext 43561.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 43571.53Sdogcow/* end confdefs.h. */ 43581.6Stv$ac_includes_default 43591.6Stvint 43601.6Stvmain () 43611.6Stv{ 43621.6Stvif ((id_t *) 0) 43631.6Stv return 0; 43641.6Stvif (sizeof (id_t)) 43651.6Stv return 0; 43661.6Stv ; 43671.6Stv return 0; 43681.6Stv} 43691.6Stv_ACEOF 43701.6Stvrm -f conftest.$ac_objext 43711.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 43721.53Sdogcow (eval $ac_compile) 2>conftest.er1 43731.6Stv ac_status=$? 43741.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 43751.53Sdogcow rm -f conftest.er1 43761.53Sdogcow cat conftest.err >&5 43771.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43781.6Stv (exit $ac_status); } && 43791.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 43801.53Sdogcow || test ! -s conftest.err' 43811.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43821.50Sjmc (eval $ac_try) 2>&5 43831.50Sjmc ac_status=$? 43841.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43851.53Sdogcow (exit $ac_status); }; } && 43861.53Sdogcow { ac_try='test -s conftest.$ac_objext' 43871.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43881.53Sdogcow (eval $ac_try) 2>&5 43891.53Sdogcow ac_status=$? 43901.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 43911.6Stv (exit $ac_status); }; }; then 43921.6Stv ac_cv_type_id_t=yes 43931.6Stvelse 43941.6Stv echo "$as_me: failed program was:" >&5 43951.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 43961.53Sdogcow 43971.6Stvac_cv_type_id_t=no 43981.6Stvfi 43991.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 44001.6Stvfi 44011.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5 44021.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6 44031.6Stvif test $ac_cv_type_id_t = yes; then 44041.6Stv 44051.53Sdogcowcat >>confdefs.h <<_ACEOF 44061.6Stv#define HAVE_ID_T 1 44071.53Sdogcow_ACEOF 44081.53Sdogcow 44091.6Stv 44101.6Stvfi 44111.53Sdogcowecho "$as_me:$LINENO: checking for long long" >&5 44121.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6 44131.6Stvif test "${ac_cv_type_long_long+set}" = set; then 44141.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 44151.6Stvelse 44161.6Stv cat >conftest.$ac_ext <<_ACEOF 44171.53Sdogcow/* confdefs.h. */ 44181.53Sdogcow_ACEOF 44191.53Sdogcowcat confdefs.h >>conftest.$ac_ext 44201.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 44211.53Sdogcow/* end confdefs.h. */ 44221.6Stv$ac_includes_default 44231.6Stvint 44241.6Stvmain () 44251.6Stv{ 44261.6Stvif ((long long *) 0) 44271.6Stv return 0; 44281.6Stvif (sizeof (long long)) 44291.6Stv return 0; 44301.6Stv ; 44311.6Stv return 0; 44321.6Stv} 44331.6Stv_ACEOF 44341.6Stvrm -f conftest.$ac_objext 44351.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 44361.53Sdogcow (eval $ac_compile) 2>conftest.er1 44371.6Stv ac_status=$? 44381.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 44391.53Sdogcow rm -f conftest.er1 44401.53Sdogcow cat conftest.err >&5 44411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 44421.6Stv (exit $ac_status); } && 44431.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 44441.53Sdogcow || test ! -s conftest.err' 44451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 44461.53Sdogcow (eval $ac_try) 2>&5 44471.53Sdogcow ac_status=$? 44481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 44491.53Sdogcow (exit $ac_status); }; } && 44501.53Sdogcow { ac_try='test -s conftest.$ac_objext' 44511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 44521.48Sjmc (eval $ac_try) 2>&5 44531.48Sjmc ac_status=$? 44541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 44551.6Stv (exit $ac_status); }; }; then 44561.6Stv ac_cv_type_long_long=yes 44571.6Stvelse 44581.6Stv echo "$as_me: failed program was:" >&5 44591.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 44601.53Sdogcow 44611.6Stvac_cv_type_long_long=no 44621.6Stvfi 44631.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 44641.6Stvfi 44651.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 44661.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6 44671.6Stvif test $ac_cv_type_long_long = yes; then 44681.6Stv 44691.53Sdogcowcat >>confdefs.h <<_ACEOF 44701.52Sdbj#define HAVE_LONG_LONG 1 44711.53Sdogcow_ACEOF 44721.53Sdogcow 44731.6Stv 44741.6Stvfi 44751.53Sdogcowecho "$as_me:$LINENO: checking for u_long" >&5 44761.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6 44771.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then 44781.38Sfredb echo $ECHO_N "(cached) $ECHO_C" >&6 44791.38Sfredbelse 44801.38Sfredb cat >conftest.$ac_ext <<_ACEOF 44811.53Sdogcow/* confdefs.h. */ 44821.53Sdogcow_ACEOF 44831.53Sdogcowcat confdefs.h >>conftest.$ac_ext 44841.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 44851.53Sdogcow/* end confdefs.h. */ 44861.38Sfredb$ac_includes_default 44871.38Sfredbint 44881.38Sfredbmain () 44891.38Sfredb{ 44901.38Sfredbif ((u_long *) 0) 44911.38Sfredb return 0; 44921.38Sfredbif (sizeof (u_long)) 44931.38Sfredb return 0; 44941.38Sfredb ; 44951.38Sfredb return 0; 44961.38Sfredb} 44971.38Sfredb_ACEOF 44981.38Sfredbrm -f conftest.$ac_objext 44991.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 45001.53Sdogcow (eval $ac_compile) 2>conftest.er1 45011.38Sfredb ac_status=$? 45021.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 45031.53Sdogcow rm -f conftest.er1 45041.53Sdogcow cat conftest.err >&5 45051.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45061.38Sfredb (exit $ac_status); } && 45071.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 45081.53Sdogcow || test ! -s conftest.err' 45091.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45101.53Sdogcow (eval $ac_try) 2>&5 45111.53Sdogcow ac_status=$? 45121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45131.53Sdogcow (exit $ac_status); }; } && 45141.53Sdogcow { ac_try='test -s conftest.$ac_objext' 45151.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45161.38Sfredb (eval $ac_try) 2>&5 45171.38Sfredb ac_status=$? 45181.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45191.38Sfredb (exit $ac_status); }; }; then 45201.38Sfredb ac_cv_type_u_long=yes 45211.38Sfredbelse 45221.38Sfredb echo "$as_me: failed program was:" >&5 45231.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 45241.53Sdogcow 45251.38Sfredbac_cv_type_u_long=no 45261.38Sfredbfi 45271.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 45281.38Sfredbfi 45291.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5 45301.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6 45311.38Sfredbif test $ac_cv_type_u_long = yes; then 45321.38Sfredb 45331.53Sdogcowcat >>confdefs.h <<_ACEOF 45341.38Sfredb#define HAVE_U_LONG 1 45351.53Sdogcow_ACEOF 45361.53Sdogcow 45371.39Sfredb 45381.38Sfredbfi 45391.53Sdogcowecho "$as_me:$LINENO: checking for u_char" >&5 45401.45Sjmcecho $ECHO_N "checking for u_char... $ECHO_C" >&6 45411.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then 45421.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 45431.45Sjmcelse 45441.45Sjmc cat >conftest.$ac_ext <<_ACEOF 45451.53Sdogcow/* confdefs.h. */ 45461.53Sdogcow_ACEOF 45471.53Sdogcowcat confdefs.h >>conftest.$ac_ext 45481.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 45491.53Sdogcow/* end confdefs.h. */ 45501.45Sjmc$ac_includes_default 45511.45Sjmcint 45521.45Sjmcmain () 45531.45Sjmc{ 45541.45Sjmcif ((u_char *) 0) 45551.45Sjmc return 0; 45561.45Sjmcif (sizeof (u_char)) 45571.45Sjmc return 0; 45581.45Sjmc ; 45591.45Sjmc return 0; 45601.45Sjmc} 45611.45Sjmc_ACEOF 45621.45Sjmcrm -f conftest.$ac_objext 45631.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 45641.53Sdogcow (eval $ac_compile) 2>conftest.er1 45651.45Sjmc ac_status=$? 45661.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 45671.53Sdogcow rm -f conftest.er1 45681.53Sdogcow cat conftest.err >&5 45691.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45701.45Sjmc (exit $ac_status); } && 45711.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 45721.53Sdogcow || test ! -s conftest.err' 45731.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45741.53Sdogcow (eval $ac_try) 2>&5 45751.53Sdogcow ac_status=$? 45761.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45771.53Sdogcow (exit $ac_status); }; } && 45781.53Sdogcow { ac_try='test -s conftest.$ac_objext' 45791.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45801.48Sjmc (eval $ac_try) 2>&5 45811.48Sjmc ac_status=$? 45821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 45831.45Sjmc (exit $ac_status); }; }; then 45841.45Sjmc ac_cv_type_u_char=yes 45851.45Sjmcelse 45861.45Sjmc echo "$as_me: failed program was:" >&5 45871.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 45881.53Sdogcow 45891.45Sjmcac_cv_type_u_char=no 45901.45Sjmcfi 45911.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 45921.45Sjmcfi 45931.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 45941.45Sjmcecho "${ECHO_T}$ac_cv_type_u_char" >&6 45951.45Sjmcif test $ac_cv_type_u_char = yes; then 45961.45Sjmc 45971.53Sdogcowcat >>confdefs.h <<_ACEOF 45981.45Sjmc#define HAVE_U_CHAR 1 45991.53Sdogcow_ACEOF 46001.53Sdogcow 46011.45Sjmc 46021.45Sjmcfi 46031.53Sdogcowecho "$as_me:$LINENO: checking for u_short" >&5 46041.45Sjmcecho $ECHO_N "checking for u_short... $ECHO_C" >&6 46051.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then 46061.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 46071.45Sjmcelse 46081.45Sjmc cat >conftest.$ac_ext <<_ACEOF 46091.53Sdogcow/* confdefs.h. */ 46101.53Sdogcow_ACEOF 46111.53Sdogcowcat confdefs.h >>conftest.$ac_ext 46121.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 46131.53Sdogcow/* end confdefs.h. */ 46141.45Sjmc$ac_includes_default 46151.45Sjmcint 46161.45Sjmcmain () 46171.45Sjmc{ 46181.45Sjmcif ((u_short *) 0) 46191.45Sjmc return 0; 46201.45Sjmcif (sizeof (u_short)) 46211.45Sjmc return 0; 46221.45Sjmc ; 46231.45Sjmc return 0; 46241.45Sjmc} 46251.45Sjmc_ACEOF 46261.45Sjmcrm -f conftest.$ac_objext 46271.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 46281.53Sdogcow (eval $ac_compile) 2>conftest.er1 46291.45Sjmc ac_status=$? 46301.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 46311.53Sdogcow rm -f conftest.er1 46321.53Sdogcow cat conftest.err >&5 46331.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 46341.45Sjmc (exit $ac_status); } && 46351.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 46361.53Sdogcow || test ! -s conftest.err' 46371.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 46381.45Sjmc (eval $ac_try) 2>&5 46391.45Sjmc ac_status=$? 46401.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 46411.53Sdogcow (exit $ac_status); }; } && 46421.53Sdogcow { ac_try='test -s conftest.$ac_objext' 46431.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 46441.53Sdogcow (eval $ac_try) 2>&5 46451.53Sdogcow ac_status=$? 46461.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 46471.45Sjmc (exit $ac_status); }; }; then 46481.45Sjmc ac_cv_type_u_short=yes 46491.45Sjmcelse 46501.45Sjmc echo "$as_me: failed program was:" >&5 46511.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 46521.53Sdogcow 46531.45Sjmcac_cv_type_u_short=no 46541.45Sjmcfi 46551.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 46561.45Sjmcfi 46571.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_short" >&5 46581.45Sjmcecho "${ECHO_T}$ac_cv_type_u_short" >&6 46591.45Sjmcif test $ac_cv_type_u_short = yes; then 46601.45Sjmc 46611.53Sdogcowcat >>confdefs.h <<_ACEOF 46621.45Sjmc#define HAVE_U_SHORT 1 46631.53Sdogcow_ACEOF 46641.53Sdogcow 46651.45Sjmc 46661.45Sjmcfi 46671.53Sdogcowecho "$as_me:$LINENO: checking for u_int" >&5 46681.45Sjmcecho $ECHO_N "checking for u_int... $ECHO_C" >&6 46691.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then 46701.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 46711.45Sjmcelse 46721.45Sjmc cat >conftest.$ac_ext <<_ACEOF 46731.53Sdogcow/* confdefs.h. */ 46741.53Sdogcow_ACEOF 46751.53Sdogcowcat confdefs.h >>conftest.$ac_ext 46761.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 46771.53Sdogcow/* end confdefs.h. */ 46781.45Sjmc$ac_includes_default 46791.45Sjmcint 46801.45Sjmcmain () 46811.45Sjmc{ 46821.45Sjmcif ((u_int *) 0) 46831.45Sjmc return 0; 46841.45Sjmcif (sizeof (u_int)) 46851.45Sjmc return 0; 46861.45Sjmc ; 46871.45Sjmc return 0; 46881.45Sjmc} 46891.45Sjmc_ACEOF 46901.45Sjmcrm -f conftest.$ac_objext 46911.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 46921.53Sdogcow (eval $ac_compile) 2>conftest.er1 46931.45Sjmc ac_status=$? 46941.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 46951.53Sdogcow rm -f conftest.er1 46961.53Sdogcow cat conftest.err >&5 46971.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 46981.45Sjmc (exit $ac_status); } && 46991.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 47001.53Sdogcow || test ! -s conftest.err' 47011.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47021.53Sdogcow (eval $ac_try) 2>&5 47031.53Sdogcow ac_status=$? 47041.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 47051.53Sdogcow (exit $ac_status); }; } && 47061.53Sdogcow { ac_try='test -s conftest.$ac_objext' 47071.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47081.50Sjmc (eval $ac_try) 2>&5 47091.50Sjmc ac_status=$? 47101.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 47111.45Sjmc (exit $ac_status); }; }; then 47121.45Sjmc ac_cv_type_u_int=yes 47131.45Sjmcelse 47141.45Sjmc echo "$as_me: failed program was:" >&5 47151.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 47161.53Sdogcow 47171.45Sjmcac_cv_type_u_int=no 47181.45Sjmcfi 47191.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 47201.45Sjmcfi 47211.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int" >&5 47221.45Sjmcecho "${ECHO_T}$ac_cv_type_u_int" >&6 47231.45Sjmcif test $ac_cv_type_u_int = yes; then 47241.45Sjmc 47251.53Sdogcowcat >>confdefs.h <<_ACEOF 47261.45Sjmc#define HAVE_U_INT 1 47271.53Sdogcow_ACEOF 47281.53Sdogcow 47291.45Sjmc 47301.45Sjmcfi 47311.53Sdogcowecho "$as_me:$LINENO: checking for u_quad_t" >&5 47321.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6 47331.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then 47341.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 47351.7Stvelse 47361.7Stv cat >conftest.$ac_ext <<_ACEOF 47371.53Sdogcow/* confdefs.h. */ 47381.53Sdogcow_ACEOF 47391.53Sdogcowcat confdefs.h >>conftest.$ac_ext 47401.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 47411.53Sdogcow/* end confdefs.h. */ 47421.7Stv$ac_includes_default 47431.7Stvint 47441.7Stvmain () 47451.7Stv{ 47461.7Stvif ((u_quad_t *) 0) 47471.7Stv return 0; 47481.7Stvif (sizeof (u_quad_t)) 47491.7Stv return 0; 47501.7Stv ; 47511.7Stv return 0; 47521.7Stv} 47531.7Stv_ACEOF 47541.7Stvrm -f conftest.$ac_objext 47551.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 47561.53Sdogcow (eval $ac_compile) 2>conftest.er1 47571.7Stv ac_status=$? 47581.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 47591.53Sdogcow rm -f conftest.er1 47601.53Sdogcow cat conftest.err >&5 47611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 47621.7Stv (exit $ac_status); } && 47631.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 47641.53Sdogcow || test ! -s conftest.err' 47651.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47661.53Sdogcow (eval $ac_try) 2>&5 47671.53Sdogcow ac_status=$? 47681.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 47691.53Sdogcow (exit $ac_status); }; } && 47701.53Sdogcow { ac_try='test -s conftest.$ac_objext' 47711.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47721.48Sjmc (eval $ac_try) 2>&5 47731.48Sjmc ac_status=$? 47741.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 47751.7Stv (exit $ac_status); }; }; then 47761.7Stv ac_cv_type_u_quad_t=yes 47771.7Stvelse 47781.7Stv echo "$as_me: failed program was:" >&5 47791.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 47801.53Sdogcow 47811.7Stvac_cv_type_u_quad_t=no 47821.7Stvfi 47831.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 47841.7Stvfi 47851.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5 47861.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6 47871.7Stvif test $ac_cv_type_u_quad_t = yes; then 47881.7Stv 47891.53Sdogcowcat >>confdefs.h <<_ACEOF 47901.7Stv#define HAVE_U_QUAD_T 1 47911.53Sdogcow_ACEOF 47921.53Sdogcow 47931.7Stv 47941.7Stvfi 47951.35Sthorpej 47961.53Sdogcowecho "$as_me:$LINENO: checking for socklen_t" >&5 47971.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6 47981.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then 47991.34Sthorpej echo $ECHO_N "(cached) $ECHO_C" >&6 48001.34Sthorpejelse 48011.34Sthorpej cat >conftest.$ac_ext <<_ACEOF 48021.53Sdogcow/* confdefs.h. */ 48031.53Sdogcow_ACEOF 48041.53Sdogcowcat confdefs.h >>conftest.$ac_ext 48051.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 48061.53Sdogcow/* end confdefs.h. */ 48071.35Sthorpej#include <sys/types.h> 48081.35Sthorpej#include <sys/socket.h> 48091.35Sthorpej 48101.34Sthorpejint 48111.34Sthorpejmain () 48121.34Sthorpej{ 48131.34Sthorpejif ((socklen_t *) 0) 48141.34Sthorpej return 0; 48151.34Sthorpejif (sizeof (socklen_t)) 48161.34Sthorpej return 0; 48171.34Sthorpej ; 48181.34Sthorpej return 0; 48191.34Sthorpej} 48201.34Sthorpej_ACEOF 48211.34Sthorpejrm -f conftest.$ac_objext 48221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 48231.53Sdogcow (eval $ac_compile) 2>conftest.er1 48241.34Sthorpej ac_status=$? 48251.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 48261.53Sdogcow rm -f conftest.er1 48271.53Sdogcow cat conftest.err >&5 48281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 48291.34Sthorpej (exit $ac_status); } && 48301.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 48311.53Sdogcow || test ! -s conftest.err' 48321.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 48331.53Sdogcow (eval $ac_try) 2>&5 48341.53Sdogcow ac_status=$? 48351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 48361.53Sdogcow (exit $ac_status); }; } && 48371.53Sdogcow { ac_try='test -s conftest.$ac_objext' 48381.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 48391.34Sthorpej (eval $ac_try) 2>&5 48401.34Sthorpej ac_status=$? 48411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 48421.34Sthorpej (exit $ac_status); }; }; then 48431.34Sthorpej ac_cv_type_socklen_t=yes 48441.34Sthorpejelse 48451.34Sthorpej echo "$as_me: failed program was:" >&5 48461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 48471.53Sdogcow 48481.34Sthorpejac_cv_type_socklen_t=no 48491.34Sthorpejfi 48501.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 48511.34Sthorpejfi 48521.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 48531.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6 48541.34Sthorpejif test $ac_cv_type_socklen_t = yes; then 48551.54Swiz 48561.54Swizcat >>confdefs.h <<\_ACEOF 48571.34Sthorpej#define HAVE_SOCKLEN_T 1 48581.53Sdogcow_ACEOF 48591.34Sthorpej 48601.34Sthorpejfi 48611.34Sthorpej 48621.53Sdogcow 48631.53Sdogcow 48641.53Sdogcow 48651.53Sdogcow 48661.53Sdogcow echo "$as_me:$LINENO: checking for uint8_t" >&5 48671.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6 48681.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then 48691.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 48701.6Stvelse 48711.6Stv cat >conftest.$ac_ext <<_ACEOF 48721.53Sdogcow/* confdefs.h. */ 48731.53Sdogcow_ACEOF 48741.53Sdogcowcat confdefs.h >>conftest.$ac_ext 48751.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 48761.53Sdogcow/* end confdefs.h. */ 48771.6Stv$ac_includes_default 48781.6Stvint 48791.6Stvmain () 48801.6Stv{ 48811.9Stvif ((uint8_t *) 0) 48821.6Stv return 0; 48831.9Stvif (sizeof (uint8_t)) 48841.6Stv return 0; 48851.6Stv ; 48861.6Stv return 0; 48871.6Stv} 48881.6Stv_ACEOF 48891.6Stvrm -f conftest.$ac_objext 48901.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 48911.53Sdogcow (eval $ac_compile) 2>conftest.er1 48921.6Stv ac_status=$? 48931.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 48941.53Sdogcow rm -f conftest.er1 48951.53Sdogcow cat conftest.err >&5 48961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 48971.6Stv (exit $ac_status); } && 48981.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 48991.53Sdogcow || test ! -s conftest.err' 49001.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49011.53Sdogcow (eval $ac_try) 2>&5 49021.53Sdogcow ac_status=$? 49031.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 49041.53Sdogcow (exit $ac_status); }; } && 49051.53Sdogcow { ac_try='test -s conftest.$ac_objext' 49061.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49071.6Stv (eval $ac_try) 2>&5 49081.6Stv ac_status=$? 49091.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 49101.6Stv (exit $ac_status); }; }; then 49111.9Stv ac_cv_type_uint8_t=yes 49121.9Stvelse 49131.9Stv echo "$as_me: failed program was:" >&5 49141.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 49151.53Sdogcow 49161.9Stvac_cv_type_uint8_t=no 49171.9Stvfi 49181.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 49191.9Stvfi 49201.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 49211.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6 49221.9Stvif test $ac_cv_type_uint8_t = yes; then 49231.9Stv : 49241.9Stvelse 49251.9Stv 49261.53Sdogcow echo "$as_me:$LINENO: checking for u_int8_t" >&5 49271.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6 49281.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then 49291.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 49301.9Stvelse 49311.9Stv cat >conftest.$ac_ext <<_ACEOF 49321.53Sdogcow/* confdefs.h. */ 49331.53Sdogcow_ACEOF 49341.53Sdogcowcat confdefs.h >>conftest.$ac_ext 49351.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 49361.53Sdogcow/* end confdefs.h. */ 49371.9Stv$ac_includes_default 49381.9Stvint 49391.9Stvmain () 49401.9Stv{ 49411.9Stvif ((u_int8_t *) 0) 49421.9Stv return 0; 49431.9Stvif (sizeof (u_int8_t)) 49441.9Stv return 0; 49451.9Stv ; 49461.9Stv return 0; 49471.9Stv} 49481.9Stv_ACEOF 49491.9Stvrm -f conftest.$ac_objext 49501.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 49511.53Sdogcow (eval $ac_compile) 2>conftest.er1 49521.9Stv ac_status=$? 49531.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 49541.53Sdogcow rm -f conftest.er1 49551.53Sdogcow cat conftest.err >&5 49561.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 49571.9Stv (exit $ac_status); } && 49581.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 49591.53Sdogcow || test ! -s conftest.err' 49601.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49611.53Sdogcow (eval $ac_try) 2>&5 49621.53Sdogcow ac_status=$? 49631.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 49641.53Sdogcow (exit $ac_status); }; } && 49651.53Sdogcow { ac_try='test -s conftest.$ac_objext' 49661.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49671.48Sjmc (eval $ac_try) 2>&5 49681.48Sjmc ac_status=$? 49691.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 49701.9Stv (exit $ac_status); }; }; then 49711.6Stv ac_cv_type_u_int8_t=yes 49721.6Stvelse 49731.6Stv echo "$as_me: failed program was:" >&5 49741.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 49751.53Sdogcow 49761.6Stvac_cv_type_u_int8_t=no 49771.6Stvfi 49781.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 49791.6Stvfi 49801.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5 49811.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6 49821.9Stvif test $ac_cv_type_u_int8_t = yes; then 49831.54Swiz 49841.54Swizcat >>confdefs.h <<\_ACEOF 49851.9Stv#define uint8_t u_int8_t 49861.53Sdogcow_ACEOF 49871.9Stv 49881.9Stvelse 49891.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint8_t" >&5 49901.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;} 49911.9Stv { (exit 1); exit 1; }; } 49921.9Stvfi 49931.9Stv 49941.53Sdogcow 49951.9Stvfi 49961.9Stv 49971.53Sdogcow echo "$as_me:$LINENO: checking for u_int8_t" >&5 49981.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6 49991.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then 50001.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 50011.9Stvelse 50021.9Stv cat >conftest.$ac_ext <<_ACEOF 50031.53Sdogcow/* confdefs.h. */ 50041.53Sdogcow_ACEOF 50051.53Sdogcowcat confdefs.h >>conftest.$ac_ext 50061.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 50071.53Sdogcow/* end confdefs.h. */ 50081.9Stv$ac_includes_default 50091.9Stvint 50101.9Stvmain () 50111.9Stv{ 50121.9Stvif ((u_int8_t *) 0) 50131.9Stv return 0; 50141.9Stvif (sizeof (u_int8_t)) 50151.9Stv return 0; 50161.9Stv ; 50171.9Stv return 0; 50181.9Stv} 50191.9Stv_ACEOF 50201.9Stvrm -f conftest.$ac_objext 50211.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 50221.53Sdogcow (eval $ac_compile) 2>conftest.er1 50231.9Stv ac_status=$? 50241.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 50251.53Sdogcow rm -f conftest.er1 50261.53Sdogcow cat conftest.err >&5 50271.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 50281.9Stv (exit $ac_status); } && 50291.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 50301.53Sdogcow || test ! -s conftest.err' 50311.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50321.53Sdogcow (eval $ac_try) 2>&5 50331.53Sdogcow ac_status=$? 50341.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 50351.53Sdogcow (exit $ac_status); }; } && 50361.53Sdogcow { ac_try='test -s conftest.$ac_objext' 50371.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50381.9Stv (eval $ac_try) 2>&5 50391.9Stv ac_status=$? 50401.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 50411.9Stv (exit $ac_status); }; }; then 50421.9Stv ac_cv_type_u_int8_t=yes 50431.9Stvelse 50441.9Stv echo "$as_me: failed program was:" >&5 50451.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 50461.53Sdogcow 50471.9Stvac_cv_type_u_int8_t=no 50481.9Stvfi 50491.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 50501.9Stvfi 50511.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5 50521.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6 50531.6Stvif test $ac_cv_type_u_int8_t = yes; then 50541.6Stv : 50551.6Stvelse 50561.6Stv 50571.53Sdogcow echo "$as_me:$LINENO: checking for uint8_t" >&5 50581.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6 50591.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then 50601.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 50611.6Stvelse 50621.6Stv cat >conftest.$ac_ext <<_ACEOF 50631.53Sdogcow/* confdefs.h. */ 50641.53Sdogcow_ACEOF 50651.53Sdogcowcat confdefs.h >>conftest.$ac_ext 50661.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 50671.53Sdogcow/* end confdefs.h. */ 50681.6Stv$ac_includes_default 50691.6Stvint 50701.6Stvmain () 50711.6Stv{ 50721.6Stvif ((uint8_t *) 0) 50731.6Stv return 0; 50741.6Stvif (sizeof (uint8_t)) 50751.6Stv return 0; 50761.6Stv ; 50771.6Stv return 0; 50781.6Stv} 50791.6Stv_ACEOF 50801.6Stvrm -f conftest.$ac_objext 50811.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 50821.53Sdogcow (eval $ac_compile) 2>conftest.er1 50831.6Stv ac_status=$? 50841.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 50851.53Sdogcow rm -f conftest.er1 50861.53Sdogcow cat conftest.err >&5 50871.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 50881.6Stv (exit $ac_status); } && 50891.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 50901.53Sdogcow || test ! -s conftest.err' 50911.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50921.53Sdogcow (eval $ac_try) 2>&5 50931.53Sdogcow ac_status=$? 50941.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 50951.53Sdogcow (exit $ac_status); }; } && 50961.53Sdogcow { ac_try='test -s conftest.$ac_objext' 50971.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50981.48Sjmc (eval $ac_try) 2>&5 50991.48Sjmc ac_status=$? 51001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 51011.6Stv (exit $ac_status); }; }; then 51021.6Stv ac_cv_type_uint8_t=yes 51031.4Stvelse 51041.4Stv echo "$as_me: failed program was:" >&5 51051.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 51061.53Sdogcow 51071.6Stvac_cv_type_uint8_t=no 51081.4Stvfi 51091.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 51101.4Stvfi 51111.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 51121.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6 51131.6Stvif test $ac_cv_type_uint8_t = yes; then 51141.54Swiz 51151.54Swizcat >>confdefs.h <<\_ACEOF 51161.6Stv#define u_int8_t uint8_t 51171.53Sdogcow_ACEOF 51181.4Stv 51191.6Stvelse 51201.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int8_t" >&5 51211.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;} 51221.6Stv { (exit 1); exit 1; }; } 51231.6Stvfi 51241.6Stv 51251.53Sdogcow 51261.4Stvfi 51271.4Stv 51281.53Sdogcow 51291.53Sdogcow 51301.53Sdogcow echo "$as_me:$LINENO: checking for uint16_t" >&5 51311.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6 51321.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then 51331.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 51341.9Stvelse 51351.9Stv cat >conftest.$ac_ext <<_ACEOF 51361.53Sdogcow/* confdefs.h. */ 51371.53Sdogcow_ACEOF 51381.53Sdogcowcat confdefs.h >>conftest.$ac_ext 51391.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 51401.53Sdogcow/* end confdefs.h. */ 51411.9Stv$ac_includes_default 51421.9Stvint 51431.9Stvmain () 51441.9Stv{ 51451.9Stvif ((uint16_t *) 0) 51461.9Stv return 0; 51471.9Stvif (sizeof (uint16_t)) 51481.9Stv return 0; 51491.9Stv ; 51501.9Stv return 0; 51511.9Stv} 51521.9Stv_ACEOF 51531.9Stvrm -f conftest.$ac_objext 51541.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 51551.53Sdogcow (eval $ac_compile) 2>conftest.er1 51561.9Stv ac_status=$? 51571.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 51581.53Sdogcow rm -f conftest.er1 51591.53Sdogcow cat conftest.err >&5 51601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 51611.9Stv (exit $ac_status); } && 51621.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 51631.53Sdogcow || test ! -s conftest.err' 51641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 51651.53Sdogcow (eval $ac_try) 2>&5 51661.53Sdogcow ac_status=$? 51671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 51681.53Sdogcow (exit $ac_status); }; } && 51691.53Sdogcow { ac_try='test -s conftest.$ac_objext' 51701.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 51711.50Sjmc (eval $ac_try) 2>&5 51721.50Sjmc ac_status=$? 51731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 51741.9Stv (exit $ac_status); }; }; then 51751.9Stv ac_cv_type_uint16_t=yes 51761.9Stvelse 51771.9Stv echo "$as_me: failed program was:" >&5 51781.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 51791.53Sdogcow 51801.9Stvac_cv_type_uint16_t=no 51811.9Stvfi 51821.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 51831.9Stvfi 51841.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 51851.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6 51861.9Stvif test $ac_cv_type_uint16_t = yes; then 51871.9Stv : 51881.9Stvelse 51891.9Stv 51901.53Sdogcow echo "$as_me:$LINENO: checking for u_int16_t" >&5 51911.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 51921.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then 51931.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 51941.9Stvelse 51951.9Stv cat >conftest.$ac_ext <<_ACEOF 51961.53Sdogcow/* confdefs.h. */ 51971.53Sdogcow_ACEOF 51981.53Sdogcowcat confdefs.h >>conftest.$ac_ext 51991.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 52001.53Sdogcow/* end confdefs.h. */ 52011.9Stv$ac_includes_default 52021.9Stvint 52031.9Stvmain () 52041.9Stv{ 52051.9Stvif ((u_int16_t *) 0) 52061.9Stv return 0; 52071.9Stvif (sizeof (u_int16_t)) 52081.9Stv return 0; 52091.9Stv ; 52101.9Stv return 0; 52111.9Stv} 52121.9Stv_ACEOF 52131.9Stvrm -f conftest.$ac_objext 52141.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 52151.53Sdogcow (eval $ac_compile) 2>conftest.er1 52161.9Stv ac_status=$? 52171.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 52181.53Sdogcow rm -f conftest.er1 52191.53Sdogcow cat conftest.err >&5 52201.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 52211.9Stv (exit $ac_status); } && 52221.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 52231.53Sdogcow || test ! -s conftest.err' 52241.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52251.9Stv (eval $ac_try) 2>&5 52261.9Stv ac_status=$? 52271.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 52281.53Sdogcow (exit $ac_status); }; } && 52291.53Sdogcow { ac_try='test -s conftest.$ac_objext' 52301.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52311.53Sdogcow (eval $ac_try) 2>&5 52321.53Sdogcow ac_status=$? 52331.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 52341.9Stv (exit $ac_status); }; }; then 52351.9Stv ac_cv_type_u_int16_t=yes 52361.9Stvelse 52371.9Stv echo "$as_me: failed program was:" >&5 52381.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 52391.53Sdogcow 52401.9Stvac_cv_type_u_int16_t=no 52411.9Stvfi 52421.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 52431.9Stvfi 52441.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 52451.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6 52461.9Stvif test $ac_cv_type_u_int16_t = yes; then 52471.54Swiz 52481.54Swizcat >>confdefs.h <<\_ACEOF 52491.9Stv#define uint16_t u_int16_t 52501.53Sdogcow_ACEOF 52511.9Stv 52521.9Stvelse 52531.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint16_t" >&5 52541.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;} 52551.9Stv { (exit 1); exit 1; }; } 52561.9Stvfi 52571.9Stv 52581.53Sdogcow 52591.9Stvfi 52601.9Stv 52611.53Sdogcow echo "$as_me:$LINENO: checking for u_int16_t" >&5 52621.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 52631.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then 52641.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 52651.1Stvelse 52661.1Stv cat >conftest.$ac_ext <<_ACEOF 52671.53Sdogcow/* confdefs.h. */ 52681.53Sdogcow_ACEOF 52691.53Sdogcowcat confdefs.h >>conftest.$ac_ext 52701.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 52711.53Sdogcow/* end confdefs.h. */ 52721.6Stv$ac_includes_default 52731.6Stvint 52741.6Stvmain () 52751.6Stv{ 52761.6Stvif ((u_int16_t *) 0) 52771.6Stv return 0; 52781.6Stvif (sizeof (u_int16_t)) 52791.6Stv return 0; 52801.6Stv ; 52811.6Stv return 0; 52821.6Stv} 52831.1Stv_ACEOF 52841.6Stvrm -f conftest.$ac_objext 52851.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 52861.53Sdogcow (eval $ac_compile) 2>conftest.er1 52871.6Stv ac_status=$? 52881.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 52891.53Sdogcow rm -f conftest.er1 52901.53Sdogcow cat conftest.err >&5 52911.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 52921.6Stv (exit $ac_status); } && 52931.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 52941.53Sdogcow || test ! -s conftest.err' 52951.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52961.53Sdogcow (eval $ac_try) 2>&5 52971.53Sdogcow ac_status=$? 52981.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 52991.53Sdogcow (exit $ac_status); }; } && 53001.53Sdogcow { ac_try='test -s conftest.$ac_objext' 53011.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53021.50Sjmc (eval $ac_try) 2>&5 53031.50Sjmc ac_status=$? 53041.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 53051.6Stv (exit $ac_status); }; }; then 53061.6Stv ac_cv_type_u_int16_t=yes 53071.1Stvelse 53081.6Stv echo "$as_me: failed program was:" >&5 53091.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 53101.53Sdogcow 53111.6Stvac_cv_type_u_int16_t=no 53121.6Stvfi 53131.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 53141.1Stvfi 53151.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 53161.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6 53171.6Stvif test $ac_cv_type_u_int16_t = yes; then 53181.6Stv : 53191.1Stvelse 53201.1Stv 53211.53Sdogcow echo "$as_me:$LINENO: checking for uint16_t" >&5 53221.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6 53231.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then 53241.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 53251.6Stvelse 53261.1Stv cat >conftest.$ac_ext <<_ACEOF 53271.53Sdogcow/* confdefs.h. */ 53281.53Sdogcow_ACEOF 53291.53Sdogcowcat confdefs.h >>conftest.$ac_ext 53301.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 53311.53Sdogcow/* end confdefs.h. */ 53321.6Stv$ac_includes_default 53331.6Stvint 53341.6Stvmain () 53351.6Stv{ 53361.6Stvif ((uint16_t *) 0) 53371.6Stv return 0; 53381.6Stvif (sizeof (uint16_t)) 53391.6Stv return 0; 53401.6Stv ; 53411.6Stv return 0; 53421.6Stv} 53431.1Stv_ACEOF 53441.6Stvrm -f conftest.$ac_objext 53451.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 53461.53Sdogcow (eval $ac_compile) 2>conftest.er1 53471.6Stv ac_status=$? 53481.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 53491.53Sdogcow rm -f conftest.er1 53501.53Sdogcow cat conftest.err >&5 53511.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 53521.6Stv (exit $ac_status); } && 53531.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 53541.53Sdogcow || test ! -s conftest.err' 53551.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53561.6Stv (eval $ac_try) 2>&5 53571.6Stv ac_status=$? 53581.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 53591.53Sdogcow (exit $ac_status); }; } && 53601.53Sdogcow { ac_try='test -s conftest.$ac_objext' 53611.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53621.53Sdogcow (eval $ac_try) 2>&5 53631.53Sdogcow ac_status=$? 53641.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 53651.6Stv (exit $ac_status); }; }; then 53661.6Stv ac_cv_type_uint16_t=yes 53671.1Stvelse 53681.6Stv echo "$as_me: failed program was:" >&5 53691.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 53701.53Sdogcow 53711.6Stvac_cv_type_uint16_t=no 53721.1Stvfi 53731.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 53741.1Stvfi 53751.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 53761.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6 53771.6Stvif test $ac_cv_type_uint16_t = yes; then 53781.54Swiz 53791.54Swizcat >>confdefs.h <<\_ACEOF 53801.6Stv#define u_int16_t uint16_t 53811.53Sdogcow_ACEOF 53821.1Stv 53831.1Stvelse 53841.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int16_t" >&5 53851.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;} 53861.6Stv { (exit 1); exit 1; }; } 53871.1Stvfi 53881.1Stv 53891.53Sdogcow 53901.1Stvfi 53911.1Stv 53921.53Sdogcow 53931.53Sdogcow 53941.53Sdogcow echo "$as_me:$LINENO: checking for uint32_t" >&5 53951.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6 53961.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then 53971.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 53981.9Stvelse 53991.9Stv cat >conftest.$ac_ext <<_ACEOF 54001.53Sdogcow/* confdefs.h. */ 54011.53Sdogcow_ACEOF 54021.53Sdogcowcat confdefs.h >>conftest.$ac_ext 54031.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 54041.53Sdogcow/* end confdefs.h. */ 54051.9Stv$ac_includes_default 54061.9Stvint 54071.9Stvmain () 54081.9Stv{ 54091.9Stvif ((uint32_t *) 0) 54101.9Stv return 0; 54111.9Stvif (sizeof (uint32_t)) 54121.9Stv return 0; 54131.9Stv ; 54141.9Stv return 0; 54151.9Stv} 54161.9Stv_ACEOF 54171.9Stvrm -f conftest.$ac_objext 54181.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 54191.53Sdogcow (eval $ac_compile) 2>conftest.er1 54201.9Stv ac_status=$? 54211.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 54221.53Sdogcow rm -f conftest.er1 54231.53Sdogcow cat conftest.err >&5 54241.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54251.9Stv (exit $ac_status); } && 54261.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 54271.53Sdogcow || test ! -s conftest.err' 54281.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54291.53Sdogcow (eval $ac_try) 2>&5 54301.53Sdogcow ac_status=$? 54311.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54321.53Sdogcow (exit $ac_status); }; } && 54331.53Sdogcow { ac_try='test -s conftest.$ac_objext' 54341.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54351.9Stv (eval $ac_try) 2>&5 54361.9Stv ac_status=$? 54371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54381.9Stv (exit $ac_status); }; }; then 54391.9Stv ac_cv_type_uint32_t=yes 54401.9Stvelse 54411.9Stv echo "$as_me: failed program was:" >&5 54421.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 54431.53Sdogcow 54441.9Stvac_cv_type_uint32_t=no 54451.9Stvfi 54461.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 54471.9Stvfi 54481.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 54491.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6 54501.9Stvif test $ac_cv_type_uint32_t = yes; then 54511.9Stv : 54521.9Stvelse 54531.9Stv 54541.53Sdogcow echo "$as_me:$LINENO: checking for u_int32_t" >&5 54551.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 54561.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then 54571.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 54581.1Stvelse 54591.1Stv cat >conftest.$ac_ext <<_ACEOF 54601.53Sdogcow/* confdefs.h. */ 54611.53Sdogcow_ACEOF 54621.53Sdogcowcat confdefs.h >>conftest.$ac_ext 54631.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 54641.53Sdogcow/* end confdefs.h. */ 54651.9Stv$ac_includes_default 54661.9Stvint 54671.9Stvmain () 54681.9Stv{ 54691.9Stvif ((u_int32_t *) 0) 54701.9Stv return 0; 54711.9Stvif (sizeof (u_int32_t)) 54721.9Stv return 0; 54731.9Stv ; 54741.9Stv return 0; 54751.9Stv} 54761.9Stv_ACEOF 54771.9Stvrm -f conftest.$ac_objext 54781.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 54791.53Sdogcow (eval $ac_compile) 2>conftest.er1 54801.9Stv ac_status=$? 54811.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 54821.53Sdogcow rm -f conftest.er1 54831.53Sdogcow cat conftest.err >&5 54841.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54851.9Stv (exit $ac_status); } && 54861.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 54871.53Sdogcow || test ! -s conftest.err' 54881.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54891.53Sdogcow (eval $ac_try) 2>&5 54901.53Sdogcow ac_status=$? 54911.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54921.53Sdogcow (exit $ac_status); }; } && 54931.53Sdogcow { ac_try='test -s conftest.$ac_objext' 54941.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54951.48Sjmc (eval $ac_try) 2>&5 54961.48Sjmc ac_status=$? 54971.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 54981.9Stv (exit $ac_status); }; }; then 54991.9Stv ac_cv_type_u_int32_t=yes 55001.9Stvelse 55011.9Stv echo "$as_me: failed program was:" >&5 55021.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 55031.53Sdogcow 55041.9Stvac_cv_type_u_int32_t=no 55051.9Stvfi 55061.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 55071.9Stvfi 55081.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 55091.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6 55101.9Stvif test $ac_cv_type_u_int32_t = yes; then 55111.54Swiz 55121.54Swizcat >>confdefs.h <<\_ACEOF 55131.9Stv#define uint32_t u_int32_t 55141.53Sdogcow_ACEOF 55151.9Stv 55161.9Stvelse 55171.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint32_t" >&5 55181.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;} 55191.9Stv { (exit 1); exit 1; }; } 55201.9Stvfi 55211.9Stv 55221.53Sdogcow 55231.9Stvfi 55241.9Stv 55251.53Sdogcow echo "$as_me:$LINENO: checking for u_int32_t" >&5 55261.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 55271.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then 55281.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 55291.9Stvelse 55301.9Stv cat >conftest.$ac_ext <<_ACEOF 55311.53Sdogcow/* confdefs.h. */ 55321.53Sdogcow_ACEOF 55331.53Sdogcowcat confdefs.h >>conftest.$ac_ext 55341.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 55351.53Sdogcow/* end confdefs.h. */ 55361.6Stv$ac_includes_default 55371.1Stvint 55381.1Stvmain () 55391.1Stv{ 55401.6Stvif ((u_int32_t *) 0) 55411.6Stv return 0; 55421.6Stvif (sizeof (u_int32_t)) 55431.6Stv return 0; 55441.6Stv ; 55451.6Stv return 0; 55461.1Stv} 55471.1Stv_ACEOF 55481.6Stvrm -f conftest.$ac_objext 55491.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 55501.53Sdogcow (eval $ac_compile) 2>conftest.er1 55511.1Stv ac_status=$? 55521.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 55531.53Sdogcow rm -f conftest.er1 55541.53Sdogcow cat conftest.err >&5 55551.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 55561.6Stv (exit $ac_status); } && 55571.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 55581.53Sdogcow || test ! -s conftest.err' 55591.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 55601.53Sdogcow (eval $ac_try) 2>&5 55611.53Sdogcow ac_status=$? 55621.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 55631.53Sdogcow (exit $ac_status); }; } && 55641.53Sdogcow { ac_try='test -s conftest.$ac_objext' 55651.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 55661.1Stv (eval $ac_try) 2>&5 55671.1Stv ac_status=$? 55681.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 55691.1Stv (exit $ac_status); }; }; then 55701.6Stv ac_cv_type_u_int32_t=yes 55711.1Stvelse 55721.6Stv echo "$as_me: failed program was:" >&5 55731.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 55741.53Sdogcow 55751.6Stvac_cv_type_u_int32_t=no 55761.1Stvfi 55771.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 55781.1Stvfi 55791.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 55801.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6 55811.6Stvif test $ac_cv_type_u_int32_t = yes; then 55821.6Stv : 55831.6Stvelse 55841.1Stv 55851.53Sdogcow echo "$as_me:$LINENO: checking for uint32_t" >&5 55861.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6 55871.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then 55881.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 55891.1Stvelse 55901.1Stv cat >conftest.$ac_ext <<_ACEOF 55911.53Sdogcow/* confdefs.h. */ 55921.53Sdogcow_ACEOF 55931.53Sdogcowcat confdefs.h >>conftest.$ac_ext 55941.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 55951.53Sdogcow/* end confdefs.h. */ 55961.1Stv$ac_includes_default 55971.6Stvint 55981.6Stvmain () 55991.6Stv{ 56001.6Stvif ((uint32_t *) 0) 56011.6Stv return 0; 56021.6Stvif (sizeof (uint32_t)) 56031.6Stv return 0; 56041.6Stv ; 56051.6Stv return 0; 56061.6Stv} 56071.1Stv_ACEOF 56081.1Stvrm -f conftest.$ac_objext 56091.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 56101.53Sdogcow (eval $ac_compile) 2>conftest.er1 56111.1Stv ac_status=$? 56121.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 56131.53Sdogcow rm -f conftest.er1 56141.53Sdogcow cat conftest.err >&5 56151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 56161.1Stv (exit $ac_status); } && 56171.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 56181.53Sdogcow || test ! -s conftest.err' 56191.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56201.53Sdogcow (eval $ac_try) 2>&5 56211.53Sdogcow ac_status=$? 56221.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 56231.53Sdogcow (exit $ac_status); }; } && 56241.53Sdogcow { ac_try='test -s conftest.$ac_objext' 56251.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56261.48Sjmc (eval $ac_try) 2>&5 56271.48Sjmc ac_status=$? 56281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 56291.1Stv (exit $ac_status); }; }; then 56301.6Stv ac_cv_type_uint32_t=yes 56311.1Stvelse 56321.1Stv echo "$as_me: failed program was:" >&5 56331.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 56341.53Sdogcow 56351.6Stvac_cv_type_uint32_t=no 56361.1Stvfi 56371.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 56381.1Stvfi 56391.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 56401.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6 56411.6Stvif test $ac_cv_type_uint32_t = yes; then 56421.54Swiz 56431.54Swizcat >>confdefs.h <<\_ACEOF 56441.6Stv#define u_int32_t uint32_t 56451.53Sdogcow_ACEOF 56461.1Stv 56471.6Stvelse 56481.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int32_t" >&5 56491.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;} 56501.6Stv { (exit 1); exit 1; }; } 56511.6Stvfi 56521.6Stv 56531.53Sdogcow 56541.1Stvfi 56551.1Stv 56561.53Sdogcow 56571.53Sdogcow 56581.53Sdogcow echo "$as_me:$LINENO: checking for uint64_t" >&5 56591.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6 56601.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then 56611.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 56621.9Stvelse 56631.9Stv cat >conftest.$ac_ext <<_ACEOF 56641.53Sdogcow/* confdefs.h. */ 56651.53Sdogcow_ACEOF 56661.53Sdogcowcat confdefs.h >>conftest.$ac_ext 56671.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 56681.53Sdogcow/* end confdefs.h. */ 56691.9Stv$ac_includes_default 56701.9Stvint 56711.9Stvmain () 56721.9Stv{ 56731.9Stvif ((uint64_t *) 0) 56741.9Stv return 0; 56751.9Stvif (sizeof (uint64_t)) 56761.9Stv return 0; 56771.9Stv ; 56781.9Stv return 0; 56791.9Stv} 56801.9Stv_ACEOF 56811.9Stvrm -f conftest.$ac_objext 56821.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 56831.53Sdogcow (eval $ac_compile) 2>conftest.er1 56841.9Stv ac_status=$? 56851.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 56861.53Sdogcow rm -f conftest.er1 56871.53Sdogcow cat conftest.err >&5 56881.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 56891.9Stv (exit $ac_status); } && 56901.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 56911.53Sdogcow || test ! -s conftest.err' 56921.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56931.53Sdogcow (eval $ac_try) 2>&5 56941.53Sdogcow ac_status=$? 56951.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 56961.53Sdogcow (exit $ac_status); }; } && 56971.53Sdogcow { ac_try='test -s conftest.$ac_objext' 56981.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56991.50Sjmc (eval $ac_try) 2>&5 57001.50Sjmc ac_status=$? 57011.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 57021.9Stv (exit $ac_status); }; }; then 57031.9Stv ac_cv_type_uint64_t=yes 57041.9Stvelse 57051.9Stv echo "$as_me: failed program was:" >&5 57061.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 57071.53Sdogcow 57081.9Stvac_cv_type_uint64_t=no 57091.9Stvfi 57101.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 57111.9Stvfi 57121.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 57131.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6 57141.9Stvif test $ac_cv_type_uint64_t = yes; then 57151.9Stv : 57161.9Stvelse 57171.9Stv 57181.53Sdogcow echo "$as_me:$LINENO: checking for u_int64_t" >&5 57191.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6 57201.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then 57211.9Stv echo $ECHO_N "(cached) $ECHO_C" >&6 57221.9Stvelse 57231.9Stv cat >conftest.$ac_ext <<_ACEOF 57241.53Sdogcow/* confdefs.h. */ 57251.53Sdogcow_ACEOF 57261.53Sdogcowcat confdefs.h >>conftest.$ac_ext 57271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 57281.53Sdogcow/* end confdefs.h. */ 57291.9Stv$ac_includes_default 57301.9Stvint 57311.9Stvmain () 57321.9Stv{ 57331.9Stvif ((u_int64_t *) 0) 57341.9Stv return 0; 57351.9Stvif (sizeof (u_int64_t)) 57361.9Stv return 0; 57371.9Stv ; 57381.9Stv return 0; 57391.9Stv} 57401.9Stv_ACEOF 57411.9Stvrm -f conftest.$ac_objext 57421.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 57431.53Sdogcow (eval $ac_compile) 2>conftest.er1 57441.9Stv ac_status=$? 57451.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 57461.53Sdogcow rm -f conftest.er1 57471.53Sdogcow cat conftest.err >&5 57481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 57491.9Stv (exit $ac_status); } && 57501.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 57511.53Sdogcow || test ! -s conftest.err' 57521.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 57531.9Stv (eval $ac_try) 2>&5 57541.9Stv ac_status=$? 57551.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 57561.53Sdogcow (exit $ac_status); }; } && 57571.53Sdogcow { ac_try='test -s conftest.$ac_objext' 57581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 57591.53Sdogcow (eval $ac_try) 2>&5 57601.53Sdogcow ac_status=$? 57611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 57621.9Stv (exit $ac_status); }; }; then 57631.9Stv ac_cv_type_u_int64_t=yes 57641.9Stvelse 57651.9Stv echo "$as_me: failed program was:" >&5 57661.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 57671.53Sdogcow 57681.9Stvac_cv_type_u_int64_t=no 57691.9Stvfi 57701.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 57711.9Stvfi 57721.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 57731.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6 57741.9Stvif test $ac_cv_type_u_int64_t = yes; then 57751.54Swiz 57761.54Swizcat >>confdefs.h <<\_ACEOF 57771.9Stv#define uint64_t u_int64_t 57781.53Sdogcow_ACEOF 57791.9Stv 57801.9Stvelse 57811.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint64_t" >&5 57821.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;} 57831.9Stv { (exit 1); exit 1; }; } 57841.9Stvfi 57851.9Stv 57861.53Sdogcow 57871.9Stvfi 57881.9Stv 57891.53Sdogcow echo "$as_me:$LINENO: checking for u_int64_t" >&5 57901.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6 57911.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then 57921.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 57931.1Stvelse 57941.1Stv cat >conftest.$ac_ext <<_ACEOF 57951.53Sdogcow/* confdefs.h. */ 57961.53Sdogcow_ACEOF 57971.53Sdogcowcat confdefs.h >>conftest.$ac_ext 57981.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 57991.53Sdogcow/* end confdefs.h. */ 58001.1Stv$ac_includes_default 58011.1Stvint 58021.1Stvmain () 58031.1Stv{ 58041.6Stvif ((u_int64_t *) 0) 58051.1Stv return 0; 58061.6Stvif (sizeof (u_int64_t)) 58071.1Stv return 0; 58081.1Stv ; 58091.1Stv return 0; 58101.1Stv} 58111.1Stv_ACEOF 58121.1Stvrm -f conftest.$ac_objext 58131.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 58141.53Sdogcow (eval $ac_compile) 2>conftest.er1 58151.1Stv ac_status=$? 58161.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 58171.53Sdogcow rm -f conftest.er1 58181.53Sdogcow cat conftest.err >&5 58191.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58201.1Stv (exit $ac_status); } && 58211.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 58221.53Sdogcow || test ! -s conftest.err' 58231.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58241.53Sdogcow (eval $ac_try) 2>&5 58251.53Sdogcow ac_status=$? 58261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58271.53Sdogcow (exit $ac_status); }; } && 58281.53Sdogcow { ac_try='test -s conftest.$ac_objext' 58291.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58301.50Sjmc (eval $ac_try) 2>&5 58311.50Sjmc ac_status=$? 58321.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58331.1Stv (exit $ac_status); }; }; then 58341.6Stv ac_cv_type_u_int64_t=yes 58351.1Stvelse 58361.1Stv echo "$as_me: failed program was:" >&5 58371.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 58381.53Sdogcow 58391.6Stvac_cv_type_u_int64_t=no 58401.1Stvfi 58411.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 58421.1Stvfi 58431.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 58441.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6 58451.6Stvif test $ac_cv_type_u_int64_t = yes; then 58461.1Stv : 58471.1Stvelse 58481.1Stv 58491.53Sdogcow echo "$as_me:$LINENO: checking for uint64_t" >&5 58501.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6 58511.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then 58521.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 58531.1Stvelse 58541.1Stv cat >conftest.$ac_ext <<_ACEOF 58551.53Sdogcow/* confdefs.h. */ 58561.53Sdogcow_ACEOF 58571.53Sdogcowcat confdefs.h >>conftest.$ac_ext 58581.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 58591.53Sdogcow/* end confdefs.h. */ 58601.4Stv$ac_includes_default 58611.4Stvint 58621.4Stvmain () 58631.4Stv{ 58641.6Stvif ((uint64_t *) 0) 58651.4Stv return 0; 58661.6Stvif (sizeof (uint64_t)) 58671.4Stv return 0; 58681.4Stv ; 58691.4Stv return 0; 58701.4Stv} 58711.1Stv_ACEOF 58721.4Stvrm -f conftest.$ac_objext 58731.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 58741.53Sdogcow (eval $ac_compile) 2>conftest.er1 58751.4Stv ac_status=$? 58761.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 58771.53Sdogcow rm -f conftest.er1 58781.53Sdogcow cat conftest.err >&5 58791.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58801.4Stv (exit $ac_status); } && 58811.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 58821.53Sdogcow || test ! -s conftest.err' 58831.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58841.4Stv (eval $ac_try) 2>&5 58851.4Stv ac_status=$? 58861.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58871.53Sdogcow (exit $ac_status); }; } && 58881.53Sdogcow { ac_try='test -s conftest.$ac_objext' 58891.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58901.53Sdogcow (eval $ac_try) 2>&5 58911.53Sdogcow ac_status=$? 58921.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 58931.4Stv (exit $ac_status); }; }; then 58941.6Stv ac_cv_type_uint64_t=yes 58951.4Stvelse 58961.4Stv echo "$as_me: failed program was:" >&5 58971.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 58981.53Sdogcow 58991.6Stvac_cv_type_uint64_t=no 59001.4Stvfi 59011.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 59021.4Stvfi 59031.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 59041.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6 59051.6Stvif test $ac_cv_type_uint64_t = yes; then 59061.54Swiz 59071.54Swizcat >>confdefs.h <<\_ACEOF 59081.6Stv#define u_int64_t uint64_t 59091.53Sdogcow_ACEOF 59101.4Stv 59111.6Stvelse 59121.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int64_t" >&5 59131.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;} 59141.6Stv { (exit 1); exit 1; }; } 59151.6Stvfi 59161.4Stv 59171.53Sdogcow 59181.4Stvfi 59191.4Stv 59201.53Sdogcow 59211.53Sdogcow 59221.4Stv# Struct members. 59231.53Sdogcowecho "$as_me:$LINENO: checking for DIR.dd_fd" >&5 59241.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6 59251.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then 59261.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 59271.7Stvelse 59281.7Stv cat >conftest.$ac_ext <<_ACEOF 59291.53Sdogcow/* confdefs.h. */ 59301.53Sdogcow_ACEOF 59311.53Sdogcowcat confdefs.h >>conftest.$ac_ext 59321.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 59331.53Sdogcow/* end confdefs.h. */ 59341.32Sthorpej#include <sys/types.h> 59351.7Stv#include <dirent.h> 59361.7Stv 59371.7Stvint 59381.7Stvmain () 59391.7Stv{ 59401.7Stvstatic DIR ac_aggr; 59411.7Stvif (ac_aggr.dd_fd) 59421.7Stvreturn 0; 59431.7Stv ; 59441.7Stv return 0; 59451.7Stv} 59461.7Stv_ACEOF 59471.7Stvrm -f conftest.$ac_objext 59481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 59491.53Sdogcow (eval $ac_compile) 2>conftest.er1 59501.53Sdogcow ac_status=$? 59511.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 59521.53Sdogcow rm -f conftest.er1 59531.53Sdogcow cat conftest.err >&5 59541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 59551.53Sdogcow (exit $ac_status); } && 59561.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 59571.53Sdogcow || test ! -s conftest.err' 59581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 59591.53Sdogcow (eval $ac_try) 2>&5 59601.53Sdogcow ac_status=$? 59611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 59621.53Sdogcow (exit $ac_status); }; } && 59631.53Sdogcow { ac_try='test -s conftest.$ac_objext' 59641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 59651.53Sdogcow (eval $ac_try) 2>&5 59661.53Sdogcow ac_status=$? 59671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 59681.53Sdogcow (exit $ac_status); }; }; then 59691.53Sdogcow ac_cv_member_DIR_dd_fd=yes 59701.53Sdogcowelse 59711.53Sdogcow echo "$as_me: failed program was:" >&5 59721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 59731.53Sdogcow 59741.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 59751.53Sdogcow/* confdefs.h. */ 59761.53Sdogcow_ACEOF 59771.53Sdogcowcat confdefs.h >>conftest.$ac_ext 59781.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 59791.53Sdogcow/* end confdefs.h. */ 59801.53Sdogcow#include <sys/types.h> 59811.53Sdogcow#include <dirent.h> 59821.53Sdogcow 59831.53Sdogcowint 59841.53Sdogcowmain () 59851.53Sdogcow{ 59861.53Sdogcowstatic DIR ac_aggr; 59871.53Sdogcowif (sizeof ac_aggr.dd_fd) 59881.53Sdogcowreturn 0; 59891.53Sdogcow ; 59901.53Sdogcow return 0; 59911.53Sdogcow} 59921.53Sdogcow_ACEOF 59931.53Sdogcowrm -f conftest.$ac_objext 59941.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 59951.53Sdogcow (eval $ac_compile) 2>conftest.er1 59961.7Stv ac_status=$? 59971.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 59981.53Sdogcow rm -f conftest.er1 59991.53Sdogcow cat conftest.err >&5 60001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60011.7Stv (exit $ac_status); } && 60021.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 60031.53Sdogcow || test ! -s conftest.err' 60041.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60051.53Sdogcow (eval $ac_try) 2>&5 60061.53Sdogcow ac_status=$? 60071.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60081.53Sdogcow (exit $ac_status); }; } && 60091.53Sdogcow { ac_try='test -s conftest.$ac_objext' 60101.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60111.7Stv (eval $ac_try) 2>&5 60121.7Stv ac_status=$? 60131.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60141.7Stv (exit $ac_status); }; }; then 60151.7Stv ac_cv_member_DIR_dd_fd=yes 60161.7Stvelse 60171.7Stv echo "$as_me: failed program was:" >&5 60181.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 60191.53Sdogcow 60201.48Sjmcac_cv_member_DIR_dd_fd=no 60211.48Sjmcfi 60221.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 60231.48Sjmcfi 60241.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 60251.53Sdogcowfi 60261.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5 60271.48Sjmcecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6 60281.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then 60291.48Sjmc 60301.53Sdogcowcat >>confdefs.h <<_ACEOF 60311.48Sjmc#define HAVE_DIR_DD_FD 1 60321.53Sdogcow_ACEOF 60331.53Sdogcow 60341.48Sjmc 60351.48Sjmcfi 60361.59Sthorpejecho "$as_me:$LINENO: checking for DIR.__dd_fd" >&5 60371.59Sthorpejecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6 60381.59Sthorpejif test "${ac_cv_member_DIR___dd_fd+set}" = set; then 60391.59Sthorpej echo $ECHO_N "(cached) $ECHO_C" >&6 60401.59Sthorpejelse 60411.59Sthorpej cat >conftest.$ac_ext <<_ACEOF 60421.59Sthorpej/* confdefs.h. */ 60431.59Sthorpej_ACEOF 60441.59Sthorpejcat confdefs.h >>conftest.$ac_ext 60451.59Sthorpejcat >>conftest.$ac_ext <<_ACEOF 60461.59Sthorpej/* end confdefs.h. */ 60471.59Sthorpej#include <sys/types.h> 60481.59Sthorpej#include <dirent.h> 60491.59Sthorpej 60501.59Sthorpejint 60511.59Sthorpejmain () 60521.59Sthorpej{ 60531.59Sthorpejstatic DIR ac_aggr; 60541.59Sthorpejif (ac_aggr.__dd_fd) 60551.59Sthorpejreturn 0; 60561.59Sthorpej ; 60571.59Sthorpej return 0; 60581.59Sthorpej} 60591.59Sthorpej_ACEOF 60601.59Sthorpejrm -f conftest.$ac_objext 60611.59Sthorpejif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 60621.59Sthorpej (eval $ac_compile) 2>conftest.er1 60631.59Sthorpej ac_status=$? 60641.59Sthorpej grep -v '^ *+' conftest.er1 >conftest.err 60651.59Sthorpej rm -f conftest.er1 60661.59Sthorpej cat conftest.err >&5 60671.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 60681.59Sthorpej (exit $ac_status); } && 60691.59Sthorpej { ac_try='test -z "$ac_c_werror_flag" 60701.59Sthorpej || test ! -s conftest.err' 60711.59Sthorpej { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60721.59Sthorpej (eval $ac_try) 2>&5 60731.59Sthorpej ac_status=$? 60741.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 60751.59Sthorpej (exit $ac_status); }; } && 60761.59Sthorpej { ac_try='test -s conftest.$ac_objext' 60771.59Sthorpej { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60781.59Sthorpej (eval $ac_try) 2>&5 60791.59Sthorpej ac_status=$? 60801.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 60811.59Sthorpej (exit $ac_status); }; }; then 60821.59Sthorpej ac_cv_member_DIR___dd_fd=yes 60831.59Sthorpejelse 60841.59Sthorpej echo "$as_me: failed program was:" >&5 60851.59Sthorpejsed 's/^/| /' conftest.$ac_ext >&5 60861.59Sthorpej 60871.59Sthorpejcat >conftest.$ac_ext <<_ACEOF 60881.59Sthorpej/* confdefs.h. */ 60891.59Sthorpej_ACEOF 60901.59Sthorpejcat confdefs.h >>conftest.$ac_ext 60911.59Sthorpejcat >>conftest.$ac_ext <<_ACEOF 60921.59Sthorpej/* end confdefs.h. */ 60931.59Sthorpej#include <sys/types.h> 60941.59Sthorpej#include <dirent.h> 60951.59Sthorpej 60961.59Sthorpejint 60971.59Sthorpejmain () 60981.59Sthorpej{ 60991.59Sthorpejstatic DIR ac_aggr; 61001.59Sthorpejif (sizeof ac_aggr.__dd_fd) 61011.59Sthorpejreturn 0; 61021.59Sthorpej ; 61031.59Sthorpej return 0; 61041.59Sthorpej} 61051.59Sthorpej_ACEOF 61061.59Sthorpejrm -f conftest.$ac_objext 61071.59Sthorpejif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61081.59Sthorpej (eval $ac_compile) 2>conftest.er1 61091.59Sthorpej ac_status=$? 61101.59Sthorpej grep -v '^ *+' conftest.er1 >conftest.err 61111.59Sthorpej rm -f conftest.er1 61121.59Sthorpej cat conftest.err >&5 61131.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 61141.59Sthorpej (exit $ac_status); } && 61151.59Sthorpej { ac_try='test -z "$ac_c_werror_flag" 61161.59Sthorpej || test ! -s conftest.err' 61171.59Sthorpej { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61181.59Sthorpej (eval $ac_try) 2>&5 61191.59Sthorpej ac_status=$? 61201.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 61211.59Sthorpej (exit $ac_status); }; } && 61221.59Sthorpej { ac_try='test -s conftest.$ac_objext' 61231.59Sthorpej { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61241.59Sthorpej (eval $ac_try) 2>&5 61251.59Sthorpej ac_status=$? 61261.59Sthorpej echo "$as_me:$LINENO: \$? = $ac_status" >&5 61271.59Sthorpej (exit $ac_status); }; }; then 61281.59Sthorpej ac_cv_member_DIR___dd_fd=yes 61291.59Sthorpejelse 61301.59Sthorpej echo "$as_me: failed program was:" >&5 61311.59Sthorpejsed 's/^/| /' conftest.$ac_ext >&5 61321.59Sthorpej 61331.59Sthorpejac_cv_member_DIR___dd_fd=no 61341.59Sthorpejfi 61351.59Sthorpejrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61361.59Sthorpejfi 61371.59Sthorpejrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61381.59Sthorpejfi 61391.59Sthorpejecho "$as_me:$LINENO: result: $ac_cv_member_DIR___dd_fd" >&5 61401.59Sthorpejecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6 61411.59Sthorpejif test $ac_cv_member_DIR___dd_fd = yes; then 61421.59Sthorpej 61431.59Sthorpejcat >>confdefs.h <<_ACEOF 61441.59Sthorpej#define HAVE_DIR___DD_FD 1 61451.59Sthorpej_ACEOF 61461.59Sthorpej 61471.59Sthorpej 61481.59Sthorpejfi 61491.53Sdogcowecho "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 61501.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6 61511.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then 61521.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 61531.48Sjmcelse 61541.52Sdbj cat >conftest.$ac_ext <<_ACEOF 61551.53Sdogcow/* confdefs.h. */ 61561.53Sdogcow_ACEOF 61571.53Sdogcowcat confdefs.h >>conftest.$ac_ext 61581.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 61591.53Sdogcow/* end confdefs.h. */ 61601.32Sthorpej#include <sys/types.h> 61611.8Stv#include <dirent.h> 61621.8Stv 61631.8Stvint 61641.8Stvmain () 61651.8Stv{ 61661.8Stvstatic struct dirent ac_aggr; 61671.52Sdbjif (ac_aggr.d_namlen) 61681.8Stvreturn 0; 61691.8Stv ; 61701.8Stv return 0; 61711.8Stv} 61721.8Stv_ACEOF 61731.8Stvrm -f conftest.$ac_objext 61741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61751.53Sdogcow (eval $ac_compile) 2>conftest.er1 61761.53Sdogcow ac_status=$? 61771.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 61781.53Sdogcow rm -f conftest.er1 61791.53Sdogcow cat conftest.err >&5 61801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61811.53Sdogcow (exit $ac_status); } && 61821.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 61831.53Sdogcow || test ! -s conftest.err' 61841.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61851.53Sdogcow (eval $ac_try) 2>&5 61861.53Sdogcow ac_status=$? 61871.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61881.53Sdogcow (exit $ac_status); }; } && 61891.53Sdogcow { ac_try='test -s conftest.$ac_objext' 61901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61911.53Sdogcow (eval $ac_try) 2>&5 61921.53Sdogcow ac_status=$? 61931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61941.53Sdogcow (exit $ac_status); }; }; then 61951.53Sdogcow ac_cv_member_struct_dirent_d_namlen=yes 61961.53Sdogcowelse 61971.53Sdogcow echo "$as_me: failed program was:" >&5 61981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 61991.53Sdogcow 62001.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 62011.53Sdogcow/* confdefs.h. */ 62021.53Sdogcow_ACEOF 62031.53Sdogcowcat confdefs.h >>conftest.$ac_ext 62041.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 62051.53Sdogcow/* end confdefs.h. */ 62061.53Sdogcow#include <sys/types.h> 62071.53Sdogcow#include <dirent.h> 62081.53Sdogcow 62091.53Sdogcowint 62101.53Sdogcowmain () 62111.53Sdogcow{ 62121.53Sdogcowstatic struct dirent ac_aggr; 62131.53Sdogcowif (sizeof ac_aggr.d_namlen) 62141.53Sdogcowreturn 0; 62151.53Sdogcow ; 62161.53Sdogcow return 0; 62171.53Sdogcow} 62181.53Sdogcow_ACEOF 62191.53Sdogcowrm -f conftest.$ac_objext 62201.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62211.53Sdogcow (eval $ac_compile) 2>conftest.er1 62221.8Stv ac_status=$? 62231.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 62241.53Sdogcow rm -f conftest.er1 62251.53Sdogcow cat conftest.err >&5 62261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62271.8Stv (exit $ac_status); } && 62281.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 62291.53Sdogcow || test ! -s conftest.err' 62301.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62311.53Sdogcow (eval $ac_try) 2>&5 62321.53Sdogcow ac_status=$? 62331.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62341.53Sdogcow (exit $ac_status); }; } && 62351.53Sdogcow { ac_try='test -s conftest.$ac_objext' 62361.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62371.50Sjmc (eval $ac_try) 2>&5 62381.50Sjmc ac_status=$? 62391.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62401.8Stv (exit $ac_status); }; }; then 62411.8Stv ac_cv_member_struct_dirent_d_namlen=yes 62421.8Stvelse 62431.8Stv echo "$as_me: failed program was:" >&5 62441.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 62451.53Sdogcow 62461.8Stvac_cv_member_struct_dirent_d_namlen=no 62471.8Stvfi 62481.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62491.48Sjmcfi 62501.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62511.53Sdogcowfi 62521.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 62531.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6 62541.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then 62551.8Stv 62561.53Sdogcowcat >>confdefs.h <<_ACEOF 62571.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 62581.53Sdogcow_ACEOF 62591.53Sdogcow 62601.39Sfredb 62611.39Sfredbfi 62621.39Sfredb 62631.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_flags" >&5 62641.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6 62651.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then 62661.39Sfredb echo $ECHO_N "(cached) $ECHO_C" >&6 62671.39Sfredbelse 62681.39Sfredb cat >conftest.$ac_ext <<_ACEOF 62691.53Sdogcow/* confdefs.h. */ 62701.53Sdogcow_ACEOF 62711.53Sdogcowcat confdefs.h >>conftest.$ac_ext 62721.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 62731.53Sdogcow/* end confdefs.h. */ 62741.4Stv#include <sys/stat.h> 62751.4Stv 62761.4Stvint 62771.4Stvmain () 62781.4Stv{ 62791.4Stvstatic struct stat ac_aggr; 62801.43Sdbjif (ac_aggr.st_flags) 62811.4Stvreturn 0; 62821.4Stv ; 62831.4Stv return 0; 62841.4Stv} 62851.4Stv_ACEOF 62861.4Stvrm -f conftest.$ac_objext 62871.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62881.53Sdogcow (eval $ac_compile) 2>conftest.er1 62891.4Stv ac_status=$? 62901.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 62911.53Sdogcow rm -f conftest.er1 62921.53Sdogcow cat conftest.err >&5 62931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62941.4Stv (exit $ac_status); } && 62951.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 62961.53Sdogcow || test ! -s conftest.err' 62971.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62981.53Sdogcow (eval $ac_try) 2>&5 62991.53Sdogcow ac_status=$? 63001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63011.53Sdogcow (exit $ac_status); }; } && 63021.53Sdogcow { ac_try='test -s conftest.$ac_objext' 63031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63041.48Sjmc (eval $ac_try) 2>&5 63051.48Sjmc ac_status=$? 63061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63071.4Stv (exit $ac_status); }; }; then 63081.43Sdbj ac_cv_member_struct_stat_st_flags=yes 63091.4Stvelse 63101.4Stv echo "$as_me: failed program was:" >&5 63111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 63121.4Stv 63131.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 63141.53Sdogcow/* confdefs.h. */ 63151.53Sdogcow_ACEOF 63161.53Sdogcowcat confdefs.h >>conftest.$ac_ext 63171.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 63181.53Sdogcow/* end confdefs.h. */ 63191.53Sdogcow#include <sys/stat.h> 63201.53Sdogcow 63211.53Sdogcowint 63221.53Sdogcowmain () 63231.53Sdogcow{ 63241.53Sdogcowstatic struct stat ac_aggr; 63251.53Sdogcowif (sizeof ac_aggr.st_flags) 63261.53Sdogcowreturn 0; 63271.53Sdogcow ; 63281.53Sdogcow return 0; 63291.53Sdogcow} 63301.53Sdogcow_ACEOF 63311.53Sdogcowrm -f conftest.$ac_objext 63321.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63331.53Sdogcow (eval $ac_compile) 2>conftest.er1 63341.53Sdogcow ac_status=$? 63351.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 63361.53Sdogcow rm -f conftest.er1 63371.53Sdogcow cat conftest.err >&5 63381.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63391.53Sdogcow (exit $ac_status); } && 63401.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 63411.53Sdogcow || test ! -s conftest.err' 63421.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63431.53Sdogcow (eval $ac_try) 2>&5 63441.53Sdogcow ac_status=$? 63451.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63461.53Sdogcow (exit $ac_status); }; } && 63471.53Sdogcow { ac_try='test -s conftest.$ac_objext' 63481.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63491.53Sdogcow (eval $ac_try) 2>&5 63501.53Sdogcow ac_status=$? 63511.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63521.53Sdogcow (exit $ac_status); }; }; then 63531.53Sdogcow ac_cv_member_struct_stat_st_flags=yes 63541.53Sdogcowelse 63551.53Sdogcow echo "$as_me: failed program was:" >&5 63561.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 63571.53Sdogcow 63581.53Sdogcowac_cv_member_struct_stat_st_flags=no 63591.53Sdogcowfi 63601.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63611.53Sdogcowfi 63621.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63631.53Sdogcowfi 63641.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5 63651.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6 63661.53Sdogcowif test $ac_cv_member_struct_stat_st_flags = yes; then 63671.53Sdogcow 63681.53Sdogcowcat >>confdefs.h <<_ACEOF 63691.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1 63701.53Sdogcow_ACEOF 63711.53Sdogcow 63721.4Stv 63731.4Stvfi 63741.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_gen" >&5 63751.43Sdbjecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6 63761.43Sdbjif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then 63771.40Satatat echo $ECHO_N "(cached) $ECHO_C" >&6 63781.40Satatatelse 63791.40Satatat cat >conftest.$ac_ext <<_ACEOF 63801.53Sdogcow/* confdefs.h. */ 63811.53Sdogcow_ACEOF 63821.53Sdogcowcat confdefs.h >>conftest.$ac_ext 63831.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 63841.53Sdogcow/* end confdefs.h. */ 63851.40Satatat#include <sys/stat.h> 63861.40Satatat 63871.40Satatatint 63881.40Satatatmain () 63891.40Satatat{ 63901.40Satatatstatic struct stat ac_aggr; 63911.43Sdbjif (ac_aggr.st_gen) 63921.40Satatatreturn 0; 63931.40Satatat ; 63941.40Satatat return 0; 63951.40Satatat} 63961.40Satatat_ACEOF 63971.40Satatatrm -f conftest.$ac_objext 63981.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63991.53Sdogcow (eval $ac_compile) 2>conftest.er1 64001.53Sdogcow ac_status=$? 64011.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 64021.53Sdogcow rm -f conftest.er1 64031.53Sdogcow cat conftest.err >&5 64041.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64051.53Sdogcow (exit $ac_status); } && 64061.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 64071.53Sdogcow || test ! -s conftest.err' 64081.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64091.53Sdogcow (eval $ac_try) 2>&5 64101.53Sdogcow ac_status=$? 64111.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64121.53Sdogcow (exit $ac_status); }; } && 64131.53Sdogcow { ac_try='test -s conftest.$ac_objext' 64141.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64151.53Sdogcow (eval $ac_try) 2>&5 64161.53Sdogcow ac_status=$? 64171.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64181.53Sdogcow (exit $ac_status); }; }; then 64191.53Sdogcow ac_cv_member_struct_stat_st_gen=yes 64201.53Sdogcowelse 64211.53Sdogcow echo "$as_me: failed program was:" >&5 64221.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 64231.53Sdogcow 64241.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 64251.53Sdogcow/* confdefs.h. */ 64261.53Sdogcow_ACEOF 64271.53Sdogcowcat confdefs.h >>conftest.$ac_ext 64281.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 64291.53Sdogcow/* end confdefs.h. */ 64301.53Sdogcow#include <sys/stat.h> 64311.53Sdogcow 64321.53Sdogcowint 64331.53Sdogcowmain () 64341.53Sdogcow{ 64351.53Sdogcowstatic struct stat ac_aggr; 64361.53Sdogcowif (sizeof ac_aggr.st_gen) 64371.53Sdogcowreturn 0; 64381.53Sdogcow ; 64391.53Sdogcow return 0; 64401.53Sdogcow} 64411.53Sdogcow_ACEOF 64421.53Sdogcowrm -f conftest.$ac_objext 64431.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 64441.53Sdogcow (eval $ac_compile) 2>conftest.er1 64451.50Sjmc ac_status=$? 64461.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 64471.53Sdogcow rm -f conftest.er1 64481.53Sdogcow cat conftest.err >&5 64491.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64501.50Sjmc (exit $ac_status); } && 64511.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 64521.53Sdogcow || test ! -s conftest.err' 64531.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64541.53Sdogcow (eval $ac_try) 2>&5 64551.53Sdogcow ac_status=$? 64561.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64571.53Sdogcow (exit $ac_status); }; } && 64581.53Sdogcow { ac_try='test -s conftest.$ac_objext' 64591.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64601.50Sjmc (eval $ac_try) 2>&5 64611.50Sjmc ac_status=$? 64621.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64631.50Sjmc (exit $ac_status); }; }; then 64641.50Sjmc ac_cv_member_struct_stat_st_gen=yes 64651.50Sjmcelse 64661.50Sjmc echo "$as_me: failed program was:" >&5 64671.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 64681.53Sdogcow 64691.50Sjmcac_cv_member_struct_stat_st_gen=no 64701.50Sjmcfi 64711.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64721.50Sjmcfi 64731.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64741.53Sdogcowfi 64751.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5 64761.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6 64771.50Sjmcif test $ac_cv_member_struct_stat_st_gen = yes; then 64781.50Sjmc 64791.53Sdogcowcat >>confdefs.h <<_ACEOF 64801.50Sjmc#define HAVE_STRUCT_STAT_ST_GEN 1 64811.53Sdogcow_ACEOF 64821.53Sdogcow 64831.50Sjmc 64841.50Sjmcfi 64851.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5 64861.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6 64871.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then 64881.50Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 64891.50Sjmcelse 64901.50Sjmc cat >conftest.$ac_ext <<_ACEOF 64911.53Sdogcow/* confdefs.h. */ 64921.53Sdogcow_ACEOF 64931.53Sdogcowcat confdefs.h >>conftest.$ac_ext 64941.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 64951.53Sdogcow/* end confdefs.h. */ 64961.50Sjmc#include <sys/stat.h> 64971.50Sjmc 64981.50Sjmcint 64991.50Sjmcmain () 65001.50Sjmc{ 65011.50Sjmcstatic struct stat ac_aggr; 65021.50Sjmcif (ac_aggr.st_birthtime) 65031.50Sjmcreturn 0; 65041.50Sjmc ; 65051.50Sjmc return 0; 65061.50Sjmc} 65071.50Sjmc_ACEOF 65081.50Sjmcrm -f conftest.$ac_objext 65091.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65101.53Sdogcow (eval $ac_compile) 2>conftest.er1 65111.53Sdogcow ac_status=$? 65121.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 65131.53Sdogcow rm -f conftest.er1 65141.53Sdogcow cat conftest.err >&5 65151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65161.53Sdogcow (exit $ac_status); } && 65171.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 65181.53Sdogcow || test ! -s conftest.err' 65191.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65201.53Sdogcow (eval $ac_try) 2>&5 65211.53Sdogcow ac_status=$? 65221.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65231.53Sdogcow (exit $ac_status); }; } && 65241.53Sdogcow { ac_try='test -s conftest.$ac_objext' 65251.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65261.53Sdogcow (eval $ac_try) 2>&5 65271.53Sdogcow ac_status=$? 65281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65291.53Sdogcow (exit $ac_status); }; }; then 65301.53Sdogcow ac_cv_member_struct_stat_st_birthtime=yes 65311.53Sdogcowelse 65321.53Sdogcow echo "$as_me: failed program was:" >&5 65331.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 65341.53Sdogcow 65351.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 65361.53Sdogcow/* confdefs.h. */ 65371.53Sdogcow_ACEOF 65381.53Sdogcowcat confdefs.h >>conftest.$ac_ext 65391.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 65401.53Sdogcow/* end confdefs.h. */ 65411.53Sdogcow#include <sys/stat.h> 65421.53Sdogcow 65431.53Sdogcowint 65441.53Sdogcowmain () 65451.53Sdogcow{ 65461.53Sdogcowstatic struct stat ac_aggr; 65471.53Sdogcowif (sizeof ac_aggr.st_birthtime) 65481.53Sdogcowreturn 0; 65491.53Sdogcow ; 65501.53Sdogcow return 0; 65511.53Sdogcow} 65521.53Sdogcow_ACEOF 65531.53Sdogcowrm -f conftest.$ac_objext 65541.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65551.53Sdogcow (eval $ac_compile) 2>conftest.er1 65561.40Satatat ac_status=$? 65571.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 65581.53Sdogcow rm -f conftest.er1 65591.53Sdogcow cat conftest.err >&5 65601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65611.40Satatat (exit $ac_status); } && 65621.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 65631.53Sdogcow || test ! -s conftest.err' 65641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65651.53Sdogcow (eval $ac_try) 2>&5 65661.53Sdogcow ac_status=$? 65671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65681.53Sdogcow (exit $ac_status); }; } && 65691.53Sdogcow { ac_try='test -s conftest.$ac_objext' 65701.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65711.40Satatat (eval $ac_try) 2>&5 65721.40Satatat ac_status=$? 65731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65741.40Satatat (exit $ac_status); }; }; then 65751.50Sjmc ac_cv_member_struct_stat_st_birthtime=yes 65761.40Satatatelse 65771.40Satatat echo "$as_me: failed program was:" >&5 65781.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 65791.53Sdogcow 65801.50Sjmcac_cv_member_struct_stat_st_birthtime=no 65811.43Sdbjfi 65821.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65831.53Sdogcowfi 65841.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65851.43Sdbjfi 65861.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5 65871.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6 65881.50Sjmcif test $ac_cv_member_struct_stat_st_birthtime = yes; then 65891.43Sdbj 65901.53Sdogcowcat >>confdefs.h <<_ACEOF 65911.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 65921.53Sdogcow_ACEOF 65931.53Sdogcow 65941.40Satatat 65951.43Sdbjfi 65961.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtimensec" >&5 65971.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6 65981.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then 65991.43Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 66001.43Sdbjelse 66011.43Sdbj cat >conftest.$ac_ext <<_ACEOF 66021.53Sdogcow/* confdefs.h. */ 66031.53Sdogcow_ACEOF 66041.53Sdogcowcat confdefs.h >>conftest.$ac_ext 66051.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 66061.53Sdogcow/* end confdefs.h. */ 66071.40Satatat#include <sys/stat.h> 66081.40Satatat 66091.40Satatatint 66101.40Satatatmain () 66111.40Satatat{ 66121.40Satatatstatic struct stat ac_aggr; 66131.50Sjmcif (ac_aggr.st_birthtimensec) 66141.40Satatatreturn 0; 66151.40Satatat ; 66161.40Satatat return 0; 66171.40Satatat} 66181.40Satatat_ACEOF 66191.40Satatatrm -f conftest.$ac_objext 66201.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66211.53Sdogcow (eval $ac_compile) 2>conftest.er1 66221.53Sdogcow ac_status=$? 66231.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 66241.53Sdogcow rm -f conftest.er1 66251.53Sdogcow cat conftest.err >&5 66261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66271.53Sdogcow (exit $ac_status); } && 66281.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 66291.53Sdogcow || test ! -s conftest.err' 66301.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66311.53Sdogcow (eval $ac_try) 2>&5 66321.53Sdogcow ac_status=$? 66331.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66341.53Sdogcow (exit $ac_status); }; } && 66351.53Sdogcow { ac_try='test -s conftest.$ac_objext' 66361.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66371.53Sdogcow (eval $ac_try) 2>&5 66381.53Sdogcow ac_status=$? 66391.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66401.53Sdogcow (exit $ac_status); }; }; then 66411.53Sdogcow ac_cv_member_struct_stat_st_birthtimensec=yes 66421.53Sdogcowelse 66431.53Sdogcow echo "$as_me: failed program was:" >&5 66441.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 66451.53Sdogcow 66461.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 66471.53Sdogcow/* confdefs.h. */ 66481.53Sdogcow_ACEOF 66491.53Sdogcowcat confdefs.h >>conftest.$ac_ext 66501.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 66511.53Sdogcow/* end confdefs.h. */ 66521.53Sdogcow#include <sys/stat.h> 66531.53Sdogcow 66541.53Sdogcowint 66551.53Sdogcowmain () 66561.53Sdogcow{ 66571.53Sdogcowstatic struct stat ac_aggr; 66581.53Sdogcowif (sizeof ac_aggr.st_birthtimensec) 66591.53Sdogcowreturn 0; 66601.53Sdogcow ; 66611.53Sdogcow return 0; 66621.53Sdogcow} 66631.53Sdogcow_ACEOF 66641.53Sdogcowrm -f conftest.$ac_objext 66651.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66661.53Sdogcow (eval $ac_compile) 2>conftest.er1 66671.40Satatat ac_status=$? 66681.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 66691.53Sdogcow rm -f conftest.er1 66701.53Sdogcow cat conftest.err >&5 66711.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66721.40Satatat (exit $ac_status); } && 66731.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 66741.53Sdogcow || test ! -s conftest.err' 66751.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66761.53Sdogcow (eval $ac_try) 2>&5 66771.53Sdogcow ac_status=$? 66781.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66791.53Sdogcow (exit $ac_status); }; } && 66801.53Sdogcow { ac_try='test -s conftest.$ac_objext' 66811.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66821.50Sjmc (eval $ac_try) 2>&5 66831.50Sjmc ac_status=$? 66841.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66851.40Satatat (exit $ac_status); }; }; then 66861.50Sjmc ac_cv_member_struct_stat_st_birthtimensec=yes 66871.40Satatatelse 66881.40Satatat echo "$as_me: failed program was:" >&5 66891.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 66901.53Sdogcow 66911.50Sjmcac_cv_member_struct_stat_st_birthtimensec=no 66921.40Satatatfi 66931.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66941.40Satatatfi 66951.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66961.53Sdogcowfi 66971.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5 66981.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6 66991.50Sjmcif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then 67001.40Satatat 67011.53Sdogcowcat >>confdefs.h <<_ACEOF 67021.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 67031.53Sdogcow_ACEOF 67041.53Sdogcow 67051.40Satatat 67061.40Satatatfi 67071.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_atim" >&5 67081.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6 67091.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then 67101.40Satatat echo $ECHO_N "(cached) $ECHO_C" >&6 67111.40Satatatelse 67121.40Satatat cat >conftest.$ac_ext <<_ACEOF 67131.53Sdogcow/* confdefs.h. */ 67141.53Sdogcow_ACEOF 67151.53Sdogcowcat confdefs.h >>conftest.$ac_ext 67161.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 67171.53Sdogcow/* end confdefs.h. */ 67181.40Satatat#include <sys/stat.h> 67191.40Satatat 67201.40Satatatint 67211.40Satatatmain () 67221.40Satatat{ 67231.40Satatatstatic struct stat ac_aggr; 67241.40Satatatif (ac_aggr.st_atim) 67251.40Satatatreturn 0; 67261.40Satatat ; 67271.40Satatat return 0; 67281.40Satatat} 67291.40Satatat_ACEOF 67301.40Satatatrm -f conftest.$ac_objext 67311.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67321.53Sdogcow (eval $ac_compile) 2>conftest.er1 67331.53Sdogcow ac_status=$? 67341.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 67351.53Sdogcow rm -f conftest.er1 67361.53Sdogcow cat conftest.err >&5 67371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67381.53Sdogcow (exit $ac_status); } && 67391.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 67401.53Sdogcow || test ! -s conftest.err' 67411.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67421.53Sdogcow (eval $ac_try) 2>&5 67431.53Sdogcow ac_status=$? 67441.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67451.53Sdogcow (exit $ac_status); }; } && 67461.53Sdogcow { ac_try='test -s conftest.$ac_objext' 67471.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67481.53Sdogcow (eval $ac_try) 2>&5 67491.53Sdogcow ac_status=$? 67501.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67511.53Sdogcow (exit $ac_status); }; }; then 67521.53Sdogcow ac_cv_member_struct_stat_st_atim=yes 67531.53Sdogcowelse 67541.53Sdogcow echo "$as_me: failed program was:" >&5 67551.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 67561.53Sdogcow 67571.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 67581.53Sdogcow/* confdefs.h. */ 67591.53Sdogcow_ACEOF 67601.53Sdogcowcat confdefs.h >>conftest.$ac_ext 67611.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 67621.53Sdogcow/* end confdefs.h. */ 67631.53Sdogcow#include <sys/stat.h> 67641.53Sdogcow 67651.53Sdogcowint 67661.53Sdogcowmain () 67671.53Sdogcow{ 67681.53Sdogcowstatic struct stat ac_aggr; 67691.53Sdogcowif (sizeof ac_aggr.st_atim) 67701.53Sdogcowreturn 0; 67711.53Sdogcow ; 67721.53Sdogcow return 0; 67731.53Sdogcow} 67741.53Sdogcow_ACEOF 67751.53Sdogcowrm -f conftest.$ac_objext 67761.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67771.53Sdogcow (eval $ac_compile) 2>conftest.er1 67781.40Satatat ac_status=$? 67791.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 67801.53Sdogcow rm -f conftest.er1 67811.53Sdogcow cat conftest.err >&5 67821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67831.40Satatat (exit $ac_status); } && 67841.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 67851.53Sdogcow || test ! -s conftest.err' 67861.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67871.40Satatat (eval $ac_try) 2>&5 67881.40Satatat ac_status=$? 67891.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67901.53Sdogcow (exit $ac_status); }; } && 67911.53Sdogcow { ac_try='test -s conftest.$ac_objext' 67921.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67931.53Sdogcow (eval $ac_try) 2>&5 67941.53Sdogcow ac_status=$? 67951.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67961.40Satatat (exit $ac_status); }; }; then 67971.40Satatat ac_cv_member_struct_stat_st_atim=yes 67981.40Satatatelse 67991.40Satatat echo "$as_me: failed program was:" >&5 68001.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 68011.53Sdogcow 68021.40Satatatac_cv_member_struct_stat_st_atim=no 68031.40Satatatfi 68041.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68051.53Sdogcowfi 68061.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68071.40Satatatfi 68081.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5 68091.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6 68101.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then 68111.40Satatat 68121.53Sdogcowcat >>confdefs.h <<_ACEOF 68131.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1 68141.53Sdogcow_ACEOF 68151.53Sdogcow 68161.40Satatat 68171.40Satatatfi 68181.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5 68191.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6 68201.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then 68211.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 68221.7Stvelse 68231.7Stv cat >conftest.$ac_ext <<_ACEOF 68241.53Sdogcow/* confdefs.h. */ 68251.53Sdogcow_ACEOF 68261.53Sdogcowcat confdefs.h >>conftest.$ac_ext 68271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 68281.53Sdogcow/* end confdefs.h. */ 68291.7Stv#include <sys/stat.h> 68301.7Stv 68311.7Stvint 68321.7Stvmain () 68331.7Stv{ 68341.7Stvstatic struct stat ac_aggr; 68351.39Sfredbif (ac_aggr.st_mtimensec) 68361.7Stvreturn 0; 68371.7Stv ; 68381.7Stv return 0; 68391.7Stv} 68401.7Stv_ACEOF 68411.7Stvrm -f conftest.$ac_objext 68421.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68431.53Sdogcow (eval $ac_compile) 2>conftest.er1 68441.53Sdogcow ac_status=$? 68451.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 68461.53Sdogcow rm -f conftest.er1 68471.53Sdogcow cat conftest.err >&5 68481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68491.53Sdogcow (exit $ac_status); } && 68501.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 68511.53Sdogcow || test ! -s conftest.err' 68521.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68531.53Sdogcow (eval $ac_try) 2>&5 68541.53Sdogcow ac_status=$? 68551.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68561.53Sdogcow (exit $ac_status); }; } && 68571.53Sdogcow { ac_try='test -s conftest.$ac_objext' 68581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68591.53Sdogcow (eval $ac_try) 2>&5 68601.53Sdogcow ac_status=$? 68611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68621.53Sdogcow (exit $ac_status); }; }; then 68631.53Sdogcow ac_cv_member_struct_stat_st_mtimensec=yes 68641.53Sdogcowelse 68651.53Sdogcow echo "$as_me: failed program was:" >&5 68661.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 68671.53Sdogcow 68681.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 68691.53Sdogcow/* confdefs.h. */ 68701.53Sdogcow_ACEOF 68711.53Sdogcowcat confdefs.h >>conftest.$ac_ext 68721.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 68731.53Sdogcow/* end confdefs.h. */ 68741.53Sdogcow#include <sys/stat.h> 68751.53Sdogcow 68761.53Sdogcowint 68771.53Sdogcowmain () 68781.53Sdogcow{ 68791.53Sdogcowstatic struct stat ac_aggr; 68801.53Sdogcowif (sizeof ac_aggr.st_mtimensec) 68811.53Sdogcowreturn 0; 68821.53Sdogcow ; 68831.53Sdogcow return 0; 68841.53Sdogcow} 68851.53Sdogcow_ACEOF 68861.53Sdogcowrm -f conftest.$ac_objext 68871.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68881.53Sdogcow (eval $ac_compile) 2>conftest.er1 68891.7Stv ac_status=$? 68901.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 68911.53Sdogcow rm -f conftest.er1 68921.53Sdogcow cat conftest.err >&5 68931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68941.7Stv (exit $ac_status); } && 68951.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 68961.53Sdogcow || test ! -s conftest.err' 68971.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68981.53Sdogcow (eval $ac_try) 2>&5 68991.53Sdogcow ac_status=$? 69001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69011.53Sdogcow (exit $ac_status); }; } && 69021.53Sdogcow { ac_try='test -s conftest.$ac_objext' 69031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69041.48Sjmc (eval $ac_try) 2>&5 69051.48Sjmc ac_status=$? 69061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69071.7Stv (exit $ac_status); }; }; then 69081.7Stv ac_cv_member_struct_stat_st_mtimensec=yes 69091.7Stvelse 69101.7Stv echo "$as_me: failed program was:" >&5 69111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 69121.53Sdogcow 69131.7Stvac_cv_member_struct_stat_st_mtimensec=no 69141.7Stvfi 69151.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69161.7Stvfi 69171.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69181.53Sdogcowfi 69191.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5 69201.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6 69211.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then 69221.7Stv 69231.53Sdogcowcat >>confdefs.h <<_ACEOF 69241.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 69251.53Sdogcow_ACEOF 69261.53Sdogcow 69271.7Stv 69281.7Stvfi 69291.4Stv 69301.53Sdogcowecho "$as_me:$LINENO: checking for struct statvfs.f_iosize" >&5 69311.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6 69321.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then 69331.47Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 69341.47Sdbjelse 69351.52Sdbj cat >conftest.$ac_ext <<_ACEOF 69361.53Sdogcow/* confdefs.h. */ 69371.53Sdogcow_ACEOF 69381.53Sdogcowcat confdefs.h >>conftest.$ac_ext 69391.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 69401.53Sdogcow/* end confdefs.h. */ 69411.48Sjmc#include <sys/statvfs.h> 69421.48Sjmc 69431.48Sjmcint 69441.48Sjmcmain () 69451.48Sjmc{ 69461.48Sjmcstatic struct statvfs ac_aggr; 69471.52Sdbjif (ac_aggr.f_iosize) 69481.48Sjmcreturn 0; 69491.48Sjmc ; 69501.48Sjmc return 0; 69511.48Sjmc} 69521.48Sjmc_ACEOF 69531.48Sjmcrm -f conftest.$ac_objext 69541.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 69551.53Sdogcow (eval $ac_compile) 2>conftest.er1 69561.47Sdbj ac_status=$? 69571.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 69581.53Sdogcow rm -f conftest.er1 69591.53Sdogcow cat conftest.err >&5 69601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69611.47Sdbj (exit $ac_status); } && 69621.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 69631.53Sdogcow || test ! -s conftest.err' 69641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69651.53Sdogcow (eval $ac_try) 2>&5 69661.53Sdogcow ac_status=$? 69671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69681.53Sdogcow (exit $ac_status); }; } && 69691.53Sdogcow { ac_try='test -s conftest.$ac_objext' 69701.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69711.47Sdbj (eval $ac_try) 2>&5 69721.47Sdbj ac_status=$? 69731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69741.47Sdbj (exit $ac_status); }; }; then 69751.47Sdbj ac_cv_member_struct_statvfs_f_iosize=yes 69761.47Sdbjelse 69771.47Sdbj echo "$as_me: failed program was:" >&5 69781.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 69791.47Sdbj 69801.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 69811.53Sdogcow/* confdefs.h. */ 69821.53Sdogcow_ACEOF 69831.53Sdogcowcat confdefs.h >>conftest.$ac_ext 69841.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 69851.53Sdogcow/* end confdefs.h. */ 69861.53Sdogcow#include <sys/statvfs.h> 69871.7Stv 69881.7Stvint 69891.7Stvmain () 69901.7Stv{ 69911.53Sdogcowstatic struct statvfs ac_aggr; 69921.53Sdogcowif (sizeof ac_aggr.f_iosize) 69931.53Sdogcowreturn 0; 69941.7Stv ; 69951.7Stv return 0; 69961.7Stv} 69971.7Stv_ACEOF 69981.7Stvrm -f conftest.$ac_objext 69991.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 70001.53Sdogcow (eval $ac_compile) 2>conftest.er1 70011.7Stv ac_status=$? 70021.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 70031.53Sdogcow rm -f conftest.er1 70041.53Sdogcow cat conftest.err >&5 70051.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70061.7Stv (exit $ac_status); } && 70071.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 70081.53Sdogcow || test ! -s conftest.err' 70091.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70101.7Stv (eval $ac_try) 2>&5 70111.7Stv ac_status=$? 70121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70131.53Sdogcow (exit $ac_status); }; } && 70141.53Sdogcow { ac_try='test -s conftest.$ac_objext' 70151.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70161.53Sdogcow (eval $ac_try) 2>&5 70171.53Sdogcow ac_status=$? 70181.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70191.53Sdogcow (exit $ac_status); }; }; then 70201.53Sdogcow ac_cv_member_struct_statvfs_f_iosize=yes 70211.53Sdogcowelse 70221.53Sdogcow echo "$as_me: failed program was:" >&5 70231.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 70241.53Sdogcow 70251.53Sdogcowac_cv_member_struct_statvfs_f_iosize=no 70261.53Sdogcowfi 70271.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 70281.53Sdogcowfi 70291.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 70301.53Sdogcowfi 70311.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_iosize" >&5 70321.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6 70331.53Sdogcowif test $ac_cv_member_struct_statvfs_f_iosize = yes; then 70341.53Sdogcow 70351.53Sdogcowcat >>confdefs.h <<_ACEOF 70361.53Sdogcow#define HAVE_STRUCT_STATVFS_F_IOSIZE 1 70371.53Sdogcow_ACEOF 70381.53Sdogcow 70391.53Sdogcow 70401.53Sdogcowfi 70411.53Sdogcow 70421.53Sdogcow 70431.53Sdogcow# Global variable decls. 70441.53Sdogcowecho "$as_me:$LINENO: checking whether optind is declared" >&5 70451.53Sdogcowecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6 70461.53Sdogcowif test "${ac_cv_have_decl_optind+set}" = set; then 70471.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 70481.53Sdogcowelse 70491.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 70501.53Sdogcow/* confdefs.h. */ 70511.53Sdogcow_ACEOF 70521.53Sdogcowcat confdefs.h >>conftest.$ac_ext 70531.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 70541.53Sdogcow/* end confdefs.h. */ 70551.53Sdogcow 70561.53Sdogcow#include <stdio.h> 70571.53Sdogcow#include <stdlib.h> 70581.53Sdogcow#include <unistd.h> 70591.53Sdogcow 70601.53Sdogcow 70611.53Sdogcowint 70621.53Sdogcowmain () 70631.53Sdogcow{ 70641.53Sdogcow#ifndef optind 70651.53Sdogcow char *p = (char *) optind; 70661.53Sdogcow#endif 70671.53Sdogcow 70681.53Sdogcow ; 70691.53Sdogcow return 0; 70701.53Sdogcow} 70711.53Sdogcow_ACEOF 70721.53Sdogcowrm -f conftest.$ac_objext 70731.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 70741.53Sdogcow (eval $ac_compile) 2>conftest.er1 70751.53Sdogcow ac_status=$? 70761.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 70771.53Sdogcow rm -f conftest.er1 70781.53Sdogcow cat conftest.err >&5 70791.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70801.53Sdogcow (exit $ac_status); } && 70811.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 70821.53Sdogcow || test ! -s conftest.err' 70831.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70841.53Sdogcow (eval $ac_try) 2>&5 70851.53Sdogcow ac_status=$? 70861.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70871.53Sdogcow (exit $ac_status); }; } && 70881.53Sdogcow { ac_try='test -s conftest.$ac_objext' 70891.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70901.53Sdogcow (eval $ac_try) 2>&5 70911.53Sdogcow ac_status=$? 70921.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70931.7Stv (exit $ac_status); }; }; then 70941.7Stv ac_cv_have_decl_optind=yes 70951.7Stvelse 70961.7Stv echo "$as_me: failed program was:" >&5 70971.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 70981.53Sdogcow 70991.7Stvac_cv_have_decl_optind=no 71001.7Stvfi 71011.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 71021.7Stvfi 71031.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 71041.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6 71051.7Stvif test $ac_cv_have_decl_optind = yes; then 71061.7Stv 71071.53Sdogcowcat >>confdefs.h <<_ACEOF 71081.7Stv#define HAVE_DECL_OPTIND 1 71091.53Sdogcow_ACEOF 71101.53Sdogcow 71111.7Stv 71121.7Stvelse 71131.53Sdogcow cat >>confdefs.h <<_ACEOF 71141.7Stv#define HAVE_DECL_OPTIND 0 71151.53Sdogcow_ACEOF 71161.53Sdogcow 71171.7Stv 71181.7Stvfi 71191.53Sdogcowecho "$as_me:$LINENO: checking whether optreset is declared" >&5 71201.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 71211.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then 71221.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 71231.7Stvelse 71241.7Stv cat >conftest.$ac_ext <<_ACEOF 71251.53Sdogcow/* confdefs.h. */ 71261.53Sdogcow_ACEOF 71271.53Sdogcowcat confdefs.h >>conftest.$ac_ext 71281.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 71291.53Sdogcow/* end confdefs.h. */ 71301.7Stv 71311.7Stv#include <stdio.h> 71321.7Stv#include <stdlib.h> 71331.7Stv#include <unistd.h> 71341.7Stv 71351.53Sdogcow 71361.7Stvint 71371.7Stvmain () 71381.7Stv{ 71391.7Stv#ifndef optreset 71401.7Stv char *p = (char *) optreset; 71411.7Stv#endif 71421.7Stv 71431.7Stv ; 71441.7Stv return 0; 71451.7Stv} 71461.7Stv_ACEOF 71471.7Stvrm -f conftest.$ac_objext 71481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 71491.53Sdogcow (eval $ac_compile) 2>conftest.er1 71501.7Stv ac_status=$? 71511.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 71521.53Sdogcow rm -f conftest.er1 71531.53Sdogcow cat conftest.err >&5 71541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71551.7Stv (exit $ac_status); } && 71561.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 71571.53Sdogcow || test ! -s conftest.err' 71581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71591.7Stv (eval $ac_try) 2>&5 71601.7Stv ac_status=$? 71611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71621.53Sdogcow (exit $ac_status); }; } && 71631.53Sdogcow { ac_try='test -s conftest.$ac_objext' 71641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71651.53Sdogcow (eval $ac_try) 2>&5 71661.53Sdogcow ac_status=$? 71671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71681.7Stv (exit $ac_status); }; }; then 71691.7Stv ac_cv_have_decl_optreset=yes 71701.7Stvelse 71711.7Stv echo "$as_me: failed program was:" >&5 71721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 71731.53Sdogcow 71741.7Stvac_cv_have_decl_optreset=no 71751.7Stvfi 71761.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 71771.7Stvfi 71781.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 71791.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6 71801.7Stvif test $ac_cv_have_decl_optreset = yes; then 71811.7Stv 71821.53Sdogcowcat >>confdefs.h <<_ACEOF 71831.7Stv#define HAVE_DECL_OPTRESET 1 71841.53Sdogcow_ACEOF 71851.53Sdogcow 71861.7Stv 71871.7Stvelse 71881.53Sdogcow cat >>confdefs.h <<_ACEOF 71891.7Stv#define HAVE_DECL_OPTRESET 0 71901.53Sdogcow_ACEOF 71911.53Sdogcow 71921.7Stv 71931.7Stvfi 71941.7Stv 71951.53Sdogcow 71961.53Sdogcowecho "$as_me:$LINENO: checking whether sys_signame is declared" >&5 71971.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6 71981.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then 71991.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 72001.4Stvelse 72011.4Stv cat >conftest.$ac_ext <<_ACEOF 72021.53Sdogcow/* confdefs.h. */ 72031.53Sdogcow_ACEOF 72041.53Sdogcowcat confdefs.h >>conftest.$ac_ext 72051.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 72061.53Sdogcow/* end confdefs.h. */ 72071.4Stv#include <signal.h> 72081.4Stv 72091.4Stvint 72101.4Stvmain () 72111.4Stv{ 72121.4Stv#ifndef sys_signame 72131.4Stv char *p = (char *) sys_signame; 72141.4Stv#endif 72151.4Stv 72161.4Stv ; 72171.4Stv return 0; 72181.4Stv} 72191.4Stv_ACEOF 72201.4Stvrm -f conftest.$ac_objext 72211.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 72221.53Sdogcow (eval $ac_compile) 2>conftest.er1 72231.4Stv ac_status=$? 72241.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 72251.53Sdogcow rm -f conftest.er1 72261.53Sdogcow cat conftest.err >&5 72271.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72281.4Stv (exit $ac_status); } && 72291.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 72301.53Sdogcow || test ! -s conftest.err' 72311.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72321.4Stv (eval $ac_try) 2>&5 72331.4Stv ac_status=$? 72341.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72351.53Sdogcow (exit $ac_status); }; } && 72361.53Sdogcow { ac_try='test -s conftest.$ac_objext' 72371.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72381.53Sdogcow (eval $ac_try) 2>&5 72391.53Sdogcow ac_status=$? 72401.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72411.4Stv (exit $ac_status); }; }; then 72421.4Stv ac_cv_have_decl_sys_signame=yes 72431.4Stvelse 72441.4Stv echo "$as_me: failed program was:" >&5 72451.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 72461.53Sdogcow 72471.4Stvac_cv_have_decl_sys_signame=no 72481.4Stvfi 72491.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 72501.4Stvfi 72511.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5 72521.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6 72531.4Stvif test $ac_cv_have_decl_sys_signame = yes; then 72541.4Stv 72551.53Sdogcowcat >>confdefs.h <<_ACEOF 72561.4Stv#define HAVE_DECL_SYS_SIGNAME 1 72571.53Sdogcow_ACEOF 72581.53Sdogcow 72591.4Stv 72601.4Stvelse 72611.53Sdogcow cat >>confdefs.h <<_ACEOF 72621.4Stv#define HAVE_DECL_SYS_SIGNAME 0 72631.53Sdogcow_ACEOF 72641.53Sdogcow 72651.4Stv 72661.4Stvfi 72671.4Stv 72681.53Sdogcow 72691.53Sdogcow 72701.4Stv# Library functions (where a .h check isn't enough). 72711.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 72721.19Sbjh21# for constant arguments. Useless! 72731.53Sdogcowecho "$as_me:$LINENO: checking for working alloca.h" >&5 72741.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 72751.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then 72761.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 72771.19Sbjh21else 72781.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 72791.53Sdogcow/* confdefs.h. */ 72801.53Sdogcow_ACEOF 72811.53Sdogcowcat confdefs.h >>conftest.$ac_ext 72821.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 72831.53Sdogcow/* end confdefs.h. */ 72841.19Sbjh21#include <alloca.h> 72851.19Sbjh21int 72861.19Sbjh21main () 72871.19Sbjh21{ 72881.19Sbjh21char *p = (char *) alloca (2 * sizeof (int)); 72891.19Sbjh21 ; 72901.19Sbjh21 return 0; 72911.19Sbjh21} 72921.19Sbjh21_ACEOF 72931.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 72941.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 72951.53Sdogcow (eval $ac_link) 2>conftest.er1 72961.19Sbjh21 ac_status=$? 72971.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 72981.53Sdogcow rm -f conftest.er1 72991.53Sdogcow cat conftest.err >&5 73001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73011.19Sbjh21 (exit $ac_status); } && 73021.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 73031.53Sdogcow || test ! -s conftest.err' 73041.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73051.53Sdogcow (eval $ac_try) 2>&5 73061.53Sdogcow ac_status=$? 73071.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73081.53Sdogcow (exit $ac_status); }; } && 73091.53Sdogcow { ac_try='test -s conftest$ac_exeext' 73101.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73111.50Sjmc (eval $ac_try) 2>&5 73121.50Sjmc ac_status=$? 73131.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73141.19Sbjh21 (exit $ac_status); }; }; then 73151.19Sbjh21 ac_cv_working_alloca_h=yes 73161.19Sbjh21else 73171.19Sbjh21 echo "$as_me: failed program was:" >&5 73181.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 73191.53Sdogcow 73201.19Sbjh21ac_cv_working_alloca_h=no 73211.19Sbjh21fi 73221.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 73231.53Sdogcow conftest$ac_exeext conftest.$ac_ext 73241.19Sbjh21fi 73251.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 73261.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 73271.19Sbjh21if test $ac_cv_working_alloca_h = yes; then 73281.19Sbjh21 73291.53Sdogcowcat >>confdefs.h <<\_ACEOF 73301.19Sbjh21#define HAVE_ALLOCA_H 1 73311.53Sdogcow_ACEOF 73321.19Sbjh21 73331.19Sbjh21fi 73341.19Sbjh21 73351.53Sdogcowecho "$as_me:$LINENO: checking for alloca" >&5 73361.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6 73371.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then 73381.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 73391.19Sbjh21else 73401.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 73411.53Sdogcow/* confdefs.h. */ 73421.53Sdogcow_ACEOF 73431.53Sdogcowcat confdefs.h >>conftest.$ac_ext 73441.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 73451.53Sdogcow/* end confdefs.h. */ 73461.19Sbjh21#ifdef __GNUC__ 73471.19Sbjh21# define alloca __builtin_alloca 73481.19Sbjh21#else 73491.19Sbjh21# ifdef _MSC_VER 73501.19Sbjh21# include <malloc.h> 73511.19Sbjh21# define alloca _alloca 73521.19Sbjh21# else 73531.19Sbjh21# if HAVE_ALLOCA_H 73541.19Sbjh21# include <alloca.h> 73551.19Sbjh21# else 73561.19Sbjh21# ifdef _AIX 73571.19Sbjh21 #pragma alloca 73581.19Sbjh21# else 73591.19Sbjh21# ifndef alloca /* predefined by HP cc +Olibcalls */ 73601.19Sbjh21char *alloca (); 73611.19Sbjh21# endif 73621.19Sbjh21# endif 73631.19Sbjh21# endif 73641.19Sbjh21# endif 73651.19Sbjh21#endif 73661.19Sbjh21 73671.19Sbjh21int 73681.19Sbjh21main () 73691.19Sbjh21{ 73701.19Sbjh21char *p = (char *) alloca (1); 73711.19Sbjh21 ; 73721.19Sbjh21 return 0; 73731.19Sbjh21} 73741.19Sbjh21_ACEOF 73751.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 73761.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 73771.53Sdogcow (eval $ac_link) 2>conftest.er1 73781.19Sbjh21 ac_status=$? 73791.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 73801.53Sdogcow rm -f conftest.er1 73811.53Sdogcow cat conftest.err >&5 73821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73831.19Sbjh21 (exit $ac_status); } && 73841.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 73851.53Sdogcow || test ! -s conftest.err' 73861.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73871.53Sdogcow (eval $ac_try) 2>&5 73881.53Sdogcow ac_status=$? 73891.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73901.53Sdogcow (exit $ac_status); }; } && 73911.53Sdogcow { ac_try='test -s conftest$ac_exeext' 73921.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73931.50Sjmc (eval $ac_try) 2>&5 73941.50Sjmc ac_status=$? 73951.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 73961.19Sbjh21 (exit $ac_status); }; }; then 73971.19Sbjh21 ac_cv_func_alloca_works=yes 73981.19Sbjh21else 73991.19Sbjh21 echo "$as_me: failed program was:" >&5 74001.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 74011.53Sdogcow 74021.19Sbjh21ac_cv_func_alloca_works=no 74031.19Sbjh21fi 74041.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 74051.53Sdogcow conftest$ac_exeext conftest.$ac_ext 74061.19Sbjh21fi 74071.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 74081.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 74091.19Sbjh21 74101.19Sbjh21if test $ac_cv_func_alloca_works = yes; then 74111.19Sbjh21 74121.53Sdogcowcat >>confdefs.h <<\_ACEOF 74131.19Sbjh21#define HAVE_ALLOCA 1 74141.53Sdogcow_ACEOF 74151.19Sbjh21 74161.19Sbjh21else 74171.19Sbjh21 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 74181.19Sbjh21# that cause trouble. Some versions do not even contain alloca or 74191.19Sbjh21# contain a buggy version. If you still want to use their alloca, 74201.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c. 74211.19Sbjh21 74221.19Sbjh21ALLOCA=alloca.$ac_objext 74231.19Sbjh21 74241.53Sdogcowcat >>confdefs.h <<\_ACEOF 74251.19Sbjh21#define C_ALLOCA 1 74261.53Sdogcow_ACEOF 74271.39Sfredb 74281.53Sdogcow 74291.53Sdogcowecho "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 74301.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 74311.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then 74321.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 74331.19Sbjh21else 74341.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 74351.53Sdogcow/* confdefs.h. */ 74361.53Sdogcow_ACEOF 74371.53Sdogcowcat confdefs.h >>conftest.$ac_ext 74381.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 74391.53Sdogcow/* end confdefs.h. */ 74401.19Sbjh21#if defined(CRAY) && ! defined(CRAY2) 74411.19Sbjh21webecray 74421.19Sbjh21#else 74431.19Sbjh21wenotbecray 74441.19Sbjh21#endif 74451.19Sbjh21 74461.19Sbjh21_ACEOF 74471.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 74481.53Sdogcow $EGREP "webecray" >/dev/null 2>&1; then 74491.19Sbjh21 ac_cv_os_cray=yes 74501.19Sbjh21else 74511.19Sbjh21 ac_cv_os_cray=no 74521.19Sbjh21fi 74531.19Sbjh21rm -f conftest* 74541.19Sbjh21 74551.19Sbjh21fi 74561.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 74571.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6 74581.19Sbjh21if test $ac_cv_os_cray = yes; then 74591.19Sbjh21 for ac_func in _getb67 GETB67 getb67; do 74601.19Sbjh21 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 74611.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5 74621.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 74631.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then 74641.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 74651.19Sbjh21else 74661.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 74671.53Sdogcow/* confdefs.h. */ 74681.53Sdogcow_ACEOF 74691.53Sdogcowcat confdefs.h >>conftest.$ac_ext 74701.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 74711.53Sdogcow/* end confdefs.h. */ 74721.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 74731.53Sdogcow For example, HP-UX 11i <limits.h> declares gettimeofday. */ 74741.53Sdogcow#define $ac_func innocuous_$ac_func 74751.53Sdogcow 74761.19Sbjh21/* System header to define __stub macros and hopefully few prototypes, 74771.53Sdogcow which can conflict with char $ac_func (); below. 74781.53Sdogcow Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 74791.53Sdogcow <limits.h> exists even on freestanding compilers. */ 74801.53Sdogcow 74811.53Sdogcow#ifdef __STDC__ 74821.53Sdogcow# include <limits.h> 74831.53Sdogcow#else 74841.53Sdogcow# include <assert.h> 74851.53Sdogcow#endif 74861.53Sdogcow 74871.53Sdogcow#undef $ac_func 74881.53Sdogcow 74891.19Sbjh21/* Override any gcc2 internal prototype to avoid an error. */ 74901.19Sbjh21#ifdef __cplusplus 74911.19Sbjh21extern "C" 74921.53Sdogcow{ 74931.19Sbjh21#endif 74941.19Sbjh21/* We use char because int might match the return type of a gcc2 74951.19Sbjh21 builtin and then its argument prototype would still apply. */ 74961.19Sbjh21char $ac_func (); 74971.19Sbjh21/* The GNU C library defines this for functions which it implements 74981.19Sbjh21 to always fail with ENOSYS. Some functions are actually named 74991.19Sbjh21 something starting with __ and the normal name is an alias. */ 75001.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 75011.19Sbjh21choke me 75021.19Sbjh21#else 75031.53Sdogcowchar (*f) () = $ac_func; 75041.53Sdogcow#endif 75051.53Sdogcow#ifdef __cplusplus 75061.53Sdogcow} 75071.19Sbjh21#endif 75081.19Sbjh21 75091.53Sdogcowint 75101.53Sdogcowmain () 75111.53Sdogcow{ 75121.53Sdogcowreturn f != $ac_func; 75131.19Sbjh21 ; 75141.19Sbjh21 return 0; 75151.19Sbjh21} 75161.19Sbjh21_ACEOF 75171.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 75181.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 75191.53Sdogcow (eval $ac_link) 2>conftest.er1 75201.19Sbjh21 ac_status=$? 75211.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 75221.53Sdogcow rm -f conftest.er1 75231.53Sdogcow cat conftest.err >&5 75241.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 75251.19Sbjh21 (exit $ac_status); } && 75261.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 75271.53Sdogcow || test ! -s conftest.err' 75281.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 75291.53Sdogcow (eval $ac_try) 2>&5 75301.53Sdogcow ac_status=$? 75311.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 75321.53Sdogcow (exit $ac_status); }; } && 75331.53Sdogcow { ac_try='test -s conftest$ac_exeext' 75341.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 75351.50Sjmc (eval $ac_try) 2>&5 75361.50Sjmc ac_status=$? 75371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 75381.19Sbjh21 (exit $ac_status); }; }; then 75391.19Sbjh21 eval "$as_ac_var=yes" 75401.19Sbjh21else 75411.19Sbjh21 echo "$as_me: failed program was:" >&5 75421.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 75431.53Sdogcow 75441.19Sbjh21eval "$as_ac_var=no" 75451.19Sbjh21fi 75461.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 75471.53Sdogcow conftest$ac_exeext conftest.$ac_ext 75481.19Sbjh21fi 75491.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 75501.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 75511.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then 75521.19Sbjh21 75531.53Sdogcowcat >>confdefs.h <<_ACEOF 75541.19Sbjh21#define CRAY_STACKSEG_END $ac_func 75551.53Sdogcow_ACEOF 75561.19Sbjh21 75571.19Sbjh21 break 75581.19Sbjh21fi 75591.19Sbjh21 75601.19Sbjh21 done 75611.19Sbjh21fi 75621.19Sbjh21 75631.53Sdogcowecho "$as_me:$LINENO: checking stack direction for C alloca" >&5 75641.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 75651.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then 75661.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 75671.19Sbjh21else 75681.19Sbjh21 if test "$cross_compiling" = yes; then 75691.19Sbjh21 ac_cv_c_stack_direction=0 75701.19Sbjh21else 75711.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 75721.53Sdogcow/* confdefs.h. */ 75731.53Sdogcow_ACEOF 75741.53Sdogcowcat confdefs.h >>conftest.$ac_ext 75751.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 75761.53Sdogcow/* end confdefs.h. */ 75771.19Sbjh21int 75781.19Sbjh21find_stack_direction () 75791.19Sbjh21{ 75801.19Sbjh21 static char *addr = 0; 75811.19Sbjh21 auto char dummy; 75821.19Sbjh21 if (addr == 0) 75831.19Sbjh21 { 75841.19Sbjh21 addr = &dummy; 75851.19Sbjh21 return find_stack_direction (); 75861.19Sbjh21 } 75871.19Sbjh21 else 75881.19Sbjh21 return (&dummy > addr) ? 1 : -1; 75891.19Sbjh21} 75901.19Sbjh21 75911.43Sdbjint 75921.43Sdbjmain () 75931.43Sdbj{ 75941.43Sdbj exit (find_stack_direction () < 0); 75951.43Sdbj} 75961.43Sdbj_ACEOF 75971.43Sdbjrm -f conftest$ac_exeext 75981.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 75991.43Sdbj (eval $ac_link) 2>&5 76001.43Sdbj ac_status=$? 76011.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 76021.43Sdbj (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 76031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 76041.43Sdbj (eval $ac_try) 2>&5 76051.43Sdbj ac_status=$? 76061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 76071.43Sdbj (exit $ac_status); }; }; then 76081.43Sdbj ac_cv_c_stack_direction=1 76091.43Sdbjelse 76101.43Sdbj echo "$as_me: program exited with status $ac_status" >&5 76111.43Sdbjecho "$as_me: failed program was:" >&5 76121.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 76131.53Sdogcow 76141.53Sdogcow( exit $ac_status ) 76151.43Sdbjac_cv_c_stack_direction=-1 76161.43Sdbjfi 76171.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 76181.43Sdbjfi 76191.43Sdbjfi 76201.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 76211.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6 76221.39Sfredb 76231.53Sdogcowcat >>confdefs.h <<_ACEOF 76241.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction 76251.53Sdogcow_ACEOF 76261.53Sdogcow 76271.39Sfredb 76281.43Sdbjfi 76291.40Satatat 76301.53Sdogcow 76311.53Sdogcow 76321.53Sdogcow 76331.53Sdogcow 76341.53Sdogcow 76351.53Sdogcow 76361.53Sdogcow 76371.53Sdogcow 76381.53Sdogcow 76391.53Sdogcow 76401.53Sdogcow 76411.53Sdogcow 76421.53Sdogcow 76431.53Sdogcow 76441.53Sdogcow 76451.53Sdogcow 76461.53Sdogcow 76471.53Sdogcow 76481.53Sdogcow 76491.53Sdogcow 76501.53Sdogcow 76511.53Sdogcow 76521.53Sdogcow 76531.53Sdogcow 76541.53Sdogcow 76551.53Sdogcow 76561.53Sdogcow 76571.53Sdogcow 76581.53Sdogcow 76591.53Sdogcow 76601.53Sdogcow 76611.53Sdogcow 76621.53Sdogcow 76631.53Sdogcow 76641.53Sdogcow 76651.53Sdogcow 76661.53Sdogcow 76671.53Sdogcow 76681.53Sdogcow 76691.53Sdogcow 76701.53Sdogcow 76711.53Sdogcow 76721.53Sdogcow 76731.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ 76741.44Sthorpej fgetln flock fparseln futimes getopt getopt_long group_from_gid \ 76751.49Sjmc heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ 76761.49Sjmc mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \ 76771.36Sthorpej setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \ 76781.29Slukem strsuftoll strtoll \ 76791.23Sthorpej user_from_uid vasprintf vasnprintf vsnprintf 76801.1Stvdo 76811.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 76821.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5 76831.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6 76841.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then 76851.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 76861.45Sjmcelse 76871.45Sjmc cat >conftest.$ac_ext <<_ACEOF 76881.53Sdogcow/* confdefs.h. */ 76891.53Sdogcow_ACEOF 76901.53Sdogcowcat confdefs.h >>conftest.$ac_ext 76911.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 76921.53Sdogcow/* end confdefs.h. */ 76931.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 76941.53Sdogcow For example, HP-UX 11i <limits.h> declares gettimeofday. */ 76951.53Sdogcow#define $ac_func innocuous_$ac_func 76961.53Sdogcow 76971.45Sjmc/* System header to define __stub macros and hopefully few prototypes, 76981.53Sdogcow which can conflict with char $ac_func (); below. 76991.53Sdogcow Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 77001.53Sdogcow <limits.h> exists even on freestanding compilers. */ 77011.53Sdogcow 77021.53Sdogcow#ifdef __STDC__ 77031.53Sdogcow# include <limits.h> 77041.53Sdogcow#else 77051.53Sdogcow# include <assert.h> 77061.53Sdogcow#endif 77071.53Sdogcow 77081.53Sdogcow#undef $ac_func 77091.53Sdogcow 77101.45Sjmc/* Override any gcc2 internal prototype to avoid an error. */ 77111.45Sjmc#ifdef __cplusplus 77121.45Sjmcextern "C" 77131.53Sdogcow{ 77141.45Sjmc#endif 77151.45Sjmc/* We use char because int might match the return type of a gcc2 77161.45Sjmc builtin and then its argument prototype would still apply. */ 77171.45Sjmcchar $ac_func (); 77181.45Sjmc/* The GNU C library defines this for functions which it implements 77191.45Sjmc to always fail with ENOSYS. Some functions are actually named 77201.45Sjmc something starting with __ and the normal name is an alias. */ 77211.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 77221.45Sjmcchoke me 77231.45Sjmc#else 77241.53Sdogcowchar (*f) () = $ac_func; 77251.53Sdogcow#endif 77261.53Sdogcow#ifdef __cplusplus 77271.53Sdogcow} 77281.45Sjmc#endif 77291.45Sjmc 77301.53Sdogcowint 77311.53Sdogcowmain () 77321.53Sdogcow{ 77331.53Sdogcowreturn f != $ac_func; 77341.45Sjmc ; 77351.45Sjmc return 0; 77361.45Sjmc} 77371.45Sjmc_ACEOF 77381.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext 77391.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 77401.53Sdogcow (eval $ac_link) 2>conftest.er1 77411.45Sjmc ac_status=$? 77421.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 77431.53Sdogcow rm -f conftest.er1 77441.53Sdogcow cat conftest.err >&5 77451.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77461.45Sjmc (exit $ac_status); } && 77471.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 77481.53Sdogcow || test ! -s conftest.err' 77491.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77501.53Sdogcow (eval $ac_try) 2>&5 77511.53Sdogcow ac_status=$? 77521.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77531.53Sdogcow (exit $ac_status); }; } && 77541.53Sdogcow { ac_try='test -s conftest$ac_exeext' 77551.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77561.50Sjmc (eval $ac_try) 2>&5 77571.50Sjmc ac_status=$? 77581.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77591.45Sjmc (exit $ac_status); }; }; then 77601.45Sjmc eval "$as_ac_var=yes" 77611.45Sjmcelse 77621.45Sjmc echo "$as_me: failed program was:" >&5 77631.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 77641.53Sdogcow 77651.45Sjmceval "$as_ac_var=no" 77661.45Sjmcfi 77671.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 77681.53Sdogcow conftest$ac_exeext conftest.$ac_ext 77691.45Sjmcfi 77701.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 77711.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 77721.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then 77731.53Sdogcow cat >>confdefs.h <<_ACEOF 77741.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 77751.53Sdogcow_ACEOF 77761.45Sjmc 77771.45Sjmcfi 77781.45Sjmcdone 77791.45Sjmc 77801.53Sdogcow 77811.55Swizecho "$as_me:$LINENO: checking whether strsuftoll is declared" >&5 77821.55Swizecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 77831.55Swizif test "${ac_cv_have_decl_strsuftoll+set}" = set; then 77841.55Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 77851.55Swizelse 77861.55Swiz cat >conftest.$ac_ext <<_ACEOF 77871.55Swiz/* confdefs.h. */ 77881.55Swiz_ACEOF 77891.55Swizcat confdefs.h >>conftest.$ac_ext 77901.55Swizcat >>conftest.$ac_ext <<_ACEOF 77911.55Swiz/* end confdefs.h. */ 77921.55Swiz#include <stdlib.h> 77931.55Swiz 77941.55Swizint 77951.55Swizmain () 77961.55Swiz{ 77971.55Swiz#ifndef strsuftoll 77981.55Swiz char *p = (char *) strsuftoll; 77991.55Swiz#endif 78001.55Swiz 78011.55Swiz ; 78021.55Swiz return 0; 78031.55Swiz} 78041.55Swiz_ACEOF 78051.55Swizrm -f conftest.$ac_objext 78061.55Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 78071.55Swiz (eval $ac_compile) 2>conftest.er1 78081.55Swiz ac_status=$? 78091.55Swiz grep -v '^ *+' conftest.er1 >conftest.err 78101.55Swiz rm -f conftest.er1 78111.55Swiz cat conftest.err >&5 78121.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 78131.55Swiz (exit $ac_status); } && 78141.55Swiz { ac_try='test -z "$ac_c_werror_flag" 78151.55Swiz || test ! -s conftest.err' 78161.55Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78171.55Swiz (eval $ac_try) 2>&5 78181.55Swiz ac_status=$? 78191.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 78201.55Swiz (exit $ac_status); }; } && 78211.55Swiz { ac_try='test -s conftest.$ac_objext' 78221.55Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78231.55Swiz (eval $ac_try) 2>&5 78241.55Swiz ac_status=$? 78251.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 78261.55Swiz (exit $ac_status); }; }; then 78271.55Swiz ac_cv_have_decl_strsuftoll=yes 78281.55Swizelse 78291.55Swiz echo "$as_me: failed program was:" >&5 78301.55Swizsed 's/^/| /' conftest.$ac_ext >&5 78311.55Swiz 78321.55Swizac_cv_have_decl_strsuftoll=no 78331.55Swizfi 78341.55Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 78351.55Swizfi 78361.55Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_strsuftoll" >&5 78371.55Swizecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 78381.55Swizif test $ac_cv_have_decl_strsuftoll = yes; then 78391.55Swiz 78401.55Swizcat >>confdefs.h <<_ACEOF 78411.55Swiz#define HAVE_DECL_STRSUFTOLL 1 78421.55Swiz_ACEOF 78431.55Swiz 78441.55Swiz 78451.55Swizelse 78461.55Swiz cat >>confdefs.h <<_ACEOF 78471.55Swiz#define HAVE_DECL_STRSUFTOLL 0 78481.55Swiz_ACEOF 78491.55Swiz 78501.55Swiz 78511.55Swizfi 78521.55Swiz 78531.55Swiz 78541.55Swiz 78551.53Sdogcowecho "$as_me:$LINENO: checking whether htobe16 is declared" >&5 78561.53Sdogcowecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 78571.53Sdogcowif test "${ac_cv_have_decl_htobe16+set}" = set; then 78581.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 78591.45Sjmcelse 78601.45Sjmc cat >conftest.$ac_ext <<_ACEOF 78611.53Sdogcow/* confdefs.h. */ 78621.53Sdogcow_ACEOF 78631.53Sdogcowcat confdefs.h >>conftest.$ac_ext 78641.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 78651.53Sdogcow/* end confdefs.h. */ 78661.53Sdogcow#include <sys/types.h> 78671.53Sdogcow 78681.52Sdbjint 78691.52Sdbjmain () 78701.52Sdbj{ 78711.53Sdogcow#ifndef htobe16 78721.53Sdogcow char *p = (char *) htobe16; 78731.48Sjmc#endif 78741.45Sjmc 78751.48Sjmc ; 78761.48Sjmc return 0; 78771.48Sjmc} 78781.48Sjmc_ACEOF 78791.53Sdogcowrm -f conftest.$ac_objext 78801.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 78811.53Sdogcow (eval $ac_compile) 2>conftest.er1 78821.48Sjmc ac_status=$? 78831.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 78841.53Sdogcow rm -f conftest.er1 78851.53Sdogcow cat conftest.err >&5 78861.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 78871.48Sjmc (exit $ac_status); } && 78881.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 78891.53Sdogcow || test ! -s conftest.err' 78901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78911.53Sdogcow (eval $ac_try) 2>&5 78921.53Sdogcow ac_status=$? 78931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 78941.53Sdogcow (exit $ac_status); }; } && 78951.53Sdogcow { ac_try='test -s conftest.$ac_objext' 78961.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78971.48Sjmc (eval $ac_try) 2>&5 78981.48Sjmc ac_status=$? 78991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79001.48Sjmc (exit $ac_status); }; }; then 79011.53Sdogcow ac_cv_have_decl_htobe16=yes 79021.48Sjmcelse 79031.48Sjmc echo "$as_me: failed program was:" >&5 79041.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 79051.53Sdogcow 79061.53Sdogcowac_cv_have_decl_htobe16=no 79071.48Sjmcfi 79081.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 79091.48Sjmcfi 79101.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5 79111.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 79121.53Sdogcowif test $ac_cv_have_decl_htobe16 = yes; then 79131.53Sdogcow 79141.53Sdogcowcat >>confdefs.h <<_ACEOF 79151.53Sdogcow#define HAVE_DECL_HTOBE16 1 79161.53Sdogcow_ACEOF 79171.53Sdogcow 79181.53Sdogcow 79191.53Sdogcowelse 79201.53Sdogcow cat >>confdefs.h <<_ACEOF 79211.53Sdogcow#define HAVE_DECL_HTOBE16 0 79221.53Sdogcow_ACEOF 79231.53Sdogcow 79241.48Sjmc 79251.48Sjmcfi 79261.53Sdogcowecho "$as_me:$LINENO: checking whether htobe32 is declared" >&5 79271.53Sdogcowecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 79281.53Sdogcowif test "${ac_cv_have_decl_htobe32+set}" = set; then 79291.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 79301.48Sjmcelse 79311.48Sjmc cat >conftest.$ac_ext <<_ACEOF 79321.53Sdogcow/* confdefs.h. */ 79331.53Sdogcow_ACEOF 79341.53Sdogcowcat confdefs.h >>conftest.$ac_ext 79351.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 79361.53Sdogcow/* end confdefs.h. */ 79371.53Sdogcow#include <sys/types.h> 79381.53Sdogcow 79391.53Sdogcowint 79401.53Sdogcowmain () 79411.53Sdogcow{ 79421.53Sdogcow#ifndef htobe32 79431.53Sdogcow char *p = (char *) htobe32; 79441.53Sdogcow#endif 79451.53Sdogcow 79461.53Sdogcow ; 79471.53Sdogcow return 0; 79481.53Sdogcow} 79491.53Sdogcow_ACEOF 79501.53Sdogcowrm -f conftest.$ac_objext 79511.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 79521.53Sdogcow (eval $ac_compile) 2>conftest.er1 79531.53Sdogcow ac_status=$? 79541.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 79551.53Sdogcow rm -f conftest.er1 79561.53Sdogcow cat conftest.err >&5 79571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79581.53Sdogcow (exit $ac_status); } && 79591.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 79601.53Sdogcow || test ! -s conftest.err' 79611.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79621.53Sdogcow (eval $ac_try) 2>&5 79631.53Sdogcow ac_status=$? 79641.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79651.53Sdogcow (exit $ac_status); }; } && 79661.53Sdogcow { ac_try='test -s conftest.$ac_objext' 79671.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79681.53Sdogcow (eval $ac_try) 2>&5 79691.53Sdogcow ac_status=$? 79701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79711.53Sdogcow (exit $ac_status); }; }; then 79721.53Sdogcow ac_cv_have_decl_htobe32=yes 79731.53Sdogcowelse 79741.53Sdogcow echo "$as_me: failed program was:" >&5 79751.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 79761.53Sdogcow 79771.53Sdogcowac_cv_have_decl_htobe32=no 79781.53Sdogcowfi 79791.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 79801.53Sdogcowfi 79811.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5 79821.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 79831.53Sdogcowif test $ac_cv_have_decl_htobe32 = yes; then 79841.53Sdogcow 79851.53Sdogcowcat >>confdefs.h <<_ACEOF 79861.53Sdogcow#define HAVE_DECL_HTOBE32 1 79871.53Sdogcow_ACEOF 79881.53Sdogcow 79891.53Sdogcow 79901.53Sdogcowelse 79911.53Sdogcow cat >>confdefs.h <<_ACEOF 79921.53Sdogcow#define HAVE_DECL_HTOBE32 0 79931.53Sdogcow_ACEOF 79941.53Sdogcow 79951.53Sdogcow 79961.53Sdogcowfi 79971.53Sdogcowecho "$as_me:$LINENO: checking whether htobe64 is declared" >&5 79981.53Sdogcowecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 79991.53Sdogcowif test "${ac_cv_have_decl_htobe64+set}" = set; then 80001.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 80011.53Sdogcowelse 80021.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 80031.53Sdogcow/* confdefs.h. */ 80041.53Sdogcow_ACEOF 80051.53Sdogcowcat confdefs.h >>conftest.$ac_ext 80061.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 80071.53Sdogcow/* end confdefs.h. */ 80081.53Sdogcow#include <sys/types.h> 80091.53Sdogcow 80101.53Sdogcowint 80111.53Sdogcowmain () 80121.53Sdogcow{ 80131.53Sdogcow#ifndef htobe64 80141.53Sdogcow char *p = (char *) htobe64; 80151.53Sdogcow#endif 80161.53Sdogcow 80171.53Sdogcow ; 80181.53Sdogcow return 0; 80191.53Sdogcow} 80201.53Sdogcow_ACEOF 80211.53Sdogcowrm -f conftest.$ac_objext 80221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 80231.53Sdogcow (eval $ac_compile) 2>conftest.er1 80241.53Sdogcow ac_status=$? 80251.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 80261.53Sdogcow rm -f conftest.er1 80271.53Sdogcow cat conftest.err >&5 80281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80291.53Sdogcow (exit $ac_status); } && 80301.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 80311.53Sdogcow || test ! -s conftest.err' 80321.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80331.53Sdogcow (eval $ac_try) 2>&5 80341.53Sdogcow ac_status=$? 80351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80361.53Sdogcow (exit $ac_status); }; } && 80371.53Sdogcow { ac_try='test -s conftest.$ac_objext' 80381.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80391.53Sdogcow (eval $ac_try) 2>&5 80401.53Sdogcow ac_status=$? 80411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80421.53Sdogcow (exit $ac_status); }; }; then 80431.53Sdogcow ac_cv_have_decl_htobe64=yes 80441.53Sdogcowelse 80451.53Sdogcow echo "$as_me: failed program was:" >&5 80461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 80471.53Sdogcow 80481.53Sdogcowac_cv_have_decl_htobe64=no 80491.53Sdogcowfi 80501.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 80511.53Sdogcowfi 80521.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5 80531.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 80541.53Sdogcowif test $ac_cv_have_decl_htobe64 = yes; then 80551.53Sdogcow 80561.53Sdogcowcat >>confdefs.h <<_ACEOF 80571.53Sdogcow#define HAVE_DECL_HTOBE64 1 80581.53Sdogcow_ACEOF 80591.53Sdogcow 80601.53Sdogcow 80611.53Sdogcowelse 80621.53Sdogcow cat >>confdefs.h <<_ACEOF 80631.53Sdogcow#define HAVE_DECL_HTOBE64 0 80641.53Sdogcow_ACEOF 80651.53Sdogcow 80661.53Sdogcow 80671.53Sdogcowfi 80681.53Sdogcowecho "$as_me:$LINENO: checking whether htole16 is declared" >&5 80691.53Sdogcowecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 80701.53Sdogcowif test "${ac_cv_have_decl_htole16+set}" = set; then 80711.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 80721.53Sdogcowelse 80731.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 80741.53Sdogcow/* confdefs.h. */ 80751.53Sdogcow_ACEOF 80761.53Sdogcowcat confdefs.h >>conftest.$ac_ext 80771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 80781.53Sdogcow/* end confdefs.h. */ 80791.53Sdogcow#include <sys/types.h> 80801.53Sdogcow 80811.53Sdogcowint 80821.53Sdogcowmain () 80831.53Sdogcow{ 80841.53Sdogcow#ifndef htole16 80851.53Sdogcow char *p = (char *) htole16; 80861.53Sdogcow#endif 80871.53Sdogcow 80881.53Sdogcow ; 80891.53Sdogcow return 0; 80901.53Sdogcow} 80911.53Sdogcow_ACEOF 80921.53Sdogcowrm -f conftest.$ac_objext 80931.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 80941.53Sdogcow (eval $ac_compile) 2>conftest.er1 80951.53Sdogcow ac_status=$? 80961.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 80971.53Sdogcow rm -f conftest.er1 80981.53Sdogcow cat conftest.err >&5 80991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81001.53Sdogcow (exit $ac_status); } && 81011.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 81021.53Sdogcow || test ! -s conftest.err' 81031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81041.53Sdogcow (eval $ac_try) 2>&5 81051.53Sdogcow ac_status=$? 81061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81071.53Sdogcow (exit $ac_status); }; } && 81081.53Sdogcow { ac_try='test -s conftest.$ac_objext' 81091.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81101.53Sdogcow (eval $ac_try) 2>&5 81111.53Sdogcow ac_status=$? 81121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81131.53Sdogcow (exit $ac_status); }; }; then 81141.53Sdogcow ac_cv_have_decl_htole16=yes 81151.53Sdogcowelse 81161.53Sdogcow echo "$as_me: failed program was:" >&5 81171.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 81181.53Sdogcow 81191.53Sdogcowac_cv_have_decl_htole16=no 81201.53Sdogcowfi 81211.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 81221.53Sdogcowfi 81231.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5 81241.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6 81251.53Sdogcowif test $ac_cv_have_decl_htole16 = yes; then 81261.53Sdogcow 81271.53Sdogcowcat >>confdefs.h <<_ACEOF 81281.53Sdogcow#define HAVE_DECL_HTOLE16 1 81291.53Sdogcow_ACEOF 81301.53Sdogcow 81311.53Sdogcow 81321.53Sdogcowelse 81331.53Sdogcow cat >>confdefs.h <<_ACEOF 81341.53Sdogcow#define HAVE_DECL_HTOLE16 0 81351.53Sdogcow_ACEOF 81361.53Sdogcow 81371.53Sdogcow 81381.53Sdogcowfi 81391.53Sdogcowecho "$as_me:$LINENO: checking whether htole32 is declared" >&5 81401.53Sdogcowecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 81411.53Sdogcowif test "${ac_cv_have_decl_htole32+set}" = set; then 81421.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 81431.53Sdogcowelse 81441.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 81451.53Sdogcow/* confdefs.h. */ 81461.53Sdogcow_ACEOF 81471.53Sdogcowcat confdefs.h >>conftest.$ac_ext 81481.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 81491.53Sdogcow/* end confdefs.h. */ 81501.53Sdogcow#include <sys/types.h> 81511.53Sdogcow 81521.53Sdogcowint 81531.53Sdogcowmain () 81541.53Sdogcow{ 81551.53Sdogcow#ifndef htole32 81561.53Sdogcow char *p = (char *) htole32; 81571.53Sdogcow#endif 81581.53Sdogcow 81591.53Sdogcow ; 81601.53Sdogcow return 0; 81611.53Sdogcow} 81621.53Sdogcow_ACEOF 81631.53Sdogcowrm -f conftest.$ac_objext 81641.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 81651.53Sdogcow (eval $ac_compile) 2>conftest.er1 81661.53Sdogcow ac_status=$? 81671.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 81681.53Sdogcow rm -f conftest.er1 81691.53Sdogcow cat conftest.err >&5 81701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81711.53Sdogcow (exit $ac_status); } && 81721.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 81731.53Sdogcow || test ! -s conftest.err' 81741.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81751.53Sdogcow (eval $ac_try) 2>&5 81761.53Sdogcow ac_status=$? 81771.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81781.53Sdogcow (exit $ac_status); }; } && 81791.53Sdogcow { ac_try='test -s conftest.$ac_objext' 81801.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81811.53Sdogcow (eval $ac_try) 2>&5 81821.53Sdogcow ac_status=$? 81831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81841.53Sdogcow (exit $ac_status); }; }; then 81851.53Sdogcow ac_cv_have_decl_htole32=yes 81861.53Sdogcowelse 81871.53Sdogcow echo "$as_me: failed program was:" >&5 81881.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 81891.53Sdogcow 81901.53Sdogcowac_cv_have_decl_htole32=no 81911.53Sdogcowfi 81921.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 81931.53Sdogcowfi 81941.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5 81951.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6 81961.53Sdogcowif test $ac_cv_have_decl_htole32 = yes; then 81971.53Sdogcow 81981.53Sdogcowcat >>confdefs.h <<_ACEOF 81991.53Sdogcow#define HAVE_DECL_HTOLE32 1 82001.53Sdogcow_ACEOF 82011.53Sdogcow 82021.53Sdogcow 82031.53Sdogcowelse 82041.53Sdogcow cat >>confdefs.h <<_ACEOF 82051.53Sdogcow#define HAVE_DECL_HTOLE32 0 82061.53Sdogcow_ACEOF 82071.53Sdogcow 82081.53Sdogcow 82091.53Sdogcowfi 82101.53Sdogcowecho "$as_me:$LINENO: checking whether htole64 is declared" >&5 82111.53Sdogcowecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 82121.53Sdogcowif test "${ac_cv_have_decl_htole64+set}" = set; then 82131.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 82141.53Sdogcowelse 82151.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 82161.53Sdogcow/* confdefs.h. */ 82171.53Sdogcow_ACEOF 82181.53Sdogcowcat confdefs.h >>conftest.$ac_ext 82191.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 82201.53Sdogcow/* end confdefs.h. */ 82211.53Sdogcow#include <sys/types.h> 82221.53Sdogcow 82231.53Sdogcowint 82241.53Sdogcowmain () 82251.53Sdogcow{ 82261.53Sdogcow#ifndef htole64 82271.53Sdogcow char *p = (char *) htole64; 82281.53Sdogcow#endif 82291.53Sdogcow 82301.53Sdogcow ; 82311.53Sdogcow return 0; 82321.53Sdogcow} 82331.53Sdogcow_ACEOF 82341.53Sdogcowrm -f conftest.$ac_objext 82351.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 82361.53Sdogcow (eval $ac_compile) 2>conftest.er1 82371.53Sdogcow ac_status=$? 82381.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 82391.53Sdogcow rm -f conftest.er1 82401.53Sdogcow cat conftest.err >&5 82411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82421.53Sdogcow (exit $ac_status); } && 82431.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 82441.53Sdogcow || test ! -s conftest.err' 82451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82461.53Sdogcow (eval $ac_try) 2>&5 82471.53Sdogcow ac_status=$? 82481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82491.53Sdogcow (exit $ac_status); }; } && 82501.53Sdogcow { ac_try='test -s conftest.$ac_objext' 82511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82521.53Sdogcow (eval $ac_try) 2>&5 82531.53Sdogcow ac_status=$? 82541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82551.53Sdogcow (exit $ac_status); }; }; then 82561.53Sdogcow ac_cv_have_decl_htole64=yes 82571.53Sdogcowelse 82581.53Sdogcow echo "$as_me: failed program was:" >&5 82591.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 82601.53Sdogcow 82611.53Sdogcowac_cv_have_decl_htole64=no 82621.53Sdogcowfi 82631.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 82641.53Sdogcowfi 82651.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5 82661.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6 82671.53Sdogcowif test $ac_cv_have_decl_htole64 = yes; then 82681.53Sdogcow 82691.53Sdogcowcat >>confdefs.h <<_ACEOF 82701.53Sdogcow#define HAVE_DECL_HTOLE64 1 82711.53Sdogcow_ACEOF 82721.53Sdogcow 82731.53Sdogcow 82741.53Sdogcowelse 82751.53Sdogcow cat >>confdefs.h <<_ACEOF 82761.53Sdogcow#define HAVE_DECL_HTOLE64 0 82771.53Sdogcow_ACEOF 82781.53Sdogcow 82791.53Sdogcow 82801.53Sdogcowfi 82811.53Sdogcowecho "$as_me:$LINENO: checking whether be16toh is declared" >&5 82821.53Sdogcowecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 82831.53Sdogcowif test "${ac_cv_have_decl_be16toh+set}" = set; then 82841.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 82851.53Sdogcowelse 82861.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 82871.53Sdogcow/* confdefs.h. */ 82881.53Sdogcow_ACEOF 82891.53Sdogcowcat confdefs.h >>conftest.$ac_ext 82901.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 82911.53Sdogcow/* end confdefs.h. */ 82921.53Sdogcow#include <sys/types.h> 82931.53Sdogcow 82941.53Sdogcowint 82951.53Sdogcowmain () 82961.53Sdogcow{ 82971.53Sdogcow#ifndef be16toh 82981.53Sdogcow char *p = (char *) be16toh; 82991.53Sdogcow#endif 83001.53Sdogcow 83011.53Sdogcow ; 83021.53Sdogcow return 0; 83031.53Sdogcow} 83041.53Sdogcow_ACEOF 83051.53Sdogcowrm -f conftest.$ac_objext 83061.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 83071.53Sdogcow (eval $ac_compile) 2>conftest.er1 83081.53Sdogcow ac_status=$? 83091.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 83101.53Sdogcow rm -f conftest.er1 83111.53Sdogcow cat conftest.err >&5 83121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83131.53Sdogcow (exit $ac_status); } && 83141.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 83151.53Sdogcow || test ! -s conftest.err' 83161.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83171.53Sdogcow (eval $ac_try) 2>&5 83181.53Sdogcow ac_status=$? 83191.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83201.53Sdogcow (exit $ac_status); }; } && 83211.53Sdogcow { ac_try='test -s conftest.$ac_objext' 83221.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83231.53Sdogcow (eval $ac_try) 2>&5 83241.53Sdogcow ac_status=$? 83251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83261.53Sdogcow (exit $ac_status); }; }; then 83271.53Sdogcow ac_cv_have_decl_be16toh=yes 83281.53Sdogcowelse 83291.53Sdogcow echo "$as_me: failed program was:" >&5 83301.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 83311.53Sdogcow 83321.53Sdogcowac_cv_have_decl_be16toh=no 83331.53Sdogcowfi 83341.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 83351.53Sdogcowfi 83361.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5 83371.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 83381.53Sdogcowif test $ac_cv_have_decl_be16toh = yes; then 83391.53Sdogcow 83401.53Sdogcowcat >>confdefs.h <<_ACEOF 83411.53Sdogcow#define HAVE_DECL_BE16TOH 1 83421.53Sdogcow_ACEOF 83431.53Sdogcow 83441.53Sdogcow 83451.53Sdogcowelse 83461.53Sdogcow cat >>confdefs.h <<_ACEOF 83471.53Sdogcow#define HAVE_DECL_BE16TOH 0 83481.53Sdogcow_ACEOF 83491.53Sdogcow 83501.53Sdogcow 83511.53Sdogcowfi 83521.53Sdogcowecho "$as_me:$LINENO: checking whether be32toh is declared" >&5 83531.53Sdogcowecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 83541.53Sdogcowif test "${ac_cv_have_decl_be32toh+set}" = set; then 83551.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 83561.53Sdogcowelse 83571.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 83581.53Sdogcow/* confdefs.h. */ 83591.53Sdogcow_ACEOF 83601.53Sdogcowcat confdefs.h >>conftest.$ac_ext 83611.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 83621.53Sdogcow/* end confdefs.h. */ 83631.53Sdogcow#include <sys/types.h> 83641.53Sdogcow 83651.53Sdogcowint 83661.53Sdogcowmain () 83671.53Sdogcow{ 83681.53Sdogcow#ifndef be32toh 83691.53Sdogcow char *p = (char *) be32toh; 83701.53Sdogcow#endif 83711.53Sdogcow 83721.53Sdogcow ; 83731.53Sdogcow return 0; 83741.53Sdogcow} 83751.53Sdogcow_ACEOF 83761.53Sdogcowrm -f conftest.$ac_objext 83771.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 83781.53Sdogcow (eval $ac_compile) 2>conftest.er1 83791.53Sdogcow ac_status=$? 83801.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 83811.53Sdogcow rm -f conftest.er1 83821.53Sdogcow cat conftest.err >&5 83831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83841.53Sdogcow (exit $ac_status); } && 83851.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 83861.53Sdogcow || test ! -s conftest.err' 83871.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83881.53Sdogcow (eval $ac_try) 2>&5 83891.53Sdogcow ac_status=$? 83901.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83911.53Sdogcow (exit $ac_status); }; } && 83921.53Sdogcow { ac_try='test -s conftest.$ac_objext' 83931.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83941.53Sdogcow (eval $ac_try) 2>&5 83951.53Sdogcow ac_status=$? 83961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83971.53Sdogcow (exit $ac_status); }; }; then 83981.53Sdogcow ac_cv_have_decl_be32toh=yes 83991.53Sdogcowelse 84001.53Sdogcow echo "$as_me: failed program was:" >&5 84011.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 84021.53Sdogcow 84031.53Sdogcowac_cv_have_decl_be32toh=no 84041.53Sdogcowfi 84051.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 84061.53Sdogcowfi 84071.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be32toh" >&5 84081.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 84091.53Sdogcowif test $ac_cv_have_decl_be32toh = yes; then 84101.53Sdogcow 84111.53Sdogcowcat >>confdefs.h <<_ACEOF 84121.53Sdogcow#define HAVE_DECL_BE32TOH 1 84131.53Sdogcow_ACEOF 84141.53Sdogcow 84151.53Sdogcow 84161.53Sdogcowelse 84171.53Sdogcow cat >>confdefs.h <<_ACEOF 84181.53Sdogcow#define HAVE_DECL_BE32TOH 0 84191.53Sdogcow_ACEOF 84201.53Sdogcow 84211.53Sdogcow 84221.53Sdogcowfi 84231.53Sdogcowecho "$as_me:$LINENO: checking whether be64toh is declared" >&5 84241.53Sdogcowecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 84251.53Sdogcowif test "${ac_cv_have_decl_be64toh+set}" = set; then 84261.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 84271.53Sdogcowelse 84281.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 84291.53Sdogcow/* confdefs.h. */ 84301.53Sdogcow_ACEOF 84311.53Sdogcowcat confdefs.h >>conftest.$ac_ext 84321.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 84331.53Sdogcow/* end confdefs.h. */ 84341.53Sdogcow#include <sys/types.h> 84351.53Sdogcow 84361.53Sdogcowint 84371.53Sdogcowmain () 84381.53Sdogcow{ 84391.53Sdogcow#ifndef be64toh 84401.53Sdogcow char *p = (char *) be64toh; 84411.53Sdogcow#endif 84421.53Sdogcow 84431.53Sdogcow ; 84441.53Sdogcow return 0; 84451.53Sdogcow} 84461.53Sdogcow_ACEOF 84471.53Sdogcowrm -f conftest.$ac_objext 84481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 84491.53Sdogcow (eval $ac_compile) 2>conftest.er1 84501.53Sdogcow ac_status=$? 84511.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 84521.53Sdogcow rm -f conftest.er1 84531.53Sdogcow cat conftest.err >&5 84541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84551.53Sdogcow (exit $ac_status); } && 84561.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 84571.53Sdogcow || test ! -s conftest.err' 84581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84591.53Sdogcow (eval $ac_try) 2>&5 84601.53Sdogcow ac_status=$? 84611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84621.53Sdogcow (exit $ac_status); }; } && 84631.53Sdogcow { ac_try='test -s conftest.$ac_objext' 84641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84651.53Sdogcow (eval $ac_try) 2>&5 84661.53Sdogcow ac_status=$? 84671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84681.53Sdogcow (exit $ac_status); }; }; then 84691.53Sdogcow ac_cv_have_decl_be64toh=yes 84701.53Sdogcowelse 84711.53Sdogcow echo "$as_me: failed program was:" >&5 84721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 84731.53Sdogcow 84741.53Sdogcowac_cv_have_decl_be64toh=no 84751.53Sdogcowfi 84761.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 84771.53Sdogcowfi 84781.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5 84791.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 84801.53Sdogcowif test $ac_cv_have_decl_be64toh = yes; then 84811.53Sdogcow 84821.53Sdogcowcat >>confdefs.h <<_ACEOF 84831.53Sdogcow#define HAVE_DECL_BE64TOH 1 84841.53Sdogcow_ACEOF 84851.53Sdogcow 84861.53Sdogcow 84871.53Sdogcowelse 84881.53Sdogcow cat >>confdefs.h <<_ACEOF 84891.53Sdogcow#define HAVE_DECL_BE64TOH 0 84901.53Sdogcow_ACEOF 84911.53Sdogcow 84921.53Sdogcow 84931.53Sdogcowfi 84941.53Sdogcowecho "$as_me:$LINENO: checking whether le16toh is declared" >&5 84951.53Sdogcowecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 84961.53Sdogcowif test "${ac_cv_have_decl_le16toh+set}" = set; then 84971.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 84981.53Sdogcowelse 84991.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 85001.53Sdogcow/* confdefs.h. */ 85011.53Sdogcow_ACEOF 85021.53Sdogcowcat confdefs.h >>conftest.$ac_ext 85031.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 85041.53Sdogcow/* end confdefs.h. */ 85051.53Sdogcow#include <sys/types.h> 85061.53Sdogcow 85071.53Sdogcowint 85081.53Sdogcowmain () 85091.53Sdogcow{ 85101.53Sdogcow#ifndef le16toh 85111.53Sdogcow char *p = (char *) le16toh; 85121.53Sdogcow#endif 85131.53Sdogcow 85141.53Sdogcow ; 85151.53Sdogcow return 0; 85161.53Sdogcow} 85171.53Sdogcow_ACEOF 85181.53Sdogcowrm -f conftest.$ac_objext 85191.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 85201.53Sdogcow (eval $ac_compile) 2>conftest.er1 85211.53Sdogcow ac_status=$? 85221.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 85231.53Sdogcow rm -f conftest.er1 85241.53Sdogcow cat conftest.err >&5 85251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85261.53Sdogcow (exit $ac_status); } && 85271.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 85281.53Sdogcow || test ! -s conftest.err' 85291.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85301.53Sdogcow (eval $ac_try) 2>&5 85311.53Sdogcow ac_status=$? 85321.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85331.53Sdogcow (exit $ac_status); }; } && 85341.53Sdogcow { ac_try='test -s conftest.$ac_objext' 85351.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85361.53Sdogcow (eval $ac_try) 2>&5 85371.53Sdogcow ac_status=$? 85381.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85391.53Sdogcow (exit $ac_status); }; }; then 85401.53Sdogcow ac_cv_have_decl_le16toh=yes 85411.53Sdogcowelse 85421.53Sdogcow echo "$as_me: failed program was:" >&5 85431.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 85441.53Sdogcow 85451.53Sdogcowac_cv_have_decl_le16toh=no 85461.53Sdogcowfi 85471.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 85481.53Sdogcowfi 85491.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5 85501.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 85511.53Sdogcowif test $ac_cv_have_decl_le16toh = yes; then 85521.53Sdogcow 85531.53Sdogcowcat >>confdefs.h <<_ACEOF 85541.53Sdogcow#define HAVE_DECL_LE16TOH 1 85551.53Sdogcow_ACEOF 85561.53Sdogcow 85571.53Sdogcow 85581.53Sdogcowelse 85591.53Sdogcow cat >>confdefs.h <<_ACEOF 85601.53Sdogcow#define HAVE_DECL_LE16TOH 0 85611.53Sdogcow_ACEOF 85621.53Sdogcow 85631.53Sdogcow 85641.53Sdogcowfi 85651.53Sdogcowecho "$as_me:$LINENO: checking whether le32toh is declared" >&5 85661.53Sdogcowecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 85671.53Sdogcowif test "${ac_cv_have_decl_le32toh+set}" = set; then 85681.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 85691.53Sdogcowelse 85701.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 85711.53Sdogcow/* confdefs.h. */ 85721.53Sdogcow_ACEOF 85731.53Sdogcowcat confdefs.h >>conftest.$ac_ext 85741.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 85751.53Sdogcow/* end confdefs.h. */ 85761.53Sdogcow#include <sys/types.h> 85771.53Sdogcow 85781.53Sdogcowint 85791.53Sdogcowmain () 85801.53Sdogcow{ 85811.53Sdogcow#ifndef le32toh 85821.53Sdogcow char *p = (char *) le32toh; 85831.53Sdogcow#endif 85841.53Sdogcow 85851.53Sdogcow ; 85861.53Sdogcow return 0; 85871.53Sdogcow} 85881.53Sdogcow_ACEOF 85891.53Sdogcowrm -f conftest.$ac_objext 85901.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 85911.53Sdogcow (eval $ac_compile) 2>conftest.er1 85921.53Sdogcow ac_status=$? 85931.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 85941.53Sdogcow rm -f conftest.er1 85951.53Sdogcow cat conftest.err >&5 85961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85971.53Sdogcow (exit $ac_status); } && 85981.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 85991.53Sdogcow || test ! -s conftest.err' 86001.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86011.53Sdogcow (eval $ac_try) 2>&5 86021.53Sdogcow ac_status=$? 86031.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 86041.53Sdogcow (exit $ac_status); }; } && 86051.53Sdogcow { ac_try='test -s conftest.$ac_objext' 86061.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86071.53Sdogcow (eval $ac_try) 2>&5 86081.53Sdogcow ac_status=$? 86091.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 86101.53Sdogcow (exit $ac_status); }; }; then 86111.53Sdogcow ac_cv_have_decl_le32toh=yes 86121.53Sdogcowelse 86131.53Sdogcow echo "$as_me: failed program was:" >&5 86141.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 86151.53Sdogcow 86161.53Sdogcowac_cv_have_decl_le32toh=no 86171.53Sdogcowfi 86181.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 86191.53Sdogcowfi 86201.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5 86211.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 86221.53Sdogcowif test $ac_cv_have_decl_le32toh = yes; then 86231.53Sdogcow 86241.53Sdogcowcat >>confdefs.h <<_ACEOF 86251.53Sdogcow#define HAVE_DECL_LE32TOH 1 86261.53Sdogcow_ACEOF 86271.53Sdogcow 86281.53Sdogcow 86291.53Sdogcowelse 86301.53Sdogcow cat >>confdefs.h <<_ACEOF 86311.53Sdogcow#define HAVE_DECL_LE32TOH 0 86321.53Sdogcow_ACEOF 86331.53Sdogcow 86341.53Sdogcow 86351.53Sdogcowfi 86361.53Sdogcowecho "$as_me:$LINENO: checking whether le64toh is declared" >&5 86371.53Sdogcowecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 86381.53Sdogcowif test "${ac_cv_have_decl_le64toh+set}" = set; then 86391.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 86401.53Sdogcowelse 86411.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 86421.53Sdogcow/* confdefs.h. */ 86431.53Sdogcow_ACEOF 86441.53Sdogcowcat confdefs.h >>conftest.$ac_ext 86451.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 86461.53Sdogcow/* end confdefs.h. */ 86471.53Sdogcow#include <sys/types.h> 86481.53Sdogcow 86491.53Sdogcowint 86501.53Sdogcowmain () 86511.53Sdogcow{ 86521.53Sdogcow#ifndef le64toh 86531.53Sdogcow char *p = (char *) le64toh; 86541.53Sdogcow#endif 86551.53Sdogcow 86561.53Sdogcow ; 86571.53Sdogcow return 0; 86581.53Sdogcow} 86591.53Sdogcow_ACEOF 86601.53Sdogcowrm -f conftest.$ac_objext 86611.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 86621.53Sdogcow (eval $ac_compile) 2>conftest.er1 86631.53Sdogcow ac_status=$? 86641.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 86651.53Sdogcow rm -f conftest.er1 86661.53Sdogcow cat conftest.err >&5 86671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 86681.53Sdogcow (exit $ac_status); } && 86691.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 86701.53Sdogcow || test ! -s conftest.err' 86711.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86721.53Sdogcow (eval $ac_try) 2>&5 86731.53Sdogcow ac_status=$? 86741.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 86751.53Sdogcow (exit $ac_status); }; } && 86761.53Sdogcow { ac_try='test -s conftest.$ac_objext' 86771.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86781.53Sdogcow (eval $ac_try) 2>&5 86791.53Sdogcow ac_status=$? 86801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 86811.53Sdogcow (exit $ac_status); }; }; then 86821.53Sdogcow ac_cv_have_decl_le64toh=yes 86831.53Sdogcowelse 86841.53Sdogcow echo "$as_me: failed program was:" >&5 86851.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 86861.53Sdogcow 86871.53Sdogcowac_cv_have_decl_le64toh=no 86881.53Sdogcowfi 86891.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 86901.53Sdogcowfi 86911.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5 86921.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 86931.53Sdogcowif test $ac_cv_have_decl_le64toh = yes; then 86941.53Sdogcow 86951.53Sdogcowcat >>confdefs.h <<_ACEOF 86961.53Sdogcow#define HAVE_DECL_LE64TOH 1 86971.53Sdogcow_ACEOF 86981.53Sdogcow 86991.53Sdogcow 87001.53Sdogcowelse 87011.53Sdogcow cat >>confdefs.h <<_ACEOF 87021.53Sdogcow#define HAVE_DECL_LE64TOH 0 87031.53Sdogcow_ACEOF 87041.53Sdogcow 87051.53Sdogcow 87061.53Sdogcowfi 87071.53Sdogcow 87081.53Sdogcow 87091.53Sdogcow 87101.54Swizecho "$as_me:$LINENO: checking whether bswap16 is declared" >&5 87111.54Swizecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 87121.54Swizif test "${ac_cv_have_decl_bswap16+set}" = set; then 87131.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 87141.54Swizelse 87151.54Swiz cat >conftest.$ac_ext <<_ACEOF 87161.54Swiz/* confdefs.h. */ 87171.54Swiz_ACEOF 87181.54Swizcat confdefs.h >>conftest.$ac_ext 87191.54Swizcat >>conftest.$ac_ext <<_ACEOF 87201.54Swiz/* end confdefs.h. */ 87211.54Swiz#include <machine/bswap.h> 87221.54Swiz 87231.54Swizint 87241.54Swizmain () 87251.54Swiz{ 87261.54Swiz#ifndef bswap16 87271.54Swiz char *p = (char *) bswap16; 87281.54Swiz#endif 87291.54Swiz 87301.54Swiz ; 87311.54Swiz return 0; 87321.54Swiz} 87331.54Swiz_ACEOF 87341.54Swizrm -f conftest.$ac_objext 87351.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 87361.54Swiz (eval $ac_compile) 2>conftest.er1 87371.54Swiz ac_status=$? 87381.54Swiz grep -v '^ *+' conftest.er1 >conftest.err 87391.54Swiz rm -f conftest.er1 87401.54Swiz cat conftest.err >&5 87411.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87421.54Swiz (exit $ac_status); } && 87431.54Swiz { ac_try='test -z "$ac_c_werror_flag" 87441.54Swiz || test ! -s conftest.err' 87451.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87461.54Swiz (eval $ac_try) 2>&5 87471.54Swiz ac_status=$? 87481.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87491.54Swiz (exit $ac_status); }; } && 87501.54Swiz { ac_try='test -s conftest.$ac_objext' 87511.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87521.54Swiz (eval $ac_try) 2>&5 87531.54Swiz ac_status=$? 87541.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87551.54Swiz (exit $ac_status); }; }; then 87561.54Swiz ac_cv_have_decl_bswap16=yes 87571.54Swizelse 87581.54Swiz echo "$as_me: failed program was:" >&5 87591.54Swizsed 's/^/| /' conftest.$ac_ext >&5 87601.54Swiz 87611.54Swizac_cv_have_decl_bswap16=no 87621.54Swizfi 87631.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 87641.54Swizfi 87651.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5 87661.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 87671.54Swizif test $ac_cv_have_decl_bswap16 = yes; then 87681.54Swiz 87691.54Swizcat >>confdefs.h <<_ACEOF 87701.54Swiz#define HAVE_DECL_BSWAP16 1 87711.54Swiz_ACEOF 87721.54Swiz 87731.53Sdogcow 87741.54Swizelse 87751.54Swiz cat >>confdefs.h <<_ACEOF 87761.54Swiz#define HAVE_DECL_BSWAP16 0 87771.54Swiz_ACEOF 87781.53Sdogcow 87791.53Sdogcow 87801.54Swizfi 87811.54Swizecho "$as_me:$LINENO: checking whether bswap32 is declared" >&5 87821.54Swizecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 87831.54Swizif test "${ac_cv_have_decl_bswap32+set}" = set; then 87841.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 87851.53Sdogcowelse 87861.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 87871.53Sdogcow/* confdefs.h. */ 87881.53Sdogcow_ACEOF 87891.53Sdogcowcat confdefs.h >>conftest.$ac_ext 87901.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 87911.53Sdogcow/* end confdefs.h. */ 87921.54Swiz#include <machine/bswap.h> 87931.53Sdogcow 87941.54Swizint 87951.54Swizmain () 87961.53Sdogcow{ 87971.54Swiz#ifndef bswap32 87981.54Swiz char *p = (char *) bswap32; 87991.48Sjmc#endif 88001.54Swiz 88011.54Swiz ; 88021.54Swiz return 0; 88031.53Sdogcow} 88041.54Swiz_ACEOF 88051.54Swizrm -f conftest.$ac_objext 88061.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 88071.54Swiz (eval $ac_compile) 2>conftest.er1 88081.54Swiz ac_status=$? 88091.54Swiz grep -v '^ *+' conftest.er1 >conftest.err 88101.54Swiz rm -f conftest.er1 88111.54Swiz cat conftest.err >&5 88121.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 88131.54Swiz (exit $ac_status); } && 88141.54Swiz { ac_try='test -z "$ac_c_werror_flag" 88151.54Swiz || test ! -s conftest.err' 88161.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88171.54Swiz (eval $ac_try) 2>&5 88181.54Swiz ac_status=$? 88191.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 88201.54Swiz (exit $ac_status); }; } && 88211.54Swiz { ac_try='test -s conftest.$ac_objext' 88221.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88231.54Swiz (eval $ac_try) 2>&5 88241.54Swiz ac_status=$? 88251.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 88261.54Swiz (exit $ac_status); }; }; then 88271.54Swiz ac_cv_have_decl_bswap32=yes 88281.54Swizelse 88291.54Swiz echo "$as_me: failed program was:" >&5 88301.54Swizsed 's/^/| /' conftest.$ac_ext >&5 88311.54Swiz 88321.54Swizac_cv_have_decl_bswap32=no 88331.54Swizfi 88341.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 88351.54Swizfi 88361.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5 88371.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 88381.54Swizif test $ac_cv_have_decl_bswap32 = yes; then 88391.54Swiz 88401.54Swizcat >>confdefs.h <<_ACEOF 88411.54Swiz#define HAVE_DECL_BSWAP32 1 88421.54Swiz_ACEOF 88431.54Swiz 88441.54Swiz 88451.54Swizelse 88461.54Swiz cat >>confdefs.h <<_ACEOF 88471.54Swiz#define HAVE_DECL_BSWAP32 0 88481.54Swiz_ACEOF 88491.54Swiz 88501.54Swiz 88511.54Swizfi 88521.54Swizecho "$as_me:$LINENO: checking whether bswap64 is declared" >&5 88531.54Swizecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 88541.54Swizif test "${ac_cv_have_decl_bswap64+set}" = set; then 88551.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 88561.54Swizelse 88571.54Swiz cat >conftest.$ac_ext <<_ACEOF 88581.54Swiz/* confdefs.h. */ 88591.54Swiz_ACEOF 88601.54Swizcat confdefs.h >>conftest.$ac_ext 88611.54Swizcat >>conftest.$ac_ext <<_ACEOF 88621.54Swiz/* end confdefs.h. */ 88631.54Swiz#include <machine/bswap.h> 88641.54Swiz 88651.53Sdogcowint 88661.53Sdogcowmain () 88671.53Sdogcow{ 88681.54Swiz#ifndef bswap64 88691.54Swiz char *p = (char *) bswap64; 88701.54Swiz#endif 88711.54Swiz 88721.45Sjmc ; 88731.45Sjmc return 0; 88741.45Sjmc} 88751.45Sjmc_ACEOF 88761.54Swizrm -f conftest.$ac_objext 88771.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 88781.54Swiz (eval $ac_compile) 2>conftest.er1 88791.45Sjmc ac_status=$? 88801.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 88811.53Sdogcow rm -f conftest.er1 88821.53Sdogcow cat conftest.err >&5 88831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88841.45Sjmc (exit $ac_status); } && 88851.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 88861.53Sdogcow || test ! -s conftest.err' 88871.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88881.53Sdogcow (eval $ac_try) 2>&5 88891.53Sdogcow ac_status=$? 88901.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88911.53Sdogcow (exit $ac_status); }; } && 88921.54Swiz { ac_try='test -s conftest.$ac_objext' 88931.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88941.45Sjmc (eval $ac_try) 2>&5 88951.45Sjmc ac_status=$? 88961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88971.45Sjmc (exit $ac_status); }; }; then 88981.54Swiz ac_cv_have_decl_bswap64=yes 88991.45Sjmcelse 89001.45Sjmc echo "$as_me: failed program was:" >&5 89011.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 89021.53Sdogcow 89031.54Swizac_cv_have_decl_bswap64=no 89041.45Sjmcfi 89051.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 89061.45Sjmcfi 89071.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5 89081.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 89091.54Swizif test $ac_cv_have_decl_bswap64 = yes; then 89101.54Swiz 89111.54Swizcat >>confdefs.h <<_ACEOF 89121.54Swiz#define HAVE_DECL_BSWAP64 1 89131.54Swiz_ACEOF 89141.54Swiz 89151.54Swiz 89161.54Swizelse 89171.53Sdogcow cat >>confdefs.h <<_ACEOF 89181.54Swiz#define HAVE_DECL_BSWAP64 0 89191.53Sdogcow_ACEOF 89201.45Sjmc 89211.54Swiz 89221.45Sjmcfi 89231.45Sjmc 89241.53Sdogcow 89251.53Sdogcow 89261.54Swizecho "$as_me:$LINENO: checking whether fstatvfs is declared" >&5 89271.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 89281.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then 89291.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 89301.1Stvelse 89311.1Stv cat >conftest.$ac_ext <<_ACEOF 89321.53Sdogcow/* confdefs.h. */ 89331.53Sdogcow_ACEOF 89341.53Sdogcowcat confdefs.h >>conftest.$ac_ext 89351.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 89361.53Sdogcow/* end confdefs.h. */ 89371.54Swiz#include <sys/statvfs.h> 89381.53Sdogcow 89391.54Swizint 89401.54Swizmain () 89411.53Sdogcow{ 89421.54Swiz#ifndef fstatvfs 89431.54Swiz char *p = (char *) fstatvfs; 89441.1Stv#endif 89451.1Stv 89461.1Stv ; 89471.1Stv return 0; 89481.1Stv} 89491.1Stv_ACEOF 89501.54Swizrm -f conftest.$ac_objext 89511.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 89521.54Swiz (eval $ac_compile) 2>conftest.er1 89531.1Stv ac_status=$? 89541.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 89551.53Sdogcow rm -f conftest.er1 89561.53Sdogcow cat conftest.err >&5 89571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89581.1Stv (exit $ac_status); } && 89591.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 89601.53Sdogcow || test ! -s conftest.err' 89611.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89621.53Sdogcow (eval $ac_try) 2>&5 89631.53Sdogcow ac_status=$? 89641.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89651.53Sdogcow (exit $ac_status); }; } && 89661.54Swiz { ac_try='test -s conftest.$ac_objext' 89671.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89681.1Stv (eval $ac_try) 2>&5 89691.1Stv ac_status=$? 89701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89711.1Stv (exit $ac_status); }; }; then 89721.54Swiz ac_cv_have_decl_fstatvfs=yes 89731.1Stvelse 89741.1Stv echo "$as_me: failed program was:" >&5 89751.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 89761.53Sdogcow 89771.54Swizac_cv_have_decl_fstatvfs=no 89781.1Stvfi 89791.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 89801.1Stvfi 89811.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5 89821.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 89831.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then 89841.54Swiz 89851.54Swizcat >>confdefs.h <<_ACEOF 89861.54Swiz#define HAVE_DECL_FSTATVFS 1 89871.54Swiz_ACEOF 89881.54Swiz 89891.54Swiz 89901.54Swizelse 89911.53Sdogcow cat >>confdefs.h <<_ACEOF 89921.54Swiz#define HAVE_DECL_FSTATVFS 0 89931.53Sdogcow_ACEOF 89941.1Stv 89951.54Swiz 89961.1Stvfi 89971.54Swiz 89981.1Stv 89991.53Sdogcow 90001.53Sdogcowecho "$as_me:$LINENO: checking whether setgroupent is declared" >&5 90011.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 90021.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then 90031.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 90041.8Stvelse 90051.8Stv cat >conftest.$ac_ext <<_ACEOF 90061.53Sdogcow/* confdefs.h. */ 90071.53Sdogcow_ACEOF 90081.53Sdogcowcat confdefs.h >>conftest.$ac_ext 90091.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 90101.53Sdogcow/* end confdefs.h. */ 90111.8Stv 90121.33Sthorpej#include <sys/types.h> 90131.8Stv#include <grp.h> 90141.8Stv#include <pwd.h> 90151.8Stv 90161.53Sdogcow 90171.8Stvint 90181.8Stvmain () 90191.8Stv{ 90201.8Stv#ifndef setgroupent 90211.8Stv char *p = (char *) setgroupent; 90221.8Stv#endif 90231.8Stv 90241.8Stv ; 90251.8Stv return 0; 90261.8Stv} 90271.8Stv_ACEOF 90281.8Stvrm -f conftest.$ac_objext 90291.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 90301.53Sdogcow (eval $ac_compile) 2>conftest.er1 90311.8Stv ac_status=$? 90321.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 90331.53Sdogcow rm -f conftest.er1 90341.53Sdogcow cat conftest.err >&5 90351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90361.8Stv (exit $ac_status); } && 90371.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 90381.53Sdogcow || test ! -s conftest.err' 90391.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90401.50Sjmc (eval $ac_try) 2>&5 90411.50Sjmc ac_status=$? 90421.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90431.53Sdogcow (exit $ac_status); }; } && 90441.53Sdogcow { ac_try='test -s conftest.$ac_objext' 90451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90461.53Sdogcow (eval $ac_try) 2>&5 90471.53Sdogcow ac_status=$? 90481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90491.8Stv (exit $ac_status); }; }; then 90501.8Stv ac_cv_have_decl_setgroupent=yes 90511.8Stvelse 90521.8Stv echo "$as_me: failed program was:" >&5 90531.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 90541.53Sdogcow 90551.8Stvac_cv_have_decl_setgroupent=no 90561.8Stvfi 90571.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 90581.8Stvfi 90591.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5 90601.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 90611.8Stvif test $ac_cv_have_decl_setgroupent = yes; then 90621.8Stv 90631.53Sdogcowcat >>confdefs.h <<_ACEOF 90641.8Stv#define HAVE_DECL_SETGROUPENT 1 90651.53Sdogcow_ACEOF 90661.53Sdogcow 90671.8Stv 90681.8Stvelse 90691.53Sdogcow cat >>confdefs.h <<_ACEOF 90701.8Stv#define HAVE_DECL_SETGROUPENT 0 90711.53Sdogcow_ACEOF 90721.53Sdogcow 90731.8Stv 90741.8Stvfi 90751.53Sdogcowecho "$as_me:$LINENO: checking whether setpassent is declared" >&5 90761.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 90771.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then 90781.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 90791.8Stvelse 90801.8Stv cat >conftest.$ac_ext <<_ACEOF 90811.53Sdogcow/* confdefs.h. */ 90821.53Sdogcow_ACEOF 90831.53Sdogcowcat confdefs.h >>conftest.$ac_ext 90841.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 90851.53Sdogcow/* end confdefs.h. */ 90861.8Stv 90871.33Sthorpej#include <sys/types.h> 90881.8Stv#include <grp.h> 90891.8Stv#include <pwd.h> 90901.8Stv 90911.53Sdogcow 90921.8Stvint 90931.8Stvmain () 90941.8Stv{ 90951.8Stv#ifndef setpassent 90961.8Stv char *p = (char *) setpassent; 90971.8Stv#endif 90981.8Stv 90991.8Stv ; 91001.8Stv return 0; 91011.8Stv} 91021.8Stv_ACEOF 91031.8Stvrm -f conftest.$ac_objext 91041.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 91051.53Sdogcow (eval $ac_compile) 2>conftest.er1 91061.8Stv ac_status=$? 91071.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 91081.53Sdogcow rm -f conftest.er1 91091.53Sdogcow cat conftest.err >&5 91101.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91111.8Stv (exit $ac_status); } && 91121.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 91131.53Sdogcow || test ! -s conftest.err' 91141.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91151.50Sjmc (eval $ac_try) 2>&5 91161.50Sjmc ac_status=$? 91171.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91181.53Sdogcow (exit $ac_status); }; } && 91191.53Sdogcow { ac_try='test -s conftest.$ac_objext' 91201.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91211.53Sdogcow (eval $ac_try) 2>&5 91221.53Sdogcow ac_status=$? 91231.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91241.8Stv (exit $ac_status); }; }; then 91251.8Stv ac_cv_have_decl_setpassent=yes 91261.8Stvelse 91271.8Stv echo "$as_me: failed program was:" >&5 91281.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 91291.53Sdogcow 91301.8Stvac_cv_have_decl_setpassent=no 91311.8Stvfi 91321.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 91331.8Stvfi 91341.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5 91351.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 91361.8Stvif test $ac_cv_have_decl_setpassent = yes; then 91371.8Stv 91381.53Sdogcowcat >>confdefs.h <<_ACEOF 91391.8Stv#define HAVE_DECL_SETPASSENT 1 91401.53Sdogcow_ACEOF 91411.53Sdogcow 91421.8Stv 91431.8Stvelse 91441.53Sdogcow cat >>confdefs.h <<_ACEOF 91451.8Stv#define HAVE_DECL_SETPASSENT 0 91461.53Sdogcow_ACEOF 91471.53Sdogcow 91481.8Stv 91491.8Stvfi 91501.8Stv 91511.53Sdogcow 91521.53Sdogcow 91531.4Stv# regcomp() and regexec() are also names of functions in the old V8 91541.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 91551.4Stv 91561.53Sdogcow 91571.53Sdogcowecho "$as_me:$LINENO: checking for regfree in -lregex" >&5 91581.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 91591.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then 91601.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 91611.4Stvelse 91621.4Stv ac_check_lib_save_LIBS=$LIBS 91631.4StvLIBS="-lregex $LIBS" 91641.4Stvcat >conftest.$ac_ext <<_ACEOF 91651.53Sdogcow/* confdefs.h. */ 91661.53Sdogcow_ACEOF 91671.53Sdogcowcat confdefs.h >>conftest.$ac_ext 91681.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 91691.53Sdogcow/* end confdefs.h. */ 91701.4Stv 91711.4Stv/* Override any gcc2 internal prototype to avoid an error. */ 91721.4Stv#ifdef __cplusplus 91731.4Stvextern "C" 91741.4Stv#endif 91751.4Stv/* We use char because int might match the return type of a gcc2 91761.4Stv builtin and then its argument prototype would still apply. */ 91771.4Stvchar regfree (); 91781.4Stvint 91791.4Stvmain () 91801.4Stv{ 91811.4Stvregfree (); 91821.4Stv ; 91831.4Stv return 0; 91841.4Stv} 91851.4Stv_ACEOF 91861.4Stvrm -f conftest.$ac_objext conftest$ac_exeext 91871.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 91881.53Sdogcow (eval $ac_link) 2>conftest.er1 91891.4Stv ac_status=$? 91901.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 91911.53Sdogcow rm -f conftest.er1 91921.53Sdogcow cat conftest.err >&5 91931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91941.4Stv (exit $ac_status); } && 91951.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 91961.53Sdogcow || test ! -s conftest.err' 91971.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91981.53Sdogcow (eval $ac_try) 2>&5 91991.53Sdogcow ac_status=$? 92001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92011.53Sdogcow (exit $ac_status); }; } && 92021.53Sdogcow { ac_try='test -s conftest$ac_exeext' 92031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92041.4Stv (eval $ac_try) 2>&5 92051.4Stv ac_status=$? 92061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92071.4Stv (exit $ac_status); }; }; then 92081.4Stv ac_cv_lib_regex_regfree=yes 92091.4Stvelse 92101.4Stv echo "$as_me: failed program was:" >&5 92111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 92121.53Sdogcow 92131.4Stvac_cv_lib_regex_regfree=no 92141.4Stvfi 92151.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 92161.53Sdogcow conftest$ac_exeext conftest.$ac_ext 92171.4StvLIBS=$ac_check_lib_save_LIBS 92181.4Stvfi 92191.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5 92201.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 92211.4Stvif test $ac_cv_lib_regex_regfree = yes; then 92221.53Sdogcow cat >>confdefs.h <<_ACEOF 92231.4Stv#define HAVE_LIBREGEX 1 92241.53Sdogcow_ACEOF 92251.4Stv 92261.4Stv LIBS="-lregex $LIBS" 92271.4Stv 92281.4Stvfi 92291.4Stv 92301.53Sdogcowecho "$as_me:$LINENO: checking for library containing regfree" >&5 92311.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 92321.4Stvif test "${ac_cv_search_regfree+set}" = set; then 92331.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 92341.1Stvelse 92351.1Stv ac_func_search_save_LIBS=$LIBS 92361.4Stvac_cv_search_regfree=no 92371.1Stvcat >conftest.$ac_ext <<_ACEOF 92381.53Sdogcow/* confdefs.h. */ 92391.53Sdogcow_ACEOF 92401.53Sdogcowcat confdefs.h >>conftest.$ac_ext 92411.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 92421.53Sdogcow/* end confdefs.h. */ 92431.1Stv 92441.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 92451.1Stv#ifdef __cplusplus 92461.1Stvextern "C" 92471.1Stv#endif 92481.1Stv/* We use char because int might match the return type of a gcc2 92491.1Stv builtin and then its argument prototype would still apply. */ 92501.4Stvchar regfree (); 92511.1Stvint 92521.1Stvmain () 92531.1Stv{ 92541.4Stvregfree (); 92551.1Stv ; 92561.1Stv return 0; 92571.1Stv} 92581.1Stv_ACEOF 92591.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 92601.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 92611.53Sdogcow (eval $ac_link) 2>conftest.er1 92621.1Stv ac_status=$? 92631.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 92641.53Sdogcow rm -f conftest.er1 92651.53Sdogcow cat conftest.err >&5 92661.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92671.1Stv (exit $ac_status); } && 92681.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 92691.53Sdogcow || test ! -s conftest.err' 92701.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92711.53Sdogcow (eval $ac_try) 2>&5 92721.53Sdogcow ac_status=$? 92731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92741.53Sdogcow (exit $ac_status); }; } && 92751.53Sdogcow { ac_try='test -s conftest$ac_exeext' 92761.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92771.1Stv (eval $ac_try) 2>&5 92781.1Stv ac_status=$? 92791.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92801.1Stv (exit $ac_status); }; }; then 92811.4Stv ac_cv_search_regfree="none required" 92821.1Stvelse 92831.1Stv echo "$as_me: failed program was:" >&5 92841.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 92851.53Sdogcow 92861.1Stvfi 92871.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 92881.53Sdogcow conftest$ac_exeext conftest.$ac_ext 92891.4Stvif test "$ac_cv_search_regfree" = no; then 92901.4Stv for ac_lib in rx posix; do 92911.1Stv LIBS="-l$ac_lib $ac_func_search_save_LIBS" 92921.1Stv cat >conftest.$ac_ext <<_ACEOF 92931.53Sdogcow/* confdefs.h. */ 92941.53Sdogcow_ACEOF 92951.53Sdogcowcat confdefs.h >>conftest.$ac_ext 92961.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 92971.53Sdogcow/* end confdefs.h. */ 92981.1Stv 92991.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 93001.1Stv#ifdef __cplusplus 93011.1Stvextern "C" 93021.1Stv#endif 93031.1Stv/* We use char because int might match the return type of a gcc2 93041.1Stv builtin and then its argument prototype would still apply. */ 93051.4Stvchar regfree (); 93061.1Stvint 93071.1Stvmain () 93081.1Stv{ 93091.4Stvregfree (); 93101.1Stv ; 93111.1Stv return 0; 93121.1Stv} 93131.1Stv_ACEOF 93141.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 93151.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 93161.53Sdogcow (eval $ac_link) 2>conftest.er1 93171.1Stv ac_status=$? 93181.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 93191.53Sdogcow rm -f conftest.er1 93201.53Sdogcow cat conftest.err >&5 93211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 93221.1Stv (exit $ac_status); } && 93231.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 93241.53Sdogcow || test ! -s conftest.err' 93251.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 93261.53Sdogcow (eval $ac_try) 2>&5 93271.53Sdogcow ac_status=$? 93281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 93291.53Sdogcow (exit $ac_status); }; } && 93301.53Sdogcow { ac_try='test -s conftest$ac_exeext' 93311.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 93321.1Stv (eval $ac_try) 2>&5 93331.1Stv ac_status=$? 93341.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 93351.1Stv (exit $ac_status); }; }; then 93361.4Stv ac_cv_search_regfree="-l$ac_lib" 93371.1Stvbreak 93381.1Stvelse 93391.1Stv echo "$as_me: failed program was:" >&5 93401.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 93411.53Sdogcow 93421.1Stvfi 93431.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 93441.53Sdogcow conftest$ac_exeext conftest.$ac_ext 93451.1Stv done 93461.1Stvfi 93471.1StvLIBS=$ac_func_search_save_LIBS 93481.1Stvfi 93491.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5 93501.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6 93511.4Stvif test "$ac_cv_search_regfree" != no; then 93521.4Stv test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" 93531.1Stv 93541.1Stvfi 93551.1Stv 93561.53Sdogcow 93571.1Stvcat >confcache <<\_ACEOF 93581.1Stv# This file is a shell script that caches the results of configure 93591.1Stv# tests run on this system so they can be shared between configure 93601.1Stv# scripts and configure runs, see configure's option --config-cache. 93611.1Stv# It is not useful on other systems. If it contains results you don't 93621.1Stv# want to keep, you may remove or edit it. 93631.1Stv# 93641.1Stv# config.status only pays attention to the cache file if you give it 93651.1Stv# the --recheck option to rerun configure. 93661.1Stv# 93671.53Sdogcow# `ac_cv_env_foo' variables (set or unset) will be overridden when 93681.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the 93691.1Stv# following values. 93701.1Stv 93711.1Stv_ACEOF 93721.1Stv 93731.1Stv# The following way of writing the cache mishandles newlines in values, 93741.1Stv# but we know of no workaround that is simple, portable, and efficient. 93751.1Stv# So, don't put newlines in cache variables' values. 93761.1Stv# Ultrix sh set writes to stderr and can't be redirected directly, 93771.1Stv# and sets the high bit in the cache file unless we assign to the vars. 93781.1Stv{ 93791.1Stv (set) 2>&1 | 93801.1Stv case `(ac_space=' '; set | grep ac_space) 2>&1` in 93811.1Stv *ac_space=\ *) 93821.1Stv # `set' does not quote correctly, so add quotes (double-quote 93831.1Stv # substitution turns \\\\ into \\, and sed turns \\ into \). 93841.1Stv sed -n \ 93851.53Sdogcow "s/'/'\\\\''/g; 93861.53Sdogcow s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 93871.1Stv ;; 93881.1Stv *) 93891.1Stv # `set' quotes correctly as required by POSIX, so do not add quotes. 93901.1Stv sed -n \ 93911.53Sdogcow "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 93921.1Stv ;; 93931.1Stv esac; 93941.1Stv} | 93951.1Stv sed ' 93961.1Stv t clear 93971.1Stv : clear 93981.1Stv s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 93991.1Stv t end 94001.1Stv /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 94011.1Stv : end' >>confcache 94021.53Sdogcowif diff $cache_file confcache >/dev/null 2>&1; then :; else 94031.1Stv if test -w $cache_file; then 94041.1Stv test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 94051.1Stv cat confcache >$cache_file 94061.1Stv else 94071.1Stv echo "not updating unwritable cache $cache_file" 94081.1Stv fi 94091.1Stvfi 94101.1Stvrm -f confcache 94111.1Stv 94121.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix 94131.1Stv# Let make expand exec_prefix. 94141.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 94151.1Stv 94161.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir), 94171.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 94181.1Stv# trailing colons and then remove the whole line if VPATH becomes empty 94191.1Stv# (actually we leave an empty line to preserve line numbers). 94201.1Stvif test "x$srcdir" = x.; then 94211.53Sdogcow ac_vpsub='/^[ ]*VPATH[ ]*=/{ 94221.1Stvs/:*\$(srcdir):*/:/; 94231.1Stvs/:*\${srcdir}:*/:/; 94241.1Stvs/:*@srcdir@:*/:/; 94251.53Sdogcows/^\([^=]*=[ ]*\):*/\1/; 94261.1Stvs/:*$//; 94271.53Sdogcows/^[^=]*=[ ]*$//; 94281.1Stv}' 94291.1Stvfi 94301.1Stv 94311.1StvDEFS=-DHAVE_CONFIG_H 94321.1Stv 94331.53Sdogcowac_libobjs= 94341.53Sdogcowac_ltlibobjs= 94351.53Sdogcowfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 94361.53Sdogcow # 1. Remove the extension, and $U if already installed. 94371.53Sdogcow ac_i=`echo "$ac_i" | 94381.53Sdogcow sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 94391.53Sdogcow # 2. Add them. 94401.53Sdogcow ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 94411.53Sdogcow ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 94421.53Sdogcowdone 94431.53SdogcowLIBOBJS=$ac_libobjs 94441.53Sdogcow 94451.53SdogcowLTLIBOBJS=$ac_ltlibobjs 94461.53Sdogcow 94471.53Sdogcow 94481.53Sdogcow 94491.1Stv: ${CONFIG_STATUS=./config.status} 94501.1Stvac_clean_files_save=$ac_clean_files 94511.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS" 94521.53Sdogcow{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 94531.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;} 94541.1Stvcat >$CONFIG_STATUS <<_ACEOF 94551.1Stv#! $SHELL 94561.53Sdogcow# Generated by $as_me. 94571.1Stv# Run this file to recreate the current configuration. 94581.1Stv# Compiler output produced by configure, useful for debugging 94591.1Stv# configure, is in config.log if it exists. 94601.1Stv 94611.1Stvdebug=false 94621.53Sdogcowac_cs_recheck=false 94631.53Sdogcowac_cs_silent=false 94641.1StvSHELL=\${CONFIG_SHELL-$SHELL} 94651.1Stv_ACEOF 94661.1Stv 94671.1Stvcat >>$CONFIG_STATUS <<\_ACEOF 94681.53Sdogcow## --------------------- ## 94691.53Sdogcow## M4sh Initialization. ## 94701.53Sdogcow## --------------------- ## 94711.53Sdogcow 94721.1Stv# Be Bourne compatible 94731.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 94741.1Stv emulate sh 94751.1Stv NULLCMD=: 94761.53Sdogcow # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 94771.53Sdogcow # is contrary to our usage. Disable this feature. 94781.53Sdogcow alias -g '${1+"$@"}'='"$@"' 94791.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 94801.1Stv set -o posix 94811.1Stvfi 94821.53SdogcowDUALCASE=1; export DUALCASE # for MKS sh 94831.53Sdogcow 94841.53Sdogcow# Support unset when possible. 94851.53Sdogcowif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 94861.53Sdogcow as_unset=unset 94871.53Sdogcowelse 94881.53Sdogcow as_unset=false 94891.53Sdogcowfi 94901.53Sdogcow 94911.53Sdogcow 94921.53Sdogcow# Work around bugs in pre-3.0 UWIN ksh. 94931.53Sdogcow$as_unset ENV MAIL MAILPATH 94941.53SdogcowPS1='$ ' 94951.53SdogcowPS2='> ' 94961.53SdogcowPS4='+ ' 94971.53Sdogcow 94981.53Sdogcow# NLS nuisances. 94991.53Sdogcowfor as_var in \ 95001.53Sdogcow LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 95011.53Sdogcow LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 95021.53Sdogcow LC_TELEPHONE LC_TIME 95031.53Sdogcowdo 95041.53Sdogcow if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 95051.53Sdogcow eval $as_var=C; export $as_var 95061.53Sdogcow else 95071.53Sdogcow $as_unset $as_var 95081.53Sdogcow fi 95091.53Sdogcowdone 95101.53Sdogcow 95111.53Sdogcow# Required to use basename. 95121.53Sdogcowif expr a : '\(a\)' >/dev/null 2>&1; then 95131.53Sdogcow as_expr=expr 95141.53Sdogcowelse 95151.53Sdogcow as_expr=false 95161.53Sdogcowfi 95171.53Sdogcow 95181.53Sdogcowif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 95191.53Sdogcow as_basename=basename 95201.53Sdogcowelse 95211.53Sdogcow as_basename=false 95221.53Sdogcowfi 95231.53Sdogcow 95241.1Stv 95251.1Stv# Name of the executable. 95261.53Sdogcowas_me=`$as_basename "$0" || 95271.53Sdogcow$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 95281.53Sdogcow X"$0" : 'X\(//\)$' \| \ 95291.53Sdogcow X"$0" : 'X\(/\)$' \| \ 95301.53Sdogcow . : '\(.\)' 2>/dev/null || 95311.53Sdogcowecho X/"$0" | 95321.53Sdogcow sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 95331.53Sdogcow /^X\/\(\/\/\)$/{ s//\1/; q; } 95341.53Sdogcow /^X\/\(\/\).*/{ s//\1/; q; } 95351.53Sdogcow s/.*/./; q'` 95361.53Sdogcow 95371.53Sdogcow 95381.53Sdogcow# PATH needs CR, and LINENO needs CR and PATH. 95391.53Sdogcow# Avoid depending upon Character Ranges. 95401.53Sdogcowas_cr_letters='abcdefghijklmnopqrstuvwxyz' 95411.53Sdogcowas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 95421.53Sdogcowas_cr_Letters=$as_cr_letters$as_cr_LETTERS 95431.53Sdogcowas_cr_digits='0123456789' 95441.53Sdogcowas_cr_alnum=$as_cr_Letters$as_cr_digits 95451.53Sdogcow 95461.53Sdogcow# The user is always right. 95471.53Sdogcowif test "${PATH_SEPARATOR+set}" != set; then 95481.53Sdogcow echo "#! /bin/sh" >conf$$.sh 95491.53Sdogcow echo "exit 0" >>conf$$.sh 95501.53Sdogcow chmod +x conf$$.sh 95511.53Sdogcow if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 95521.53Sdogcow PATH_SEPARATOR=';' 95531.53Sdogcow else 95541.53Sdogcow PATH_SEPARATOR=: 95551.53Sdogcow fi 95561.53Sdogcow rm -f conf$$.sh 95571.53Sdogcowfi 95581.53Sdogcow 95591.53Sdogcow 95601.53Sdogcow as_lineno_1=$LINENO 95611.53Sdogcow as_lineno_2=$LINENO 95621.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 95631.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 95641.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" || { 95651.53Sdogcow # Find who we are. Look in the path if we contain no path at all 95661.53Sdogcow # relative or not. 95671.53Sdogcow case $0 in 95681.53Sdogcow *[\\/]* ) as_myself=$0 ;; 95691.53Sdogcow *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95701.53Sdogcowfor as_dir in $PATH 95711.53Sdogcowdo 95721.53Sdogcow IFS=$as_save_IFS 95731.53Sdogcow test -z "$as_dir" && as_dir=. 95741.53Sdogcow test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95751.53Sdogcowdone 95761.53Sdogcow 95771.53Sdogcow ;; 95781.53Sdogcow esac 95791.53Sdogcow # We did not find ourselves, most probably we were run as `sh COMMAND' 95801.53Sdogcow # in which case we are not to be found in the path. 95811.53Sdogcow if test "x$as_myself" = x; then 95821.53Sdogcow as_myself=$0 95831.53Sdogcow fi 95841.53Sdogcow if test ! -f "$as_myself"; then 95851.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 95861.53Sdogcowecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 95871.53Sdogcow { (exit 1); exit 1; }; } 95881.53Sdogcow fi 95891.53Sdogcow case $CONFIG_SHELL in 95901.53Sdogcow '') 95911.53Sdogcow as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95921.53Sdogcowfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 95931.53Sdogcowdo 95941.53Sdogcow IFS=$as_save_IFS 95951.53Sdogcow test -z "$as_dir" && as_dir=. 95961.53Sdogcow for as_base in sh bash ksh sh5; do 95971.53Sdogcow case $as_dir in 95981.53Sdogcow /*) 95991.53Sdogcow if ("$as_dir/$as_base" -c ' 96001.53Sdogcow as_lineno_1=$LINENO 96011.53Sdogcow as_lineno_2=$LINENO 96021.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 96031.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 96041.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 96051.53Sdogcow $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 96061.53Sdogcow $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 96071.53Sdogcow CONFIG_SHELL=$as_dir/$as_base 96081.53Sdogcow export CONFIG_SHELL 96091.53Sdogcow exec "$CONFIG_SHELL" "$0" ${1+"$@"} 96101.53Sdogcow fi;; 96111.53Sdogcow esac 96121.53Sdogcow done 96131.53Sdogcowdone 96141.53Sdogcow;; 96151.53Sdogcow esac 96161.53Sdogcow 96171.53Sdogcow # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 96181.53Sdogcow # uniformly replaced by the line number. The first 'sed' inserts a 96191.53Sdogcow # line-number line before each line; the second 'sed' does the real 96201.53Sdogcow # work. The second script uses 'N' to pair each line-number line 96211.53Sdogcow # with the numbered line, and appends trailing '-' during 96221.53Sdogcow # substitution so that $LINENO is not a special case at line end. 96231.53Sdogcow # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 96241.53Sdogcow # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 96251.53Sdogcow sed '=' <$as_myself | 96261.53Sdogcow sed ' 96271.53Sdogcow N 96281.53Sdogcow s,$,-, 96291.53Sdogcow : loop 96301.53Sdogcow s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 96311.53Sdogcow t loop 96321.53Sdogcow s,-$,, 96331.53Sdogcow s,^['$as_cr_digits']*\n,, 96341.53Sdogcow ' >$as_me.lineno && 96351.53Sdogcow chmod +x $as_me.lineno || 96361.53Sdogcow { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 96371.53Sdogcowecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 96381.53Sdogcow { (exit 1); exit 1; }; } 96391.53Sdogcow 96401.53Sdogcow # Don't try to exec as it changes $[0], causing all sort of problems 96411.53Sdogcow # (the dirname of $[0] is not the place where we might find the 96421.53Sdogcow # original and so on. Autoconf is especially sensible to this). 96431.53Sdogcow . ./$as_me.lineno 96441.53Sdogcow # Exit status is that of the last command. 96451.53Sdogcow exit 96461.53Sdogcow} 96471.53Sdogcow 96481.53Sdogcow 96491.53Sdogcowcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 96501.53Sdogcow *c*,-n*) ECHO_N= ECHO_C=' 96511.53Sdogcow' ECHO_T=' ' ;; 96521.53Sdogcow *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 96531.53Sdogcow *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 96541.53Sdogcowesac 96551.1Stv 96561.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 96571.1Stv as_expr=expr 96581.1Stvelse 96591.1Stv as_expr=false 96601.1Stvfi 96611.1Stv 96621.1Stvrm -f conf$$ conf$$.exe conf$$.file 96631.1Stvecho >conf$$.file 96641.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 96651.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 96661.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 96671.1Stv if test -f conf$$.exe; then 96681.1Stv # Don't use ln at all; we don't have any links 96691.1Stv as_ln_s='cp -p' 96701.1Stv else 96711.1Stv as_ln_s='ln -s' 96721.1Stv fi 96731.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 96741.1Stv as_ln_s=ln 96751.1Stvelse 96761.1Stv as_ln_s='cp -p' 96771.1Stvfi 96781.1Stvrm -f conf$$ conf$$.exe conf$$.file 96791.1Stv 96801.53Sdogcowif mkdir -p . 2>/dev/null; then 96811.53Sdogcow as_mkdir_p=: 96821.53Sdogcowelse 96831.53Sdogcow test -d ./-p && rmdir ./-p 96841.53Sdogcow as_mkdir_p=false 96851.53Sdogcowfi 96861.53Sdogcow 96871.52Sdbjas_executable_p="test -f" 96881.52Sdbj 96891.53Sdogcow# Sed expression to map a string onto a valid CPP name. 96901.53Sdogcowas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 96911.53Sdogcow 96921.53Sdogcow# Sed expression to map a string onto a valid variable name. 96931.53Sdogcowas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 96941.48Sjmc 96951.1Stv 96961.1Stv# IFS 96971.1Stv# We need space, tab and new line, in precisely that order. 96981.1Stvas_nl=' 96991.1Stv' 97001.1StvIFS=" $as_nl" 97011.1Stv 97021.1Stv# CDPATH. 97031.53Sdogcow$as_unset CDPATH 97041.1Stv 97051.1Stvexec 6>&1 97061.1Stv 97071.53Sdogcow# Open the log real soon, to keep \$[0] and so on meaningful, and to 97081.53Sdogcow# report actual input values of CONFIG_FILES etc. instead of their 97091.53Sdogcow# values after options handling. Logging --version etc. is OK. 97101.53Sdogcowexec 5>>config.log 97111.53Sdogcow{ 97121.53Sdogcow echo 97131.53Sdogcow sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 97141.53Sdogcow## Running $as_me. ## 97151.53Sdogcow_ASBOX 97161.53Sdogcow} >&5 97171.53Sdogcowcat >&5 <<_CSEOF 97181.53Sdogcow 97191.53SdogcowThis file was extended by libnbcompat $as_me noversion, which was 97201.53Sdogcowgenerated by GNU Autoconf 2.59. Invocation command line was 97211.53Sdogcow 97221.53Sdogcow CONFIG_FILES = $CONFIG_FILES 97231.53Sdogcow CONFIG_HEADERS = $CONFIG_HEADERS 97241.53Sdogcow CONFIG_LINKS = $CONFIG_LINKS 97251.53Sdogcow CONFIG_COMMANDS = $CONFIG_COMMANDS 97261.53Sdogcow $ $0 $@ 97271.53Sdogcow 97281.53Sdogcow_CSEOF 97291.53Sdogcowecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 97301.53Sdogcowecho >&5 97311.1Stv_ACEOF 97321.1Stv 97331.1Stv# Files that config.status was made for. 97341.1Stvif test -n "$ac_config_files"; then 97351.1Stv echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 97361.1Stvfi 97371.1Stv 97381.1Stvif test -n "$ac_config_headers"; then 97391.1Stv echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 97401.1Stvfi 97411.1Stv 97421.1Stvif test -n "$ac_config_links"; then 97431.1Stv echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 97441.1Stvfi 97451.1Stv 97461.1Stvif test -n "$ac_config_commands"; then 97471.1Stv echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 97481.1Stvfi 97491.1Stv 97501.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 97511.1Stv 97521.1Stvac_cs_usage="\ 97531.1Stv\`$as_me' instantiates files from templates according to the 97541.1Stvcurrent configuration. 97551.1Stv 97561.1StvUsage: $0 [OPTIONS] [FILE]... 97571.1Stv 97581.1Stv -h, --help print this help, then exit 97591.1Stv -V, --version print version number, then exit 97601.53Sdogcow -q, --quiet do not print progress messages 97611.1Stv -d, --debug don't remove temporary files 97621.1Stv --recheck update $as_me by reconfiguring in the same conditions 97631.1Stv --file=FILE[:TEMPLATE] 97641.53Sdogcow instantiate the configuration file FILE 97651.1Stv --header=FILE[:TEMPLATE] 97661.53Sdogcow instantiate the configuration header FILE 97671.1Stv 97681.1StvConfiguration files: 97691.1Stv$config_files 97701.1Stv 97711.1StvConfiguration headers: 97721.1Stv$config_headers 97731.1Stv 97741.1StvReport bugs to <bug-autoconf@gnu.org>." 97751.53Sdogcow_ACEOF 97761.1Stv 97771.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 97781.1Stvac_cs_version="\\ 97791.1Stvlibnbcompat config.status noversion 97801.53Sdogcowconfigured by $0, generated by GNU Autoconf 2.59, 97811.1Stv with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 97821.1Stv 97831.53SdogcowCopyright (C) 2003 Free Software Foundation, Inc. 97841.1StvThis config.status script is free software; the Free Software Foundation 97851.1Stvgives unlimited permission to copy, distribute and modify it." 97861.1Stvsrcdir=$srcdir 97871.53Sdogcow_ACEOF 97881.1Stv 97891.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 97901.1Stv# If no file are specified by the user, then we need to provide default 97911.1Stv# value. By we need to know if files were specified by the user. 97921.1Stvac_need_defaults=: 97931.1Stvwhile test $# != 0 97941.1Stvdo 97951.1Stv case $1 in 97961.1Stv --*=*) 97971.1Stv ac_option=`expr "x$1" : 'x\([^=]*\)='` 97981.1Stv ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 97991.53Sdogcow ac_shift=: 98001.53Sdogcow ;; 98011.53Sdogcow -*) 98021.53Sdogcow ac_option=$1 98031.53Sdogcow ac_optarg=$2 98041.53Sdogcow ac_shift=shift 98051.1Stv ;; 98061.1Stv *) # This is not an option, so the user has probably given explicit 98071.1Stv # arguments. 98081.53Sdogcow ac_option=$1 98091.1Stv ac_need_defaults=false;; 98101.1Stv esac 98111.1Stv 98121.53Sdogcow case $ac_option in 98131.1Stv # Handling of the options. 98141.53Sdogcow_ACEOF 98151.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 98161.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 98171.53Sdogcow ac_cs_recheck=: ;; 98181.1Stv --version | --vers* | -V ) 98191.1Stv echo "$ac_cs_version"; exit 0 ;; 98201.1Stv --he | --h) 98211.1Stv # Conflict between --help and --header 98221.53Sdogcow { { echo "$as_me:$LINENO: error: ambiguous option: $1 98231.1StvTry \`$0 --help' for more information." >&5 98241.1Stvecho "$as_me: error: ambiguous option: $1 98251.1StvTry \`$0 --help' for more information." >&2;} 98261.1Stv { (exit 1); exit 1; }; };; 98271.1Stv --help | --hel | -h ) 98281.1Stv echo "$ac_cs_usage"; exit 0 ;; 98291.1Stv --debug | --d* | -d ) 98301.1Stv debug=: ;; 98311.1Stv --file | --fil | --fi | --f ) 98321.53Sdogcow $ac_shift 98331.53Sdogcow CONFIG_FILES="$CONFIG_FILES $ac_optarg" 98341.1Stv ac_need_defaults=false;; 98351.1Stv --header | --heade | --head | --hea ) 98361.53Sdogcow $ac_shift 98371.53Sdogcow CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 98381.1Stv ac_need_defaults=false;; 98391.53Sdogcow -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 98401.53Sdogcow | -silent | --silent | --silen | --sile | --sil | --si | --s) 98411.53Sdogcow ac_cs_silent=: ;; 98421.1Stv 98431.1Stv # This is an error. 98441.53Sdogcow -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 98451.1StvTry \`$0 --help' for more information." >&5 98461.1Stvecho "$as_me: error: unrecognized option: $1 98471.1StvTry \`$0 --help' for more information." >&2;} 98481.1Stv { (exit 1); exit 1; }; } ;; 98491.1Stv 98501.1Stv *) ac_config_targets="$ac_config_targets $1" ;; 98511.1Stv 98521.1Stv esac 98531.1Stv shift 98541.1Stvdone 98551.1Stv 98561.53Sdogcowac_configure_extra_args= 98571.1Stv 98581.53Sdogcowif $ac_cs_silent; then 98591.53Sdogcow exec 6>/dev/null 98601.53Sdogcow ac_configure_extra_args="$ac_configure_extra_args --silent" 98611.53Sdogcowfi 98621.1Stv 98631.53Sdogcow_ACEOF 98641.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 98651.53Sdogcowif \$ac_cs_recheck; then 98661.53Sdogcow echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 98671.53Sdogcow exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 98681.53Sdogcowfi 98691.1Stv 98701.1Stv_ACEOF 98711.1Stv 98721.53Sdogcow 98731.53Sdogcow 98741.53Sdogcow 98751.53Sdogcow 98761.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 98771.1Stvfor ac_config_target in $ac_config_targets 98781.1Stvdo 98791.1Stv case "$ac_config_target" in 98801.1Stv # Handling of arguments. 98811.1Stv "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 98821.57Swiz "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; 98831.53Sdogcow *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 98841.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 98851.1Stv { (exit 1); exit 1; }; };; 98861.1Stv esac 98871.1Stvdone 98881.1Stv 98891.1Stv# If the user did not use the arguments to specify the items to instantiate, 98901.1Stv# then the envvar interface is used. Set only those that are not. 98911.1Stv# We use the long form for the default assignment because of an extremely 98921.1Stv# bizarre bug on SunOS 4.1.3. 98931.1Stvif $ac_need_defaults; then 98941.1Stv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 98951.1Stv test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 98961.1Stvfi 98971.1Stv 98981.53Sdogcow# Have a temporary directory for convenience. Make it in the build tree 98991.53Sdogcow# simply because there is no reason to put it here, and in addition, 99001.53Sdogcow# creating and moving files from /tmp can sometimes cause problems. 99011.1Stv# Create a temporary directory, and hook for its removal unless debugging. 99021.1Stv$debug || 99031.1Stv{ 99041.1Stv trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 99051.1Stv trap '{ (exit 1); exit 1; }' 1 2 13 15 99061.1Stv} 99071.1Stv 99081.1Stv# Create a (secure) tmp directory for tmp files. 99091.53Sdogcow 99101.1Stv{ 99111.53Sdogcow tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 99121.1Stv test -n "$tmp" && test -d "$tmp" 99131.1Stv} || 99141.1Stv{ 99151.53Sdogcow tmp=./confstat$$-$RANDOM 99161.1Stv (umask 077 && mkdir $tmp) 99171.1Stv} || 99181.1Stv{ 99191.53Sdogcow echo "$me: cannot create a temporary directory in ." >&2 99201.1Stv { (exit 1); exit 1; } 99211.1Stv} 99221.1Stv 99231.53Sdogcow_ACEOF 99241.1Stv 99251.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 99261.1Stv 99271.1Stv# 99281.1Stv# CONFIG_FILES section. 99291.1Stv# 99301.1Stv 99311.1Stv# No need to generate the scripts if there are no CONFIG_FILES. 99321.1Stv# This happens for instance when ./config.status config.h 99331.1Stvif test -n "\$CONFIG_FILES"; then 99341.1Stv # Protect against being on the right side of a sed subst in config.status. 99351.1Stv sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 99361.1Stv s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 99371.1Stvs,@SHELL@,$SHELL,;t t 99381.53Sdogcows,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 99391.53Sdogcows,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 99401.53Sdogcows,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 99411.53Sdogcows,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 99421.53Sdogcows,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 99431.53Sdogcows,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 99441.1Stvs,@exec_prefix@,$exec_prefix,;t t 99451.1Stvs,@prefix@,$prefix,;t t 99461.1Stvs,@program_transform_name@,$program_transform_name,;t t 99471.1Stvs,@bindir@,$bindir,;t t 99481.1Stvs,@sbindir@,$sbindir,;t t 99491.1Stvs,@libexecdir@,$libexecdir,;t t 99501.1Stvs,@datadir@,$datadir,;t t 99511.1Stvs,@sysconfdir@,$sysconfdir,;t t 99521.1Stvs,@sharedstatedir@,$sharedstatedir,;t t 99531.1Stvs,@localstatedir@,$localstatedir,;t t 99541.1Stvs,@libdir@,$libdir,;t t 99551.1Stvs,@includedir@,$includedir,;t t 99561.1Stvs,@oldincludedir@,$oldincludedir,;t t 99571.1Stvs,@infodir@,$infodir,;t t 99581.1Stvs,@mandir@,$mandir,;t t 99591.1Stvs,@build_alias@,$build_alias,;t t 99601.1Stvs,@host_alias@,$host_alias,;t t 99611.1Stvs,@target_alias@,$target_alias,;t t 99621.53Sdogcows,@DEFS@,$DEFS,;t t 99631.1Stvs,@ECHO_C@,$ECHO_C,;t t 99641.1Stvs,@ECHO_N@,$ECHO_N,;t t 99651.1Stvs,@ECHO_T@,$ECHO_T,;t t 99661.1Stvs,@LIBS@,$LIBS,;t t 99671.1Stvs,@CC@,$CC,;t t 99681.1Stvs,@CFLAGS@,$CFLAGS,;t t 99691.1Stvs,@LDFLAGS@,$LDFLAGS,;t t 99701.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t 99711.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t 99721.1Stvs,@EXEEXT@,$EXEEXT,;t t 99731.1Stvs,@OBJEXT@,$OBJEXT,;t t 99741.1Stvs,@CPP@,$CPP,;t t 99751.53Sdogcows,@EGREP@,$EGREP,;t t 99761.45Sjmcs,@BSHELL@,$BSHELL,;t t 99771.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t 99781.53Sdogcows,@LIBOBJS@,$LIBOBJS,;t t 99791.53Sdogcows,@LTLIBOBJS@,$LTLIBOBJS,;t t 99801.1StvCEOF 99811.1Stv 99821.53Sdogcow_ACEOF 99831.1Stv 99841.53Sdogcow cat >>$CONFIG_STATUS <<\_ACEOF 99851.1Stv # Split the substitutions into bite-sized pieces for seds with 99861.1Stv # small command number limits, like on Digital OSF/1 and HP-UX. 99871.1Stv ac_max_sed_lines=48 99881.1Stv ac_sed_frag=1 # Number of current file. 99891.1Stv ac_beg=1 # First line for current file. 99901.1Stv ac_end=$ac_max_sed_lines # Line after last line for current file. 99911.1Stv ac_more_lines=: 99921.1Stv ac_sed_cmds= 99931.1Stv while $ac_more_lines; do 99941.1Stv if test $ac_beg -gt 1; then 99951.1Stv sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 99961.1Stv else 99971.1Stv sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 99981.1Stv fi 99991.1Stv if test ! -s $tmp/subs.frag; then 100001.1Stv ac_more_lines=false 100011.1Stv else 100021.1Stv # The purpose of the label and of the branching condition is to 100031.1Stv # speed up the sed processing (if there are no `@' at all, there 100041.1Stv # is no need to browse any of the substitutions). 100051.1Stv # These are the two extra sed commands mentioned above. 100061.1Stv (echo ':t 100071.1Stv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 100081.1Stv if test -z "$ac_sed_cmds"; then 100091.53Sdogcow ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 100101.1Stv else 100111.53Sdogcow ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 100121.1Stv fi 100131.1Stv ac_sed_frag=`expr $ac_sed_frag + 1` 100141.1Stv ac_beg=$ac_end 100151.1Stv ac_end=`expr $ac_end + $ac_max_sed_lines` 100161.1Stv fi 100171.1Stv done 100181.1Stv if test -z "$ac_sed_cmds"; then 100191.1Stv ac_sed_cmds=cat 100201.1Stv fi 100211.1Stvfi # test -n "$CONFIG_FILES" 100221.1Stv 100231.53Sdogcow_ACEOF 100241.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 100251.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 100261.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 100271.1Stv case $ac_file in 100281.1Stv - | *:- | *:-:* ) # input from stdin 100291.53Sdogcow cat >$tmp/stdin 100301.53Sdogcow ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 100311.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 100321.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 100331.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 100341.1Stv * ) ac_file_in=$ac_file.in ;; 100351.1Stv esac 100361.1Stv 100371.1Stv # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 100381.53Sdogcow ac_dir=`(dirname "$ac_file") 2>/dev/null || 100391.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 100401.53Sdogcow X"$ac_file" : 'X\(//\)[^/]' \| \ 100411.53Sdogcow X"$ac_file" : 'X\(//\)$' \| \ 100421.53Sdogcow X"$ac_file" : 'X\(/\)' \| \ 100431.53Sdogcow . : '\(.\)' 2>/dev/null || 100441.1Stvecho X"$ac_file" | 100451.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 100461.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 100471.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 100481.1Stv /^X\(\/\).*/{ s//\1/; q; } 100491.1Stv s/.*/./; q'` 100501.53Sdogcow { if $as_mkdir_p; then 100511.53Sdogcow mkdir -p "$ac_dir" 100521.53Sdogcow else 100531.53Sdogcow as_dir="$ac_dir" 100541.53Sdogcow as_dirs= 100551.53Sdogcow while test ! -d "$as_dir"; do 100561.53Sdogcow as_dirs="$as_dir $as_dirs" 100571.53Sdogcow as_dir=`(dirname "$as_dir") 2>/dev/null || 100581.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 100591.53Sdogcow X"$as_dir" : 'X\(//\)[^/]' \| \ 100601.53Sdogcow X"$as_dir" : 'X\(//\)$' \| \ 100611.53Sdogcow X"$as_dir" : 'X\(/\)' \| \ 100621.53Sdogcow . : '\(.\)' 2>/dev/null || 100631.53Sdogcowecho X"$as_dir" | 100641.53Sdogcow sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 100651.53Sdogcow /^X\(\/\/\)[^/].*/{ s//\1/; q; } 100661.53Sdogcow /^X\(\/\/\)$/{ s//\1/; q; } 100671.53Sdogcow /^X\(\/\).*/{ s//\1/; q; } 100681.53Sdogcow s/.*/./; q'` 100691.53Sdogcow done 100701.53Sdogcow test ! -n "$as_dirs" || mkdir $as_dirs 100711.53Sdogcow fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 100721.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 100731.53Sdogcow { (exit 1); exit 1; }; }; } 100741.53Sdogcow 100751.53Sdogcow ac_builddir=. 100761.53Sdogcow 100771.53Sdogcowif test "$ac_dir" != .; then 100781.53Sdogcow ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 100791.53Sdogcow # A "../" for each directory in $ac_dir_suffix. 100801.53Sdogcow ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 100811.53Sdogcowelse 100821.53Sdogcow ac_dir_suffix= ac_top_builddir= 100831.53Sdogcowfi 100841.53Sdogcow 100851.53Sdogcowcase $srcdir in 100861.53Sdogcow .) # No --srcdir option. We are building in place. 100871.53Sdogcow ac_srcdir=. 100881.53Sdogcow if test -z "$ac_top_builddir"; then 100891.53Sdogcow ac_top_srcdir=. 100901.53Sdogcow else 100911.53Sdogcow ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 100921.53Sdogcow fi ;; 100931.53Sdogcow [\\/]* | ?:[\\/]* ) # Absolute path. 100941.53Sdogcow ac_srcdir=$srcdir$ac_dir_suffix; 100951.53Sdogcow ac_top_srcdir=$srcdir ;; 100961.53Sdogcow *) # Relative path. 100971.53Sdogcow ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 100981.53Sdogcow ac_top_srcdir=$ac_top_builddir$srcdir ;; 100991.53Sdogcowesac 101001.53Sdogcow 101011.53Sdogcow# Do not use `cd foo && pwd` to compute absolute paths, because 101021.53Sdogcow# the directories may not exist. 101031.53Sdogcowcase `pwd` in 101041.53Sdogcow.) ac_abs_builddir="$ac_dir";; 101051.53Sdogcow*) 101061.53Sdogcow case "$ac_dir" in 101071.53Sdogcow .) ac_abs_builddir=`pwd`;; 101081.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 101091.53Sdogcow *) ac_abs_builddir=`pwd`/"$ac_dir";; 101101.53Sdogcow esac;; 101111.53Sdogcowesac 101121.53Sdogcowcase $ac_abs_builddir in 101131.53Sdogcow.) ac_abs_top_builddir=${ac_top_builddir}.;; 101141.53Sdogcow*) 101151.53Sdogcow case ${ac_top_builddir}. in 101161.53Sdogcow .) ac_abs_top_builddir=$ac_abs_builddir;; 101171.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 101181.53Sdogcow *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 101191.53Sdogcow esac;; 101201.53Sdogcowesac 101211.53Sdogcowcase $ac_abs_builddir in 101221.53Sdogcow.) ac_abs_srcdir=$ac_srcdir;; 101231.53Sdogcow*) 101241.53Sdogcow case $ac_srcdir in 101251.53Sdogcow .) ac_abs_srcdir=$ac_abs_builddir;; 101261.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 101271.53Sdogcow *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 101281.53Sdogcow esac;; 101291.53Sdogcowesac 101301.53Sdogcowcase $ac_abs_builddir in 101311.53Sdogcow.) ac_abs_top_srcdir=$ac_top_srcdir;; 101321.53Sdogcow*) 101331.53Sdogcow case $ac_top_srcdir in 101341.53Sdogcow .) ac_abs_top_srcdir=$ac_abs_builddir;; 101351.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 101361.53Sdogcow *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 101371.53Sdogcow esac;; 101381.50Sjmcesac 101391.1Stv 101401.1Stv 101411.1Stv 101421.1Stv if test x"$ac_file" != x-; then 101431.53Sdogcow { echo "$as_me:$LINENO: creating $ac_file" >&5 101441.1Stvecho "$as_me: creating $ac_file" >&6;} 101451.1Stv rm -f "$ac_file" 101461.1Stv fi 101471.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 101481.1Stv # use $as_me), people would be surprised to read: 101491.53Sdogcow # /* config.h. Generated by config.status. */ 101501.53Sdogcow if test x"$ac_file" = x-; then 101511.53Sdogcow configure_input= 101521.53Sdogcow else 101531.53Sdogcow configure_input="$ac_file. " 101541.53Sdogcow fi 101551.53Sdogcow configure_input=$configure_input"Generated from `echo $ac_file_in | 101561.53Sdogcow sed 's,.*/,,'` by configure." 101571.1Stv 101581.1Stv # First look for the input files in the build tree, otherwise in the 101591.1Stv # src tree. 101601.1Stv ac_file_inputs=`IFS=: 101611.1Stv for f in $ac_file_in; do 101621.1Stv case $f in 101631.1Stv -) echo $tmp/stdin ;; 101641.1Stv [\\/$]*) 101651.53Sdogcow # Absolute (can't be DOS-style, as IFS=:) 101661.53Sdogcow test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101671.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101681.1Stv { (exit 1); exit 1; }; } 101691.53Sdogcow echo "$f";; 101701.1Stv *) # Relative 101711.53Sdogcow if test -f "$f"; then 101721.53Sdogcow # Build tree 101731.53Sdogcow echo "$f" 101741.53Sdogcow elif test -f "$srcdir/$f"; then 101751.53Sdogcow # Source tree 101761.53Sdogcow echo "$srcdir/$f" 101771.53Sdogcow else 101781.53Sdogcow # /dev/null tree 101791.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101801.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101811.1Stv { (exit 1); exit 1; }; } 101821.53Sdogcow fi;; 101831.1Stv esac 101841.1Stv done` || { (exit 1); exit 1; } 101851.53Sdogcow_ACEOF 101861.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 101871.1Stv sed "$ac_vpsub 101881.1Stv$extrasub 101891.53Sdogcow_ACEOF 101901.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 101911.1Stv:t 101921.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 101931.1Stvs,@configure_input@,$configure_input,;t t 101941.1Stvs,@srcdir@,$ac_srcdir,;t t 101951.53Sdogcows,@abs_srcdir@,$ac_abs_srcdir,;t t 101961.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t 101971.53Sdogcows,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 101981.53Sdogcows,@builddir@,$ac_builddir,;t t 101991.53Sdogcows,@abs_builddir@,$ac_abs_builddir,;t t 102001.53Sdogcows,@top_builddir@,$ac_top_builddir,;t t 102011.53Sdogcows,@abs_top_builddir@,$ac_abs_top_builddir,;t t 102021.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 102031.1Stv rm -f $tmp/stdin 102041.1Stv if test x"$ac_file" != x-; then 102051.1Stv mv $tmp/out $ac_file 102061.1Stv else 102071.1Stv cat $tmp/out 102081.1Stv rm -f $tmp/out 102091.1Stv fi 102101.1Stv 102111.1Stvdone 102121.53Sdogcow_ACEOF 102131.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 102141.1Stv 102151.1Stv# 102161.1Stv# CONFIG_HEADER section. 102171.1Stv# 102181.1Stv 102191.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 102201.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given. 102211.1Stv# 102221.1Stv# ac_d sets the value in "#define NAME VALUE" lines. 102231.53Sdogcowac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 102241.53Sdogcowac_dB='[ ].*$,\1#\2' 102251.1Stvac_dC=' ' 102261.1Stvac_dD=',;t' 102271.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 102281.53Sdogcowac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 102291.1Stvac_uB='$,\1#\2define\3' 102301.1Stvac_uC=' ' 102311.1Stvac_uD=',;t' 102321.1Stv 102331.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 102341.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 102351.1Stv case $ac_file in 102361.1Stv - | *:- | *:-:* ) # input from stdin 102371.53Sdogcow cat >$tmp/stdin 102381.53Sdogcow ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 102391.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 102401.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 102411.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 102421.1Stv * ) ac_file_in=$ac_file.in ;; 102431.1Stv esac 102441.1Stv 102451.53Sdogcow test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 102461.1Stvecho "$as_me: creating $ac_file" >&6;} 102471.1Stv 102481.1Stv # First look for the input files in the build tree, otherwise in the 102491.1Stv # src tree. 102501.1Stv ac_file_inputs=`IFS=: 102511.1Stv for f in $ac_file_in; do 102521.1Stv case $f in 102531.1Stv -) echo $tmp/stdin ;; 102541.1Stv [\\/$]*) 102551.53Sdogcow # Absolute (can't be DOS-style, as IFS=:) 102561.53Sdogcow test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 102571.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 102581.1Stv { (exit 1); exit 1; }; } 102591.53Sdogcow # Do quote $f, to prevent DOS paths from being IFS'd. 102601.53Sdogcow echo "$f";; 102611.1Stv *) # Relative 102621.53Sdogcow if test -f "$f"; then 102631.53Sdogcow # Build tree 102641.53Sdogcow echo "$f" 102651.53Sdogcow elif test -f "$srcdir/$f"; then 102661.53Sdogcow # Source tree 102671.53Sdogcow echo "$srcdir/$f" 102681.53Sdogcow else 102691.53Sdogcow # /dev/null tree 102701.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 102711.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 102721.1Stv { (exit 1); exit 1; }; } 102731.53Sdogcow fi;; 102741.1Stv esac 102751.1Stv done` || { (exit 1); exit 1; } 102761.1Stv # Remove the trailing spaces. 102771.53Sdogcow sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 102781.1Stv 102791.53Sdogcow_ACEOF 102801.1Stv 102811.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and 102821.1Stv# `conftest.undefs', that substitutes the proper values into 102831.1Stv# config.h.in to produce config.h. The first handles `#define' 102841.1Stv# templates, and the second `#undef' templates. 102851.1Stv# And first: Protect against being on the right side of a sed subst in 102861.1Stv# config.status. Protect against being in an unquoted here document 102871.1Stv# in config.status. 102881.1Stvrm -f conftest.defines conftest.undefs 102891.1Stv# Using a here document instead of a string reduces the quoting nightmare. 102901.1Stv# Putting comments in sed scripts is not portable. 102911.1Stv# 102921.1Stv# `end' is used to avoid that the second main sed command (meant for 102931.1Stv# 0-ary CPP macros) applies to n-ary macro definitions. 102941.1Stv# See the Autoconf documentation for `clear'. 102951.53Sdogcowcat >confdef2sed.sed <<\_ACEOF 102961.1Stvs/[\\&,]/\\&/g 102971.1Stvs,[\\$`],\\&,g 102981.1Stvt clear 102991.1Stv: clear 103001.53Sdogcows,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 103011.1Stvt end 103021.53Sdogcows,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 103031.1Stv: end 103041.53Sdogcow_ACEOF 103051.1Stv# If some macros were called several times there might be several times 103061.1Stv# the same #defines, which is useless. Nevertheless, we may not want to 103071.1Stv# sort them, since we want the *last* AC-DEFINE to be honored. 103081.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 103091.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 103101.1Stvrm -f confdef2sed.sed 103111.1Stv 103121.1Stv# This sed command replaces #undef with comments. This is necessary, for 103131.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required 103141.1Stv# on some systems where configure will not decide to define it. 103151.53Sdogcowcat >>conftest.undefs <<\_ACEOF 103161.53Sdogcows,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 103171.53Sdogcow_ACEOF 103181.1Stv 103191.1Stv# Break up conftest.defines because some shells have a limit on the size 103201.1Stv# of here documents, and old seds have small limits too (100 cmds). 103211.1Stvecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 103221.53Sdogcowecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 103231.1Stvecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 103241.1Stvecho ' :' >>$CONFIG_STATUS 103251.1Stvrm -f conftest.tail 103261.1Stvwhile grep . conftest.defines >/dev/null 103271.1Stvdo 103281.1Stv # Write a limited-size here document to $tmp/defines.sed. 103291.1Stv echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 103301.1Stv # Speed up: don't consider the non `#define' lines. 103311.53Sdogcow echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 103321.1Stv # Work around the forget-to-reset-the-flag bug. 103331.1Stv echo 't clr' >>$CONFIG_STATUS 103341.1Stv echo ': clr' >>$CONFIG_STATUS 103351.1Stv sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 103361.1Stv echo 'CEOF 103371.1Stv sed -f $tmp/defines.sed $tmp/in >$tmp/out 103381.1Stv rm -f $tmp/in 103391.1Stv mv $tmp/out $tmp/in 103401.1Stv' >>$CONFIG_STATUS 103411.1Stv sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 103421.1Stv rm -f conftest.defines 103431.1Stv mv conftest.tail conftest.defines 103441.1Stvdone 103451.1Stvrm -f conftest.defines 103461.53Sdogcowecho ' fi # grep' >>$CONFIG_STATUS 103471.1Stvecho >>$CONFIG_STATUS 103481.1Stv 103491.1Stv# Break up conftest.undefs because some shells have a limit on the size 103501.1Stv# of here documents, and old seds have small limits too (100 cmds). 103511.1Stvecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 103521.1Stvrm -f conftest.tail 103531.1Stvwhile grep . conftest.undefs >/dev/null 103541.1Stvdo 103551.1Stv # Write a limited-size here document to $tmp/undefs.sed. 103561.1Stv echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 103571.1Stv # Speed up: don't consider the non `#undef' 103581.53Sdogcow echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 103591.1Stv # Work around the forget-to-reset-the-flag bug. 103601.1Stv echo 't clr' >>$CONFIG_STATUS 103611.1Stv echo ': clr' >>$CONFIG_STATUS 103621.1Stv sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 103631.1Stv echo 'CEOF 103641.1Stv sed -f $tmp/undefs.sed $tmp/in >$tmp/out 103651.1Stv rm -f $tmp/in 103661.1Stv mv $tmp/out $tmp/in 103671.1Stv' >>$CONFIG_STATUS 103681.1Stv sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 103691.1Stv rm -f conftest.undefs 103701.1Stv mv conftest.tail conftest.undefs 103711.1Stvdone 103721.1Stvrm -f conftest.undefs 103731.1Stv 103741.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 103751.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 103761.1Stv # use $as_me), people would be surprised to read: 103771.53Sdogcow # /* config.h. Generated by config.status. */ 103781.1Stv if test x"$ac_file" = x-; then 103791.53Sdogcow echo "/* Generated by configure. */" >$tmp/config.h 103801.1Stv else 103811.53Sdogcow echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 103821.1Stv fi 103831.1Stv cat $tmp/in >>$tmp/config.h 103841.1Stv rm -f $tmp/in 103851.1Stv if test x"$ac_file" != x-; then 103861.53Sdogcow if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 103871.53Sdogcow { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 103881.1Stvecho "$as_me: $ac_file is unchanged" >&6;} 103891.1Stv else 103901.53Sdogcow ac_dir=`(dirname "$ac_file") 2>/dev/null || 103911.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 103921.53Sdogcow X"$ac_file" : 'X\(//\)[^/]' \| \ 103931.53Sdogcow X"$ac_file" : 'X\(//\)$' \| \ 103941.53Sdogcow X"$ac_file" : 'X\(/\)' \| \ 103951.53Sdogcow . : '\(.\)' 2>/dev/null || 103961.1Stvecho X"$ac_file" | 103971.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 103981.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 103991.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 104001.1Stv /^X\(\/\).*/{ s//\1/; q; } 104011.1Stv s/.*/./; q'` 104021.53Sdogcow { if $as_mkdir_p; then 104031.53Sdogcow mkdir -p "$ac_dir" 104041.53Sdogcow else 104051.53Sdogcow as_dir="$ac_dir" 104061.53Sdogcow as_dirs= 104071.53Sdogcow while test ! -d "$as_dir"; do 104081.53Sdogcow as_dirs="$as_dir $as_dirs" 104091.53Sdogcow as_dir=`(dirname "$as_dir") 2>/dev/null || 104101.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 104111.53Sdogcow X"$as_dir" : 'X\(//\)[^/]' \| \ 104121.53Sdogcow X"$as_dir" : 'X\(//\)$' \| \ 104131.53Sdogcow X"$as_dir" : 'X\(/\)' \| \ 104141.53Sdogcow . : '\(.\)' 2>/dev/null || 104151.53Sdogcowecho X"$as_dir" | 104161.53Sdogcow sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 104171.53Sdogcow /^X\(\/\/\)[^/].*/{ s//\1/; q; } 104181.53Sdogcow /^X\(\/\/\)$/{ s//\1/; q; } 104191.53Sdogcow /^X\(\/\).*/{ s//\1/; q; } 104201.53Sdogcow s/.*/./; q'` 104211.53Sdogcow done 104221.53Sdogcow test ! -n "$as_dirs" || mkdir $as_dirs 104231.53Sdogcow fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 104241.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 104251.53Sdogcow { (exit 1); exit 1; }; }; } 104261.1Stv 104271.1Stv rm -f $ac_file 104281.1Stv mv $tmp/config.h $ac_file 104291.1Stv fi 104301.1Stv else 104311.1Stv cat $tmp/config.h 104321.1Stv rm -f $tmp/config.h 104331.1Stv fi 104341.1Stvdone 104351.53Sdogcow_ACEOF 104361.1Stv 104371.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 104381.1Stv 104391.1Stv{ (exit 0); exit 0; } 104401.53Sdogcow_ACEOF 104411.1Stvchmod +x $CONFIG_STATUS 104421.1Stvac_clean_files=$ac_clean_files_save 104431.1Stv 104441.53Sdogcow 104451.1Stv# configure is writing to config.log, and then calls config.status. 104461.1Stv# config.status does its own redirection, appending to config.log. 104471.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 104481.1Stv# by configure, so config.status won't be able to write to it; its 104491.1Stv# output is simply discarded. So we exec the FD to /dev/null, 104501.1Stv# effectively closing config.log, so it can be properly (re)opened and 104511.1Stv# appended to by config.status. When coming back to configure, we 104521.1Stv# need to make the FD available again. 104531.1Stvif test "$no_create" != yes; then 104541.1Stv ac_cs_success=: 104551.53Sdogcow ac_config_status_args= 104561.53Sdogcow test "$silent" = yes && 104571.53Sdogcow ac_config_status_args="$ac_config_status_args --quiet" 104581.1Stv exec 5>/dev/null 104591.53Sdogcow $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 104601.1Stv exec 5>>config.log 104611.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 104621.1Stv # would make configure fail if this is the last instruction. 104631.1Stv $ac_cs_success || { (exit 1); exit 1; } 104641.1Stvfi 104651.1Stv 10466