configure revision 1.61
11.1Stv#! /bin/sh 21.1Stv# Guess values for system-dependent variables and create Makefiles. 31.61Schristos# Generated by GNU Autoconf 2.59 for libnbcompat noversion. 41.1Stv# 51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>. 61.1Stv# 71.61Schristos# 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.61Schristos## --------------------- ## 111.61Schristos## M4sh Initialization. ## 121.61Schristos## --------------------- ## 131.1Stv 141.61Schristos# Be Bourne compatible 151.61Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 161.61Schristos emulate sh 171.61Schristos NULLCMD=: 181.61Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 191.61Schristos # is contrary to our usage. Disable this feature. 201.61Schristos alias -g '${1+"$@"}'='"$@"' 211.61Schristoselif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 221.61Schristos set -o posix 231.61Schristosfi 241.61SchristosDUALCASE=1; export DUALCASE # for MKS sh 251.61Schristos 261.61Schristos# Support unset when possible. 271.61Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 281.61Schristos as_unset=unset 291.61Schristoselse 301.61Schristos as_unset=false 311.61Schristosfi 321.61Schristos 331.61Schristos 341.61Schristos# Work around bugs in pre-3.0 UWIN ksh. 351.61Schristos$as_unset ENV MAIL MAILPATH 361.61SchristosPS1='$ ' 371.61SchristosPS2='> ' 381.61SchristosPS4='+ ' 391.61Schristos 401.61Schristos# NLS nuisances. 411.61Schristosfor as_var in \ 421.61Schristos LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 431.61Schristos LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 441.61Schristos LC_TELEPHONE LC_TIME 451.61Schristosdo 461.61Schristos if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 471.61Schristos eval $as_var=C; export $as_var 481.61Schristos else 491.61Schristos $as_unset $as_var 501.61Schristos fi 511.61Schristosdone 521.61Schristos 531.61Schristos# Required to use basename. 541.61Schristosif expr a : '\(a\)' >/dev/null 2>&1; then 551.61Schristos as_expr=expr 561.61Schristoselse 571.61Schristos as_expr=false 581.61Schristosfi 591.61Schristos 601.61Schristosif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 611.61Schristos as_basename=basename 621.61Schristoselse 631.61Schristos as_basename=false 641.61Schristosfi 651.61Schristos 661.61Schristos 671.61Schristos# Name of the executable. 681.61Schristosas_me=`$as_basename "$0" || 691.61Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 701.61Schristos X"$0" : 'X\(//\)$' \| \ 711.61Schristos X"$0" : 'X\(/\)$' \| \ 721.61Schristos . : '\(.\)' 2>/dev/null || 731.61Schristosecho X/"$0" | 741.61Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 751.61Schristos /^X\/\(\/\/\)$/{ s//\1/; q; } 761.61Schristos /^X\/\(\/\).*/{ s//\1/; q; } 771.61Schristos s/.*/./; q'` 781.61Schristos 791.61Schristos 801.61Schristos# 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.61Schristos# The user is always right. 891.61Schristosif test "${PATH_SEPARATOR+set}" != set; then 901.61Schristos echo "#! /bin/sh" >conf$$.sh 911.61Schristos echo "exit 0" >>conf$$.sh 921.61Schristos chmod +x conf$$.sh 931.61Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 941.61Schristos PATH_SEPARATOR=';' 951.61Schristos else 961.61Schristos PATH_SEPARATOR=: 971.61Schristos fi 981.61Schristos rm -f conf$$.sh 991.61Schristosfi 1001.61Schristos 1011.61Schristos 1021.61Schristos as_lineno_1=$LINENO 1031.61Schristos as_lineno_2=$LINENO 1041.61Schristos as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1051.61Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 1061.61Schristos test "x$as_lineno_3" = "x$as_lineno_2" || { 1071.61Schristos # Find who we are. Look in the path if we contain no path at all 1081.61Schristos # relative or not. 1091.61Schristos case $0 in 1101.61Schristos *[\\/]* ) as_myself=$0 ;; 1111.61Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1121.61Schristosfor as_dir in $PATH 1131.61Schristosdo 1141.61Schristos IFS=$as_save_IFS 1151.61Schristos test -z "$as_dir" && as_dir=. 1161.61Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1171.61Schristosdone 1181.61Schristos 1191.61Schristos ;; 1201.61Schristos esac 1211.61Schristos # We did not find ourselves, most probably we were run as `sh COMMAND' 1221.61Schristos # in which case we are not to be found in the path. 1231.61Schristos if test "x$as_myself" = x; then 1241.61Schristos as_myself=$0 1251.61Schristos fi 1261.61Schristos if test ! -f "$as_myself"; then 1271.61Schristos { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 1281.61Schristos { (exit 1); exit 1; }; } 1291.61Schristos fi 1301.61Schristos case $CONFIG_SHELL in 1311.61Schristos '') 1321.61Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1331.61Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1341.61Schristosdo 1351.61Schristos IFS=$as_save_IFS 1361.61Schristos test -z "$as_dir" && as_dir=. 1371.61Schristos for as_base in sh bash ksh sh5; do 1381.61Schristos case $as_dir in 1391.61Schristos /*) 1401.61Schristos if ("$as_dir/$as_base" -c ' 1411.61Schristos as_lineno_1=$LINENO 1421.61Schristos as_lineno_2=$LINENO 1431.61Schristos as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1441.61Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 1451.61Schristos test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1461.61Schristos $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 1471.61Schristos $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 1481.61Schristos CONFIG_SHELL=$as_dir/$as_base 1491.61Schristos export CONFIG_SHELL 1501.61Schristos exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1511.61Schristos fi;; 1521.61Schristos esac 1531.61Schristos done 1541.61Schristosdone 1551.61Schristos;; 1561.61Schristos esac 1571.61Schristos 1581.61Schristos # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1591.61Schristos # uniformly replaced by the line number. The first 'sed' inserts a 1601.61Schristos # line-number line before each line; the second 'sed' does the real 1611.61Schristos # work. The second script uses 'N' to pair each line-number line 1621.61Schristos # with the numbered line, and appends trailing '-' during 1631.61Schristos # substitution so that $LINENO is not a special case at line end. 1641.61Schristos # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1651.61Schristos # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1661.61Schristos sed '=' <$as_myself | 1671.61Schristos sed ' 1681.61Schristos N 1691.61Schristos s,$,-, 1701.61Schristos : loop 1711.61Schristos s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1721.61Schristos t loop 1731.61Schristos s,-$,, 1741.61Schristos s,^['$as_cr_digits']*\n,, 1751.61Schristos ' >$as_me.lineno && 1761.61Schristos chmod +x $as_me.lineno || 1771.61Schristos { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 1781.61Schristos { (exit 1); exit 1; }; } 1791.53Sdogcow 1801.61Schristos # Don't try to exec as it changes $[0], causing all sort of problems 1811.61Schristos # (the dirname of $[0] is not the place where we might find the 1821.61Schristos # original and so on. Autoconf is especially sensible to this). 1831.61Schristos . ./$as_me.lineno 1841.61Schristos # Exit status is that of the last command. 1851.61Schristos exit 1861.61Schristos} 1871.53Sdogcow 1881.48Sjmc 1891.61Schristoscase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1901.61Schristos *c*,-n*) ECHO_N= ECHO_C=' 1911.61Schristos' ECHO_T=' ' ;; 1921.61Schristos *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1931.61Schristos *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1941.61Schristosesac 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.61Schristosif mkdir -p . 2>/dev/null; then 2211.61Schristos as_mkdir_p=: 2221.61Schristoselse 2231.61Schristos test -d ./-p && rmdir ./-p 2241.61Schristos as_mkdir_p=false 2251.61Schristosfi 2261.61Schristos 2271.60Sapbas_executable_p="test -f" 2281.60Sapb 2291.61Schristos# Sed expression to map a string onto a valid CPP name. 2301.61Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2311.61Schristos 2321.61Schristos# Sed expression to map a string onto a valid variable name. 2331.61Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2341.53Sdogcow 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.61Schristos$as_unset CDPATH 2441.61Schristos 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.61Schristosac_config_libobj_dir=. 2581.1Stvcross_compiling=no 2591.1Stvsubdirs= 2601.61SchristosMFLAGS= 2611.61SchristosMAKEFLAGS= 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.61Schristos# Identity of this package. 2701.61SchristosPACKAGE_NAME='libnbcompat' 2711.61SchristosPACKAGE_TARNAME='libnbcompat' 2721.61SchristosPACKAGE_VERSION='noversion' 2731.61SchristosPACKAGE_STRING='libnbcompat noversion' 2741.61SchristosPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org' 2751.61Schristos 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.61Schristosac_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.61Schristosac_subst_files='' 3151.61Schristos 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.61Schristos | --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.61Schristos *) { 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.61Schristos 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.61Schristos *) { 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.61Schristos# FIXME: To remove some day. 6851.1Stvbuild=$build_alias 6861.1Stvhost=$host_alias 6871.1Stvtarget=$target_alias 6881.1Stv 6891.61Schristos# 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.61Schristos 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.61Schristos ac_confdir=`(dirname "$0") 2>/dev/null || 7111.61Schristos$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7121.61Schristos X"$0" : 'X\(//\)[^/]' \| \ 7131.61Schristos X"$0" : 'X\(//\)$' \| \ 7141.61Schristos X"$0" : 'X\(/\)' \| \ 7151.61Schristos . : '\(.\)' 2>/dev/null || 7161.61Schristosecho X"$0" | 7171.61Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7181.61Schristos /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7191.61Schristos /^X\(\/\/\)$/{ s//\1/; q; } 7201.61Schristos /^X\(\/\).*/{ s//\1/; q; } 7211.61Schristos 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.61Schristos { 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.61Schristos { 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.61Schristos(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 7391.61Schristos { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 7401.61Schristos { (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.61Schristos 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.61Schristos_ACEOF 8031.1Stv 8041.61Schristos cat <<_ACEOF 8051.1StvInstallation directories: 8061.1Stv --prefix=PREFIX install architecture-independent files in PREFIX 8071.61Schristos [$ac_default_prefix] 8081.1Stv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 8091.61Schristos [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.61Schristos_ACEOF 8321.1Stv 8331.61Schristos cat <<\_ACEOF 8341.61Schristos_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.61Schristos 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.61Schristos_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.61Schristos for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 8631.61Schristos test -d $ac_dir || continue 8641.61Schristos ac_builddir=. 8651.61Schristos 8661.61Schristosif test "$ac_dir" != .; then 8671.61Schristos ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8681.61Schristos # A "../" for each directory in $ac_dir_suffix. 8691.61Schristos ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8701.61Schristoselse 8711.61Schristos ac_dir_suffix= ac_top_builddir= 8721.61Schristosfi 8731.61Schristos 8741.61Schristoscase $srcdir in 8751.61Schristos .) # No --srcdir option. We are building in place. 8761.61Schristos ac_srcdir=. 8771.61Schristos if test -z "$ac_top_builddir"; then 8781.61Schristos ac_top_srcdir=. 8791.61Schristos else 8801.61Schristos ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8811.61Schristos fi ;; 8821.61Schristos [\\/]* | ?:[\\/]* ) # Absolute path. 8831.61Schristos ac_srcdir=$srcdir$ac_dir_suffix; 8841.61Schristos ac_top_srcdir=$srcdir ;; 8851.61Schristos *) # Relative path. 8861.61Schristos ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8871.61Schristos ac_top_srcdir=$ac_top_builddir$srcdir ;; 8881.61Schristosesac 8891.61Schristos 8901.61Schristos# Do not use `cd foo && pwd` to compute absolute paths, because 8911.61Schristos# the directories may not exist. 8921.61Schristoscase `pwd` in 8931.61Schristos.) ac_abs_builddir="$ac_dir";; 8941.61Schristos*) 8951.61Schristos case "$ac_dir" in 8961.61Schristos .) ac_abs_builddir=`pwd`;; 8971.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8981.61Schristos *) ac_abs_builddir=`pwd`/"$ac_dir";; 8991.61Schristos esac;; 9001.61Schristosesac 9011.61Schristoscase $ac_abs_builddir in 9021.61Schristos.) ac_abs_top_builddir=${ac_top_builddir}.;; 9031.61Schristos*) 9041.61Schristos case ${ac_top_builddir}. in 9051.61Schristos .) ac_abs_top_builddir=$ac_abs_builddir;; 9061.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9071.61Schristos *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9081.61Schristos esac;; 9091.61Schristosesac 9101.61Schristoscase $ac_abs_builddir in 9111.61Schristos.) ac_abs_srcdir=$ac_srcdir;; 9121.61Schristos*) 9131.61Schristos case $ac_srcdir in 9141.61Schristos .) ac_abs_srcdir=$ac_abs_builddir;; 9151.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9161.61Schristos *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9171.61Schristos esac;; 9181.61Schristosesac 9191.61Schristoscase $ac_abs_builddir in 9201.61Schristos.) ac_abs_top_srcdir=$ac_top_srcdir;; 9211.61Schristos*) 9221.61Schristos case $ac_top_srcdir in 9231.61Schristos .) ac_abs_top_srcdir=$ac_abs_builddir;; 9241.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9251.61Schristos *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9261.61Schristos esac;; 9271.61Schristosesac 9281.1Stv 9291.61Schristos cd $ac_dir 9301.1Stv # Check for guested configure; otherwise get Cygnus style configure. 9311.61Schristos if test -f $ac_srcdir/configure.gnu; then 9321.1Stv echo 9331.61Schristos $SHELL $ac_srcdir/configure.gnu --help=recursive 9341.61Schristos elif test -f $ac_srcdir/configure; then 9351.1Stv echo 9361.61Schristos $SHELL $ac_srcdir/configure --help=recursive 9371.61Schristos elif test -f $ac_srcdir/configure.ac || 9381.61Schristos test -f $ac_srcdir/configure.in; then 9391.1Stv echo 9401.1Stv $ac_configure --help 9411.1Stv else 9421.61Schristos 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.61Schristos cat <<\_ACEOF 9511.1Stvlibnbcompat configure noversion 9521.61Schristosgenerated by GNU Autoconf 2.59 9531.1Stv 9541.61SchristosCopyright (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.61Schristos_ACEOF 9581.1Stv exit 0 9591.1Stvfi 9601.1Stvexec 5>config.log 9611.61Schristoscat >&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.61Schristosgenerated by GNU Autoconf 2.59. Invocation command line was 9671.1Stv 9681.1Stv $ $0 $@ 9691.1Stv 9701.61Schristos_ACEOF 9711.1Stv{ 9721.1Stvcat <<_ASUNAME 9731.61Schristos## --------- ## 9741.61Schristos## Platform. ## 9751.61Schristos## --------- ## 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.61Schristos_ASUNAME 9951.61Schristos 9961.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9971.61Schristosfor as_dir in $PATH 9981.61Schristosdo 9991.61Schristos IFS=$as_save_IFS 10001.61Schristos test -z "$as_dir" && as_dir=. 10011.61Schristos echo "PATH: $as_dir" 10021.61Schristosdone 10031.60Sapb 10041.1Stv} >&5 10051.1Stv 10061.61Schristoscat >&5 <<_ACEOF 10071.61Schristos 10081.61Schristos 10091.61Schristos## ----------- ## 10101.61Schristos## Core tests. ## 10111.61Schristos## ----------- ## 10121.61Schristos 10131.61Schristos_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.61Schristos# 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.61Schristos# Make two passes to allow for proper duplicate-argument suppression. 10211.1Stvac_configure_args= 10221.61Schristosac_configure_args0= 10231.61Schristosac_configure_args1= 10241.1Stvac_sep= 10251.61Schristosac_must_keep_next=false 10261.61Schristosfor ac_pass in 1 2 10271.1Stvdo 10281.61Schristos for ac_arg 10291.61Schristos do 10301.61Schristos case $ac_arg in 10311.61Schristos -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 10321.61Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10331.61Schristos | -silent | --silent | --silen | --sile | --sil) 10341.61Schristos continue ;; 10351.61Schristos *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 10361.61Schristos ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10371.61Schristos esac 10381.61Schristos case $ac_pass in 10391.61Schristos 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 10401.61Schristos 2) 10411.61Schristos ac_configure_args1="$ac_configure_args1 '$ac_arg'" 10421.61Schristos if test $ac_must_keep_next = true; then 10431.61Schristos ac_must_keep_next=false # Got value, back to normal. 10441.61Schristos else 10451.61Schristos case $ac_arg in 10461.61Schristos *=* | --config-cache | -C | -disable-* | --disable-* \ 10471.61Schristos | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 10481.61Schristos | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 10491.61Schristos | -with-* | --with-* | -without-* | --without-* | --x) 10501.61Schristos case "$ac_configure_args0 " in 10511.61Schristos "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 10521.61Schristos esac 10531.61Schristos ;; 10541.61Schristos -* ) ac_must_keep_next=true ;; 10551.61Schristos esac 10561.61Schristos fi 10571.61Schristos ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 10581.61Schristos # Get rid of the leading space. 10591.61Schristos ac_sep=" " 10601.61Schristos ;; 10611.61Schristos esac 10621.61Schristos done 10631.1Stvdone 10641.61Schristos$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 10651.61Schristos$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.61Schristos# WARNING: Be sure not to use single quotes in there, as some shells, 10711.61Schristos# 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.61Schristos { 10751.61Schristos echo 10761.61Schristos 10771.61Schristos cat <<\_ASBOX 10781.61Schristos## ---------------- ## 10791.61Schristos## Cache variables. ## 10801.61Schristos## ---------------- ## 10811.61Schristos_ASBOX 10821.61Schristos echo 10831.61Schristos # 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.61Schristos "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 10901.61Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 10911.1Stv ;; 10921.1Stv *) 10931.1Stv sed -n \ 10941.61Schristos "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10951.1Stv ;; 10961.1Stv esac; 10971.61Schristos} 10981.61Schristos echo 10991.61Schristos 11001.61Schristos cat <<\_ASBOX 11011.61Schristos## ----------------- ## 11021.61Schristos## Output variables. ## 11031.61Schristos## ----------------- ## 11041.61Schristos_ASBOX 11051.61Schristos echo 11061.61Schristos for ac_var in $ac_subst_vars 11071.61Schristos do 11081.61Schristos eval ac_val=$`echo $ac_var` 11091.61Schristos echo "$ac_var='"'"'$ac_val'"'"'" 11101.61Schristos done | sort 11111.61Schristos echo 11121.61Schristos 11131.61Schristos if test -n "$ac_subst_files"; then 11141.61Schristos cat <<\_ASBOX 11151.61Schristos## ------------- ## 11161.61Schristos## Output files. ## 11171.61Schristos## ------------- ## 11181.61Schristos_ASBOX 11191.61Schristos echo 11201.61Schristos for ac_var in $ac_subst_files 11211.61Schristos do 11221.61Schristos eval ac_val=$`echo $ac_var` 11231.61Schristos echo "$ac_var='"'"'$ac_val'"'"'" 11241.61Schristos done | sort 11251.61Schristos echo 11261.61Schristos fi 11271.61Schristos 11281.61Schristos if test -s confdefs.h; then 11291.61Schristos cat <<\_ASBOX 11301.61Schristos## ----------- ## 11311.61Schristos## confdefs.h. ## 11321.61Schristos## ----------- ## 11331.61Schristos_ASBOX 11341.61Schristos echo 11351.61Schristos sed "/^$/d" confdefs.h | sort 11361.61Schristos echo 11371.61Schristos fi 11381.61Schristos test "$ac_signal" != 0 && 11391.61Schristos echo "$as_me: caught signal $ac_signal" 11401.61Schristos echo "$as_me: exit $exit_status" 11411.61Schristos } >&5 11421.61Schristos rm -f core *.core && 11431.61Schristos 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.61Schristos# Predefined preprocessor variables. 11571.61Schristos 11581.61Schristoscat >>confdefs.h <<_ACEOF 11591.61Schristos#define PACKAGE_NAME "$PACKAGE_NAME" 11601.61Schristos_ACEOF 11611.61Schristos 11621.61Schristos 11631.61Schristoscat >>confdefs.h <<_ACEOF 11641.61Schristos#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 11651.61Schristos_ACEOF 11661.61Schristos 11671.61Schristos 11681.61Schristoscat >>confdefs.h <<_ACEOF 11691.61Schristos#define PACKAGE_VERSION "$PACKAGE_VERSION" 11701.61Schristos_ACEOF 11711.61Schristos 11721.61Schristos 11731.61Schristoscat >>confdefs.h <<_ACEOF 11741.61Schristos#define PACKAGE_STRING "$PACKAGE_STRING" 11751.61Schristos_ACEOF 11761.61Schristos 11771.61Schristos 11781.61Schristoscat >>confdefs.h <<_ACEOF 11791.61Schristos#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 11801.61Schristos_ACEOF 11811.61Schristos 11821.61Schristos 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.61Schristos { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 11951.1Stvecho "$as_me: loading site script $ac_site_file" >&6;} 11961.61Schristos 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.61Schristos { 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.61Schristos { 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.61Schristos 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.61Schristos { 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.61Schristos { 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.61Schristos { 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.61Schristos { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 12421.1Stvecho "$as_me: former value: $ac_old_val" >&2;} 12431.61Schristos { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 12441.1Stvecho "$as_me: current value: $ac_new_val" >&2;} 12451.61Schristos ac_cache_corrupted=: 12461.1Stv fi;; 12471.1Stv esac 12481.61Schristos # 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.61Schristos ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 12531.61Schristos *) ac_arg=$ac_var=$ac_new_val ;; 12541.61Schristos esac 12551.61Schristos case " $ac_configure_args " in 12561.61Schristos *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 12571.61Schristos *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 12581.1Stv esac 12591.1Stv fi 12601.1Stvdone 12611.1Stvif $ac_cache_corrupted; then 12621.61Schristos { 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.61Schristos { { 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.61Schristos 12781.61Schristos 12791.61Schristos 12801.61Schristos 12811.61Schristos 12821.61Schristos 12831.61Schristos 12841.61Schristos 12851.61Schristos 12861.61Schristos 12871.61Schristos 12881.61Schristos 12891.61Schristos 12901.61Schristos 12911.61Schristos 12921.61Schristos 12931.61Schristos 12941.61Schristos 12951.61Schristos 12961.61Schristos 12971.61Schristos 12981.61Schristos 12991.61Schristos 13001.61Schristos 13011.61Schristos ac_config_headers="$ac_config_headers nbtool_config.h" 13021.61Schristos 13031.61Schristos ac_config_files="$ac_config_files defs.mk" 13041.61Schristos 13051.1Stv 13061.57Swiz# Autoheader header and footer 13071.57Swiz 13081.61Schristos 13091.61Schristos 13101.61Schristos 13111.61Schristos 13121.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13321.61Schristosfor as_dir in $PATH 13331.61Schristosdo 13341.61Schristos IFS=$as_save_IFS 13351.61Schristos test -z "$as_dir" && as_dir=. 13361.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 13371.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13381.61Schristos ac_cv_prog_CC="${ac_tool_prefix}gcc" 13391.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13401.61Schristos break 2 13411.61Schristos fi 13421.61Schristosdone 13431.1Stvdone 13441.1Stv 13451.1Stvfi 13461.1Stvfi 13471.1StvCC=$ac_cv_prog_CC 13481.1Stvif test -n "$CC"; then 13491.61Schristos echo "$as_me:$LINENO: result: $CC" >&5 13501.1Stvecho "${ECHO_T}$CC" >&6 13511.1Stvelse 13521.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13701.61Schristosfor as_dir in $PATH 13711.61Schristosdo 13721.61Schristos IFS=$as_save_IFS 13731.61Schristos test -z "$as_dir" && as_dir=. 13741.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 13751.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13761.61Schristos ac_cv_prog_ac_ct_CC="gcc" 13771.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13781.61Schristos break 2 13791.61Schristos fi 13801.61Schristosdone 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.61Schristos echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 13881.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 13891.1Stvelse 13901.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14121.61Schristosfor as_dir in $PATH 14131.61Schristosdo 14141.61Schristos IFS=$as_save_IFS 14151.61Schristos test -z "$as_dir" && as_dir=. 14161.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 14171.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14181.61Schristos ac_cv_prog_CC="${ac_tool_prefix}cc" 14191.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14201.61Schristos break 2 14211.61Schristos fi 14221.61Schristosdone 14231.1Stvdone 14241.1Stv 14251.1Stvfi 14261.1Stvfi 14271.1StvCC=$ac_cv_prog_CC 14281.1Stvif test -n "$CC"; then 14291.61Schristos echo "$as_me:$LINENO: result: $CC" >&5 14301.1Stvecho "${ECHO_T}$CC" >&6 14311.1Stvelse 14321.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14501.61Schristosfor as_dir in $PATH 14511.61Schristosdo 14521.61Schristos IFS=$as_save_IFS 14531.61Schristos test -z "$as_dir" && as_dir=. 14541.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 14551.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14561.61Schristos ac_cv_prog_ac_ct_CC="cc" 14571.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14581.61Schristos break 2 14591.61Schristos fi 14601.61Schristosdone 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.61Schristos echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 14681.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 14691.1Stvelse 14701.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14931.61Schristosfor as_dir in $PATH 14941.61Schristosdo 14951.61Schristos IFS=$as_save_IFS 14961.61Schristos test -z "$as_dir" && as_dir=. 14971.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 14981.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14991.61Schristos if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 15001.61Schristos ac_prog_rejected=yes 15011.61Schristos continue 15021.61Schristos fi 15031.61Schristos ac_cv_prog_CC="cc" 15041.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15051.61Schristos break 2 15061.61Schristos fi 15071.61Schristosdone 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.61Schristos 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.61Schristos echo "$as_me:$LINENO: result: $CC" >&5 15271.1Stvecho "${ECHO_T}$CC" >&6 15281.1Stvelse 15291.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15491.61Schristosfor as_dir in $PATH 15501.61Schristosdo 15511.61Schristos IFS=$as_save_IFS 15521.61Schristos test -z "$as_dir" && as_dir=. 15531.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 15541.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15551.61Schristos ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 15561.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15571.61Schristos break 2 15581.61Schristos fi 15591.61Schristosdone 15601.1Stvdone 15611.1Stv 15621.1Stvfi 15631.1Stvfi 15641.1StvCC=$ac_cv_prog_CC 15651.1Stvif test -n "$CC"; then 15661.61Schristos echo "$as_me:$LINENO: result: $CC" >&5 15671.1Stvecho "${ECHO_T}$CC" >&6 15681.1Stvelse 15691.61Schristos 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.61Schristosecho "$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.61Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15911.61Schristosfor as_dir in $PATH 15921.61Schristosdo 15931.61Schristos IFS=$as_save_IFS 15941.61Schristos test -z "$as_dir" && as_dir=. 15951.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 15961.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15971.61Schristos ac_cv_prog_ac_ct_CC="$ac_prog" 15981.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15991.61Schristos break 2 16001.61Schristos fi 16011.61Schristosdone 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.61Schristos echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 16091.1Stvecho "${ECHO_T}$ac_ct_CC" >&6 16101.1Stvelse 16111.61Schristos 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.61Schristos 16241.61Schristostest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 16251.61SchristosSee \`config.log' for more details." >&5 16261.61Schristosecho "$as_me: error: no acceptable C compiler found in \$PATH 16271.61SchristosSee \`config.log' for more details." >&2;} 16281.1Stv { (exit 1); exit 1; }; } 16291.1Stv 16301.1Stv# Provide some information about the compiler. 16311.61Schristosecho "$as_me:$LINENO:" \ 16321.1Stv "checking for C compiler version" >&5 16331.1Stvac_compiler=`set X $ac_compile; echo $2` 16341.61Schristos{ (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.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 16381.1Stv (exit $ac_status); } 16391.61Schristos{ (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.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 16431.1Stv (exit $ac_status); } 16441.61Schristos{ (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.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 16481.1Stv (exit $ac_status); } 16491.1Stv 16501.1Stvcat >conftest.$ac_ext <<_ACEOF 16511.61Schristos/* confdefs.h. */ 16521.61Schristos_ACEOF 16531.61Schristoscat confdefs.h >>conftest.$ac_ext 16541.61Schristoscat >>conftest.$ac_ext <<_ACEOF 16551.61Schristos/* 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.61Schristosac_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.61Schristosecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 16711.61Schristosecho $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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 16741.1Stv (eval $ac_link_default) 2>&5 16751.1Stv ac_status=$? 16761.61Schristos 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.61Schristos 16821.61Schristos# Be careful to initialize this variable, since it used to be cached. 16831.61Schristos# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 16841.61Schristosac_cv_exeext= 16851.61Schristos# b.out is created by i960 compilers. 16861.61Schristosfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 16871.61Schristosdo 16881.61Schristos test -f "$ac_file" || continue 16891.1Stv case $ac_file in 16901.61Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 16911.61Schristos ;; 16921.61Schristos conftest.$ac_ext ) 16931.61Schristos # This is the source file. 16941.61Schristos ;; 16951.61Schristos [ab].out ) 16961.61Schristos # We found the default executable, but exeext='' is most 16971.61Schristos # certainly right. 16981.61Schristos break;; 16991.61Schristos *.* ) 17001.61Schristos ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 17011.61Schristos # FIXME: I believe we export ac_cv_exeext for Libtool, 17021.61Schristos # but it would be cool to find out if it's true. Does anybody 17031.61Schristos # maintain Libtool? --akim. 17041.61Schristos export ac_cv_exeext 17051.61Schristos break;; 17061.61Schristos * ) 17071.61Schristos break;; 17081.1Stv esac 17091.1Stvdone 17101.1Stvelse 17111.1Stv echo "$as_me: failed program was:" >&5 17121.61Schristossed 's/^/| /' conftest.$ac_ext >&5 17131.61Schristos 17141.61Schristos{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 17151.61SchristosSee \`config.log' for more details." >&5 17161.61Schristosecho "$as_me: error: C compiler cannot create executables 17171.61SchristosSee \`config.log' for more details." >&2;} 17181.1Stv { (exit 77); exit 77; }; } 17191.1Stvfi 17201.1Stv 17211.1Stvac_exeext=$ac_cv_exeext 17221.61Schristosecho "$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.61Schristosecho "$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.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17341.1Stv (eval $ac_try) 2>&5 17351.1Stv ac_status=$? 17361.61Schristos 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.61Schristos { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 17441.61SchristosIf you meant to cross compile, use \`--host'. 17451.61SchristosSee \`config.log' for more details." >&5 17461.1Stvecho "$as_me: error: cannot run C compiled programs. 17471.61SchristosIf you meant to cross compile, use \`--host'. 17481.61SchristosSee \`config.log' for more details." >&2;} 17491.1Stv { (exit 1); exit 1; }; } 17501.1Stv fi 17511.1Stv fi 17521.1Stvfi 17531.61Schristosecho "$as_me:$LINENO: result: yes" >&5 17541.1Stvecho "${ECHO_T}yes" >&6 17551.1Stv 17561.61Schristosrm -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.61Schristosecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 17611.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 17621.61Schristosecho "$as_me:$LINENO: result: $cross_compiling" >&5 17631.1Stvecho "${ECHO_T}$cross_compiling" >&6 17641.1Stv 17651.61Schristosecho "$as_me:$LINENO: checking for suffix of executables" >&5 17661.61Schristosecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 17671.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17681.1Stv (eval $ac_link) 2>&5 17691.1Stv ac_status=$? 17701.61Schristos 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.61Schristosfor ac_file in conftest.exe conftest conftest.*; do 17771.61Schristos test -f "$ac_file" || continue 17781.1Stv case $ac_file in 17791.61Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 17801.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 17811.61Schristos export ac_cv_exeext 17821.61Schristos break;; 17831.1Stv * ) break;; 17841.1Stv esac 17851.1Stvdone 17861.1Stvelse 17871.61Schristos { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 17881.61SchristosSee \`config.log' for more details." >&5 17891.61Schristosecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 17901.61SchristosSee \`config.log' for more details." >&2;} 17911.1Stv { (exit 1); exit 1; }; } 17921.1Stvfi 17931.1Stv 17941.1Stvrm -f conftest$ac_cv_exeext 17951.61Schristosecho "$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.61Schristosecho "$as_me:$LINENO: checking for suffix of object files" >&5 18021.61Schristosecho $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.61Schristos/* confdefs.h. */ 18081.61Schristos_ACEOF 18091.61Schristoscat confdefs.h >>conftest.$ac_ext 18101.61Schristoscat >>conftest.$ac_ext <<_ACEOF 18111.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18231.1Stv (eval $ac_compile) 2>&5 18241.1Stv ac_status=$? 18251.61Schristos 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.61Schristos *.$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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 18371.61Schristos 18381.61Schristos{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 18391.61SchristosSee \`config.log' for more details." >&5 18401.61Schristosecho "$as_me: error: cannot compute suffix of object files: cannot compile 18411.61SchristosSee \`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.61Schristosecho "$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.61Schristosecho "$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.61Schristos/* confdefs.h. */ 18581.61Schristos_ACEOF 18591.61Schristoscat confdefs.h >>conftest.$ac_ext 18601.61Schristoscat >>conftest.$ac_ext <<_ACEOF 18611.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18761.61Schristos (eval $ac_compile) 2>conftest.er1 18771.1Stv ac_status=$? 18781.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 18791.61Schristos rm -f conftest.er1 18801.61Schristos cat conftest.err >&5 18811.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 18821.1Stv (exit $ac_status); } && 18831.61Schristos { ac_try='test -z "$ac_c_werror_flag" 18841.61Schristos || test ! -s conftest.err' 18851.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18861.53Sdogcow (eval $ac_try) 2>&5 18871.53Sdogcow ac_status=$? 18881.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 18891.61Schristos (exit $ac_status); }; } && 18901.61Schristos { ac_try='test -s conftest.$ac_objext' 18911.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18921.61Schristos (eval $ac_try) 2>&5 18931.61Schristos ac_status=$? 18941.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 18951.60Sapb (exit $ac_status); }; }; then 18961.1Stv ac_compiler_gnu=yes 18971.1Stvelse 18981.1Stv echo "$as_me: failed program was:" >&5 18991.61Schristossed 's/^/| /' conftest.$ac_ext >&5 19001.61Schristos 19011.1Stvac_compiler_gnu=no 19021.1Stvfi 19031.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19041.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu 19051.1Stv 19061.1Stvfi 19071.61Schristosecho "$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.61Schristosecho "$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.61Schristos/* confdefs.h. */ 19201.61Schristos_ACEOF 19211.61Schristoscat confdefs.h >>conftest.$ac_ext 19221.61Schristoscat >>conftest.$ac_ext <<_ACEOF 19231.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19351.61Schristos (eval $ac_compile) 2>conftest.er1 19361.1Stv ac_status=$? 19371.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 19381.61Schristos rm -f conftest.er1 19391.61Schristos cat conftest.err >&5 19401.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 19411.52Sdbj (exit $ac_status); } && 19421.61Schristos { ac_try='test -z "$ac_c_werror_flag" 19431.61Schristos || test ! -s conftest.err' 19441.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19451.61Schristos (eval $ac_try) 2>&5 19461.61Schristos ac_status=$? 19471.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 19481.61Schristos (exit $ac_status); }; } && 19491.61Schristos { ac_try='test -s conftest.$ac_objext' 19501.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19511.53Sdogcow (eval $ac_try) 2>&5 19521.53Sdogcow ac_status=$? 19531.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 19591.61Schristos 19601.1Stvac_cv_prog_cc_g=no 19611.1Stvfi 19621.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19631.1Stvfi 19641.61Schristosecho "$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.61Schristosecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 19821.61Schristosecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 19831.61Schristosif test "${ac_cv_prog_cc_stdc+set}" = set; then 19841.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 19851.61Schristoselse 19861.61Schristos ac_cv_prog_cc_stdc=no 19871.61Schristosac_save_CC=$CC 19881.61Schristoscat >conftest.$ac_ext <<_ACEOF 19891.61Schristos/* confdefs.h. */ 19901.61Schristos_ACEOF 19911.61Schristoscat confdefs.h >>conftest.$ac_ext 19921.61Schristoscat >>conftest.$ac_ext <<_ACEOF 19931.61Schristos/* end confdefs.h. */ 19941.61Schristos#include <stdarg.h> 19951.61Schristos#include <stdio.h> 19961.61Schristos#include <sys/types.h> 19971.61Schristos#include <sys/stat.h> 19981.61Schristos/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 19991.61Schristosstruct buf { int x; }; 20001.61SchristosFILE * (*rcsopen) (struct buf *, struct stat *, int); 20011.61Schristosstatic char *e (p, i) 20021.61Schristos char **p; 20031.61Schristos int i; 20041.61Schristos{ 20051.61Schristos return p[i]; 20061.61Schristos} 20071.61Schristosstatic char *f (char * (*g) (char **, int), char **p, ...) 20081.61Schristos{ 20091.61Schristos char *s; 20101.61Schristos va_list v; 20111.61Schristos va_start (v,p); 20121.61Schristos s = g (p, va_arg (v,int)); 20131.61Schristos va_end (v); 20141.61Schristos return s; 20151.61Schristos} 20161.61Schristos 20171.61Schristos/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 20181.61Schristos function prototypes and stuff, but not '\xHH' hex character constants. 20191.61Schristos These don't provoke an error unfortunately, instead are silently treated 20201.61Schristos as 'x'. The following induces an error, until -std1 is added to get 20211.61Schristos proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 20221.61Schristos array size at least. It's necessary to write '\x00'==0 to get something 20231.61Schristos that's true only with -std1. */ 20241.61Schristosint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 20251.61Schristos 20261.61Schristosint test (int i, double x); 20271.61Schristosstruct s1 {int (*f) (int a);}; 20281.61Schristosstruct s2 {int (*f) (double a);}; 20291.61Schristosint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 20301.61Schristosint argc; 20311.61Schristoschar **argv; 20321.61Schristosint 20331.61Schristosmain () 20341.61Schristos{ 20351.61Schristosreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 20361.61Schristos ; 20371.61Schristos return 0; 20381.61Schristos} 20391.61Schristos_ACEOF 20401.61Schristos# Don't try gcc -ansi; that turns off useful extensions and 20411.61Schristos# breaks some systems' header files. 20421.61Schristos# AIX -qlanglvl=ansi 20431.61Schristos# Ultrix and OSF/1 -std1 20441.61Schristos# HP-UX 10.20 and later -Ae 20451.61Schristos# HP-UX older versions -Aa -D_HPUX_SOURCE 20461.61Schristos# SVR4 -Xc -D__EXTENSIONS__ 20471.61Schristosfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 20481.61Schristosdo 20491.61Schristos CC="$ac_save_CC $ac_arg" 20501.61Schristos rm -f conftest.$ac_objext 20511.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20521.61Schristos (eval $ac_compile) 2>conftest.er1 20531.61Schristos ac_status=$? 20541.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 20551.61Schristos rm -f conftest.er1 20561.61Schristos cat conftest.err >&5 20571.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 20581.61Schristos (exit $ac_status); } && 20591.61Schristos { ac_try='test -z "$ac_c_werror_flag" 20601.61Schristos || test ! -s conftest.err' 20611.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20621.61Schristos (eval $ac_try) 2>&5 20631.61Schristos ac_status=$? 20641.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 20651.61Schristos (exit $ac_status); }; } && 20661.61Schristos { ac_try='test -s conftest.$ac_objext' 20671.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20681.61Schristos (eval $ac_try) 2>&5 20691.61Schristos ac_status=$? 20701.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 20711.61Schristos (exit $ac_status); }; }; then 20721.61Schristos ac_cv_prog_cc_stdc=$ac_arg 20731.61Schristosbreak 20741.61Schristoselse 20751.61Schristos echo "$as_me: failed program was:" >&5 20761.61Schristossed 's/^/| /' conftest.$ac_ext >&5 20771.61Schristos 20781.61Schristosfi 20791.61Schristosrm -f conftest.err conftest.$ac_objext 20801.61Schristosdone 20811.61Schristosrm -f conftest.$ac_ext conftest.$ac_objext 20821.61SchristosCC=$ac_save_CC 20831.61Schristos 20841.61Schristosfi 20851.61Schristos 20861.61Schristoscase "x$ac_cv_prog_cc_stdc" in 20871.61Schristos x|xno) 20881.61Schristos echo "$as_me:$LINENO: result: none needed" >&5 20891.61Schristosecho "${ECHO_T}none needed" >&6 ;; 20901.61Schristos *) 20911.61Schristos echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 20921.61Schristosecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 20931.61Schristos CC="$CC $ac_cv_prog_cc_stdc" ;; 20941.61Schristosesac 20951.61Schristos 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21071.61Schristos (eval $ac_compile) 2>conftest.er1 21081.1Stv ac_status=$? 21091.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 21101.61Schristos rm -f conftest.er1 21111.61Schristos cat conftest.err >&5 21121.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 21131.1Stv (exit $ac_status); } && 21141.61Schristos { ac_try='test -z "$ac_c_werror_flag" 21151.61Schristos || test ! -s conftest.err' 21161.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21171.61Schristos (eval $ac_try) 2>&5 21181.61Schristos ac_status=$? 21191.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 21201.61Schristos (exit $ac_status); }; } && 21211.61Schristos { ac_try='test -s conftest.$ac_objext' 21221.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21231.50Sjmc (eval $ac_try) 2>&5 21241.50Sjmc ac_status=$? 21251.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 21261.1Stv (exit $ac_status); }; }; then 21271.1Stv for ac_declaration in \ 21281.61Schristos '' \ 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.61Schristos/* confdefs.h. */ 21371.61Schristos_ACEOF 21381.61Schristoscat confdefs.h >>conftest.$ac_ext 21391.61Schristoscat >>conftest.$ac_ext <<_ACEOF 21401.61Schristos/* end confdefs.h. */ 21411.61Schristos$ac_declaration 21421.60Sapb#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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21531.61Schristos (eval $ac_compile) 2>conftest.er1 21541.1Stv ac_status=$? 21551.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 21561.61Schristos rm -f conftest.er1 21571.61Schristos cat conftest.err >&5 21581.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 21591.1Stv (exit $ac_status); } && 21601.61Schristos { ac_try='test -z "$ac_c_werror_flag" 21611.61Schristos || test ! -s conftest.err' 21621.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21631.61Schristos (eval $ac_try) 2>&5 21641.61Schristos ac_status=$? 21651.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 21661.61Schristos (exit $ac_status); }; } && 21671.61Schristos { ac_try='test -s conftest.$ac_objext' 21681.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21691.50Sjmc (eval $ac_try) 2>&5 21701.50Sjmc ac_status=$? 21711.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 21771.61Schristos 21781.1Stvcontinue 21791.1Stvfi 21801.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21811.1Stv cat >conftest.$ac_ext <<_ACEOF 21821.61Schristos/* confdefs.h. */ 21831.61Schristos_ACEOF 21841.61Schristoscat confdefs.h >>conftest.$ac_ext 21851.61Schristoscat >>conftest.$ac_ext <<_ACEOF 21861.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21981.61Schristos (eval $ac_compile) 2>conftest.er1 21991.1Stv ac_status=$? 22001.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 22011.61Schristos rm -f conftest.er1 22021.61Schristos cat conftest.err >&5 22031.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 22041.1Stv (exit $ac_status); } && 22051.61Schristos { ac_try='test -z "$ac_c_werror_flag" 22061.61Schristos || test ! -s conftest.err' 22071.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22081.61Schristos (eval $ac_try) 2>&5 22091.61Schristos ac_status=$? 22101.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 22111.61Schristos (exit $ac_status); }; } && 22121.61Schristos { ac_try='test -s conftest.$ac_objext' 22131.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22141.53Sdogcow (eval $ac_try) 2>&5 22151.53Sdogcow ac_status=$? 22161.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 22221.61Schristos 22231.1Stvfi 22241.61Schristosrm -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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 22361.61Schristos 22371.1Stvfi 22381.61Schristosrm -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.61Schristos 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.61Schristosecho "$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.61Schristos # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 22701.61Schristos # <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.61Schristos/* confdefs.h. */ 22751.61Schristos_ACEOF 22761.61Schristoscat confdefs.h >>conftest.$ac_ext 22771.61Schristoscat >>conftest.$ac_ext <<_ACEOF 22781.61Schristos/* end confdefs.h. */ 22791.61Schristos#ifdef __STDC__ 22801.61Schristos# include <limits.h> 22811.61Schristos#else 22821.61Schristos# include <assert.h> 22831.61Schristos#endif 22841.61Schristos Syntax error 22851.48Sjmc_ACEOF 22861.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 22901.1Stv rm -f conftest.er1 22911.1Stv cat conftest.err >&5 22921.61Schristos 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.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 23081.61Schristos 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.61Schristos/* confdefs.h. */ 23181.61Schristos_ACEOF 23191.61Schristoscat confdefs.h >>conftest.$ac_ext 23201.61Schristoscat >>conftest.$ac_ext <<_ACEOF 23211.61Schristos/* end confdefs.h. */ 23221.1Stv#include <ac_nonexistent.h> 23231.1Stv_ACEOF 23241.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 23281.1Stv rm -f conftest.er1 23291.1Stv cat conftest.err >&5 23301.61Schristos 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.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 23471.61Schristos 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.61Schristosecho "$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.61Schristos # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 23771.61Schristos # <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.61Schristos/* confdefs.h. */ 23821.61Schristos_ACEOF 23831.61Schristoscat confdefs.h >>conftest.$ac_ext 23841.61Schristoscat >>conftest.$ac_ext <<_ACEOF 23851.61Schristos/* end confdefs.h. */ 23861.61Schristos#ifdef __STDC__ 23871.61Schristos# include <limits.h> 23881.61Schristos#else 23891.61Schristos# include <assert.h> 23901.61Schristos#endif 23911.61Schristos Syntax error 23921.53Sdogcow_ACEOF 23931.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 23971.1Stv rm -f conftest.er1 23981.1Stv cat conftest.err >&5 23991.61Schristos 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.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 24151.61Schristos 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.61Schristos/* confdefs.h. */ 24251.61Schristos_ACEOF 24261.61Schristoscat confdefs.h >>conftest.$ac_ext 24271.61Schristoscat >>conftest.$ac_ext <<_ACEOF 24281.61Schristos/* end confdefs.h. */ 24291.1Stv#include <ac_nonexistent.h> 24301.1Stv_ACEOF 24311.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 24351.1Stv rm -f conftest.er1 24361.1Stv cat conftest.err >&5 24371.61Schristos 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.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 24541.61Schristos 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.61Schristos { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 24681.61SchristosSee \`config.log' for more details." >&5 24691.61Schristosecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check 24701.61SchristosSee \`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.61Schristos 24811.61Schristosecho "$as_me:$LINENO: checking for egrep" >&5 24821.61Schristosecho $ECHO_N "checking for egrep... $ECHO_C" >&6 24831.61Schristosif test "${ac_cv_prog_egrep+set}" = set; then 24841.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 24851.61Schristoselse 24861.61Schristos if echo a | (grep -E '(a|b)') >/dev/null 2>&1 24871.61Schristos then ac_cv_prog_egrep='grep -E' 24881.61Schristos else ac_cv_prog_egrep='egrep' 24891.61Schristos fi 24901.61Schristosfi 24911.61Schristosecho "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 24921.61Schristosecho "${ECHO_T}$ac_cv_prog_egrep" >&6 24931.61Schristos EGREP=$ac_cv_prog_egrep 24941.61Schristos 24951.61Schristos 24961.61Schristos 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.61Schristos/* confdefs.h. */ 25001.61Schristos_ACEOF 25011.61Schristoscat confdefs.h >>conftest.$ac_ext 25021.61Schristoscat >>conftest.$ac_ext <<_ACEOF 25031.61Schristos/* 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.61Schristos $EGREP "yes" >/dev/null 2>&1; then 25111.61Schristos echo "$as_me:$LINENO: result: yes" >&5 25121.45Sjmcecho "${ECHO_T}yes" >&6 25131.54Swiz 25141.61Schristoscat >>confdefs.h <<\_ACEOF 25151.45Sjmc#define _POSIX_SOURCE 1 25161.61Schristos_ACEOF 25171.54Swiz 25181.61Schristos 25191.61Schristoscat >>confdefs.h <<\_ACEOF 25201.45Sjmc#define _POSIX_C_SOURCE 200112L 25211.61Schristos_ACEOF 25221.54Swiz 25231.61Schristos 25241.61Schristoscat >>confdefs.h <<\_ACEOF 25251.45Sjmc#define _XOPEN_SOURCE 600 25261.61Schristos_ACEOF 25271.45Sjmc 25281.45Sjmcelse 25291.61Schristos echo "$as_me:$LINENO: result: no" >&5 25301.45Sjmcecho "${ECHO_T}no" >&6 25311.45Sjmcfi 25321.45Sjmcrm -f conftest* 25331.45Sjmc 25341.61Schristos 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.61Schristosecho "$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.61Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25481.61Schristosfor as_dir in $PATH 25491.61Schristosdo 25501.61Schristos IFS=$as_save_IFS 25511.61Schristos test -z "$as_dir" && as_dir=. 25521.61Schristos for ac_exec_ext in '' $ac_executable_extensions; do 25531.61Schristos if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25541.61Schristos ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext" 25551.61Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25561.61Schristos break 2 25571.61Schristos fi 25581.61Schristosdone 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.61Schristos echo "$as_me:$LINENO: result: $BSHELL" >&5 25681.45Sjmcecho "${ECHO_T}$BSHELL" >&6 25691.45Sjmcelse 25701.61Schristos 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.61Schristos { { 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.61Schristoscat >>confdefs.h <<_ACEOF 25811.45Sjmc#define PATH_BSHELL "$BSHELL" 25821.61Schristos_ACEOF 25831.53Sdogcow 25841.61Schristos 25851.61Schristosecho "$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.61Schristos # See if sys/param.h defines the BYTE_ORDER macro. 25911.45Sjmccat >conftest.$ac_ext <<_ACEOF 25921.61Schristos/* confdefs.h. */ 25931.61Schristos_ACEOF 25941.61Schristoscat confdefs.h >>conftest.$ac_ext 25951.61Schristoscat >>conftest.$ac_ext <<_ACEOF 25961.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26131.61Schristos (eval $ac_compile) 2>conftest.er1 26141.45Sjmc ac_status=$? 26151.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 26161.61Schristos rm -f conftest.er1 26171.61Schristos cat conftest.err >&5 26181.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 26191.45Sjmc (exit $ac_status); } && 26201.61Schristos { ac_try='test -z "$ac_c_werror_flag" 26211.61Schristos || test ! -s conftest.err' 26221.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26231.45Sjmc (eval $ac_try) 2>&5 26241.45Sjmc ac_status=$? 26251.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 26261.61Schristos (exit $ac_status); }; } && 26271.61Schristos { ac_try='test -s conftest.$ac_objext' 26281.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26291.61Schristos (eval $ac_try) 2>&5 26301.61Schristos ac_status=$? 26311.61Schristos 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.61Schristos/* confdefs.h. */ 26361.61Schristos_ACEOF 26371.61Schristoscat confdefs.h >>conftest.$ac_ext 26381.61Schristoscat >>conftest.$ac_ext <<_ACEOF 26391.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26561.61Schristos (eval $ac_compile) 2>conftest.er1 26571.45Sjmc ac_status=$? 26581.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 26591.61Schristos rm -f conftest.er1 26601.61Schristos cat conftest.err >&5 26611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 26621.45Sjmc (exit $ac_status); } && 26631.61Schristos { ac_try='test -z "$ac_c_werror_flag" 26641.61Schristos || test ! -s conftest.err' 26651.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26661.61Schristos (eval $ac_try) 2>&5 26671.61Schristos ac_status=$? 26681.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 26691.61Schristos (exit $ac_status); }; } && 26701.61Schristos { ac_try='test -s conftest.$ac_objext' 26711.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26721.53Sdogcow (eval $ac_try) 2>&5 26731.53Sdogcow ac_status=$? 26741.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 26801.61Schristos 26811.45Sjmcac_cv_c_bigendian=no 26821.45Sjmcfi 26831.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26841.61Schristoselse 26851.61Schristos echo "$as_me: failed program was:" >&5 26861.61Schristossed 's/^/| /' conftest.$ac_ext >&5 26871.61Schristos 26881.61Schristos# It does not; compile a test program. 26891.61Schristosif test "$cross_compiling" = yes; then 26901.61Schristos # try to guess the endianness by grepping values into an object file 26911.61Schristos ac_cv_c_bigendian=unknown 26921.61Schristos cat >conftest.$ac_ext <<_ACEOF 26931.61Schristos/* confdefs.h. */ 26941.61Schristos_ACEOF 26951.61Schristoscat confdefs.h >>conftest.$ac_ext 26961.61Schristoscat >>conftest.$ac_ext <<_ACEOF 26971.61Schristos/* end confdefs.h. */ 26981.61Schristosshort ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 26991.61Schristosshort ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 27001.61Schristosvoid _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 27011.61Schristosshort ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 27021.61Schristosshort ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 27031.61Schristosvoid _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 27041.61Schristosint 27051.61Schristosmain () 27061.61Schristos{ 27071.61Schristos _ascii (); _ebcdic (); 27081.61Schristos ; 27091.61Schristos return 0; 27101.61Schristos} 27111.61Schristos_ACEOF 27121.61Schristosrm -f conftest.$ac_objext 27131.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 27141.61Schristos (eval $ac_compile) 2>conftest.er1 27151.61Schristos ac_status=$? 27161.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 27171.61Schristos rm -f conftest.er1 27181.61Schristos cat conftest.err >&5 27191.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 27201.61Schristos (exit $ac_status); } && 27211.61Schristos { ac_try='test -z "$ac_c_werror_flag" 27221.61Schristos || test ! -s conftest.err' 27231.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27241.61Schristos (eval $ac_try) 2>&5 27251.61Schristos ac_status=$? 27261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 27271.61Schristos (exit $ac_status); }; } && 27281.61Schristos { ac_try='test -s conftest.$ac_objext' 27291.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27301.61Schristos (eval $ac_try) 2>&5 27311.61Schristos ac_status=$? 27321.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 27331.61Schristos (exit $ac_status); }; }; then 27341.61Schristos if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 27351.61Schristos ac_cv_c_bigendian=yes 27361.61Schristosfi 27371.61Schristosif grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 27381.61Schristos if test "$ac_cv_c_bigendian" = unknown; then 27391.61Schristos ac_cv_c_bigendian=no 27401.61Schristos else 27411.61Schristos # finding both strings is unlikely to happen, but who knows? 27421.61Schristos ac_cv_c_bigendian=unknown 27431.61Schristos fi 27441.61Schristosfi 27451.53Sdogcowelse 27461.53Sdogcow echo "$as_me: failed program was:" >&5 27471.61Schristossed 's/^/| /' conftest.$ac_ext >&5 27481.61Schristos 27491.60Sapbfi 27501.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 27511.45Sjmcelse 27521.45Sjmc cat >conftest.$ac_ext <<_ACEOF 27531.61Schristos/* confdefs.h. */ 27541.61Schristos_ACEOF 27551.61Schristoscat confdefs.h >>conftest.$ac_ext 27561.61Schristoscat >>conftest.$ac_ext <<_ACEOF 27571.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 27731.45Sjmc (eval $ac_link) 2>&5 27741.45Sjmc ac_status=$? 27751.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 27761.45Sjmc (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 27771.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 27781.45Sjmc (eval $ac_try) 2>&5 27791.45Sjmc ac_status=$? 27801.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 27871.61Schristos 27881.61Schristos( exit $ac_status ) 27891.45Sjmcac_cv_c_bigendian=yes 27901.45Sjmcfi 27911.61Schristosrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 27921.45Sjmcfi 27931.1Stvfi 27941.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 27951.1Stvfi 27961.61Schristosecho "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 27971.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6 27981.61Schristoscase $ac_cv_c_bigendian in 27991.61Schristos yes) 28001.45Sjmc 28011.61Schristoscat >>confdefs.h <<\_ACEOF 28021.45Sjmc#define WORDS_BIGENDIAN 1 28031.61Schristos_ACEOF 28041.61Schristos ;; 28051.61Schristos no) 28061.61Schristos ;; 28071.61Schristos *) 28081.61Schristos { { echo "$as_me:$LINENO: error: unknown endianness 28091.61Schristospresetting ac_cv_c_bigendian=no (or yes) will help" >&5 28101.61Schristosecho "$as_me: error: unknown endianness 28111.61Schristospresetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 28121.61Schristos { (exit 1); exit 1; }; } ;; 28131.61Schristosesac 28141.52Sdbj 28151.61Schristosecho "$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.61Schristos/* confdefs.h. */ 28221.61Schristos_ACEOF 28231.61Schristoscat confdefs.h >>conftest.$ac_ext 28241.61Schristoscat >>conftest.$ac_ext <<_ACEOF 28251.61Schristos/* 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.61Schristosint 28321.61Schristosmain () 28331.61Schristos{ 28341.61Schristos 28351.61Schristos ; 28361.61Schristos return 0; 28371.61Schristos} 28381.6Stv_ACEOF 28391.61Schristosrm -f conftest.$ac_objext 28401.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 28411.61Schristos (eval $ac_compile) 2>conftest.er1 28421.39Sfredb ac_status=$? 28431.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 28441.50Sjmc rm -f conftest.er1 28451.50Sjmc cat conftest.err >&5 28461.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 28471.61Schristos (exit $ac_status); } && 28481.61Schristos { ac_try='test -z "$ac_c_werror_flag" 28491.61Schristos || test ! -s conftest.err' 28501.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28511.61Schristos (eval $ac_try) 2>&5 28521.61Schristos ac_status=$? 28531.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 28541.61Schristos (exit $ac_status); }; } && 28551.61Schristos { ac_try='test -s conftest.$ac_objext' 28561.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28571.61Schristos (eval $ac_try) 2>&5 28581.61Schristos ac_status=$? 28591.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 28601.61Schristos (exit $ac_status); }; }; then 28611.6Stv ac_cv_header_stdc=yes 28621.6Stvelse 28631.6Stv echo "$as_me: failed program was:" >&5 28641.61Schristossed 's/^/| /' conftest.$ac_ext >&5 28651.61Schristos 28661.61Schristosac_cv_header_stdc=no 28671.6Stvfi 28681.61Schristosrm -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.61Schristos/* confdefs.h. */ 28741.61Schristos_ACEOF 28751.61Schristoscat confdefs.h >>conftest.$ac_ext 28761.61Schristoscat >>conftest.$ac_ext <<_ACEOF 28771.61Schristos/* end confdefs.h. */ 28781.6Stv#include <string.h> 28791.6Stv 28801.6Stv_ACEOF 28811.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 28821.61Schristos $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.61Schristos/* confdefs.h. */ 28951.61Schristos_ACEOF 28961.61Schristoscat confdefs.h >>conftest.$ac_ext 28971.61Schristoscat >>conftest.$ac_ext <<_ACEOF 28981.61Schristos/* end confdefs.h. */ 28991.6Stv#include <stdlib.h> 29001.6Stv 29011.6Stv_ACEOF 29021.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 29031.61Schristos $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.61Schristos/* confdefs.h. */ 29191.61Schristos_ACEOF 29201.61Schristoscat confdefs.h >>conftest.$ac_ext 29211.61Schristoscat >>conftest.$ac_ext <<_ACEOF 29221.61Schristos/* 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.61Schristos# define ISLOWER(c) \ 29291.61Schristos (('a' <= (c) && (c) <= 'i') \ 29301.61Schristos || ('j' <= (c) && (c) <= 'r') \ 29311.61Schristos || ('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.61Schristos || toupper (i) != TOUPPER (i)) 29431.6Stv exit(2); 29441.6Stv exit (0); 29451.6Stv} 29461.6Stv_ACEOF 29471.6Stvrm -f conftest$ac_exeext 29481.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 29491.6Stv (eval $ac_link) 2>&5 29501.6Stv ac_status=$? 29511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 29521.6Stv (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 29531.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29541.6Stv (eval $ac_try) 2>&5 29551.6Stv ac_status=$? 29561.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 29631.61Schristos 29641.61Schristos( exit $ac_status ) 29651.6Stvac_cv_header_stdc=no 29661.6Stvfi 29671.61Schristosrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 29681.6Stvfi 29691.6Stvfi 29701.6Stvfi 29711.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 29761.6Stv#define STDC_HEADERS 1 29771.61Schristos_ACEOF 29781.6Stv 29791.6Stvfi 29801.6Stv 29811.61Schristos 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.61Schristos# On IRIX 5.3, sys/types and inttypes.h are conflicting. 29861.61Schristos 29871.61Schristos 29881.61Schristos 29891.61Schristos 29901.61Schristos 29911.61Schristos 29921.61Schristos 29931.61Schristos 29941.61Schristos 29951.61Schristosfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 29961.61Schristos inttypes.h stdint.h unistd.h 29971.61Schristosdo 29981.61Schristosas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29991.61Schristosecho "$as_me:$LINENO: checking for $ac_header" >&5 30001.61Schristosecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 30011.61Schristosif 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.61Schristos/* confdefs.h. */ 30061.61Schristos_ACEOF 30071.61Schristoscat confdefs.h >>conftest.$ac_ext 30081.61Schristoscat >>conftest.$ac_ext <<_ACEOF 30091.61Schristos/* end confdefs.h. */ 30101.61Schristos$ac_includes_default 30111.61Schristos 30121.61Schristos#include <$ac_header> 30131.53Sdogcow_ACEOF 30141.61Schristosrm -f conftest.$ac_objext 30151.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 30161.61Schristos (eval $ac_compile) 2>conftest.er1 30171.4Stv ac_status=$? 30181.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 30191.50Sjmc rm -f conftest.er1 30201.50Sjmc cat conftest.err >&5 30211.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30221.61Schristos (exit $ac_status); } && 30231.61Schristos { ac_try='test -z "$ac_c_werror_flag" 30241.61Schristos || test ! -s conftest.err' 30251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30261.61Schristos (eval $ac_try) 2>&5 30271.61Schristos ac_status=$? 30281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30291.61Schristos (exit $ac_status); }; } && 30301.61Schristos { ac_try='test -s conftest.$ac_objext' 30311.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30321.61Schristos (eval $ac_try) 2>&5 30331.61Schristos ac_status=$? 30341.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30351.61Schristos (exit $ac_status); }; }; then 30361.61Schristos eval "$as_ac_Header=yes" 30371.4Stvelse 30381.4Stv echo "$as_me: failed program was:" >&5 30391.61Schristossed 's/^/| /' conftest.$ac_ext >&5 30401.61Schristos 30411.61Schristoseval "$as_ac_Header=no" 30421.4Stvfi 30431.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 30441.4Stvfi 30451.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 30461.61Schristosecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 30471.61Schristosif test `eval echo '${'$as_ac_Header'}'` = yes; then 30481.61Schristos cat >>confdefs.h <<_ACEOF 30491.61Schristos#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 30501.61Schristos_ACEOF 30511.61Schristos 30521.6Stvfi 30531.6Stv 30541.61Schristosdone 30551.61Schristos 30561.61Schristos 30571.61Schristosif test "${ac_cv_header_zlib_h+set}" = set; then 30581.61Schristos echo "$as_me:$LINENO: checking for zlib.h" >&5 30591.61Schristosecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6 30601.61Schristosif test "${ac_cv_header_zlib_h+set}" = set; then 30611.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 30621.61Schristosfi 30631.61Schristosecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 30641.61Schristosecho "${ECHO_T}$ac_cv_header_zlib_h" >&6 30651.61Schristoselse 30661.61Schristos # Is the header compilable? 30671.61Schristosecho "$as_me:$LINENO: checking zlib.h usability" >&5 30681.61Schristosecho $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 30691.61Schristoscat >conftest.$ac_ext <<_ACEOF 30701.61Schristos/* confdefs.h. */ 30711.61Schristos_ACEOF 30721.61Schristoscat confdefs.h >>conftest.$ac_ext 30731.61Schristoscat >>conftest.$ac_ext <<_ACEOF 30741.61Schristos/* end confdefs.h. */ 30751.61Schristos$ac_includes_default 30761.61Schristos#include <zlib.h> 30771.61Schristos_ACEOF 30781.61Schristosrm -f conftest.$ac_objext 30791.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 30801.61Schristos (eval $ac_compile) 2>conftest.er1 30811.61Schristos ac_status=$? 30821.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 30831.61Schristos rm -f conftest.er1 30841.61Schristos cat conftest.err >&5 30851.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30861.61Schristos (exit $ac_status); } && 30871.61Schristos { ac_try='test -z "$ac_c_werror_flag" 30881.61Schristos || test ! -s conftest.err' 30891.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30901.61Schristos (eval $ac_try) 2>&5 30911.61Schristos ac_status=$? 30921.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30931.61Schristos (exit $ac_status); }; } && 30941.61Schristos { ac_try='test -s conftest.$ac_objext' 30951.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 30961.61Schristos (eval $ac_try) 2>&5 30971.61Schristos ac_status=$? 30981.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 30991.61Schristos (exit $ac_status); }; }; then 31001.61Schristos ac_header_compiler=yes 31011.61Schristoselse 31021.61Schristos echo "$as_me: failed program was:" >&5 31031.61Schristossed 's/^/| /' conftest.$ac_ext >&5 31041.61Schristos 31051.61Schristosac_header_compiler=no 31061.61Schristosfi 31071.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 31081.61Schristosecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 31091.61Schristosecho "${ECHO_T}$ac_header_compiler" >&6 31101.61Schristos 31111.61Schristos# Is the header present? 31121.61Schristosecho "$as_me:$LINENO: checking zlib.h presence" >&5 31131.61Schristosecho $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 31141.61Schristoscat >conftest.$ac_ext <<_ACEOF 31151.61Schristos/* confdefs.h. */ 31161.61Schristos_ACEOF 31171.61Schristoscat confdefs.h >>conftest.$ac_ext 31181.61Schristoscat >>conftest.$ac_ext <<_ACEOF 31191.61Schristos/* end confdefs.h. */ 31201.61Schristos#include <zlib.h> 31211.61Schristos_ACEOF 31221.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 31231.61Schristos (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 31241.61Schristos ac_status=$? 31251.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 31261.61Schristos rm -f conftest.er1 31271.61Schristos cat conftest.err >&5 31281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 31291.61Schristos (exit $ac_status); } >/dev/null; then 31301.61Schristos if test -s conftest.err; then 31311.61Schristos ac_cpp_err=$ac_c_preproc_warn_flag 31321.61Schristos ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 31331.61Schristos else 31341.61Schristos ac_cpp_err= 31351.61Schristos fi 31361.61Schristoselse 31371.61Schristos ac_cpp_err=yes 31381.61Schristosfi 31391.61Schristosif test -z "$ac_cpp_err"; then 31401.61Schristos ac_header_preproc=yes 31411.61Schristoselse 31421.61Schristos echo "$as_me: failed program was:" >&5 31431.61Schristossed 's/^/| /' conftest.$ac_ext >&5 31441.61Schristos 31451.61Schristos ac_header_preproc=no 31461.61Schristosfi 31471.61Schristosrm -f conftest.err conftest.$ac_ext 31481.61Schristosecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 31491.61Schristosecho "${ECHO_T}$ac_header_preproc" >&6 31501.61Schristos 31511.61Schristos# So? What about this header? 31521.61Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 31531.61Schristos yes:no: ) 31541.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 31551.61Schristosecho "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 31561.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 31571.61Schristosecho "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} 31581.61Schristos ac_header_preproc=yes 31591.61Schristos ;; 31601.61Schristos no:yes:* ) 31611.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 31621.61Schristosecho "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} 31631.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 31641.61Schristosecho "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} 31651.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 31661.61Schristosecho "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} 31671.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 31681.61Schristosecho "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 31691.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 31701.61Schristosecho "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} 31711.61Schristos { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 31721.61Schristosecho "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 31731.61Schristos ( 31741.61Schristos cat <<\_ASBOX 31751.61Schristos## ---------------------------------------- ## 31761.61Schristos## Report this to lib-bug-people@NetBSD.org ## 31771.61Schristos## ---------------------------------------- ## 31781.61Schristos_ASBOX 31791.61Schristos ) | 31801.61Schristos sed "s/^/$as_me: WARNING: /" >&2 31811.61Schristos ;; 31821.61Schristosesac 31831.61Schristosecho "$as_me:$LINENO: checking for zlib.h" >&5 31841.61Schristosecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6 31851.61Schristosif test "${ac_cv_header_zlib_h+set}" = set; then 31861.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 31871.61Schristoselse 31881.61Schristos ac_cv_header_zlib_h=$ac_header_preproc 31891.61Schristosfi 31901.61Schristosecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 31911.61Schristosecho "${ECHO_T}$ac_cv_header_zlib_h" >&6 31921.61Schristos 31931.61Schristosfi 31941.61Schristosif test $ac_cv_header_zlib_h = yes; then 31951.61Schristos : 31961.61Schristoselse 31971.61Schristos { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5 31981.61Schristosecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;} 31991.61Schristos { (exit 1); exit 1; }; } 32001.61Schristosfi 32011.61Schristos 32021.61Schristos 32031.61Schristos 32041.61Schristosecho "$as_me:$LINENO: checking for gzdopen in -lz" >&5 32051.60Sapbecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6 32061.60Sapbif 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.61Schristos/* confdefs.h. */ 32131.61Schristos_ACEOF 32141.61Schristoscat confdefs.h >>conftest.$ac_ext 32151.61Schristoscat >>conftest.$ac_ext <<_ACEOF 32161.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 32351.61Schristos (eval $ac_link) 2>conftest.er1 32361.6Stv ac_status=$? 32371.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 32381.61Schristos rm -f conftest.er1 32391.61Schristos cat conftest.err >&5 32401.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 32411.6Stv (exit $ac_status); } && 32421.61Schristos { ac_try='test -z "$ac_c_werror_flag" 32431.61Schristos || test ! -s conftest.err' 32441.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 32451.61Schristos (eval $ac_try) 2>&5 32461.61Schristos ac_status=$? 32471.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 32481.61Schristos (exit $ac_status); }; } && 32491.61Schristos { ac_try='test -s conftest$ac_exeext' 32501.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 32511.53Sdogcow (eval $ac_try) 2>&5 32521.53Sdogcow ac_status=$? 32531.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 32591.61Schristos 32601.6Stvac_cv_lib_z_gzdopen=no 32611.6Stvfi 32621.61Schristosrm -f conftest.err conftest.$ac_objext \ 32631.61Schristos conftest$ac_exeext conftest.$ac_ext 32641.6StvLIBS=$ac_check_lib_save_LIBS 32651.6Stvfi 32661.61Schristosecho "$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.61Schristos cat >>confdefs.h <<_ACEOF 32701.6Stv#define HAVE_LIBZ 1 32711.61Schristos_ACEOF 32721.4Stv 32731.6Stv LIBS="-lz $LIBS" 32741.6Stv 32751.4Stvelse 32761.61Schristos { { 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.61Schristos 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.61Schristos 32871.61Schristos 32881.61Schristos 32891.61Schristos 32901.61Schristos 32911.61Schristos 32921.61Schristos 32931.61Schristos 32941.61Schristos 32951.61Schristos 32961.61Schristos 32971.61Schristos 32981.61Schristos 32991.61Schristos 33001.61Schristos 33011.61Schristos 33021.61Schristos 33031.61Schristos 33041.61Schristos 33051.61Schristos 33061.61Schristos 33071.61Schristos 33081.61Schristos 33091.61Schristos 33101.61Schristos 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.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 33191.61Schristos 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.61Schristosfi 33241.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 33251.61Schristosecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 33261.61Schristoselse 33271.61Schristos # Is the header compilable? 33281.61Schristosecho "$as_me:$LINENO: checking $ac_header usability" >&5 33291.61Schristosecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 33301.61Schristoscat >conftest.$ac_ext <<_ACEOF 33311.61Schristos/* confdefs.h. */ 33321.61Schristos_ACEOF 33331.61Schristoscat confdefs.h >>conftest.$ac_ext 33341.61Schristoscat >>conftest.$ac_ext <<_ACEOF 33351.61Schristos/* end confdefs.h. */ 33361.61Schristos$ac_includes_default 33371.61Schristos#include <$ac_header> 33381.61Schristos_ACEOF 33391.61Schristosrm -f conftest.$ac_objext 33401.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 33411.61Schristos (eval $ac_compile) 2>conftest.er1 33421.61Schristos ac_status=$? 33431.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 33441.61Schristos rm -f conftest.er1 33451.61Schristos cat conftest.err >&5 33461.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 33471.61Schristos (exit $ac_status); } && 33481.61Schristos { ac_try='test -z "$ac_c_werror_flag" 33491.61Schristos || test ! -s conftest.err' 33501.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 33511.61Schristos (eval $ac_try) 2>&5 33521.61Schristos ac_status=$? 33531.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 33541.61Schristos (exit $ac_status); }; } && 33551.61Schristos { ac_try='test -s conftest.$ac_objext' 33561.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 33571.61Schristos (eval $ac_try) 2>&5 33581.61Schristos ac_status=$? 33591.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 33601.61Schristos (exit $ac_status); }; }; then 33611.61Schristos ac_header_compiler=yes 33621.53Sdogcowelse 33631.61Schristos echo "$as_me: failed program was:" >&5 33641.61Schristossed 's/^/| /' conftest.$ac_ext >&5 33651.61Schristos 33661.61Schristosac_header_compiler=no 33671.61Schristosfi 33681.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 33691.61Schristosecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 33701.61Schristosecho "${ECHO_T}$ac_header_compiler" >&6 33711.61Schristos 33721.61Schristos# Is the header present? 33731.61Schristosecho "$as_me:$LINENO: checking $ac_header presence" >&5 33741.61Schristosecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 33751.61Schristoscat >conftest.$ac_ext <<_ACEOF 33761.61Schristos/* confdefs.h. */ 33771.61Schristos_ACEOF 33781.61Schristoscat confdefs.h >>conftest.$ac_ext 33791.61Schristoscat >>conftest.$ac_ext <<_ACEOF 33801.61Schristos/* end confdefs.h. */ 33811.48Sjmc#include <$ac_header> 33821.48Sjmc_ACEOF 33831.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 33871.4Stv rm -f conftest.er1 33881.4Stv cat conftest.err >&5 33891.61Schristos 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.61Schristos 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.61Schristos ac_header_preproc=yes 34021.6Stvelse 34031.6Stv echo "$as_me: failed program was:" >&5 34041.61Schristossed 's/^/| /' conftest.$ac_ext >&5 34051.61Schristos 34061.61Schristos ac_header_preproc=no 34071.6Stvfi 34081.6Stvrm -f conftest.err conftest.$ac_ext 34091.61Schristosecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 34101.61Schristosecho "${ECHO_T}$ac_header_preproc" >&6 34111.61Schristos 34121.61Schristos# So? What about this header? 34131.61Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 34141.61Schristos yes:no: ) 34151.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 34161.61Schristosecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 34171.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 34181.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 34191.61Schristos ac_header_preproc=yes 34201.61Schristos ;; 34211.61Schristos no:yes:* ) 34221.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 34231.61Schristosecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 34241.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 34251.61Schristosecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 34261.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 34271.61Schristosecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 34281.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 34291.61Schristosecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 34301.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 34311.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 34321.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 34331.61Schristosecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 34341.61Schristos ( 34351.61Schristos cat <<\_ASBOX 34361.61Schristos## ---------------------------------------- ## 34371.61Schristos## Report this to lib-bug-people@NetBSD.org ## 34381.61Schristos## ---------------------------------------- ## 34391.61Schristos_ASBOX 34401.61Schristos ) | 34411.61Schristos sed "s/^/$as_me: WARNING: /" >&2 34421.61Schristos ;; 34431.61Schristosesac 34441.61Schristosecho "$as_me:$LINENO: checking for $ac_header" >&5 34451.61Schristosecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 34461.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 34471.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 34481.61Schristoselse 34491.61Schristos eval "$as_ac_Header=\$ac_header_preproc" 34501.6Stvfi 34511.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 34521.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 34531.61Schristos 34541.61Schristosfi 34551.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 34561.61Schristos cat >>confdefs.h <<_ACEOF 34571.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 34581.61Schristos_ACEOF 34591.6Stv 34601.6Stvelse 34611.61Schristos { { 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.61Schristos 34661.6Stvdone 34671.6Stv 34681.61Schristos 34691.6Stv# Find headers that may not be available. 34701.6Stv 34711.61Schristos 34721.61Schristos 34731.61Schristos 34741.61Schristos 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.61Schristosecho "$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.61Schristos/* confdefs.h. */ 34851.61Schristos_ACEOF 34861.61Schristoscat confdefs.h >>conftest.$ac_ext 34871.61Schristoscat >>conftest.$ac_ext <<_ACEOF 34881.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 35031.61Schristos (eval $ac_compile) 2>conftest.er1 35041.6Stv ac_status=$? 35051.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 35061.61Schristos rm -f conftest.er1 35071.61Schristos cat conftest.err >&5 35081.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 35091.6Stv (exit $ac_status); } && 35101.61Schristos { ac_try='test -z "$ac_c_werror_flag" 35111.61Schristos || test ! -s conftest.err' 35121.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35131.61Schristos (eval $ac_try) 2>&5 35141.61Schristos ac_status=$? 35151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 35161.61Schristos (exit $ac_status); }; } && 35171.61Schristos { ac_try='test -s conftest.$ac_objext' 35181.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35191.50Sjmc (eval $ac_try) 2>&5 35201.50Sjmc ac_status=$? 35211.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 35271.61Schristos 35281.6Stveval "$as_ac_Header=no" 35291.6Stvfi 35301.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 35311.6Stvfi 35321.61Schristosecho "$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.61Schristos cat >>confdefs.h <<_ACEOF 35361.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 35371.61Schristos_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.61Schristos echo "$as_me:$LINENO: checking for library containing opendir" >&5 35461.61Schristosecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 35471.61Schristosif test "${ac_cv_search_opendir+set}" = set; then 35481.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 35491.6Stvelse 35501.61Schristos ac_func_search_save_LIBS=$LIBS 35511.61Schristosac_cv_search_opendir=no 35521.6Stvcat >conftest.$ac_ext <<_ACEOF 35531.61Schristos/* confdefs.h. */ 35541.61Schristos_ACEOF 35551.61Schristoscat confdefs.h >>conftest.$ac_ext 35561.61Schristoscat >>conftest.$ac_ext <<_ACEOF 35571.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 35761.61Schristos (eval $ac_link) 2>conftest.er1 35771.6Stv ac_status=$? 35781.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 35791.61Schristos rm -f conftest.er1 35801.61Schristos cat conftest.err >&5 35811.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 35821.6Stv (exit $ac_status); } && 35831.61Schristos { ac_try='test -z "$ac_c_werror_flag" 35841.61Schristos || test ! -s conftest.err' 35851.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35861.61Schristos (eval $ac_try) 2>&5 35871.61Schristos ac_status=$? 35881.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 35891.61Schristos (exit $ac_status); }; } && 35901.61Schristos { ac_try='test -s conftest$ac_exeext' 35911.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 35921.53Sdogcow (eval $ac_try) 2>&5 35931.53Sdogcow ac_status=$? 35941.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 35951.6Stv (exit $ac_status); }; }; then 35961.61Schristos ac_cv_search_opendir="none required" 35971.6Stvelse 35981.6Stv echo "$as_me: failed program was:" >&5 35991.61Schristossed 's/^/| /' conftest.$ac_ext >&5 36001.61Schristos 36011.60Sapbfi 36021.61Schristosrm -f conftest.err conftest.$ac_objext \ 36031.61Schristos conftest$ac_exeext conftest.$ac_ext 36041.61Schristosif test "$ac_cv_search_opendir" = no; then 36051.61Schristos for ac_lib in dir; do 36061.61Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 36071.61Schristos cat >conftest.$ac_ext <<_ACEOF 36081.61Schristos/* confdefs.h. */ 36091.61Schristos_ACEOF 36101.61Schristoscat confdefs.h >>conftest.$ac_ext 36111.61Schristoscat >>conftest.$ac_ext <<_ACEOF 36121.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 36311.61Schristos (eval $ac_link) 2>conftest.er1 36321.48Sjmc ac_status=$? 36331.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 36341.61Schristos rm -f conftest.er1 36351.61Schristos cat conftest.err >&5 36361.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 36371.48Sjmc (exit $ac_status); } && 36381.61Schristos { ac_try='test -z "$ac_c_werror_flag" 36391.61Schristos || test ! -s conftest.err' 36401.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 36411.61Schristos (eval $ac_try) 2>&5 36421.61Schristos ac_status=$? 36431.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 36441.61Schristos (exit $ac_status); }; } && 36451.61Schristos { ac_try='test -s conftest$ac_exeext' 36461.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 36471.50Sjmc (eval $ac_try) 2>&5 36481.50Sjmc ac_status=$? 36491.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 36501.48Sjmc (exit $ac_status); }; }; then 36511.61Schristos ac_cv_search_opendir="-l$ac_lib" 36521.61Schristosbreak 36531.48Sjmcelse 36541.48Sjmc echo "$as_me: failed program was:" >&5 36551.61Schristossed 's/^/| /' conftest.$ac_ext >&5 36561.61Schristos 36571.48Sjmcfi 36581.61Schristosrm -f conftest.err conftest.$ac_objext \ 36591.61Schristos conftest$ac_exeext conftest.$ac_ext 36601.61Schristos done 36611.48Sjmcfi 36621.61SchristosLIBS=$ac_func_search_save_LIBS 36631.6Stvfi 36641.61Schristosecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 36651.61Schristosecho "${ECHO_T}$ac_cv_search_opendir" >&6 36661.61Schristosif test "$ac_cv_search_opendir" != no; then 36671.61Schristos test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 36681.39Sfredb 36691.6Stvfi 36701.6Stv 36711.61Schristoselse 36721.61Schristos echo "$as_me:$LINENO: checking for library containing opendir" >&5 36731.61Schristosecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 36741.61Schristosif test "${ac_cv_search_opendir+set}" = set; then 36751.6Stv echo $ECHO_N "(cached) $ECHO_C" >&6 36761.48Sjmcelse 36771.61Schristos ac_func_search_save_LIBS=$LIBS 36781.61Schristosac_cv_search_opendir=no 36791.61Schristoscat >conftest.$ac_ext <<_ACEOF 36801.61Schristos/* confdefs.h. */ 36811.61Schristos_ACEOF 36821.61Schristoscat confdefs.h >>conftest.$ac_ext 36831.61Schristoscat >>conftest.$ac_ext <<_ACEOF 36841.61Schristos/* end confdefs.h. */ 36851.61Schristos 36861.61Schristos/* Override any gcc2 internal prototype to avoid an error. */ 36871.61Schristos#ifdef __cplusplus 36881.61Schristosextern "C" 36891.61Schristos#endif 36901.61Schristos/* We use char because int might match the return type of a gcc2 36911.61Schristos builtin and then its argument prototype would still apply. */ 36921.61Schristoschar opendir (); 36931.61Schristosint 36941.61Schristosmain () 36951.61Schristos{ 36961.61Schristosopendir (); 36971.61Schristos ; 36981.61Schristos return 0; 36991.61Schristos} 37001.53Sdogcow_ACEOF 37011.61Schristosrm -f conftest.$ac_objext conftest$ac_exeext 37021.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 37031.61Schristos (eval $ac_link) 2>conftest.er1 37041.6Stv ac_status=$? 37051.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 37061.6Stv rm -f conftest.er1 37071.6Stv cat conftest.err >&5 37081.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37091.61Schristos (exit $ac_status); } && 37101.61Schristos { ac_try='test -z "$ac_c_werror_flag" 37111.61Schristos || test ! -s conftest.err' 37121.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37131.61Schristos (eval $ac_try) 2>&5 37141.61Schristos ac_status=$? 37151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37161.61Schristos (exit $ac_status); }; } && 37171.61Schristos { ac_try='test -s conftest$ac_exeext' 37181.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37191.61Schristos (eval $ac_try) 2>&5 37201.61Schristos ac_status=$? 37211.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37221.61Schristos (exit $ac_status); }; }; then 37231.61Schristos ac_cv_search_opendir="none required" 37241.6Stvelse 37251.6Stv echo "$as_me: failed program was:" >&5 37261.61Schristossed 's/^/| /' conftest.$ac_ext >&5 37271.6Stv 37281.6Stvfi 37291.61Schristosrm -f conftest.err conftest.$ac_objext \ 37301.61Schristos conftest$ac_exeext conftest.$ac_ext 37311.61Schristosif test "$ac_cv_search_opendir" = no; then 37321.61Schristos for ac_lib in x; do 37331.61Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 37341.61Schristos cat >conftest.$ac_ext <<_ACEOF 37351.61Schristos/* confdefs.h. */ 37361.61Schristos_ACEOF 37371.61Schristoscat confdefs.h >>conftest.$ac_ext 37381.61Schristoscat >>conftest.$ac_ext <<_ACEOF 37391.61Schristos/* end confdefs.h. */ 37401.6Stv 37411.61Schristos/* Override any gcc2 internal prototype to avoid an error. */ 37421.61Schristos#ifdef __cplusplus 37431.61Schristosextern "C" 37441.61Schristos#endif 37451.61Schristos/* We use char because int might match the return type of a gcc2 37461.61Schristos builtin and then its argument prototype would still apply. */ 37471.61Schristoschar opendir (); 37481.61Schristosint 37491.61Schristosmain () 37501.61Schristos{ 37511.61Schristosopendir (); 37521.61Schristos ; 37531.61Schristos return 0; 37541.61Schristos} 37551.61Schristos_ACEOF 37561.61Schristosrm -f conftest.$ac_objext conftest$ac_exeext 37571.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 37581.61Schristos (eval $ac_link) 2>conftest.er1 37591.61Schristos ac_status=$? 37601.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 37611.61Schristos rm -f conftest.er1 37621.61Schristos cat conftest.err >&5 37631.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37641.61Schristos (exit $ac_status); } && 37651.61Schristos { ac_try='test -z "$ac_c_werror_flag" 37661.61Schristos || test ! -s conftest.err' 37671.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37681.61Schristos (eval $ac_try) 2>&5 37691.61Schristos ac_status=$? 37701.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37711.61Schristos (exit $ac_status); }; } && 37721.61Schristos { ac_try='test -s conftest$ac_exeext' 37731.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 37741.61Schristos (eval $ac_try) 2>&5 37751.61Schristos ac_status=$? 37761.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 37771.61Schristos (exit $ac_status); }; }; then 37781.61Schristos ac_cv_search_opendir="-l$ac_lib" 37791.61Schristosbreak 37801.61Schristoselse 37811.61Schristos echo "$as_me: failed program was:" >&5 37821.61Schristossed 's/^/| /' conftest.$ac_ext >&5 37831.61Schristos 37841.61Schristosfi 37851.61Schristosrm -f conftest.err conftest.$ac_objext \ 37861.61Schristos conftest$ac_exeext conftest.$ac_ext 37871.61Schristos done 37881.61Schristosfi 37891.61SchristosLIBS=$ac_func_search_save_LIBS 37901.61Schristosfi 37911.61Schristosecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 37921.61Schristosecho "${ECHO_T}$ac_cv_search_opendir" >&6 37931.61Schristosif test "$ac_cv_search_opendir" != no; then 37941.61Schristos test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 37951.61Schristos 37961.61Schristosfi 37971.61Schristos 37981.61Schristosfi 37991.61Schristos 38001.61Schristos 38011.61Schristos 38021.61Schristos 38031.61Schristos 38041.61Schristos 38051.61Schristos 38061.61Schristos 38071.61Schristosfor ac_header in sys/sysmacros.h sys/syslimits.h \ 38081.61Schristos getopt.h features.h malloc.h sys/poll.h stddef.h 38091.60Sapbdo 38101.60Sapbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 38111.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 38121.61Schristos echo "$as_me:$LINENO: checking for $ac_header" >&5 38131.60Sapbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 38141.60Sapbif eval "test \"\${$as_ac_Header+set}\" = set"; then 38151.39Sfredb echo $ECHO_N "(cached) $ECHO_C" >&6 38161.61Schristosfi 38171.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 38181.61Schristosecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 38191.61Schristoselse 38201.61Schristos # Is the header compilable? 38211.61Schristosecho "$as_me:$LINENO: checking $ac_header usability" >&5 38221.61Schristosecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 38231.61Schristoscat >conftest.$ac_ext <<_ACEOF 38241.61Schristos/* confdefs.h. */ 38251.61Schristos_ACEOF 38261.61Schristoscat confdefs.h >>conftest.$ac_ext 38271.61Schristoscat >>conftest.$ac_ext <<_ACEOF 38281.61Schristos/* end confdefs.h. */ 38291.61Schristos$ac_includes_default 38301.61Schristos#include <$ac_header> 38311.61Schristos_ACEOF 38321.61Schristosrm -f conftest.$ac_objext 38331.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 38341.61Schristos (eval $ac_compile) 2>conftest.er1 38351.61Schristos ac_status=$? 38361.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 38371.61Schristos rm -f conftest.er1 38381.61Schristos cat conftest.err >&5 38391.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 38401.61Schristos (exit $ac_status); } && 38411.61Schristos { ac_try='test -z "$ac_c_werror_flag" 38421.61Schristos || test ! -s conftest.err' 38431.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 38441.61Schristos (eval $ac_try) 2>&5 38451.61Schristos ac_status=$? 38461.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 38471.61Schristos (exit $ac_status); }; } && 38481.61Schristos { ac_try='test -s conftest.$ac_objext' 38491.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 38501.61Schristos (eval $ac_try) 2>&5 38511.61Schristos ac_status=$? 38521.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 38531.61Schristos (exit $ac_status); }; }; then 38541.61Schristos ac_header_compiler=yes 38551.53Sdogcowelse 38561.61Schristos echo "$as_me: failed program was:" >&5 38571.61Schristossed 's/^/| /' conftest.$ac_ext >&5 38581.61Schristos 38591.61Schristosac_header_compiler=no 38601.61Schristosfi 38611.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 38621.61Schristosecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 38631.61Schristosecho "${ECHO_T}$ac_header_compiler" >&6 38641.61Schristos 38651.61Schristos# Is the header present? 38661.61Schristosecho "$as_me:$LINENO: checking $ac_header presence" >&5 38671.61Schristosecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 38681.61Schristoscat >conftest.$ac_ext <<_ACEOF 38691.61Schristos/* confdefs.h. */ 38701.61Schristos_ACEOF 38711.61Schristoscat confdefs.h >>conftest.$ac_ext 38721.61Schristoscat >>conftest.$ac_ext <<_ACEOF 38731.61Schristos/* end confdefs.h. */ 38741.48Sjmc#include <$ac_header> 38751.48Sjmc_ACEOF 38761.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 38801.6Stv rm -f conftest.er1 38811.6Stv cat conftest.err >&5 38821.61Schristos 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.61Schristos 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.61Schristos ac_header_preproc=yes 38951.6Stvelse 38961.6Stv echo "$as_me: failed program was:" >&5 38971.61Schristossed 's/^/| /' conftest.$ac_ext >&5 38981.61Schristos 38991.61Schristos ac_header_preproc=no 39001.6Stvfi 39011.6Stvrm -f conftest.err conftest.$ac_ext 39021.61Schristosecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 39031.61Schristosecho "${ECHO_T}$ac_header_preproc" >&6 39041.61Schristos 39051.61Schristos# So? What about this header? 39061.61Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 39071.61Schristos yes:no: ) 39081.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 39091.61Schristosecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 39101.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 39111.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 39121.61Schristos ac_header_preproc=yes 39131.61Schristos ;; 39141.61Schristos no:yes:* ) 39151.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 39161.61Schristosecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 39171.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 39181.61Schristosecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 39191.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 39201.61Schristosecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 39211.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 39221.61Schristosecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 39231.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 39241.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 39251.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 39261.61Schristosecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 39271.61Schristos ( 39281.61Schristos cat <<\_ASBOX 39291.61Schristos## ---------------------------------------- ## 39301.61Schristos## Report this to lib-bug-people@NetBSD.org ## 39311.61Schristos## ---------------------------------------- ## 39321.61Schristos_ASBOX 39331.61Schristos ) | 39341.61Schristos sed "s/^/$as_me: WARNING: /" >&2 39351.61Schristos ;; 39361.61Schristosesac 39371.61Schristosecho "$as_me:$LINENO: checking for $ac_header" >&5 39381.61Schristosecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 39391.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 39401.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 39411.61Schristoselse 39421.61Schristos eval "$as_ac_Header=\$ac_header_preproc" 39431.6Stvfi 39441.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 39451.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 39461.61Schristos 39471.61Schristosfi 39481.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then 39491.61Schristos cat >>confdefs.h <<_ACEOF 39501.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 39511.61Schristos_ACEOF 39521.6Stv 39531.6Stvfi 39541.61Schristos 39551.6Stvdone 39561.6Stv 39571.61Schristos 39581.61Schristos 39591.61Schristos 39601.61Schristos 39611.61Schristos 39621.61Schristos 39631.61Schristos 39641.61Schristos 39651.61Schristos 39661.61Schristos 39671.61Schristos 39681.61Schristosfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \ 39691.61Schristos 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.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 39731.61Schristos 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.61Schristosfi 39781.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 39791.61Schristosecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 39801.61Schristoselse 39811.61Schristos # Is the header compilable? 39821.61Schristosecho "$as_me:$LINENO: checking $ac_header usability" >&5 39831.61Schristosecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 39841.61Schristoscat >conftest.$ac_ext <<_ACEOF 39851.61Schristos/* confdefs.h. */ 39861.61Schristos_ACEOF 39871.61Schristoscat confdefs.h >>conftest.$ac_ext 39881.61Schristoscat >>conftest.$ac_ext <<_ACEOF 39891.61Schristos/* end confdefs.h. */ 39901.61Schristos$ac_includes_default 39911.61Schristos#include <$ac_header> 39921.61Schristos_ACEOF 39931.61Schristosrm -f conftest.$ac_objext 39941.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 39951.61Schristos (eval $ac_compile) 2>conftest.er1 39961.61Schristos ac_status=$? 39971.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 39981.61Schristos rm -f conftest.er1 39991.61Schristos cat conftest.err >&5 40001.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 40011.61Schristos (exit $ac_status); } && 40021.61Schristos { ac_try='test -z "$ac_c_werror_flag" 40031.61Schristos || test ! -s conftest.err' 40041.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 40051.61Schristos (eval $ac_try) 2>&5 40061.61Schristos ac_status=$? 40071.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 40081.61Schristos (exit $ac_status); }; } && 40091.61Schristos { ac_try='test -s conftest.$ac_objext' 40101.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 40111.61Schristos (eval $ac_try) 2>&5 40121.61Schristos ac_status=$? 40131.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 40141.61Schristos (exit $ac_status); }; }; then 40151.61Schristos ac_header_compiler=yes 40161.53Sdogcowelse 40171.61Schristos echo "$as_me: failed program was:" >&5 40181.61Schristossed 's/^/| /' conftest.$ac_ext >&5 40191.61Schristos 40201.61Schristosac_header_compiler=no 40211.61Schristosfi 40221.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 40231.61Schristosecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 40241.61Schristosecho "${ECHO_T}$ac_header_compiler" >&6 40251.61Schristos 40261.61Schristos# Is the header present? 40271.61Schristosecho "$as_me:$LINENO: checking $ac_header presence" >&5 40281.61Schristosecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 40291.61Schristoscat >conftest.$ac_ext <<_ACEOF 40301.61Schristos/* confdefs.h. */ 40311.61Schristos_ACEOF 40321.61Schristoscat confdefs.h >>conftest.$ac_ext 40331.61Schristoscat >>conftest.$ac_ext <<_ACEOF 40341.61Schristos/* end confdefs.h. */ 40351.7Stv#include <$ac_header> 40361.7Stv_ACEOF 40371.61Schristosif { (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.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 40411.7Stv rm -f conftest.er1 40421.7Stv cat conftest.err >&5 40431.61Schristos 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.61Schristos 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.61Schristos ac_header_preproc=yes 40561.7Stvelse 40571.7Stv echo "$as_me: failed program was:" >&5 40581.61Schristossed 's/^/| /' conftest.$ac_ext >&5 40591.61Schristos 40601.61Schristos ac_header_preproc=no 40611.43Sdbjfi 40621.43Sdbjrm -f conftest.err conftest.$ac_ext 40631.61Schristosecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 40641.61Schristosecho "${ECHO_T}$ac_header_preproc" >&6 40651.61Schristos 40661.61Schristos# So? What about this header? 40671.61Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 40681.61Schristos yes:no: ) 40691.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 40701.61Schristosecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 40711.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 40721.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 40731.61Schristos ac_header_preproc=yes 40741.61Schristos ;; 40751.61Schristos no:yes:* ) 40761.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 40771.61Schristosecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 40781.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 40791.61Schristosecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 40801.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 40811.61Schristosecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 40821.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 40831.61Schristosecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 40841.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 40851.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 40861.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 40871.61Schristosecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 40881.61Schristos ( 40891.61Schristos cat <<\_ASBOX 40901.61Schristos## ---------------------------------------- ## 40911.61Schristos## Report this to lib-bug-people@NetBSD.org ## 40921.61Schristos## ---------------------------------------- ## 40931.61Schristos_ASBOX 40941.61Schristos ) | 40951.61Schristos sed "s/^/$as_me: WARNING: /" >&2 40961.61Schristos ;; 40971.61Schristosesac 40981.61Schristosecho "$as_me:$LINENO: checking for $ac_header" >&5 40991.61Schristosecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 41001.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 41011.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 41021.61Schristoselse 41031.61Schristos eval "$as_ac_Header=\$ac_header_preproc" 41041.43Sdbjfi 41051.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 41061.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 41071.61Schristos 41081.61Schristosfi 41091.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then 41101.61Schristos cat >>confdefs.h <<_ACEOF 41111.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 41121.61Schristos_ACEOF 41131.39Sfredb 41141.43Sdbjelse 41151.61Schristos test -f include/$ac_header || touch include/$ac_header 41161.7Stvfi 41171.61Schristos 41181.52Sdbjdone 41191.52Sdbj 41201.52Sdbj 41211.61Schristos 41221.61Schristosfor ac_header in rpc/types.h netconfig.h 41231.52Sdbjdo 41241.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 41251.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 41261.61Schristos 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.61Schristosfi 41311.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 41321.61Schristosecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 41331.52Sdbjelse 41341.61Schristos # Is the header compilable? 41351.61Schristosecho "$as_me:$LINENO: checking $ac_header usability" >&5 41361.61Schristosecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 41371.61Schristoscat >conftest.$ac_ext <<_ACEOF 41381.61Schristos/* confdefs.h. */ 41391.61Schristos_ACEOF 41401.61Schristoscat confdefs.h >>conftest.$ac_ext 41411.61Schristoscat >>conftest.$ac_ext <<_ACEOF 41421.61Schristos/* end confdefs.h. */ 41431.52Sdbj$ac_includes_default 41441.52Sdbj#include <$ac_header> 41451.52Sdbj_ACEOF 41461.52Sdbjrm -f conftest.$ac_objext 41471.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 41481.61Schristos (eval $ac_compile) 2>conftest.er1 41491.52Sdbj ac_status=$? 41501.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 41511.61Schristos rm -f conftest.er1 41521.61Schristos cat conftest.err >&5 41531.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 41541.52Sdbj (exit $ac_status); } && 41551.61Schristos { ac_try='test -z "$ac_c_werror_flag" 41561.61Schristos || test ! -s conftest.err' 41571.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 41581.52Sdbj (eval $ac_try) 2>&5 41591.52Sdbj ac_status=$? 41601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 41611.61Schristos (exit $ac_status); }; } && 41621.61Schristos { ac_try='test -s conftest.$ac_objext' 41631.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 41641.61Schristos (eval $ac_try) 2>&5 41651.61Schristos ac_status=$? 41661.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 41671.52Sdbj (exit $ac_status); }; }; then 41681.61Schristos ac_header_compiler=yes 41691.61Schristoselse 41701.61Schristos echo "$as_me: failed program was:" >&5 41711.61Schristossed 's/^/| /' conftest.$ac_ext >&5 41721.61Schristos 41731.61Schristosac_header_compiler=no 41741.61Schristosfi 41751.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 41761.61Schristosecho "$as_me:$LINENO: result: $ac_header_compiler" >&5 41771.61Schristosecho "${ECHO_T}$ac_header_compiler" >&6 41781.61Schristos 41791.61Schristos# Is the header present? 41801.61Schristosecho "$as_me:$LINENO: checking $ac_header presence" >&5 41811.61Schristosecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 41821.61Schristoscat >conftest.$ac_ext <<_ACEOF 41831.61Schristos/* confdefs.h. */ 41841.61Schristos_ACEOF 41851.61Schristoscat confdefs.h >>conftest.$ac_ext 41861.61Schristoscat >>conftest.$ac_ext <<_ACEOF 41871.61Schristos/* end confdefs.h. */ 41881.61Schristos#include <$ac_header> 41891.61Schristos_ACEOF 41901.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 41911.61Schristos (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 41921.61Schristos ac_status=$? 41931.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 41941.61Schristos rm -f conftest.er1 41951.61Schristos cat conftest.err >&5 41961.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 41971.61Schristos (exit $ac_status); } >/dev/null; then 41981.61Schristos if test -s conftest.err; then 41991.61Schristos ac_cpp_err=$ac_c_preproc_warn_flag 42001.61Schristos ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 42011.61Schristos else 42021.61Schristos ac_cpp_err= 42031.61Schristos fi 42041.61Schristoselse 42051.61Schristos ac_cpp_err=yes 42061.61Schristosfi 42071.61Schristosif test -z "$ac_cpp_err"; then 42081.61Schristos ac_header_preproc=yes 42091.53Sdogcowelse 42101.53Sdogcow echo "$as_me: failed program was:" >&5 42111.61Schristossed 's/^/| /' conftest.$ac_ext >&5 42121.61Schristos 42131.61Schristos ac_header_preproc=no 42141.52Sdbjfi 42151.61Schristosrm -f conftest.err conftest.$ac_ext 42161.61Schristosecho "$as_me:$LINENO: result: $ac_header_preproc" >&5 42171.61Schristosecho "${ECHO_T}$ac_header_preproc" >&6 42181.61Schristos 42191.61Schristos# So? What about this header? 42201.61Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 42211.61Schristos yes:no: ) 42221.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 42231.61Schristosecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 42241.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 42251.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 42261.61Schristos ac_header_preproc=yes 42271.61Schristos ;; 42281.61Schristos no:yes:* ) 42291.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 42301.61Schristosecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 42311.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 42321.61Schristosecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 42331.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 42341.61Schristosecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 42351.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 42361.61Schristosecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 42371.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 42381.61Schristosecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 42391.61Schristos { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 42401.61Schristosecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 42411.61Schristos ( 42421.61Schristos cat <<\_ASBOX 42431.61Schristos## ---------------------------------------- ## 42441.61Schristos## Report this to lib-bug-people@NetBSD.org ## 42451.61Schristos## ---------------------------------------- ## 42461.61Schristos_ASBOX 42471.61Schristos ) | 42481.61Schristos sed "s/^/$as_me: WARNING: /" >&2 42491.61Schristos ;; 42501.61Schristosesac 42511.61Schristosecho "$as_me:$LINENO: checking for $ac_header" >&5 42521.61Schristosecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6 42531.61Schristosif eval "test \"\${$as_ac_Header+set}\" = set"; then 42541.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 42551.61Schristoselse 42561.61Schristos eval "$as_ac_Header=\$ac_header_preproc" 42571.52Sdbjfi 42581.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 42591.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 42601.61Schristos 42611.61Schristosfi 42621.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then 42631.61Schristos cat >>confdefs.h <<_ACEOF 42641.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 42651.61Schristos_ACEOF 42661.48Sjmc 42671.61Schristoselse 42681.61Schristos echo '#include "nbtool_config.h"' >include/$ac_header.new 42691.61Schristos echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new 42701.61Schristos if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 42711.61Schristos rm -f include/$ac_header.new 42721.61Schristos else 42731.61Schristos mv -f include/$ac_header.new include/$ac_header 42741.61Schristos fi 42751.52Sdbjfi 42761.61Schristos 42771.43Sdbjdone 42781.43Sdbj 42791.61Schristos 42801.61Schristos# Typedefs. 42811.61Schristosecho "$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.61Schristos/* confdefs.h. */ 42881.61Schristos_ACEOF 42891.61Schristoscat confdefs.h >>conftest.$ac_ext 42901.61Schristoscat >>conftest.$ac_ext <<_ACEOF 42911.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 43061.61Schristos (eval $ac_compile) 2>conftest.er1 43071.6Stv ac_status=$? 43081.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 43091.61Schristos rm -f conftest.er1 43101.61Schristos cat conftest.err >&5 43111.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 43121.6Stv (exit $ac_status); } && 43131.61Schristos { ac_try='test -z "$ac_c_werror_flag" 43141.61Schristos || test ! -s conftest.err' 43151.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43161.61Schristos (eval $ac_try) 2>&5 43171.61Schristos ac_status=$? 43181.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 43191.61Schristos (exit $ac_status); }; } && 43201.61Schristos { ac_try='test -s conftest.$ac_objext' 43211.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43221.53Sdogcow (eval $ac_try) 2>&5 43231.53Sdogcow ac_status=$? 43241.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 43301.61Schristos 43311.6Stvac_cv_type_size_t=no 43321.6Stvfi 43331.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 43341.6Stvfi 43351.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 43421.6Stv#define size_t unsigned 43431.61Schristos_ACEOF 43441.6Stv 43451.6Stvfi 43461.6Stv 43471.61Schristosecho "$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.61Schristos/* confdefs.h. */ 43541.61Schristos_ACEOF 43551.61Schristoscat confdefs.h >>conftest.$ac_ext 43561.61Schristoscat >>conftest.$ac_ext <<_ACEOF 43571.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 43721.61Schristos (eval $ac_compile) 2>conftest.er1 43731.6Stv ac_status=$? 43741.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 43751.61Schristos rm -f conftest.er1 43761.61Schristos cat conftest.err >&5 43771.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 43781.6Stv (exit $ac_status); } && 43791.61Schristos { ac_try='test -z "$ac_c_werror_flag" 43801.61Schristos || test ! -s conftest.err' 43811.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43821.61Schristos (eval $ac_try) 2>&5 43831.61Schristos ac_status=$? 43841.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 43851.61Schristos (exit $ac_status); }; } && 43861.61Schristos { ac_try='test -s conftest.$ac_objext' 43871.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 43881.53Sdogcow (eval $ac_try) 2>&5 43891.53Sdogcow ac_status=$? 43901.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 43961.61Schristos 43971.6Stvac_cv_type_id_t=no 43981.6Stvfi 43991.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 44001.6Stvfi 44011.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 44061.6Stv#define HAVE_ID_T 1 44071.61Schristos_ACEOF 44081.61Schristos 44091.6Stv 44101.6Stvfi 44111.61Schristosecho "$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.61Schristos/* confdefs.h. */ 44181.61Schristos_ACEOF 44191.61Schristoscat confdefs.h >>conftest.$ac_ext 44201.61Schristoscat >>conftest.$ac_ext <<_ACEOF 44211.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 44361.61Schristos (eval $ac_compile) 2>conftest.er1 44371.6Stv ac_status=$? 44381.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 44391.61Schristos rm -f conftest.er1 44401.61Schristos cat conftest.err >&5 44411.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 44421.6Stv (exit $ac_status); } && 44431.61Schristos { ac_try='test -z "$ac_c_werror_flag" 44441.61Schristos || test ! -s conftest.err' 44451.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 44461.48Sjmc (eval $ac_try) 2>&5 44471.48Sjmc ac_status=$? 44481.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 44491.61Schristos (exit $ac_status); }; } && 44501.61Schristos { ac_try='test -s conftest.$ac_objext' 44511.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 44521.61Schristos (eval $ac_try) 2>&5 44531.61Schristos ac_status=$? 44541.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 44601.61Schristos 44611.6Stvac_cv_type_long_long=no 44621.6Stvfi 44631.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 44641.6Stvfi 44651.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 44701.52Sdbj#define HAVE_LONG_LONG 1 44711.61Schristos_ACEOF 44721.61Schristos 44731.6Stv 44741.6Stvfi 44751.61Schristosecho "$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.61Schristos/* confdefs.h. */ 44821.61Schristos_ACEOF 44831.61Schristoscat confdefs.h >>conftest.$ac_ext 44841.61Schristoscat >>conftest.$ac_ext <<_ACEOF 44851.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 45001.61Schristos (eval $ac_compile) 2>conftest.er1 45011.38Sfredb ac_status=$? 45021.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 45031.61Schristos rm -f conftest.er1 45041.61Schristos cat conftest.err >&5 45051.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 45061.38Sfredb (exit $ac_status); } && 45071.61Schristos { ac_try='test -z "$ac_c_werror_flag" 45081.61Schristos || test ! -s conftest.err' 45091.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45101.61Schristos (eval $ac_try) 2>&5 45111.61Schristos ac_status=$? 45121.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 45131.61Schristos (exit $ac_status); }; } && 45141.61Schristos { ac_try='test -s conftest.$ac_objext' 45151.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45161.38Sfredb (eval $ac_try) 2>&5 45171.38Sfredb ac_status=$? 45181.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 45241.61Schristos 45251.38Sfredbac_cv_type_u_long=no 45261.38Sfredbfi 45271.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 45281.38Sfredbfi 45291.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 45341.38Sfredb#define HAVE_U_LONG 1 45351.61Schristos_ACEOF 45361.61Schristos 45371.39Sfredb 45381.38Sfredbfi 45391.61Schristosecho "$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.61Schristos/* confdefs.h. */ 45461.61Schristos_ACEOF 45471.61Schristoscat confdefs.h >>conftest.$ac_ext 45481.61Schristoscat >>conftest.$ac_ext <<_ACEOF 45491.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 45641.61Schristos (eval $ac_compile) 2>conftest.er1 45651.45Sjmc ac_status=$? 45661.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 45671.61Schristos rm -f conftest.er1 45681.61Schristos cat conftest.err >&5 45691.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 45701.45Sjmc (exit $ac_status); } && 45711.61Schristos { ac_try='test -z "$ac_c_werror_flag" 45721.61Schristos || test ! -s conftest.err' 45731.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45741.61Schristos (eval $ac_try) 2>&5 45751.61Schristos ac_status=$? 45761.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 45771.61Schristos (exit $ac_status); }; } && 45781.61Schristos { ac_try='test -s conftest.$ac_objext' 45791.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 45801.53Sdogcow (eval $ac_try) 2>&5 45811.53Sdogcow ac_status=$? 45821.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 45881.61Schristos 45891.45Sjmcac_cv_type_u_char=no 45901.45Sjmcfi 45911.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 45921.45Sjmcfi 45931.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 45981.45Sjmc#define HAVE_U_CHAR 1 45991.61Schristos_ACEOF 46001.61Schristos 46011.45Sjmc 46021.45Sjmcfi 46031.61Schristosecho "$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.61Schristos/* confdefs.h. */ 46101.61Schristos_ACEOF 46111.61Schristoscat confdefs.h >>conftest.$ac_ext 46121.61Schristoscat >>conftest.$ac_ext <<_ACEOF 46131.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 46281.61Schristos (eval $ac_compile) 2>conftest.er1 46291.45Sjmc ac_status=$? 46301.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 46311.61Schristos rm -f conftest.er1 46321.61Schristos cat conftest.err >&5 46331.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 46341.45Sjmc (exit $ac_status); } && 46351.61Schristos { ac_try='test -z "$ac_c_werror_flag" 46361.61Schristos || test ! -s conftest.err' 46371.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 46381.53Sdogcow (eval $ac_try) 2>&5 46391.53Sdogcow ac_status=$? 46401.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 46411.61Schristos (exit $ac_status); }; } && 46421.61Schristos { ac_try='test -s conftest.$ac_objext' 46431.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 46441.61Schristos (eval $ac_try) 2>&5 46451.61Schristos ac_status=$? 46461.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 46521.61Schristos 46531.45Sjmcac_cv_type_u_short=no 46541.45Sjmcfi 46551.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 46561.45Sjmcfi 46571.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 46621.45Sjmc#define HAVE_U_SHORT 1 46631.61Schristos_ACEOF 46641.61Schristos 46651.45Sjmc 46661.45Sjmcfi 46671.61Schristosecho "$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.61Schristos/* confdefs.h. */ 46741.61Schristos_ACEOF 46751.61Schristoscat confdefs.h >>conftest.$ac_ext 46761.61Schristoscat >>conftest.$ac_ext <<_ACEOF 46771.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 46921.61Schristos (eval $ac_compile) 2>conftest.er1 46931.45Sjmc ac_status=$? 46941.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 46951.61Schristos rm -f conftest.er1 46961.61Schristos cat conftest.err >&5 46971.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 46981.45Sjmc (exit $ac_status); } && 46991.61Schristos { ac_try='test -z "$ac_c_werror_flag" 47001.61Schristos || test ! -s conftest.err' 47011.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47021.50Sjmc (eval $ac_try) 2>&5 47031.50Sjmc ac_status=$? 47041.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 47051.61Schristos (exit $ac_status); }; } && 47061.61Schristos { ac_try='test -s conftest.$ac_objext' 47071.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47081.61Schristos (eval $ac_try) 2>&5 47091.61Schristos ac_status=$? 47101.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 47161.61Schristos 47171.45Sjmcac_cv_type_u_int=no 47181.45Sjmcfi 47191.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 47201.45Sjmcfi 47211.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 47261.45Sjmc#define HAVE_U_INT 1 47271.61Schristos_ACEOF 47281.61Schristos 47291.45Sjmc 47301.45Sjmcfi 47311.61Schristosecho "$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.61Schristos/* confdefs.h. */ 47381.61Schristos_ACEOF 47391.61Schristoscat confdefs.h >>conftest.$ac_ext 47401.61Schristoscat >>conftest.$ac_ext <<_ACEOF 47411.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 47561.61Schristos (eval $ac_compile) 2>conftest.er1 47571.7Stv ac_status=$? 47581.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 47591.61Schristos rm -f conftest.er1 47601.61Schristos cat conftest.err >&5 47611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 47621.7Stv (exit $ac_status); } && 47631.61Schristos { ac_try='test -z "$ac_c_werror_flag" 47641.61Schristos || test ! -s conftest.err' 47651.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47661.61Schristos (eval $ac_try) 2>&5 47671.61Schristos ac_status=$? 47681.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 47691.61Schristos (exit $ac_status); }; } && 47701.61Schristos { ac_try='test -s conftest.$ac_objext' 47711.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 47721.48Sjmc (eval $ac_try) 2>&5 47731.48Sjmc ac_status=$? 47741.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 47801.61Schristos 47811.7Stvac_cv_type_u_quad_t=no 47821.7Stvfi 47831.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 47841.7Stvfi 47851.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 47901.7Stv#define HAVE_U_QUAD_T 1 47911.61Schristos_ACEOF 47921.61Schristos 47931.7Stv 47941.7Stvfi 47951.35Sthorpej 47961.61Schristosecho "$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.61Schristos/* confdefs.h. */ 48031.61Schristos_ACEOF 48041.61Schristoscat confdefs.h >>conftest.$ac_ext 48051.61Schristoscat >>conftest.$ac_ext <<_ACEOF 48061.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 48231.61Schristos (eval $ac_compile) 2>conftest.er1 48241.34Sthorpej ac_status=$? 48251.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 48261.61Schristos rm -f conftest.er1 48271.61Schristos cat conftest.err >&5 48281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 48291.34Sthorpej (exit $ac_status); } && 48301.61Schristos { ac_try='test -z "$ac_c_werror_flag" 48311.61Schristos || test ! -s conftest.err' 48321.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 48331.61Schristos (eval $ac_try) 2>&5 48341.61Schristos ac_status=$? 48351.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 48361.61Schristos (exit $ac_status); }; } && 48371.61Schristos { ac_try='test -s conftest.$ac_objext' 48381.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 48391.53Sdogcow (eval $ac_try) 2>&5 48401.53Sdogcow ac_status=$? 48411.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 48471.61Schristos 48481.34Sthorpejac_cv_type_socklen_t=no 48491.34Sthorpejfi 48501.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 48511.34Sthorpejfi 48521.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 48571.34Sthorpej#define HAVE_SOCKLEN_T 1 48581.61Schristos_ACEOF 48591.34Sthorpej 48601.34Sthorpejfi 48611.34Sthorpej 48621.61Schristos 48631.61Schristos 48641.61Schristos 48651.61Schristos 48661.61Schristos 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.61Schristos/* confdefs.h. */ 48731.61Schristos_ACEOF 48741.61Schristoscat confdefs.h >>conftest.$ac_ext 48751.61Schristoscat >>conftest.$ac_ext <<_ACEOF 48761.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 48911.61Schristos (eval $ac_compile) 2>conftest.er1 48921.6Stv ac_status=$? 48931.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 48941.61Schristos rm -f conftest.er1 48951.61Schristos cat conftest.err >&5 48961.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 48971.6Stv (exit $ac_status); } && 48981.61Schristos { ac_try='test -z "$ac_c_werror_flag" 48991.61Schristos || test ! -s conftest.err' 49001.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49011.61Schristos (eval $ac_try) 2>&5 49021.61Schristos ac_status=$? 49031.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 49041.61Schristos (exit $ac_status); }; } && 49051.61Schristos { ac_try='test -s conftest.$ac_objext' 49061.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49071.53Sdogcow (eval $ac_try) 2>&5 49081.53Sdogcow ac_status=$? 49091.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 49151.61Schristos 49161.9Stvac_cv_type_uint8_t=no 49171.9Stvfi 49181.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 49191.9Stvfi 49201.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 49331.61Schristos_ACEOF 49341.61Schristoscat confdefs.h >>conftest.$ac_ext 49351.61Schristoscat >>conftest.$ac_ext <<_ACEOF 49361.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 49511.61Schristos (eval $ac_compile) 2>conftest.er1 49521.9Stv ac_status=$? 49531.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 49541.61Schristos rm -f conftest.er1 49551.61Schristos cat conftest.err >&5 49561.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 49571.9Stv (exit $ac_status); } && 49581.61Schristos { ac_try='test -z "$ac_c_werror_flag" 49591.61Schristos || test ! -s conftest.err' 49601.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49611.61Schristos (eval $ac_try) 2>&5 49621.61Schristos ac_status=$? 49631.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 49641.61Schristos (exit $ac_status); }; } && 49651.61Schristos { ac_try='test -s conftest.$ac_objext' 49661.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 49671.48Sjmc (eval $ac_try) 2>&5 49681.48Sjmc ac_status=$? 49691.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 49751.61Schristos 49761.6Stvac_cv_type_u_int8_t=no 49771.6Stvfi 49781.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 49791.6Stvfi 49801.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 49851.9Stv#define uint8_t u_int8_t 49861.61Schristos_ACEOF 49871.9Stv 49881.9Stvelse 49891.61Schristos { { 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.61Schristos 49951.9Stvfi 49961.9Stv 49971.61Schristos 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.61Schristos/* confdefs.h. */ 50041.61Schristos_ACEOF 50051.61Schristoscat confdefs.h >>conftest.$ac_ext 50061.61Schristoscat >>conftest.$ac_ext <<_ACEOF 50071.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 50221.61Schristos (eval $ac_compile) 2>conftest.er1 50231.9Stv ac_status=$? 50241.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 50251.61Schristos rm -f conftest.er1 50261.61Schristos cat conftest.err >&5 50271.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 50281.9Stv (exit $ac_status); } && 50291.61Schristos { ac_try='test -z "$ac_c_werror_flag" 50301.61Schristos || test ! -s conftest.err' 50311.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50321.61Schristos (eval $ac_try) 2>&5 50331.61Schristos ac_status=$? 50341.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 50351.61Schristos (exit $ac_status); }; } && 50361.61Schristos { ac_try='test -s conftest.$ac_objext' 50371.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50381.53Sdogcow (eval $ac_try) 2>&5 50391.53Sdogcow ac_status=$? 50401.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 50461.61Schristos 50471.9Stvac_cv_type_u_int8_t=no 50481.9Stvfi 50491.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 50501.9Stvfi 50511.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 50641.61Schristos_ACEOF 50651.61Schristoscat confdefs.h >>conftest.$ac_ext 50661.61Schristoscat >>conftest.$ac_ext <<_ACEOF 50671.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 50821.61Schristos (eval $ac_compile) 2>conftest.er1 50831.6Stv ac_status=$? 50841.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 50851.61Schristos rm -f conftest.er1 50861.61Schristos cat conftest.err >&5 50871.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 50881.6Stv (exit $ac_status); } && 50891.61Schristos { ac_try='test -z "$ac_c_werror_flag" 50901.61Schristos || test ! -s conftest.err' 50911.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50921.61Schristos (eval $ac_try) 2>&5 50931.61Schristos ac_status=$? 50941.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 50951.61Schristos (exit $ac_status); }; } && 50961.61Schristos { ac_try='test -s conftest.$ac_objext' 50971.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 50981.48Sjmc (eval $ac_try) 2>&5 50991.48Sjmc ac_status=$? 51001.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 51061.61Schristos 51071.6Stvac_cv_type_uint8_t=no 51081.4Stvfi 51091.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 51101.4Stvfi 51111.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 51161.6Stv#define u_int8_t uint8_t 51171.61Schristos_ACEOF 51181.4Stv 51191.6Stvelse 51201.61Schristos { { 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.61Schristos 51261.4Stvfi 51271.4Stv 51281.61Schristos 51291.61Schristos 51301.61Schristos 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.61Schristos/* confdefs.h. */ 51371.61Schristos_ACEOF 51381.61Schristoscat confdefs.h >>conftest.$ac_ext 51391.61Schristoscat >>conftest.$ac_ext <<_ACEOF 51401.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 51551.61Schristos (eval $ac_compile) 2>conftest.er1 51561.9Stv ac_status=$? 51571.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 51581.61Schristos rm -f conftest.er1 51591.61Schristos cat conftest.err >&5 51601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 51611.9Stv (exit $ac_status); } && 51621.61Schristos { ac_try='test -z "$ac_c_werror_flag" 51631.61Schristos || test ! -s conftest.err' 51641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 51651.61Schristos (eval $ac_try) 2>&5 51661.61Schristos ac_status=$? 51671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 51681.61Schristos (exit $ac_status); }; } && 51691.61Schristos { ac_try='test -s conftest.$ac_objext' 51701.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 51711.50Sjmc (eval $ac_try) 2>&5 51721.50Sjmc ac_status=$? 51731.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 51791.61Schristos 51801.9Stvac_cv_type_uint16_t=no 51811.9Stvfi 51821.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 51831.9Stvfi 51841.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 51971.61Schristos_ACEOF 51981.61Schristoscat confdefs.h >>conftest.$ac_ext 51991.61Schristoscat >>conftest.$ac_ext <<_ACEOF 52001.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 52151.61Schristos (eval $ac_compile) 2>conftest.er1 52161.9Stv ac_status=$? 52171.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 52181.61Schristos rm -f conftest.er1 52191.61Schristos cat conftest.err >&5 52201.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 52211.9Stv (exit $ac_status); } && 52221.61Schristos { ac_try='test -z "$ac_c_werror_flag" 52231.61Schristos || test ! -s conftest.err' 52241.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52251.53Sdogcow (eval $ac_try) 2>&5 52261.53Sdogcow ac_status=$? 52271.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 52281.61Schristos (exit $ac_status); }; } && 52291.61Schristos { ac_try='test -s conftest.$ac_objext' 52301.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52311.61Schristos (eval $ac_try) 2>&5 52321.61Schristos ac_status=$? 52331.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 52391.61Schristos 52401.9Stvac_cv_type_u_int16_t=no 52411.9Stvfi 52421.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 52431.9Stvfi 52441.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 52491.9Stv#define uint16_t u_int16_t 52501.61Schristos_ACEOF 52511.9Stv 52521.9Stvelse 52531.61Schristos { { 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.61Schristos 52591.9Stvfi 52601.9Stv 52611.61Schristos 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.61Schristos/* confdefs.h. */ 52681.61Schristos_ACEOF 52691.61Schristoscat confdefs.h >>conftest.$ac_ext 52701.61Schristoscat >>conftest.$ac_ext <<_ACEOF 52711.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 52861.61Schristos (eval $ac_compile) 2>conftest.er1 52871.6Stv ac_status=$? 52881.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 52891.61Schristos rm -f conftest.er1 52901.61Schristos cat conftest.err >&5 52911.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 52921.6Stv (exit $ac_status); } && 52931.61Schristos { ac_try='test -z "$ac_c_werror_flag" 52941.61Schristos || test ! -s conftest.err' 52951.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 52961.61Schristos (eval $ac_try) 2>&5 52971.61Schristos ac_status=$? 52981.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 52991.61Schristos (exit $ac_status); }; } && 53001.61Schristos { ac_try='test -s conftest.$ac_objext' 53011.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53021.50Sjmc (eval $ac_try) 2>&5 53031.50Sjmc ac_status=$? 53041.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 53101.61Schristos 53111.6Stvac_cv_type_u_int16_t=no 53121.6Stvfi 53131.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 53141.1Stvfi 53151.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 53281.61Schristos_ACEOF 53291.61Schristoscat confdefs.h >>conftest.$ac_ext 53301.61Schristoscat >>conftest.$ac_ext <<_ACEOF 53311.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 53461.61Schristos (eval $ac_compile) 2>conftest.er1 53471.6Stv ac_status=$? 53481.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 53491.61Schristos rm -f conftest.er1 53501.61Schristos cat conftest.err >&5 53511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 53521.6Stv (exit $ac_status); } && 53531.61Schristos { ac_try='test -z "$ac_c_werror_flag" 53541.61Schristos || test ! -s conftest.err' 53551.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53561.53Sdogcow (eval $ac_try) 2>&5 53571.53Sdogcow ac_status=$? 53581.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 53591.61Schristos (exit $ac_status); }; } && 53601.61Schristos { ac_try='test -s conftest.$ac_objext' 53611.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 53621.61Schristos (eval $ac_try) 2>&5 53631.61Schristos ac_status=$? 53641.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 53701.61Schristos 53711.6Stvac_cv_type_uint16_t=no 53721.1Stvfi 53731.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 53741.1Stvfi 53751.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 53801.6Stv#define u_int16_t uint16_t 53811.61Schristos_ACEOF 53821.1Stv 53831.1Stvelse 53841.61Schristos { { 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.61Schristos 53901.1Stvfi 53911.1Stv 53921.61Schristos 53931.61Schristos 53941.61Schristos 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.61Schristos/* confdefs.h. */ 54011.61Schristos_ACEOF 54021.61Schristoscat confdefs.h >>conftest.$ac_ext 54031.61Schristoscat >>conftest.$ac_ext <<_ACEOF 54041.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 54191.61Schristos (eval $ac_compile) 2>conftest.er1 54201.9Stv ac_status=$? 54211.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 54221.61Schristos rm -f conftest.er1 54231.61Schristos cat conftest.err >&5 54241.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 54251.9Stv (exit $ac_status); } && 54261.61Schristos { ac_try='test -z "$ac_c_werror_flag" 54271.61Schristos || test ! -s conftest.err' 54281.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54291.61Schristos (eval $ac_try) 2>&5 54301.61Schristos ac_status=$? 54311.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 54321.61Schristos (exit $ac_status); }; } && 54331.61Schristos { ac_try='test -s conftest.$ac_objext' 54341.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54351.53Sdogcow (eval $ac_try) 2>&5 54361.53Sdogcow ac_status=$? 54371.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 54431.61Schristos 54441.9Stvac_cv_type_uint32_t=no 54451.9Stvfi 54461.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 54471.9Stvfi 54481.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 54611.61Schristos_ACEOF 54621.61Schristoscat confdefs.h >>conftest.$ac_ext 54631.61Schristoscat >>conftest.$ac_ext <<_ACEOF 54641.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 54791.61Schristos (eval $ac_compile) 2>conftest.er1 54801.9Stv ac_status=$? 54811.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 54821.61Schristos rm -f conftest.er1 54831.61Schristos cat conftest.err >&5 54841.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 54851.9Stv (exit $ac_status); } && 54861.61Schristos { ac_try='test -z "$ac_c_werror_flag" 54871.61Schristos || test ! -s conftest.err' 54881.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54891.61Schristos (eval $ac_try) 2>&5 54901.61Schristos ac_status=$? 54911.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 54921.61Schristos (exit $ac_status); }; } && 54931.61Schristos { ac_try='test -s conftest.$ac_objext' 54941.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 54951.53Sdogcow (eval $ac_try) 2>&5 54961.53Sdogcow ac_status=$? 54971.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 55031.61Schristos 55041.9Stvac_cv_type_u_int32_t=no 55051.9Stvfi 55061.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 55071.9Stvfi 55081.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 55131.9Stv#define uint32_t u_int32_t 55141.61Schristos_ACEOF 55151.9Stv 55161.9Stvelse 55171.61Schristos { { 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.61Schristos 55231.9Stvfi 55241.9Stv 55251.61Schristos 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.61Schristos/* confdefs.h. */ 55321.61Schristos_ACEOF 55331.61Schristoscat confdefs.h >>conftest.$ac_ext 55341.61Schristoscat >>conftest.$ac_ext <<_ACEOF 55351.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 55501.61Schristos (eval $ac_compile) 2>conftest.er1 55511.1Stv ac_status=$? 55521.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 55531.61Schristos rm -f conftest.er1 55541.61Schristos cat conftest.err >&5 55551.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 55561.6Stv (exit $ac_status); } && 55571.61Schristos { ac_try='test -z "$ac_c_werror_flag" 55581.61Schristos || test ! -s conftest.err' 55591.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 55601.53Sdogcow (eval $ac_try) 2>&5 55611.53Sdogcow ac_status=$? 55621.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 55631.61Schristos (exit $ac_status); }; } && 55641.61Schristos { ac_try='test -s conftest.$ac_objext' 55651.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 55661.61Schristos (eval $ac_try) 2>&5 55671.61Schristos ac_status=$? 55681.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 55741.61Schristos 55751.6Stvac_cv_type_u_int32_t=no 55761.1Stvfi 55771.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 55781.1Stvfi 55791.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 55921.61Schristos_ACEOF 55931.61Schristoscat confdefs.h >>conftest.$ac_ext 55941.61Schristoscat >>conftest.$ac_ext <<_ACEOF 55951.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 56101.61Schristos (eval $ac_compile) 2>conftest.er1 56111.1Stv ac_status=$? 56121.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 56131.61Schristos rm -f conftest.er1 56141.61Schristos cat conftest.err >&5 56151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 56161.1Stv (exit $ac_status); } && 56171.61Schristos { ac_try='test -z "$ac_c_werror_flag" 56181.61Schristos || test ! -s conftest.err' 56191.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56201.61Schristos (eval $ac_try) 2>&5 56211.61Schristos ac_status=$? 56221.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 56231.61Schristos (exit $ac_status); }; } && 56241.61Schristos { ac_try='test -s conftest.$ac_objext' 56251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56261.48Sjmc (eval $ac_try) 2>&5 56271.48Sjmc ac_status=$? 56281.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 56341.61Schristos 56351.6Stvac_cv_type_uint32_t=no 56361.1Stvfi 56371.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 56381.1Stvfi 56391.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 56441.6Stv#define u_int32_t uint32_t 56451.61Schristos_ACEOF 56461.1Stv 56471.6Stvelse 56481.61Schristos { { 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.61Schristos 56541.1Stvfi 56551.1Stv 56561.61Schristos 56571.61Schristos 56581.61Schristos 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.61Schristos/* confdefs.h. */ 56651.61Schristos_ACEOF 56661.61Schristoscat confdefs.h >>conftest.$ac_ext 56671.61Schristoscat >>conftest.$ac_ext <<_ACEOF 56681.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 56831.61Schristos (eval $ac_compile) 2>conftest.er1 56841.9Stv ac_status=$? 56851.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 56861.61Schristos rm -f conftest.er1 56871.61Schristos cat conftest.err >&5 56881.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 56891.9Stv (exit $ac_status); } && 56901.61Schristos { ac_try='test -z "$ac_c_werror_flag" 56911.61Schristos || test ! -s conftest.err' 56921.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56931.61Schristos (eval $ac_try) 2>&5 56941.61Schristos ac_status=$? 56951.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 56961.61Schristos (exit $ac_status); }; } && 56971.61Schristos { ac_try='test -s conftest.$ac_objext' 56981.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 56991.50Sjmc (eval $ac_try) 2>&5 57001.50Sjmc ac_status=$? 57011.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 57071.61Schristos 57081.9Stvac_cv_type_uint64_t=no 57091.9Stvfi 57101.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 57111.9Stvfi 57121.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 57251.61Schristos_ACEOF 57261.61Schristoscat confdefs.h >>conftest.$ac_ext 57271.61Schristoscat >>conftest.$ac_ext <<_ACEOF 57281.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 57431.61Schristos (eval $ac_compile) 2>conftest.er1 57441.9Stv ac_status=$? 57451.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 57461.61Schristos rm -f conftest.er1 57471.61Schristos cat conftest.err >&5 57481.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 57491.9Stv (exit $ac_status); } && 57501.61Schristos { ac_try='test -z "$ac_c_werror_flag" 57511.61Schristos || test ! -s conftest.err' 57521.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 57531.61Schristos (eval $ac_try) 2>&5 57541.61Schristos ac_status=$? 57551.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 57561.61Schristos (exit $ac_status); }; } && 57571.61Schristos { ac_try='test -s conftest.$ac_objext' 57581.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 57591.53Sdogcow (eval $ac_try) 2>&5 57601.53Sdogcow ac_status=$? 57611.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 57671.61Schristos 57681.9Stvac_cv_type_u_int64_t=no 57691.9Stvfi 57701.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 57711.9Stvfi 57721.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 57771.9Stv#define uint64_t u_int64_t 57781.61Schristos_ACEOF 57791.9Stv 57801.9Stvelse 57811.61Schristos { { 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.61Schristos 57871.9Stvfi 57881.9Stv 57891.61Schristos 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.61Schristos/* confdefs.h. */ 57961.61Schristos_ACEOF 57971.61Schristoscat confdefs.h >>conftest.$ac_ext 57981.61Schristoscat >>conftest.$ac_ext <<_ACEOF 57991.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 58141.61Schristos (eval $ac_compile) 2>conftest.er1 58151.1Stv ac_status=$? 58161.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 58171.61Schristos rm -f conftest.er1 58181.61Schristos cat conftest.err >&5 58191.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 58201.1Stv (exit $ac_status); } && 58211.61Schristos { ac_try='test -z "$ac_c_werror_flag" 58221.61Schristos || test ! -s conftest.err' 58231.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58241.61Schristos (eval $ac_try) 2>&5 58251.61Schristos ac_status=$? 58261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 58271.61Schristos (exit $ac_status); }; } && 58281.61Schristos { ac_try='test -s conftest.$ac_objext' 58291.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58301.50Sjmc (eval $ac_try) 2>&5 58311.50Sjmc ac_status=$? 58321.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 58381.61Schristos 58391.6Stvac_cv_type_u_int64_t=no 58401.1Stvfi 58411.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 58421.1Stvfi 58431.61Schristosecho "$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.61Schristos 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.61Schristos/* confdefs.h. */ 58561.61Schristos_ACEOF 58571.61Schristoscat confdefs.h >>conftest.$ac_ext 58581.61Schristoscat >>conftest.$ac_ext <<_ACEOF 58591.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 58741.61Schristos (eval $ac_compile) 2>conftest.er1 58751.4Stv ac_status=$? 58761.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 58771.61Schristos rm -f conftest.er1 58781.61Schristos cat conftest.err >&5 58791.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 58801.4Stv (exit $ac_status); } && 58811.61Schristos { ac_try='test -z "$ac_c_werror_flag" 58821.61Schristos || test ! -s conftest.err' 58831.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58841.61Schristos (eval $ac_try) 2>&5 58851.61Schristos ac_status=$? 58861.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 58871.61Schristos (exit $ac_status); }; } && 58881.61Schristos { ac_try='test -s conftest.$ac_objext' 58891.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 58901.53Sdogcow (eval $ac_try) 2>&5 58911.53Sdogcow ac_status=$? 58921.61Schristos 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.61Schristossed 's/^/| /' conftest.$ac_ext >&5 58981.61Schristos 58991.6Stvac_cv_type_uint64_t=no 59001.4Stvfi 59011.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 59021.4Stvfi 59031.61Schristosecho "$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.61Schristoscat >>confdefs.h <<\_ACEOF 59081.6Stv#define u_int64_t uint64_t 59091.61Schristos_ACEOF 59101.4Stv 59111.6Stvelse 59121.61Schristos { { 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.61Schristos 59181.4Stvfi 59191.4Stv 59201.61Schristos 59211.61Schristos 59221.4Stv# Struct members. 59231.61Schristosecho "$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.61Schristos/* confdefs.h. */ 59301.61Schristos_ACEOF 59311.61Schristoscat confdefs.h >>conftest.$ac_ext 59321.61Schristoscat >>conftest.$ac_ext <<_ACEOF 59331.61Schristos/* 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.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 59491.61Schristos (eval $ac_compile) 2>conftest.er1 59501.61Schristos ac_status=$? 59511.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 59521.61Schristos rm -f conftest.er1 59531.61Schristos cat conftest.err >&5 59541.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 59551.61Schristos (exit $ac_status); } && 59561.61Schristos { ac_try='test -z "$ac_c_werror_flag" 59571.61Schristos || test ! -s conftest.err' 59581.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 59591.61Schristos (eval $ac_try) 2>&5 59601.61Schristos ac_status=$? 59611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 59621.61Schristos (exit $ac_status); }; } && 59631.61Schristos { ac_try='test -s conftest.$ac_objext' 59641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 59651.61Schristos (eval $ac_try) 2>&5 59661.61Schristos ac_status=$? 59671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 59681.61Schristos (exit $ac_status); }; }; then 59691.61Schristos ac_cv_member_DIR_dd_fd=yes 59701.61Schristoselse 59711.61Schristos echo "$as_me: failed program was:" >&5 59721.61Schristossed 's/^/| /' conftest.$ac_ext >&5 59731.61Schristos 59741.61Schristoscat >conftest.$ac_ext <<_ACEOF 59751.61Schristos/* confdefs.h. */ 59761.61Schristos_ACEOF 59771.61Schristoscat confdefs.h >>conftest.$ac_ext 59781.61Schristoscat >>conftest.$ac_ext <<_ACEOF 59791.61Schristos/* end confdefs.h. */ 59801.61Schristos#include <sys/types.h> 59811.61Schristos#include <dirent.h> 59821.61Schristos 59831.61Schristosint 59841.61Schristosmain () 59851.61Schristos{ 59861.61Schristosstatic DIR ac_aggr; 59871.61Schristosif (sizeof ac_aggr.dd_fd) 59881.61Schristosreturn 0; 59891.61Schristos ; 59901.61Schristos return 0; 59911.61Schristos} 59921.61Schristos_ACEOF 59931.61Schristosrm -f conftest.$ac_objext 59941.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 59951.61Schristos (eval $ac_compile) 2>conftest.er1 59961.53Sdogcow ac_status=$? 59971.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 59981.61Schristos rm -f conftest.er1 59991.61Schristos cat conftest.err >&5 60001.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60011.53Sdogcow (exit $ac_status); } && 60021.61Schristos { ac_try='test -z "$ac_c_werror_flag" 60031.61Schristos || test ! -s conftest.err' 60041.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60051.61Schristos (eval $ac_try) 2>&5 60061.61Schristos ac_status=$? 60071.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60081.61Schristos (exit $ac_status); }; } && 60091.61Schristos { ac_try='test -s conftest.$ac_objext' 60101.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60111.53Sdogcow (eval $ac_try) 2>&5 60121.53Sdogcow ac_status=$? 60131.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60141.53Sdogcow (exit $ac_status); }; }; then 60151.53Sdogcow ac_cv_member_DIR_dd_fd=yes 60161.53Sdogcowelse 60171.53Sdogcow echo "$as_me: failed program was:" >&5 60181.61Schristossed 's/^/| /' conftest.$ac_ext >&5 60191.61Schristos 60201.48Sjmcac_cv_member_DIR_dd_fd=no 60211.48Sjmcfi 60221.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 60231.53Sdogcowfi 60241.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 60251.61Schristosfi 60261.61Schristosecho "$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.61Schristoscat >>confdefs.h <<_ACEOF 60311.48Sjmc#define HAVE_DIR_DD_FD 1 60321.61Schristos_ACEOF 60331.61Schristos 60341.48Sjmc 60351.48Sjmcfi 60361.61Schristosecho "$as_me:$LINENO: checking for DIR.__dd_fd" >&5 60371.59Sthorpejecho $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6 60381.59Sthorpejif test "${ac_cv_member_DIR___dd_fd+set}" = set; then 60391.59Sthorpej echo $ECHO_N "(cached) $ECHO_C" >&6 60401.59Sthorpejelse 60411.59Sthorpej cat >conftest.$ac_ext <<_ACEOF 60421.61Schristos/* confdefs.h. */ 60431.61Schristos_ACEOF 60441.61Schristoscat confdefs.h >>conftest.$ac_ext 60451.61Schristoscat >>conftest.$ac_ext <<_ACEOF 60461.61Schristos/* end confdefs.h. */ 60471.59Sthorpej#include <sys/types.h> 60481.59Sthorpej#include <dirent.h> 60491.59Sthorpej 60501.59Sthorpejint 60511.59Sthorpejmain () 60521.59Sthorpej{ 60531.59Sthorpejstatic DIR ac_aggr; 60541.59Sthorpejif (ac_aggr.__dd_fd) 60551.59Sthorpejreturn 0; 60561.59Sthorpej ; 60571.59Sthorpej return 0; 60581.59Sthorpej} 60591.59Sthorpej_ACEOF 60601.59Sthorpejrm -f conftest.$ac_objext 60611.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 60621.61Schristos (eval $ac_compile) 2>conftest.er1 60631.61Schristos ac_status=$? 60641.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 60651.61Schristos rm -f conftest.er1 60661.61Schristos cat conftest.err >&5 60671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60681.61Schristos (exit $ac_status); } && 60691.61Schristos { ac_try='test -z "$ac_c_werror_flag" 60701.61Schristos || test ! -s conftest.err' 60711.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60721.61Schristos (eval $ac_try) 2>&5 60731.61Schristos ac_status=$? 60741.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60751.61Schristos (exit $ac_status); }; } && 60761.61Schristos { ac_try='test -s conftest.$ac_objext' 60771.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 60781.61Schristos (eval $ac_try) 2>&5 60791.61Schristos ac_status=$? 60801.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 60811.61Schristos (exit $ac_status); }; }; then 60821.61Schristos ac_cv_member_DIR___dd_fd=yes 60831.61Schristoselse 60841.61Schristos echo "$as_me: failed program was:" >&5 60851.61Schristossed 's/^/| /' conftest.$ac_ext >&5 60861.61Schristos 60871.61Schristoscat >conftest.$ac_ext <<_ACEOF 60881.61Schristos/* confdefs.h. */ 60891.61Schristos_ACEOF 60901.61Schristoscat confdefs.h >>conftest.$ac_ext 60911.61Schristoscat >>conftest.$ac_ext <<_ACEOF 60921.61Schristos/* end confdefs.h. */ 60931.61Schristos#include <sys/types.h> 60941.61Schristos#include <dirent.h> 60951.61Schristos 60961.61Schristosint 60971.61Schristosmain () 60981.61Schristos{ 60991.61Schristosstatic DIR ac_aggr; 61001.61Schristosif (sizeof ac_aggr.__dd_fd) 61011.61Schristosreturn 0; 61021.61Schristos ; 61031.61Schristos return 0; 61041.61Schristos} 61051.61Schristos_ACEOF 61061.61Schristosrm -f conftest.$ac_objext 61071.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61081.61Schristos (eval $ac_compile) 2>conftest.er1 61091.59Sthorpej ac_status=$? 61101.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 61111.61Schristos rm -f conftest.er1 61121.61Schristos cat conftest.err >&5 61131.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61141.59Sthorpej (exit $ac_status); } && 61151.61Schristos { ac_try='test -z "$ac_c_werror_flag" 61161.61Schristos || test ! -s conftest.err' 61171.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61181.59Sthorpej (eval $ac_try) 2>&5 61191.59Sthorpej ac_status=$? 61201.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61211.61Schristos (exit $ac_status); }; } && 61221.61Schristos { ac_try='test -s conftest.$ac_objext' 61231.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61241.61Schristos (eval $ac_try) 2>&5 61251.61Schristos ac_status=$? 61261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61271.59Sthorpej (exit $ac_status); }; }; then 61281.59Sthorpej ac_cv_member_DIR___dd_fd=yes 61291.59Sthorpejelse 61301.59Sthorpej echo "$as_me: failed program was:" >&5 61311.61Schristossed 's/^/| /' conftest.$ac_ext >&5 61321.61Schristos 61331.59Sthorpejac_cv_member_DIR___dd_fd=no 61341.59Sthorpejfi 61351.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61361.61Schristosfi 61371.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 61381.59Sthorpejfi 61391.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_DIR___dd_fd" >&5 61401.59Sthorpejecho "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6 61411.59Sthorpejif test $ac_cv_member_DIR___dd_fd = yes; then 61421.59Sthorpej 61431.61Schristoscat >>confdefs.h <<_ACEOF 61441.59Sthorpej#define HAVE_DIR___DD_FD 1 61451.61Schristos_ACEOF 61461.61Schristos 61471.59Sthorpej 61481.59Sthorpejfi 61491.61Schristosecho "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 61501.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6 61511.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then 61521.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 61531.48Sjmcelse 61541.52Sdbj cat >conftest.$ac_ext <<_ACEOF 61551.61Schristos/* confdefs.h. */ 61561.61Schristos_ACEOF 61571.61Schristoscat confdefs.h >>conftest.$ac_ext 61581.61Schristoscat >>conftest.$ac_ext <<_ACEOF 61591.61Schristos/* end confdefs.h. */ 61601.32Sthorpej#include <sys/types.h> 61611.8Stv#include <dirent.h> 61621.8Stv 61631.8Stvint 61641.8Stvmain () 61651.8Stv{ 61661.8Stvstatic struct dirent ac_aggr; 61671.52Sdbjif (ac_aggr.d_namlen) 61681.8Stvreturn 0; 61691.8Stv ; 61701.8Stv return 0; 61711.8Stv} 61721.8Stv_ACEOF 61731.8Stvrm -f conftest.$ac_objext 61741.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 61751.61Schristos (eval $ac_compile) 2>conftest.er1 61761.61Schristos ac_status=$? 61771.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 61781.61Schristos rm -f conftest.er1 61791.61Schristos cat conftest.err >&5 61801.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61811.61Schristos (exit $ac_status); } && 61821.61Schristos { ac_try='test -z "$ac_c_werror_flag" 61831.61Schristos || test ! -s conftest.err' 61841.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61851.61Schristos (eval $ac_try) 2>&5 61861.61Schristos ac_status=$? 61871.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61881.61Schristos (exit $ac_status); }; } && 61891.61Schristos { ac_try='test -s conftest.$ac_objext' 61901.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 61911.61Schristos (eval $ac_try) 2>&5 61921.61Schristos ac_status=$? 61931.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 61941.61Schristos (exit $ac_status); }; }; then 61951.61Schristos ac_cv_member_struct_dirent_d_namlen=yes 61961.61Schristoselse 61971.61Schristos echo "$as_me: failed program was:" >&5 61981.61Schristossed 's/^/| /' conftest.$ac_ext >&5 61991.61Schristos 62001.61Schristoscat >conftest.$ac_ext <<_ACEOF 62011.61Schristos/* confdefs.h. */ 62021.61Schristos_ACEOF 62031.61Schristoscat confdefs.h >>conftest.$ac_ext 62041.61Schristoscat >>conftest.$ac_ext <<_ACEOF 62051.61Schristos/* end confdefs.h. */ 62061.61Schristos#include <sys/types.h> 62071.61Schristos#include <dirent.h> 62081.61Schristos 62091.61Schristosint 62101.61Schristosmain () 62111.61Schristos{ 62121.61Schristosstatic struct dirent ac_aggr; 62131.61Schristosif (sizeof ac_aggr.d_namlen) 62141.61Schristosreturn 0; 62151.61Schristos ; 62161.61Schristos return 0; 62171.61Schristos} 62181.61Schristos_ACEOF 62191.61Schristosrm -f conftest.$ac_objext 62201.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62211.61Schristos (eval $ac_compile) 2>conftest.er1 62221.8Stv ac_status=$? 62231.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 62241.61Schristos rm -f conftest.er1 62251.61Schristos cat conftest.err >&5 62261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 62271.8Stv (exit $ac_status); } && 62281.61Schristos { ac_try='test -z "$ac_c_werror_flag" 62291.61Schristos || test ! -s conftest.err' 62301.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62311.61Schristos (eval $ac_try) 2>&5 62321.61Schristos ac_status=$? 62331.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 62341.61Schristos (exit $ac_status); }; } && 62351.61Schristos { ac_try='test -s conftest.$ac_objext' 62361.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62371.50Sjmc (eval $ac_try) 2>&5 62381.50Sjmc ac_status=$? 62391.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 62401.8Stv (exit $ac_status); }; }; then 62411.8Stv ac_cv_member_struct_dirent_d_namlen=yes 62421.8Stvelse 62431.8Stv echo "$as_me: failed program was:" >&5 62441.61Schristossed 's/^/| /' conftest.$ac_ext >&5 62451.61Schristos 62461.8Stvac_cv_member_struct_dirent_d_namlen=no 62471.8Stvfi 62481.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62491.48Sjmcfi 62501.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 62511.61Schristosfi 62521.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 62531.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6 62541.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then 62551.8Stv 62561.61Schristoscat >>confdefs.h <<_ACEOF 62571.60Sapb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 62581.61Schristos_ACEOF 62591.61Schristos 62601.61Schristos 62611.61Schristosfi 62621.61Schristos 62631.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_flags" >&5 62641.61Schristosecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6 62651.61Schristosif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then 62661.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 62671.61Schristoselse 62681.61Schristos cat >conftest.$ac_ext <<_ACEOF 62691.61Schristos/* confdefs.h. */ 62701.61Schristos_ACEOF 62711.61Schristoscat confdefs.h >>conftest.$ac_ext 62721.61Schristoscat >>conftest.$ac_ext <<_ACEOF 62731.61Schristos/* end confdefs.h. */ 62741.61Schristos#include <sys/stat.h> 62751.61Schristos 62761.61Schristosint 62771.61Schristosmain () 62781.61Schristos{ 62791.61Schristosstatic struct stat ac_aggr; 62801.61Schristosif (ac_aggr.st_flags) 62811.61Schristosreturn 0; 62821.61Schristos ; 62831.61Schristos return 0; 62841.61Schristos} 62851.61Schristos_ACEOF 62861.61Schristosrm -f conftest.$ac_objext 62871.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 62881.61Schristos (eval $ac_compile) 2>conftest.er1 62891.61Schristos ac_status=$? 62901.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 62911.61Schristos rm -f conftest.er1 62921.61Schristos cat conftest.err >&5 62931.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 62941.61Schristos (exit $ac_status); } && 62951.61Schristos { ac_try='test -z "$ac_c_werror_flag" 62961.61Schristos || test ! -s conftest.err' 62971.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 62981.61Schristos (eval $ac_try) 2>&5 62991.61Schristos ac_status=$? 63001.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 63011.61Schristos (exit $ac_status); }; } && 63021.61Schristos { ac_try='test -s conftest.$ac_objext' 63031.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63041.61Schristos (eval $ac_try) 2>&5 63051.61Schristos ac_status=$? 63061.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 63071.61Schristos (exit $ac_status); }; }; then 63081.61Schristos ac_cv_member_struct_stat_st_flags=yes 63091.61Schristoselse 63101.61Schristos echo "$as_me: failed program was:" >&5 63111.61Schristossed 's/^/| /' conftest.$ac_ext >&5 63121.61Schristos 63131.61Schristoscat >conftest.$ac_ext <<_ACEOF 63141.61Schristos/* confdefs.h. */ 63151.61Schristos_ACEOF 63161.61Schristoscat confdefs.h >>conftest.$ac_ext 63171.61Schristoscat >>conftest.$ac_ext <<_ACEOF 63181.61Schristos/* end confdefs.h. */ 63191.61Schristos#include <sys/stat.h> 63201.61Schristos 63211.61Schristosint 63221.61Schristosmain () 63231.61Schristos{ 63241.61Schristosstatic struct stat ac_aggr; 63251.61Schristosif (sizeof ac_aggr.st_flags) 63261.61Schristosreturn 0; 63271.61Schristos ; 63281.61Schristos return 0; 63291.61Schristos} 63301.61Schristos_ACEOF 63311.61Schristosrm -f conftest.$ac_objext 63321.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63331.61Schristos (eval $ac_compile) 2>conftest.er1 63341.61Schristos ac_status=$? 63351.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 63361.61Schristos rm -f conftest.er1 63371.61Schristos cat conftest.err >&5 63381.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 63391.61Schristos (exit $ac_status); } && 63401.61Schristos { ac_try='test -z "$ac_c_werror_flag" 63411.61Schristos || test ! -s conftest.err' 63421.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63431.61Schristos (eval $ac_try) 2>&5 63441.61Schristos ac_status=$? 63451.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 63461.61Schristos (exit $ac_status); }; } && 63471.61Schristos { ac_try='test -s conftest.$ac_objext' 63481.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 63491.61Schristos (eval $ac_try) 2>&5 63501.61Schristos ac_status=$? 63511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 63521.61Schristos (exit $ac_status); }; }; then 63531.61Schristos ac_cv_member_struct_stat_st_flags=yes 63541.61Schristoselse 63551.61Schristos echo "$as_me: failed program was:" >&5 63561.61Schristossed 's/^/| /' conftest.$ac_ext >&5 63571.61Schristos 63581.61Schristosac_cv_member_struct_stat_st_flags=no 63591.61Schristosfi 63601.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63611.61Schristosfi 63621.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 63631.61Schristosfi 63641.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5 63651.61Schristosecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6 63661.61Schristosif test $ac_cv_member_struct_stat_st_flags = yes; then 63671.61Schristos 63681.61Schristoscat >>confdefs.h <<_ACEOF 63691.61Schristos#define HAVE_STRUCT_STAT_ST_FLAGS 1 63701.61Schristos_ACEOF 63711.61Schristos 63721.61Schristos 63731.61Schristosfi 63741.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_gen" >&5 63751.61Schristosecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6 63761.61Schristosif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then 63771.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 63781.61Schristoselse 63791.61Schristos cat >conftest.$ac_ext <<_ACEOF 63801.61Schristos/* confdefs.h. */ 63811.61Schristos_ACEOF 63821.61Schristoscat confdefs.h >>conftest.$ac_ext 63831.61Schristoscat >>conftest.$ac_ext <<_ACEOF 63841.61Schristos/* end confdefs.h. */ 63851.61Schristos#include <sys/stat.h> 63861.61Schristos 63871.61Schristosint 63881.61Schristosmain () 63891.61Schristos{ 63901.61Schristosstatic struct stat ac_aggr; 63911.61Schristosif (ac_aggr.st_gen) 63921.61Schristosreturn 0; 63931.61Schristos ; 63941.61Schristos return 0; 63951.61Schristos} 63961.61Schristos_ACEOF 63971.61Schristosrm -f conftest.$ac_objext 63981.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 63991.61Schristos (eval $ac_compile) 2>conftest.er1 64001.61Schristos ac_status=$? 64011.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 64021.61Schristos rm -f conftest.er1 64031.61Schristos cat conftest.err >&5 64041.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64051.61Schristos (exit $ac_status); } && 64061.61Schristos { ac_try='test -z "$ac_c_werror_flag" 64071.61Schristos || test ! -s conftest.err' 64081.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64091.61Schristos (eval $ac_try) 2>&5 64101.61Schristos ac_status=$? 64111.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64121.61Schristos (exit $ac_status); }; } && 64131.61Schristos { ac_try='test -s conftest.$ac_objext' 64141.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64151.61Schristos (eval $ac_try) 2>&5 64161.61Schristos ac_status=$? 64171.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64181.61Schristos (exit $ac_status); }; }; then 64191.61Schristos ac_cv_member_struct_stat_st_gen=yes 64201.61Schristoselse 64211.61Schristos echo "$as_me: failed program was:" >&5 64221.61Schristossed 's/^/| /' conftest.$ac_ext >&5 64231.61Schristos 64241.61Schristoscat >conftest.$ac_ext <<_ACEOF 64251.61Schristos/* confdefs.h. */ 64261.61Schristos_ACEOF 64271.61Schristoscat confdefs.h >>conftest.$ac_ext 64281.61Schristoscat >>conftest.$ac_ext <<_ACEOF 64291.61Schristos/* end confdefs.h. */ 64301.61Schristos#include <sys/stat.h> 64311.53Sdogcow 64321.61Schristosint 64331.61Schristosmain () 64341.61Schristos{ 64351.61Schristosstatic struct stat ac_aggr; 64361.61Schristosif (sizeof ac_aggr.st_gen) 64371.61Schristosreturn 0; 64381.61Schristos ; 64391.61Schristos return 0; 64401.61Schristos} 64411.61Schristos_ACEOF 64421.61Schristosrm -f conftest.$ac_objext 64431.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 64441.61Schristos (eval $ac_compile) 2>conftest.er1 64451.61Schristos ac_status=$? 64461.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 64471.61Schristos rm -f conftest.er1 64481.61Schristos cat conftest.err >&5 64491.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64501.61Schristos (exit $ac_status); } && 64511.61Schristos { ac_try='test -z "$ac_c_werror_flag" 64521.61Schristos || test ! -s conftest.err' 64531.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64541.61Schristos (eval $ac_try) 2>&5 64551.61Schristos ac_status=$? 64561.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64571.61Schristos (exit $ac_status); }; } && 64581.61Schristos { ac_try='test -s conftest.$ac_objext' 64591.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 64601.61Schristos (eval $ac_try) 2>&5 64611.61Schristos ac_status=$? 64621.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 64631.61Schristos (exit $ac_status); }; }; then 64641.61Schristos ac_cv_member_struct_stat_st_gen=yes 64651.61Schristoselse 64661.61Schristos echo "$as_me: failed program was:" >&5 64671.61Schristossed 's/^/| /' conftest.$ac_ext >&5 64681.61Schristos 64691.61Schristosac_cv_member_struct_stat_st_gen=no 64701.61Schristosfi 64711.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64721.61Schristosfi 64731.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 64741.61Schristosfi 64751.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5 64761.61Schristosecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6 64771.61Schristosif test $ac_cv_member_struct_stat_st_gen = yes; then 64781.61Schristos 64791.61Schristoscat >>confdefs.h <<_ACEOF 64801.61Schristos#define HAVE_STRUCT_STAT_ST_GEN 1 64811.61Schristos_ACEOF 64821.61Schristos 64831.61Schristos 64841.61Schristosfi 64851.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5 64861.61Schristosecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6 64871.61Schristosif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then 64881.61Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 64891.61Schristoselse 64901.61Schristos cat >conftest.$ac_ext <<_ACEOF 64911.61Schristos/* confdefs.h. */ 64921.61Schristos_ACEOF 64931.61Schristoscat confdefs.h >>conftest.$ac_ext 64941.61Schristoscat >>conftest.$ac_ext <<_ACEOF 64951.61Schristos/* end confdefs.h. */ 64961.61Schristos#include <sys/stat.h> 64971.61Schristos 64981.61Schristosint 64991.61Schristosmain () 65001.61Schristos{ 65011.61Schristosstatic struct stat ac_aggr; 65021.61Schristosif (ac_aggr.st_birthtime) 65031.61Schristosreturn 0; 65041.61Schristos ; 65051.61Schristos return 0; 65061.61Schristos} 65071.61Schristos_ACEOF 65081.61Schristosrm -f conftest.$ac_objext 65091.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65101.61Schristos (eval $ac_compile) 2>conftest.er1 65111.61Schristos ac_status=$? 65121.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 65131.61Schristos rm -f conftest.er1 65141.61Schristos cat conftest.err >&5 65151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65161.61Schristos (exit $ac_status); } && 65171.61Schristos { ac_try='test -z "$ac_c_werror_flag" 65181.61Schristos || test ! -s conftest.err' 65191.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65201.61Schristos (eval $ac_try) 2>&5 65211.61Schristos ac_status=$? 65221.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65231.61Schristos (exit $ac_status); }; } && 65241.61Schristos { ac_try='test -s conftest.$ac_objext' 65251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65261.61Schristos (eval $ac_try) 2>&5 65271.61Schristos ac_status=$? 65281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65291.61Schristos (exit $ac_status); }; }; then 65301.61Schristos ac_cv_member_struct_stat_st_birthtime=yes 65311.61Schristoselse 65321.61Schristos echo "$as_me: failed program was:" >&5 65331.61Schristossed 's/^/| /' conftest.$ac_ext >&5 65341.61Schristos 65351.61Schristoscat >conftest.$ac_ext <<_ACEOF 65361.61Schristos/* confdefs.h. */ 65371.61Schristos_ACEOF 65381.61Schristoscat confdefs.h >>conftest.$ac_ext 65391.61Schristoscat >>conftest.$ac_ext <<_ACEOF 65401.61Schristos/* end confdefs.h. */ 65411.61Schristos#include <sys/stat.h> 65421.61Schristos 65431.61Schristosint 65441.61Schristosmain () 65451.61Schristos{ 65461.61Schristosstatic struct stat ac_aggr; 65471.61Schristosif (sizeof ac_aggr.st_birthtime) 65481.61Schristosreturn 0; 65491.61Schristos ; 65501.61Schristos return 0; 65511.61Schristos} 65521.61Schristos_ACEOF 65531.61Schristosrm -f conftest.$ac_objext 65541.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 65551.61Schristos (eval $ac_compile) 2>conftest.er1 65561.61Schristos ac_status=$? 65571.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 65581.61Schristos rm -f conftest.er1 65591.61Schristos cat conftest.err >&5 65601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65611.61Schristos (exit $ac_status); } && 65621.61Schristos { ac_try='test -z "$ac_c_werror_flag" 65631.61Schristos || test ! -s conftest.err' 65641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65651.61Schristos (eval $ac_try) 2>&5 65661.61Schristos ac_status=$? 65671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65681.61Schristos (exit $ac_status); }; } && 65691.61Schristos { ac_try='test -s conftest.$ac_objext' 65701.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 65711.61Schristos (eval $ac_try) 2>&5 65721.61Schristos ac_status=$? 65731.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 65741.61Schristos (exit $ac_status); }; }; then 65751.61Schristos ac_cv_member_struct_stat_st_birthtime=yes 65761.61Schristoselse 65771.61Schristos echo "$as_me: failed program was:" >&5 65781.61Schristossed 's/^/| /' conftest.$ac_ext >&5 65791.61Schristos 65801.61Schristosac_cv_member_struct_stat_st_birthtime=no 65811.61Schristosfi 65821.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65831.61Schristosfi 65841.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 65851.61Schristosfi 65861.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5 65871.61Schristosecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6 65881.61Schristosif test $ac_cv_member_struct_stat_st_birthtime = yes; then 65891.61Schristos 65901.61Schristoscat >>confdefs.h <<_ACEOF 65911.61Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 65921.61Schristos_ACEOF 65931.61Schristos 65941.61Schristos 65951.61Schristosfi 65961.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_birthtimensec" >&5 65971.61Schristosecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6 65981.61Schristosif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then 65991.43Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 66001.43Sdbjelse 66011.43Sdbj cat >conftest.$ac_ext <<_ACEOF 66021.61Schristos/* confdefs.h. */ 66031.61Schristos_ACEOF 66041.61Schristoscat confdefs.h >>conftest.$ac_ext 66051.61Schristoscat >>conftest.$ac_ext <<_ACEOF 66061.61Schristos/* end confdefs.h. */ 66071.40Satatat#include <sys/stat.h> 66081.40Satatat 66091.40Satatatint 66101.40Satatatmain () 66111.40Satatat{ 66121.40Satatatstatic struct stat ac_aggr; 66131.61Schristosif (ac_aggr.st_birthtimensec) 66141.40Satatatreturn 0; 66151.40Satatat ; 66161.40Satatat return 0; 66171.40Satatat} 66181.40Satatat_ACEOF 66191.40Satatatrm -f conftest.$ac_objext 66201.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66211.61Schristos (eval $ac_compile) 2>conftest.er1 66221.53Sdogcow ac_status=$? 66231.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 66241.61Schristos rm -f conftest.er1 66251.61Schristos cat conftest.err >&5 66261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66271.53Sdogcow (exit $ac_status); } && 66281.61Schristos { ac_try='test -z "$ac_c_werror_flag" 66291.61Schristos || test ! -s conftest.err' 66301.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66311.61Schristos (eval $ac_try) 2>&5 66321.61Schristos ac_status=$? 66331.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66341.61Schristos (exit $ac_status); }; } && 66351.61Schristos { ac_try='test -s conftest.$ac_objext' 66361.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66371.53Sdogcow (eval $ac_try) 2>&5 66381.53Sdogcow ac_status=$? 66391.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66401.53Sdogcow (exit $ac_status); }; }; then 66411.61Schristos ac_cv_member_struct_stat_st_birthtimensec=yes 66421.53Sdogcowelse 66431.53Sdogcow echo "$as_me: failed program was:" >&5 66441.61Schristossed 's/^/| /' conftest.$ac_ext >&5 66451.60Sapb 66461.61Schristoscat >conftest.$ac_ext <<_ACEOF 66471.61Schristos/* confdefs.h. */ 66481.61Schristos_ACEOF 66491.61Schristoscat confdefs.h >>conftest.$ac_ext 66501.61Schristoscat >>conftest.$ac_ext <<_ACEOF 66511.61Schristos/* end confdefs.h. */ 66521.53Sdogcow#include <sys/stat.h> 66531.53Sdogcow 66541.53Sdogcowint 66551.53Sdogcowmain () 66561.53Sdogcow{ 66571.53Sdogcowstatic struct stat ac_aggr; 66581.61Schristosif (sizeof ac_aggr.st_birthtimensec) 66591.53Sdogcowreturn 0; 66601.53Sdogcow ; 66611.53Sdogcow return 0; 66621.53Sdogcow} 66631.53Sdogcow_ACEOF 66641.53Sdogcowrm -f conftest.$ac_objext 66651.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 66661.61Schristos (eval $ac_compile) 2>conftest.er1 66671.40Satatat ac_status=$? 66681.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 66691.61Schristos rm -f conftest.er1 66701.61Schristos cat conftest.err >&5 66711.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66721.40Satatat (exit $ac_status); } && 66731.61Schristos { ac_try='test -z "$ac_c_werror_flag" 66741.61Schristos || test ! -s conftest.err' 66751.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66761.61Schristos (eval $ac_try) 2>&5 66771.61Schristos ac_status=$? 66781.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66791.61Schristos (exit $ac_status); }; } && 66801.61Schristos { ac_try='test -s conftest.$ac_objext' 66811.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 66821.50Sjmc (eval $ac_try) 2>&5 66831.50Sjmc ac_status=$? 66841.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 66851.40Satatat (exit $ac_status); }; }; then 66861.61Schristos ac_cv_member_struct_stat_st_birthtimensec=yes 66871.40Satatatelse 66881.40Satatat echo "$as_me: failed program was:" >&5 66891.61Schristossed 's/^/| /' conftest.$ac_ext >&5 66901.61Schristos 66911.61Schristosac_cv_member_struct_stat_st_birthtimensec=no 66921.61Schristosfi 66931.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66941.40Satatatfi 66951.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 66961.40Satatatfi 66971.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5 66981.61Schristosecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6 66991.61Schristosif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then 67001.61Schristos 67011.61Schristoscat >>confdefs.h <<_ACEOF 67021.61Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 67031.61Schristos_ACEOF 67041.53Sdogcow 67051.40Satatat 67061.40Satatatfi 67071.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_atim" >&5 67081.61Schristosecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6 67091.61Schristosif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then 67101.40Satatat echo $ECHO_N "(cached) $ECHO_C" >&6 67111.40Satatatelse 67121.40Satatat cat >conftest.$ac_ext <<_ACEOF 67131.61Schristos/* confdefs.h. */ 67141.61Schristos_ACEOF 67151.61Schristoscat confdefs.h >>conftest.$ac_ext 67161.61Schristoscat >>conftest.$ac_ext <<_ACEOF 67171.61Schristos/* end confdefs.h. */ 67181.40Satatat#include <sys/stat.h> 67191.40Satatat 67201.40Satatatint 67211.40Satatatmain () 67221.40Satatat{ 67231.40Satatatstatic struct stat ac_aggr; 67241.61Schristosif (ac_aggr.st_atim) 67251.40Satatatreturn 0; 67261.40Satatat ; 67271.40Satatat return 0; 67281.40Satatat} 67291.40Satatat_ACEOF 67301.40Satatatrm -f conftest.$ac_objext 67311.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67321.61Schristos (eval $ac_compile) 2>conftest.er1 67331.53Sdogcow ac_status=$? 67341.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 67351.61Schristos rm -f conftest.er1 67361.61Schristos cat conftest.err >&5 67371.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67381.53Sdogcow (exit $ac_status); } && 67391.61Schristos { ac_try='test -z "$ac_c_werror_flag" 67401.61Schristos || test ! -s conftest.err' 67411.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67421.61Schristos (eval $ac_try) 2>&5 67431.61Schristos ac_status=$? 67441.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67451.61Schristos (exit $ac_status); }; } && 67461.61Schristos { ac_try='test -s conftest.$ac_objext' 67471.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67481.53Sdogcow (eval $ac_try) 2>&5 67491.53Sdogcow ac_status=$? 67501.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67511.53Sdogcow (exit $ac_status); }; }; then 67521.61Schristos ac_cv_member_struct_stat_st_atim=yes 67531.53Sdogcowelse 67541.53Sdogcow echo "$as_me: failed program was:" >&5 67551.61Schristossed 's/^/| /' conftest.$ac_ext >&5 67561.60Sapb 67571.61Schristoscat >conftest.$ac_ext <<_ACEOF 67581.61Schristos/* confdefs.h. */ 67591.61Schristos_ACEOF 67601.61Schristoscat confdefs.h >>conftest.$ac_ext 67611.61Schristoscat >>conftest.$ac_ext <<_ACEOF 67621.61Schristos/* end confdefs.h. */ 67631.53Sdogcow#include <sys/stat.h> 67641.53Sdogcow 67651.53Sdogcowint 67661.53Sdogcowmain () 67671.53Sdogcow{ 67681.53Sdogcowstatic struct stat ac_aggr; 67691.61Schristosif (sizeof ac_aggr.st_atim) 67701.53Sdogcowreturn 0; 67711.53Sdogcow ; 67721.53Sdogcow return 0; 67731.53Sdogcow} 67741.53Sdogcow_ACEOF 67751.53Sdogcowrm -f conftest.$ac_objext 67761.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 67771.61Schristos (eval $ac_compile) 2>conftest.er1 67781.40Satatat ac_status=$? 67791.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 67801.61Schristos rm -f conftest.er1 67811.61Schristos cat conftest.err >&5 67821.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67831.40Satatat (exit $ac_status); } && 67841.61Schristos { ac_try='test -z "$ac_c_werror_flag" 67851.61Schristos || test ! -s conftest.err' 67861.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67871.61Schristos (eval $ac_try) 2>&5 67881.61Schristos ac_status=$? 67891.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67901.61Schristos (exit $ac_status); }; } && 67911.61Schristos { ac_try='test -s conftest.$ac_objext' 67921.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 67931.40Satatat (eval $ac_try) 2>&5 67941.40Satatat ac_status=$? 67951.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 67961.40Satatat (exit $ac_status); }; }; then 67971.61Schristos ac_cv_member_struct_stat_st_atim=yes 67981.40Satatatelse 67991.40Satatat echo "$as_me: failed program was:" >&5 68001.61Schristossed 's/^/| /' conftest.$ac_ext >&5 68011.61Schristos 68021.61Schristosac_cv_member_struct_stat_st_atim=no 68031.61Schristosfi 68041.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68051.40Satatatfi 68061.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 68071.53Sdogcowfi 68081.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5 68091.61Schristosecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6 68101.61Schristosif test $ac_cv_member_struct_stat_st_atim = yes; then 68111.61Schristos 68121.61Schristoscat >>confdefs.h <<_ACEOF 68131.61Schristos#define HAVE_STRUCT_STAT_ST_ATIM 1 68141.61Schristos_ACEOF 68151.53Sdogcow 68161.40Satatat 68171.40Satatatfi 68181.61Schristosecho "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5 68191.61Schristosecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6 68201.61Schristosif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then 68211.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 68221.7Stvelse 68231.7Stv cat >conftest.$ac_ext <<_ACEOF 68241.61Schristos/* confdefs.h. */ 68251.61Schristos_ACEOF 68261.61Schristoscat confdefs.h >>conftest.$ac_ext 68271.61Schristoscat >>conftest.$ac_ext <<_ACEOF 68281.61Schristos/* end confdefs.h. */ 68291.7Stv#include <sys/stat.h> 68301.7Stv 68311.7Stvint 68321.7Stvmain () 68331.7Stv{ 68341.7Stvstatic struct stat ac_aggr; 68351.61Schristosif (ac_aggr.st_mtimensec) 68361.7Stvreturn 0; 68371.7Stv ; 68381.7Stv return 0; 68391.7Stv} 68401.7Stv_ACEOF 68411.7Stvrm -f conftest.$ac_objext 68421.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68431.61Schristos (eval $ac_compile) 2>conftest.er1 68441.53Sdogcow ac_status=$? 68451.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 68461.61Schristos rm -f conftest.er1 68471.61Schristos cat conftest.err >&5 68481.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 68491.53Sdogcow (exit $ac_status); } && 68501.61Schristos { ac_try='test -z "$ac_c_werror_flag" 68511.61Schristos || test ! -s conftest.err' 68521.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68531.53Sdogcow (eval $ac_try) 2>&5 68541.53Sdogcow ac_status=$? 68551.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 68561.61Schristos (exit $ac_status); }; } && 68571.61Schristos { ac_try='test -s conftest.$ac_objext' 68581.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68591.61Schristos (eval $ac_try) 2>&5 68601.61Schristos ac_status=$? 68611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 68621.53Sdogcow (exit $ac_status); }; }; then 68631.61Schristos ac_cv_member_struct_stat_st_mtimensec=yes 68641.53Sdogcowelse 68651.53Sdogcow echo "$as_me: failed program was:" >&5 68661.61Schristossed 's/^/| /' conftest.$ac_ext >&5 68671.60Sapb 68681.61Schristoscat >conftest.$ac_ext <<_ACEOF 68691.61Schristos/* confdefs.h. */ 68701.61Schristos_ACEOF 68711.61Schristoscat confdefs.h >>conftest.$ac_ext 68721.61Schristoscat >>conftest.$ac_ext <<_ACEOF 68731.61Schristos/* end confdefs.h. */ 68741.53Sdogcow#include <sys/stat.h> 68751.53Sdogcow 68761.53Sdogcowint 68771.53Sdogcowmain () 68781.53Sdogcow{ 68791.53Sdogcowstatic struct stat ac_aggr; 68801.61Schristosif (sizeof ac_aggr.st_mtimensec) 68811.53Sdogcowreturn 0; 68821.53Sdogcow ; 68831.53Sdogcow return 0; 68841.53Sdogcow} 68851.53Sdogcow_ACEOF 68861.53Sdogcowrm -f conftest.$ac_objext 68871.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 68881.61Schristos (eval $ac_compile) 2>conftest.er1 68891.7Stv ac_status=$? 68901.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 68911.61Schristos rm -f conftest.er1 68921.61Schristos cat conftest.err >&5 68931.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 68941.7Stv (exit $ac_status); } && 68951.61Schristos { ac_try='test -z "$ac_c_werror_flag" 68961.61Schristos || test ! -s conftest.err' 68971.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 68981.61Schristos (eval $ac_try) 2>&5 68991.61Schristos ac_status=$? 69001.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 69011.61Schristos (exit $ac_status); }; } && 69021.61Schristos { ac_try='test -s conftest.$ac_objext' 69031.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69041.48Sjmc (eval $ac_try) 2>&5 69051.48Sjmc ac_status=$? 69061.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 69071.7Stv (exit $ac_status); }; }; then 69081.7Stv ac_cv_member_struct_stat_st_mtimensec=yes 69091.7Stvelse 69101.7Stv echo "$as_me: failed program was:" >&5 69111.61Schristossed 's/^/| /' conftest.$ac_ext >&5 69121.61Schristos 69131.7Stvac_cv_member_struct_stat_st_mtimensec=no 69141.7Stvfi 69151.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69161.7Stvfi 69171.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 69181.61Schristosfi 69191.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5 69201.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6 69211.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then 69221.7Stv 69231.61Schristoscat >>confdefs.h <<_ACEOF 69241.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 69251.61Schristos_ACEOF 69261.61Schristos 69271.7Stv 69281.7Stvfi 69291.4Stv 69301.61Schristosecho "$as_me:$LINENO: checking for struct statvfs.f_iosize" >&5 69311.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6 69321.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then 69331.47Sdbj echo $ECHO_N "(cached) $ECHO_C" >&6 69341.47Sdbjelse 69351.52Sdbj cat >conftest.$ac_ext <<_ACEOF 69361.61Schristos/* confdefs.h. */ 69371.61Schristos_ACEOF 69381.61Schristoscat confdefs.h >>conftest.$ac_ext 69391.61Schristoscat >>conftest.$ac_ext <<_ACEOF 69401.61Schristos/* end confdefs.h. */ 69411.48Sjmc#include <sys/statvfs.h> 69421.48Sjmc 69431.48Sjmcint 69441.48Sjmcmain () 69451.48Sjmc{ 69461.48Sjmcstatic struct statvfs ac_aggr; 69471.52Sdbjif (ac_aggr.f_iosize) 69481.48Sjmcreturn 0; 69491.48Sjmc ; 69501.48Sjmc return 0; 69511.48Sjmc} 69521.48Sjmc_ACEOF 69531.48Sjmcrm -f conftest.$ac_objext 69541.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 69551.61Schristos (eval $ac_compile) 2>conftest.er1 69561.61Schristos ac_status=$? 69571.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 69581.61Schristos rm -f conftest.er1 69591.61Schristos cat conftest.err >&5 69601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 69611.61Schristos (exit $ac_status); } && 69621.61Schristos { ac_try='test -z "$ac_c_werror_flag" 69631.61Schristos || test ! -s conftest.err' 69641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69651.61Schristos (eval $ac_try) 2>&5 69661.61Schristos ac_status=$? 69671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 69681.61Schristos (exit $ac_status); }; } && 69691.61Schristos { ac_try='test -s conftest.$ac_objext' 69701.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 69711.61Schristos (eval $ac_try) 2>&5 69721.61Schristos ac_status=$? 69731.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 69741.61Schristos (exit $ac_status); }; }; then 69751.61Schristos ac_cv_member_struct_statvfs_f_iosize=yes 69761.61Schristoselse 69771.61Schristos echo "$as_me: failed program was:" >&5 69781.61Schristossed 's/^/| /' conftest.$ac_ext >&5 69791.61Schristos 69801.61Schristoscat >conftest.$ac_ext <<_ACEOF 69811.61Schristos/* confdefs.h. */ 69821.61Schristos_ACEOF 69831.61Schristoscat confdefs.h >>conftest.$ac_ext 69841.61Schristoscat >>conftest.$ac_ext <<_ACEOF 69851.61Schristos/* end confdefs.h. */ 69861.61Schristos#include <sys/statvfs.h> 69871.61Schristos 69881.61Schristosint 69891.61Schristosmain () 69901.61Schristos{ 69911.61Schristosstatic struct statvfs ac_aggr; 69921.61Schristosif (sizeof ac_aggr.f_iosize) 69931.61Schristosreturn 0; 69941.61Schristos ; 69951.61Schristos return 0; 69961.61Schristos} 69971.61Schristos_ACEOF 69981.61Schristosrm -f conftest.$ac_objext 69991.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 70001.61Schristos (eval $ac_compile) 2>conftest.er1 70011.7Stv ac_status=$? 70021.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 70031.61Schristos rm -f conftest.er1 70041.61Schristos cat conftest.err >&5 70051.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70061.7Stv (exit $ac_status); } && 70071.61Schristos { ac_try='test -z "$ac_c_werror_flag" 70081.61Schristos || test ! -s conftest.err' 70091.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70101.53Sdogcow (eval $ac_try) 2>&5 70111.53Sdogcow ac_status=$? 70121.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70131.61Schristos (exit $ac_status); }; } && 70141.61Schristos { ac_try='test -s conftest.$ac_objext' 70151.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70161.61Schristos (eval $ac_try) 2>&5 70171.61Schristos ac_status=$? 70181.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70191.53Sdogcow (exit $ac_status); }; }; then 70201.53Sdogcow ac_cv_member_struct_statvfs_f_iosize=yes 70211.53Sdogcowelse 70221.53Sdogcow echo "$as_me: failed program was:" >&5 70231.61Schristossed 's/^/| /' conftest.$ac_ext >&5 70241.61Schristos 70251.53Sdogcowac_cv_member_struct_statvfs_f_iosize=no 70261.53Sdogcowfi 70271.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 70281.61Schristosfi 70291.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 70301.53Sdogcowfi 70311.61Schristosecho "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_iosize" >&5 70321.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6 70331.53Sdogcowif test $ac_cv_member_struct_statvfs_f_iosize = yes; then 70341.53Sdogcow 70351.61Schristoscat >>confdefs.h <<_ACEOF 70361.53Sdogcow#define HAVE_STRUCT_STATVFS_F_IOSIZE 1 70371.61Schristos_ACEOF 70381.61Schristos 70391.53Sdogcow 70401.53Sdogcowfi 70411.53Sdogcow 70421.61Schristos 70431.53Sdogcow# Global variable decls. 70441.61Schristosecho "$as_me:$LINENO: checking whether optind is declared" >&5 70451.53Sdogcowecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6 70461.53Sdogcowif test "${ac_cv_have_decl_optind+set}" = set; then 70471.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 70481.53Sdogcowelse 70491.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 70501.61Schristos/* confdefs.h. */ 70511.61Schristos_ACEOF 70521.61Schristoscat confdefs.h >>conftest.$ac_ext 70531.61Schristoscat >>conftest.$ac_ext <<_ACEOF 70541.61Schristos/* end confdefs.h. */ 70551.53Sdogcow 70561.53Sdogcow#include <stdio.h> 70571.53Sdogcow#include <stdlib.h> 70581.53Sdogcow#include <unistd.h> 70591.53Sdogcow 70601.61Schristos 70611.53Sdogcowint 70621.53Sdogcowmain () 70631.53Sdogcow{ 70641.53Sdogcow#ifndef optind 70651.53Sdogcow char *p = (char *) optind; 70661.53Sdogcow#endif 70671.53Sdogcow 70681.53Sdogcow ; 70691.53Sdogcow return 0; 70701.53Sdogcow} 70711.53Sdogcow_ACEOF 70721.53Sdogcowrm -f conftest.$ac_objext 70731.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 70741.61Schristos (eval $ac_compile) 2>conftest.er1 70751.53Sdogcow ac_status=$? 70761.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 70771.61Schristos rm -f conftest.er1 70781.61Schristos cat conftest.err >&5 70791.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70801.53Sdogcow (exit $ac_status); } && 70811.61Schristos { ac_try='test -z "$ac_c_werror_flag" 70821.61Schristos || test ! -s conftest.err' 70831.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70841.53Sdogcow (eval $ac_try) 2>&5 70851.53Sdogcow ac_status=$? 70861.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70871.61Schristos (exit $ac_status); }; } && 70881.61Schristos { ac_try='test -s conftest.$ac_objext' 70891.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 70901.61Schristos (eval $ac_try) 2>&5 70911.61Schristos ac_status=$? 70921.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 70931.7Stv (exit $ac_status); }; }; then 70941.7Stv ac_cv_have_decl_optind=yes 70951.7Stvelse 70961.7Stv echo "$as_me: failed program was:" >&5 70971.61Schristossed 's/^/| /' conftest.$ac_ext >&5 70981.61Schristos 70991.7Stvac_cv_have_decl_optind=no 71001.7Stvfi 71011.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 71021.7Stvfi 71031.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 71041.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6 71051.7Stvif test $ac_cv_have_decl_optind = yes; then 71061.7Stv 71071.61Schristoscat >>confdefs.h <<_ACEOF 71081.7Stv#define HAVE_DECL_OPTIND 1 71091.61Schristos_ACEOF 71101.61Schristos 71111.7Stv 71121.7Stvelse 71131.61Schristos cat >>confdefs.h <<_ACEOF 71141.7Stv#define HAVE_DECL_OPTIND 0 71151.61Schristos_ACEOF 71161.61Schristos 71171.7Stv 71181.7Stvfi 71191.61Schristosecho "$as_me:$LINENO: checking whether optreset is declared" >&5 71201.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 71211.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then 71221.7Stv echo $ECHO_N "(cached) $ECHO_C" >&6 71231.7Stvelse 71241.7Stv cat >conftest.$ac_ext <<_ACEOF 71251.61Schristos/* confdefs.h. */ 71261.61Schristos_ACEOF 71271.61Schristoscat confdefs.h >>conftest.$ac_ext 71281.61Schristoscat >>conftest.$ac_ext <<_ACEOF 71291.61Schristos/* end confdefs.h. */ 71301.7Stv 71311.7Stv#include <stdio.h> 71321.7Stv#include <stdlib.h> 71331.7Stv#include <unistd.h> 71341.7Stv 71351.61Schristos 71361.7Stvint 71371.7Stvmain () 71381.7Stv{ 71391.7Stv#ifndef optreset 71401.7Stv char *p = (char *) optreset; 71411.7Stv#endif 71421.7Stv 71431.7Stv ; 71441.7Stv return 0; 71451.7Stv} 71461.7Stv_ACEOF 71471.7Stvrm -f conftest.$ac_objext 71481.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 71491.61Schristos (eval $ac_compile) 2>conftest.er1 71501.7Stv ac_status=$? 71511.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 71521.61Schristos rm -f conftest.er1 71531.61Schristos cat conftest.err >&5 71541.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 71551.7Stv (exit $ac_status); } && 71561.61Schristos { ac_try='test -z "$ac_c_werror_flag" 71571.61Schristos || test ! -s conftest.err' 71581.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71591.53Sdogcow (eval $ac_try) 2>&5 71601.53Sdogcow ac_status=$? 71611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 71621.61Schristos (exit $ac_status); }; } && 71631.61Schristos { ac_try='test -s conftest.$ac_objext' 71641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 71651.61Schristos (eval $ac_try) 2>&5 71661.61Schristos ac_status=$? 71671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 71681.7Stv (exit $ac_status); }; }; then 71691.7Stv ac_cv_have_decl_optreset=yes 71701.7Stvelse 71711.7Stv echo "$as_me: failed program was:" >&5 71721.61Schristossed 's/^/| /' conftest.$ac_ext >&5 71731.61Schristos 71741.7Stvac_cv_have_decl_optreset=no 71751.7Stvfi 71761.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 71771.7Stvfi 71781.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 71791.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6 71801.7Stvif test $ac_cv_have_decl_optreset = yes; then 71811.7Stv 71821.61Schristoscat >>confdefs.h <<_ACEOF 71831.7Stv#define HAVE_DECL_OPTRESET 1 71841.61Schristos_ACEOF 71851.61Schristos 71861.7Stv 71871.7Stvelse 71881.61Schristos cat >>confdefs.h <<_ACEOF 71891.7Stv#define HAVE_DECL_OPTRESET 0 71901.61Schristos_ACEOF 71911.61Schristos 71921.7Stv 71931.7Stvfi 71941.7Stv 71951.61Schristos 71961.61Schristosecho "$as_me:$LINENO: checking whether sys_signame is declared" >&5 71971.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6 71981.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then 71991.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 72001.4Stvelse 72011.4Stv cat >conftest.$ac_ext <<_ACEOF 72021.61Schristos/* confdefs.h. */ 72031.61Schristos_ACEOF 72041.61Schristoscat confdefs.h >>conftest.$ac_ext 72051.61Schristoscat >>conftest.$ac_ext <<_ACEOF 72061.61Schristos/* end confdefs.h. */ 72071.4Stv#include <signal.h> 72081.4Stv 72091.4Stvint 72101.4Stvmain () 72111.4Stv{ 72121.4Stv#ifndef sys_signame 72131.4Stv char *p = (char *) sys_signame; 72141.4Stv#endif 72151.4Stv 72161.4Stv ; 72171.4Stv return 0; 72181.4Stv} 72191.4Stv_ACEOF 72201.4Stvrm -f conftest.$ac_objext 72211.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 72221.61Schristos (eval $ac_compile) 2>conftest.er1 72231.4Stv ac_status=$? 72241.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 72251.61Schristos rm -f conftest.er1 72261.61Schristos cat conftest.err >&5 72271.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 72281.4Stv (exit $ac_status); } && 72291.61Schristos { ac_try='test -z "$ac_c_werror_flag" 72301.61Schristos || test ! -s conftest.err' 72311.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72321.53Sdogcow (eval $ac_try) 2>&5 72331.53Sdogcow ac_status=$? 72341.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 72351.61Schristos (exit $ac_status); }; } && 72361.61Schristos { ac_try='test -s conftest.$ac_objext' 72371.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 72381.61Schristos (eval $ac_try) 2>&5 72391.61Schristos ac_status=$? 72401.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 72411.4Stv (exit $ac_status); }; }; then 72421.4Stv ac_cv_have_decl_sys_signame=yes 72431.4Stvelse 72441.4Stv echo "$as_me: failed program was:" >&5 72451.61Schristossed 's/^/| /' conftest.$ac_ext >&5 72461.61Schristos 72471.4Stvac_cv_have_decl_sys_signame=no 72481.4Stvfi 72491.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 72501.4Stvfi 72511.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5 72521.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6 72531.4Stvif test $ac_cv_have_decl_sys_signame = yes; then 72541.4Stv 72551.61Schristoscat >>confdefs.h <<_ACEOF 72561.4Stv#define HAVE_DECL_SYS_SIGNAME 1 72571.61Schristos_ACEOF 72581.61Schristos 72591.4Stv 72601.4Stvelse 72611.61Schristos cat >>confdefs.h <<_ACEOF 72621.4Stv#define HAVE_DECL_SYS_SIGNAME 0 72631.61Schristos_ACEOF 72641.61Schristos 72651.4Stv 72661.4Stvfi 72671.4Stv 72681.61Schristos 72691.61Schristos 72701.4Stv# Library functions (where a .h check isn't enough). 72711.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 72721.19Sbjh21# for constant arguments. Useless! 72731.61Schristosecho "$as_me:$LINENO: checking for working alloca.h" >&5 72741.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 72751.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then 72761.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 72771.19Sbjh21else 72781.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 72791.61Schristos/* confdefs.h. */ 72801.61Schristos_ACEOF 72811.61Schristoscat confdefs.h >>conftest.$ac_ext 72821.61Schristoscat >>conftest.$ac_ext <<_ACEOF 72831.61Schristos/* end confdefs.h. */ 72841.19Sbjh21#include <alloca.h> 72851.19Sbjh21int 72861.19Sbjh21main () 72871.19Sbjh21{ 72881.19Sbjh21char *p = (char *) alloca (2 * sizeof (int)); 72891.19Sbjh21 ; 72901.19Sbjh21 return 0; 72911.19Sbjh21} 72921.19Sbjh21_ACEOF 72931.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 72941.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 72951.61Schristos (eval $ac_link) 2>conftest.er1 72961.19Sbjh21 ac_status=$? 72971.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 72981.61Schristos rm -f conftest.er1 72991.61Schristos cat conftest.err >&5 73001.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73011.19Sbjh21 (exit $ac_status); } && 73021.61Schristos { ac_try='test -z "$ac_c_werror_flag" 73031.61Schristos || test ! -s conftest.err' 73041.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73051.61Schristos (eval $ac_try) 2>&5 73061.61Schristos ac_status=$? 73071.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73081.61Schristos (exit $ac_status); }; } && 73091.61Schristos { ac_try='test -s conftest$ac_exeext' 73101.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73111.50Sjmc (eval $ac_try) 2>&5 73121.50Sjmc ac_status=$? 73131.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73141.19Sbjh21 (exit $ac_status); }; }; then 73151.19Sbjh21 ac_cv_working_alloca_h=yes 73161.19Sbjh21else 73171.19Sbjh21 echo "$as_me: failed program was:" >&5 73181.61Schristossed 's/^/| /' conftest.$ac_ext >&5 73191.61Schristos 73201.19Sbjh21ac_cv_working_alloca_h=no 73211.19Sbjh21fi 73221.61Schristosrm -f conftest.err conftest.$ac_objext \ 73231.61Schristos conftest$ac_exeext conftest.$ac_ext 73241.19Sbjh21fi 73251.61Schristosecho "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 73261.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 73271.19Sbjh21if test $ac_cv_working_alloca_h = yes; then 73281.19Sbjh21 73291.61Schristoscat >>confdefs.h <<\_ACEOF 73301.19Sbjh21#define HAVE_ALLOCA_H 1 73311.61Schristos_ACEOF 73321.19Sbjh21 73331.19Sbjh21fi 73341.19Sbjh21 73351.61Schristosecho "$as_me:$LINENO: checking for alloca" >&5 73361.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6 73371.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then 73381.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 73391.19Sbjh21else 73401.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 73411.61Schristos/* confdefs.h. */ 73421.61Schristos_ACEOF 73431.61Schristoscat confdefs.h >>conftest.$ac_ext 73441.61Schristoscat >>conftest.$ac_ext <<_ACEOF 73451.61Schristos/* end confdefs.h. */ 73461.19Sbjh21#ifdef __GNUC__ 73471.19Sbjh21# define alloca __builtin_alloca 73481.19Sbjh21#else 73491.19Sbjh21# ifdef _MSC_VER 73501.19Sbjh21# include <malloc.h> 73511.19Sbjh21# define alloca _alloca 73521.19Sbjh21# else 73531.19Sbjh21# if HAVE_ALLOCA_H 73541.19Sbjh21# include <alloca.h> 73551.19Sbjh21# else 73561.19Sbjh21# ifdef _AIX 73571.19Sbjh21 #pragma alloca 73581.19Sbjh21# else 73591.19Sbjh21# ifndef alloca /* predefined by HP cc +Olibcalls */ 73601.19Sbjh21char *alloca (); 73611.19Sbjh21# endif 73621.19Sbjh21# endif 73631.19Sbjh21# endif 73641.19Sbjh21# endif 73651.19Sbjh21#endif 73661.19Sbjh21 73671.19Sbjh21int 73681.19Sbjh21main () 73691.19Sbjh21{ 73701.19Sbjh21char *p = (char *) alloca (1); 73711.19Sbjh21 ; 73721.19Sbjh21 return 0; 73731.19Sbjh21} 73741.19Sbjh21_ACEOF 73751.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext 73761.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 73771.61Schristos (eval $ac_link) 2>conftest.er1 73781.19Sbjh21 ac_status=$? 73791.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 73801.61Schristos rm -f conftest.er1 73811.61Schristos cat conftest.err >&5 73821.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73831.19Sbjh21 (exit $ac_status); } && 73841.61Schristos { ac_try='test -z "$ac_c_werror_flag" 73851.61Schristos || test ! -s conftest.err' 73861.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73871.61Schristos (eval $ac_try) 2>&5 73881.61Schristos ac_status=$? 73891.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73901.61Schristos (exit $ac_status); }; } && 73911.61Schristos { ac_try='test -s conftest$ac_exeext' 73921.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 73931.50Sjmc (eval $ac_try) 2>&5 73941.50Sjmc ac_status=$? 73951.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 73961.19Sbjh21 (exit $ac_status); }; }; then 73971.19Sbjh21 ac_cv_func_alloca_works=yes 73981.19Sbjh21else 73991.19Sbjh21 echo "$as_me: failed program was:" >&5 74001.61Schristossed 's/^/| /' conftest.$ac_ext >&5 74011.61Schristos 74021.19Sbjh21ac_cv_func_alloca_works=no 74031.19Sbjh21fi 74041.61Schristosrm -f conftest.err conftest.$ac_objext \ 74051.61Schristos conftest$ac_exeext conftest.$ac_ext 74061.19Sbjh21fi 74071.61Schristosecho "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 74081.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 74091.19Sbjh21 74101.19Sbjh21if test $ac_cv_func_alloca_works = yes; then 74111.19Sbjh21 74121.61Schristoscat >>confdefs.h <<\_ACEOF 74131.19Sbjh21#define HAVE_ALLOCA 1 74141.61Schristos_ACEOF 74151.19Sbjh21 74161.19Sbjh21else 74171.19Sbjh21 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 74181.19Sbjh21# that cause trouble. Some versions do not even contain alloca or 74191.19Sbjh21# contain a buggy version. If you still want to use their alloca, 74201.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c. 74211.19Sbjh21 74221.19Sbjh21ALLOCA=alloca.$ac_objext 74231.19Sbjh21 74241.61Schristoscat >>confdefs.h <<\_ACEOF 74251.19Sbjh21#define C_ALLOCA 1 74261.61Schristos_ACEOF 74271.39Sfredb 74281.61Schristos 74291.61Schristosecho "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 74301.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 74311.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then 74321.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 74331.19Sbjh21else 74341.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 74351.61Schristos/* confdefs.h. */ 74361.61Schristos_ACEOF 74371.61Schristoscat confdefs.h >>conftest.$ac_ext 74381.61Schristoscat >>conftest.$ac_ext <<_ACEOF 74391.61Schristos/* end confdefs.h. */ 74401.19Sbjh21#if defined(CRAY) && ! defined(CRAY2) 74411.19Sbjh21webecray 74421.19Sbjh21#else 74431.19Sbjh21wenotbecray 74441.19Sbjh21#endif 74451.19Sbjh21 74461.19Sbjh21_ACEOF 74471.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 74481.61Schristos $EGREP "webecray" >/dev/null 2>&1; then 74491.19Sbjh21 ac_cv_os_cray=yes 74501.19Sbjh21else 74511.19Sbjh21 ac_cv_os_cray=no 74521.19Sbjh21fi 74531.19Sbjh21rm -f conftest* 74541.19Sbjh21 74551.19Sbjh21fi 74561.61Schristosecho "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 74571.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6 74581.19Sbjh21if test $ac_cv_os_cray = yes; then 74591.19Sbjh21 for ac_func in _getb67 GETB67 getb67; do 74601.19Sbjh21 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 74611.61Schristosecho "$as_me:$LINENO: checking for $ac_func" >&5 74621.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 74631.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then 74641.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 74651.19Sbjh21else 74661.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 74671.61Schristos/* confdefs.h. */ 74681.61Schristos_ACEOF 74691.61Schristoscat confdefs.h >>conftest.$ac_ext 74701.61Schristoscat >>conftest.$ac_ext <<_ACEOF 74711.61Schristos/* end confdefs.h. */ 74721.61Schristos/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 74731.61Schristos For example, HP-UX 11i <limits.h> declares gettimeofday. */ 74741.61Schristos#define $ac_func innocuous_$ac_func 74751.61Schristos 74761.19Sbjh21/* System header to define __stub macros and hopefully few prototypes, 74771.61Schristos which can conflict with char $ac_func (); below. 74781.61Schristos Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 74791.61Schristos <limits.h> exists even on freestanding compilers. */ 74801.61Schristos 74811.61Schristos#ifdef __STDC__ 74821.61Schristos# include <limits.h> 74831.61Schristos#else 74841.61Schristos# include <assert.h> 74851.61Schristos#endif 74861.61Schristos 74871.61Schristos#undef $ac_func 74881.61Schristos 74891.19Sbjh21/* Override any gcc2 internal prototype to avoid an error. */ 74901.19Sbjh21#ifdef __cplusplus 74911.19Sbjh21extern "C" 74921.61Schristos{ 74931.19Sbjh21#endif 74941.19Sbjh21/* We use char because int might match the return type of a gcc2 74951.19Sbjh21 builtin and then its argument prototype would still apply. */ 74961.19Sbjh21char $ac_func (); 74971.19Sbjh21/* The GNU C library defines this for functions which it implements 74981.19Sbjh21 to always fail with ENOSYS. Some functions are actually named 74991.19Sbjh21 something starting with __ and the normal name is an alias. */ 75001.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 75011.19Sbjh21choke me 75021.19Sbjh21#else 75031.61Schristoschar (*f) () = $ac_func; 75041.61Schristos#endif 75051.61Schristos#ifdef __cplusplus 75061.61Schristos} 75071.19Sbjh21#endif 75081.19Sbjh21 75091.61Schristosint 75101.61Schristosmain () 75111.61Schristos{ 75121.61Schristosreturn f != $ac_func; 75131.19Sbjh21 ; 75141.19Sbjh21 return 0; 75151.19Sbjh21} 75161.19Sbjh21_ACEOF 75171.61Schristosrm -f conftest.$ac_objext conftest$ac_exeext 75181.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 75191.61Schristos (eval $ac_link) 2>conftest.er1 75201.61Schristos ac_status=$? 75211.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 75221.61Schristos rm -f conftest.er1 75231.61Schristos cat conftest.err >&5 75241.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 75251.61Schristos (exit $ac_status); } && 75261.61Schristos { ac_try='test -z "$ac_c_werror_flag" 75271.61Schristos || test ! -s conftest.err' 75281.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 75291.61Schristos (eval $ac_try) 2>&5 75301.19Sbjh21 ac_status=$? 75311.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 75321.61Schristos (exit $ac_status); }; } && 75331.61Schristos { ac_try='test -s conftest$ac_exeext' 75341.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 75351.50Sjmc (eval $ac_try) 2>&5 75361.50Sjmc ac_status=$? 75371.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 75381.19Sbjh21 (exit $ac_status); }; }; then 75391.19Sbjh21 eval "$as_ac_var=yes" 75401.19Sbjh21else 75411.19Sbjh21 echo "$as_me: failed program was:" >&5 75421.61Schristossed 's/^/| /' conftest.$ac_ext >&5 75431.61Schristos 75441.19Sbjh21eval "$as_ac_var=no" 75451.19Sbjh21fi 75461.61Schristosrm -f conftest.err conftest.$ac_objext \ 75471.61Schristos conftest$ac_exeext conftest.$ac_ext 75481.19Sbjh21fi 75491.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 75501.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 75511.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then 75521.19Sbjh21 75531.61Schristoscat >>confdefs.h <<_ACEOF 75541.19Sbjh21#define CRAY_STACKSEG_END $ac_func 75551.61Schristos_ACEOF 75561.19Sbjh21 75571.19Sbjh21 break 75581.19Sbjh21fi 75591.19Sbjh21 75601.19Sbjh21 done 75611.19Sbjh21fi 75621.19Sbjh21 75631.61Schristosecho "$as_me:$LINENO: checking stack direction for C alloca" >&5 75641.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 75651.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then 75661.19Sbjh21 echo $ECHO_N "(cached) $ECHO_C" >&6 75671.19Sbjh21else 75681.19Sbjh21 if test "$cross_compiling" = yes; then 75691.19Sbjh21 ac_cv_c_stack_direction=0 75701.19Sbjh21else 75711.19Sbjh21 cat >conftest.$ac_ext <<_ACEOF 75721.61Schristos/* confdefs.h. */ 75731.61Schristos_ACEOF 75741.61Schristoscat confdefs.h >>conftest.$ac_ext 75751.61Schristoscat >>conftest.$ac_ext <<_ACEOF 75761.61Schristos/* end confdefs.h. */ 75771.19Sbjh21int 75781.19Sbjh21find_stack_direction () 75791.19Sbjh21{ 75801.19Sbjh21 static char *addr = 0; 75811.19Sbjh21 auto char dummy; 75821.19Sbjh21 if (addr == 0) 75831.19Sbjh21 { 75841.19Sbjh21 addr = &dummy; 75851.19Sbjh21 return find_stack_direction (); 75861.19Sbjh21 } 75871.19Sbjh21 else 75881.19Sbjh21 return (&dummy > addr) ? 1 : -1; 75891.19Sbjh21} 75901.19Sbjh21 75911.43Sdbjint 75921.43Sdbjmain () 75931.43Sdbj{ 75941.43Sdbj exit (find_stack_direction () < 0); 75951.43Sdbj} 75961.43Sdbj_ACEOF 75971.43Sdbjrm -f conftest$ac_exeext 75981.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 75991.43Sdbj (eval $ac_link) 2>&5 76001.43Sdbj ac_status=$? 76011.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 76021.43Sdbj (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 76031.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 76041.43Sdbj (eval $ac_try) 2>&5 76051.43Sdbj ac_status=$? 76061.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 76071.43Sdbj (exit $ac_status); }; }; then 76081.43Sdbj ac_cv_c_stack_direction=1 76091.43Sdbjelse 76101.43Sdbj echo "$as_me: program exited with status $ac_status" >&5 76111.43Sdbjecho "$as_me: failed program was:" >&5 76121.61Schristossed 's/^/| /' conftest.$ac_ext >&5 76131.61Schristos 76141.61Schristos( exit $ac_status ) 76151.43Sdbjac_cv_c_stack_direction=-1 76161.43Sdbjfi 76171.61Schristosrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 76181.43Sdbjfi 76191.43Sdbjfi 76201.61Schristosecho "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 76211.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6 76221.39Sfredb 76231.61Schristoscat >>confdefs.h <<_ACEOF 76241.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction 76251.61Schristos_ACEOF 76261.61Schristos 76271.39Sfredb 76281.43Sdbjfi 76291.40Satatat 76301.61Schristos 76311.61Schristos 76321.61Schristos 76331.61Schristos 76341.61Schristos 76351.61Schristos 76361.61Schristos 76371.61Schristos 76381.61Schristos 76391.61Schristos 76401.61Schristos 76411.61Schristos 76421.61Schristos 76431.61Schristos 76441.61Schristos 76451.61Schristos 76461.61Schristos 76471.61Schristos 76481.61Schristos 76491.61Schristos 76501.61Schristos 76511.61Schristos 76521.61Schristos 76531.61Schristos 76541.61Schristos 76551.61Schristos 76561.61Schristos 76571.61Schristos 76581.61Schristos 76591.61Schristos 76601.61Schristos 76611.61Schristos 76621.61Schristos 76631.61Schristos 76641.61Schristos 76651.61Schristos 76661.61Schristos 76671.61Schristos 76681.61Schristos 76691.61Schristos 76701.61Schristos 76711.61Schristos 76721.61Schristos 76731.61Schristos 76741.61Schristos 76751.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ 76761.61Schristos esetfunc fgetln flock fparseln futimes getopt getopt_long \ 76771.61Schristos group_from_gid \ 76781.49Sjmc heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ 76791.49Sjmc mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \ 76801.60Sapb setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \ 76811.60Sapb strsep strsuftoll strtoll \ 76821.23Sthorpej user_from_uid vasprintf vasnprintf vsnprintf 76831.1Stvdo 76841.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 76851.61Schristosecho "$as_me:$LINENO: checking for $ac_func" >&5 76861.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6 76871.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then 76881.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 76891.45Sjmcelse 76901.45Sjmc cat >conftest.$ac_ext <<_ACEOF 76911.61Schristos/* confdefs.h. */ 76921.61Schristos_ACEOF 76931.61Schristoscat confdefs.h >>conftest.$ac_ext 76941.61Schristoscat >>conftest.$ac_ext <<_ACEOF 76951.61Schristos/* end confdefs.h. */ 76961.61Schristos/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 76971.61Schristos For example, HP-UX 11i <limits.h> declares gettimeofday. */ 76981.61Schristos#define $ac_func innocuous_$ac_func 76991.61Schristos 77001.45Sjmc/* System header to define __stub macros and hopefully few prototypes, 77011.61Schristos which can conflict with char $ac_func (); below. 77021.61Schristos Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 77031.61Schristos <limits.h> exists even on freestanding compilers. */ 77041.61Schristos 77051.61Schristos#ifdef __STDC__ 77061.61Schristos# include <limits.h> 77071.61Schristos#else 77081.61Schristos# include <assert.h> 77091.61Schristos#endif 77101.61Schristos 77111.61Schristos#undef $ac_func 77121.61Schristos 77131.45Sjmc/* Override any gcc2 internal prototype to avoid an error. */ 77141.45Sjmc#ifdef __cplusplus 77151.45Sjmcextern "C" 77161.61Schristos{ 77171.45Sjmc#endif 77181.45Sjmc/* We use char because int might match the return type of a gcc2 77191.45Sjmc builtin and then its argument prototype would still apply. */ 77201.45Sjmcchar $ac_func (); 77211.45Sjmc/* The GNU C library defines this for functions which it implements 77221.45Sjmc to always fail with ENOSYS. Some functions are actually named 77231.45Sjmc something starting with __ and the normal name is an alias. */ 77241.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 77251.45Sjmcchoke me 77261.45Sjmc#else 77271.61Schristoschar (*f) () = $ac_func; 77281.61Schristos#endif 77291.61Schristos#ifdef __cplusplus 77301.61Schristos} 77311.45Sjmc#endif 77321.45Sjmc 77331.61Schristosint 77341.61Schristosmain () 77351.61Schristos{ 77361.61Schristosreturn f != $ac_func; 77371.45Sjmc ; 77381.45Sjmc return 0; 77391.45Sjmc} 77401.45Sjmc_ACEOF 77411.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext 77421.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 77431.61Schristos (eval $ac_link) 2>conftest.er1 77441.45Sjmc ac_status=$? 77451.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 77461.61Schristos rm -f conftest.er1 77471.61Schristos cat conftest.err >&5 77481.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 77491.45Sjmc (exit $ac_status); } && 77501.61Schristos { ac_try='test -z "$ac_c_werror_flag" 77511.61Schristos || test ! -s conftest.err' 77521.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77531.61Schristos (eval $ac_try) 2>&5 77541.61Schristos ac_status=$? 77551.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 77561.61Schristos (exit $ac_status); }; } && 77571.61Schristos { ac_try='test -s conftest$ac_exeext' 77581.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 77591.50Sjmc (eval $ac_try) 2>&5 77601.50Sjmc ac_status=$? 77611.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 77621.45Sjmc (exit $ac_status); }; }; then 77631.45Sjmc eval "$as_ac_var=yes" 77641.45Sjmcelse 77651.45Sjmc echo "$as_me: failed program was:" >&5 77661.61Schristossed 's/^/| /' conftest.$ac_ext >&5 77671.61Schristos 77681.45Sjmceval "$as_ac_var=no" 77691.45Sjmcfi 77701.61Schristosrm -f conftest.err conftest.$ac_objext \ 77711.61Schristos conftest$ac_exeext conftest.$ac_ext 77721.45Sjmcfi 77731.61Schristosecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 77741.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 77751.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then 77761.61Schristos cat >>confdefs.h <<_ACEOF 77771.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 77781.61Schristos_ACEOF 77791.45Sjmc 77801.45Sjmcfi 77811.45Sjmcdone 77821.45Sjmc 77831.61Schristos 77841.61Schristosecho "$as_me:$LINENO: checking whether strsuftoll is declared" >&5 77851.55Swizecho $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 77861.55Swizif test "${ac_cv_have_decl_strsuftoll+set}" = set; then 77871.55Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 77881.55Swizelse 77891.55Swiz cat >conftest.$ac_ext <<_ACEOF 77901.61Schristos/* confdefs.h. */ 77911.61Schristos_ACEOF 77921.61Schristoscat confdefs.h >>conftest.$ac_ext 77931.61Schristoscat >>conftest.$ac_ext <<_ACEOF 77941.61Schristos/* end confdefs.h. */ 77951.55Swiz#include <stdlib.h> 77961.55Swiz 77971.55Swizint 77981.55Swizmain () 77991.55Swiz{ 78001.55Swiz#ifndef strsuftoll 78011.55Swiz char *p = (char *) strsuftoll; 78021.55Swiz#endif 78031.55Swiz 78041.55Swiz ; 78051.55Swiz return 0; 78061.55Swiz} 78071.55Swiz_ACEOF 78081.55Swizrm -f conftest.$ac_objext 78091.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 78101.61Schristos (eval $ac_compile) 2>conftest.er1 78111.55Swiz ac_status=$? 78121.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 78131.61Schristos rm -f conftest.er1 78141.61Schristos cat conftest.err >&5 78151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 78161.55Swiz (exit $ac_status); } && 78171.61Schristos { ac_try='test -z "$ac_c_werror_flag" 78181.61Schristos || test ! -s conftest.err' 78191.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78201.55Swiz (eval $ac_try) 2>&5 78211.55Swiz ac_status=$? 78221.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 78231.61Schristos (exit $ac_status); }; } && 78241.61Schristos { ac_try='test -s conftest.$ac_objext' 78251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78261.61Schristos (eval $ac_try) 2>&5 78271.61Schristos ac_status=$? 78281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 78291.55Swiz (exit $ac_status); }; }; then 78301.55Swiz ac_cv_have_decl_strsuftoll=yes 78311.55Swizelse 78321.55Swiz echo "$as_me: failed program was:" >&5 78331.61Schristossed 's/^/| /' conftest.$ac_ext >&5 78341.61Schristos 78351.55Swizac_cv_have_decl_strsuftoll=no 78361.55Swizfi 78371.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 78381.55Swizfi 78391.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_strsuftoll" >&5 78401.55Swizecho "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 78411.55Swizif test $ac_cv_have_decl_strsuftoll = yes; then 78421.55Swiz 78431.61Schristoscat >>confdefs.h <<_ACEOF 78441.55Swiz#define HAVE_DECL_STRSUFTOLL 1 78451.61Schristos_ACEOF 78461.61Schristos 78471.55Swiz 78481.55Swizelse 78491.61Schristos cat >>confdefs.h <<_ACEOF 78501.55Swiz#define HAVE_DECL_STRSUFTOLL 0 78511.61Schristos_ACEOF 78521.61Schristos 78531.55Swiz 78541.55Swizfi 78551.55Swiz 78561.61Schristos 78571.61Schristos 78581.61Schristosecho "$as_me:$LINENO: checking whether htobe16 is declared" >&5 78591.53Sdogcowecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 78601.53Sdogcowif test "${ac_cv_have_decl_htobe16+set}" = set; then 78611.45Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 78621.45Sjmcelse 78631.45Sjmc cat >conftest.$ac_ext <<_ACEOF 78641.61Schristos/* confdefs.h. */ 78651.61Schristos_ACEOF 78661.61Schristoscat confdefs.h >>conftest.$ac_ext 78671.61Schristoscat >>conftest.$ac_ext <<_ACEOF 78681.61Schristos/* end confdefs.h. */ 78691.53Sdogcow#include <sys/types.h> 78701.53Sdogcow 78711.52Sdbjint 78721.52Sdbjmain () 78731.52Sdbj{ 78741.53Sdogcow#ifndef htobe16 78751.53Sdogcow char *p = (char *) htobe16; 78761.48Sjmc#endif 78771.45Sjmc 78781.48Sjmc ; 78791.48Sjmc return 0; 78801.48Sjmc} 78811.48Sjmc_ACEOF 78821.53Sdogcowrm -f conftest.$ac_objext 78831.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 78841.61Schristos (eval $ac_compile) 2>conftest.er1 78851.48Sjmc ac_status=$? 78861.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 78871.61Schristos rm -f conftest.er1 78881.61Schristos cat conftest.err >&5 78891.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 78901.48Sjmc (exit $ac_status); } && 78911.61Schristos { ac_try='test -z "$ac_c_werror_flag" 78921.61Schristos || test ! -s conftest.err' 78931.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 78941.61Schristos (eval $ac_try) 2>&5 78951.61Schristos ac_status=$? 78961.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 78971.61Schristos (exit $ac_status); }; } && 78981.61Schristos { ac_try='test -s conftest.$ac_objext' 78991.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79001.48Sjmc (eval $ac_try) 2>&5 79011.48Sjmc ac_status=$? 79021.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 79031.48Sjmc (exit $ac_status); }; }; then 79041.53Sdogcow ac_cv_have_decl_htobe16=yes 79051.48Sjmcelse 79061.48Sjmc echo "$as_me: failed program was:" >&5 79071.61Schristossed 's/^/| /' conftest.$ac_ext >&5 79081.61Schristos 79091.53Sdogcowac_cv_have_decl_htobe16=no 79101.48Sjmcfi 79111.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 79121.48Sjmcfi 79131.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5 79141.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 79151.53Sdogcowif test $ac_cv_have_decl_htobe16 = yes; then 79161.53Sdogcow 79171.61Schristoscat >>confdefs.h <<_ACEOF 79181.53Sdogcow#define HAVE_DECL_HTOBE16 1 79191.61Schristos_ACEOF 79201.61Schristos 79211.53Sdogcow 79221.53Sdogcowelse 79231.61Schristos cat >>confdefs.h <<_ACEOF 79241.53Sdogcow#define HAVE_DECL_HTOBE16 0 79251.61Schristos_ACEOF 79261.61Schristos 79271.48Sjmc 79281.48Sjmcfi 79291.61Schristosecho "$as_me:$LINENO: checking whether htobe32 is declared" >&5 79301.53Sdogcowecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 79311.53Sdogcowif test "${ac_cv_have_decl_htobe32+set}" = set; then 79321.48Sjmc echo $ECHO_N "(cached) $ECHO_C" >&6 79331.48Sjmcelse 79341.48Sjmc cat >conftest.$ac_ext <<_ACEOF 79351.61Schristos/* confdefs.h. */ 79361.61Schristos_ACEOF 79371.61Schristoscat confdefs.h >>conftest.$ac_ext 79381.61Schristoscat >>conftest.$ac_ext <<_ACEOF 79391.61Schristos/* end confdefs.h. */ 79401.53Sdogcow#include <sys/types.h> 79411.53Sdogcow 79421.53Sdogcowint 79431.53Sdogcowmain () 79441.53Sdogcow{ 79451.53Sdogcow#ifndef htobe32 79461.53Sdogcow char *p = (char *) htobe32; 79471.53Sdogcow#endif 79481.53Sdogcow 79491.53Sdogcow ; 79501.53Sdogcow return 0; 79511.53Sdogcow} 79521.53Sdogcow_ACEOF 79531.53Sdogcowrm -f conftest.$ac_objext 79541.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 79551.61Schristos (eval $ac_compile) 2>conftest.er1 79561.53Sdogcow ac_status=$? 79571.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 79581.61Schristos rm -f conftest.er1 79591.61Schristos cat conftest.err >&5 79601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 79611.53Sdogcow (exit $ac_status); } && 79621.61Schristos { ac_try='test -z "$ac_c_werror_flag" 79631.61Schristos || test ! -s conftest.err' 79641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79651.53Sdogcow (eval $ac_try) 2>&5 79661.53Sdogcow ac_status=$? 79671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 79681.61Schristos (exit $ac_status); }; } && 79691.61Schristos { ac_try='test -s conftest.$ac_objext' 79701.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 79711.61Schristos (eval $ac_try) 2>&5 79721.61Schristos ac_status=$? 79731.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 79741.53Sdogcow (exit $ac_status); }; }; then 79751.53Sdogcow ac_cv_have_decl_htobe32=yes 79761.53Sdogcowelse 79771.53Sdogcow echo "$as_me: failed program was:" >&5 79781.61Schristossed 's/^/| /' conftest.$ac_ext >&5 79791.61Schristos 79801.53Sdogcowac_cv_have_decl_htobe32=no 79811.53Sdogcowfi 79821.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 79831.53Sdogcowfi 79841.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5 79851.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 79861.53Sdogcowif test $ac_cv_have_decl_htobe32 = yes; then 79871.53Sdogcow 79881.61Schristoscat >>confdefs.h <<_ACEOF 79891.53Sdogcow#define HAVE_DECL_HTOBE32 1 79901.61Schristos_ACEOF 79911.61Schristos 79921.53Sdogcow 79931.53Sdogcowelse 79941.61Schristos cat >>confdefs.h <<_ACEOF 79951.53Sdogcow#define HAVE_DECL_HTOBE32 0 79961.61Schristos_ACEOF 79971.61Schristos 79981.53Sdogcow 79991.53Sdogcowfi 80001.61Schristosecho "$as_me:$LINENO: checking whether htobe64 is declared" >&5 80011.53Sdogcowecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 80021.53Sdogcowif test "${ac_cv_have_decl_htobe64+set}" = set; then 80031.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 80041.53Sdogcowelse 80051.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 80061.61Schristos/* confdefs.h. */ 80071.61Schristos_ACEOF 80081.61Schristoscat confdefs.h >>conftest.$ac_ext 80091.61Schristoscat >>conftest.$ac_ext <<_ACEOF 80101.61Schristos/* end confdefs.h. */ 80111.53Sdogcow#include <sys/types.h> 80121.53Sdogcow 80131.53Sdogcowint 80141.53Sdogcowmain () 80151.53Sdogcow{ 80161.53Sdogcow#ifndef htobe64 80171.53Sdogcow char *p = (char *) htobe64; 80181.53Sdogcow#endif 80191.53Sdogcow 80201.53Sdogcow ; 80211.53Sdogcow return 0; 80221.53Sdogcow} 80231.53Sdogcow_ACEOF 80241.53Sdogcowrm -f conftest.$ac_objext 80251.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 80261.61Schristos (eval $ac_compile) 2>conftest.er1 80271.53Sdogcow ac_status=$? 80281.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 80291.61Schristos rm -f conftest.er1 80301.61Schristos cat conftest.err >&5 80311.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 80321.53Sdogcow (exit $ac_status); } && 80331.61Schristos { ac_try='test -z "$ac_c_werror_flag" 80341.61Schristos || test ! -s conftest.err' 80351.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80361.61Schristos (eval $ac_try) 2>&5 80371.61Schristos ac_status=$? 80381.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 80391.61Schristos (exit $ac_status); }; } && 80401.61Schristos { ac_try='test -s conftest.$ac_objext' 80411.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 80421.53Sdogcow (eval $ac_try) 2>&5 80431.53Sdogcow ac_status=$? 80441.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 80451.53Sdogcow (exit $ac_status); }; }; then 80461.53Sdogcow ac_cv_have_decl_htobe64=yes 80471.53Sdogcowelse 80481.53Sdogcow echo "$as_me: failed program was:" >&5 80491.61Schristossed 's/^/| /' conftest.$ac_ext >&5 80501.61Schristos 80511.53Sdogcowac_cv_have_decl_htobe64=no 80521.53Sdogcowfi 80531.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 80541.53Sdogcowfi 80551.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5 80561.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 80571.53Sdogcowif test $ac_cv_have_decl_htobe64 = yes; then 80581.53Sdogcow 80591.61Schristoscat >>confdefs.h <<_ACEOF 80601.53Sdogcow#define HAVE_DECL_HTOBE64 1 80611.61Schristos_ACEOF 80621.61Schristos 80631.53Sdogcow 80641.53Sdogcowelse 80651.61Schristos cat >>confdefs.h <<_ACEOF 80661.53Sdogcow#define HAVE_DECL_HTOBE64 0 80671.61Schristos_ACEOF 80681.61Schristos 80691.53Sdogcow 80701.53Sdogcowfi 80711.61Schristosecho "$as_me:$LINENO: checking whether htole16 is declared" >&5 80721.53Sdogcowecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 80731.53Sdogcowif test "${ac_cv_have_decl_htole16+set}" = set; then 80741.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 80751.53Sdogcowelse 80761.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 80771.61Schristos/* confdefs.h. */ 80781.61Schristos_ACEOF 80791.61Schristoscat confdefs.h >>conftest.$ac_ext 80801.61Schristoscat >>conftest.$ac_ext <<_ACEOF 80811.61Schristos/* end confdefs.h. */ 80821.53Sdogcow#include <sys/types.h> 80831.53Sdogcow 80841.53Sdogcowint 80851.53Sdogcowmain () 80861.53Sdogcow{ 80871.53Sdogcow#ifndef htole16 80881.53Sdogcow char *p = (char *) htole16; 80891.53Sdogcow#endif 80901.53Sdogcow 80911.53Sdogcow ; 80921.53Sdogcow return 0; 80931.53Sdogcow} 80941.53Sdogcow_ACEOF 80951.53Sdogcowrm -f conftest.$ac_objext 80961.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 80971.61Schristos (eval $ac_compile) 2>conftest.er1 80981.53Sdogcow ac_status=$? 80991.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 81001.61Schristos rm -f conftest.er1 81011.61Schristos cat conftest.err >&5 81021.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81031.53Sdogcow (exit $ac_status); } && 81041.61Schristos { ac_try='test -z "$ac_c_werror_flag" 81051.61Schristos || test ! -s conftest.err' 81061.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81071.61Schristos (eval $ac_try) 2>&5 81081.61Schristos ac_status=$? 81091.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81101.61Schristos (exit $ac_status); }; } && 81111.61Schristos { ac_try='test -s conftest.$ac_objext' 81121.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81131.53Sdogcow (eval $ac_try) 2>&5 81141.53Sdogcow ac_status=$? 81151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81161.53Sdogcow (exit $ac_status); }; }; then 81171.53Sdogcow ac_cv_have_decl_htole16=yes 81181.53Sdogcowelse 81191.53Sdogcow echo "$as_me: failed program was:" >&5 81201.61Schristossed 's/^/| /' conftest.$ac_ext >&5 81211.61Schristos 81221.53Sdogcowac_cv_have_decl_htole16=no 81231.53Sdogcowfi 81241.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 81251.53Sdogcowfi 81261.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5 81271.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6 81281.53Sdogcowif test $ac_cv_have_decl_htole16 = yes; then 81291.53Sdogcow 81301.61Schristoscat >>confdefs.h <<_ACEOF 81311.53Sdogcow#define HAVE_DECL_HTOLE16 1 81321.61Schristos_ACEOF 81331.61Schristos 81341.53Sdogcow 81351.53Sdogcowelse 81361.61Schristos cat >>confdefs.h <<_ACEOF 81371.53Sdogcow#define HAVE_DECL_HTOLE16 0 81381.61Schristos_ACEOF 81391.61Schristos 81401.53Sdogcow 81411.53Sdogcowfi 81421.61Schristosecho "$as_me:$LINENO: checking whether htole32 is declared" >&5 81431.53Sdogcowecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 81441.53Sdogcowif test "${ac_cv_have_decl_htole32+set}" = set; then 81451.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 81461.53Sdogcowelse 81471.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 81481.61Schristos/* confdefs.h. */ 81491.61Schristos_ACEOF 81501.61Schristoscat confdefs.h >>conftest.$ac_ext 81511.61Schristoscat >>conftest.$ac_ext <<_ACEOF 81521.61Schristos/* end confdefs.h. */ 81531.53Sdogcow#include <sys/types.h> 81541.53Sdogcow 81551.53Sdogcowint 81561.53Sdogcowmain () 81571.53Sdogcow{ 81581.53Sdogcow#ifndef htole32 81591.53Sdogcow char *p = (char *) htole32; 81601.53Sdogcow#endif 81611.53Sdogcow 81621.53Sdogcow ; 81631.53Sdogcow return 0; 81641.53Sdogcow} 81651.53Sdogcow_ACEOF 81661.53Sdogcowrm -f conftest.$ac_objext 81671.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 81681.61Schristos (eval $ac_compile) 2>conftest.er1 81691.53Sdogcow ac_status=$? 81701.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 81711.61Schristos rm -f conftest.er1 81721.61Schristos cat conftest.err >&5 81731.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81741.53Sdogcow (exit $ac_status); } && 81751.61Schristos { ac_try='test -z "$ac_c_werror_flag" 81761.61Schristos || test ! -s conftest.err' 81771.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81781.61Schristos (eval $ac_try) 2>&5 81791.61Schristos ac_status=$? 81801.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81811.61Schristos (exit $ac_status); }; } && 81821.61Schristos { ac_try='test -s conftest.$ac_objext' 81831.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 81841.53Sdogcow (eval $ac_try) 2>&5 81851.53Sdogcow ac_status=$? 81861.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 81871.53Sdogcow (exit $ac_status); }; }; then 81881.53Sdogcow ac_cv_have_decl_htole32=yes 81891.53Sdogcowelse 81901.53Sdogcow echo "$as_me: failed program was:" >&5 81911.61Schristossed 's/^/| /' conftest.$ac_ext >&5 81921.61Schristos 81931.53Sdogcowac_cv_have_decl_htole32=no 81941.53Sdogcowfi 81951.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 81961.53Sdogcowfi 81971.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5 81981.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6 81991.53Sdogcowif test $ac_cv_have_decl_htole32 = yes; then 82001.53Sdogcow 82011.61Schristoscat >>confdefs.h <<_ACEOF 82021.53Sdogcow#define HAVE_DECL_HTOLE32 1 82031.61Schristos_ACEOF 82041.61Schristos 82051.53Sdogcow 82061.53Sdogcowelse 82071.61Schristos cat >>confdefs.h <<_ACEOF 82081.53Sdogcow#define HAVE_DECL_HTOLE32 0 82091.61Schristos_ACEOF 82101.61Schristos 82111.53Sdogcow 82121.53Sdogcowfi 82131.61Schristosecho "$as_me:$LINENO: checking whether htole64 is declared" >&5 82141.53Sdogcowecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 82151.53Sdogcowif test "${ac_cv_have_decl_htole64+set}" = set; then 82161.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 82171.53Sdogcowelse 82181.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 82191.61Schristos/* confdefs.h. */ 82201.61Schristos_ACEOF 82211.61Schristoscat confdefs.h >>conftest.$ac_ext 82221.61Schristoscat >>conftest.$ac_ext <<_ACEOF 82231.61Schristos/* end confdefs.h. */ 82241.53Sdogcow#include <sys/types.h> 82251.53Sdogcow 82261.53Sdogcowint 82271.53Sdogcowmain () 82281.53Sdogcow{ 82291.53Sdogcow#ifndef htole64 82301.53Sdogcow char *p = (char *) htole64; 82311.53Sdogcow#endif 82321.53Sdogcow 82331.53Sdogcow ; 82341.53Sdogcow return 0; 82351.53Sdogcow} 82361.53Sdogcow_ACEOF 82371.53Sdogcowrm -f conftest.$ac_objext 82381.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 82391.61Schristos (eval $ac_compile) 2>conftest.er1 82401.53Sdogcow ac_status=$? 82411.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 82421.61Schristos rm -f conftest.er1 82431.61Schristos cat conftest.err >&5 82441.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 82451.53Sdogcow (exit $ac_status); } && 82461.61Schristos { ac_try='test -z "$ac_c_werror_flag" 82471.61Schristos || test ! -s conftest.err' 82481.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82491.53Sdogcow (eval $ac_try) 2>&5 82501.53Sdogcow ac_status=$? 82511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 82521.61Schristos (exit $ac_status); }; } && 82531.61Schristos { ac_try='test -s conftest.$ac_objext' 82541.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 82551.61Schristos (eval $ac_try) 2>&5 82561.61Schristos ac_status=$? 82571.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 82581.53Sdogcow (exit $ac_status); }; }; then 82591.53Sdogcow ac_cv_have_decl_htole64=yes 82601.53Sdogcowelse 82611.53Sdogcow echo "$as_me: failed program was:" >&5 82621.61Schristossed 's/^/| /' conftest.$ac_ext >&5 82631.61Schristos 82641.53Sdogcowac_cv_have_decl_htole64=no 82651.53Sdogcowfi 82661.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 82671.53Sdogcowfi 82681.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5 82691.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6 82701.53Sdogcowif test $ac_cv_have_decl_htole64 = yes; then 82711.53Sdogcow 82721.61Schristoscat >>confdefs.h <<_ACEOF 82731.53Sdogcow#define HAVE_DECL_HTOLE64 1 82741.61Schristos_ACEOF 82751.61Schristos 82761.53Sdogcow 82771.53Sdogcowelse 82781.61Schristos cat >>confdefs.h <<_ACEOF 82791.53Sdogcow#define HAVE_DECL_HTOLE64 0 82801.61Schristos_ACEOF 82811.61Schristos 82821.53Sdogcow 82831.53Sdogcowfi 82841.61Schristosecho "$as_me:$LINENO: checking whether be16toh is declared" >&5 82851.53Sdogcowecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 82861.53Sdogcowif test "${ac_cv_have_decl_be16toh+set}" = set; then 82871.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 82881.53Sdogcowelse 82891.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 82901.61Schristos/* confdefs.h. */ 82911.61Schristos_ACEOF 82921.61Schristoscat confdefs.h >>conftest.$ac_ext 82931.61Schristoscat >>conftest.$ac_ext <<_ACEOF 82941.61Schristos/* end confdefs.h. */ 82951.53Sdogcow#include <sys/types.h> 82961.53Sdogcow 82971.53Sdogcowint 82981.53Sdogcowmain () 82991.53Sdogcow{ 83001.53Sdogcow#ifndef be16toh 83011.53Sdogcow char *p = (char *) be16toh; 83021.53Sdogcow#endif 83031.53Sdogcow 83041.53Sdogcow ; 83051.53Sdogcow return 0; 83061.53Sdogcow} 83071.53Sdogcow_ACEOF 83081.53Sdogcowrm -f conftest.$ac_objext 83091.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 83101.61Schristos (eval $ac_compile) 2>conftest.er1 83111.53Sdogcow ac_status=$? 83121.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 83131.61Schristos rm -f conftest.er1 83141.61Schristos cat conftest.err >&5 83151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 83161.53Sdogcow (exit $ac_status); } && 83171.61Schristos { ac_try='test -z "$ac_c_werror_flag" 83181.61Schristos || test ! -s conftest.err' 83191.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83201.61Schristos (eval $ac_try) 2>&5 83211.61Schristos ac_status=$? 83221.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 83231.61Schristos (exit $ac_status); }; } && 83241.61Schristos { ac_try='test -s conftest.$ac_objext' 83251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83261.53Sdogcow (eval $ac_try) 2>&5 83271.53Sdogcow ac_status=$? 83281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 83291.53Sdogcow (exit $ac_status); }; }; then 83301.53Sdogcow ac_cv_have_decl_be16toh=yes 83311.53Sdogcowelse 83321.53Sdogcow echo "$as_me: failed program was:" >&5 83331.61Schristossed 's/^/| /' conftest.$ac_ext >&5 83341.61Schristos 83351.53Sdogcowac_cv_have_decl_be16toh=no 83361.53Sdogcowfi 83371.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 83381.53Sdogcowfi 83391.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5 83401.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 83411.53Sdogcowif test $ac_cv_have_decl_be16toh = yes; then 83421.53Sdogcow 83431.61Schristoscat >>confdefs.h <<_ACEOF 83441.53Sdogcow#define HAVE_DECL_BE16TOH 1 83451.61Schristos_ACEOF 83461.61Schristos 83471.53Sdogcow 83481.53Sdogcowelse 83491.61Schristos cat >>confdefs.h <<_ACEOF 83501.53Sdogcow#define HAVE_DECL_BE16TOH 0 83511.61Schristos_ACEOF 83521.61Schristos 83531.53Sdogcow 83541.53Sdogcowfi 83551.61Schristosecho "$as_me:$LINENO: checking whether be32toh is declared" >&5 83561.53Sdogcowecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 83571.53Sdogcowif test "${ac_cv_have_decl_be32toh+set}" = set; then 83581.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 83591.53Sdogcowelse 83601.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 83611.61Schristos/* confdefs.h. */ 83621.61Schristos_ACEOF 83631.61Schristoscat confdefs.h >>conftest.$ac_ext 83641.61Schristoscat >>conftest.$ac_ext <<_ACEOF 83651.61Schristos/* end confdefs.h. */ 83661.53Sdogcow#include <sys/types.h> 83671.53Sdogcow 83681.53Sdogcowint 83691.53Sdogcowmain () 83701.53Sdogcow{ 83711.53Sdogcow#ifndef be32toh 83721.53Sdogcow char *p = (char *) be32toh; 83731.53Sdogcow#endif 83741.53Sdogcow 83751.53Sdogcow ; 83761.53Sdogcow return 0; 83771.53Sdogcow} 83781.53Sdogcow_ACEOF 83791.53Sdogcowrm -f conftest.$ac_objext 83801.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 83811.61Schristos (eval $ac_compile) 2>conftest.er1 83821.53Sdogcow ac_status=$? 83831.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 83841.61Schristos rm -f conftest.er1 83851.61Schristos cat conftest.err >&5 83861.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 83871.53Sdogcow (exit $ac_status); } && 83881.61Schristos { ac_try='test -z "$ac_c_werror_flag" 83891.61Schristos || test ! -s conftest.err' 83901.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83911.61Schristos (eval $ac_try) 2>&5 83921.61Schristos ac_status=$? 83931.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 83941.61Schristos (exit $ac_status); }; } && 83951.61Schristos { ac_try='test -s conftest.$ac_objext' 83961.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 83971.53Sdogcow (eval $ac_try) 2>&5 83981.53Sdogcow ac_status=$? 83991.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 84001.53Sdogcow (exit $ac_status); }; }; then 84011.53Sdogcow ac_cv_have_decl_be32toh=yes 84021.53Sdogcowelse 84031.53Sdogcow echo "$as_me: failed program was:" >&5 84041.61Schristossed 's/^/| /' conftest.$ac_ext >&5 84051.61Schristos 84061.53Sdogcowac_cv_have_decl_be32toh=no 84071.53Sdogcowfi 84081.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 84091.53Sdogcowfi 84101.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_be32toh" >&5 84111.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 84121.53Sdogcowif test $ac_cv_have_decl_be32toh = yes; then 84131.53Sdogcow 84141.61Schristoscat >>confdefs.h <<_ACEOF 84151.53Sdogcow#define HAVE_DECL_BE32TOH 1 84161.61Schristos_ACEOF 84171.61Schristos 84181.53Sdogcow 84191.53Sdogcowelse 84201.61Schristos cat >>confdefs.h <<_ACEOF 84211.53Sdogcow#define HAVE_DECL_BE32TOH 0 84221.61Schristos_ACEOF 84231.61Schristos 84241.53Sdogcow 84251.53Sdogcowfi 84261.61Schristosecho "$as_me:$LINENO: checking whether be64toh is declared" >&5 84271.53Sdogcowecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 84281.53Sdogcowif test "${ac_cv_have_decl_be64toh+set}" = set; then 84291.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 84301.53Sdogcowelse 84311.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 84321.61Schristos/* confdefs.h. */ 84331.61Schristos_ACEOF 84341.61Schristoscat confdefs.h >>conftest.$ac_ext 84351.61Schristoscat >>conftest.$ac_ext <<_ACEOF 84361.61Schristos/* end confdefs.h. */ 84371.53Sdogcow#include <sys/types.h> 84381.53Sdogcow 84391.53Sdogcowint 84401.53Sdogcowmain () 84411.53Sdogcow{ 84421.53Sdogcow#ifndef be64toh 84431.53Sdogcow char *p = (char *) be64toh; 84441.53Sdogcow#endif 84451.53Sdogcow 84461.53Sdogcow ; 84471.53Sdogcow return 0; 84481.53Sdogcow} 84491.53Sdogcow_ACEOF 84501.53Sdogcowrm -f conftest.$ac_objext 84511.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 84521.61Schristos (eval $ac_compile) 2>conftest.er1 84531.53Sdogcow ac_status=$? 84541.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 84551.61Schristos rm -f conftest.er1 84561.61Schristos cat conftest.err >&5 84571.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 84581.53Sdogcow (exit $ac_status); } && 84591.61Schristos { ac_try='test -z "$ac_c_werror_flag" 84601.61Schristos || test ! -s conftest.err' 84611.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84621.61Schristos (eval $ac_try) 2>&5 84631.61Schristos ac_status=$? 84641.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 84651.61Schristos (exit $ac_status); }; } && 84661.61Schristos { ac_try='test -s conftest.$ac_objext' 84671.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 84681.53Sdogcow (eval $ac_try) 2>&5 84691.53Sdogcow ac_status=$? 84701.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 84711.53Sdogcow (exit $ac_status); }; }; then 84721.53Sdogcow ac_cv_have_decl_be64toh=yes 84731.53Sdogcowelse 84741.53Sdogcow echo "$as_me: failed program was:" >&5 84751.61Schristossed 's/^/| /' conftest.$ac_ext >&5 84761.61Schristos 84771.53Sdogcowac_cv_have_decl_be64toh=no 84781.53Sdogcowfi 84791.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 84801.53Sdogcowfi 84811.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5 84821.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 84831.53Sdogcowif test $ac_cv_have_decl_be64toh = yes; then 84841.53Sdogcow 84851.61Schristoscat >>confdefs.h <<_ACEOF 84861.53Sdogcow#define HAVE_DECL_BE64TOH 1 84871.61Schristos_ACEOF 84881.61Schristos 84891.53Sdogcow 84901.53Sdogcowelse 84911.61Schristos cat >>confdefs.h <<_ACEOF 84921.53Sdogcow#define HAVE_DECL_BE64TOH 0 84931.61Schristos_ACEOF 84941.61Schristos 84951.53Sdogcow 84961.53Sdogcowfi 84971.61Schristosecho "$as_me:$LINENO: checking whether le16toh is declared" >&5 84981.53Sdogcowecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 84991.53Sdogcowif test "${ac_cv_have_decl_le16toh+set}" = set; then 85001.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 85011.53Sdogcowelse 85021.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 85031.61Schristos/* confdefs.h. */ 85041.61Schristos_ACEOF 85051.61Schristoscat confdefs.h >>conftest.$ac_ext 85061.61Schristoscat >>conftest.$ac_ext <<_ACEOF 85071.61Schristos/* end confdefs.h. */ 85081.53Sdogcow#include <sys/types.h> 85091.53Sdogcow 85101.53Sdogcowint 85111.53Sdogcowmain () 85121.53Sdogcow{ 85131.53Sdogcow#ifndef le16toh 85141.53Sdogcow char *p = (char *) le16toh; 85151.53Sdogcow#endif 85161.53Sdogcow 85171.53Sdogcow ; 85181.53Sdogcow return 0; 85191.53Sdogcow} 85201.53Sdogcow_ACEOF 85211.53Sdogcowrm -f conftest.$ac_objext 85221.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 85231.61Schristos (eval $ac_compile) 2>conftest.er1 85241.53Sdogcow ac_status=$? 85251.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 85261.61Schristos rm -f conftest.er1 85271.61Schristos cat conftest.err >&5 85281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 85291.53Sdogcow (exit $ac_status); } && 85301.61Schristos { ac_try='test -z "$ac_c_werror_flag" 85311.61Schristos || test ! -s conftest.err' 85321.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85331.53Sdogcow (eval $ac_try) 2>&5 85341.53Sdogcow ac_status=$? 85351.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 85361.61Schristos (exit $ac_status); }; } && 85371.61Schristos { ac_try='test -s conftest.$ac_objext' 85381.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 85391.61Schristos (eval $ac_try) 2>&5 85401.61Schristos ac_status=$? 85411.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 85421.53Sdogcow (exit $ac_status); }; }; then 85431.53Sdogcow ac_cv_have_decl_le16toh=yes 85441.53Sdogcowelse 85451.53Sdogcow echo "$as_me: failed program was:" >&5 85461.61Schristossed 's/^/| /' conftest.$ac_ext >&5 85471.61Schristos 85481.53Sdogcowac_cv_have_decl_le16toh=no 85491.53Sdogcowfi 85501.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 85511.53Sdogcowfi 85521.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5 85531.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 85541.53Sdogcowif test $ac_cv_have_decl_le16toh = yes; then 85551.53Sdogcow 85561.61Schristoscat >>confdefs.h <<_ACEOF 85571.53Sdogcow#define HAVE_DECL_LE16TOH 1 85581.61Schristos_ACEOF 85591.61Schristos 85601.53Sdogcow 85611.53Sdogcowelse 85621.61Schristos cat >>confdefs.h <<_ACEOF 85631.53Sdogcow#define HAVE_DECL_LE16TOH 0 85641.61Schristos_ACEOF 85651.61Schristos 85661.53Sdogcow 85671.53Sdogcowfi 85681.61Schristosecho "$as_me:$LINENO: checking whether le32toh is declared" >&5 85691.53Sdogcowecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 85701.53Sdogcowif test "${ac_cv_have_decl_le32toh+set}" = set; then 85711.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 85721.53Sdogcowelse 85731.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 85741.61Schristos/* confdefs.h. */ 85751.61Schristos_ACEOF 85761.61Schristoscat confdefs.h >>conftest.$ac_ext 85771.61Schristoscat >>conftest.$ac_ext <<_ACEOF 85781.61Schristos/* end confdefs.h. */ 85791.53Sdogcow#include <sys/types.h> 85801.53Sdogcow 85811.53Sdogcowint 85821.53Sdogcowmain () 85831.53Sdogcow{ 85841.53Sdogcow#ifndef le32toh 85851.53Sdogcow char *p = (char *) le32toh; 85861.53Sdogcow#endif 85871.53Sdogcow 85881.53Sdogcow ; 85891.53Sdogcow return 0; 85901.53Sdogcow} 85911.53Sdogcow_ACEOF 85921.53Sdogcowrm -f conftest.$ac_objext 85931.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 85941.61Schristos (eval $ac_compile) 2>conftest.er1 85951.53Sdogcow ac_status=$? 85961.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 85971.61Schristos rm -f conftest.er1 85981.61Schristos cat conftest.err >&5 85991.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86001.53Sdogcow (exit $ac_status); } && 86011.61Schristos { ac_try='test -z "$ac_c_werror_flag" 86021.61Schristos || test ! -s conftest.err' 86031.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86041.61Schristos (eval $ac_try) 2>&5 86051.61Schristos ac_status=$? 86061.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86071.61Schristos (exit $ac_status); }; } && 86081.61Schristos { ac_try='test -s conftest.$ac_objext' 86091.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86101.53Sdogcow (eval $ac_try) 2>&5 86111.53Sdogcow ac_status=$? 86121.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86131.53Sdogcow (exit $ac_status); }; }; then 86141.53Sdogcow ac_cv_have_decl_le32toh=yes 86151.53Sdogcowelse 86161.53Sdogcow echo "$as_me: failed program was:" >&5 86171.61Schristossed 's/^/| /' conftest.$ac_ext >&5 86181.61Schristos 86191.53Sdogcowac_cv_have_decl_le32toh=no 86201.53Sdogcowfi 86211.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 86221.53Sdogcowfi 86231.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5 86241.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 86251.53Sdogcowif test $ac_cv_have_decl_le32toh = yes; then 86261.53Sdogcow 86271.61Schristoscat >>confdefs.h <<_ACEOF 86281.53Sdogcow#define HAVE_DECL_LE32TOH 1 86291.61Schristos_ACEOF 86301.61Schristos 86311.53Sdogcow 86321.53Sdogcowelse 86331.61Schristos cat >>confdefs.h <<_ACEOF 86341.53Sdogcow#define HAVE_DECL_LE32TOH 0 86351.61Schristos_ACEOF 86361.61Schristos 86371.53Sdogcow 86381.53Sdogcowfi 86391.61Schristosecho "$as_me:$LINENO: checking whether le64toh is declared" >&5 86401.53Sdogcowecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 86411.53Sdogcowif test "${ac_cv_have_decl_le64toh+set}" = set; then 86421.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 86431.53Sdogcowelse 86441.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 86451.61Schristos/* confdefs.h. */ 86461.61Schristos_ACEOF 86471.61Schristoscat confdefs.h >>conftest.$ac_ext 86481.61Schristoscat >>conftest.$ac_ext <<_ACEOF 86491.61Schristos/* end confdefs.h. */ 86501.53Sdogcow#include <sys/types.h> 86511.53Sdogcow 86521.53Sdogcowint 86531.53Sdogcowmain () 86541.53Sdogcow{ 86551.53Sdogcow#ifndef le64toh 86561.53Sdogcow char *p = (char *) le64toh; 86571.53Sdogcow#endif 86581.53Sdogcow 86591.53Sdogcow ; 86601.53Sdogcow return 0; 86611.53Sdogcow} 86621.53Sdogcow_ACEOF 86631.53Sdogcowrm -f conftest.$ac_objext 86641.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 86651.61Schristos (eval $ac_compile) 2>conftest.er1 86661.53Sdogcow ac_status=$? 86671.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 86681.61Schristos rm -f conftest.er1 86691.61Schristos cat conftest.err >&5 86701.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86711.53Sdogcow (exit $ac_status); } && 86721.61Schristos { ac_try='test -z "$ac_c_werror_flag" 86731.61Schristos || test ! -s conftest.err' 86741.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86751.61Schristos (eval $ac_try) 2>&5 86761.61Schristos ac_status=$? 86771.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86781.61Schristos (exit $ac_status); }; } && 86791.61Schristos { ac_try='test -s conftest.$ac_objext' 86801.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 86811.53Sdogcow (eval $ac_try) 2>&5 86821.53Sdogcow ac_status=$? 86831.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 86841.53Sdogcow (exit $ac_status); }; }; then 86851.53Sdogcow ac_cv_have_decl_le64toh=yes 86861.53Sdogcowelse 86871.53Sdogcow echo "$as_me: failed program was:" >&5 86881.61Schristossed 's/^/| /' conftest.$ac_ext >&5 86891.61Schristos 86901.53Sdogcowac_cv_have_decl_le64toh=no 86911.53Sdogcowfi 86921.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 86931.53Sdogcowfi 86941.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5 86951.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 86961.53Sdogcowif test $ac_cv_have_decl_le64toh = yes; then 86971.53Sdogcow 86981.61Schristoscat >>confdefs.h <<_ACEOF 86991.53Sdogcow#define HAVE_DECL_LE64TOH 1 87001.61Schristos_ACEOF 87011.61Schristos 87021.53Sdogcow 87031.53Sdogcowelse 87041.61Schristos cat >>confdefs.h <<_ACEOF 87051.53Sdogcow#define HAVE_DECL_LE64TOH 0 87061.61Schristos_ACEOF 87071.61Schristos 87081.53Sdogcow 87091.53Sdogcowfi 87101.53Sdogcow 87111.61Schristos 87121.61Schristos 87131.61Schristosecho "$as_me:$LINENO: checking whether bswap16 is declared" >&5 87141.54Swizecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 87151.54Swizif test "${ac_cv_have_decl_bswap16+set}" = set; then 87161.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 87171.54Swizelse 87181.54Swiz cat >conftest.$ac_ext <<_ACEOF 87191.61Schristos/* confdefs.h. */ 87201.61Schristos_ACEOF 87211.61Schristoscat confdefs.h >>conftest.$ac_ext 87221.61Schristoscat >>conftest.$ac_ext <<_ACEOF 87231.61Schristos/* end confdefs.h. */ 87241.54Swiz#include <machine/bswap.h> 87251.54Swiz 87261.54Swizint 87271.54Swizmain () 87281.54Swiz{ 87291.54Swiz#ifndef bswap16 87301.54Swiz char *p = (char *) bswap16; 87311.54Swiz#endif 87321.54Swiz 87331.54Swiz ; 87341.54Swiz return 0; 87351.54Swiz} 87361.54Swiz_ACEOF 87371.54Swizrm -f conftest.$ac_objext 87381.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 87391.61Schristos (eval $ac_compile) 2>conftest.er1 87401.54Swiz ac_status=$? 87411.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 87421.61Schristos rm -f conftest.er1 87431.61Schristos cat conftest.err >&5 87441.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 87451.54Swiz (exit $ac_status); } && 87461.61Schristos { ac_try='test -z "$ac_c_werror_flag" 87471.61Schristos || test ! -s conftest.err' 87481.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87491.61Schristos (eval $ac_try) 2>&5 87501.61Schristos ac_status=$? 87511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 87521.61Schristos (exit $ac_status); }; } && 87531.61Schristos { ac_try='test -s conftest.$ac_objext' 87541.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 87551.54Swiz (eval $ac_try) 2>&5 87561.54Swiz ac_status=$? 87571.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 87581.54Swiz (exit $ac_status); }; }; then 87591.54Swiz ac_cv_have_decl_bswap16=yes 87601.54Swizelse 87611.54Swiz echo "$as_me: failed program was:" >&5 87621.61Schristossed 's/^/| /' conftest.$ac_ext >&5 87631.61Schristos 87641.54Swizac_cv_have_decl_bswap16=no 87651.54Swizfi 87661.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 87671.54Swizfi 87681.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5 87691.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 87701.54Swizif test $ac_cv_have_decl_bswap16 = yes; then 87711.54Swiz 87721.61Schristoscat >>confdefs.h <<_ACEOF 87731.54Swiz#define HAVE_DECL_BSWAP16 1 87741.61Schristos_ACEOF 87751.61Schristos 87761.53Sdogcow 87771.54Swizelse 87781.61Schristos cat >>confdefs.h <<_ACEOF 87791.54Swiz#define HAVE_DECL_BSWAP16 0 87801.61Schristos_ACEOF 87811.61Schristos 87821.53Sdogcow 87831.54Swizfi 87841.61Schristosecho "$as_me:$LINENO: checking whether bswap32 is declared" >&5 87851.54Swizecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 87861.54Swizif test "${ac_cv_have_decl_bswap32+set}" = set; then 87871.53Sdogcow echo $ECHO_N "(cached) $ECHO_C" >&6 87881.53Sdogcowelse 87891.53Sdogcow cat >conftest.$ac_ext <<_ACEOF 87901.61Schristos/* confdefs.h. */ 87911.61Schristos_ACEOF 87921.61Schristoscat confdefs.h >>conftest.$ac_ext 87931.61Schristoscat >>conftest.$ac_ext <<_ACEOF 87941.61Schristos/* end confdefs.h. */ 87951.54Swiz#include <machine/bswap.h> 87961.53Sdogcow 87971.54Swizint 87981.54Swizmain () 87991.53Sdogcow{ 88001.54Swiz#ifndef bswap32 88011.54Swiz char *p = (char *) bswap32; 88021.48Sjmc#endif 88031.54Swiz 88041.54Swiz ; 88051.54Swiz return 0; 88061.53Sdogcow} 88071.54Swiz_ACEOF 88081.54Swizrm -f conftest.$ac_objext 88091.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 88101.61Schristos (eval $ac_compile) 2>conftest.er1 88111.54Swiz ac_status=$? 88121.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 88131.61Schristos rm -f conftest.er1 88141.61Schristos cat conftest.err >&5 88151.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 88161.54Swiz (exit $ac_status); } && 88171.61Schristos { ac_try='test -z "$ac_c_werror_flag" 88181.61Schristos || test ! -s conftest.err' 88191.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88201.61Schristos (eval $ac_try) 2>&5 88211.61Schristos ac_status=$? 88221.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 88231.61Schristos (exit $ac_status); }; } && 88241.61Schristos { ac_try='test -s conftest.$ac_objext' 88251.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88261.54Swiz (eval $ac_try) 2>&5 88271.54Swiz ac_status=$? 88281.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 88291.54Swiz (exit $ac_status); }; }; then 88301.54Swiz ac_cv_have_decl_bswap32=yes 88311.54Swizelse 88321.54Swiz echo "$as_me: failed program was:" >&5 88331.61Schristossed 's/^/| /' conftest.$ac_ext >&5 88341.61Schristos 88351.54Swizac_cv_have_decl_bswap32=no 88361.54Swizfi 88371.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 88381.54Swizfi 88391.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5 88401.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 88411.54Swizif test $ac_cv_have_decl_bswap32 = yes; then 88421.54Swiz 88431.61Schristoscat >>confdefs.h <<_ACEOF 88441.54Swiz#define HAVE_DECL_BSWAP32 1 88451.61Schristos_ACEOF 88461.61Schristos 88471.54Swiz 88481.54Swizelse 88491.61Schristos cat >>confdefs.h <<_ACEOF 88501.54Swiz#define HAVE_DECL_BSWAP32 0 88511.61Schristos_ACEOF 88521.61Schristos 88531.54Swiz 88541.54Swizfi 88551.61Schristosecho "$as_me:$LINENO: checking whether bswap64 is declared" >&5 88561.54Swizecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 88571.54Swizif test "${ac_cv_have_decl_bswap64+set}" = set; then 88581.54Swiz echo $ECHO_N "(cached) $ECHO_C" >&6 88591.54Swizelse 88601.54Swiz cat >conftest.$ac_ext <<_ACEOF 88611.61Schristos/* confdefs.h. */ 88621.61Schristos_ACEOF 88631.61Schristoscat confdefs.h >>conftest.$ac_ext 88641.61Schristoscat >>conftest.$ac_ext <<_ACEOF 88651.61Schristos/* end confdefs.h. */ 88661.54Swiz#include <machine/bswap.h> 88671.54Swiz 88681.53Sdogcowint 88691.53Sdogcowmain () 88701.53Sdogcow{ 88711.54Swiz#ifndef bswap64 88721.54Swiz char *p = (char *) bswap64; 88731.54Swiz#endif 88741.54Swiz 88751.45Sjmc ; 88761.45Sjmc return 0; 88771.45Sjmc} 88781.45Sjmc_ACEOF 88791.54Swizrm -f conftest.$ac_objext 88801.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 88811.61Schristos (eval $ac_compile) 2>conftest.er1 88821.45Sjmc ac_status=$? 88831.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 88841.61Schristos rm -f conftest.er1 88851.61Schristos cat conftest.err >&5 88861.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 88871.45Sjmc (exit $ac_status); } && 88881.61Schristos { ac_try='test -z "$ac_c_werror_flag" 88891.61Schristos || test ! -s conftest.err' 88901.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88911.61Schristos (eval $ac_try) 2>&5 88921.61Schristos ac_status=$? 88931.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 88941.61Schristos (exit $ac_status); }; } && 88951.61Schristos { ac_try='test -s conftest.$ac_objext' 88961.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 88971.45Sjmc (eval $ac_try) 2>&5 88981.45Sjmc ac_status=$? 88991.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 89001.45Sjmc (exit $ac_status); }; }; then 89011.54Swiz ac_cv_have_decl_bswap64=yes 89021.45Sjmcelse 89031.45Sjmc echo "$as_me: failed program was:" >&5 89041.61Schristossed 's/^/| /' conftest.$ac_ext >&5 89051.61Schristos 89061.54Swizac_cv_have_decl_bswap64=no 89071.45Sjmcfi 89081.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 89091.45Sjmcfi 89101.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5 89111.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 89121.54Swizif test $ac_cv_have_decl_bswap64 = yes; then 89131.54Swiz 89141.61Schristoscat >>confdefs.h <<_ACEOF 89151.54Swiz#define HAVE_DECL_BSWAP64 1 89161.61Schristos_ACEOF 89171.61Schristos 89181.54Swiz 89191.54Swizelse 89201.61Schristos cat >>confdefs.h <<_ACEOF 89211.54Swiz#define HAVE_DECL_BSWAP64 0 89221.61Schristos_ACEOF 89231.61Schristos 89241.54Swiz 89251.45Sjmcfi 89261.45Sjmc 89271.61Schristos 89281.61Schristos 89291.61Schristosecho "$as_me:$LINENO: checking whether fstatvfs is declared" >&5 89301.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 89311.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then 89321.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 89331.1Stvelse 89341.1Stv cat >conftest.$ac_ext <<_ACEOF 89351.61Schristos/* confdefs.h. */ 89361.61Schristos_ACEOF 89371.61Schristoscat confdefs.h >>conftest.$ac_ext 89381.61Schristoscat >>conftest.$ac_ext <<_ACEOF 89391.61Schristos/* end confdefs.h. */ 89401.54Swiz#include <sys/statvfs.h> 89411.53Sdogcow 89421.54Swizint 89431.54Swizmain () 89441.53Sdogcow{ 89451.54Swiz#ifndef fstatvfs 89461.54Swiz char *p = (char *) fstatvfs; 89471.1Stv#endif 89481.1Stv 89491.1Stv ; 89501.1Stv return 0; 89511.1Stv} 89521.1Stv_ACEOF 89531.54Swizrm -f conftest.$ac_objext 89541.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 89551.61Schristos (eval $ac_compile) 2>conftest.er1 89561.1Stv ac_status=$? 89571.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 89581.61Schristos rm -f conftest.er1 89591.61Schristos cat conftest.err >&5 89601.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 89611.1Stv (exit $ac_status); } && 89621.61Schristos { ac_try='test -z "$ac_c_werror_flag" 89631.61Schristos || test ! -s conftest.err' 89641.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89651.61Schristos (eval $ac_try) 2>&5 89661.61Schristos ac_status=$? 89671.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 89681.61Schristos (exit $ac_status); }; } && 89691.61Schristos { ac_try='test -s conftest.$ac_objext' 89701.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 89711.1Stv (eval $ac_try) 2>&5 89721.1Stv ac_status=$? 89731.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 89741.1Stv (exit $ac_status); }; }; then 89751.54Swiz ac_cv_have_decl_fstatvfs=yes 89761.1Stvelse 89771.1Stv echo "$as_me: failed program was:" >&5 89781.61Schristossed 's/^/| /' conftest.$ac_ext >&5 89791.61Schristos 89801.54Swizac_cv_have_decl_fstatvfs=no 89811.1Stvfi 89821.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 89831.1Stvfi 89841.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5 89851.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 89861.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then 89871.54Swiz 89881.61Schristoscat >>confdefs.h <<_ACEOF 89891.54Swiz#define HAVE_DECL_FSTATVFS 1 89901.61Schristos_ACEOF 89911.61Schristos 89921.54Swiz 89931.54Swizelse 89941.61Schristos cat >>confdefs.h <<_ACEOF 89951.54Swiz#define HAVE_DECL_FSTATVFS 0 89961.61Schristos_ACEOF 89971.61Schristos 89981.54Swiz 89991.1Stvfi 90001.54Swiz 90011.61Schristos 90021.61Schristos 90031.61Schristosecho "$as_me:$LINENO: checking whether setgroupent is declared" >&5 90041.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 90051.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then 90061.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 90071.8Stvelse 90081.8Stv cat >conftest.$ac_ext <<_ACEOF 90091.61Schristos/* confdefs.h. */ 90101.61Schristos_ACEOF 90111.61Schristoscat confdefs.h >>conftest.$ac_ext 90121.61Schristoscat >>conftest.$ac_ext <<_ACEOF 90131.61Schristos/* end confdefs.h. */ 90141.8Stv 90151.33Sthorpej#include <sys/types.h> 90161.8Stv#include <grp.h> 90171.8Stv#include <pwd.h> 90181.8Stv 90191.61Schristos 90201.8Stvint 90211.8Stvmain () 90221.8Stv{ 90231.8Stv#ifndef setgroupent 90241.8Stv char *p = (char *) setgroupent; 90251.8Stv#endif 90261.8Stv 90271.8Stv ; 90281.8Stv return 0; 90291.8Stv} 90301.8Stv_ACEOF 90311.8Stvrm -f conftest.$ac_objext 90321.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 90331.61Schristos (eval $ac_compile) 2>conftest.er1 90341.8Stv ac_status=$? 90351.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 90361.61Schristos rm -f conftest.er1 90371.61Schristos cat conftest.err >&5 90381.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 90391.8Stv (exit $ac_status); } && 90401.61Schristos { ac_try='test -z "$ac_c_werror_flag" 90411.61Schristos || test ! -s conftest.err' 90421.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90431.50Sjmc (eval $ac_try) 2>&5 90441.50Sjmc ac_status=$? 90451.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 90461.61Schristos (exit $ac_status); }; } && 90471.61Schristos { ac_try='test -s conftest.$ac_objext' 90481.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 90491.61Schristos (eval $ac_try) 2>&5 90501.61Schristos ac_status=$? 90511.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 90521.8Stv (exit $ac_status); }; }; then 90531.8Stv ac_cv_have_decl_setgroupent=yes 90541.8Stvelse 90551.8Stv echo "$as_me: failed program was:" >&5 90561.61Schristossed 's/^/| /' conftest.$ac_ext >&5 90571.61Schristos 90581.8Stvac_cv_have_decl_setgroupent=no 90591.8Stvfi 90601.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 90611.8Stvfi 90621.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5 90631.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 90641.8Stvif test $ac_cv_have_decl_setgroupent = yes; then 90651.8Stv 90661.61Schristoscat >>confdefs.h <<_ACEOF 90671.8Stv#define HAVE_DECL_SETGROUPENT 1 90681.61Schristos_ACEOF 90691.61Schristos 90701.8Stv 90711.8Stvelse 90721.61Schristos cat >>confdefs.h <<_ACEOF 90731.8Stv#define HAVE_DECL_SETGROUPENT 0 90741.61Schristos_ACEOF 90751.61Schristos 90761.8Stv 90771.8Stvfi 90781.61Schristosecho "$as_me:$LINENO: checking whether setpassent is declared" >&5 90791.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 90801.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then 90811.8Stv echo $ECHO_N "(cached) $ECHO_C" >&6 90821.8Stvelse 90831.8Stv cat >conftest.$ac_ext <<_ACEOF 90841.61Schristos/* confdefs.h. */ 90851.61Schristos_ACEOF 90861.61Schristoscat confdefs.h >>conftest.$ac_ext 90871.61Schristoscat >>conftest.$ac_ext <<_ACEOF 90881.61Schristos/* end confdefs.h. */ 90891.8Stv 90901.33Sthorpej#include <sys/types.h> 90911.8Stv#include <grp.h> 90921.8Stv#include <pwd.h> 90931.8Stv 90941.61Schristos 90951.8Stvint 90961.8Stvmain () 90971.8Stv{ 90981.8Stv#ifndef setpassent 90991.8Stv char *p = (char *) setpassent; 91001.8Stv#endif 91011.8Stv 91021.8Stv ; 91031.8Stv return 0; 91041.8Stv} 91051.8Stv_ACEOF 91061.8Stvrm -f conftest.$ac_objext 91071.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 91081.61Schristos (eval $ac_compile) 2>conftest.er1 91091.8Stv ac_status=$? 91101.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 91111.61Schristos rm -f conftest.er1 91121.61Schristos cat conftest.err >&5 91131.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 91141.8Stv (exit $ac_status); } && 91151.61Schristos { ac_try='test -z "$ac_c_werror_flag" 91161.61Schristos || test ! -s conftest.err' 91171.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91181.50Sjmc (eval $ac_try) 2>&5 91191.50Sjmc ac_status=$? 91201.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 91211.61Schristos (exit $ac_status); }; } && 91221.61Schristos { ac_try='test -s conftest.$ac_objext' 91231.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 91241.61Schristos (eval $ac_try) 2>&5 91251.61Schristos ac_status=$? 91261.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 91271.8Stv (exit $ac_status); }; }; then 91281.8Stv ac_cv_have_decl_setpassent=yes 91291.8Stvelse 91301.8Stv echo "$as_me: failed program was:" >&5 91311.61Schristossed 's/^/| /' conftest.$ac_ext >&5 91321.61Schristos 91331.8Stvac_cv_have_decl_setpassent=no 91341.8Stvfi 91351.61Schristosrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 91361.8Stvfi 91371.61Schristosecho "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5 91381.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 91391.8Stvif test $ac_cv_have_decl_setpassent = yes; then 91401.8Stv 91411.61Schristoscat >>confdefs.h <<_ACEOF 91421.8Stv#define HAVE_DECL_SETPASSENT 1 91431.61Schristos_ACEOF 91441.61Schristos 91451.8Stv 91461.8Stvelse 91471.61Schristos cat >>confdefs.h <<_ACEOF 91481.8Stv#define HAVE_DECL_SETPASSENT 0 91491.61Schristos_ACEOF 91501.61Schristos 91511.8Stv 91521.8Stvfi 91531.8Stv 91541.61Schristos 91551.61Schristos 91561.4Stv# regcomp() and regexec() are also names of functions in the old V8 91571.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 91581.4Stv 91591.61Schristos 91601.61Schristosecho "$as_me:$LINENO: checking for regfree in -lregex" >&5 91611.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 91621.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then 91631.4Stv echo $ECHO_N "(cached) $ECHO_C" >&6 91641.4Stvelse 91651.4Stv ac_check_lib_save_LIBS=$LIBS 91661.4StvLIBS="-lregex $LIBS" 91671.4Stvcat >conftest.$ac_ext <<_ACEOF 91681.61Schristos/* confdefs.h. */ 91691.61Schristos_ACEOF 91701.61Schristoscat confdefs.h >>conftest.$ac_ext 91711.61Schristoscat >>conftest.$ac_ext <<_ACEOF 91721.61Schristos/* end confdefs.h. */ 91731.4Stv 91741.4Stv/* Override any gcc2 internal prototype to avoid an error. */ 91751.4Stv#ifdef __cplusplus 91761.4Stvextern "C" 91771.4Stv#endif 91781.4Stv/* We use char because int might match the return type of a gcc2 91791.4Stv builtin and then its argument prototype would still apply. */ 91801.4Stvchar regfree (); 91811.4Stvint 91821.4Stvmain () 91831.4Stv{ 91841.4Stvregfree (); 91851.4Stv ; 91861.4Stv return 0; 91871.4Stv} 91881.4Stv_ACEOF 91891.4Stvrm -f conftest.$ac_objext conftest$ac_exeext 91901.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 91911.61Schristos (eval $ac_link) 2>conftest.er1 91921.4Stv ac_status=$? 91931.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 91941.61Schristos rm -f conftest.er1 91951.61Schristos cat conftest.err >&5 91961.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 91971.4Stv (exit $ac_status); } && 91981.61Schristos { ac_try='test -z "$ac_c_werror_flag" 91991.61Schristos || test ! -s conftest.err' 92001.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92011.61Schristos (eval $ac_try) 2>&5 92021.61Schristos ac_status=$? 92031.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 92041.61Schristos (exit $ac_status); }; } && 92051.61Schristos { ac_try='test -s conftest$ac_exeext' 92061.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92071.4Stv (eval $ac_try) 2>&5 92081.4Stv ac_status=$? 92091.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 92101.4Stv (exit $ac_status); }; }; then 92111.4Stv ac_cv_lib_regex_regfree=yes 92121.4Stvelse 92131.4Stv echo "$as_me: failed program was:" >&5 92141.61Schristossed 's/^/| /' conftest.$ac_ext >&5 92151.61Schristos 92161.4Stvac_cv_lib_regex_regfree=no 92171.4Stvfi 92181.61Schristosrm -f conftest.err conftest.$ac_objext \ 92191.61Schristos conftest$ac_exeext conftest.$ac_ext 92201.4StvLIBS=$ac_check_lib_save_LIBS 92211.4Stvfi 92221.61Schristosecho "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5 92231.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 92241.4Stvif test $ac_cv_lib_regex_regfree = yes; then 92251.61Schristos cat >>confdefs.h <<_ACEOF 92261.4Stv#define HAVE_LIBREGEX 1 92271.61Schristos_ACEOF 92281.4Stv 92291.4Stv LIBS="-lregex $LIBS" 92301.4Stv 92311.4Stvfi 92321.4Stv 92331.61Schristosecho "$as_me:$LINENO: checking for library containing regfree" >&5 92341.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 92351.4Stvif test "${ac_cv_search_regfree+set}" = set; then 92361.1Stv echo $ECHO_N "(cached) $ECHO_C" >&6 92371.1Stvelse 92381.1Stv ac_func_search_save_LIBS=$LIBS 92391.4Stvac_cv_search_regfree=no 92401.1Stvcat >conftest.$ac_ext <<_ACEOF 92411.61Schristos/* confdefs.h. */ 92421.61Schristos_ACEOF 92431.61Schristoscat confdefs.h >>conftest.$ac_ext 92441.61Schristoscat >>conftest.$ac_ext <<_ACEOF 92451.61Schristos/* end confdefs.h. */ 92461.1Stv 92471.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 92481.1Stv#ifdef __cplusplus 92491.1Stvextern "C" 92501.1Stv#endif 92511.1Stv/* We use char because int might match the return type of a gcc2 92521.1Stv builtin and then its argument prototype would still apply. */ 92531.4Stvchar regfree (); 92541.1Stvint 92551.1Stvmain () 92561.1Stv{ 92571.4Stvregfree (); 92581.1Stv ; 92591.1Stv return 0; 92601.1Stv} 92611.1Stv_ACEOF 92621.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 92631.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 92641.61Schristos (eval $ac_link) 2>conftest.er1 92651.1Stv ac_status=$? 92661.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 92671.61Schristos rm -f conftest.er1 92681.61Schristos cat conftest.err >&5 92691.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 92701.1Stv (exit $ac_status); } && 92711.61Schristos { ac_try='test -z "$ac_c_werror_flag" 92721.61Schristos || test ! -s conftest.err' 92731.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92741.61Schristos (eval $ac_try) 2>&5 92751.61Schristos ac_status=$? 92761.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 92771.61Schristos (exit $ac_status); }; } && 92781.61Schristos { ac_try='test -s conftest$ac_exeext' 92791.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 92801.1Stv (eval $ac_try) 2>&5 92811.1Stv ac_status=$? 92821.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 92831.1Stv (exit $ac_status); }; }; then 92841.4Stv ac_cv_search_regfree="none required" 92851.1Stvelse 92861.1Stv echo "$as_me: failed program was:" >&5 92871.61Schristossed 's/^/| /' conftest.$ac_ext >&5 92881.61Schristos 92891.1Stvfi 92901.61Schristosrm -f conftest.err conftest.$ac_objext \ 92911.61Schristos conftest$ac_exeext conftest.$ac_ext 92921.4Stvif test "$ac_cv_search_regfree" = no; then 92931.4Stv for ac_lib in rx posix; do 92941.1Stv LIBS="-l$ac_lib $ac_func_search_save_LIBS" 92951.1Stv cat >conftest.$ac_ext <<_ACEOF 92961.61Schristos/* confdefs.h. */ 92971.61Schristos_ACEOF 92981.61Schristoscat confdefs.h >>conftest.$ac_ext 92991.61Schristoscat >>conftest.$ac_ext <<_ACEOF 93001.61Schristos/* end confdefs.h. */ 93011.1Stv 93021.1Stv/* Override any gcc2 internal prototype to avoid an error. */ 93031.1Stv#ifdef __cplusplus 93041.1Stvextern "C" 93051.1Stv#endif 93061.1Stv/* We use char because int might match the return type of a gcc2 93071.1Stv builtin and then its argument prototype would still apply. */ 93081.4Stvchar regfree (); 93091.1Stvint 93101.1Stvmain () 93111.1Stv{ 93121.4Stvregfree (); 93131.1Stv ; 93141.1Stv return 0; 93151.1Stv} 93161.1Stv_ACEOF 93171.1Stvrm -f conftest.$ac_objext conftest$ac_exeext 93181.61Schristosif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 93191.61Schristos (eval $ac_link) 2>conftest.er1 93201.1Stv ac_status=$? 93211.61Schristos grep -v '^ *+' conftest.er1 >conftest.err 93221.61Schristos rm -f conftest.er1 93231.61Schristos cat conftest.err >&5 93241.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 93251.1Stv (exit $ac_status); } && 93261.61Schristos { ac_try='test -z "$ac_c_werror_flag" 93271.61Schristos || test ! -s conftest.err' 93281.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 93291.61Schristos (eval $ac_try) 2>&5 93301.61Schristos ac_status=$? 93311.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 93321.61Schristos (exit $ac_status); }; } && 93331.61Schristos { ac_try='test -s conftest$ac_exeext' 93341.61Schristos { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 93351.1Stv (eval $ac_try) 2>&5 93361.1Stv ac_status=$? 93371.61Schristos echo "$as_me:$LINENO: \$? = $ac_status" >&5 93381.1Stv (exit $ac_status); }; }; then 93391.4Stv ac_cv_search_regfree="-l$ac_lib" 93401.1Stvbreak 93411.1Stvelse 93421.1Stv echo "$as_me: failed program was:" >&5 93431.61Schristossed 's/^/| /' conftest.$ac_ext >&5 93441.61Schristos 93451.1Stvfi 93461.61Schristosrm -f conftest.err conftest.$ac_objext \ 93471.61Schristos conftest$ac_exeext conftest.$ac_ext 93481.1Stv done 93491.1Stvfi 93501.1StvLIBS=$ac_func_search_save_LIBS 93511.1Stvfi 93521.61Schristosecho "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5 93531.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6 93541.4Stvif test "$ac_cv_search_regfree" != no; then 93551.4Stv test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" 93561.1Stv 93571.1Stvfi 93581.1Stv 93591.61Schristos 93601.1Stvcat >confcache <<\_ACEOF 93611.1Stv# This file is a shell script that caches the results of configure 93621.1Stv# tests run on this system so they can be shared between configure 93631.1Stv# scripts and configure runs, see configure's option --config-cache. 93641.1Stv# It is not useful on other systems. If it contains results you don't 93651.1Stv# want to keep, you may remove or edit it. 93661.1Stv# 93671.1Stv# config.status only pays attention to the cache file if you give it 93681.1Stv# the --recheck option to rerun configure. 93691.1Stv# 93701.61Schristos# `ac_cv_env_foo' variables (set or unset) will be overridden when 93711.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the 93721.1Stv# following values. 93731.1Stv 93741.1Stv_ACEOF 93751.1Stv 93761.1Stv# The following way of writing the cache mishandles newlines in values, 93771.1Stv# but we know of no workaround that is simple, portable, and efficient. 93781.1Stv# So, don't put newlines in cache variables' values. 93791.1Stv# Ultrix sh set writes to stderr and can't be redirected directly, 93801.1Stv# and sets the high bit in the cache file unless we assign to the vars. 93811.1Stv{ 93821.1Stv (set) 2>&1 | 93831.1Stv case `(ac_space=' '; set | grep ac_space) 2>&1` in 93841.1Stv *ac_space=\ *) 93851.1Stv # `set' does not quote correctly, so add quotes (double-quote 93861.1Stv # substitution turns \\\\ into \\, and sed turns \\ into \). 93871.1Stv sed -n \ 93881.61Schristos "s/'/'\\\\''/g; 93891.61Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 93901.1Stv ;; 93911.1Stv *) 93921.1Stv # `set' quotes correctly as required by POSIX, so do not add quotes. 93931.1Stv sed -n \ 93941.61Schristos "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 93951.1Stv ;; 93961.1Stv esac; 93971.1Stv} | 93981.1Stv sed ' 93991.1Stv t clear 94001.1Stv : clear 94011.1Stv s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 94021.1Stv t end 94031.1Stv /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 94041.1Stv : end' >>confcache 94051.61Schristosif diff $cache_file confcache >/dev/null 2>&1; then :; else 94061.1Stv if test -w $cache_file; then 94071.1Stv test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 94081.1Stv cat confcache >$cache_file 94091.1Stv else 94101.1Stv echo "not updating unwritable cache $cache_file" 94111.1Stv fi 94121.1Stvfi 94131.1Stvrm -f confcache 94141.1Stv 94151.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix 94161.1Stv# Let make expand exec_prefix. 94171.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 94181.1Stv 94191.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir), 94201.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 94211.1Stv# trailing colons and then remove the whole line if VPATH becomes empty 94221.1Stv# (actually we leave an empty line to preserve line numbers). 94231.1Stvif test "x$srcdir" = x.; then 94241.61Schristos ac_vpsub='/^[ ]*VPATH[ ]*=/{ 94251.1Stvs/:*\$(srcdir):*/:/; 94261.1Stvs/:*\${srcdir}:*/:/; 94271.1Stvs/:*@srcdir@:*/:/; 94281.61Schristoss/^\([^=]*=[ ]*\):*/\1/; 94291.1Stvs/:*$//; 94301.61Schristoss/^[^=]*=[ ]*$//; 94311.1Stv}' 94321.1Stvfi 94331.1Stv 94341.1StvDEFS=-DHAVE_CONFIG_H 94351.1Stv 94361.61Schristosac_libobjs= 94371.61Schristosac_ltlibobjs= 94381.61Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 94391.61Schristos # 1. Remove the extension, and $U if already installed. 94401.61Schristos ac_i=`echo "$ac_i" | 94411.61Schristos sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 94421.61Schristos # 2. Add them. 94431.61Schristos ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 94441.61Schristos ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 94451.61Schristosdone 94461.61SchristosLIBOBJS=$ac_libobjs 94471.61Schristos 94481.61SchristosLTLIBOBJS=$ac_ltlibobjs 94491.61Schristos 94501.61Schristos 94511.61Schristos 94521.1Stv: ${CONFIG_STATUS=./config.status} 94531.1Stvac_clean_files_save=$ac_clean_files 94541.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS" 94551.61Schristos{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 94561.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;} 94571.1Stvcat >$CONFIG_STATUS <<_ACEOF 94581.1Stv#! $SHELL 94591.61Schristos# Generated by $as_me. 94601.1Stv# Run this file to recreate the current configuration. 94611.1Stv# Compiler output produced by configure, useful for debugging 94621.1Stv# configure, is in config.log if it exists. 94631.1Stv 94641.1Stvdebug=false 94651.61Schristosac_cs_recheck=false 94661.61Schristosac_cs_silent=false 94671.1StvSHELL=\${CONFIG_SHELL-$SHELL} 94681.1Stv_ACEOF 94691.1Stv 94701.1Stvcat >>$CONFIG_STATUS <<\_ACEOF 94711.61Schristos## --------------------- ## 94721.61Schristos## M4sh Initialization. ## 94731.61Schristos## --------------------- ## 94741.61Schristos 94751.1Stv# Be Bourne compatible 94761.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 94771.1Stv emulate sh 94781.1Stv NULLCMD=: 94791.61Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 94801.61Schristos # is contrary to our usage. Disable this feature. 94811.61Schristos alias -g '${1+"$@"}'='"$@"' 94821.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 94831.1Stv set -o posix 94841.1Stvfi 94851.61SchristosDUALCASE=1; export DUALCASE # for MKS sh 94861.61Schristos 94871.61Schristos# Support unset when possible. 94881.61Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 94891.61Schristos as_unset=unset 94901.61Schristoselse 94911.61Schristos as_unset=false 94921.61Schristosfi 94931.61Schristos 94941.61Schristos 94951.61Schristos# Work around bugs in pre-3.0 UWIN ksh. 94961.61Schristos$as_unset ENV MAIL MAILPATH 94971.61SchristosPS1='$ ' 94981.61SchristosPS2='> ' 94991.61SchristosPS4='+ ' 95001.61Schristos 95011.61Schristos# NLS nuisances. 95021.61Schristosfor as_var in \ 95031.61Schristos LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 95041.61Schristos LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 95051.61Schristos LC_TELEPHONE LC_TIME 95061.61Schristosdo 95071.61Schristos if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 95081.61Schristos eval $as_var=C; export $as_var 95091.61Schristos else 95101.61Schristos $as_unset $as_var 95111.61Schristos fi 95121.61Schristosdone 95131.61Schristos 95141.61Schristos# Required to use basename. 95151.61Schristosif expr a : '\(a\)' >/dev/null 2>&1; then 95161.61Schristos as_expr=expr 95171.61Schristoselse 95181.61Schristos as_expr=false 95191.61Schristosfi 95201.61Schristos 95211.61Schristosif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 95221.61Schristos as_basename=basename 95231.61Schristoselse 95241.61Schristos as_basename=false 95251.61Schristosfi 95261.61Schristos 95271.1Stv 95281.1Stv# Name of the executable. 95291.61Schristosas_me=`$as_basename "$0" || 95301.61Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 95311.61Schristos X"$0" : 'X\(//\)$' \| \ 95321.61Schristos X"$0" : 'X\(/\)$' \| \ 95331.61Schristos . : '\(.\)' 2>/dev/null || 95341.61Schristosecho X/"$0" | 95351.61Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 95361.61Schristos /^X\/\(\/\/\)$/{ s//\1/; q; } 95371.61Schristos /^X\/\(\/\).*/{ s//\1/; q; } 95381.61Schristos s/.*/./; q'` 95391.61Schristos 95401.61Schristos 95411.61Schristos# PATH needs CR, and LINENO needs CR and PATH. 95421.61Schristos# Avoid depending upon Character Ranges. 95431.61Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 95441.61Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 95451.61Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 95461.61Schristosas_cr_digits='0123456789' 95471.61Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 95481.61Schristos 95491.61Schristos# The user is always right. 95501.61Schristosif test "${PATH_SEPARATOR+set}" != set; then 95511.61Schristos echo "#! /bin/sh" >conf$$.sh 95521.61Schristos echo "exit 0" >>conf$$.sh 95531.61Schristos chmod +x conf$$.sh 95541.61Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 95551.61Schristos PATH_SEPARATOR=';' 95561.61Schristos else 95571.61Schristos PATH_SEPARATOR=: 95581.61Schristos fi 95591.61Schristos rm -f conf$$.sh 95601.61Schristosfi 95611.61Schristos 95621.61Schristos 95631.61Schristos as_lineno_1=$LINENO 95641.61Schristos as_lineno_2=$LINENO 95651.61Schristos as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 95661.61Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 95671.61Schristos test "x$as_lineno_3" = "x$as_lineno_2" || { 95681.61Schristos # Find who we are. Look in the path if we contain no path at all 95691.61Schristos # relative or not. 95701.61Schristos case $0 in 95711.61Schristos *[\\/]* ) as_myself=$0 ;; 95721.61Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95731.61Schristosfor as_dir in $PATH 95741.61Schristosdo 95751.61Schristos IFS=$as_save_IFS 95761.61Schristos test -z "$as_dir" && as_dir=. 95771.61Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95781.61Schristosdone 95791.61Schristos 95801.61Schristos ;; 95811.61Schristos esac 95821.61Schristos # We did not find ourselves, most probably we were run as `sh COMMAND' 95831.61Schristos # in which case we are not to be found in the path. 95841.61Schristos if test "x$as_myself" = x; then 95851.61Schristos as_myself=$0 95861.61Schristos fi 95871.61Schristos if test ! -f "$as_myself"; then 95881.61Schristos { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 95891.61Schristosecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 95901.61Schristos { (exit 1); exit 1; }; } 95911.61Schristos fi 95921.61Schristos case $CONFIG_SHELL in 95931.61Schristos '') 95941.61Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95951.61Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 95961.61Schristosdo 95971.61Schristos IFS=$as_save_IFS 95981.61Schristos test -z "$as_dir" && as_dir=. 95991.61Schristos for as_base in sh bash ksh sh5; do 96001.61Schristos case $as_dir in 96011.61Schristos /*) 96021.61Schristos if ("$as_dir/$as_base" -c ' 96031.61Schristos as_lineno_1=$LINENO 96041.61Schristos as_lineno_2=$LINENO 96051.61Schristos as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 96061.61Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 96071.61Schristos test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 96081.61Schristos $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 96091.61Schristos $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 96101.61Schristos CONFIG_SHELL=$as_dir/$as_base 96111.61Schristos export CONFIG_SHELL 96121.61Schristos exec "$CONFIG_SHELL" "$0" ${1+"$@"} 96131.61Schristos fi;; 96141.61Schristos esac 96151.61Schristos done 96161.61Schristosdone 96171.61Schristos;; 96181.61Schristos esac 96191.61Schristos 96201.61Schristos # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 96211.61Schristos # uniformly replaced by the line number. The first 'sed' inserts a 96221.61Schristos # line-number line before each line; the second 'sed' does the real 96231.61Schristos # work. The second script uses 'N' to pair each line-number line 96241.61Schristos # with the numbered line, and appends trailing '-' during 96251.61Schristos # substitution so that $LINENO is not a special case at line end. 96261.61Schristos # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 96271.61Schristos # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 96281.61Schristos sed '=' <$as_myself | 96291.61Schristos sed ' 96301.61Schristos N 96311.61Schristos s,$,-, 96321.61Schristos : loop 96331.61Schristos s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 96341.61Schristos t loop 96351.61Schristos s,-$,, 96361.61Schristos s,^['$as_cr_digits']*\n,, 96371.61Schristos ' >$as_me.lineno && 96381.61Schristos chmod +x $as_me.lineno || 96391.61Schristos { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 96401.61Schristosecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 96411.61Schristos { (exit 1); exit 1; }; } 96421.61Schristos 96431.61Schristos # Don't try to exec as it changes $[0], causing all sort of problems 96441.61Schristos # (the dirname of $[0] is not the place where we might find the 96451.61Schristos # original and so on. Autoconf is especially sensible to this). 96461.61Schristos . ./$as_me.lineno 96471.61Schristos # Exit status is that of the last command. 96481.61Schristos exit 96491.61Schristos} 96501.61Schristos 96511.61Schristos 96521.61Schristoscase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 96531.61Schristos *c*,-n*) ECHO_N= ECHO_C=' 96541.61Schristos' ECHO_T=' ' ;; 96551.61Schristos *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 96561.61Schristos *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 96571.61Schristosesac 96581.1Stv 96591.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then 96601.1Stv as_expr=expr 96611.1Stvelse 96621.1Stv as_expr=false 96631.1Stvfi 96641.1Stv 96651.1Stvrm -f conf$$ conf$$.exe conf$$.file 96661.1Stvecho >conf$$.file 96671.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then 96681.1Stv # We could just check for DJGPP; but this test a) works b) is more generic 96691.1Stv # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 96701.1Stv if test -f conf$$.exe; then 96711.1Stv # Don't use ln at all; we don't have any links 96721.1Stv as_ln_s='cp -p' 96731.1Stv else 96741.1Stv as_ln_s='ln -s' 96751.1Stv fi 96761.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then 96771.1Stv as_ln_s=ln 96781.1Stvelse 96791.1Stv as_ln_s='cp -p' 96801.1Stvfi 96811.1Stvrm -f conf$$ conf$$.exe conf$$.file 96821.1Stv 96831.61Schristosif mkdir -p . 2>/dev/null; then 96841.61Schristos as_mkdir_p=: 96851.61Schristoselse 96861.61Schristos test -d ./-p && rmdir ./-p 96871.61Schristos as_mkdir_p=false 96881.61Schristosfi 96891.61Schristos 96901.60Sapbas_executable_p="test -f" 96911.60Sapb 96921.61Schristos# Sed expression to map a string onto a valid CPP name. 96931.61Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 96941.61Schristos 96951.61Schristos# Sed expression to map a string onto a valid variable name. 96961.61Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 96971.53Sdogcow 96981.1Stv 96991.1Stv# IFS 97001.1Stv# We need space, tab and new line, in precisely that order. 97011.1Stvas_nl=' 97021.1Stv' 97031.1StvIFS=" $as_nl" 97041.1Stv 97051.1Stv# CDPATH. 97061.61Schristos$as_unset CDPATH 97071.1Stv 97081.1Stvexec 6>&1 97091.1Stv 97101.61Schristos# Open the log real soon, to keep \$[0] and so on meaningful, and to 97111.61Schristos# report actual input values of CONFIG_FILES etc. instead of their 97121.61Schristos# values after options handling. Logging --version etc. is OK. 97131.61Schristosexec 5>>config.log 97141.61Schristos{ 97151.61Schristos echo 97161.61Schristos sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 97171.61Schristos## Running $as_me. ## 97181.61Schristos_ASBOX 97191.61Schristos} >&5 97201.61Schristoscat >&5 <<_CSEOF 97211.61Schristos 97221.61SchristosThis file was extended by libnbcompat $as_me noversion, which was 97231.61Schristosgenerated by GNU Autoconf 2.59. Invocation command line was 97241.61Schristos 97251.61Schristos CONFIG_FILES = $CONFIG_FILES 97261.61Schristos CONFIG_HEADERS = $CONFIG_HEADERS 97271.61Schristos CONFIG_LINKS = $CONFIG_LINKS 97281.61Schristos CONFIG_COMMANDS = $CONFIG_COMMANDS 97291.61Schristos $ $0 $@ 97301.61Schristos 97311.61Schristos_CSEOF 97321.61Schristosecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 97331.61Schristosecho >&5 97341.1Stv_ACEOF 97351.1Stv 97361.1Stv# Files that config.status was made for. 97371.1Stvif test -n "$ac_config_files"; then 97381.1Stv echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 97391.1Stvfi 97401.1Stv 97411.1Stvif test -n "$ac_config_headers"; then 97421.1Stv echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 97431.1Stvfi 97441.1Stv 97451.1Stvif test -n "$ac_config_links"; then 97461.1Stv echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 97471.1Stvfi 97481.1Stv 97491.1Stvif test -n "$ac_config_commands"; then 97501.1Stv echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 97511.1Stvfi 97521.1Stv 97531.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 97541.1Stv 97551.1Stvac_cs_usage="\ 97561.1Stv\`$as_me' instantiates files from templates according to the 97571.1Stvcurrent configuration. 97581.1Stv 97591.1StvUsage: $0 [OPTIONS] [FILE]... 97601.1Stv 97611.1Stv -h, --help print this help, then exit 97621.1Stv -V, --version print version number, then exit 97631.61Schristos -q, --quiet do not print progress messages 97641.1Stv -d, --debug don't remove temporary files 97651.1Stv --recheck update $as_me by reconfiguring in the same conditions 97661.1Stv --file=FILE[:TEMPLATE] 97671.61Schristos instantiate the configuration file FILE 97681.1Stv --header=FILE[:TEMPLATE] 97691.61Schristos instantiate the configuration header FILE 97701.1Stv 97711.1StvConfiguration files: 97721.1Stv$config_files 97731.1Stv 97741.1StvConfiguration headers: 97751.1Stv$config_headers 97761.1Stv 97771.1StvReport bugs to <bug-autoconf@gnu.org>." 97781.61Schristos_ACEOF 97791.1Stv 97801.61Schristoscat >>$CONFIG_STATUS <<_ACEOF 97811.1Stvac_cs_version="\\ 97821.1Stvlibnbcompat config.status noversion 97831.61Schristosconfigured by $0, generated by GNU Autoconf 2.59, 97841.1Stv with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 97851.1Stv 97861.61SchristosCopyright (C) 2003 Free Software Foundation, Inc. 97871.1StvThis config.status script is free software; the Free Software Foundation 97881.1Stvgives unlimited permission to copy, distribute and modify it." 97891.1Stvsrcdir=$srcdir 97901.61Schristos_ACEOF 97911.1Stv 97921.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 97931.1Stv# If no file are specified by the user, then we need to provide default 97941.1Stv# value. By we need to know if files were specified by the user. 97951.1Stvac_need_defaults=: 97961.1Stvwhile test $# != 0 97971.1Stvdo 97981.1Stv case $1 in 97991.1Stv --*=*) 98001.1Stv ac_option=`expr "x$1" : 'x\([^=]*\)='` 98011.1Stv ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 98021.61Schristos ac_shift=: 98031.61Schristos ;; 98041.61Schristos -*) 98051.61Schristos ac_option=$1 98061.61Schristos ac_optarg=$2 98071.61Schristos ac_shift=shift 98081.1Stv ;; 98091.1Stv *) # This is not an option, so the user has probably given explicit 98101.1Stv # arguments. 98111.61Schristos ac_option=$1 98121.1Stv ac_need_defaults=false;; 98131.1Stv esac 98141.1Stv 98151.61Schristos case $ac_option in 98161.1Stv # Handling of the options. 98171.61Schristos_ACEOF 98181.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 98191.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 98201.61Schristos ac_cs_recheck=: ;; 98211.1Stv --version | --vers* | -V ) 98221.1Stv echo "$ac_cs_version"; exit 0 ;; 98231.1Stv --he | --h) 98241.1Stv # Conflict between --help and --header 98251.61Schristos { { echo "$as_me:$LINENO: error: ambiguous option: $1 98261.1StvTry \`$0 --help' for more information." >&5 98271.1Stvecho "$as_me: error: ambiguous option: $1 98281.1StvTry \`$0 --help' for more information." >&2;} 98291.1Stv { (exit 1); exit 1; }; };; 98301.1Stv --help | --hel | -h ) 98311.1Stv echo "$ac_cs_usage"; exit 0 ;; 98321.1Stv --debug | --d* | -d ) 98331.1Stv debug=: ;; 98341.1Stv --file | --fil | --fi | --f ) 98351.61Schristos $ac_shift 98361.61Schristos CONFIG_FILES="$CONFIG_FILES $ac_optarg" 98371.1Stv ac_need_defaults=false;; 98381.1Stv --header | --heade | --head | --hea ) 98391.61Schristos $ac_shift 98401.61Schristos CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 98411.1Stv ac_need_defaults=false;; 98421.61Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 98431.61Schristos | -silent | --silent | --silen | --sile | --sil | --si | --s) 98441.61Schristos ac_cs_silent=: ;; 98451.1Stv 98461.1Stv # This is an error. 98471.61Schristos -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 98481.1StvTry \`$0 --help' for more information." >&5 98491.1Stvecho "$as_me: error: unrecognized option: $1 98501.1StvTry \`$0 --help' for more information." >&2;} 98511.1Stv { (exit 1); exit 1; }; } ;; 98521.1Stv 98531.1Stv *) ac_config_targets="$ac_config_targets $1" ;; 98541.1Stv 98551.1Stv esac 98561.1Stv shift 98571.1Stvdone 98581.1Stv 98591.61Schristosac_configure_extra_args= 98601.1Stv 98611.61Schristosif $ac_cs_silent; then 98621.61Schristos exec 6>/dev/null 98631.61Schristos ac_configure_extra_args="$ac_configure_extra_args --silent" 98641.61Schristosfi 98651.1Stv 98661.61Schristos_ACEOF 98671.61Schristoscat >>$CONFIG_STATUS <<_ACEOF 98681.61Schristosif \$ac_cs_recheck; then 98691.61Schristos echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 98701.61Schristos exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 98711.61Schristosfi 98721.1Stv 98731.1Stv_ACEOF 98741.1Stv 98751.61Schristos 98761.61Schristos 98771.61Schristos 98781.61Schristos 98791.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 98801.1Stvfor ac_config_target in $ac_config_targets 98811.1Stvdo 98821.1Stv case "$ac_config_target" in 98831.1Stv # Handling of arguments. 98841.1Stv "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 98851.57Swiz "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; 98861.61Schristos *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 98871.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 98881.1Stv { (exit 1); exit 1; }; };; 98891.1Stv esac 98901.1Stvdone 98911.1Stv 98921.1Stv# If the user did not use the arguments to specify the items to instantiate, 98931.1Stv# then the envvar interface is used. Set only those that are not. 98941.1Stv# We use the long form for the default assignment because of an extremely 98951.1Stv# bizarre bug on SunOS 4.1.3. 98961.1Stvif $ac_need_defaults; then 98971.1Stv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 98981.1Stv test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 98991.1Stvfi 99001.1Stv 99011.61Schristos# Have a temporary directory for convenience. Make it in the build tree 99021.61Schristos# simply because there is no reason to put it here, and in addition, 99031.61Schristos# creating and moving files from /tmp can sometimes cause problems. 99041.1Stv# Create a temporary directory, and hook for its removal unless debugging. 99051.1Stv$debug || 99061.1Stv{ 99071.1Stv trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 99081.1Stv trap '{ (exit 1); exit 1; }' 1 2 13 15 99091.1Stv} 99101.1Stv 99111.1Stv# Create a (secure) tmp directory for tmp files. 99121.61Schristos 99131.1Stv{ 99141.61Schristos tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 99151.1Stv test -n "$tmp" && test -d "$tmp" 99161.1Stv} || 99171.1Stv{ 99181.61Schristos tmp=./confstat$$-$RANDOM 99191.1Stv (umask 077 && mkdir $tmp) 99201.1Stv} || 99211.1Stv{ 99221.61Schristos echo "$me: cannot create a temporary directory in ." >&2 99231.1Stv { (exit 1); exit 1; } 99241.1Stv} 99251.1Stv 99261.61Schristos_ACEOF 99271.1Stv 99281.61Schristoscat >>$CONFIG_STATUS <<_ACEOF 99291.1Stv 99301.1Stv# 99311.1Stv# CONFIG_FILES section. 99321.1Stv# 99331.1Stv 99341.1Stv# No need to generate the scripts if there are no CONFIG_FILES. 99351.1Stv# This happens for instance when ./config.status config.h 99361.1Stvif test -n "\$CONFIG_FILES"; then 99371.1Stv # Protect against being on the right side of a sed subst in config.status. 99381.1Stv sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 99391.1Stv s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 99401.1Stvs,@SHELL@,$SHELL,;t t 99411.61Schristoss,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 99421.61Schristoss,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 99431.61Schristoss,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 99441.61Schristoss,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 99451.61Schristoss,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 99461.61Schristoss,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 99471.1Stvs,@exec_prefix@,$exec_prefix,;t t 99481.1Stvs,@prefix@,$prefix,;t t 99491.1Stvs,@program_transform_name@,$program_transform_name,;t t 99501.1Stvs,@bindir@,$bindir,;t t 99511.1Stvs,@sbindir@,$sbindir,;t t 99521.1Stvs,@libexecdir@,$libexecdir,;t t 99531.1Stvs,@datadir@,$datadir,;t t 99541.1Stvs,@sysconfdir@,$sysconfdir,;t t 99551.1Stvs,@sharedstatedir@,$sharedstatedir,;t t 99561.1Stvs,@localstatedir@,$localstatedir,;t t 99571.1Stvs,@libdir@,$libdir,;t t 99581.1Stvs,@includedir@,$includedir,;t t 99591.1Stvs,@oldincludedir@,$oldincludedir,;t t 99601.1Stvs,@infodir@,$infodir,;t t 99611.1Stvs,@mandir@,$mandir,;t t 99621.1Stvs,@build_alias@,$build_alias,;t t 99631.1Stvs,@host_alias@,$host_alias,;t t 99641.1Stvs,@target_alias@,$target_alias,;t t 99651.61Schristoss,@DEFS@,$DEFS,;t t 99661.1Stvs,@ECHO_C@,$ECHO_C,;t t 99671.1Stvs,@ECHO_N@,$ECHO_N,;t t 99681.1Stvs,@ECHO_T@,$ECHO_T,;t t 99691.1Stvs,@LIBS@,$LIBS,;t t 99701.1Stvs,@CC@,$CC,;t t 99711.1Stvs,@CFLAGS@,$CFLAGS,;t t 99721.1Stvs,@LDFLAGS@,$LDFLAGS,;t t 99731.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t 99741.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t 99751.1Stvs,@EXEEXT@,$EXEEXT,;t t 99761.1Stvs,@OBJEXT@,$OBJEXT,;t t 99771.1Stvs,@CPP@,$CPP,;t t 99781.61Schristoss,@EGREP@,$EGREP,;t t 99791.45Sjmcs,@BSHELL@,$BSHELL,;t t 99801.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t 99811.61Schristoss,@LIBOBJS@,$LIBOBJS,;t t 99821.61Schristoss,@LTLIBOBJS@,$LTLIBOBJS,;t t 99831.1StvCEOF 99841.1Stv 99851.61Schristos_ACEOF 99861.1Stv 99871.61Schristos cat >>$CONFIG_STATUS <<\_ACEOF 99881.1Stv # Split the substitutions into bite-sized pieces for seds with 99891.1Stv # small command number limits, like on Digital OSF/1 and HP-UX. 99901.1Stv ac_max_sed_lines=48 99911.1Stv ac_sed_frag=1 # Number of current file. 99921.1Stv ac_beg=1 # First line for current file. 99931.1Stv ac_end=$ac_max_sed_lines # Line after last line for current file. 99941.1Stv ac_more_lines=: 99951.1Stv ac_sed_cmds= 99961.1Stv while $ac_more_lines; do 99971.1Stv if test $ac_beg -gt 1; then 99981.1Stv sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 99991.1Stv else 100001.1Stv sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 100011.1Stv fi 100021.1Stv if test ! -s $tmp/subs.frag; then 100031.1Stv ac_more_lines=false 100041.1Stv else 100051.1Stv # The purpose of the label and of the branching condition is to 100061.1Stv # speed up the sed processing (if there are no `@' at all, there 100071.1Stv # is no need to browse any of the substitutions). 100081.1Stv # These are the two extra sed commands mentioned above. 100091.1Stv (echo ':t 100101.1Stv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 100111.1Stv if test -z "$ac_sed_cmds"; then 100121.61Schristos ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 100131.1Stv else 100141.61Schristos ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 100151.1Stv fi 100161.1Stv ac_sed_frag=`expr $ac_sed_frag + 1` 100171.1Stv ac_beg=$ac_end 100181.1Stv ac_end=`expr $ac_end + $ac_max_sed_lines` 100191.1Stv fi 100201.1Stv done 100211.1Stv if test -z "$ac_sed_cmds"; then 100221.1Stv ac_sed_cmds=cat 100231.1Stv fi 100241.1Stvfi # test -n "$CONFIG_FILES" 100251.1Stv 100261.61Schristos_ACEOF 100271.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 100281.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 100291.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 100301.1Stv case $ac_file in 100311.1Stv - | *:- | *:-:* ) # input from stdin 100321.61Schristos cat >$tmp/stdin 100331.61Schristos ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 100341.61Schristos ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 100351.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 100361.61Schristos ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 100371.1Stv * ) ac_file_in=$ac_file.in ;; 100381.1Stv esac 100391.1Stv 100401.1Stv # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 100411.61Schristos ac_dir=`(dirname "$ac_file") 2>/dev/null || 100421.61Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 100431.61Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 100441.61Schristos X"$ac_file" : 'X\(//\)$' \| \ 100451.61Schristos X"$ac_file" : 'X\(/\)' \| \ 100461.61Schristos . : '\(.\)' 2>/dev/null || 100471.1Stvecho X"$ac_file" | 100481.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 100491.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 100501.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 100511.1Stv /^X\(\/\).*/{ s//\1/; q; } 100521.1Stv s/.*/./; q'` 100531.61Schristos { if $as_mkdir_p; then 100541.61Schristos mkdir -p "$ac_dir" 100551.61Schristos else 100561.61Schristos as_dir="$ac_dir" 100571.61Schristos as_dirs= 100581.61Schristos while test ! -d "$as_dir"; do 100591.61Schristos as_dirs="$as_dir $as_dirs" 100601.61Schristos as_dir=`(dirname "$as_dir") 2>/dev/null || 100611.61Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 100621.61Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 100631.61Schristos X"$as_dir" : 'X\(//\)$' \| \ 100641.61Schristos X"$as_dir" : 'X\(/\)' \| \ 100651.61Schristos . : '\(.\)' 2>/dev/null || 100661.61Schristosecho X"$as_dir" | 100671.61Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 100681.61Schristos /^X\(\/\/\)[^/].*/{ s//\1/; q; } 100691.61Schristos /^X\(\/\/\)$/{ s//\1/; q; } 100701.61Schristos /^X\(\/\).*/{ s//\1/; q; } 100711.61Schristos s/.*/./; q'` 100721.61Schristos done 100731.61Schristos test ! -n "$as_dirs" || mkdir $as_dirs 100741.61Schristos fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 100751.61Schristosecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 100761.61Schristos { (exit 1); exit 1; }; }; } 100771.61Schristos 100781.61Schristos ac_builddir=. 100791.61Schristos 100801.61Schristosif test "$ac_dir" != .; then 100811.61Schristos ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 100821.61Schristos # A "../" for each directory in $ac_dir_suffix. 100831.61Schristos ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 100841.61Schristoselse 100851.61Schristos ac_dir_suffix= ac_top_builddir= 100861.61Schristosfi 100871.61Schristos 100881.61Schristoscase $srcdir in 100891.61Schristos .) # No --srcdir option. We are building in place. 100901.61Schristos ac_srcdir=. 100911.61Schristos if test -z "$ac_top_builddir"; then 100921.61Schristos ac_top_srcdir=. 100931.61Schristos else 100941.61Schristos ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 100951.61Schristos fi ;; 100961.61Schristos [\\/]* | ?:[\\/]* ) # Absolute path. 100971.61Schristos ac_srcdir=$srcdir$ac_dir_suffix; 100981.61Schristos ac_top_srcdir=$srcdir ;; 100991.61Schristos *) # Relative path. 101001.61Schristos ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 101011.61Schristos ac_top_srcdir=$ac_top_builddir$srcdir ;; 101021.61Schristosesac 101031.61Schristos 101041.61Schristos# Do not use `cd foo && pwd` to compute absolute paths, because 101051.61Schristos# the directories may not exist. 101061.61Schristoscase `pwd` in 101071.61Schristos.) ac_abs_builddir="$ac_dir";; 101081.61Schristos*) 101091.61Schristos case "$ac_dir" in 101101.61Schristos .) ac_abs_builddir=`pwd`;; 101111.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 101121.61Schristos *) ac_abs_builddir=`pwd`/"$ac_dir";; 101131.61Schristos esac;; 101141.61Schristosesac 101151.61Schristoscase $ac_abs_builddir in 101161.61Schristos.) ac_abs_top_builddir=${ac_top_builddir}.;; 101171.61Schristos*) 101181.61Schristos case ${ac_top_builddir}. in 101191.61Schristos .) ac_abs_top_builddir=$ac_abs_builddir;; 101201.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 101211.61Schristos *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 101221.61Schristos esac;; 101231.61Schristosesac 101241.61Schristoscase $ac_abs_builddir in 101251.61Schristos.) ac_abs_srcdir=$ac_srcdir;; 101261.61Schristos*) 101271.61Schristos case $ac_srcdir in 101281.61Schristos .) ac_abs_srcdir=$ac_abs_builddir;; 101291.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 101301.61Schristos *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 101311.61Schristos esac;; 101321.61Schristosesac 101331.61Schristoscase $ac_abs_builddir in 101341.61Schristos.) ac_abs_top_srcdir=$ac_top_srcdir;; 101351.61Schristos*) 101361.61Schristos case $ac_top_srcdir in 101371.61Schristos .) ac_abs_top_srcdir=$ac_abs_builddir;; 101381.61Schristos [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 101391.61Schristos *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 101401.61Schristos esac;; 101411.50Sjmcesac 101421.1Stv 101431.1Stv 101441.1Stv 101451.1Stv if test x"$ac_file" != x-; then 101461.61Schristos { echo "$as_me:$LINENO: creating $ac_file" >&5 101471.1Stvecho "$as_me: creating $ac_file" >&6;} 101481.1Stv rm -f "$ac_file" 101491.1Stv fi 101501.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 101511.1Stv # use $as_me), people would be surprised to read: 101521.61Schristos # /* config.h. Generated by config.status. */ 101531.61Schristos if test x"$ac_file" = x-; then 101541.61Schristos configure_input= 101551.61Schristos else 101561.61Schristos configure_input="$ac_file. " 101571.61Schristos fi 101581.61Schristos configure_input=$configure_input"Generated from `echo $ac_file_in | 101591.61Schristos sed 's,.*/,,'` by configure." 101601.1Stv 101611.1Stv # First look for the input files in the build tree, otherwise in the 101621.1Stv # src tree. 101631.1Stv ac_file_inputs=`IFS=: 101641.1Stv for f in $ac_file_in; do 101651.1Stv case $f in 101661.1Stv -) echo $tmp/stdin ;; 101671.1Stv [\\/$]*) 101681.61Schristos # Absolute (can't be DOS-style, as IFS=:) 101691.61Schristos test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101701.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101711.1Stv { (exit 1); exit 1; }; } 101721.61Schristos echo "$f";; 101731.1Stv *) # Relative 101741.61Schristos if test -f "$f"; then 101751.61Schristos # Build tree 101761.61Schristos echo "$f" 101771.61Schristos elif test -f "$srcdir/$f"; then 101781.61Schristos # Source tree 101791.61Schristos echo "$srcdir/$f" 101801.61Schristos else 101811.61Schristos # /dev/null tree 101821.61Schristos { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 101831.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 101841.1Stv { (exit 1); exit 1; }; } 101851.61Schristos fi;; 101861.1Stv esac 101871.1Stv done` || { (exit 1); exit 1; } 101881.61Schristos_ACEOF 101891.61Schristoscat >>$CONFIG_STATUS <<_ACEOF 101901.1Stv sed "$ac_vpsub 101911.1Stv$extrasub 101921.61Schristos_ACEOF 101931.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 101941.1Stv:t 101951.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 101961.1Stvs,@configure_input@,$configure_input,;t t 101971.1Stvs,@srcdir@,$ac_srcdir,;t t 101981.61Schristoss,@abs_srcdir@,$ac_abs_srcdir,;t t 101991.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t 102001.61Schristoss,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 102011.61Schristoss,@builddir@,$ac_builddir,;t t 102021.61Schristoss,@abs_builddir@,$ac_abs_builddir,;t t 102031.61Schristoss,@top_builddir@,$ac_top_builddir,;t t 102041.61Schristoss,@abs_top_builddir@,$ac_abs_top_builddir,;t t 102051.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 102061.1Stv rm -f $tmp/stdin 102071.1Stv if test x"$ac_file" != x-; then 102081.1Stv mv $tmp/out $ac_file 102091.1Stv else 102101.1Stv cat $tmp/out 102111.1Stv rm -f $tmp/out 102121.1Stv fi 102131.1Stv 102141.1Stvdone 102151.61Schristos_ACEOF 102161.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 102171.1Stv 102181.1Stv# 102191.1Stv# CONFIG_HEADER section. 102201.1Stv# 102211.1Stv 102221.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 102231.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given. 102241.1Stv# 102251.1Stv# ac_d sets the value in "#define NAME VALUE" lines. 102261.61Schristosac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 102271.61Schristosac_dB='[ ].*$,\1#\2' 102281.1Stvac_dC=' ' 102291.1Stvac_dD=',;t' 102301.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 102311.61Schristosac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 102321.1Stvac_uB='$,\1#\2define\3' 102331.1Stvac_uC=' ' 102341.1Stvac_uD=',;t' 102351.1Stv 102361.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 102371.1Stv # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 102381.1Stv case $ac_file in 102391.1Stv - | *:- | *:-:* ) # input from stdin 102401.61Schristos cat >$tmp/stdin 102411.61Schristos ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 102421.61Schristos ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 102431.1Stv *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 102441.61Schristos ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 102451.1Stv * ) ac_file_in=$ac_file.in ;; 102461.1Stv esac 102471.1Stv 102481.61Schristos test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 102491.1Stvecho "$as_me: creating $ac_file" >&6;} 102501.1Stv 102511.1Stv # First look for the input files in the build tree, otherwise in the 102521.1Stv # src tree. 102531.1Stv ac_file_inputs=`IFS=: 102541.1Stv for f in $ac_file_in; do 102551.1Stv case $f in 102561.1Stv -) echo $tmp/stdin ;; 102571.1Stv [\\/$]*) 102581.61Schristos # Absolute (can't be DOS-style, as IFS=:) 102591.61Schristos test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 102601.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 102611.1Stv { (exit 1); exit 1; }; } 102621.61Schristos # Do quote $f, to prevent DOS paths from being IFS'd. 102631.61Schristos echo "$f";; 102641.1Stv *) # Relative 102651.61Schristos if test -f "$f"; then 102661.61Schristos # Build tree 102671.61Schristos echo "$f" 102681.61Schristos elif test -f "$srcdir/$f"; then 102691.61Schristos # Source tree 102701.61Schristos echo "$srcdir/$f" 102711.61Schristos else 102721.61Schristos # /dev/null tree 102731.61Schristos { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 102741.1Stvecho "$as_me: error: cannot find input file: $f" >&2;} 102751.1Stv { (exit 1); exit 1; }; } 102761.61Schristos fi;; 102771.1Stv esac 102781.1Stv done` || { (exit 1); exit 1; } 102791.1Stv # Remove the trailing spaces. 102801.61Schristos sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 102811.1Stv 102821.61Schristos_ACEOF 102831.1Stv 102841.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and 102851.1Stv# `conftest.undefs', that substitutes the proper values into 102861.1Stv# config.h.in to produce config.h. The first handles `#define' 102871.1Stv# templates, and the second `#undef' templates. 102881.1Stv# And first: Protect against being on the right side of a sed subst in 102891.1Stv# config.status. Protect against being in an unquoted here document 102901.1Stv# in config.status. 102911.1Stvrm -f conftest.defines conftest.undefs 102921.1Stv# Using a here document instead of a string reduces the quoting nightmare. 102931.1Stv# Putting comments in sed scripts is not portable. 102941.1Stv# 102951.1Stv# `end' is used to avoid that the second main sed command (meant for 102961.1Stv# 0-ary CPP macros) applies to n-ary macro definitions. 102971.1Stv# See the Autoconf documentation for `clear'. 102981.61Schristoscat >confdef2sed.sed <<\_ACEOF 102991.1Stvs/[\\&,]/\\&/g 103001.1Stvs,[\\$`],\\&,g 103011.1Stvt clear 103021.1Stv: clear 103031.61Schristoss,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 103041.1Stvt end 103051.61Schristoss,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 103061.1Stv: end 103071.61Schristos_ACEOF 103081.1Stv# If some macros were called several times there might be several times 103091.1Stv# the same #defines, which is useless. Nevertheless, we may not want to 103101.1Stv# sort them, since we want the *last* AC-DEFINE to be honored. 103111.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 103121.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 103131.1Stvrm -f confdef2sed.sed 103141.1Stv 103151.1Stv# This sed command replaces #undef with comments. This is necessary, for 103161.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required 103171.1Stv# on some systems where configure will not decide to define it. 103181.61Schristoscat >>conftest.undefs <<\_ACEOF 103191.61Schristoss,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 103201.61Schristos_ACEOF 103211.1Stv 103221.1Stv# Break up conftest.defines because some shells have a limit on the size 103231.1Stv# of here documents, and old seds have small limits too (100 cmds). 103241.1Stvecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 103251.61Schristosecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 103261.1Stvecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 103271.1Stvecho ' :' >>$CONFIG_STATUS 103281.1Stvrm -f conftest.tail 103291.1Stvwhile grep . conftest.defines >/dev/null 103301.1Stvdo 103311.1Stv # Write a limited-size here document to $tmp/defines.sed. 103321.1Stv echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 103331.1Stv # Speed up: don't consider the non `#define' lines. 103341.61Schristos echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 103351.1Stv # Work around the forget-to-reset-the-flag bug. 103361.1Stv echo 't clr' >>$CONFIG_STATUS 103371.1Stv echo ': clr' >>$CONFIG_STATUS 103381.1Stv sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 103391.1Stv echo 'CEOF 103401.1Stv sed -f $tmp/defines.sed $tmp/in >$tmp/out 103411.1Stv rm -f $tmp/in 103421.1Stv mv $tmp/out $tmp/in 103431.1Stv' >>$CONFIG_STATUS 103441.1Stv sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 103451.1Stv rm -f conftest.defines 103461.1Stv mv conftest.tail conftest.defines 103471.1Stvdone 103481.1Stvrm -f conftest.defines 103491.61Schristosecho ' fi # grep' >>$CONFIG_STATUS 103501.1Stvecho >>$CONFIG_STATUS 103511.1Stv 103521.1Stv# Break up conftest.undefs because some shells have a limit on the size 103531.1Stv# of here documents, and old seds have small limits too (100 cmds). 103541.1Stvecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 103551.1Stvrm -f conftest.tail 103561.1Stvwhile grep . conftest.undefs >/dev/null 103571.1Stvdo 103581.1Stv # Write a limited-size here document to $tmp/undefs.sed. 103591.1Stv echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 103601.1Stv # Speed up: don't consider the non `#undef' 103611.61Schristos echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 103621.1Stv # Work around the forget-to-reset-the-flag bug. 103631.1Stv echo 't clr' >>$CONFIG_STATUS 103641.1Stv echo ': clr' >>$CONFIG_STATUS 103651.1Stv sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 103661.1Stv echo 'CEOF 103671.1Stv sed -f $tmp/undefs.sed $tmp/in >$tmp/out 103681.1Stv rm -f $tmp/in 103691.1Stv mv $tmp/out $tmp/in 103701.1Stv' >>$CONFIG_STATUS 103711.1Stv sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 103721.1Stv rm -f conftest.undefs 103731.1Stv mv conftest.tail conftest.undefs 103741.1Stvdone 103751.1Stvrm -f conftest.undefs 103761.1Stv 103771.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 103781.1Stv # Let's still pretend it is `configure' which instantiates (i.e., don't 103791.1Stv # use $as_me), people would be surprised to read: 103801.61Schristos # /* config.h. Generated by config.status. */ 103811.1Stv if test x"$ac_file" = x-; then 103821.61Schristos echo "/* Generated by configure. */" >$tmp/config.h 103831.1Stv else 103841.61Schristos echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 103851.1Stv fi 103861.1Stv cat $tmp/in >>$tmp/config.h 103871.1Stv rm -f $tmp/in 103881.1Stv if test x"$ac_file" != x-; then 103891.61Schristos if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 103901.61Schristos { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 103911.1Stvecho "$as_me: $ac_file is unchanged" >&6;} 103921.1Stv else 103931.61Schristos ac_dir=`(dirname "$ac_file") 2>/dev/null || 103941.61Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 103951.61Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 103961.61Schristos X"$ac_file" : 'X\(//\)$' \| \ 103971.61Schristos X"$ac_file" : 'X\(/\)' \| \ 103981.61Schristos . : '\(.\)' 2>/dev/null || 103991.1Stvecho X"$ac_file" | 104001.1Stv sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 104011.1Stv /^X\(\/\/\)[^/].*/{ s//\1/; q; } 104021.1Stv /^X\(\/\/\)$/{ s//\1/; q; } 104031.1Stv /^X\(\/\).*/{ s//\1/; q; } 104041.1Stv s/.*/./; q'` 104051.61Schristos { if $as_mkdir_p; then 104061.61Schristos mkdir -p "$ac_dir" 104071.61Schristos else 104081.61Schristos as_dir="$ac_dir" 104091.61Schristos as_dirs= 104101.61Schristos while test ! -d "$as_dir"; do 104111.61Schristos as_dirs="$as_dir $as_dirs" 104121.61Schristos as_dir=`(dirname "$as_dir") 2>/dev/null || 104131.61Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 104141.61Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 104151.61Schristos X"$as_dir" : 'X\(//\)$' \| \ 104161.61Schristos X"$as_dir" : 'X\(/\)' \| \ 104171.61Schristos . : '\(.\)' 2>/dev/null || 104181.61Schristosecho X"$as_dir" | 104191.61Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 104201.61Schristos /^X\(\/\/\)[^/].*/{ s//\1/; q; } 104211.61Schristos /^X\(\/\/\)$/{ s//\1/; q; } 104221.61Schristos /^X\(\/\).*/{ s//\1/; q; } 104231.61Schristos s/.*/./; q'` 104241.61Schristos done 104251.61Schristos test ! -n "$as_dirs" || mkdir $as_dirs 104261.61Schristos fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 104271.61Schristosecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 104281.61Schristos { (exit 1); exit 1; }; }; } 104291.1Stv 104301.1Stv rm -f $ac_file 104311.1Stv mv $tmp/config.h $ac_file 104321.1Stv fi 104331.1Stv else 104341.1Stv cat $tmp/config.h 104351.1Stv rm -f $tmp/config.h 104361.1Stv fi 104371.1Stvdone 104381.61Schristos_ACEOF 104391.1Stv 104401.61Schristoscat >>$CONFIG_STATUS <<\_ACEOF 104411.1Stv 104421.1Stv{ (exit 0); exit 0; } 104431.61Schristos_ACEOF 104441.1Stvchmod +x $CONFIG_STATUS 104451.1Stvac_clean_files=$ac_clean_files_save 104461.1Stv 104471.61Schristos 104481.1Stv# configure is writing to config.log, and then calls config.status. 104491.1Stv# config.status does its own redirection, appending to config.log. 104501.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 104511.1Stv# by configure, so config.status won't be able to write to it; its 104521.1Stv# output is simply discarded. So we exec the FD to /dev/null, 104531.1Stv# effectively closing config.log, so it can be properly (re)opened and 104541.1Stv# appended to by config.status. When coming back to configure, we 104551.1Stv# need to make the FD available again. 104561.1Stvif test "$no_create" != yes; then 104571.1Stv ac_cs_success=: 104581.61Schristos ac_config_status_args= 104591.61Schristos test "$silent" = yes && 104601.61Schristos ac_config_status_args="$ac_config_status_args --quiet" 104611.1Stv exec 5>/dev/null 104621.61Schristos $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 104631.1Stv exec 5>>config.log 104641.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 104651.1Stv # would make configure fail if this is the last instruction. 104661.1Stv $ac_cs_success || { (exit 1); exit 1; } 104671.1Stvfi 104681.1Stv 10469