configure revision 1.58
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.53Sdogcowecho "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 60371.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6 60381.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then 60391.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 60401.48Sjmcelse 60411.52Sdbj cat >conftest.$ac_ext <<_ACEOF 60421.53Sdogcow/* confdefs.h. */ 60431.53Sdogcow_ACEOF 60441.53Sdogcowcat confdefs.h >>conftest.$ac_ext 60451.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 60461.53Sdogcow/* end confdefs.h. */ 60471.32Sthorpej#include <sys/types.h> 60481.8Stv#include <dirent.h> 60491.8Stv 60501.8Stvint 60511.8Stvmain () 60521.8Stv{ 60531.8Stvstatic struct dirent ac_aggr; 60541.52Sdbjif (ac_aggr.d_namlen) 60551.8Stvreturn 0; 60561.8Stv ; 60571.8Stv return 0; 60581.8Stv} 60591.8Stv_ACEOF 60601.8Stvrm -f conftest.$ac_objext 60611.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 60621.53Sdogcow (eval $ac_compile) 2>conftest.er1 60631.53Sdogcow ac_status=$? 60641.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 60651.53Sdogcow rm -f conftest.er1 60661.53Sdogcow cat conftest.err >&5 60671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60681.53Sdogcow (exit $ac_status); } && 60691.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 60701.53Sdogcow || test ! -s conftest.err' 60711.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60721.53Sdogcow (eval $ac_try) 2>&5 60731.53Sdogcow ac_status=$? 60741.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60751.53Sdogcow (exit $ac_status); }; } && 60761.53Sdogcow { ac_try='test -s conftest.$ac_objext' 60771.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60781.53Sdogcow (eval $ac_try) 2>&5 60791.53Sdogcow ac_status=$? 60801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 60811.53Sdogcow (exit $ac_status); }; }; then 60821.53Sdogcow ac_cv_member_struct_dirent_d_namlen=yes 60831.53Sdogcowelse 60841.53Sdogcow echo "$as_me: failed program was:" >&5 60851.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 60861.53Sdogcow 60871.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 60881.53Sdogcow/* confdefs.h. */ 60891.53Sdogcow_ACEOF 60901.53Sdogcowcat confdefs.h >>conftest.$ac_ext 60911.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 60921.53Sdogcow/* end confdefs.h. */ 60931.53Sdogcow#include <sys/types.h> 60941.53Sdogcow#include <dirent.h> 60951.53Sdogcow 60961.53Sdogcowint 60971.53Sdogcowmain () 60981.53Sdogcow{ 60991.53Sdogcowstatic struct dirent ac_aggr; 61001.53Sdogcowif (sizeof ac_aggr.d_namlen) 61011.53Sdogcowreturn 0; 61021.53Sdogcow ; 61031.53Sdogcow return 0; 61041.53Sdogcow} 61051.53Sdogcow_ACEOF 61061.53Sdogcowrm -f conftest.$ac_objext 61071.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61081.53Sdogcow (eval $ac_compile) 2>conftest.er1 61091.8Stv ac_status=$? 61101.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 61111.53Sdogcow rm -f conftest.er1 61121.53Sdogcow cat conftest.err >&5 61131.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61141.8Stv (exit $ac_status); } && 61151.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 61161.53Sdogcow || test ! -s conftest.err' 61171.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61181.53Sdogcow (eval $ac_try) 2>&5 61191.53Sdogcow ac_status=$? 61201.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61211.53Sdogcow (exit $ac_status); }; } && 61221.53Sdogcow { ac_try='test -s conftest.$ac_objext' 61231.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61241.50Sjmc (eval $ac_try) 2>&5 61251.50Sjmc ac_status=$? 61261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61271.8Stv (exit $ac_status); }; }; then 61281.8Stv ac_cv_member_struct_dirent_d_namlen=yes 61291.8Stvelse 61301.8Stv echo "$as_me: failed program was:" >&5 61311.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 61321.53Sdogcow 61331.8Stvac_cv_member_struct_dirent_d_namlen=no 61341.8Stvfi 61351.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61361.48Sjmcfi 61371.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61381.53Sdogcowfi 61391.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 61401.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6 61411.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then 61421.8Stv 61431.53Sdogcowcat >>confdefs.h <<_ACEOF 61441.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 61451.53Sdogcow_ACEOF 61461.53Sdogcow 61471.39Sfredb 61481.39Sfredbfi 61491.39Sfredb 61501.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_flags" >&5 61511.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6 61521.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then 61531.39Sfredb echo $ECHO_N "(cached) $ECHO_C" >&6 61541.39Sfredbelse 61551.39Sfredb cat >conftest.$ac_ext <<_ACEOF 61561.53Sdogcow/* confdefs.h. */ 61571.53Sdogcow_ACEOF 61581.53Sdogcowcat confdefs.h >>conftest.$ac_ext 61591.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 61601.53Sdogcow/* end confdefs.h. */ 61611.4Stv#include <sys/stat.h> 61621.4Stv 61631.4Stvint 61641.4Stvmain () 61651.4Stv{ 61661.4Stvstatic struct stat ac_aggr; 61671.43Sdbjif (ac_aggr.st_flags) 61681.4Stvreturn 0; 61691.4Stv ; 61701.4Stv return 0; 61711.4Stv} 61721.4Stv_ACEOF 61731.4Stvrm -f conftest.$ac_objext 61741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61751.53Sdogcow (eval $ac_compile) 2>conftest.er1 61761.4Stv 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.4Stv (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.48Sjmc (eval $ac_try) 2>&5 61921.48Sjmc ac_status=$? 61931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 61941.4Stv (exit $ac_status); }; }; then 61951.43Sdbj ac_cv_member_struct_stat_st_flags=yes 61961.4Stvelse 61971.4Stv echo "$as_me: failed program was:" >&5 61981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 61991.4Stv 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/stat.h> 62071.53Sdogcow 62081.53Sdogcowint 62091.53Sdogcowmain () 62101.53Sdogcow{ 62111.53Sdogcowstatic struct stat ac_aggr; 62121.53Sdogcowif (sizeof ac_aggr.st_flags) 62131.53Sdogcowreturn 0; 62141.53Sdogcow ; 62151.53Sdogcow return 0; 62161.53Sdogcow} 62171.53Sdogcow_ACEOF 62181.53Sdogcowrm -f conftest.$ac_objext 62191.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62201.53Sdogcow (eval $ac_compile) 2>conftest.er1 62211.53Sdogcow ac_status=$? 62221.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 62231.53Sdogcow rm -f conftest.er1 62241.53Sdogcow cat conftest.err >&5 62251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62261.53Sdogcow (exit $ac_status); } && 62271.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 62281.53Sdogcow || test ! -s conftest.err' 62291.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62301.53Sdogcow (eval $ac_try) 2>&5 62311.53Sdogcow ac_status=$? 62321.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62331.53Sdogcow (exit $ac_status); }; } && 62341.53Sdogcow { ac_try='test -s conftest.$ac_objext' 62351.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62361.53Sdogcow (eval $ac_try) 2>&5 62371.53Sdogcow ac_status=$? 62381.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62391.53Sdogcow (exit $ac_status); }; }; then 62401.53Sdogcow ac_cv_member_struct_stat_st_flags=yes 62411.53Sdogcowelse 62421.53Sdogcow echo "$as_me: failed program was:" >&5 62431.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 62441.53Sdogcow 62451.53Sdogcowac_cv_member_struct_stat_st_flags=no 62461.53Sdogcowfi 62471.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62481.53Sdogcowfi 62491.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62501.53Sdogcowfi 62511.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5 62521.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6 62531.53Sdogcowif test $ac_cv_member_struct_stat_st_flags = yes; then 62541.53Sdogcow 62551.53Sdogcowcat >>confdefs.h <<_ACEOF 62561.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1 62571.53Sdogcow_ACEOF 62581.53Sdogcow 62591.4Stv 62601.4Stvfi 62611.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_gen" >&5 62621.43Sdbjecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6 62631.43Sdbjif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then 62641.40Satatat echo $ECHO_N "(cached) $ECHO_C" >&6 62651.40Satatatelse 62661.40Satatat cat >conftest.$ac_ext <<_ACEOF 62671.53Sdogcow/* confdefs.h. */ 62681.53Sdogcow_ACEOF 62691.53Sdogcowcat confdefs.h >>conftest.$ac_ext 62701.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 62711.53Sdogcow/* end confdefs.h. */ 62721.40Satatat#include <sys/stat.h> 62731.40Satatat 62741.40Satatatint 62751.40Satatatmain () 62761.40Satatat{ 62771.40Satatatstatic struct stat ac_aggr; 62781.43Sdbjif (ac_aggr.st_gen) 62791.40Satatatreturn 0; 62801.40Satatat ; 62811.40Satatat return 0; 62821.40Satatat} 62831.40Satatat_ACEOF 62841.40Satatatrm -f conftest.$ac_objext 62851.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62861.53Sdogcow (eval $ac_compile) 2>conftest.er1 62871.53Sdogcow ac_status=$? 62881.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 62891.53Sdogcow rm -f conftest.er1 62901.53Sdogcow cat conftest.err >&5 62911.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62921.53Sdogcow (exit $ac_status); } && 62931.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 62941.53Sdogcow || test ! -s conftest.err' 62951.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62961.53Sdogcow (eval $ac_try) 2>&5 62971.53Sdogcow ac_status=$? 62981.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 62991.53Sdogcow (exit $ac_status); }; } && 63001.53Sdogcow { ac_try='test -s conftest.$ac_objext' 63011.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63021.53Sdogcow (eval $ac_try) 2>&5 63031.53Sdogcow ac_status=$? 63041.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63051.53Sdogcow (exit $ac_status); }; }; then 63061.53Sdogcow ac_cv_member_struct_stat_st_gen=yes 63071.53Sdogcowelse 63081.53Sdogcow echo "$as_me: failed program was:" >&5 63091.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 63101.53Sdogcow 63111.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 63121.53Sdogcow/* confdefs.h. */ 63131.53Sdogcow_ACEOF 63141.53Sdogcowcat confdefs.h >>conftest.$ac_ext 63151.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 63161.53Sdogcow/* end confdefs.h. */ 63171.53Sdogcow#include <sys/stat.h> 63181.53Sdogcow 63191.53Sdogcowint 63201.53Sdogcowmain () 63211.53Sdogcow{ 63221.53Sdogcowstatic struct stat ac_aggr; 63231.53Sdogcowif (sizeof ac_aggr.st_gen) 63241.53Sdogcowreturn 0; 63251.53Sdogcow ; 63261.53Sdogcow return 0; 63271.53Sdogcow} 63281.53Sdogcow_ACEOF 63291.53Sdogcowrm -f conftest.$ac_objext 63301.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63311.53Sdogcow (eval $ac_compile) 2>conftest.er1 63321.50Sjmc ac_status=$? 63331.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 63341.53Sdogcow rm -f conftest.er1 63351.53Sdogcow cat conftest.err >&5 63361.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63371.50Sjmc (exit $ac_status); } && 63381.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 63391.53Sdogcow || test ! -s conftest.err' 63401.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63411.53Sdogcow (eval $ac_try) 2>&5 63421.53Sdogcow ac_status=$? 63431.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63441.53Sdogcow (exit $ac_status); }; } && 63451.53Sdogcow { ac_try='test -s conftest.$ac_objext' 63461.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63471.50Sjmc (eval $ac_try) 2>&5 63481.50Sjmc ac_status=$? 63491.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 63501.50Sjmc (exit $ac_status); }; }; then 63511.50Sjmc ac_cv_member_struct_stat_st_gen=yes 63521.50Sjmcelse 63531.50Sjmc echo "$as_me: failed program was:" >&5 63541.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 63551.53Sdogcow 63561.50Sjmcac_cv_member_struct_stat_st_gen=no 63571.50Sjmcfi 63581.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63591.50Sjmcfi 63601.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63611.53Sdogcowfi 63621.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5 63631.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6 63641.50Sjmcif test $ac_cv_member_struct_stat_st_gen = yes; then 63651.50Sjmc 63661.53Sdogcowcat >>confdefs.h <<_ACEOF 63671.50Sjmc#define HAVE_STRUCT_STAT_ST_GEN 1 63681.53Sdogcow_ACEOF 63691.53Sdogcow 63701.50Sjmc 63711.50Sjmcfi 63721.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5 63731.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6 63741.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then 63751.50Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 63761.50Sjmcelse 63771.50Sjmc cat >conftest.$ac_ext <<_ACEOF 63781.53Sdogcow/* confdefs.h. */ 63791.53Sdogcow_ACEOF 63801.53Sdogcowcat confdefs.h >>conftest.$ac_ext 63811.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 63821.53Sdogcow/* end confdefs.h. */ 63831.50Sjmc#include <sys/stat.h> 63841.50Sjmc 63851.50Sjmcint 63861.50Sjmcmain () 63871.50Sjmc{ 63881.50Sjmcstatic struct stat ac_aggr; 63891.50Sjmcif (ac_aggr.st_birthtime) 63901.50Sjmcreturn 0; 63911.50Sjmc ; 63921.50Sjmc return 0; 63931.50Sjmc} 63941.50Sjmc_ACEOF 63951.50Sjmcrm -f conftest.$ac_objext 63961.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63971.53Sdogcow (eval $ac_compile) 2>conftest.er1 63981.53Sdogcow ac_status=$? 63991.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 64001.53Sdogcow rm -f conftest.er1 64011.53Sdogcow cat conftest.err >&5 64021.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64031.53Sdogcow (exit $ac_status); } && 64041.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 64051.53Sdogcow || test ! -s conftest.err' 64061.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64071.53Sdogcow (eval $ac_try) 2>&5 64081.53Sdogcow ac_status=$? 64091.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64101.53Sdogcow (exit $ac_status); }; } && 64111.53Sdogcow { ac_try='test -s conftest.$ac_objext' 64121.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64131.53Sdogcow (eval $ac_try) 2>&5 64141.53Sdogcow ac_status=$? 64151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64161.53Sdogcow (exit $ac_status); }; }; then 64171.53Sdogcow ac_cv_member_struct_stat_st_birthtime=yes 64181.53Sdogcowelse 64191.53Sdogcow echo "$as_me: failed program was:" >&5 64201.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 64211.53Sdogcow 64221.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 64231.53Sdogcow/* confdefs.h. */ 64241.53Sdogcow_ACEOF 64251.53Sdogcowcat confdefs.h >>conftest.$ac_ext 64261.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 64271.53Sdogcow/* end confdefs.h. */ 64281.53Sdogcow#include <sys/stat.h> 64291.53Sdogcow 64301.53Sdogcowint 64311.53Sdogcowmain () 64321.53Sdogcow{ 64331.53Sdogcowstatic struct stat ac_aggr; 64341.53Sdogcowif (sizeof ac_aggr.st_birthtime) 64351.53Sdogcowreturn 0; 64361.53Sdogcow ; 64371.53Sdogcow return 0; 64381.53Sdogcow} 64391.53Sdogcow_ACEOF 64401.53Sdogcowrm -f conftest.$ac_objext 64411.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 64421.53Sdogcow (eval $ac_compile) 2>conftest.er1 64431.40Satatat ac_status=$? 64441.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 64451.53Sdogcow rm -f conftest.er1 64461.53Sdogcow cat conftest.err >&5 64471.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64481.40Satatat (exit $ac_status); } && 64491.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 64501.53Sdogcow || test ! -s conftest.err' 64511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64521.53Sdogcow (eval $ac_try) 2>&5 64531.53Sdogcow ac_status=$? 64541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64551.53Sdogcow (exit $ac_status); }; } && 64561.53Sdogcow { ac_try='test -s conftest.$ac_objext' 64571.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64581.40Satatat (eval $ac_try) 2>&5 64591.40Satatat ac_status=$? 64601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 64611.40Satatat (exit $ac_status); }; }; then 64621.50Sjmc ac_cv_member_struct_stat_st_birthtime=yes 64631.40Satatatelse 64641.40Satatat echo "$as_me: failed program was:" >&5 64651.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 64661.53Sdogcow 64671.50Sjmcac_cv_member_struct_stat_st_birthtime=no 64681.43Sdbjfi 64691.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64701.53Sdogcowfi 64711.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64721.43Sdbjfi 64731.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5 64741.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6 64751.50Sjmcif test $ac_cv_member_struct_stat_st_birthtime = yes; then 64761.43Sdbj 64771.53Sdogcowcat >>confdefs.h <<_ACEOF 64781.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 64791.53Sdogcow_ACEOF 64801.53Sdogcow 64811.40Satatat 64821.43Sdbjfi 64831.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtimensec" >&5 64841.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6 64851.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then 64861.43Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 64871.43Sdbjelse 64881.43Sdbj cat >conftest.$ac_ext <<_ACEOF 64891.53Sdogcow/* confdefs.h. */ 64901.53Sdogcow_ACEOF 64911.53Sdogcowcat confdefs.h >>conftest.$ac_ext 64921.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 64931.53Sdogcow/* end confdefs.h. */ 64941.40Satatat#include <sys/stat.h> 64951.40Satatat 64961.40Satatatint 64971.40Satatatmain () 64981.40Satatat{ 64991.40Satatatstatic struct stat ac_aggr; 65001.50Sjmcif (ac_aggr.st_birthtimensec) 65011.40Satatatreturn 0; 65021.40Satatat ; 65031.40Satatat return 0; 65041.40Satatat} 65051.40Satatat_ACEOF 65061.40Satatatrm -f conftest.$ac_objext 65071.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65081.53Sdogcow (eval $ac_compile) 2>conftest.er1 65091.53Sdogcow ac_status=$? 65101.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 65111.53Sdogcow rm -f conftest.er1 65121.53Sdogcow cat conftest.err >&5 65131.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65141.53Sdogcow (exit $ac_status); } && 65151.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 65161.53Sdogcow || test ! -s conftest.err' 65171.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65181.53Sdogcow (eval $ac_try) 2>&5 65191.53Sdogcow ac_status=$? 65201.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65211.53Sdogcow (exit $ac_status); }; } && 65221.53Sdogcow { ac_try='test -s conftest.$ac_objext' 65231.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65241.53Sdogcow (eval $ac_try) 2>&5 65251.53Sdogcow ac_status=$? 65261.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65271.53Sdogcow (exit $ac_status); }; }; then 65281.53Sdogcow ac_cv_member_struct_stat_st_birthtimensec=yes 65291.53Sdogcowelse 65301.53Sdogcow echo "$as_me: failed program was:" >&5 65311.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 65321.53Sdogcow 65331.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 65341.53Sdogcow/* confdefs.h. */ 65351.53Sdogcow_ACEOF 65361.53Sdogcowcat confdefs.h >>conftest.$ac_ext 65371.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 65381.53Sdogcow/* end confdefs.h. */ 65391.53Sdogcow#include <sys/stat.h> 65401.53Sdogcow 65411.53Sdogcowint 65421.53Sdogcowmain () 65431.53Sdogcow{ 65441.53Sdogcowstatic struct stat ac_aggr; 65451.53Sdogcowif (sizeof ac_aggr.st_birthtimensec) 65461.53Sdogcowreturn 0; 65471.53Sdogcow ; 65481.53Sdogcow return 0; 65491.53Sdogcow} 65501.53Sdogcow_ACEOF 65511.53Sdogcowrm -f conftest.$ac_objext 65521.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65531.53Sdogcow (eval $ac_compile) 2>conftest.er1 65541.40Satatat ac_status=$? 65551.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 65561.53Sdogcow rm -f conftest.er1 65571.53Sdogcow cat conftest.err >&5 65581.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65591.40Satatat (exit $ac_status); } && 65601.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 65611.53Sdogcow || test ! -s conftest.err' 65621.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65631.53Sdogcow (eval $ac_try) 2>&5 65641.53Sdogcow ac_status=$? 65651.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65661.53Sdogcow (exit $ac_status); }; } && 65671.53Sdogcow { ac_try='test -s conftest.$ac_objext' 65681.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65691.50Sjmc (eval $ac_try) 2>&5 65701.50Sjmc ac_status=$? 65711.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 65721.40Satatat (exit $ac_status); }; }; then 65731.50Sjmc ac_cv_member_struct_stat_st_birthtimensec=yes 65741.40Satatatelse 65751.40Satatat echo "$as_me: failed program was:" >&5 65761.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 65771.53Sdogcow 65781.50Sjmcac_cv_member_struct_stat_st_birthtimensec=no 65791.40Satatatfi 65801.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65811.40Satatatfi 65821.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65831.53Sdogcowfi 65841.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5 65851.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6 65861.50Sjmcif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then 65871.40Satatat 65881.53Sdogcowcat >>confdefs.h <<_ACEOF 65891.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 65901.53Sdogcow_ACEOF 65911.53Sdogcow 65921.40Satatat 65931.40Satatatfi 65941.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_atim" >&5 65951.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6 65961.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then 65971.40Satatat echo $ECHO_N "(cached) $ECHO_C" >&6 65981.40Satatatelse 65991.40Satatat cat >conftest.$ac_ext <<_ACEOF 66001.53Sdogcow/* confdefs.h. */ 66011.53Sdogcow_ACEOF 66021.53Sdogcowcat confdefs.h >>conftest.$ac_ext 66031.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 66041.53Sdogcow/* end confdefs.h. */ 66051.40Satatat#include <sys/stat.h> 66061.40Satatat 66071.40Satatatint 66081.40Satatatmain () 66091.40Satatat{ 66101.40Satatatstatic struct stat ac_aggr; 66111.40Satatatif (ac_aggr.st_atim) 66121.40Satatatreturn 0; 66131.40Satatat ; 66141.40Satatat return 0; 66151.40Satatat} 66161.40Satatat_ACEOF 66171.40Satatatrm -f conftest.$ac_objext 66181.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66191.53Sdogcow (eval $ac_compile) 2>conftest.er1 66201.53Sdogcow ac_status=$? 66211.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 66221.53Sdogcow rm -f conftest.er1 66231.53Sdogcow cat conftest.err >&5 66241.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66251.53Sdogcow (exit $ac_status); } && 66261.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 66271.53Sdogcow || test ! -s conftest.err' 66281.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66291.53Sdogcow (eval $ac_try) 2>&5 66301.53Sdogcow ac_status=$? 66311.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66321.53Sdogcow (exit $ac_status); }; } && 66331.53Sdogcow { ac_try='test -s conftest.$ac_objext' 66341.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66351.53Sdogcow (eval $ac_try) 2>&5 66361.53Sdogcow ac_status=$? 66371.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66381.53Sdogcow (exit $ac_status); }; }; then 66391.53Sdogcow ac_cv_member_struct_stat_st_atim=yes 66401.53Sdogcowelse 66411.53Sdogcow echo "$as_me: failed program was:" >&5 66421.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 66431.53Sdogcow 66441.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 66451.53Sdogcow/* confdefs.h. */ 66461.53Sdogcow_ACEOF 66471.53Sdogcowcat confdefs.h >>conftest.$ac_ext 66481.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 66491.53Sdogcow/* end confdefs.h. */ 66501.53Sdogcow#include <sys/stat.h> 66511.53Sdogcow 66521.53Sdogcowint 66531.53Sdogcowmain () 66541.53Sdogcow{ 66551.53Sdogcowstatic struct stat ac_aggr; 66561.53Sdogcowif (sizeof ac_aggr.st_atim) 66571.53Sdogcowreturn 0; 66581.53Sdogcow ; 66591.53Sdogcow return 0; 66601.53Sdogcow} 66611.53Sdogcow_ACEOF 66621.53Sdogcowrm -f conftest.$ac_objext 66631.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66641.53Sdogcow (eval $ac_compile) 2>conftest.er1 66651.40Satatat ac_status=$? 66661.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 66671.53Sdogcow rm -f conftest.er1 66681.53Sdogcow cat conftest.err >&5 66691.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66701.40Satatat (exit $ac_status); } && 66711.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 66721.53Sdogcow || test ! -s conftest.err' 66731.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66741.40Satatat (eval $ac_try) 2>&5 66751.40Satatat ac_status=$? 66761.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66771.53Sdogcow (exit $ac_status); }; } && 66781.53Sdogcow { ac_try='test -s conftest.$ac_objext' 66791.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66801.53Sdogcow (eval $ac_try) 2>&5 66811.53Sdogcow ac_status=$? 66821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 66831.40Satatat (exit $ac_status); }; }; then 66841.40Satatat ac_cv_member_struct_stat_st_atim=yes 66851.40Satatatelse 66861.40Satatat echo "$as_me: failed program was:" >&5 66871.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 66881.53Sdogcow 66891.40Satatatac_cv_member_struct_stat_st_atim=no 66901.40Satatatfi 66911.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66921.53Sdogcowfi 66931.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66941.40Satatatfi 66951.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5 66961.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6 66971.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then 66981.40Satatat 66991.53Sdogcowcat >>confdefs.h <<_ACEOF 67001.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1 67011.53Sdogcow_ACEOF 67021.53Sdogcow 67031.40Satatat 67041.40Satatatfi 67051.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5 67061.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6 67071.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then 67081.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 67091.7Stvelse 67101.7Stv cat >conftest.$ac_ext <<_ACEOF 67111.53Sdogcow/* confdefs.h. */ 67121.53Sdogcow_ACEOF 67131.53Sdogcowcat confdefs.h >>conftest.$ac_ext 67141.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 67151.53Sdogcow/* end confdefs.h. */ 67161.7Stv#include <sys/stat.h> 67171.7Stv 67181.7Stvint 67191.7Stvmain () 67201.7Stv{ 67211.7Stvstatic struct stat ac_aggr; 67221.39Sfredbif (ac_aggr.st_mtimensec) 67231.7Stvreturn 0; 67241.7Stv ; 67251.7Stv return 0; 67261.7Stv} 67271.7Stv_ACEOF 67281.7Stvrm -f conftest.$ac_objext 67291.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67301.53Sdogcow (eval $ac_compile) 2>conftest.er1 67311.53Sdogcow ac_status=$? 67321.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 67331.53Sdogcow rm -f conftest.er1 67341.53Sdogcow cat conftest.err >&5 67351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67361.53Sdogcow (exit $ac_status); } && 67371.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 67381.53Sdogcow || test ! -s conftest.err' 67391.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67401.53Sdogcow (eval $ac_try) 2>&5 67411.53Sdogcow ac_status=$? 67421.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67431.53Sdogcow (exit $ac_status); }; } && 67441.53Sdogcow { ac_try='test -s conftest.$ac_objext' 67451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67461.53Sdogcow (eval $ac_try) 2>&5 67471.53Sdogcow ac_status=$? 67481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67491.53Sdogcow (exit $ac_status); }; }; then 67501.53Sdogcow ac_cv_member_struct_stat_st_mtimensec=yes 67511.53Sdogcowelse 67521.53Sdogcow echo "$as_me: failed program was:" >&5 67531.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 67541.53Sdogcow 67551.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 67561.53Sdogcow/* confdefs.h. */ 67571.53Sdogcow_ACEOF 67581.53Sdogcowcat confdefs.h >>conftest.$ac_ext 67591.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 67601.53Sdogcow/* end confdefs.h. */ 67611.53Sdogcow#include <sys/stat.h> 67621.53Sdogcow 67631.53Sdogcowint 67641.53Sdogcowmain () 67651.53Sdogcow{ 67661.53Sdogcowstatic struct stat ac_aggr; 67671.53Sdogcowif (sizeof ac_aggr.st_mtimensec) 67681.53Sdogcowreturn 0; 67691.53Sdogcow ; 67701.53Sdogcow return 0; 67711.53Sdogcow} 67721.53Sdogcow_ACEOF 67731.53Sdogcowrm -f conftest.$ac_objext 67741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67751.53Sdogcow (eval $ac_compile) 2>conftest.er1 67761.7Stv ac_status=$? 67771.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 67781.53Sdogcow rm -f conftest.er1 67791.53Sdogcow cat conftest.err >&5 67801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67811.7Stv (exit $ac_status); } && 67821.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 67831.53Sdogcow || test ! -s conftest.err' 67841.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67851.53Sdogcow (eval $ac_try) 2>&5 67861.53Sdogcow ac_status=$? 67871.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67881.53Sdogcow (exit $ac_status); }; } && 67891.53Sdogcow { ac_try='test -s conftest.$ac_objext' 67901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67911.48Sjmc (eval $ac_try) 2>&5 67921.48Sjmc ac_status=$? 67931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 67941.7Stv (exit $ac_status); }; }; then 67951.7Stv ac_cv_member_struct_stat_st_mtimensec=yes 67961.7Stvelse 67971.7Stv echo "$as_me: failed program was:" >&5 67981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 67991.53Sdogcow 68001.7Stvac_cv_member_struct_stat_st_mtimensec=no 68011.7Stvfi 68021.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68031.7Stvfi 68041.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68051.53Sdogcowfi 68061.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5 68071.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6 68081.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then 68091.7Stv 68101.53Sdogcowcat >>confdefs.h <<_ACEOF 68111.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 68121.53Sdogcow_ACEOF 68131.53Sdogcow 68141.7Stv 68151.7Stvfi 68161.4Stv 68171.53Sdogcowecho "$as_me:$LINENO: checking for struct statvfs.f_iosize" >&5 68181.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6 68191.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then 68201.47Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 68211.47Sdbjelse 68221.52Sdbj cat >conftest.$ac_ext <<_ACEOF 68231.53Sdogcow/* confdefs.h. */ 68241.53Sdogcow_ACEOF 68251.53Sdogcowcat confdefs.h >>conftest.$ac_ext 68261.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 68271.53Sdogcow/* end confdefs.h. */ 68281.48Sjmc#include <sys/statvfs.h> 68291.48Sjmc 68301.48Sjmcint 68311.48Sjmcmain () 68321.48Sjmc{ 68331.48Sjmcstatic struct statvfs ac_aggr; 68341.52Sdbjif (ac_aggr.f_iosize) 68351.48Sjmcreturn 0; 68361.48Sjmc ; 68371.48Sjmc return 0; 68381.48Sjmc} 68391.48Sjmc_ACEOF 68401.48Sjmcrm -f conftest.$ac_objext 68411.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68421.53Sdogcow (eval $ac_compile) 2>conftest.er1 68431.47Sdbj ac_status=$? 68441.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 68451.53Sdogcow rm -f conftest.er1 68461.53Sdogcow cat conftest.err >&5 68471.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68481.47Sdbj (exit $ac_status); } && 68491.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 68501.53Sdogcow || test ! -s conftest.err' 68511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68521.53Sdogcow (eval $ac_try) 2>&5 68531.53Sdogcow ac_status=$? 68541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68551.53Sdogcow (exit $ac_status); }; } && 68561.53Sdogcow { ac_try='test -s conftest.$ac_objext' 68571.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68581.47Sdbj (eval $ac_try) 2>&5 68591.47Sdbj ac_status=$? 68601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68611.47Sdbj (exit $ac_status); }; }; then 68621.47Sdbj ac_cv_member_struct_statvfs_f_iosize=yes 68631.47Sdbjelse 68641.47Sdbj echo "$as_me: failed program was:" >&5 68651.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 68661.47Sdbj 68671.53Sdogcowcat >conftest.$ac_ext <<_ACEOF 68681.53Sdogcow/* confdefs.h. */ 68691.53Sdogcow_ACEOF 68701.53Sdogcowcat confdefs.h >>conftest.$ac_ext 68711.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 68721.53Sdogcow/* end confdefs.h. */ 68731.53Sdogcow#include <sys/statvfs.h> 68741.7Stv 68751.7Stvint 68761.7Stvmain () 68771.7Stv{ 68781.53Sdogcowstatic struct statvfs ac_aggr; 68791.53Sdogcowif (sizeof ac_aggr.f_iosize) 68801.53Sdogcowreturn 0; 68811.7Stv ; 68821.7Stv return 0; 68831.7Stv} 68841.7Stv_ACEOF 68851.7Stvrm -f conftest.$ac_objext 68861.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68871.53Sdogcow (eval $ac_compile) 2>conftest.er1 68881.7Stv ac_status=$? 68891.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 68901.53Sdogcow rm -f conftest.er1 68911.53Sdogcow cat conftest.err >&5 68921.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 68931.7Stv (exit $ac_status); } && 68941.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 68951.53Sdogcow || test ! -s conftest.err' 68961.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68971.7Stv (eval $ac_try) 2>&5 68981.7Stv ac_status=$? 68991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69001.53Sdogcow (exit $ac_status); }; } && 69011.53Sdogcow { ac_try='test -s conftest.$ac_objext' 69021.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69031.53Sdogcow (eval $ac_try) 2>&5 69041.53Sdogcow ac_status=$? 69051.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69061.53Sdogcow (exit $ac_status); }; }; then 69071.53Sdogcow ac_cv_member_struct_statvfs_f_iosize=yes 69081.53Sdogcowelse 69091.53Sdogcow echo "$as_me: failed program was:" >&5 69101.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 69111.53Sdogcow 69121.53Sdogcowac_cv_member_struct_statvfs_f_iosize=no 69131.53Sdogcowfi 69141.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69151.53Sdogcowfi 69161.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69171.53Sdogcowfi 69181.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_iosize" >&5 69191.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6 69201.53Sdogcowif test $ac_cv_member_struct_statvfs_f_iosize = yes; then 69211.53Sdogcow 69221.53Sdogcowcat >>confdefs.h <<_ACEOF 69231.53Sdogcow#define HAVE_STRUCT_STATVFS_F_IOSIZE 1 69241.53Sdogcow_ACEOF 69251.53Sdogcow 69261.53Sdogcow 69271.53Sdogcowfi 69281.53Sdogcow 69291.53Sdogcow 69301.53Sdogcow# Global variable decls. 69311.53Sdogcowecho "$as_me:$LINENO: checking whether optind is declared" >&5 69321.53Sdogcowecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6 69331.53Sdogcowif test "${ac_cv_have_decl_optind+set}" = set; then 69341.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 69351.53Sdogcowelse 69361.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 69371.53Sdogcow/* confdefs.h. */ 69381.53Sdogcow_ACEOF 69391.53Sdogcowcat confdefs.h >>conftest.$ac_ext 69401.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 69411.53Sdogcow/* end confdefs.h. */ 69421.53Sdogcow 69431.53Sdogcow#include <stdio.h> 69441.53Sdogcow#include <stdlib.h> 69451.53Sdogcow#include <unistd.h> 69461.53Sdogcow 69471.53Sdogcow 69481.53Sdogcowint 69491.53Sdogcowmain () 69501.53Sdogcow{ 69511.53Sdogcow#ifndef optind 69521.53Sdogcow char *p = (char *) optind; 69531.53Sdogcow#endif 69541.53Sdogcow 69551.53Sdogcow ; 69561.53Sdogcow return 0; 69571.53Sdogcow} 69581.53Sdogcow_ACEOF 69591.53Sdogcowrm -f conftest.$ac_objext 69601.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 69611.53Sdogcow (eval $ac_compile) 2>conftest.er1 69621.53Sdogcow ac_status=$? 69631.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 69641.53Sdogcow rm -f conftest.er1 69651.53Sdogcow cat conftest.err >&5 69661.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69671.53Sdogcow (exit $ac_status); } && 69681.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 69691.53Sdogcow || test ! -s conftest.err' 69701.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69711.53Sdogcow (eval $ac_try) 2>&5 69721.53Sdogcow ac_status=$? 69731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69741.53Sdogcow (exit $ac_status); }; } && 69751.53Sdogcow { ac_try='test -s conftest.$ac_objext' 69761.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69771.53Sdogcow (eval $ac_try) 2>&5 69781.53Sdogcow ac_status=$? 69791.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 69801.7Stv (exit $ac_status); }; }; then 69811.7Stv ac_cv_have_decl_optind=yes 69821.7Stvelse 69831.7Stv echo "$as_me: failed program was:" >&5 69841.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 69851.53Sdogcow 69861.7Stvac_cv_have_decl_optind=no 69871.7Stvfi 69881.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69891.7Stvfi 69901.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 69911.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6 69921.7Stvif test $ac_cv_have_decl_optind = yes; then 69931.7Stv 69941.53Sdogcowcat >>confdefs.h <<_ACEOF 69951.7Stv#define HAVE_DECL_OPTIND 1 69961.53Sdogcow_ACEOF 69971.53Sdogcow 69981.7Stv 69991.7Stvelse 70001.53Sdogcow cat >>confdefs.h <<_ACEOF 70011.7Stv#define HAVE_DECL_OPTIND 0 70021.53Sdogcow_ACEOF 70031.53Sdogcow 70041.7Stv 70051.7Stvfi 70061.53Sdogcowecho "$as_me:$LINENO: checking whether optreset is declared" >&5 70071.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 70081.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then 70091.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 70101.7Stvelse 70111.7Stv cat >conftest.$ac_ext <<_ACEOF 70121.53Sdogcow/* confdefs.h. */ 70131.53Sdogcow_ACEOF 70141.53Sdogcowcat confdefs.h >>conftest.$ac_ext 70151.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 70161.53Sdogcow/* end confdefs.h. */ 70171.7Stv 70181.7Stv#include <stdio.h> 70191.7Stv#include <stdlib.h> 70201.7Stv#include <unistd.h> 70211.7Stv 70221.53Sdogcow 70231.7Stvint 70241.7Stvmain () 70251.7Stv{ 70261.7Stv#ifndef optreset 70271.7Stv char *p = (char *) optreset; 70281.7Stv#endif 70291.7Stv 70301.7Stv ; 70311.7Stv return 0; 70321.7Stv} 70331.7Stv_ACEOF 70341.7Stvrm -f conftest.$ac_objext 70351.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 70361.53Sdogcow (eval $ac_compile) 2>conftest.er1 70371.7Stv ac_status=$? 70381.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 70391.53Sdogcow rm -f conftest.er1 70401.53Sdogcow cat conftest.err >&5 70411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70421.7Stv (exit $ac_status); } && 70431.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 70441.53Sdogcow || test ! -s conftest.err' 70451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70461.7Stv (eval $ac_try) 2>&5 70471.7Stv ac_status=$? 70481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70491.53Sdogcow (exit $ac_status); }; } && 70501.53Sdogcow { ac_try='test -s conftest.$ac_objext' 70511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70521.53Sdogcow (eval $ac_try) 2>&5 70531.53Sdogcow ac_status=$? 70541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 70551.7Stv (exit $ac_status); }; }; then 70561.7Stv ac_cv_have_decl_optreset=yes 70571.7Stvelse 70581.7Stv echo "$as_me: failed program was:" >&5 70591.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 70601.53Sdogcow 70611.7Stvac_cv_have_decl_optreset=no 70621.7Stvfi 70631.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 70641.7Stvfi 70651.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 70661.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6 70671.7Stvif test $ac_cv_have_decl_optreset = yes; then 70681.7Stv 70691.53Sdogcowcat >>confdefs.h <<_ACEOF 70701.7Stv#define HAVE_DECL_OPTRESET 1 70711.53Sdogcow_ACEOF 70721.53Sdogcow 70731.7Stv 70741.7Stvelse 70751.53Sdogcow cat >>confdefs.h <<_ACEOF 70761.7Stv#define HAVE_DECL_OPTRESET 0 70771.53Sdogcow_ACEOF 70781.53Sdogcow 70791.7Stv 70801.7Stvfi 70811.7Stv 70821.53Sdogcow 70831.53Sdogcowecho "$as_me:$LINENO: checking whether sys_signame is declared" >&5 70841.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6 70851.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then 70861.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 70871.4Stvelse 70881.4Stv cat >conftest.$ac_ext <<_ACEOF 70891.53Sdogcow/* confdefs.h. */ 70901.53Sdogcow_ACEOF 70911.53Sdogcowcat confdefs.h >>conftest.$ac_ext 70921.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 70931.53Sdogcow/* end confdefs.h. */ 70941.4Stv#include <signal.h> 70951.4Stv 70961.4Stvint 70971.4Stvmain () 70981.4Stv{ 70991.4Stv#ifndef sys_signame 71001.4Stv char *p = (char *) sys_signame; 71011.4Stv#endif 71021.4Stv 71031.4Stv ; 71041.4Stv return 0; 71051.4Stv} 71061.4Stv_ACEOF 71071.4Stvrm -f conftest.$ac_objext 71081.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 71091.53Sdogcow (eval $ac_compile) 2>conftest.er1 71101.4Stv ac_status=$? 71111.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 71121.53Sdogcow rm -f conftest.er1 71131.53Sdogcow cat conftest.err >&5 71141.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71151.4Stv (exit $ac_status); } && 71161.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 71171.53Sdogcow || test ! -s conftest.err' 71181.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71191.4Stv (eval $ac_try) 2>&5 71201.4Stv ac_status=$? 71211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71221.53Sdogcow (exit $ac_status); }; } && 71231.53Sdogcow { ac_try='test -s conftest.$ac_objext' 71241.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71251.53Sdogcow (eval $ac_try) 2>&5 71261.53Sdogcow ac_status=$? 71271.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71281.4Stv (exit $ac_status); }; }; then 71291.4Stv ac_cv_have_decl_sys_signame=yes 71301.4Stvelse 71311.4Stv echo "$as_me: failed program was:" >&5 71321.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 71331.53Sdogcow 71341.4Stvac_cv_have_decl_sys_signame=no 71351.4Stvfi 71361.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 71371.4Stvfi 71381.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5 71391.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6 71401.4Stvif test $ac_cv_have_decl_sys_signame = yes; then 71411.4Stv 71421.53Sdogcowcat >>confdefs.h <<_ACEOF 71431.4Stv#define HAVE_DECL_SYS_SIGNAME 1 71441.53Sdogcow_ACEOF 71451.53Sdogcow 71461.4Stv 71471.4Stvelse 71481.53Sdogcow cat >>confdefs.h <<_ACEOF 71491.4Stv#define HAVE_DECL_SYS_SIGNAME 0 71501.53Sdogcow_ACEOF 71511.53Sdogcow 71521.4Stv 71531.4Stvfi 71541.4Stv 71551.53Sdogcow 71561.53Sdogcow 71571.4Stv# Library functions (where a .h check isn't enough). 71581.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 71591.19Sbjh21# for constant arguments. Useless! 71601.53Sdogcowecho "$as_me:$LINENO: checking for working alloca.h" >&5 71611.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 71621.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then 71631.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 71641.19Sbjh21else 71651.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 71661.53Sdogcow/* confdefs.h. */ 71671.53Sdogcow_ACEOF 71681.53Sdogcowcat confdefs.h >>conftest.$ac_ext 71691.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 71701.53Sdogcow/* end confdefs.h. */ 71711.19Sbjh21#include <alloca.h> 71721.19Sbjh21int 71731.19Sbjh21main () 71741.19Sbjh21{ 71751.19Sbjh21char *p = (char *) alloca (2 * sizeof (int)); 71761.19Sbjh21 ; 71771.19Sbjh21 return 0; 71781.19Sbjh21} 71791.19Sbjh21_ACEOF 71801.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 71811.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 71821.53Sdogcow (eval $ac_link) 2>conftest.er1 71831.19Sbjh21 ac_status=$? 71841.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 71851.53Sdogcow rm -f conftest.er1 71861.53Sdogcow cat conftest.err >&5 71871.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71881.19Sbjh21 (exit $ac_status); } && 71891.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 71901.53Sdogcow || test ! -s conftest.err' 71911.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71921.53Sdogcow (eval $ac_try) 2>&5 71931.53Sdogcow ac_status=$? 71941.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 71951.53Sdogcow (exit $ac_status); }; } && 71961.53Sdogcow { ac_try='test -s conftest$ac_exeext' 71971.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71981.50Sjmc (eval $ac_try) 2>&5 71991.50Sjmc ac_status=$? 72001.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72011.19Sbjh21 (exit $ac_status); }; }; then 72021.19Sbjh21 ac_cv_working_alloca_h=yes 72031.19Sbjh21else 72041.19Sbjh21 echo "$as_me: failed program was:" >&5 72051.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 72061.53Sdogcow 72071.19Sbjh21ac_cv_working_alloca_h=no 72081.19Sbjh21fi 72091.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 72101.53Sdogcow conftest$ac_exeext conftest.$ac_ext 72111.19Sbjh21fi 72121.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 72131.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 72141.19Sbjh21if test $ac_cv_working_alloca_h = yes; then 72151.19Sbjh21 72161.53Sdogcowcat >>confdefs.h <<\_ACEOF 72171.19Sbjh21#define HAVE_ALLOCA_H 1 72181.53Sdogcow_ACEOF 72191.19Sbjh21 72201.19Sbjh21fi 72211.19Sbjh21 72221.53Sdogcowecho "$as_me:$LINENO: checking for alloca" >&5 72231.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6 72241.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then 72251.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 72261.19Sbjh21else 72271.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 72281.53Sdogcow/* confdefs.h. */ 72291.53Sdogcow_ACEOF 72301.53Sdogcowcat confdefs.h >>conftest.$ac_ext 72311.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 72321.53Sdogcow/* end confdefs.h. */ 72331.19Sbjh21#ifdef __GNUC__ 72341.19Sbjh21# define alloca __builtin_alloca 72351.19Sbjh21#else 72361.19Sbjh21# ifdef _MSC_VER 72371.19Sbjh21# include <malloc.h> 72381.19Sbjh21# define alloca _alloca 72391.19Sbjh21# else 72401.19Sbjh21# if HAVE_ALLOCA_H 72411.19Sbjh21# include <alloca.h> 72421.19Sbjh21# else 72431.19Sbjh21# ifdef _AIX 72441.19Sbjh21 #pragma alloca 72451.19Sbjh21# else 72461.19Sbjh21# ifndef alloca /* predefined by HP cc +Olibcalls */ 72471.19Sbjh21char *alloca (); 72481.19Sbjh21# endif 72491.19Sbjh21# endif 72501.19Sbjh21# endif 72511.19Sbjh21# endif 72521.19Sbjh21#endif 72531.19Sbjh21 72541.19Sbjh21int 72551.19Sbjh21main () 72561.19Sbjh21{ 72571.19Sbjh21char *p = (char *) alloca (1); 72581.19Sbjh21 ; 72591.19Sbjh21 return 0; 72601.19Sbjh21} 72611.19Sbjh21_ACEOF 72621.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 72631.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 72641.53Sdogcow (eval $ac_link) 2>conftest.er1 72651.19Sbjh21 ac_status=$? 72661.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 72671.53Sdogcow rm -f conftest.er1 72681.53Sdogcow cat conftest.err >&5 72691.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72701.19Sbjh21 (exit $ac_status); } && 72711.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 72721.53Sdogcow || test ! -s conftest.err' 72731.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72741.53Sdogcow (eval $ac_try) 2>&5 72751.53Sdogcow ac_status=$? 72761.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72771.53Sdogcow (exit $ac_status); }; } && 72781.53Sdogcow { ac_try='test -s conftest$ac_exeext' 72791.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72801.50Sjmc (eval $ac_try) 2>&5 72811.50Sjmc ac_status=$? 72821.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 72831.19Sbjh21 (exit $ac_status); }; }; then 72841.19Sbjh21 ac_cv_func_alloca_works=yes 72851.19Sbjh21else 72861.19Sbjh21 echo "$as_me: failed program was:" >&5 72871.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 72881.53Sdogcow 72891.19Sbjh21ac_cv_func_alloca_works=no 72901.19Sbjh21fi 72911.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 72921.53Sdogcow conftest$ac_exeext conftest.$ac_ext 72931.19Sbjh21fi 72941.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 72951.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 72961.19Sbjh21 72971.19Sbjh21if test $ac_cv_func_alloca_works = yes; then 72981.19Sbjh21 72991.53Sdogcowcat >>confdefs.h <<\_ACEOF 73001.19Sbjh21#define HAVE_ALLOCA 1 73011.53Sdogcow_ACEOF 73021.19Sbjh21 73031.19Sbjh21else 73041.19Sbjh21 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 73051.19Sbjh21# that cause trouble. Some versions do not even contain alloca or 73061.19Sbjh21# contain a buggy version. If you still want to use their alloca, 73071.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c. 73081.19Sbjh21 73091.19Sbjh21ALLOCA=alloca.$ac_objext 73101.19Sbjh21 73111.53Sdogcowcat >>confdefs.h <<\_ACEOF 73121.19Sbjh21#define C_ALLOCA 1 73131.53Sdogcow_ACEOF 73141.39Sfredb 73151.53Sdogcow 73161.53Sdogcowecho "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 73171.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 73181.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then 73191.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 73201.19Sbjh21else 73211.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 73221.53Sdogcow/* confdefs.h. */ 73231.53Sdogcow_ACEOF 73241.53Sdogcowcat confdefs.h >>conftest.$ac_ext 73251.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 73261.53Sdogcow/* end confdefs.h. */ 73271.19Sbjh21#if defined(CRAY) && ! defined(CRAY2) 73281.19Sbjh21webecray 73291.19Sbjh21#else 73301.19Sbjh21wenotbecray 73311.19Sbjh21#endif 73321.19Sbjh21 73331.19Sbjh21_ACEOF 73341.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 73351.53Sdogcow $EGREP "webecray" >/dev/null 2>&1; then 73361.19Sbjh21 ac_cv_os_cray=yes 73371.19Sbjh21else 73381.19Sbjh21 ac_cv_os_cray=no 73391.19Sbjh21fi 73401.19Sbjh21rm -f conftest* 73411.19Sbjh21 73421.19Sbjh21fi 73431.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 73441.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6 73451.19Sbjh21if test $ac_cv_os_cray = yes; then 73461.19Sbjh21 for ac_func in _getb67 GETB67 getb67; do 73471.19Sbjh21 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 73481.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5 73491.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 73501.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then 73511.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 73521.19Sbjh21else 73531.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 73541.53Sdogcow/* confdefs.h. */ 73551.53Sdogcow_ACEOF 73561.53Sdogcowcat confdefs.h >>conftest.$ac_ext 73571.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 73581.53Sdogcow/* end confdefs.h. */ 73591.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 73601.53Sdogcow For example, HP-UX 11i <limits.h> declares gettimeofday. */ 73611.53Sdogcow#define $ac_func innocuous_$ac_func 73621.53Sdogcow 73631.19Sbjh21/* System header to define __stub macros and hopefully few prototypes, 73641.53Sdogcow which can conflict with char $ac_func (); below. 73651.53Sdogcow Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 73661.53Sdogcow <limits.h> exists even on freestanding compilers. */ 73671.53Sdogcow 73681.53Sdogcow#ifdef __STDC__ 73691.53Sdogcow# include <limits.h> 73701.53Sdogcow#else 73711.53Sdogcow# include <assert.h> 73721.53Sdogcow#endif 73731.53Sdogcow 73741.53Sdogcow#undef $ac_func 73751.53Sdogcow 73761.19Sbjh21/* Override any gcc2 internal prototype to avoid an error. */ 73771.19Sbjh21#ifdef __cplusplus 73781.19Sbjh21extern "C" 73791.53Sdogcow{ 73801.19Sbjh21#endif 73811.19Sbjh21/* We use char because int might match the return type of a gcc2 73821.19Sbjh21 builtin and then its argument prototype would still apply. */ 73831.19Sbjh21char $ac_func (); 73841.19Sbjh21/* The GNU C library defines this for functions which it implements 73851.19Sbjh21 to always fail with ENOSYS. Some functions are actually named 73861.19Sbjh21 something starting with __ and the normal name is an alias. */ 73871.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 73881.19Sbjh21choke me 73891.19Sbjh21#else 73901.53Sdogcowchar (*f) () = $ac_func; 73911.53Sdogcow#endif 73921.53Sdogcow#ifdef __cplusplus 73931.53Sdogcow} 73941.19Sbjh21#endif 73951.19Sbjh21 73961.53Sdogcowint 73971.53Sdogcowmain () 73981.53Sdogcow{ 73991.53Sdogcowreturn f != $ac_func; 74001.19Sbjh21 ; 74011.19Sbjh21 return 0; 74021.19Sbjh21} 74031.19Sbjh21_ACEOF 74041.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 74051.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 74061.53Sdogcow (eval $ac_link) 2>conftest.er1 74071.19Sbjh21 ac_status=$? 74081.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 74091.53Sdogcow rm -f conftest.er1 74101.53Sdogcow cat conftest.err >&5 74111.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 74121.19Sbjh21 (exit $ac_status); } && 74131.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 74141.53Sdogcow || test ! -s conftest.err' 74151.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 74161.53Sdogcow (eval $ac_try) 2>&5 74171.53Sdogcow ac_status=$? 74181.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 74191.53Sdogcow (exit $ac_status); }; } && 74201.53Sdogcow { ac_try='test -s conftest$ac_exeext' 74211.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 74221.50Sjmc (eval $ac_try) 2>&5 74231.50Sjmc ac_status=$? 74241.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 74251.19Sbjh21 (exit $ac_status); }; }; then 74261.19Sbjh21 eval "$as_ac_var=yes" 74271.19Sbjh21else 74281.19Sbjh21 echo "$as_me: failed program was:" >&5 74291.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 74301.53Sdogcow 74311.19Sbjh21eval "$as_ac_var=no" 74321.19Sbjh21fi 74331.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 74341.53Sdogcow conftest$ac_exeext conftest.$ac_ext 74351.19Sbjh21fi 74361.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 74371.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 74381.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then 74391.19Sbjh21 74401.53Sdogcowcat >>confdefs.h <<_ACEOF 74411.19Sbjh21#define CRAY_STACKSEG_END $ac_func 74421.53Sdogcow_ACEOF 74431.19Sbjh21 74441.19Sbjh21 break 74451.19Sbjh21fi 74461.19Sbjh21 74471.19Sbjh21 done 74481.19Sbjh21fi 74491.19Sbjh21 74501.53Sdogcowecho "$as_me:$LINENO: checking stack direction for C alloca" >&5 74511.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 74521.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then 74531.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 74541.19Sbjh21else 74551.19Sbjh21 if test "$cross_compiling" = yes; then 74561.19Sbjh21 ac_cv_c_stack_direction=0 74571.19Sbjh21else 74581.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 74591.53Sdogcow/* confdefs.h. */ 74601.53Sdogcow_ACEOF 74611.53Sdogcowcat confdefs.h >>conftest.$ac_ext 74621.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 74631.53Sdogcow/* end confdefs.h. */ 74641.19Sbjh21int 74651.19Sbjh21find_stack_direction () 74661.19Sbjh21{ 74671.19Sbjh21 static char *addr = 0; 74681.19Sbjh21 auto char dummy; 74691.19Sbjh21 if (addr == 0) 74701.19Sbjh21 { 74711.19Sbjh21 addr = &dummy; 74721.19Sbjh21 return find_stack_direction (); 74731.19Sbjh21 } 74741.19Sbjh21 else 74751.19Sbjh21 return (&dummy > addr) ? 1 : -1; 74761.19Sbjh21} 74771.19Sbjh21 74781.43Sdbjint 74791.43Sdbjmain () 74801.43Sdbj{ 74811.43Sdbj exit (find_stack_direction () < 0); 74821.43Sdbj} 74831.43Sdbj_ACEOF 74841.43Sdbjrm -f conftest$ac_exeext 74851.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 74861.43Sdbj (eval $ac_link) 2>&5 74871.43Sdbj ac_status=$? 74881.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 74891.43Sdbj (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 74901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 74911.43Sdbj (eval $ac_try) 2>&5 74921.43Sdbj ac_status=$? 74931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 74941.43Sdbj (exit $ac_status); }; }; then 74951.43Sdbj ac_cv_c_stack_direction=1 74961.43Sdbjelse 74971.43Sdbj echo "$as_me: program exited with status $ac_status" >&5 74981.43Sdbjecho "$as_me: failed program was:" >&5 74991.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 75001.53Sdogcow 75011.53Sdogcow( exit $ac_status ) 75021.43Sdbjac_cv_c_stack_direction=-1 75031.43Sdbjfi 75041.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 75051.43Sdbjfi 75061.43Sdbjfi 75071.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 75081.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6 75091.39Sfredb 75101.53Sdogcowcat >>confdefs.h <<_ACEOF 75111.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction 75121.53Sdogcow_ACEOF 75131.53Sdogcow 75141.39Sfredb 75151.43Sdbjfi 75161.40Satatat 75171.53Sdogcow 75181.53Sdogcow 75191.53Sdogcow 75201.53Sdogcow 75211.53Sdogcow 75221.53Sdogcow 75231.53Sdogcow 75241.53Sdogcow 75251.53Sdogcow 75261.53Sdogcow 75271.53Sdogcow 75281.53Sdogcow 75291.53Sdogcow 75301.53Sdogcow 75311.53Sdogcow 75321.53Sdogcow 75331.53Sdogcow 75341.53Sdogcow 75351.53Sdogcow 75361.53Sdogcow 75371.53Sdogcow 75381.53Sdogcow 75391.53Sdogcow 75401.53Sdogcow 75411.53Sdogcow 75421.53Sdogcow 75431.53Sdogcow 75441.53Sdogcow 75451.53Sdogcow 75461.53Sdogcow 75471.53Sdogcow 75481.53Sdogcow 75491.53Sdogcow 75501.53Sdogcow 75511.53Sdogcow 75521.53Sdogcow 75531.53Sdogcow 75541.53Sdogcow 75551.53Sdogcow 75561.53Sdogcow 75571.53Sdogcow 75581.53Sdogcow 75591.53Sdogcow 75601.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ 75611.44Sthorpej fgetln flock fparseln futimes getopt getopt_long group_from_gid \ 75621.49Sjmc heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ 75631.49Sjmc mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \ 75641.36Sthorpej setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \ 75651.29Slukem strsuftoll strtoll \ 75661.23Sthorpej user_from_uid vasprintf vasnprintf vsnprintf 75671.1Stvdo 75681.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 75691.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5 75701.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6 75711.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then 75721.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 75731.45Sjmcelse 75741.45Sjmc cat >conftest.$ac_ext <<_ACEOF 75751.53Sdogcow/* confdefs.h. */ 75761.53Sdogcow_ACEOF 75771.53Sdogcowcat confdefs.h >>conftest.$ac_ext 75781.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 75791.53Sdogcow/* end confdefs.h. */ 75801.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 75811.53Sdogcow For example, HP-UX 11i <limits.h> declares gettimeofday. */ 75821.53Sdogcow#define $ac_func innocuous_$ac_func 75831.53Sdogcow 75841.45Sjmc/* System header to define __stub macros and hopefully few prototypes, 75851.53Sdogcow which can conflict with char $ac_func (); below. 75861.53Sdogcow Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 75871.53Sdogcow <limits.h> exists even on freestanding compilers. */ 75881.53Sdogcow 75891.53Sdogcow#ifdef __STDC__ 75901.53Sdogcow# include <limits.h> 75911.53Sdogcow#else 75921.53Sdogcow# include <assert.h> 75931.53Sdogcow#endif 75941.53Sdogcow 75951.53Sdogcow#undef $ac_func 75961.53Sdogcow 75971.45Sjmc/* Override any gcc2 internal prototype to avoid an error. */ 75981.45Sjmc#ifdef __cplusplus 75991.45Sjmcextern "C" 76001.53Sdogcow{ 76011.45Sjmc#endif 76021.45Sjmc/* We use char because int might match the return type of a gcc2 76031.45Sjmc builtin and then its argument prototype would still apply. */ 76041.45Sjmcchar $ac_func (); 76051.45Sjmc/* The GNU C library defines this for functions which it implements 76061.45Sjmc to always fail with ENOSYS. Some functions are actually named 76071.45Sjmc something starting with __ and the normal name is an alias. */ 76081.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 76091.45Sjmcchoke me 76101.45Sjmc#else 76111.53Sdogcowchar (*f) () = $ac_func; 76121.53Sdogcow#endif 76131.53Sdogcow#ifdef __cplusplus 76141.53Sdogcow} 76151.45Sjmc#endif 76161.45Sjmc 76171.53Sdogcowint 76181.53Sdogcowmain () 76191.53Sdogcow{ 76201.53Sdogcowreturn f != $ac_func; 76211.45Sjmc ; 76221.45Sjmc return 0; 76231.45Sjmc} 76241.45Sjmc_ACEOF 76251.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext 76261.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 76271.53Sdogcow (eval $ac_link) 2>conftest.er1 76281.45Sjmc ac_status=$? 76291.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 76301.53Sdogcow rm -f conftest.er1 76311.53Sdogcow cat conftest.err >&5 76321.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 76331.45Sjmc (exit $ac_status); } && 76341.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 76351.53Sdogcow || test ! -s conftest.err' 76361.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 76371.53Sdogcow (eval $ac_try) 2>&5 76381.53Sdogcow ac_status=$? 76391.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 76401.53Sdogcow (exit $ac_status); }; } && 76411.53Sdogcow { ac_try='test -s conftest$ac_exeext' 76421.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 76431.50Sjmc (eval $ac_try) 2>&5 76441.50Sjmc ac_status=$? 76451.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 76461.45Sjmc (exit $ac_status); }; }; then 76471.45Sjmc eval "$as_ac_var=yes" 76481.45Sjmcelse 76491.45Sjmc echo "$as_me: failed program was:" >&5 76501.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 76511.53Sdogcow 76521.45Sjmceval "$as_ac_var=no" 76531.45Sjmcfi 76541.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 76551.53Sdogcow conftest$ac_exeext conftest.$ac_ext 76561.45Sjmcfi 76571.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 76581.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 76591.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then 76601.53Sdogcow cat >>confdefs.h <<_ACEOF 76611.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 76621.53Sdogcow_ACEOF 76631.45Sjmc 76641.45Sjmcfi 76651.45Sjmcdone 76661.45Sjmc 76671.53Sdogcow 76681.55Swizecho "$as_me:$LINENO: checking whether strsuftoll is declared" >&5 76691.55Swizecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 76701.55Swizif test "${ac_cv_have_decl_strsuftoll+set}" = set; then 76711.55Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 76721.55Swizelse 76731.55Swiz cat >conftest.$ac_ext <<_ACEOF 76741.55Swiz/* confdefs.h. */ 76751.55Swiz_ACEOF 76761.55Swizcat confdefs.h >>conftest.$ac_ext 76771.55Swizcat >>conftest.$ac_ext <<_ACEOF 76781.55Swiz/* end confdefs.h. */ 76791.55Swiz#include <stdlib.h> 76801.55Swiz 76811.55Swizint 76821.55Swizmain () 76831.55Swiz{ 76841.55Swiz#ifndef strsuftoll 76851.55Swiz char *p = (char *) strsuftoll; 76861.55Swiz#endif 76871.55Swiz 76881.55Swiz ; 76891.55Swiz return 0; 76901.55Swiz} 76911.55Swiz_ACEOF 76921.55Swizrm -f conftest.$ac_objext 76931.55Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 76941.55Swiz (eval $ac_compile) 2>conftest.er1 76951.55Swiz ac_status=$? 76961.55Swiz grep -v '^ *+' conftest.er1 >conftest.err 76971.55Swiz rm -f conftest.er1 76981.55Swiz cat conftest.err >&5 76991.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 77001.55Swiz (exit $ac_status); } && 77011.55Swiz { ac_try='test -z "$ac_c_werror_flag" 77021.55Swiz || test ! -s conftest.err' 77031.55Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77041.55Swiz (eval $ac_try) 2>&5 77051.55Swiz ac_status=$? 77061.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 77071.55Swiz (exit $ac_status); }; } && 77081.55Swiz { ac_try='test -s conftest.$ac_objext' 77091.55Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77101.55Swiz (eval $ac_try) 2>&5 77111.55Swiz ac_status=$? 77121.55Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 77131.55Swiz (exit $ac_status); }; }; then 77141.55Swiz ac_cv_have_decl_strsuftoll=yes 77151.55Swizelse 77161.55Swiz echo "$as_me: failed program was:" >&5 77171.55Swizsed 's/^/| /' conftest.$ac_ext >&5 77181.55Swiz 77191.55Swizac_cv_have_decl_strsuftoll=no 77201.55Swizfi 77211.55Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 77221.55Swizfi 77231.55Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_strsuftoll" >&5 77241.55Swizecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 77251.55Swizif test $ac_cv_have_decl_strsuftoll = yes; then 77261.55Swiz 77271.55Swizcat >>confdefs.h <<_ACEOF 77281.55Swiz#define HAVE_DECL_STRSUFTOLL 1 77291.55Swiz_ACEOF 77301.55Swiz 77311.55Swiz 77321.55Swizelse 77331.55Swiz cat >>confdefs.h <<_ACEOF 77341.55Swiz#define HAVE_DECL_STRSUFTOLL 0 77351.55Swiz_ACEOF 77361.55Swiz 77371.55Swiz 77381.55Swizfi 77391.55Swiz 77401.55Swiz 77411.55Swiz 77421.53Sdogcowecho "$as_me:$LINENO: checking whether htobe16 is declared" >&5 77431.53Sdogcowecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 77441.53Sdogcowif test "${ac_cv_have_decl_htobe16+set}" = set; then 77451.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 77461.45Sjmcelse 77471.45Sjmc cat >conftest.$ac_ext <<_ACEOF 77481.53Sdogcow/* confdefs.h. */ 77491.53Sdogcow_ACEOF 77501.53Sdogcowcat confdefs.h >>conftest.$ac_ext 77511.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 77521.53Sdogcow/* end confdefs.h. */ 77531.53Sdogcow#include <sys/types.h> 77541.53Sdogcow 77551.52Sdbjint 77561.52Sdbjmain () 77571.52Sdbj{ 77581.53Sdogcow#ifndef htobe16 77591.53Sdogcow char *p = (char *) htobe16; 77601.48Sjmc#endif 77611.45Sjmc 77621.48Sjmc ; 77631.48Sjmc return 0; 77641.48Sjmc} 77651.48Sjmc_ACEOF 77661.53Sdogcowrm -f conftest.$ac_objext 77671.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 77681.53Sdogcow (eval $ac_compile) 2>conftest.er1 77691.48Sjmc ac_status=$? 77701.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 77711.53Sdogcow rm -f conftest.er1 77721.53Sdogcow cat conftest.err >&5 77731.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77741.48Sjmc (exit $ac_status); } && 77751.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 77761.53Sdogcow || test ! -s conftest.err' 77771.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77781.53Sdogcow (eval $ac_try) 2>&5 77791.53Sdogcow ac_status=$? 77801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77811.53Sdogcow (exit $ac_status); }; } && 77821.53Sdogcow { ac_try='test -s conftest.$ac_objext' 77831.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77841.48Sjmc (eval $ac_try) 2>&5 77851.48Sjmc ac_status=$? 77861.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 77871.48Sjmc (exit $ac_status); }; }; then 77881.53Sdogcow ac_cv_have_decl_htobe16=yes 77891.48Sjmcelse 77901.48Sjmc echo "$as_me: failed program was:" >&5 77911.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 77921.53Sdogcow 77931.53Sdogcowac_cv_have_decl_htobe16=no 77941.48Sjmcfi 77951.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 77961.48Sjmcfi 77971.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5 77981.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 77991.53Sdogcowif test $ac_cv_have_decl_htobe16 = yes; then 78001.53Sdogcow 78011.53Sdogcowcat >>confdefs.h <<_ACEOF 78021.53Sdogcow#define HAVE_DECL_HTOBE16 1 78031.53Sdogcow_ACEOF 78041.53Sdogcow 78051.53Sdogcow 78061.53Sdogcowelse 78071.53Sdogcow cat >>confdefs.h <<_ACEOF 78081.53Sdogcow#define HAVE_DECL_HTOBE16 0 78091.53Sdogcow_ACEOF 78101.53Sdogcow 78111.48Sjmc 78121.48Sjmcfi 78131.53Sdogcowecho "$as_me:$LINENO: checking whether htobe32 is declared" >&5 78141.53Sdogcowecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 78151.53Sdogcowif test "${ac_cv_have_decl_htobe32+set}" = set; then 78161.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 78171.48Sjmcelse 78181.48Sjmc cat >conftest.$ac_ext <<_ACEOF 78191.53Sdogcow/* confdefs.h. */ 78201.53Sdogcow_ACEOF 78211.53Sdogcowcat confdefs.h >>conftest.$ac_ext 78221.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 78231.53Sdogcow/* end confdefs.h. */ 78241.53Sdogcow#include <sys/types.h> 78251.53Sdogcow 78261.53Sdogcowint 78271.53Sdogcowmain () 78281.53Sdogcow{ 78291.53Sdogcow#ifndef htobe32 78301.53Sdogcow char *p = (char *) htobe32; 78311.53Sdogcow#endif 78321.53Sdogcow 78331.53Sdogcow ; 78341.53Sdogcow return 0; 78351.53Sdogcow} 78361.53Sdogcow_ACEOF 78371.53Sdogcowrm -f conftest.$ac_objext 78381.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 78391.53Sdogcow (eval $ac_compile) 2>conftest.er1 78401.53Sdogcow ac_status=$? 78411.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 78421.53Sdogcow rm -f conftest.er1 78431.53Sdogcow cat conftest.err >&5 78441.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 78451.53Sdogcow (exit $ac_status); } && 78461.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 78471.53Sdogcow || test ! -s conftest.err' 78481.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78491.53Sdogcow (eval $ac_try) 2>&5 78501.53Sdogcow ac_status=$? 78511.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 78521.53Sdogcow (exit $ac_status); }; } && 78531.53Sdogcow { ac_try='test -s conftest.$ac_objext' 78541.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78551.53Sdogcow (eval $ac_try) 2>&5 78561.53Sdogcow ac_status=$? 78571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 78581.53Sdogcow (exit $ac_status); }; }; then 78591.53Sdogcow ac_cv_have_decl_htobe32=yes 78601.53Sdogcowelse 78611.53Sdogcow echo "$as_me: failed program was:" >&5 78621.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 78631.53Sdogcow 78641.53Sdogcowac_cv_have_decl_htobe32=no 78651.53Sdogcowfi 78661.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 78671.53Sdogcowfi 78681.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5 78691.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 78701.53Sdogcowif test $ac_cv_have_decl_htobe32 = yes; then 78711.53Sdogcow 78721.53Sdogcowcat >>confdefs.h <<_ACEOF 78731.53Sdogcow#define HAVE_DECL_HTOBE32 1 78741.53Sdogcow_ACEOF 78751.53Sdogcow 78761.53Sdogcow 78771.53Sdogcowelse 78781.53Sdogcow cat >>confdefs.h <<_ACEOF 78791.53Sdogcow#define HAVE_DECL_HTOBE32 0 78801.53Sdogcow_ACEOF 78811.53Sdogcow 78821.53Sdogcow 78831.53Sdogcowfi 78841.53Sdogcowecho "$as_me:$LINENO: checking whether htobe64 is declared" >&5 78851.53Sdogcowecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 78861.53Sdogcowif test "${ac_cv_have_decl_htobe64+set}" = set; then 78871.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 78881.53Sdogcowelse 78891.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 78901.53Sdogcow/* confdefs.h. */ 78911.53Sdogcow_ACEOF 78921.53Sdogcowcat confdefs.h >>conftest.$ac_ext 78931.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 78941.53Sdogcow/* end confdefs.h. */ 78951.53Sdogcow#include <sys/types.h> 78961.53Sdogcow 78971.53Sdogcowint 78981.53Sdogcowmain () 78991.53Sdogcow{ 79001.53Sdogcow#ifndef htobe64 79011.53Sdogcow char *p = (char *) htobe64; 79021.53Sdogcow#endif 79031.53Sdogcow 79041.53Sdogcow ; 79051.53Sdogcow return 0; 79061.53Sdogcow} 79071.53Sdogcow_ACEOF 79081.53Sdogcowrm -f conftest.$ac_objext 79091.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 79101.53Sdogcow (eval $ac_compile) 2>conftest.er1 79111.53Sdogcow ac_status=$? 79121.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 79131.53Sdogcow rm -f conftest.er1 79141.53Sdogcow cat conftest.err >&5 79151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79161.53Sdogcow (exit $ac_status); } && 79171.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 79181.53Sdogcow || test ! -s conftest.err' 79191.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79201.53Sdogcow (eval $ac_try) 2>&5 79211.53Sdogcow ac_status=$? 79221.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79231.53Sdogcow (exit $ac_status); }; } && 79241.53Sdogcow { ac_try='test -s conftest.$ac_objext' 79251.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79261.53Sdogcow (eval $ac_try) 2>&5 79271.53Sdogcow ac_status=$? 79281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79291.53Sdogcow (exit $ac_status); }; }; then 79301.53Sdogcow ac_cv_have_decl_htobe64=yes 79311.53Sdogcowelse 79321.53Sdogcow echo "$as_me: failed program was:" >&5 79331.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 79341.53Sdogcow 79351.53Sdogcowac_cv_have_decl_htobe64=no 79361.53Sdogcowfi 79371.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 79381.53Sdogcowfi 79391.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5 79401.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 79411.53Sdogcowif test $ac_cv_have_decl_htobe64 = yes; then 79421.53Sdogcow 79431.53Sdogcowcat >>confdefs.h <<_ACEOF 79441.53Sdogcow#define HAVE_DECL_HTOBE64 1 79451.53Sdogcow_ACEOF 79461.53Sdogcow 79471.53Sdogcow 79481.53Sdogcowelse 79491.53Sdogcow cat >>confdefs.h <<_ACEOF 79501.53Sdogcow#define HAVE_DECL_HTOBE64 0 79511.53Sdogcow_ACEOF 79521.53Sdogcow 79531.53Sdogcow 79541.53Sdogcowfi 79551.53Sdogcowecho "$as_me:$LINENO: checking whether htole16 is declared" >&5 79561.53Sdogcowecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 79571.53Sdogcowif test "${ac_cv_have_decl_htole16+set}" = set; then 79581.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 79591.53Sdogcowelse 79601.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 79611.53Sdogcow/* confdefs.h. */ 79621.53Sdogcow_ACEOF 79631.53Sdogcowcat confdefs.h >>conftest.$ac_ext 79641.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 79651.53Sdogcow/* end confdefs.h. */ 79661.53Sdogcow#include <sys/types.h> 79671.53Sdogcow 79681.53Sdogcowint 79691.53Sdogcowmain () 79701.53Sdogcow{ 79711.53Sdogcow#ifndef htole16 79721.53Sdogcow char *p = (char *) htole16; 79731.53Sdogcow#endif 79741.53Sdogcow 79751.53Sdogcow ; 79761.53Sdogcow return 0; 79771.53Sdogcow} 79781.53Sdogcow_ACEOF 79791.53Sdogcowrm -f conftest.$ac_objext 79801.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 79811.53Sdogcow (eval $ac_compile) 2>conftest.er1 79821.53Sdogcow ac_status=$? 79831.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 79841.53Sdogcow rm -f conftest.er1 79851.53Sdogcow cat conftest.err >&5 79861.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79871.53Sdogcow (exit $ac_status); } && 79881.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 79891.53Sdogcow || test ! -s conftest.err' 79901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79911.53Sdogcow (eval $ac_try) 2>&5 79921.53Sdogcow ac_status=$? 79931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 79941.53Sdogcow (exit $ac_status); }; } && 79951.53Sdogcow { ac_try='test -s conftest.$ac_objext' 79961.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79971.53Sdogcow (eval $ac_try) 2>&5 79981.53Sdogcow ac_status=$? 79991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80001.53Sdogcow (exit $ac_status); }; }; then 80011.53Sdogcow ac_cv_have_decl_htole16=yes 80021.53Sdogcowelse 80031.53Sdogcow echo "$as_me: failed program was:" >&5 80041.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 80051.53Sdogcow 80061.53Sdogcowac_cv_have_decl_htole16=no 80071.53Sdogcowfi 80081.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 80091.53Sdogcowfi 80101.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5 80111.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6 80121.53Sdogcowif test $ac_cv_have_decl_htole16 = yes; then 80131.53Sdogcow 80141.53Sdogcowcat >>confdefs.h <<_ACEOF 80151.53Sdogcow#define HAVE_DECL_HTOLE16 1 80161.53Sdogcow_ACEOF 80171.53Sdogcow 80181.53Sdogcow 80191.53Sdogcowelse 80201.53Sdogcow cat >>confdefs.h <<_ACEOF 80211.53Sdogcow#define HAVE_DECL_HTOLE16 0 80221.53Sdogcow_ACEOF 80231.53Sdogcow 80241.53Sdogcow 80251.53Sdogcowfi 80261.53Sdogcowecho "$as_me:$LINENO: checking whether htole32 is declared" >&5 80271.53Sdogcowecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 80281.53Sdogcowif test "${ac_cv_have_decl_htole32+set}" = set; then 80291.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 80301.53Sdogcowelse 80311.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 80321.53Sdogcow/* confdefs.h. */ 80331.53Sdogcow_ACEOF 80341.53Sdogcowcat confdefs.h >>conftest.$ac_ext 80351.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 80361.53Sdogcow/* end confdefs.h. */ 80371.53Sdogcow#include <sys/types.h> 80381.53Sdogcow 80391.53Sdogcowint 80401.53Sdogcowmain () 80411.53Sdogcow{ 80421.53Sdogcow#ifndef htole32 80431.53Sdogcow char *p = (char *) htole32; 80441.53Sdogcow#endif 80451.53Sdogcow 80461.53Sdogcow ; 80471.53Sdogcow return 0; 80481.53Sdogcow} 80491.53Sdogcow_ACEOF 80501.53Sdogcowrm -f conftest.$ac_objext 80511.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 80521.53Sdogcow (eval $ac_compile) 2>conftest.er1 80531.53Sdogcow ac_status=$? 80541.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 80551.53Sdogcow rm -f conftest.er1 80561.53Sdogcow cat conftest.err >&5 80571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80581.53Sdogcow (exit $ac_status); } && 80591.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 80601.53Sdogcow || test ! -s conftest.err' 80611.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80621.53Sdogcow (eval $ac_try) 2>&5 80631.53Sdogcow ac_status=$? 80641.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80651.53Sdogcow (exit $ac_status); }; } && 80661.53Sdogcow { ac_try='test -s conftest.$ac_objext' 80671.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80681.53Sdogcow (eval $ac_try) 2>&5 80691.53Sdogcow ac_status=$? 80701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 80711.53Sdogcow (exit $ac_status); }; }; then 80721.53Sdogcow ac_cv_have_decl_htole32=yes 80731.53Sdogcowelse 80741.53Sdogcow echo "$as_me: failed program was:" >&5 80751.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 80761.53Sdogcow 80771.53Sdogcowac_cv_have_decl_htole32=no 80781.53Sdogcowfi 80791.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 80801.53Sdogcowfi 80811.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5 80821.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6 80831.53Sdogcowif test $ac_cv_have_decl_htole32 = yes; then 80841.53Sdogcow 80851.53Sdogcowcat >>confdefs.h <<_ACEOF 80861.53Sdogcow#define HAVE_DECL_HTOLE32 1 80871.53Sdogcow_ACEOF 80881.53Sdogcow 80891.53Sdogcow 80901.53Sdogcowelse 80911.53Sdogcow cat >>confdefs.h <<_ACEOF 80921.53Sdogcow#define HAVE_DECL_HTOLE32 0 80931.53Sdogcow_ACEOF 80941.53Sdogcow 80951.53Sdogcow 80961.53Sdogcowfi 80971.53Sdogcowecho "$as_me:$LINENO: checking whether htole64 is declared" >&5 80981.53Sdogcowecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 80991.53Sdogcowif test "${ac_cv_have_decl_htole64+set}" = set; then 81001.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 81011.53Sdogcowelse 81021.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 81031.53Sdogcow/* confdefs.h. */ 81041.53Sdogcow_ACEOF 81051.53Sdogcowcat confdefs.h >>conftest.$ac_ext 81061.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 81071.53Sdogcow/* end confdefs.h. */ 81081.53Sdogcow#include <sys/types.h> 81091.53Sdogcow 81101.53Sdogcowint 81111.53Sdogcowmain () 81121.53Sdogcow{ 81131.53Sdogcow#ifndef htole64 81141.53Sdogcow char *p = (char *) htole64; 81151.53Sdogcow#endif 81161.53Sdogcow 81171.53Sdogcow ; 81181.53Sdogcow return 0; 81191.53Sdogcow} 81201.53Sdogcow_ACEOF 81211.53Sdogcowrm -f conftest.$ac_objext 81221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 81231.53Sdogcow (eval $ac_compile) 2>conftest.er1 81241.53Sdogcow ac_status=$? 81251.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 81261.53Sdogcow rm -f conftest.er1 81271.53Sdogcow cat conftest.err >&5 81281.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81291.53Sdogcow (exit $ac_status); } && 81301.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 81311.53Sdogcow || test ! -s conftest.err' 81321.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81331.53Sdogcow (eval $ac_try) 2>&5 81341.53Sdogcow ac_status=$? 81351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81361.53Sdogcow (exit $ac_status); }; } && 81371.53Sdogcow { ac_try='test -s conftest.$ac_objext' 81381.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81391.53Sdogcow (eval $ac_try) 2>&5 81401.53Sdogcow ac_status=$? 81411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 81421.53Sdogcow (exit $ac_status); }; }; then 81431.53Sdogcow ac_cv_have_decl_htole64=yes 81441.53Sdogcowelse 81451.53Sdogcow echo "$as_me: failed program was:" >&5 81461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 81471.53Sdogcow 81481.53Sdogcowac_cv_have_decl_htole64=no 81491.53Sdogcowfi 81501.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 81511.53Sdogcowfi 81521.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5 81531.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6 81541.53Sdogcowif test $ac_cv_have_decl_htole64 = yes; then 81551.53Sdogcow 81561.53Sdogcowcat >>confdefs.h <<_ACEOF 81571.53Sdogcow#define HAVE_DECL_HTOLE64 1 81581.53Sdogcow_ACEOF 81591.53Sdogcow 81601.53Sdogcow 81611.53Sdogcowelse 81621.53Sdogcow cat >>confdefs.h <<_ACEOF 81631.53Sdogcow#define HAVE_DECL_HTOLE64 0 81641.53Sdogcow_ACEOF 81651.53Sdogcow 81661.53Sdogcow 81671.53Sdogcowfi 81681.53Sdogcowecho "$as_me:$LINENO: checking whether be16toh is declared" >&5 81691.53Sdogcowecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 81701.53Sdogcowif test "${ac_cv_have_decl_be16toh+set}" = set; then 81711.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 81721.53Sdogcowelse 81731.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 81741.53Sdogcow/* confdefs.h. */ 81751.53Sdogcow_ACEOF 81761.53Sdogcowcat confdefs.h >>conftest.$ac_ext 81771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 81781.53Sdogcow/* end confdefs.h. */ 81791.53Sdogcow#include <sys/types.h> 81801.53Sdogcow 81811.53Sdogcowint 81821.53Sdogcowmain () 81831.53Sdogcow{ 81841.53Sdogcow#ifndef be16toh 81851.53Sdogcow char *p = (char *) be16toh; 81861.53Sdogcow#endif 81871.53Sdogcow 81881.53Sdogcow ; 81891.53Sdogcow return 0; 81901.53Sdogcow} 81911.53Sdogcow_ACEOF 81921.53Sdogcowrm -f conftest.$ac_objext 81931.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 81941.53Sdogcow (eval $ac_compile) 2>conftest.er1 81951.53Sdogcow ac_status=$? 81961.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 81971.53Sdogcow rm -f conftest.er1 81981.53Sdogcow cat conftest.err >&5 81991.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82001.53Sdogcow (exit $ac_status); } && 82011.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 82021.53Sdogcow || test ! -s conftest.err' 82031.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82041.53Sdogcow (eval $ac_try) 2>&5 82051.53Sdogcow ac_status=$? 82061.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82071.53Sdogcow (exit $ac_status); }; } && 82081.53Sdogcow { ac_try='test -s conftest.$ac_objext' 82091.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82101.53Sdogcow (eval $ac_try) 2>&5 82111.53Sdogcow ac_status=$? 82121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82131.53Sdogcow (exit $ac_status); }; }; then 82141.53Sdogcow ac_cv_have_decl_be16toh=yes 82151.53Sdogcowelse 82161.53Sdogcow echo "$as_me: failed program was:" >&5 82171.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 82181.53Sdogcow 82191.53Sdogcowac_cv_have_decl_be16toh=no 82201.53Sdogcowfi 82211.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 82221.53Sdogcowfi 82231.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5 82241.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 82251.53Sdogcowif test $ac_cv_have_decl_be16toh = yes; then 82261.53Sdogcow 82271.53Sdogcowcat >>confdefs.h <<_ACEOF 82281.53Sdogcow#define HAVE_DECL_BE16TOH 1 82291.53Sdogcow_ACEOF 82301.53Sdogcow 82311.53Sdogcow 82321.53Sdogcowelse 82331.53Sdogcow cat >>confdefs.h <<_ACEOF 82341.53Sdogcow#define HAVE_DECL_BE16TOH 0 82351.53Sdogcow_ACEOF 82361.53Sdogcow 82371.53Sdogcow 82381.53Sdogcowfi 82391.53Sdogcowecho "$as_me:$LINENO: checking whether be32toh is declared" >&5 82401.53Sdogcowecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 82411.53Sdogcowif test "${ac_cv_have_decl_be32toh+set}" = set; then 82421.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 82431.53Sdogcowelse 82441.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 82451.53Sdogcow/* confdefs.h. */ 82461.53Sdogcow_ACEOF 82471.53Sdogcowcat confdefs.h >>conftest.$ac_ext 82481.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 82491.53Sdogcow/* end confdefs.h. */ 82501.53Sdogcow#include <sys/types.h> 82511.53Sdogcow 82521.53Sdogcowint 82531.53Sdogcowmain () 82541.53Sdogcow{ 82551.53Sdogcow#ifndef be32toh 82561.53Sdogcow char *p = (char *) be32toh; 82571.53Sdogcow#endif 82581.53Sdogcow 82591.53Sdogcow ; 82601.53Sdogcow return 0; 82611.53Sdogcow} 82621.53Sdogcow_ACEOF 82631.53Sdogcowrm -f conftest.$ac_objext 82641.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 82651.53Sdogcow (eval $ac_compile) 2>conftest.er1 82661.53Sdogcow ac_status=$? 82671.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 82681.53Sdogcow rm -f conftest.er1 82691.53Sdogcow cat conftest.err >&5 82701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82711.53Sdogcow (exit $ac_status); } && 82721.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 82731.53Sdogcow || test ! -s conftest.err' 82741.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82751.53Sdogcow (eval $ac_try) 2>&5 82761.53Sdogcow ac_status=$? 82771.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82781.53Sdogcow (exit $ac_status); }; } && 82791.53Sdogcow { ac_try='test -s conftest.$ac_objext' 82801.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82811.53Sdogcow (eval $ac_try) 2>&5 82821.53Sdogcow ac_status=$? 82831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 82841.53Sdogcow (exit $ac_status); }; }; then 82851.53Sdogcow ac_cv_have_decl_be32toh=yes 82861.53Sdogcowelse 82871.53Sdogcow echo "$as_me: failed program was:" >&5 82881.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 82891.53Sdogcow 82901.53Sdogcowac_cv_have_decl_be32toh=no 82911.53Sdogcowfi 82921.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 82931.53Sdogcowfi 82941.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be32toh" >&5 82951.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 82961.53Sdogcowif test $ac_cv_have_decl_be32toh = yes; then 82971.53Sdogcow 82981.53Sdogcowcat >>confdefs.h <<_ACEOF 82991.53Sdogcow#define HAVE_DECL_BE32TOH 1 83001.53Sdogcow_ACEOF 83011.53Sdogcow 83021.53Sdogcow 83031.53Sdogcowelse 83041.53Sdogcow cat >>confdefs.h <<_ACEOF 83051.53Sdogcow#define HAVE_DECL_BE32TOH 0 83061.53Sdogcow_ACEOF 83071.53Sdogcow 83081.53Sdogcow 83091.53Sdogcowfi 83101.53Sdogcowecho "$as_me:$LINENO: checking whether be64toh is declared" >&5 83111.53Sdogcowecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 83121.53Sdogcowif test "${ac_cv_have_decl_be64toh+set}" = set; then 83131.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 83141.53Sdogcowelse 83151.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 83161.53Sdogcow/* confdefs.h. */ 83171.53Sdogcow_ACEOF 83181.53Sdogcowcat confdefs.h >>conftest.$ac_ext 83191.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 83201.53Sdogcow/* end confdefs.h. */ 83211.53Sdogcow#include <sys/types.h> 83221.53Sdogcow 83231.53Sdogcowint 83241.53Sdogcowmain () 83251.53Sdogcow{ 83261.53Sdogcow#ifndef be64toh 83271.53Sdogcow char *p = (char *) be64toh; 83281.53Sdogcow#endif 83291.53Sdogcow 83301.53Sdogcow ; 83311.53Sdogcow return 0; 83321.53Sdogcow} 83331.53Sdogcow_ACEOF 83341.53Sdogcowrm -f conftest.$ac_objext 83351.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 83361.53Sdogcow (eval $ac_compile) 2>conftest.er1 83371.53Sdogcow ac_status=$? 83381.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 83391.53Sdogcow rm -f conftest.er1 83401.53Sdogcow cat conftest.err >&5 83411.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83421.53Sdogcow (exit $ac_status); } && 83431.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 83441.53Sdogcow || test ! -s conftest.err' 83451.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83461.53Sdogcow (eval $ac_try) 2>&5 83471.53Sdogcow ac_status=$? 83481.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83491.53Sdogcow (exit $ac_status); }; } && 83501.53Sdogcow { ac_try='test -s conftest.$ac_objext' 83511.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83521.53Sdogcow (eval $ac_try) 2>&5 83531.53Sdogcow ac_status=$? 83541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 83551.53Sdogcow (exit $ac_status); }; }; then 83561.53Sdogcow ac_cv_have_decl_be64toh=yes 83571.53Sdogcowelse 83581.53Sdogcow echo "$as_me: failed program was:" >&5 83591.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 83601.53Sdogcow 83611.53Sdogcowac_cv_have_decl_be64toh=no 83621.53Sdogcowfi 83631.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 83641.53Sdogcowfi 83651.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5 83661.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 83671.53Sdogcowif test $ac_cv_have_decl_be64toh = yes; then 83681.53Sdogcow 83691.53Sdogcowcat >>confdefs.h <<_ACEOF 83701.53Sdogcow#define HAVE_DECL_BE64TOH 1 83711.53Sdogcow_ACEOF 83721.53Sdogcow 83731.53Sdogcow 83741.53Sdogcowelse 83751.53Sdogcow cat >>confdefs.h <<_ACEOF 83761.53Sdogcow#define HAVE_DECL_BE64TOH 0 83771.53Sdogcow_ACEOF 83781.53Sdogcow 83791.53Sdogcow 83801.53Sdogcowfi 83811.53Sdogcowecho "$as_me:$LINENO: checking whether le16toh is declared" >&5 83821.53Sdogcowecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 83831.53Sdogcowif test "${ac_cv_have_decl_le16toh+set}" = set; then 83841.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 83851.53Sdogcowelse 83861.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 83871.53Sdogcow/* confdefs.h. */ 83881.53Sdogcow_ACEOF 83891.53Sdogcowcat confdefs.h >>conftest.$ac_ext 83901.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 83911.53Sdogcow/* end confdefs.h. */ 83921.53Sdogcow#include <sys/types.h> 83931.53Sdogcow 83941.53Sdogcowint 83951.53Sdogcowmain () 83961.53Sdogcow{ 83971.53Sdogcow#ifndef le16toh 83981.53Sdogcow char *p = (char *) le16toh; 83991.53Sdogcow#endif 84001.53Sdogcow 84011.53Sdogcow ; 84021.53Sdogcow return 0; 84031.53Sdogcow} 84041.53Sdogcow_ACEOF 84051.53Sdogcowrm -f conftest.$ac_objext 84061.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 84071.53Sdogcow (eval $ac_compile) 2>conftest.er1 84081.53Sdogcow ac_status=$? 84091.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 84101.53Sdogcow rm -f conftest.er1 84111.53Sdogcow cat conftest.err >&5 84121.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84131.53Sdogcow (exit $ac_status); } && 84141.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 84151.53Sdogcow || test ! -s conftest.err' 84161.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84171.53Sdogcow (eval $ac_try) 2>&5 84181.53Sdogcow ac_status=$? 84191.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84201.53Sdogcow (exit $ac_status); }; } && 84211.53Sdogcow { ac_try='test -s conftest.$ac_objext' 84221.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84231.53Sdogcow (eval $ac_try) 2>&5 84241.53Sdogcow ac_status=$? 84251.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84261.53Sdogcow (exit $ac_status); }; }; then 84271.53Sdogcow ac_cv_have_decl_le16toh=yes 84281.53Sdogcowelse 84291.53Sdogcow echo "$as_me: failed program was:" >&5 84301.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 84311.53Sdogcow 84321.53Sdogcowac_cv_have_decl_le16toh=no 84331.53Sdogcowfi 84341.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 84351.53Sdogcowfi 84361.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5 84371.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 84381.53Sdogcowif test $ac_cv_have_decl_le16toh = yes; then 84391.53Sdogcow 84401.53Sdogcowcat >>confdefs.h <<_ACEOF 84411.53Sdogcow#define HAVE_DECL_LE16TOH 1 84421.53Sdogcow_ACEOF 84431.53Sdogcow 84441.53Sdogcow 84451.53Sdogcowelse 84461.53Sdogcow cat >>confdefs.h <<_ACEOF 84471.53Sdogcow#define HAVE_DECL_LE16TOH 0 84481.53Sdogcow_ACEOF 84491.53Sdogcow 84501.53Sdogcow 84511.53Sdogcowfi 84521.53Sdogcowecho "$as_me:$LINENO: checking whether le32toh is declared" >&5 84531.53Sdogcowecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 84541.53Sdogcowif test "${ac_cv_have_decl_le32toh+set}" = set; then 84551.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 84561.53Sdogcowelse 84571.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 84581.53Sdogcow/* confdefs.h. */ 84591.53Sdogcow_ACEOF 84601.53Sdogcowcat confdefs.h >>conftest.$ac_ext 84611.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 84621.53Sdogcow/* end confdefs.h. */ 84631.53Sdogcow#include <sys/types.h> 84641.53Sdogcow 84651.53Sdogcowint 84661.53Sdogcowmain () 84671.53Sdogcow{ 84681.53Sdogcow#ifndef le32toh 84691.53Sdogcow char *p = (char *) le32toh; 84701.53Sdogcow#endif 84711.53Sdogcow 84721.53Sdogcow ; 84731.53Sdogcow return 0; 84741.53Sdogcow} 84751.53Sdogcow_ACEOF 84761.53Sdogcowrm -f conftest.$ac_objext 84771.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 84781.53Sdogcow (eval $ac_compile) 2>conftest.er1 84791.53Sdogcow ac_status=$? 84801.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 84811.53Sdogcow rm -f conftest.er1 84821.53Sdogcow cat conftest.err >&5 84831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84841.53Sdogcow (exit $ac_status); } && 84851.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 84861.53Sdogcow || test ! -s conftest.err' 84871.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84881.53Sdogcow (eval $ac_try) 2>&5 84891.53Sdogcow ac_status=$? 84901.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84911.53Sdogcow (exit $ac_status); }; } && 84921.53Sdogcow { ac_try='test -s conftest.$ac_objext' 84931.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84941.53Sdogcow (eval $ac_try) 2>&5 84951.53Sdogcow ac_status=$? 84961.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 84971.53Sdogcow (exit $ac_status); }; }; then 84981.53Sdogcow ac_cv_have_decl_le32toh=yes 84991.53Sdogcowelse 85001.53Sdogcow echo "$as_me: failed program was:" >&5 85011.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 85021.53Sdogcow 85031.53Sdogcowac_cv_have_decl_le32toh=no 85041.53Sdogcowfi 85051.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 85061.53Sdogcowfi 85071.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5 85081.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 85091.53Sdogcowif test $ac_cv_have_decl_le32toh = yes; then 85101.53Sdogcow 85111.53Sdogcowcat >>confdefs.h <<_ACEOF 85121.53Sdogcow#define HAVE_DECL_LE32TOH 1 85131.53Sdogcow_ACEOF 85141.53Sdogcow 85151.53Sdogcow 85161.53Sdogcowelse 85171.53Sdogcow cat >>confdefs.h <<_ACEOF 85181.53Sdogcow#define HAVE_DECL_LE32TOH 0 85191.53Sdogcow_ACEOF 85201.53Sdogcow 85211.53Sdogcow 85221.53Sdogcowfi 85231.53Sdogcowecho "$as_me:$LINENO: checking whether le64toh is declared" >&5 85241.53Sdogcowecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 85251.53Sdogcowif test "${ac_cv_have_decl_le64toh+set}" = set; then 85261.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 85271.53Sdogcowelse 85281.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 85291.53Sdogcow/* confdefs.h. */ 85301.53Sdogcow_ACEOF 85311.53Sdogcowcat confdefs.h >>conftest.$ac_ext 85321.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 85331.53Sdogcow/* end confdefs.h. */ 85341.53Sdogcow#include <sys/types.h> 85351.53Sdogcow 85361.53Sdogcowint 85371.53Sdogcowmain () 85381.53Sdogcow{ 85391.53Sdogcow#ifndef le64toh 85401.53Sdogcow char *p = (char *) le64toh; 85411.53Sdogcow#endif 85421.53Sdogcow 85431.53Sdogcow ; 85441.53Sdogcow return 0; 85451.53Sdogcow} 85461.53Sdogcow_ACEOF 85471.53Sdogcowrm -f conftest.$ac_objext 85481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 85491.53Sdogcow (eval $ac_compile) 2>conftest.er1 85501.53Sdogcow ac_status=$? 85511.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 85521.53Sdogcow rm -f conftest.er1 85531.53Sdogcow cat conftest.err >&5 85541.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85551.53Sdogcow (exit $ac_status); } && 85561.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 85571.53Sdogcow || test ! -s conftest.err' 85581.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85591.53Sdogcow (eval $ac_try) 2>&5 85601.53Sdogcow ac_status=$? 85611.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85621.53Sdogcow (exit $ac_status); }; } && 85631.53Sdogcow { ac_try='test -s conftest.$ac_objext' 85641.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85651.53Sdogcow (eval $ac_try) 2>&5 85661.53Sdogcow ac_status=$? 85671.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 85681.53Sdogcow (exit $ac_status); }; }; then 85691.53Sdogcow ac_cv_have_decl_le64toh=yes 85701.53Sdogcowelse 85711.53Sdogcow echo "$as_me: failed program was:" >&5 85721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 85731.53Sdogcow 85741.53Sdogcowac_cv_have_decl_le64toh=no 85751.53Sdogcowfi 85761.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 85771.53Sdogcowfi 85781.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5 85791.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 85801.53Sdogcowif test $ac_cv_have_decl_le64toh = yes; then 85811.53Sdogcow 85821.53Sdogcowcat >>confdefs.h <<_ACEOF 85831.53Sdogcow#define HAVE_DECL_LE64TOH 1 85841.53Sdogcow_ACEOF 85851.53Sdogcow 85861.53Sdogcow 85871.53Sdogcowelse 85881.53Sdogcow cat >>confdefs.h <<_ACEOF 85891.53Sdogcow#define HAVE_DECL_LE64TOH 0 85901.53Sdogcow_ACEOF 85911.53Sdogcow 85921.53Sdogcow 85931.53Sdogcowfi 85941.53Sdogcow 85951.53Sdogcow 85961.53Sdogcow 85971.54Swizecho "$as_me:$LINENO: checking whether bswap16 is declared" >&5 85981.54Swizecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 85991.54Swizif test "${ac_cv_have_decl_bswap16+set}" = set; then 86001.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 86011.54Swizelse 86021.54Swiz cat >conftest.$ac_ext <<_ACEOF 86031.54Swiz/* confdefs.h. */ 86041.54Swiz_ACEOF 86051.54Swizcat confdefs.h >>conftest.$ac_ext 86061.54Swizcat >>conftest.$ac_ext <<_ACEOF 86071.54Swiz/* end confdefs.h. */ 86081.54Swiz#include <machine/bswap.h> 86091.54Swiz 86101.54Swizint 86111.54Swizmain () 86121.54Swiz{ 86131.54Swiz#ifndef bswap16 86141.54Swiz char *p = (char *) bswap16; 86151.54Swiz#endif 86161.54Swiz 86171.54Swiz ; 86181.54Swiz return 0; 86191.54Swiz} 86201.54Swiz_ACEOF 86211.54Swizrm -f conftest.$ac_objext 86221.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 86231.54Swiz (eval $ac_compile) 2>conftest.er1 86241.54Swiz ac_status=$? 86251.54Swiz grep -v '^ *+' conftest.er1 >conftest.err 86261.54Swiz rm -f conftest.er1 86271.54Swiz cat conftest.err >&5 86281.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 86291.54Swiz (exit $ac_status); } && 86301.54Swiz { ac_try='test -z "$ac_c_werror_flag" 86311.54Swiz || test ! -s conftest.err' 86321.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86331.54Swiz (eval $ac_try) 2>&5 86341.54Swiz ac_status=$? 86351.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 86361.54Swiz (exit $ac_status); }; } && 86371.54Swiz { ac_try='test -s conftest.$ac_objext' 86381.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86391.54Swiz (eval $ac_try) 2>&5 86401.54Swiz ac_status=$? 86411.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 86421.54Swiz (exit $ac_status); }; }; then 86431.54Swiz ac_cv_have_decl_bswap16=yes 86441.54Swizelse 86451.54Swiz echo "$as_me: failed program was:" >&5 86461.54Swizsed 's/^/| /' conftest.$ac_ext >&5 86471.54Swiz 86481.54Swizac_cv_have_decl_bswap16=no 86491.54Swizfi 86501.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 86511.54Swizfi 86521.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5 86531.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 86541.54Swizif test $ac_cv_have_decl_bswap16 = yes; then 86551.54Swiz 86561.54Swizcat >>confdefs.h <<_ACEOF 86571.54Swiz#define HAVE_DECL_BSWAP16 1 86581.54Swiz_ACEOF 86591.54Swiz 86601.53Sdogcow 86611.54Swizelse 86621.54Swiz cat >>confdefs.h <<_ACEOF 86631.54Swiz#define HAVE_DECL_BSWAP16 0 86641.54Swiz_ACEOF 86651.53Sdogcow 86661.53Sdogcow 86671.54Swizfi 86681.54Swizecho "$as_me:$LINENO: checking whether bswap32 is declared" >&5 86691.54Swizecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 86701.54Swizif test "${ac_cv_have_decl_bswap32+set}" = set; then 86711.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 86721.53Sdogcowelse 86731.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 86741.53Sdogcow/* confdefs.h. */ 86751.53Sdogcow_ACEOF 86761.53Sdogcowcat confdefs.h >>conftest.$ac_ext 86771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 86781.53Sdogcow/* end confdefs.h. */ 86791.54Swiz#include <machine/bswap.h> 86801.53Sdogcow 86811.54Swizint 86821.54Swizmain () 86831.53Sdogcow{ 86841.54Swiz#ifndef bswap32 86851.54Swiz char *p = (char *) bswap32; 86861.48Sjmc#endif 86871.54Swiz 86881.54Swiz ; 86891.54Swiz return 0; 86901.53Sdogcow} 86911.54Swiz_ACEOF 86921.54Swizrm -f conftest.$ac_objext 86931.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 86941.54Swiz (eval $ac_compile) 2>conftest.er1 86951.54Swiz ac_status=$? 86961.54Swiz grep -v '^ *+' conftest.er1 >conftest.err 86971.54Swiz rm -f conftest.er1 86981.54Swiz cat conftest.err >&5 86991.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87001.54Swiz (exit $ac_status); } && 87011.54Swiz { ac_try='test -z "$ac_c_werror_flag" 87021.54Swiz || test ! -s conftest.err' 87031.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87041.54Swiz (eval $ac_try) 2>&5 87051.54Swiz ac_status=$? 87061.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87071.54Swiz (exit $ac_status); }; } && 87081.54Swiz { ac_try='test -s conftest.$ac_objext' 87091.54Swiz { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87101.54Swiz (eval $ac_try) 2>&5 87111.54Swiz ac_status=$? 87121.54Swiz echo "$as_me:$LINENO: \$? = $ac_status" >&5 87131.54Swiz (exit $ac_status); }; }; then 87141.54Swiz ac_cv_have_decl_bswap32=yes 87151.54Swizelse 87161.54Swiz echo "$as_me: failed program was:" >&5 87171.54Swizsed 's/^/| /' conftest.$ac_ext >&5 87181.54Swiz 87191.54Swizac_cv_have_decl_bswap32=no 87201.54Swizfi 87211.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 87221.54Swizfi 87231.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5 87241.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 87251.54Swizif test $ac_cv_have_decl_bswap32 = yes; then 87261.54Swiz 87271.54Swizcat >>confdefs.h <<_ACEOF 87281.54Swiz#define HAVE_DECL_BSWAP32 1 87291.54Swiz_ACEOF 87301.54Swiz 87311.54Swiz 87321.54Swizelse 87331.54Swiz cat >>confdefs.h <<_ACEOF 87341.54Swiz#define HAVE_DECL_BSWAP32 0 87351.54Swiz_ACEOF 87361.54Swiz 87371.54Swiz 87381.54Swizfi 87391.54Swizecho "$as_me:$LINENO: checking whether bswap64 is declared" >&5 87401.54Swizecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 87411.54Swizif test "${ac_cv_have_decl_bswap64+set}" = set; then 87421.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 87431.54Swizelse 87441.54Swiz cat >conftest.$ac_ext <<_ACEOF 87451.54Swiz/* confdefs.h. */ 87461.54Swiz_ACEOF 87471.54Swizcat confdefs.h >>conftest.$ac_ext 87481.54Swizcat >>conftest.$ac_ext <<_ACEOF 87491.54Swiz/* end confdefs.h. */ 87501.54Swiz#include <machine/bswap.h> 87511.54Swiz 87521.53Sdogcowint 87531.53Sdogcowmain () 87541.53Sdogcow{ 87551.54Swiz#ifndef bswap64 87561.54Swiz char *p = (char *) bswap64; 87571.54Swiz#endif 87581.54Swiz 87591.45Sjmc ; 87601.45Sjmc return 0; 87611.45Sjmc} 87621.45Sjmc_ACEOF 87631.54Swizrm -f conftest.$ac_objext 87641.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 87651.54Swiz (eval $ac_compile) 2>conftest.er1 87661.45Sjmc ac_status=$? 87671.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 87681.53Sdogcow rm -f conftest.er1 87691.53Sdogcow cat conftest.err >&5 87701.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 87711.45Sjmc (exit $ac_status); } && 87721.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 87731.53Sdogcow || test ! -s conftest.err' 87741.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87751.53Sdogcow (eval $ac_try) 2>&5 87761.53Sdogcow ac_status=$? 87771.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 87781.53Sdogcow (exit $ac_status); }; } && 87791.54Swiz { ac_try='test -s conftest.$ac_objext' 87801.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87811.45Sjmc (eval $ac_try) 2>&5 87821.45Sjmc ac_status=$? 87831.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 87841.45Sjmc (exit $ac_status); }; }; then 87851.54Swiz ac_cv_have_decl_bswap64=yes 87861.45Sjmcelse 87871.45Sjmc echo "$as_me: failed program was:" >&5 87881.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 87891.53Sdogcow 87901.54Swizac_cv_have_decl_bswap64=no 87911.45Sjmcfi 87921.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 87931.45Sjmcfi 87941.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5 87951.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 87961.54Swizif test $ac_cv_have_decl_bswap64 = yes; then 87971.54Swiz 87981.54Swizcat >>confdefs.h <<_ACEOF 87991.54Swiz#define HAVE_DECL_BSWAP64 1 88001.54Swiz_ACEOF 88011.54Swiz 88021.54Swiz 88031.54Swizelse 88041.53Sdogcow cat >>confdefs.h <<_ACEOF 88051.54Swiz#define HAVE_DECL_BSWAP64 0 88061.53Sdogcow_ACEOF 88071.45Sjmc 88081.54Swiz 88091.45Sjmcfi 88101.45Sjmc 88111.53Sdogcow 88121.53Sdogcow 88131.54Swizecho "$as_me:$LINENO: checking whether fstatvfs is declared" >&5 88141.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 88151.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then 88161.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 88171.1Stvelse 88181.1Stv cat >conftest.$ac_ext <<_ACEOF 88191.53Sdogcow/* confdefs.h. */ 88201.53Sdogcow_ACEOF 88211.53Sdogcowcat confdefs.h >>conftest.$ac_ext 88221.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 88231.53Sdogcow/* end confdefs.h. */ 88241.54Swiz#include <sys/statvfs.h> 88251.53Sdogcow 88261.54Swizint 88271.54Swizmain () 88281.53Sdogcow{ 88291.54Swiz#ifndef fstatvfs 88301.54Swiz char *p = (char *) fstatvfs; 88311.1Stv#endif 88321.1Stv 88331.1Stv ; 88341.1Stv return 0; 88351.1Stv} 88361.1Stv_ACEOF 88371.54Swizrm -f conftest.$ac_objext 88381.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 88391.54Swiz (eval $ac_compile) 2>conftest.er1 88401.1Stv ac_status=$? 88411.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 88421.53Sdogcow rm -f conftest.er1 88431.53Sdogcow cat conftest.err >&5 88441.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88451.1Stv (exit $ac_status); } && 88461.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 88471.53Sdogcow || test ! -s conftest.err' 88481.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88491.53Sdogcow (eval $ac_try) 2>&5 88501.53Sdogcow ac_status=$? 88511.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88521.53Sdogcow (exit $ac_status); }; } && 88531.54Swiz { ac_try='test -s conftest.$ac_objext' 88541.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88551.1Stv (eval $ac_try) 2>&5 88561.1Stv ac_status=$? 88571.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 88581.1Stv (exit $ac_status); }; }; then 88591.54Swiz ac_cv_have_decl_fstatvfs=yes 88601.1Stvelse 88611.1Stv echo "$as_me: failed program was:" >&5 88621.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 88631.53Sdogcow 88641.54Swizac_cv_have_decl_fstatvfs=no 88651.1Stvfi 88661.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 88671.1Stvfi 88681.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5 88691.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 88701.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then 88711.54Swiz 88721.54Swizcat >>confdefs.h <<_ACEOF 88731.54Swiz#define HAVE_DECL_FSTATVFS 1 88741.54Swiz_ACEOF 88751.54Swiz 88761.54Swiz 88771.54Swizelse 88781.53Sdogcow cat >>confdefs.h <<_ACEOF 88791.54Swiz#define HAVE_DECL_FSTATVFS 0 88801.53Sdogcow_ACEOF 88811.1Stv 88821.54Swiz 88831.1Stvfi 88841.54Swiz 88851.1Stv 88861.53Sdogcow 88871.53Sdogcowecho "$as_me:$LINENO: checking whether setgroupent is declared" >&5 88881.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 88891.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then 88901.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 88911.8Stvelse 88921.8Stv cat >conftest.$ac_ext <<_ACEOF 88931.53Sdogcow/* confdefs.h. */ 88941.53Sdogcow_ACEOF 88951.53Sdogcowcat confdefs.h >>conftest.$ac_ext 88961.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 88971.53Sdogcow/* end confdefs.h. */ 88981.8Stv 88991.33Sthorpej#include <sys/types.h> 89001.8Stv#include <grp.h> 89011.8Stv#include <pwd.h> 89021.8Stv 89031.53Sdogcow 89041.8Stvint 89051.8Stvmain () 89061.8Stv{ 89071.8Stv#ifndef setgroupent 89081.8Stv char *p = (char *) setgroupent; 89091.8Stv#endif 89101.8Stv 89111.8Stv ; 89121.8Stv return 0; 89131.8Stv} 89141.8Stv_ACEOF 89151.8Stvrm -f conftest.$ac_objext 89161.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 89171.53Sdogcow (eval $ac_compile) 2>conftest.er1 89181.8Stv ac_status=$? 89191.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 89201.53Sdogcow rm -f conftest.er1 89211.53Sdogcow cat conftest.err >&5 89221.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89231.8Stv (exit $ac_status); } && 89241.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 89251.53Sdogcow || test ! -s conftest.err' 89261.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89271.50Sjmc (eval $ac_try) 2>&5 89281.50Sjmc ac_status=$? 89291.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89301.53Sdogcow (exit $ac_status); }; } && 89311.53Sdogcow { ac_try='test -s conftest.$ac_objext' 89321.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89331.53Sdogcow (eval $ac_try) 2>&5 89341.53Sdogcow ac_status=$? 89351.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89361.8Stv (exit $ac_status); }; }; then 89371.8Stv ac_cv_have_decl_setgroupent=yes 89381.8Stvelse 89391.8Stv echo "$as_me: failed program was:" >&5 89401.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 89411.53Sdogcow 89421.8Stvac_cv_have_decl_setgroupent=no 89431.8Stvfi 89441.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 89451.8Stvfi 89461.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5 89471.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 89481.8Stvif test $ac_cv_have_decl_setgroupent = yes; then 89491.8Stv 89501.53Sdogcowcat >>confdefs.h <<_ACEOF 89511.8Stv#define HAVE_DECL_SETGROUPENT 1 89521.53Sdogcow_ACEOF 89531.53Sdogcow 89541.8Stv 89551.8Stvelse 89561.53Sdogcow cat >>confdefs.h <<_ACEOF 89571.8Stv#define HAVE_DECL_SETGROUPENT 0 89581.53Sdogcow_ACEOF 89591.53Sdogcow 89601.8Stv 89611.8Stvfi 89621.53Sdogcowecho "$as_me:$LINENO: checking whether setpassent is declared" >&5 89631.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 89641.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then 89651.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 89661.8Stvelse 89671.8Stv cat >conftest.$ac_ext <<_ACEOF 89681.53Sdogcow/* confdefs.h. */ 89691.53Sdogcow_ACEOF 89701.53Sdogcowcat confdefs.h >>conftest.$ac_ext 89711.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 89721.53Sdogcow/* end confdefs.h. */ 89731.8Stv 89741.33Sthorpej#include <sys/types.h> 89751.8Stv#include <grp.h> 89761.8Stv#include <pwd.h> 89771.8Stv 89781.53Sdogcow 89791.8Stvint 89801.8Stvmain () 89811.8Stv{ 89821.8Stv#ifndef setpassent 89831.8Stv char *p = (char *) setpassent; 89841.8Stv#endif 89851.8Stv 89861.8Stv ; 89871.8Stv return 0; 89881.8Stv} 89891.8Stv_ACEOF 89901.8Stvrm -f conftest.$ac_objext 89911.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 89921.53Sdogcow (eval $ac_compile) 2>conftest.er1 89931.8Stv ac_status=$? 89941.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 89951.53Sdogcow rm -f conftest.er1 89961.53Sdogcow cat conftest.err >&5 89971.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 89981.8Stv (exit $ac_status); } && 89991.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 90001.53Sdogcow || test ! -s conftest.err' 90011.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90021.50Sjmc (eval $ac_try) 2>&5 90031.50Sjmc ac_status=$? 90041.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90051.53Sdogcow (exit $ac_status); }; } && 90061.53Sdogcow { ac_try='test -s conftest.$ac_objext' 90071.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90081.53Sdogcow (eval $ac_try) 2>&5 90091.53Sdogcow ac_status=$? 90101.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90111.8Stv (exit $ac_status); }; }; then 90121.8Stv ac_cv_have_decl_setpassent=yes 90131.8Stvelse 90141.8Stv echo "$as_me: failed program was:" >&5 90151.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 90161.53Sdogcow 90171.8Stvac_cv_have_decl_setpassent=no 90181.8Stvfi 90191.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 90201.8Stvfi 90211.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5 90221.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 90231.8Stvif test $ac_cv_have_decl_setpassent = yes; then 90241.8Stv 90251.53Sdogcowcat >>confdefs.h <<_ACEOF 90261.8Stv#define HAVE_DECL_SETPASSENT 1 90271.53Sdogcow_ACEOF 90281.53Sdogcow 90291.8Stv 90301.8Stvelse 90311.53Sdogcow cat >>confdefs.h <<_ACEOF 90321.8Stv#define HAVE_DECL_SETPASSENT 0 90331.53Sdogcow_ACEOF 90341.53Sdogcow 90351.8Stv 90361.8Stvfi 90371.8Stv 90381.53Sdogcow 90391.53Sdogcow 90401.4Stv# regcomp() and regexec() are also names of functions in the old V8 90411.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 90421.4Stv 90431.53Sdogcow 90441.53Sdogcowecho "$as_me:$LINENO: checking for regfree in -lregex" >&5 90451.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 90461.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then 90471.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 90481.4Stvelse 90491.4Stv ac_check_lib_save_LIBS=$LIBS 90501.4StvLIBS="-lregex $LIBS" 90511.4Stvcat >conftest.$ac_ext <<_ACEOF 90521.53Sdogcow/* confdefs.h. */ 90531.53Sdogcow_ACEOF 90541.53Sdogcowcat confdefs.h >>conftest.$ac_ext 90551.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 90561.53Sdogcow/* end confdefs.h. */ 90571.4Stv 90581.4Stv/* Override any gcc2 internal prototype to avoid an error. */ 90591.4Stv#ifdef __cplusplus 90601.4Stvextern "C" 90611.4Stv#endif 90621.4Stv/* We use char because int might match the return type of a gcc2 90631.4Stv builtin and then its argument prototype would still apply. */ 90641.4Stvchar regfree (); 90651.4Stvint 90661.4Stvmain () 90671.4Stv{ 90681.4Stvregfree (); 90691.4Stv ; 90701.4Stv return 0; 90711.4Stv} 90721.4Stv_ACEOF 90731.4Stvrm -f conftest.$ac_objext conftest$ac_exeext 90741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 90751.53Sdogcow (eval $ac_link) 2>conftest.er1 90761.4Stv ac_status=$? 90771.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 90781.53Sdogcow rm -f conftest.er1 90791.53Sdogcow cat conftest.err >&5 90801.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90811.4Stv (exit $ac_status); } && 90821.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 90831.53Sdogcow || test ! -s conftest.err' 90841.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90851.53Sdogcow (eval $ac_try) 2>&5 90861.53Sdogcow ac_status=$? 90871.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90881.53Sdogcow (exit $ac_status); }; } && 90891.53Sdogcow { ac_try='test -s conftest$ac_exeext' 90901.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90911.4Stv (eval $ac_try) 2>&5 90921.4Stv ac_status=$? 90931.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 90941.4Stv (exit $ac_status); }; }; then 90951.4Stv ac_cv_lib_regex_regfree=yes 90961.4Stvelse 90971.4Stv echo "$as_me: failed program was:" >&5 90981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 90991.53Sdogcow 91001.4Stvac_cv_lib_regex_regfree=no 91011.4Stvfi 91021.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 91031.53Sdogcow conftest$ac_exeext conftest.$ac_ext 91041.4StvLIBS=$ac_check_lib_save_LIBS 91051.4Stvfi 91061.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5 91071.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 91081.4Stvif test $ac_cv_lib_regex_regfree = yes; then 91091.53Sdogcow cat >>confdefs.h <<_ACEOF 91101.4Stv#define HAVE_LIBREGEX 1 91111.53Sdogcow_ACEOF 91121.4Stv 91131.4Stv LIBS="-lregex $LIBS" 91141.4Stv 91151.4Stvfi 91161.4Stv 91171.53Sdogcowecho "$as_me:$LINENO: checking for library containing regfree" >&5 91181.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 91191.4Stvif test "${ac_cv_search_regfree+set}" = set; then 91201.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 91211.1Stvelse 91221.1Stv ac_func_search_save_LIBS=$LIBS 91231.4Stvac_cv_search_regfree=no 91241.1Stvcat >conftest.$ac_ext <<_ACEOF 91251.53Sdogcow/* confdefs.h. */ 91261.53Sdogcow_ACEOF 91271.53Sdogcowcat confdefs.h >>conftest.$ac_ext 91281.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 91291.53Sdogcow/* end confdefs.h. */ 91301.1Stv 91311.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 91321.1Stv#ifdef __cplusplus 91331.1Stvextern "C" 91341.1Stv#endif 91351.1Stv/* We use char because int might match the return type of a gcc2 91361.1Stv builtin and then its argument prototype would still apply. */ 91371.4Stvchar regfree (); 91381.1Stvint 91391.1Stvmain () 91401.1Stv{ 91411.4Stvregfree (); 91421.1Stv ; 91431.1Stv return 0; 91441.1Stv} 91451.1Stv_ACEOF 91461.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 91471.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 91481.53Sdogcow (eval $ac_link) 2>conftest.er1 91491.1Stv ac_status=$? 91501.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 91511.53Sdogcow rm -f conftest.er1 91521.53Sdogcow cat conftest.err >&5 91531.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91541.1Stv (exit $ac_status); } && 91551.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 91561.53Sdogcow || test ! -s conftest.err' 91571.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91581.53Sdogcow (eval $ac_try) 2>&5 91591.53Sdogcow ac_status=$? 91601.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91611.53Sdogcow (exit $ac_status); }; } && 91621.53Sdogcow { ac_try='test -s conftest$ac_exeext' 91631.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91641.1Stv (eval $ac_try) 2>&5 91651.1Stv ac_status=$? 91661.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 91671.1Stv (exit $ac_status); }; }; then 91681.4Stv ac_cv_search_regfree="none required" 91691.1Stvelse 91701.1Stv echo "$as_me: failed program was:" >&5 91711.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 91721.53Sdogcow 91731.1Stvfi 91741.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 91751.53Sdogcow conftest$ac_exeext conftest.$ac_ext 91761.4Stvif test "$ac_cv_search_regfree" = no; then 91771.4Stv for ac_lib in rx posix; do 91781.1Stv LIBS="-l$ac_lib $ac_func_search_save_LIBS" 91791.1Stv cat >conftest.$ac_ext <<_ACEOF 91801.53Sdogcow/* confdefs.h. */ 91811.53Sdogcow_ACEOF 91821.53Sdogcowcat confdefs.h >>conftest.$ac_ext 91831.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF 91841.53Sdogcow/* end confdefs.h. */ 91851.1Stv 91861.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 91871.1Stv#ifdef __cplusplus 91881.1Stvextern "C" 91891.1Stv#endif 91901.1Stv/* We use char because int might match the return type of a gcc2 91911.1Stv builtin and then its argument prototype would still apply. */ 91921.4Stvchar regfree (); 91931.1Stvint 91941.1Stvmain () 91951.1Stv{ 91961.4Stvregfree (); 91971.1Stv ; 91981.1Stv return 0; 91991.1Stv} 92001.1Stv_ACEOF 92011.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 92021.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 92031.53Sdogcow (eval $ac_link) 2>conftest.er1 92041.1Stv ac_status=$? 92051.53Sdogcow grep -v '^ *+' conftest.er1 >conftest.err 92061.53Sdogcow rm -f conftest.er1 92071.53Sdogcow cat conftest.err >&5 92081.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92091.1Stv (exit $ac_status); } && 92101.53Sdogcow { ac_try='test -z "$ac_c_werror_flag" 92111.53Sdogcow || test ! -s conftest.err' 92121.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92131.53Sdogcow (eval $ac_try) 2>&5 92141.53Sdogcow ac_status=$? 92151.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92161.53Sdogcow (exit $ac_status); }; } && 92171.53Sdogcow { ac_try='test -s conftest$ac_exeext' 92181.53Sdogcow { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92191.1Stv (eval $ac_try) 2>&5 92201.1Stv ac_status=$? 92211.53Sdogcow echo "$as_me:$LINENO: \$? = $ac_status" >&5 92221.1Stv (exit $ac_status); }; }; then 92231.4Stv ac_cv_search_regfree="-l$ac_lib" 92241.1Stvbreak 92251.1Stvelse 92261.1Stv echo "$as_me: failed program was:" >&5 92271.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5 92281.53Sdogcow 92291.1Stvfi 92301.53Sdogcowrm -f conftest.err conftest.$ac_objext \ 92311.53Sdogcow conftest$ac_exeext conftest.$ac_ext 92321.1Stv done 92331.1Stvfi 92341.1StvLIBS=$ac_func_search_save_LIBS 92351.1Stvfi 92361.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5 92371.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6 92381.4Stvif test "$ac_cv_search_regfree" != no; then 92391.4Stv test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" 92401.1Stv 92411.1Stvfi 92421.1Stv 92431.53Sdogcow 92441.1Stvcat >confcache <<\_ACEOF 92451.1Stv# This file is a shell script that caches the results of configure 92461.1Stv# tests run on this system so they can be shared between configure 92471.1Stv# scripts and configure runs, see configure's option --config-cache. 92481.1Stv# It is not useful on other systems. If it contains results you don't 92491.1Stv# want to keep, you may remove or edit it. 92501.1Stv# 92511.1Stv# config.status only pays attention to the cache file if you give it 92521.1Stv# the --recheck option to rerun configure. 92531.1Stv# 92541.53Sdogcow# `ac_cv_env_foo' variables (set or unset) will be overridden when 92551.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the 92561.1Stv# following values. 92571.1Stv 92581.1Stv_ACEOF 92591.1Stv 92601.1Stv# The following way of writing the cache mishandles newlines in values, 92611.1Stv# but we know of no workaround that is simple, portable, and efficient. 92621.1Stv# So, don't put newlines in cache variables' values. 92631.1Stv# Ultrix sh set writes to stderr and can't be redirected directly, 92641.1Stv# and sets the high bit in the cache file unless we assign to the vars. 92651.1Stv{ 92661.1Stv (set) 2>&1 | 92671.1Stv case `(ac_space=' '; set | grep ac_space) 2>&1` in 92681.1Stv *ac_space=\ *) 92691.1Stv # `set' does not quote correctly, so add quotes (double-quote 92701.1Stv # substitution turns \\\\ into \\, and sed turns \\ into \). 92711.1Stv sed -n \ 92721.53Sdogcow "s/'/'\\\\''/g; 92731.53Sdogcow s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 92741.1Stv ;; 92751.1Stv *) 92761.1Stv # `set' quotes correctly as required by POSIX, so do not add quotes. 92771.1Stv sed -n \ 92781.53Sdogcow "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 92791.1Stv ;; 92801.1Stv esac; 92811.1Stv} | 92821.1Stv sed ' 92831.1Stv t clear 92841.1Stv : clear 92851.1Stv s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 92861.1Stv t end 92871.1Stv /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 92881.1Stv : end' >>confcache 92891.53Sdogcowif diff $cache_file confcache >/dev/null 2>&1; then :; else 92901.1Stv if test -w $cache_file; then 92911.1Stv test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 92921.1Stv cat confcache >$cache_file 92931.1Stv else 92941.1Stv echo "not updating unwritable cache $cache_file" 92951.1Stv fi 92961.1Stvfi 92971.1Stvrm -f confcache 92981.1Stv 92991.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix 93001.1Stv# Let make expand exec_prefix. 93011.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 93021.1Stv 93031.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir), 93041.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 93051.1Stv# trailing colons and then remove the whole line if VPATH becomes empty 93061.1Stv# (actually we leave an empty line to preserve line numbers). 93071.1Stvif test "x$srcdir" = x.; then 93081.53Sdogcow ac_vpsub='/^[ ]*VPATH[ ]*=/{ 93091.1Stvs/:*\$(srcdir):*/:/; 93101.1Stvs/:*\${srcdir}:*/:/; 93111.1Stvs/:*@srcdir@:*/:/; 93121.53Sdogcows/^\([^=]*=[ ]*\):*/\1/; 93131.1Stvs/:*$//; 93141.53Sdogcows/^[^=]*=[ ]*$//; 93151.1Stv}' 93161.1Stvfi 93171.1Stv 93181.1StvDEFS=-DHAVE_CONFIG_H 93191.1Stv 93201.53Sdogcowac_libobjs= 93211.53Sdogcowac_ltlibobjs= 93221.53Sdogcowfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 93231.53Sdogcow # 1. Remove the extension, and $U if already installed. 93241.53Sdogcow ac_i=`echo "$ac_i" | 93251.53Sdogcow sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 93261.53Sdogcow # 2. Add them. 93271.53Sdogcow ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 93281.53Sdogcow ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 93291.53Sdogcowdone 93301.53SdogcowLIBOBJS=$ac_libobjs 93311.53Sdogcow 93321.53SdogcowLTLIBOBJS=$ac_ltlibobjs 93331.53Sdogcow 93341.53Sdogcow 93351.53Sdogcow 93361.1Stv: ${CONFIG_STATUS=./config.status} 93371.1Stvac_clean_files_save=$ac_clean_files 93381.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS" 93391.53Sdogcow{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 93401.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;} 93411.1Stvcat >$CONFIG_STATUS <<_ACEOF 93421.1Stv#! $SHELL 93431.53Sdogcow# Generated by $as_me. 93441.1Stv# Run this file to recreate the current configuration. 93451.1Stv# Compiler output produced by configure, useful for debugging 93461.1Stv# configure, is in config.log if it exists. 93471.1Stv 93481.1Stvdebug=false 93491.53Sdogcowac_cs_recheck=false 93501.53Sdogcowac_cs_silent=false 93511.1StvSHELL=\${CONFIG_SHELL-$SHELL} 93521.1Stv_ACEOF 93531.1Stv 93541.1Stvcat >>$CONFIG_STATUS <<\_ACEOF 93551.53Sdogcow## --------------------- ## 93561.53Sdogcow## M4sh Initialization. ## 93571.53Sdogcow## --------------------- ## 93581.53Sdogcow 93591.1Stv# Be Bourne compatible 93601.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 93611.1Stv emulate sh 93621.1Stv NULLCMD=: 93631.53Sdogcow # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 93641.53Sdogcow # is contrary to our usage. Disable this feature. 93651.53Sdogcow alias -g '${1+"$@"}'='"$@"' 93661.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 93671.1Stv set -o posix 93681.1Stvfi 93691.53SdogcowDUALCASE=1; export DUALCASE # for MKS sh 93701.53Sdogcow 93711.53Sdogcow# Support unset when possible. 93721.53Sdogcowif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 93731.53Sdogcow as_unset=unset 93741.53Sdogcowelse 93751.53Sdogcow as_unset=false 93761.53Sdogcowfi 93771.53Sdogcow 93781.53Sdogcow 93791.53Sdogcow# Work around bugs in pre-3.0 UWIN ksh. 93801.53Sdogcow$as_unset ENV MAIL MAILPATH 93811.53SdogcowPS1='$ ' 93821.53SdogcowPS2='> ' 93831.53SdogcowPS4='+ ' 93841.53Sdogcow 93851.53Sdogcow# NLS nuisances. 93861.53Sdogcowfor as_var in \ 93871.53Sdogcow LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 93881.53Sdogcow LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 93891.53Sdogcow LC_TELEPHONE LC_TIME 93901.53Sdogcowdo 93911.53Sdogcow if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 93921.53Sdogcow eval $as_var=C; export $as_var 93931.53Sdogcow else 93941.53Sdogcow $as_unset $as_var 93951.53Sdogcow fi 93961.53Sdogcowdone 93971.53Sdogcow 93981.53Sdogcow# Required to use basename. 93991.53Sdogcowif expr a : '\(a\)' >/dev/null 2>&1; then 94001.53Sdogcow as_expr=expr 94011.53Sdogcowelse 94021.53Sdogcow as_expr=false 94031.53Sdogcowfi 94041.53Sdogcow 94051.53Sdogcowif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 94061.53Sdogcow as_basename=basename 94071.53Sdogcowelse 94081.53Sdogcow as_basename=false 94091.53Sdogcowfi 94101.53Sdogcow 94111.1Stv 94121.1Stv# Name of the executable. 94131.53Sdogcowas_me=`$as_basename "$0" || 94141.53Sdogcow$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 94151.53Sdogcow X"$0" : 'X\(//\)$' \| \ 94161.53Sdogcow X"$0" : 'X\(/\)$' \| \ 94171.53Sdogcow . : '\(.\)' 2>/dev/null || 94181.53Sdogcowecho X/"$0" | 94191.53Sdogcow sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 94201.53Sdogcow /^X\/\(\/\/\)$/{ s//\1/; q; } 94211.53Sdogcow /^X\/\(\/\).*/{ s//\1/; q; } 94221.53Sdogcow s/.*/./; q'` 94231.53Sdogcow 94241.53Sdogcow 94251.53Sdogcow# PATH needs CR, and LINENO needs CR and PATH. 94261.53Sdogcow# Avoid depending upon Character Ranges. 94271.53Sdogcowas_cr_letters='abcdefghijklmnopqrstuvwxyz' 94281.53Sdogcowas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 94291.53Sdogcowas_cr_Letters=$as_cr_letters$as_cr_LETTERS 94301.53Sdogcowas_cr_digits='0123456789' 94311.53Sdogcowas_cr_alnum=$as_cr_Letters$as_cr_digits 94321.53Sdogcow 94331.53Sdogcow# The user is always right. 94341.53Sdogcowif test "${PATH_SEPARATOR+set}" != set; then 94351.53Sdogcow echo "#! /bin/sh" >conf$$.sh 94361.53Sdogcow echo "exit 0" >>conf$$.sh 94371.53Sdogcow chmod +x conf$$.sh 94381.53Sdogcow if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94391.53Sdogcow PATH_SEPARATOR=';' 94401.53Sdogcow else 94411.53Sdogcow PATH_SEPARATOR=: 94421.53Sdogcow fi 94431.53Sdogcow rm -f conf$$.sh 94441.53Sdogcowfi 94451.53Sdogcow 94461.53Sdogcow 94471.53Sdogcow as_lineno_1=$LINENO 94481.53Sdogcow as_lineno_2=$LINENO 94491.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 94501.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 94511.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" || { 94521.53Sdogcow # Find who we are. Look in the path if we contain no path at all 94531.53Sdogcow # relative or not. 94541.53Sdogcow case $0 in 94551.53Sdogcow *[\\/]* ) as_myself=$0 ;; 94561.53Sdogcow *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94571.53Sdogcowfor as_dir in $PATH 94581.53Sdogcowdo 94591.53Sdogcow IFS=$as_save_IFS 94601.53Sdogcow test -z "$as_dir" && as_dir=. 94611.53Sdogcow test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 94621.53Sdogcowdone 94631.53Sdogcow 94641.53Sdogcow ;; 94651.53Sdogcow esac 94661.53Sdogcow # We did not find ourselves, most probably we were run as `sh COMMAND' 94671.53Sdogcow # in which case we are not to be found in the path. 94681.53Sdogcow if test "x$as_myself" = x; then 94691.53Sdogcow as_myself=$0 94701.53Sdogcow fi 94711.53Sdogcow if test ! -f "$as_myself"; then 94721.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 94731.53Sdogcowecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 94741.53Sdogcow { (exit 1); exit 1; }; } 94751.53Sdogcow fi 94761.53Sdogcow case $CONFIG_SHELL in 94771.53Sdogcow '') 94781.53Sdogcow as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94791.53Sdogcowfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 94801.53Sdogcowdo 94811.53Sdogcow IFS=$as_save_IFS 94821.53Sdogcow test -z "$as_dir" && as_dir=. 94831.53Sdogcow for as_base in sh bash ksh sh5; do 94841.53Sdogcow case $as_dir in 94851.53Sdogcow /*) 94861.53Sdogcow if ("$as_dir/$as_base" -c ' 94871.53Sdogcow as_lineno_1=$LINENO 94881.53Sdogcow as_lineno_2=$LINENO 94891.53Sdogcow as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 94901.53Sdogcow test "x$as_lineno_1" != "x$as_lineno_2" && 94911.53Sdogcow test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 94921.53Sdogcow $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 94931.53Sdogcow $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 94941.53Sdogcow CONFIG_SHELL=$as_dir/$as_base 94951.53Sdogcow export CONFIG_SHELL 94961.53Sdogcow exec "$CONFIG_SHELL" "$0" ${1+"$@"} 94971.53Sdogcow fi;; 94981.53Sdogcow esac 94991.53Sdogcow done 95001.53Sdogcowdone 95011.53Sdogcow;; 95021.53Sdogcow esac 95031.53Sdogcow 95041.53Sdogcow # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 95051.53Sdogcow # uniformly replaced by the line number. The first 'sed' inserts a 95061.53Sdogcow # line-number line before each line; the second 'sed' does the real 95071.53Sdogcow # work. The second script uses 'N' to pair each line-number line 95081.53Sdogcow # with the numbered line, and appends trailing '-' during 95091.53Sdogcow # substitution so that $LINENO is not a special case at line end. 95101.53Sdogcow # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 95111.53Sdogcow # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 95121.53Sdogcow sed '=' <$as_myself | 95131.53Sdogcow sed ' 95141.53Sdogcow N 95151.53Sdogcow s,$,-, 95161.53Sdogcow : loop 95171.53Sdogcow s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 95181.53Sdogcow t loop 95191.53Sdogcow s,-$,, 95201.53Sdogcow s,^['$as_cr_digits']*\n,, 95211.53Sdogcow ' >$as_me.lineno && 95221.53Sdogcow chmod +x $as_me.lineno || 95231.53Sdogcow { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 95241.53Sdogcowecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 95251.53Sdogcow { (exit 1); exit 1; }; } 95261.53Sdogcow 95271.53Sdogcow # Don't try to exec as it changes $[0], causing all sort of problems 95281.53Sdogcow # (the dirname of $[0] is not the place where we might find the 95291.53Sdogcow # original and so on. Autoconf is especially sensible to this). 95301.53Sdogcow . ./$as_me.lineno 95311.53Sdogcow # Exit status is that of the last command. 95321.53Sdogcow exit 95331.53Sdogcow} 95341.53Sdogcow 95351.53Sdogcow 95361.53Sdogcowcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 95371.53Sdogcow *c*,-n*) ECHO_N= ECHO_C=' 95381.53Sdogcow' ECHO_T=' ' ;; 95391.53Sdogcow *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 95401.53Sdogcow *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 95411.53Sdogcowesac 95421.1Stv 95431.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 95441.1Stv as_expr=expr 95451.1Stvelse 95461.1Stv as_expr=false 95471.1Stvfi 95481.1Stv 95491.1Stvrm -f conf$$ conf$$.exe conf$$.file 95501.1Stvecho >conf$$.file 95511.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 95521.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 95531.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 95541.1Stv if test -f conf$$.exe; then 95551.1Stv # Don't use ln at all; we don't have any links 95561.1Stv as_ln_s='cp -p' 95571.1Stv else 95581.1Stv as_ln_s='ln -s' 95591.1Stv fi 95601.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 95611.1Stv as_ln_s=ln 95621.1Stvelse 95631.1Stv as_ln_s='cp -p' 95641.1Stvfi 95651.1Stvrm -f conf$$ conf$$.exe conf$$.file 95661.1Stv 95671.53Sdogcowif mkdir -p . 2>/dev/null; then 95681.53Sdogcow as_mkdir_p=: 95691.53Sdogcowelse 95701.53Sdogcow test -d ./-p && rmdir ./-p 95711.53Sdogcow as_mkdir_p=false 95721.53Sdogcowfi 95731.53Sdogcow 95741.52Sdbjas_executable_p="test -f" 95751.52Sdbj 95761.53Sdogcow# Sed expression to map a string onto a valid CPP name. 95771.53Sdogcowas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 95781.53Sdogcow 95791.53Sdogcow# Sed expression to map a string onto a valid variable name. 95801.53Sdogcowas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 95811.48Sjmc 95821.1Stv 95831.1Stv# IFS 95841.1Stv# We need space, tab and new line, in precisely that order. 95851.1Stvas_nl=' 95861.1Stv' 95871.1StvIFS=" $as_nl" 95881.1Stv 95891.1Stv# CDPATH. 95901.53Sdogcow$as_unset CDPATH 95911.1Stv 95921.1Stvexec 6>&1 95931.1Stv 95941.53Sdogcow# Open the log real soon, to keep \$[0] and so on meaningful, and to 95951.53Sdogcow# report actual input values of CONFIG_FILES etc. instead of their 95961.53Sdogcow# values after options handling. Logging --version etc. is OK. 95971.53Sdogcowexec 5>>config.log 95981.53Sdogcow{ 95991.53Sdogcow echo 96001.53Sdogcow sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 96011.53Sdogcow## Running $as_me. ## 96021.53Sdogcow_ASBOX 96031.53Sdogcow} >&5 96041.53Sdogcowcat >&5 <<_CSEOF 96051.53Sdogcow 96061.53SdogcowThis file was extended by libnbcompat $as_me noversion, which was 96071.53Sdogcowgenerated by GNU Autoconf 2.59. Invocation command line was 96081.53Sdogcow 96091.53Sdogcow CONFIG_FILES = $CONFIG_FILES 96101.53Sdogcow CONFIG_HEADERS = $CONFIG_HEADERS 96111.53Sdogcow CONFIG_LINKS = $CONFIG_LINKS 96121.53Sdogcow CONFIG_COMMANDS = $CONFIG_COMMANDS 96131.53Sdogcow $ $0 $@ 96141.53Sdogcow 96151.53Sdogcow_CSEOF 96161.53Sdogcowecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 96171.53Sdogcowecho >&5 96181.1Stv_ACEOF 96191.1Stv 96201.1Stv# Files that config.status was made for. 96211.1Stvif test -n "$ac_config_files"; then 96221.1Stv echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 96231.1Stvfi 96241.1Stv 96251.1Stvif test -n "$ac_config_headers"; then 96261.1Stv echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 96271.1Stvfi 96281.1Stv 96291.1Stvif test -n "$ac_config_links"; then 96301.1Stv echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 96311.1Stvfi 96321.1Stv 96331.1Stvif test -n "$ac_config_commands"; then 96341.1Stv echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 96351.1Stvfi 96361.1Stv 96371.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 96381.1Stv 96391.1Stvac_cs_usage="\ 96401.1Stv\`$as_me' instantiates files from templates according to the 96411.1Stvcurrent configuration. 96421.1Stv 96431.1StvUsage: $0 [OPTIONS] [FILE]... 96441.1Stv 96451.1Stv -h, --help print this help, then exit 96461.1Stv -V, --version print version number, then exit 96471.53Sdogcow -q, --quiet do not print progress messages 96481.1Stv -d, --debug don't remove temporary files 96491.1Stv --recheck update $as_me by reconfiguring in the same conditions 96501.1Stv --file=FILE[:TEMPLATE] 96511.53Sdogcow instantiate the configuration file FILE 96521.1Stv --header=FILE[:TEMPLATE] 96531.53Sdogcow instantiate the configuration header FILE 96541.1Stv 96551.1StvConfiguration files: 96561.1Stv$config_files 96571.1Stv 96581.1StvConfiguration headers: 96591.1Stv$config_headers 96601.1Stv 96611.1StvReport bugs to <bug-autoconf@gnu.org>." 96621.53Sdogcow_ACEOF 96631.1Stv 96641.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 96651.1Stvac_cs_version="\\ 96661.1Stvlibnbcompat config.status noversion 96671.53Sdogcowconfigured by $0, generated by GNU Autoconf 2.59, 96681.1Stv with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 96691.1Stv 96701.53SdogcowCopyright (C) 2003 Free Software Foundation, Inc. 96711.1StvThis config.status script is free software; the Free Software Foundation 96721.1Stvgives unlimited permission to copy, distribute and modify it." 96731.1Stvsrcdir=$srcdir 96741.53Sdogcow_ACEOF 96751.1Stv 96761.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 96771.1Stv# If no file are specified by the user, then we need to provide default 96781.1Stv# value. By we need to know if files were specified by the user. 96791.1Stvac_need_defaults=: 96801.1Stvwhile test $# != 0 96811.1Stvdo 96821.1Stv case $1 in 96831.1Stv --*=*) 96841.1Stv ac_option=`expr "x$1" : 'x\([^=]*\)='` 96851.1Stv ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 96861.53Sdogcow ac_shift=: 96871.53Sdogcow ;; 96881.53Sdogcow -*) 96891.53Sdogcow ac_option=$1 96901.53Sdogcow ac_optarg=$2 96911.53Sdogcow ac_shift=shift 96921.1Stv ;; 96931.1Stv *) # This is not an option, so the user has probably given explicit 96941.1Stv # arguments. 96951.53Sdogcow ac_option=$1 96961.1Stv ac_need_defaults=false;; 96971.1Stv esac 96981.1Stv 96991.53Sdogcow case $ac_option in 97001.1Stv # Handling of the options. 97011.53Sdogcow_ACEOF 97021.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 97031.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 97041.53Sdogcow ac_cs_recheck=: ;; 97051.1Stv --version | --vers* | -V ) 97061.1Stv echo "$ac_cs_version"; exit 0 ;; 97071.1Stv --he | --h) 97081.1Stv # Conflict between --help and --header 97091.53Sdogcow { { echo "$as_me:$LINENO: error: ambiguous option: $1 97101.1StvTry \`$0 --help' for more information." >&5 97111.1Stvecho "$as_me: error: ambiguous option: $1 97121.1StvTry \`$0 --help' for more information." >&2;} 97131.1Stv { (exit 1); exit 1; }; };; 97141.1Stv --help | --hel | -h ) 97151.1Stv echo "$ac_cs_usage"; exit 0 ;; 97161.1Stv --debug | --d* | -d ) 97171.1Stv debug=: ;; 97181.1Stv --file | --fil | --fi | --f ) 97191.53Sdogcow $ac_shift 97201.53Sdogcow CONFIG_FILES="$CONFIG_FILES $ac_optarg" 97211.1Stv ac_need_defaults=false;; 97221.1Stv --header | --heade | --head | --hea ) 97231.53Sdogcow $ac_shift 97241.53Sdogcow CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 97251.1Stv ac_need_defaults=false;; 97261.53Sdogcow -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 97271.53Sdogcow | -silent | --silent | --silen | --sile | --sil | --si | --s) 97281.53Sdogcow ac_cs_silent=: ;; 97291.1Stv 97301.1Stv # This is an error. 97311.53Sdogcow -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 97321.1StvTry \`$0 --help' for more information." >&5 97331.1Stvecho "$as_me: error: unrecognized option: $1 97341.1StvTry \`$0 --help' for more information." >&2;} 97351.1Stv { (exit 1); exit 1; }; } ;; 97361.1Stv 97371.1Stv *) ac_config_targets="$ac_config_targets $1" ;; 97381.1Stv 97391.1Stv esac 97401.1Stv shift 97411.1Stvdone 97421.1Stv 97431.53Sdogcowac_configure_extra_args= 97441.1Stv 97451.53Sdogcowif $ac_cs_silent; then 97461.53Sdogcow exec 6>/dev/null 97471.53Sdogcow ac_configure_extra_args="$ac_configure_extra_args --silent" 97481.53Sdogcowfi 97491.1Stv 97501.53Sdogcow_ACEOF 97511.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 97521.53Sdogcowif \$ac_cs_recheck; then 97531.53Sdogcow echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 97541.53Sdogcow exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 97551.53Sdogcowfi 97561.1Stv 97571.1Stv_ACEOF 97581.1Stv 97591.53Sdogcow 97601.53Sdogcow 97611.53Sdogcow 97621.53Sdogcow 97631.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 97641.1Stvfor ac_config_target in $ac_config_targets 97651.1Stvdo 97661.1Stv case "$ac_config_target" in 97671.1Stv # Handling of arguments. 97681.1Stv "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 97691.57Swiz "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; 97701.53Sdogcow *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 97711.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 97721.1Stv { (exit 1); exit 1; }; };; 97731.1Stv esac 97741.1Stvdone 97751.1Stv 97761.1Stv# If the user did not use the arguments to specify the items to instantiate, 97771.1Stv# then the envvar interface is used. Set only those that are not. 97781.1Stv# We use the long form for the default assignment because of an extremely 97791.1Stv# bizarre bug on SunOS 4.1.3. 97801.1Stvif $ac_need_defaults; then 97811.1Stv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 97821.1Stv test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 97831.1Stvfi 97841.1Stv 97851.53Sdogcow# Have a temporary directory for convenience. Make it in the build tree 97861.53Sdogcow# simply because there is no reason to put it here, and in addition, 97871.53Sdogcow# creating and moving files from /tmp can sometimes cause problems. 97881.1Stv# Create a temporary directory, and hook for its removal unless debugging. 97891.1Stv$debug || 97901.1Stv{ 97911.1Stv trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 97921.1Stv trap '{ (exit 1); exit 1; }' 1 2 13 15 97931.1Stv} 97941.1Stv 97951.1Stv# Create a (secure) tmp directory for tmp files. 97961.53Sdogcow 97971.1Stv{ 97981.53Sdogcow tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 97991.1Stv test -n "$tmp" && test -d "$tmp" 98001.1Stv} || 98011.1Stv{ 98021.53Sdogcow tmp=./confstat$$-$RANDOM 98031.1Stv (umask 077 && mkdir $tmp) 98041.1Stv} || 98051.1Stv{ 98061.53Sdogcow echo "$me: cannot create a temporary directory in ." >&2 98071.1Stv { (exit 1); exit 1; } 98081.1Stv} 98091.1Stv 98101.53Sdogcow_ACEOF 98111.1Stv 98121.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 98131.1Stv 98141.1Stv# 98151.1Stv# CONFIG_FILES section. 98161.1Stv# 98171.1Stv 98181.1Stv# No need to generate the scripts if there are no CONFIG_FILES. 98191.1Stv# This happens for instance when ./config.status config.h 98201.1Stvif test -n "\$CONFIG_FILES"; then 98211.1Stv # Protect against being on the right side of a sed subst in config.status. 98221.1Stv sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 98231.1Stv s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 98241.1Stvs,@SHELL@,$SHELL,;t t 98251.53Sdogcows,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 98261.53Sdogcows,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 98271.53Sdogcows,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 98281.53Sdogcows,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 98291.53Sdogcows,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 98301.53Sdogcows,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 98311.1Stvs,@exec_prefix@,$exec_prefix,;t t 98321.1Stvs,@prefix@,$prefix,;t t 98331.1Stvs,@program_transform_name@,$program_transform_name,;t t 98341.1Stvs,@bindir@,$bindir,;t t 98351.1Stvs,@sbindir@,$sbindir,;t t 98361.1Stvs,@libexecdir@,$libexecdir,;t t 98371.1Stvs,@datadir@,$datadir,;t t 98381.1Stvs,@sysconfdir@,$sysconfdir,;t t 98391.1Stvs,@sharedstatedir@,$sharedstatedir,;t t 98401.1Stvs,@localstatedir@,$localstatedir,;t t 98411.1Stvs,@libdir@,$libdir,;t t 98421.1Stvs,@includedir@,$includedir,;t t 98431.1Stvs,@oldincludedir@,$oldincludedir,;t t 98441.1Stvs,@infodir@,$infodir,;t t 98451.1Stvs,@mandir@,$mandir,;t t 98461.1Stvs,@build_alias@,$build_alias,;t t 98471.1Stvs,@host_alias@,$host_alias,;t t 98481.1Stvs,@target_alias@,$target_alias,;t t 98491.53Sdogcows,@DEFS@,$DEFS,;t t 98501.1Stvs,@ECHO_C@,$ECHO_C,;t t 98511.1Stvs,@ECHO_N@,$ECHO_N,;t t 98521.1Stvs,@ECHO_T@,$ECHO_T,;t t 98531.1Stvs,@LIBS@,$LIBS,;t t 98541.1Stvs,@CC@,$CC,;t t 98551.1Stvs,@CFLAGS@,$CFLAGS,;t t 98561.1Stvs,@LDFLAGS@,$LDFLAGS,;t t 98571.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t 98581.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t 98591.1Stvs,@EXEEXT@,$EXEEXT,;t t 98601.1Stvs,@OBJEXT@,$OBJEXT,;t t 98611.1Stvs,@CPP@,$CPP,;t t 98621.53Sdogcows,@EGREP@,$EGREP,;t t 98631.45Sjmcs,@BSHELL@,$BSHELL,;t t 98641.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t 98651.53Sdogcows,@LIBOBJS@,$LIBOBJS,;t t 98661.53Sdogcows,@LTLIBOBJS@,$LTLIBOBJS,;t t 98671.1StvCEOF 98681.1Stv 98691.53Sdogcow_ACEOF 98701.1Stv 98711.53Sdogcow cat >>$CONFIG_STATUS <<\_ACEOF 98721.1Stv # Split the substitutions into bite-sized pieces for seds with 98731.1Stv # small command number limits, like on Digital OSF/1 and HP-UX. 98741.1Stv ac_max_sed_lines=48 98751.1Stv ac_sed_frag=1 # Number of current file. 98761.1Stv ac_beg=1 # First line for current file. 98771.1Stv ac_end=$ac_max_sed_lines # Line after last line for current file. 98781.1Stv ac_more_lines=: 98791.1Stv ac_sed_cmds= 98801.1Stv while $ac_more_lines; do 98811.1Stv if test $ac_beg -gt 1; then 98821.1Stv sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 98831.1Stv else 98841.1Stv sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 98851.1Stv fi 98861.1Stv if test ! -s $tmp/subs.frag; then 98871.1Stv ac_more_lines=false 98881.1Stv else 98891.1Stv # The purpose of the label and of the branching condition is to 98901.1Stv # speed up the sed processing (if there are no `@' at all, there 98911.1Stv # is no need to browse any of the substitutions). 98921.1Stv # These are the two extra sed commands mentioned above. 98931.1Stv (echo ':t 98941.1Stv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 98951.1Stv if test -z "$ac_sed_cmds"; then 98961.53Sdogcow ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 98971.1Stv else 98981.53Sdogcow ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 98991.1Stv fi 99001.1Stv ac_sed_frag=`expr $ac_sed_frag + 1` 99011.1Stv ac_beg=$ac_end 99021.1Stv ac_end=`expr $ac_end + $ac_max_sed_lines` 99031.1Stv fi 99041.1Stv done 99051.1Stv if test -z "$ac_sed_cmds"; then 99061.1Stv ac_sed_cmds=cat 99071.1Stv fi 99081.1Stvfi # test -n "$CONFIG_FILES" 99091.1Stv 99101.53Sdogcow_ACEOF 99111.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 99121.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 99131.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 99141.1Stv case $ac_file in 99151.1Stv - | *:- | *:-:* ) # input from stdin 99161.53Sdogcow cat >$tmp/stdin 99171.53Sdogcow ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 99181.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 99191.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 99201.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 99211.1Stv * ) ac_file_in=$ac_file.in ;; 99221.1Stv esac 99231.1Stv 99241.1Stv # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 99251.53Sdogcow ac_dir=`(dirname "$ac_file") 2>/dev/null || 99261.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 99271.53Sdogcow X"$ac_file" : 'X\(//\)[^/]' \| \ 99281.53Sdogcow X"$ac_file" : 'X\(//\)$' \| \ 99291.53Sdogcow X"$ac_file" : 'X\(/\)' \| \ 99301.53Sdogcow . : '\(.\)' 2>/dev/null || 99311.1Stvecho X"$ac_file" | 99321.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 99331.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 99341.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 99351.1Stv /^X\(\/\).*/{ s//\1/; q; } 99361.1Stv s/.*/./; q'` 99371.53Sdogcow { if $as_mkdir_p; then 99381.53Sdogcow mkdir -p "$ac_dir" 99391.53Sdogcow else 99401.53Sdogcow as_dir="$ac_dir" 99411.53Sdogcow as_dirs= 99421.53Sdogcow while test ! -d "$as_dir"; do 99431.53Sdogcow as_dirs="$as_dir $as_dirs" 99441.53Sdogcow as_dir=`(dirname "$as_dir") 2>/dev/null || 99451.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 99461.53Sdogcow X"$as_dir" : 'X\(//\)[^/]' \| \ 99471.53Sdogcow X"$as_dir" : 'X\(//\)$' \| \ 99481.53Sdogcow X"$as_dir" : 'X\(/\)' \| \ 99491.53Sdogcow . : '\(.\)' 2>/dev/null || 99501.53Sdogcowecho X"$as_dir" | 99511.53Sdogcow sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 99521.53Sdogcow /^X\(\/\/\)[^/].*/{ s//\1/; q; } 99531.53Sdogcow /^X\(\/\/\)$/{ s//\1/; q; } 99541.53Sdogcow /^X\(\/\).*/{ s//\1/; q; } 99551.53Sdogcow s/.*/./; q'` 99561.53Sdogcow done 99571.53Sdogcow test ! -n "$as_dirs" || mkdir $as_dirs 99581.53Sdogcow fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 99591.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 99601.53Sdogcow { (exit 1); exit 1; }; }; } 99611.53Sdogcow 99621.53Sdogcow ac_builddir=. 99631.53Sdogcow 99641.53Sdogcowif test "$ac_dir" != .; then 99651.53Sdogcow ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 99661.53Sdogcow # A "../" for each directory in $ac_dir_suffix. 99671.53Sdogcow ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 99681.53Sdogcowelse 99691.53Sdogcow ac_dir_suffix= ac_top_builddir= 99701.53Sdogcowfi 99711.53Sdogcow 99721.53Sdogcowcase $srcdir in 99731.53Sdogcow .) # No --srcdir option. We are building in place. 99741.53Sdogcow ac_srcdir=. 99751.53Sdogcow if test -z "$ac_top_builddir"; then 99761.53Sdogcow ac_top_srcdir=. 99771.53Sdogcow else 99781.53Sdogcow ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 99791.53Sdogcow fi ;; 99801.53Sdogcow [\\/]* | ?:[\\/]* ) # Absolute path. 99811.53Sdogcow ac_srcdir=$srcdir$ac_dir_suffix; 99821.53Sdogcow ac_top_srcdir=$srcdir ;; 99831.53Sdogcow *) # Relative path. 99841.53Sdogcow ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 99851.53Sdogcow ac_top_srcdir=$ac_top_builddir$srcdir ;; 99861.53Sdogcowesac 99871.53Sdogcow 99881.53Sdogcow# Do not use `cd foo && pwd` to compute absolute paths, because 99891.53Sdogcow# the directories may not exist. 99901.53Sdogcowcase `pwd` in 99911.53Sdogcow.) ac_abs_builddir="$ac_dir";; 99921.53Sdogcow*) 99931.53Sdogcow case "$ac_dir" in 99941.53Sdogcow .) ac_abs_builddir=`pwd`;; 99951.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 99961.53Sdogcow *) ac_abs_builddir=`pwd`/"$ac_dir";; 99971.53Sdogcow esac;; 99981.53Sdogcowesac 99991.53Sdogcowcase $ac_abs_builddir in 100001.53Sdogcow.) ac_abs_top_builddir=${ac_top_builddir}.;; 100011.53Sdogcow*) 100021.53Sdogcow case ${ac_top_builddir}. in 100031.53Sdogcow .) ac_abs_top_builddir=$ac_abs_builddir;; 100041.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 100051.53Sdogcow *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 100061.53Sdogcow esac;; 100071.53Sdogcowesac 100081.53Sdogcowcase $ac_abs_builddir in 100091.53Sdogcow.) ac_abs_srcdir=$ac_srcdir;; 100101.53Sdogcow*) 100111.53Sdogcow case $ac_srcdir in 100121.53Sdogcow .) ac_abs_srcdir=$ac_abs_builddir;; 100131.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 100141.53Sdogcow *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 100151.53Sdogcow esac;; 100161.53Sdogcowesac 100171.53Sdogcowcase $ac_abs_builddir in 100181.53Sdogcow.) ac_abs_top_srcdir=$ac_top_srcdir;; 100191.53Sdogcow*) 100201.53Sdogcow case $ac_top_srcdir in 100211.53Sdogcow .) ac_abs_top_srcdir=$ac_abs_builddir;; 100221.53Sdogcow [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 100231.53Sdogcow *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 100241.53Sdogcow esac;; 100251.50Sjmcesac 100261.1Stv 100271.1Stv 100281.1Stv 100291.1Stv if test x"$ac_file" != x-; then 100301.53Sdogcow { echo "$as_me:$LINENO: creating $ac_file" >&5 100311.1Stvecho "$as_me: creating $ac_file" >&6;} 100321.1Stv rm -f "$ac_file" 100331.1Stv fi 100341.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 100351.1Stv # use $as_me), people would be surprised to read: 100361.53Sdogcow # /* config.h. Generated by config.status. */ 100371.53Sdogcow if test x"$ac_file" = x-; then 100381.53Sdogcow configure_input= 100391.53Sdogcow else 100401.53Sdogcow configure_input="$ac_file. " 100411.53Sdogcow fi 100421.53Sdogcow configure_input=$configure_input"Generated from `echo $ac_file_in | 100431.53Sdogcow sed 's,.*/,,'` by configure." 100441.1Stv 100451.1Stv # First look for the input files in the build tree, otherwise in the 100461.1Stv # src tree. 100471.1Stv ac_file_inputs=`IFS=: 100481.1Stv for f in $ac_file_in; do 100491.1Stv case $f in 100501.1Stv -) echo $tmp/stdin ;; 100511.1Stv [\\/$]*) 100521.53Sdogcow # Absolute (can't be DOS-style, as IFS=:) 100531.53Sdogcow test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 100541.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 100551.1Stv { (exit 1); exit 1; }; } 100561.53Sdogcow echo "$f";; 100571.1Stv *) # Relative 100581.53Sdogcow if test -f "$f"; then 100591.53Sdogcow # Build tree 100601.53Sdogcow echo "$f" 100611.53Sdogcow elif test -f "$srcdir/$f"; then 100621.53Sdogcow # Source tree 100631.53Sdogcow echo "$srcdir/$f" 100641.53Sdogcow else 100651.53Sdogcow # /dev/null tree 100661.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 100671.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 100681.1Stv { (exit 1); exit 1; }; } 100691.53Sdogcow fi;; 100701.1Stv esac 100711.1Stv done` || { (exit 1); exit 1; } 100721.53Sdogcow_ACEOF 100731.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF 100741.1Stv sed "$ac_vpsub 100751.1Stv$extrasub 100761.53Sdogcow_ACEOF 100771.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 100781.1Stv:t 100791.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 100801.1Stvs,@configure_input@,$configure_input,;t t 100811.1Stvs,@srcdir@,$ac_srcdir,;t t 100821.53Sdogcows,@abs_srcdir@,$ac_abs_srcdir,;t t 100831.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t 100841.53Sdogcows,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 100851.53Sdogcows,@builddir@,$ac_builddir,;t t 100861.53Sdogcows,@abs_builddir@,$ac_abs_builddir,;t t 100871.53Sdogcows,@top_builddir@,$ac_top_builddir,;t t 100881.53Sdogcows,@abs_top_builddir@,$ac_abs_top_builddir,;t t 100891.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 100901.1Stv rm -f $tmp/stdin 100911.1Stv if test x"$ac_file" != x-; then 100921.1Stv mv $tmp/out $ac_file 100931.1Stv else 100941.1Stv cat $tmp/out 100951.1Stv rm -f $tmp/out 100961.1Stv fi 100971.1Stv 100981.1Stvdone 100991.53Sdogcow_ACEOF 101001.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 101011.1Stv 101021.1Stv# 101031.1Stv# CONFIG_HEADER section. 101041.1Stv# 101051.1Stv 101061.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 101071.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given. 101081.1Stv# 101091.1Stv# ac_d sets the value in "#define NAME VALUE" lines. 101101.53Sdogcowac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 101111.53Sdogcowac_dB='[ ].*$,\1#\2' 101121.1Stvac_dC=' ' 101131.1Stvac_dD=',;t' 101141.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 101151.53Sdogcowac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 101161.1Stvac_uB='$,\1#\2define\3' 101171.1Stvac_uC=' ' 101181.1Stvac_uD=',;t' 101191.1Stv 101201.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 101211.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 101221.1Stv case $ac_file in 101231.1Stv - | *:- | *:-:* ) # input from stdin 101241.53Sdogcow cat >$tmp/stdin 101251.53Sdogcow ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 101261.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 101271.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 101281.53Sdogcow ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 101291.1Stv * ) ac_file_in=$ac_file.in ;; 101301.1Stv esac 101311.1Stv 101321.53Sdogcow test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 101331.1Stvecho "$as_me: creating $ac_file" >&6;} 101341.1Stv 101351.1Stv # First look for the input files in the build tree, otherwise in the 101361.1Stv # src tree. 101371.1Stv ac_file_inputs=`IFS=: 101381.1Stv for f in $ac_file_in; do 101391.1Stv case $f in 101401.1Stv -) echo $tmp/stdin ;; 101411.1Stv [\\/$]*) 101421.53Sdogcow # Absolute (can't be DOS-style, as IFS=:) 101431.53Sdogcow test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101441.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101451.1Stv { (exit 1); exit 1; }; } 101461.53Sdogcow # Do quote $f, to prevent DOS paths from being IFS'd. 101471.53Sdogcow echo "$f";; 101481.1Stv *) # Relative 101491.53Sdogcow if test -f "$f"; then 101501.53Sdogcow # Build tree 101511.53Sdogcow echo "$f" 101521.53Sdogcow elif test -f "$srcdir/$f"; then 101531.53Sdogcow # Source tree 101541.53Sdogcow echo "$srcdir/$f" 101551.53Sdogcow else 101561.53Sdogcow # /dev/null tree 101571.53Sdogcow { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101581.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101591.1Stv { (exit 1); exit 1; }; } 101601.53Sdogcow fi;; 101611.1Stv esac 101621.1Stv done` || { (exit 1); exit 1; } 101631.1Stv # Remove the trailing spaces. 101641.53Sdogcow sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 101651.1Stv 101661.53Sdogcow_ACEOF 101671.1Stv 101681.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and 101691.1Stv# `conftest.undefs', that substitutes the proper values into 101701.1Stv# config.h.in to produce config.h. The first handles `#define' 101711.1Stv# templates, and the second `#undef' templates. 101721.1Stv# And first: Protect against being on the right side of a sed subst in 101731.1Stv# config.status. Protect against being in an unquoted here document 101741.1Stv# in config.status. 101751.1Stvrm -f conftest.defines conftest.undefs 101761.1Stv# Using a here document instead of a string reduces the quoting nightmare. 101771.1Stv# Putting comments in sed scripts is not portable. 101781.1Stv# 101791.1Stv# `end' is used to avoid that the second main sed command (meant for 101801.1Stv# 0-ary CPP macros) applies to n-ary macro definitions. 101811.1Stv# See the Autoconf documentation for `clear'. 101821.53Sdogcowcat >confdef2sed.sed <<\_ACEOF 101831.1Stvs/[\\&,]/\\&/g 101841.1Stvs,[\\$`],\\&,g 101851.1Stvt clear 101861.1Stv: clear 101871.53Sdogcows,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 101881.1Stvt end 101891.53Sdogcows,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 101901.1Stv: end 101911.53Sdogcow_ACEOF 101921.1Stv# If some macros were called several times there might be several times 101931.1Stv# the same #defines, which is useless. Nevertheless, we may not want to 101941.1Stv# sort them, since we want the *last* AC-DEFINE to be honored. 101951.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 101961.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 101971.1Stvrm -f confdef2sed.sed 101981.1Stv 101991.1Stv# This sed command replaces #undef with comments. This is necessary, for 102001.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required 102011.1Stv# on some systems where configure will not decide to define it. 102021.53Sdogcowcat >>conftest.undefs <<\_ACEOF 102031.53Sdogcows,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 102041.53Sdogcow_ACEOF 102051.1Stv 102061.1Stv# Break up conftest.defines because some shells have a limit on the size 102071.1Stv# of here documents, and old seds have small limits too (100 cmds). 102081.1Stvecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 102091.53Sdogcowecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 102101.1Stvecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 102111.1Stvecho ' :' >>$CONFIG_STATUS 102121.1Stvrm -f conftest.tail 102131.1Stvwhile grep . conftest.defines >/dev/null 102141.1Stvdo 102151.1Stv # Write a limited-size here document to $tmp/defines.sed. 102161.1Stv echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 102171.1Stv # Speed up: don't consider the non `#define' lines. 102181.53Sdogcow echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 102191.1Stv # Work around the forget-to-reset-the-flag bug. 102201.1Stv echo 't clr' >>$CONFIG_STATUS 102211.1Stv echo ': clr' >>$CONFIG_STATUS 102221.1Stv sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 102231.1Stv echo 'CEOF 102241.1Stv sed -f $tmp/defines.sed $tmp/in >$tmp/out 102251.1Stv rm -f $tmp/in 102261.1Stv mv $tmp/out $tmp/in 102271.1Stv' >>$CONFIG_STATUS 102281.1Stv sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 102291.1Stv rm -f conftest.defines 102301.1Stv mv conftest.tail conftest.defines 102311.1Stvdone 102321.1Stvrm -f conftest.defines 102331.53Sdogcowecho ' fi # grep' >>$CONFIG_STATUS 102341.1Stvecho >>$CONFIG_STATUS 102351.1Stv 102361.1Stv# Break up conftest.undefs because some shells have a limit on the size 102371.1Stv# of here documents, and old seds have small limits too (100 cmds). 102381.1Stvecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 102391.1Stvrm -f conftest.tail 102401.1Stvwhile grep . conftest.undefs >/dev/null 102411.1Stvdo 102421.1Stv # Write a limited-size here document to $tmp/undefs.sed. 102431.1Stv echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 102441.1Stv # Speed up: don't consider the non `#undef' 102451.53Sdogcow echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 102461.1Stv # Work around the forget-to-reset-the-flag bug. 102471.1Stv echo 't clr' >>$CONFIG_STATUS 102481.1Stv echo ': clr' >>$CONFIG_STATUS 102491.1Stv sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 102501.1Stv echo 'CEOF 102511.1Stv sed -f $tmp/undefs.sed $tmp/in >$tmp/out 102521.1Stv rm -f $tmp/in 102531.1Stv mv $tmp/out $tmp/in 102541.1Stv' >>$CONFIG_STATUS 102551.1Stv sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 102561.1Stv rm -f conftest.undefs 102571.1Stv mv conftest.tail conftest.undefs 102581.1Stvdone 102591.1Stvrm -f conftest.undefs 102601.1Stv 102611.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 102621.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 102631.1Stv # use $as_me), people would be surprised to read: 102641.53Sdogcow # /* config.h. Generated by config.status. */ 102651.1Stv if test x"$ac_file" = x-; then 102661.53Sdogcow echo "/* Generated by configure. */" >$tmp/config.h 102671.1Stv else 102681.53Sdogcow echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 102691.1Stv fi 102701.1Stv cat $tmp/in >>$tmp/config.h 102711.1Stv rm -f $tmp/in 102721.1Stv if test x"$ac_file" != x-; then 102731.53Sdogcow if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 102741.53Sdogcow { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 102751.1Stvecho "$as_me: $ac_file is unchanged" >&6;} 102761.1Stv else 102771.53Sdogcow ac_dir=`(dirname "$ac_file") 2>/dev/null || 102781.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 102791.53Sdogcow X"$ac_file" : 'X\(//\)[^/]' \| \ 102801.53Sdogcow X"$ac_file" : 'X\(//\)$' \| \ 102811.53Sdogcow X"$ac_file" : 'X\(/\)' \| \ 102821.53Sdogcow . : '\(.\)' 2>/dev/null || 102831.1Stvecho X"$ac_file" | 102841.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 102851.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 102861.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 102871.1Stv /^X\(\/\).*/{ s//\1/; q; } 102881.1Stv s/.*/./; q'` 102891.53Sdogcow { if $as_mkdir_p; then 102901.53Sdogcow mkdir -p "$ac_dir" 102911.53Sdogcow else 102921.53Sdogcow as_dir="$ac_dir" 102931.53Sdogcow as_dirs= 102941.53Sdogcow while test ! -d "$as_dir"; do 102951.53Sdogcow as_dirs="$as_dir $as_dirs" 102961.53Sdogcow as_dir=`(dirname "$as_dir") 2>/dev/null || 102971.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 102981.53Sdogcow X"$as_dir" : 'X\(//\)[^/]' \| \ 102991.53Sdogcow X"$as_dir" : 'X\(//\)$' \| \ 103001.53Sdogcow X"$as_dir" : 'X\(/\)' \| \ 103011.53Sdogcow . : '\(.\)' 2>/dev/null || 103021.53Sdogcowecho X"$as_dir" | 103031.53Sdogcow sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 103041.53Sdogcow /^X\(\/\/\)[^/].*/{ s//\1/; q; } 103051.53Sdogcow /^X\(\/\/\)$/{ s//\1/; q; } 103061.53Sdogcow /^X\(\/\).*/{ s//\1/; q; } 103071.53Sdogcow s/.*/./; q'` 103081.53Sdogcow done 103091.53Sdogcow test ! -n "$as_dirs" || mkdir $as_dirs 103101.53Sdogcow fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 103111.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 103121.53Sdogcow { (exit 1); exit 1; }; }; } 103131.1Stv 103141.1Stv rm -f $ac_file 103151.1Stv mv $tmp/config.h $ac_file 103161.1Stv fi 103171.1Stv else 103181.1Stv cat $tmp/config.h 103191.1Stv rm -f $tmp/config.h 103201.1Stv fi 103211.1Stvdone 103221.53Sdogcow_ACEOF 103231.1Stv 103241.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF 103251.1Stv 103261.1Stv{ (exit 0); exit 0; } 103271.53Sdogcow_ACEOF 103281.1Stvchmod +x $CONFIG_STATUS 103291.1Stvac_clean_files=$ac_clean_files_save 103301.1Stv 103311.53Sdogcow 103321.1Stv# configure is writing to config.log, and then calls config.status. 103331.1Stv# config.status does its own redirection, appending to config.log. 103341.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 103351.1Stv# by configure, so config.status won't be able to write to it; its 103361.1Stv# output is simply discarded. So we exec the FD to /dev/null, 103371.1Stv# effectively closing config.log, so it can be properly (re)opened and 103381.1Stv# appended to by config.status. When coming back to configure, we 103391.1Stv# need to make the FD available again. 103401.1Stvif test "$no_create" != yes; then 103411.1Stv ac_cs_success=: 103421.53Sdogcow ac_config_status_args= 103431.53Sdogcow test "$silent" = yes && 103441.53Sdogcow ac_config_status_args="$ac_config_status_args --quiet" 103451.1Stv exec 5>/dev/null 103461.53Sdogcow $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 103471.1Stv exec 5>>config.log 103481.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 103491.1Stv # would make configure fail if this is the last instruction. 103501.1Stv $ac_cs_success || { (exit 1); exit 1; } 103511.1Stvfi 103521.1Stv 10353