configure revision 1.54
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.53Sdogcow# Generated by GNU Autoconf 2.59 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.53Sdogcow# Copyright (C) 2003 Free Software Foundation, Inc.
81.1Stv# This configure script is free software; the Free Software Foundation
91.1Stv# gives unlimited permission to copy, distribute and modify it.
101.53Sdogcow## --------------------- ##
111.53Sdogcow## M4sh Initialization.  ##
121.53Sdogcow## --------------------- ##
131.1Stv
141.53Sdogcow# Be Bourne compatible
151.53Sdogcowif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
161.53Sdogcow  emulate sh
171.53Sdogcow  NULLCMD=:
181.53Sdogcow  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
191.53Sdogcow  # is contrary to our usage.  Disable this feature.
201.53Sdogcow  alias -g '${1+"$@"}'='"$@"'
211.53Sdogcowelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
221.53Sdogcow  set -o posix
231.53Sdogcowfi
241.53SdogcowDUALCASE=1; export DUALCASE # for MKS sh
251.53Sdogcow
261.53Sdogcow# Support unset when possible.
271.53Sdogcowif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
281.53Sdogcow  as_unset=unset
291.53Sdogcowelse
301.53Sdogcow  as_unset=false
311.53Sdogcowfi
321.53Sdogcow
331.53Sdogcow
341.53Sdogcow# Work around bugs in pre-3.0 UWIN ksh.
351.53Sdogcow$as_unset ENV MAIL MAILPATH
361.53SdogcowPS1='$ '
371.53SdogcowPS2='> '
381.53SdogcowPS4='+ '
391.53Sdogcow
401.53Sdogcow# NLS nuisances.
411.53Sdogcowfor as_var in \
421.53Sdogcow  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
431.53Sdogcow  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
441.53Sdogcow  LC_TELEPHONE LC_TIME
451.53Sdogcowdo
461.53Sdogcow  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
471.53Sdogcow    eval $as_var=C; export $as_var
481.53Sdogcow  else
491.53Sdogcow    $as_unset $as_var
501.53Sdogcow  fi
511.53Sdogcowdone
521.53Sdogcow
531.53Sdogcow# Required to use basename.
541.53Sdogcowif expr a : '\(a\)' >/dev/null 2>&1; then
551.53Sdogcow  as_expr=expr
561.53Sdogcowelse
571.53Sdogcow  as_expr=false
581.53Sdogcowfi
591.53Sdogcow
601.53Sdogcowif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
611.53Sdogcow  as_basename=basename
621.53Sdogcowelse
631.53Sdogcow  as_basename=false
641.53Sdogcowfi
651.53Sdogcow
661.53Sdogcow
671.53Sdogcow# Name of the executable.
681.53Sdogcowas_me=`$as_basename "$0" ||
691.53Sdogcow$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
701.53Sdogcow	 X"$0" : 'X\(//\)$' \| \
711.53Sdogcow	 X"$0" : 'X\(/\)$' \| \
721.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
731.53Sdogcowecho X/"$0" |
741.53Sdogcow    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
751.53Sdogcow  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
761.53Sdogcow  	  /^X\/\(\/\).*/{ s//\1/; q; }
771.53Sdogcow  	  s/.*/./; q'`
781.53Sdogcow
791.53Sdogcow
801.53Sdogcow# PATH needs CR, and LINENO needs CR and PATH.
811.1Stv# Avoid depending upon Character Ranges.
821.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz'
831.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
841.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS
851.1Stvas_cr_digits='0123456789'
861.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits
871.1Stv
881.53Sdogcow# The user is always right.
891.53Sdogcowif test "${PATH_SEPARATOR+set}" != set; then
901.53Sdogcow  echo "#! /bin/sh" >conf$$.sh
911.53Sdogcow  echo  "exit 0"   >>conf$$.sh
921.53Sdogcow  chmod +x conf$$.sh
931.53Sdogcow  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
941.53Sdogcow    PATH_SEPARATOR=';'
951.53Sdogcow  else
961.53Sdogcow    PATH_SEPARATOR=:
971.53Sdogcow  fi
981.53Sdogcow  rm -f conf$$.sh
991.53Sdogcowfi
1001.53Sdogcow
1011.53Sdogcow
1021.53Sdogcow  as_lineno_1=$LINENO
1031.53Sdogcow  as_lineno_2=$LINENO
1041.53Sdogcow  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1051.53Sdogcow  test "x$as_lineno_1" != "x$as_lineno_2" &&
1061.53Sdogcow  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1071.53Sdogcow  # Find who we are.  Look in the path if we contain no path at all
1081.53Sdogcow  # relative or not.
1091.53Sdogcow  case $0 in
1101.53Sdogcow    *[\\/]* ) as_myself=$0 ;;
1111.53Sdogcow    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1121.53Sdogcowfor as_dir in $PATH
1131.53Sdogcowdo
1141.53Sdogcow  IFS=$as_save_IFS
1151.53Sdogcow  test -z "$as_dir" && as_dir=.
1161.53Sdogcow  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1171.53Sdogcowdone
1181.53Sdogcow
1191.53Sdogcow       ;;
1201.53Sdogcow  esac
1211.53Sdogcow  # We did not find ourselves, most probably we were run as `sh COMMAND'
1221.53Sdogcow  # in which case we are not to be found in the path.
1231.53Sdogcow  if test "x$as_myself" = x; then
1241.53Sdogcow    as_myself=$0
1251.53Sdogcow  fi
1261.53Sdogcow  if test ! -f "$as_myself"; then
1271.53Sdogcow    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1281.53Sdogcow   { (exit 1); exit 1; }; }
1291.53Sdogcow  fi
1301.53Sdogcow  case $CONFIG_SHELL in
1311.53Sdogcow  '')
1321.53Sdogcow    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1331.53Sdogcowfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1341.53Sdogcowdo
1351.53Sdogcow  IFS=$as_save_IFS
1361.53Sdogcow  test -z "$as_dir" && as_dir=.
1371.53Sdogcow  for as_base in sh bash ksh sh5; do
1381.53Sdogcow	 case $as_dir in
1391.53Sdogcow	 /*)
1401.53Sdogcow	   if ("$as_dir/$as_base" -c '
1411.53Sdogcow  as_lineno_1=$LINENO
1421.53Sdogcow  as_lineno_2=$LINENO
1431.53Sdogcow  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1441.53Sdogcow  test "x$as_lineno_1" != "x$as_lineno_2" &&
1451.53Sdogcow  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1461.53Sdogcow	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1471.53Sdogcow	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1481.53Sdogcow	     CONFIG_SHELL=$as_dir/$as_base
1491.53Sdogcow	     export CONFIG_SHELL
1501.53Sdogcow	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1511.53Sdogcow	   fi;;
1521.53Sdogcow	 esac
1531.53Sdogcow       done
1541.53Sdogcowdone
1551.53Sdogcow;;
1561.53Sdogcow  esac
1571.53Sdogcow
1581.53Sdogcow  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1591.53Sdogcow  # uniformly replaced by the line number.  The first 'sed' inserts a
1601.53Sdogcow  # line-number line before each line; the second 'sed' does the real
1611.53Sdogcow  # work.  The second script uses 'N' to pair each line-number line
1621.53Sdogcow  # with the numbered line, and appends trailing '-' during
1631.53Sdogcow  # substitution so that $LINENO is not a special case at line end.
1641.53Sdogcow  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1651.53Sdogcow  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1661.53Sdogcow  sed '=' <$as_myself |
1671.53Sdogcow    sed '
1681.53Sdogcow      N
1691.53Sdogcow      s,$,-,
1701.53Sdogcow      : loop
1711.53Sdogcow      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1721.53Sdogcow      t loop
1731.53Sdogcow      s,-$,,
1741.53Sdogcow      s,^['$as_cr_digits']*\n,,
1751.53Sdogcow    ' >$as_me.lineno &&
1761.53Sdogcow  chmod +x $as_me.lineno ||
1771.53Sdogcow    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1781.53Sdogcow   { (exit 1); exit 1; }; }
1791.48Sjmc
1801.53Sdogcow  # Don't try to exec as it changes $[0], causing all sort of problems
1811.53Sdogcow  # (the dirname of $[0] is not the place where we might find the
1821.53Sdogcow  # original and so on.  Autoconf is especially sensible to this).
1831.53Sdogcow  . ./$as_me.lineno
1841.53Sdogcow  # Exit status is that of the last command.
1851.53Sdogcow  exit
1861.53Sdogcow}
1871.48Sjmc
1881.39Sfredb
1891.53Sdogcowcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1901.53Sdogcow  *c*,-n*) ECHO_N= ECHO_C='
1911.53Sdogcow' ECHO_T='	' ;;
1921.53Sdogcow  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1931.53Sdogcow  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1941.53Sdogcowesac
1951.1Stv
1961.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
1971.1Stv  as_expr=expr
1981.1Stvelse
1991.1Stv  as_expr=false
2001.1Stvfi
2011.1Stv
2021.1Stvrm -f conf$$ conf$$.exe conf$$.file
2031.1Stvecho >conf$$.file
2041.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
2051.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
2061.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2071.1Stv  if test -f conf$$.exe; then
2081.1Stv    # Don't use ln at all; we don't have any links
2091.1Stv    as_ln_s='cp -p'
2101.1Stv  else
2111.1Stv    as_ln_s='ln -s'
2121.1Stv  fi
2131.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
2141.1Stv  as_ln_s=ln
2151.1Stvelse
2161.1Stv  as_ln_s='cp -p'
2171.1Stvfi
2181.1Stvrm -f conf$$ conf$$.exe conf$$.file
2191.1Stv
2201.53Sdogcowif mkdir -p . 2>/dev/null; then
2211.53Sdogcow  as_mkdir_p=:
2221.53Sdogcowelse
2231.53Sdogcow  test -d ./-p && rmdir ./-p
2241.53Sdogcow  as_mkdir_p=false
2251.53Sdogcowfi
2261.53Sdogcow
2271.52Sdbjas_executable_p="test -f"
2281.52Sdbj
2291.53Sdogcow# Sed expression to map a string onto a valid CPP name.
2301.53Sdogcowas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2311.53Sdogcow
2321.53Sdogcow# Sed expression to map a string onto a valid variable name.
2331.53Sdogcowas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2341.48Sjmc
2351.1Stv
2361.1Stv# IFS
2371.1Stv# We need space, tab and new line, in precisely that order.
2381.1Stvas_nl='
2391.1Stv'
2401.1StvIFS=" 	$as_nl"
2411.1Stv
2421.1Stv# CDPATH.
2431.53Sdogcow$as_unset CDPATH
2441.53Sdogcow
2451.1Stv
2461.1Stv# Name of the host.
2471.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2481.1Stv# so uname gets run too.
2491.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2501.1Stv
2511.1Stvexec 6>&1
2521.1Stv
2531.1Stv#
2541.1Stv# Initializations.
2551.1Stv#
2561.1Stvac_default_prefix=/usr/local
2571.53Sdogcowac_config_libobj_dir=.
2581.1Stvcross_compiling=no
2591.1Stvsubdirs=
2601.53SdogcowMFLAGS=
2611.53SdogcowMAKEFLAGS=
2621.1StvSHELL=${CONFIG_SHELL-/bin/sh}
2631.1Stv
2641.1Stv# Maximum number of lines to put in a shell here document.
2651.1Stv# This variable seems obsolete.  It should probably be removed, and
2661.1Stv# only ac_max_sed_lines should be used.
2671.1Stv: ${ac_max_here_lines=38}
2681.1Stv
2691.53Sdogcow# Identity of this package.
2701.53SdogcowPACKAGE_NAME='libnbcompat'
2711.53SdogcowPACKAGE_TARNAME='libnbcompat'
2721.53SdogcowPACKAGE_VERSION='noversion'
2731.53SdogcowPACKAGE_STRING='libnbcompat noversion'
2741.53SdogcowPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
2751.53Sdogcow
2761.1Stv# Factoring default headers for most tests.
2771.1Stvac_includes_default="\
2781.1Stv#include <stdio.h>
2791.1Stv#if HAVE_SYS_TYPES_H
2801.1Stv# include <sys/types.h>
2811.1Stv#endif
2821.1Stv#if HAVE_SYS_STAT_H
2831.1Stv# include <sys/stat.h>
2841.1Stv#endif
2851.1Stv#if STDC_HEADERS
2861.1Stv# include <stdlib.h>
2871.1Stv# include <stddef.h>
2881.1Stv#else
2891.1Stv# if HAVE_STDLIB_H
2901.1Stv#  include <stdlib.h>
2911.1Stv# endif
2921.1Stv#endif
2931.1Stv#if HAVE_STRING_H
2941.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
2951.1Stv#  include <memory.h>
2961.1Stv# endif
2971.1Stv# include <string.h>
2981.1Stv#endif
2991.1Stv#if HAVE_STRINGS_H
3001.1Stv# include <strings.h>
3011.1Stv#endif
3021.1Stv#if HAVE_INTTYPES_H
3031.1Stv# include <inttypes.h>
3041.1Stv#else
3051.1Stv# if HAVE_STDINT_H
3061.1Stv#  include <stdint.h>
3071.1Stv# endif
3081.1Stv#endif
3091.1Stv#if HAVE_UNISTD_H
3101.1Stv# include <unistd.h>
3111.1Stv#endif"
3121.1Stv
3131.53Sdogcowac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP BSHELL ALLOCA LIBOBJS LTLIBOBJS'
3141.53Sdogcowac_subst_files=''
3151.53Sdogcow
3161.1Stv# Initialize some variables set by options.
3171.1Stvac_init_help=
3181.1Stvac_init_version=false
3191.1Stv# The variables have the same names as the options, with
3201.1Stv# dashes changed to underlines.
3211.1Stvcache_file=/dev/null
3221.1Stvexec_prefix=NONE
3231.1Stvno_create=
3241.1Stvno_recursion=
3251.1Stvprefix=NONE
3261.1Stvprogram_prefix=NONE
3271.1Stvprogram_suffix=NONE
3281.1Stvprogram_transform_name=s,x,x,
3291.1Stvsilent=
3301.1Stvsite=
3311.1Stvsrcdir=
3321.1Stvverbose=
3331.1Stvx_includes=NONE
3341.1Stvx_libraries=NONE
3351.1Stv
3361.1Stv# Installation directory options.
3371.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
3381.1Stv# and all the variables that are supposed to be based on exec_prefix
3391.1Stv# by default will actually change.
3401.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
3411.1Stvbindir='${exec_prefix}/bin'
3421.1Stvsbindir='${exec_prefix}/sbin'
3431.1Stvlibexecdir='${exec_prefix}/libexec'
3441.1Stvdatadir='${prefix}/share'
3451.1Stvsysconfdir='${prefix}/etc'
3461.1Stvsharedstatedir='${prefix}/com'
3471.1Stvlocalstatedir='${prefix}/var'
3481.1Stvlibdir='${exec_prefix}/lib'
3491.1Stvincludedir='${prefix}/include'
3501.1Stvoldincludedir='/usr/include'
3511.1Stvinfodir='${prefix}/info'
3521.1Stvmandir='${prefix}/man'
3531.1Stv
3541.1Stvac_prev=
3551.1Stvfor ac_option
3561.1Stvdo
3571.1Stv  # If the previous option needs an argument, assign it.
3581.1Stv  if test -n "$ac_prev"; then
3591.1Stv    eval "$ac_prev=\$ac_option"
3601.1Stv    ac_prev=
3611.1Stv    continue
3621.1Stv  fi
3631.1Stv
3641.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
3651.1Stv
3661.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
3671.1Stv
3681.1Stv  case $ac_option in
3691.1Stv
3701.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
3711.1Stv    ac_prev=bindir ;;
3721.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
3731.1Stv    bindir=$ac_optarg ;;
3741.1Stv
3751.1Stv  -build | --build | --buil | --bui | --bu)
3761.1Stv    ac_prev=build_alias ;;
3771.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
3781.1Stv    build_alias=$ac_optarg ;;
3791.1Stv
3801.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
3811.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3821.1Stv    ac_prev=cache_file ;;
3831.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3841.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3851.1Stv    cache_file=$ac_optarg ;;
3861.1Stv
3871.1Stv  --config-cache | -C)
3881.1Stv    cache_file=config.cache ;;
3891.1Stv
3901.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
3911.1Stv    ac_prev=datadir ;;
3921.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
3931.1Stv  | --da=*)
3941.1Stv    datadir=$ac_optarg ;;
3951.1Stv
3961.1Stv  -disable-* | --disable-*)
3971.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3981.1Stv    # Reject names that are not valid shell variable names.
3991.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4001.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4011.1Stv   { (exit 1); exit 1; }; }
4021.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4031.1Stv    eval "enable_$ac_feature=no" ;;
4041.1Stv
4051.1Stv  -enable-* | --enable-*)
4061.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
4071.1Stv    # Reject names that are not valid shell variable names.
4081.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4091.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4101.1Stv   { (exit 1); exit 1; }; }
4111.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4121.1Stv    case $ac_option in
4131.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4141.1Stv      *) ac_optarg=yes ;;
4151.1Stv    esac
4161.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
4171.1Stv
4181.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
4191.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
4201.1Stv  | --exec | --exe | --ex)
4211.1Stv    ac_prev=exec_prefix ;;
4221.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
4231.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
4241.1Stv  | --exec=* | --exe=* | --ex=*)
4251.1Stv    exec_prefix=$ac_optarg ;;
4261.1Stv
4271.1Stv  -gas | --gas | --ga | --g)
4281.1Stv    # Obsolete; use --with-gas.
4291.1Stv    with_gas=yes ;;
4301.1Stv
4311.1Stv  -help | --help | --hel | --he | -h)
4321.1Stv    ac_init_help=long ;;
4331.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
4341.1Stv    ac_init_help=recursive ;;
4351.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
4361.1Stv    ac_init_help=short ;;
4371.1Stv
4381.1Stv  -host | --host | --hos | --ho)
4391.1Stv    ac_prev=host_alias ;;
4401.1Stv  -host=* | --host=* | --hos=* | --ho=*)
4411.1Stv    host_alias=$ac_optarg ;;
4421.1Stv
4431.1Stv  -includedir | --includedir | --includedi | --included | --include \
4441.1Stv  | --includ | --inclu | --incl | --inc)
4451.1Stv    ac_prev=includedir ;;
4461.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
4471.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
4481.1Stv    includedir=$ac_optarg ;;
4491.1Stv
4501.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
4511.1Stv    ac_prev=infodir ;;
4521.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4531.1Stv    infodir=$ac_optarg ;;
4541.1Stv
4551.1Stv  -libdir | --libdir | --libdi | --libd)
4561.1Stv    ac_prev=libdir ;;
4571.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
4581.1Stv    libdir=$ac_optarg ;;
4591.1Stv
4601.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
4611.1Stv  | --libexe | --libex | --libe)
4621.1Stv    ac_prev=libexecdir ;;
4631.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
4641.1Stv  | --libexe=* | --libex=* | --libe=*)
4651.1Stv    libexecdir=$ac_optarg ;;
4661.1Stv
4671.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
4681.1Stv  | --localstate | --localstat | --localsta | --localst \
4691.1Stv  | --locals | --local | --loca | --loc | --lo)
4701.1Stv    ac_prev=localstatedir ;;
4711.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4721.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
4731.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
4741.1Stv    localstatedir=$ac_optarg ;;
4751.1Stv
4761.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4771.1Stv    ac_prev=mandir ;;
4781.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4791.1Stv    mandir=$ac_optarg ;;
4801.1Stv
4811.1Stv  -nfp | --nfp | --nf)
4821.1Stv    # Obsolete; use --without-fp.
4831.1Stv    with_fp=no ;;
4841.1Stv
4851.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4861.53Sdogcow  | --no-cr | --no-c | -n)
4871.1Stv    no_create=yes ;;
4881.1Stv
4891.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4901.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
4911.1Stv    no_recursion=yes ;;
4921.1Stv
4931.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
4941.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
4951.1Stv  | --oldin | --oldi | --old | --ol | --o)
4961.1Stv    ac_prev=oldincludedir ;;
4971.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
4981.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
4991.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5001.1Stv    oldincludedir=$ac_optarg ;;
5011.1Stv
5021.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5031.1Stv    ac_prev=prefix ;;
5041.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5051.1Stv    prefix=$ac_optarg ;;
5061.1Stv
5071.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
5081.1Stv  | --program-pre | --program-pr | --program-p)
5091.1Stv    ac_prev=program_prefix ;;
5101.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
5111.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5121.1Stv    program_prefix=$ac_optarg ;;
5131.1Stv
5141.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
5151.1Stv  | --program-suf | --program-su | --program-s)
5161.1Stv    ac_prev=program_suffix ;;
5171.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
5181.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5191.1Stv    program_suffix=$ac_optarg ;;
5201.1Stv
5211.1Stv  -program-transform-name | --program-transform-name \
5221.1Stv  | --program-transform-nam | --program-transform-na \
5231.1Stv  | --program-transform-n | --program-transform- \
5241.1Stv  | --program-transform | --program-transfor \
5251.1Stv  | --program-transfo | --program-transf \
5261.1Stv  | --program-trans | --program-tran \
5271.1Stv  | --progr-tra | --program-tr | --program-t)
5281.1Stv    ac_prev=program_transform_name ;;
5291.1Stv  -program-transform-name=* | --program-transform-name=* \
5301.1Stv  | --program-transform-nam=* | --program-transform-na=* \
5311.1Stv  | --program-transform-n=* | --program-transform-=* \
5321.1Stv  | --program-transform=* | --program-transfor=* \
5331.1Stv  | --program-transfo=* | --program-transf=* \
5341.1Stv  | --program-trans=* | --program-tran=* \
5351.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
5361.1Stv    program_transform_name=$ac_optarg ;;
5371.1Stv
5381.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5391.1Stv  | -silent | --silent | --silen | --sile | --sil)
5401.1Stv    silent=yes ;;
5411.1Stv
5421.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5431.1Stv    ac_prev=sbindir ;;
5441.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5451.1Stv  | --sbi=* | --sb=*)
5461.1Stv    sbindir=$ac_optarg ;;
5471.1Stv
5481.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
5491.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5501.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
5511.1Stv  | --sha | --sh)
5521.1Stv    ac_prev=sharedstatedir ;;
5531.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5541.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5551.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5561.1Stv  | --sha=* | --sh=*)
5571.1Stv    sharedstatedir=$ac_optarg ;;
5581.1Stv
5591.1Stv  -site | --site | --sit)
5601.1Stv    ac_prev=site ;;
5611.1Stv  -site=* | --site=* | --sit=*)
5621.1Stv    site=$ac_optarg ;;
5631.1Stv
5641.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5651.1Stv    ac_prev=srcdir ;;
5661.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5671.1Stv    srcdir=$ac_optarg ;;
5681.1Stv
5691.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5701.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
5711.1Stv    ac_prev=sysconfdir ;;
5721.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5731.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5741.1Stv    sysconfdir=$ac_optarg ;;
5751.1Stv
5761.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
5771.1Stv    ac_prev=target_alias ;;
5781.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5791.1Stv    target_alias=$ac_optarg ;;
5801.1Stv
5811.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
5821.1Stv    verbose=yes ;;
5831.1Stv
5841.1Stv  -version | --version | --versio | --versi | --vers | -V)
5851.1Stv    ac_init_version=: ;;
5861.1Stv
5871.1Stv  -with-* | --with-*)
5881.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5891.1Stv    # Reject names that are not valid shell variable names.
5901.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5911.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
5921.1Stv   { (exit 1); exit 1; }; }
5931.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
5941.1Stv    case $ac_option in
5951.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5961.1Stv      *) ac_optarg=yes ;;
5971.1Stv    esac
5981.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
5991.1Stv
6001.1Stv  -without-* | --without-*)
6011.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6021.1Stv    # Reject names that are not valid shell variable names.
6031.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6041.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
6051.1Stv   { (exit 1); exit 1; }; }
6061.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
6071.1Stv    eval "with_$ac_package=no" ;;
6081.1Stv
6091.1Stv  --x)
6101.1Stv    # Obsolete; use --with-x.
6111.1Stv    with_x=yes ;;
6121.1Stv
6131.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
6141.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
6151.1Stv    ac_prev=x_includes ;;
6161.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6171.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6181.1Stv    x_includes=$ac_optarg ;;
6191.1Stv
6201.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
6211.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6221.1Stv    ac_prev=x_libraries ;;
6231.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6241.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6251.1Stv    x_libraries=$ac_optarg ;;
6261.1Stv
6271.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
6281.1StvTry \`$0 --help' for more information." >&2
6291.1Stv   { (exit 1); exit 1; }; }
6301.1Stv    ;;
6311.1Stv
6321.1Stv  *=*)
6331.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6341.1Stv    # Reject names that are not valid shell variable names.
6351.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6361.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6371.1Stv   { (exit 1); exit 1; }; }
6381.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6391.1Stv    eval "$ac_envvar='$ac_optarg'"
6401.1Stv    export $ac_envvar ;;
6411.1Stv
6421.1Stv  *)
6431.1Stv    # FIXME: should be removed in autoconf 3.0.
6441.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6451.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6461.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6471.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6481.1Stv    ;;
6491.1Stv
6501.1Stv  esac
6511.1Stvdone
6521.1Stv
6531.1Stvif test -n "$ac_prev"; then
6541.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6551.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
6561.1Stv   { (exit 1); exit 1; }; }
6571.1Stvfi
6581.1Stv
6591.1Stv# Be sure to have absolute paths.
6601.1Stvfor ac_var in exec_prefix prefix
6611.1Stvdo
6621.1Stv  eval ac_val=$`echo $ac_var`
6631.1Stv  case $ac_val in
6641.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6651.53Sdogcow    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6661.1Stv   { (exit 1); exit 1; }; };;
6671.1Stv  esac
6681.1Stvdone
6691.1Stv
6701.1Stv# Be sure to have absolute paths.
6711.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6721.53Sdogcow	      localstatedir libdir includedir oldincludedir infodir mandir
6731.1Stvdo
6741.1Stv  eval ac_val=$`echo $ac_var`
6751.1Stv  case $ac_val in
6761.1Stv    [\\/$]* | ?:[\\/]* ) ;;
6771.53Sdogcow    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6781.1Stv   { (exit 1); exit 1; }; };;
6791.1Stv  esac
6801.1Stvdone
6811.1Stv
6821.1Stv# There might be people who depend on the old broken behavior: `$host'
6831.1Stv# used to hold the argument of --host etc.
6841.53Sdogcow# FIXME: To remove some day.
6851.1Stvbuild=$build_alias
6861.1Stvhost=$host_alias
6871.1Stvtarget=$target_alias
6881.1Stv
6891.53Sdogcow# FIXME: To remove some day.
6901.1Stvif test "x$host_alias" != x; then
6911.1Stv  if test "x$build_alias" = x; then
6921.1Stv    cross_compiling=maybe
6931.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6941.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
6951.1Stv  elif test "x$build_alias" != "x$host_alias"; then
6961.1Stv    cross_compiling=yes
6971.1Stv  fi
6981.1Stvfi
6991.1Stv
7001.1Stvac_tool_prefix=
7011.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
7021.1Stv
7031.1Stvtest "$silent" = yes && exec 6>/dev/null
7041.1Stv
7051.53Sdogcow
7061.1Stv# Find the source files, if location was not specified.
7071.1Stvif test -z "$srcdir"; then
7081.1Stv  ac_srcdir_defaulted=yes
7091.1Stv  # Try the directory containing this script, then its parent.
7101.53Sdogcow  ac_confdir=`(dirname "$0") 2>/dev/null ||
7111.53Sdogcow$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7121.53Sdogcow	 X"$0" : 'X\(//\)[^/]' \| \
7131.53Sdogcow	 X"$0" : 'X\(//\)$' \| \
7141.53Sdogcow	 X"$0" : 'X\(/\)' \| \
7151.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
7161.53Sdogcowecho X"$0" |
7171.53Sdogcow    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7181.53Sdogcow  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7191.53Sdogcow  	  /^X\(\/\/\)$/{ s//\1/; q; }
7201.53Sdogcow  	  /^X\(\/\).*/{ s//\1/; q; }
7211.53Sdogcow  	  s/.*/./; q'`
7221.1Stv  srcdir=$ac_confdir
7231.1Stv  if test ! -r $srcdir/$ac_unique_file; then
7241.1Stv    srcdir=..
7251.1Stv  fi
7261.1Stvelse
7271.1Stv  ac_srcdir_defaulted=no
7281.1Stvfi
7291.1Stvif test ! -r $srcdir/$ac_unique_file; then
7301.1Stv  if test "$ac_srcdir_defaulted" = yes; then
7311.53Sdogcow    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
7321.1Stv   { (exit 1); exit 1; }; }
7331.1Stv  else
7341.53Sdogcow    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7351.1Stv   { (exit 1); exit 1; }; }
7361.1Stv  fi
7371.1Stvfi
7381.53Sdogcow(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
7391.53Sdogcow  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
7401.53Sdogcow   { (exit 1); exit 1; }; }
7411.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
7421.1Stvac_env_build_alias_set=${build_alias+set}
7431.1Stvac_env_build_alias_value=$build_alias
7441.1Stvac_cv_env_build_alias_set=${build_alias+set}
7451.1Stvac_cv_env_build_alias_value=$build_alias
7461.1Stvac_env_host_alias_set=${host_alias+set}
7471.1Stvac_env_host_alias_value=$host_alias
7481.1Stvac_cv_env_host_alias_set=${host_alias+set}
7491.1Stvac_cv_env_host_alias_value=$host_alias
7501.1Stvac_env_target_alias_set=${target_alias+set}
7511.1Stvac_env_target_alias_value=$target_alias
7521.1Stvac_cv_env_target_alias_set=${target_alias+set}
7531.1Stvac_cv_env_target_alias_value=$target_alias
7541.1Stvac_env_CC_set=${CC+set}
7551.1Stvac_env_CC_value=$CC
7561.1Stvac_cv_env_CC_set=${CC+set}
7571.1Stvac_cv_env_CC_value=$CC
7581.1Stvac_env_CFLAGS_set=${CFLAGS+set}
7591.1Stvac_env_CFLAGS_value=$CFLAGS
7601.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
7611.1Stvac_cv_env_CFLAGS_value=$CFLAGS
7621.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
7631.1Stvac_env_LDFLAGS_value=$LDFLAGS
7641.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
7651.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
7661.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
7671.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
7681.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
7691.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
7701.1Stvac_env_CPP_set=${CPP+set}
7711.1Stvac_env_CPP_value=$CPP
7721.1Stvac_cv_env_CPP_set=${CPP+set}
7731.1Stvac_cv_env_CPP_value=$CPP
7741.1Stv
7751.1Stv#
7761.1Stv# Report the --help message.
7771.1Stv#
7781.1Stvif test "$ac_init_help" = "long"; then
7791.1Stv  # Omit some internal or obsolete options to make the list less imposing.
7801.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
7811.53Sdogcow  cat <<_ACEOF
7821.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems.
7831.1Stv
7841.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
7851.1Stv
7861.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
7871.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
7881.1Stv
7891.1StvDefaults for the options are specified in brackets.
7901.1Stv
7911.1StvConfiguration:
7921.1Stv  -h, --help              display this help and exit
7931.1Stv      --help=short        display options specific to this package
7941.1Stv      --help=recursive    display the short help of all the included packages
7951.1Stv  -V, --version           display version information and exit
7961.1Stv  -q, --quiet, --silent   do not print \`checking...' messages
7971.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
7981.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
7991.1Stv  -n, --no-create         do not create output files
8001.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
8011.1Stv
8021.53Sdogcow_ACEOF
8031.1Stv
8041.53Sdogcow  cat <<_ACEOF
8051.1StvInstallation directories:
8061.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
8071.53Sdogcow			  [$ac_default_prefix]
8081.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
8091.53Sdogcow			  [PREFIX]
8101.1Stv
8111.1StvBy default, \`make install' will install all the files in
8121.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
8131.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
8141.1Stvfor instance \`--prefix=\$HOME'.
8151.1Stv
8161.1StvFor better control, use the options below.
8171.1Stv
8181.1StvFine tuning of the installation directories:
8191.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
8201.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
8211.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
8221.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
8231.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
8241.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
8251.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
8261.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
8271.1Stv  --includedir=DIR       C header files [PREFIX/include]
8281.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
8291.1Stv  --infodir=DIR          info documentation [PREFIX/info]
8301.1Stv  --mandir=DIR           man documentation [PREFIX/man]
8311.53Sdogcow_ACEOF
8321.1Stv
8331.53Sdogcow  cat <<\_ACEOF
8341.53Sdogcow_ACEOF
8351.1Stvfi
8361.1Stv
8371.1Stvif test -n "$ac_init_help"; then
8381.1Stv  case $ac_init_help in
8391.1Stv     short | recursive ) echo "Configuration of libnbcompat noversion:";;
8401.1Stv   esac
8411.53Sdogcow  cat <<\_ACEOF
8421.1Stv
8431.1StvSome influential environment variables:
8441.1Stv  CC          C compiler command
8451.1Stv  CFLAGS      C compiler flags
8461.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
8471.1Stv              nonstandard directory <lib dir>
8481.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
8491.1Stv              headers in a nonstandard directory <include dir>
8501.1Stv  CPP         C preprocessor
8511.1Stv
8521.1StvUse these variables to override the choices made by `configure' or to help
8531.1Stvit to find libraries and programs with nonstandard names/locations.
8541.1Stv
8551.41SsaloReport bugs to <lib-bug-people@NetBSD.org>.
8561.53Sdogcow_ACEOF
8571.1Stvfi
8581.1Stv
8591.1Stvif test "$ac_init_help" = "recursive"; then
8601.1Stv  # If there are subdirs, report their specific --help.
8611.1Stv  ac_popdir=`pwd`
8621.53Sdogcow  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
8631.53Sdogcow    test -d $ac_dir || continue
8641.53Sdogcow    ac_builddir=.
8651.53Sdogcow
8661.53Sdogcowif test "$ac_dir" != .; then
8671.53Sdogcow  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8681.53Sdogcow  # A "../" for each directory in $ac_dir_suffix.
8691.53Sdogcow  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8701.53Sdogcowelse
8711.53Sdogcow  ac_dir_suffix= ac_top_builddir=
8721.53Sdogcowfi
8731.53Sdogcow
8741.53Sdogcowcase $srcdir in
8751.53Sdogcow  .)  # No --srcdir option.  We are building in place.
8761.53Sdogcow    ac_srcdir=.
8771.53Sdogcow    if test -z "$ac_top_builddir"; then
8781.53Sdogcow       ac_top_srcdir=.
8791.53Sdogcow    else
8801.53Sdogcow       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8811.53Sdogcow    fi ;;
8821.53Sdogcow  [\\/]* | ?:[\\/]* )  # Absolute path.
8831.53Sdogcow    ac_srcdir=$srcdir$ac_dir_suffix;
8841.53Sdogcow    ac_top_srcdir=$srcdir ;;
8851.53Sdogcow  *) # Relative path.
8861.53Sdogcow    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8871.53Sdogcow    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8881.53Sdogcowesac
8891.53Sdogcow
8901.53Sdogcow# Do not use `cd foo && pwd` to compute absolute paths, because
8911.53Sdogcow# the directories may not exist.
8921.53Sdogcowcase `pwd` in
8931.53Sdogcow.) ac_abs_builddir="$ac_dir";;
8941.53Sdogcow*)
8951.53Sdogcow  case "$ac_dir" in
8961.53Sdogcow  .) ac_abs_builddir=`pwd`;;
8971.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8981.53Sdogcow  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8991.53Sdogcow  esac;;
9001.53Sdogcowesac
9011.53Sdogcowcase $ac_abs_builddir in
9021.53Sdogcow.) ac_abs_top_builddir=${ac_top_builddir}.;;
9031.53Sdogcow*)
9041.53Sdogcow  case ${ac_top_builddir}. in
9051.53Sdogcow  .) ac_abs_top_builddir=$ac_abs_builddir;;
9061.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9071.53Sdogcow  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9081.53Sdogcow  esac;;
9091.53Sdogcowesac
9101.53Sdogcowcase $ac_abs_builddir in
9111.53Sdogcow.) ac_abs_srcdir=$ac_srcdir;;
9121.53Sdogcow*)
9131.53Sdogcow  case $ac_srcdir in
9141.53Sdogcow  .) ac_abs_srcdir=$ac_abs_builddir;;
9151.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9161.53Sdogcow  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9171.53Sdogcow  esac;;
9181.53Sdogcowesac
9191.53Sdogcowcase $ac_abs_builddir in
9201.53Sdogcow.) ac_abs_top_srcdir=$ac_top_srcdir;;
9211.53Sdogcow*)
9221.53Sdogcow  case $ac_top_srcdir in
9231.53Sdogcow  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9241.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9251.53Sdogcow  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9261.53Sdogcow  esac;;
9271.53Sdogcowesac
9281.1Stv
9291.53Sdogcow    cd $ac_dir
9301.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
9311.53Sdogcow    if test -f $ac_srcdir/configure.gnu; then
9321.1Stv      echo
9331.53Sdogcow      $SHELL $ac_srcdir/configure.gnu  --help=recursive
9341.53Sdogcow    elif test -f $ac_srcdir/configure; then
9351.1Stv      echo
9361.53Sdogcow      $SHELL $ac_srcdir/configure  --help=recursive
9371.53Sdogcow    elif test -f $ac_srcdir/configure.ac ||
9381.53Sdogcow	   test -f $ac_srcdir/configure.in; then
9391.1Stv      echo
9401.1Stv      $ac_configure --help
9411.1Stv    else
9421.53Sdogcow      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
9431.1Stv    fi
9441.1Stv    cd $ac_popdir
9451.1Stv  done
9461.1Stvfi
9471.1Stv
9481.1Stvtest -n "$ac_init_help" && exit 0
9491.1Stvif $ac_init_version; then
9501.53Sdogcow  cat <<\_ACEOF
9511.1Stvlibnbcompat configure noversion
9521.53Sdogcowgenerated by GNU Autoconf 2.59
9531.1Stv
9541.53SdogcowCopyright (C) 2003 Free Software Foundation, Inc.
9551.1StvThis configure script is free software; the Free Software Foundation
9561.1Stvgives unlimited permission to copy, distribute and modify it.
9571.53Sdogcow_ACEOF
9581.1Stv  exit 0
9591.1Stvfi
9601.1Stvexec 5>config.log
9611.53Sdogcowcat >&5 <<_ACEOF
9621.1StvThis file contains any messages produced by compilers while
9631.1Stvrunning configure, to aid debugging if configure makes a mistake.
9641.1Stv
9651.1StvIt was created by libnbcompat $as_me noversion, which was
9661.53Sdogcowgenerated by GNU Autoconf 2.59.  Invocation command line was
9671.1Stv
9681.1Stv  $ $0 $@
9691.1Stv
9701.53Sdogcow_ACEOF
9711.1Stv{
9721.1Stvcat <<_ASUNAME
9731.53Sdogcow## --------- ##
9741.53Sdogcow## Platform. ##
9751.53Sdogcow## --------- ##
9761.1Stv
9771.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9781.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
9791.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
9801.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
9811.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
9821.1Stv
9831.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9841.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
9851.1Stv
9861.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
9871.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
9881.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9891.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
9901.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
9911.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
9921.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
9931.1Stv
9941.53Sdogcow_ASUNAME
9951.53Sdogcow
9961.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971.53Sdogcowfor as_dir in $PATH
9981.53Sdogcowdo
9991.53Sdogcow  IFS=$as_save_IFS
10001.53Sdogcow  test -z "$as_dir" && as_dir=.
10011.53Sdogcow  echo "PATH: $as_dir"
10021.53Sdogcowdone
10031.52Sdbj
10041.1Stv} >&5
10051.1Stv
10061.53Sdogcowcat >&5 <<_ACEOF
10071.53Sdogcow
10081.53Sdogcow
10091.53Sdogcow## ----------- ##
10101.53Sdogcow## Core tests. ##
10111.53Sdogcow## ----------- ##
10121.53Sdogcow
10131.53Sdogcow_ACEOF
10141.1Stv
10151.1Stv
10161.1Stv# Keep a trace of the command line.
10171.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
10181.53Sdogcow# Strip out --silent because we don't want to record it for future runs.
10191.1Stv# Also quote any args containing shell meta-characters.
10201.53Sdogcow# Make two passes to allow for proper duplicate-argument suppression.
10211.1Stvac_configure_args=
10221.53Sdogcowac_configure_args0=
10231.53Sdogcowac_configure_args1=
10241.1Stvac_sep=
10251.53Sdogcowac_must_keep_next=false
10261.53Sdogcowfor ac_pass in 1 2
10271.1Stvdo
10281.53Sdogcow  for ac_arg
10291.53Sdogcow  do
10301.53Sdogcow    case $ac_arg in
10311.53Sdogcow    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10321.53Sdogcow    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10331.53Sdogcow    | -silent | --silent | --silen | --sile | --sil)
10341.53Sdogcow      continue ;;
10351.53Sdogcow    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10361.53Sdogcow      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10371.53Sdogcow    esac
10381.53Sdogcow    case $ac_pass in
10391.53Sdogcow    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10401.53Sdogcow    2)
10411.53Sdogcow      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10421.53Sdogcow      if test $ac_must_keep_next = true; then
10431.53Sdogcow	ac_must_keep_next=false # Got value, back to normal.
10441.53Sdogcow      else
10451.53Sdogcow	case $ac_arg in
10461.53Sdogcow	  *=* | --config-cache | -C | -disable-* | --disable-* \
10471.53Sdogcow	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10481.53Sdogcow	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10491.53Sdogcow	  | -with-* | --with-* | -without-* | --without-* | --x)
10501.53Sdogcow	    case "$ac_configure_args0 " in
10511.53Sdogcow	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10521.53Sdogcow	    esac
10531.53Sdogcow	    ;;
10541.53Sdogcow	  -* ) ac_must_keep_next=true ;;
10551.53Sdogcow	esac
10561.53Sdogcow      fi
10571.53Sdogcow      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10581.53Sdogcow      # Get rid of the leading space.
10591.53Sdogcow      ac_sep=" "
10601.53Sdogcow      ;;
10611.53Sdogcow    esac
10621.53Sdogcow  done
10631.1Stvdone
10641.53Sdogcow$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10651.53Sdogcow$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10661.1Stv
10671.1Stv# When interrupted or exit'd, cleanup temporary files, and complete
10681.1Stv# config.log.  We remove comments because anyway the quotes in there
10691.1Stv# would cause problems or look ugly.
10701.53Sdogcow# WARNING: Be sure not to use single quotes in there, as some shells,
10711.53Sdogcow# such as our DU 5.0 friend, will then `close' the trap.
10721.1Stvtrap 'exit_status=$?
10731.1Stv  # Save into config.log some information that might help in debugging.
10741.53Sdogcow  {
10751.53Sdogcow    echo
10761.53Sdogcow
10771.53Sdogcow    cat <<\_ASBOX
10781.53Sdogcow## ---------------- ##
10791.53Sdogcow## Cache variables. ##
10801.53Sdogcow## ---------------- ##
10811.53Sdogcow_ASBOX
10821.53Sdogcow    echo
10831.53Sdogcow    # The following way of writing the cache mishandles newlines in values,
10841.1Stv{
10851.1Stv  (set) 2>&1 |
10861.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
10871.1Stv    *ac_space=\ *)
10881.1Stv      sed -n \
10891.53Sdogcow	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
10901.53Sdogcow	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
10911.1Stv      ;;
10921.1Stv    *)
10931.1Stv      sed -n \
10941.53Sdogcow	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10951.1Stv      ;;
10961.1Stv    esac;
10971.53Sdogcow}
10981.53Sdogcow    echo
10991.53Sdogcow
11001.53Sdogcow    cat <<\_ASBOX
11011.53Sdogcow## ----------------- ##
11021.53Sdogcow## Output variables. ##
11031.53Sdogcow## ----------------- ##
11041.53Sdogcow_ASBOX
11051.53Sdogcow    echo
11061.53Sdogcow    for ac_var in $ac_subst_vars
11071.53Sdogcow    do
11081.53Sdogcow      eval ac_val=$`echo $ac_var`
11091.53Sdogcow      echo "$ac_var='"'"'$ac_val'"'"'"
11101.53Sdogcow    done | sort
11111.53Sdogcow    echo
11121.53Sdogcow
11131.53Sdogcow    if test -n "$ac_subst_files"; then
11141.53Sdogcow      cat <<\_ASBOX
11151.53Sdogcow## ------------- ##
11161.53Sdogcow## Output files. ##
11171.53Sdogcow## ------------- ##
11181.53Sdogcow_ASBOX
11191.53Sdogcow      echo
11201.53Sdogcow      for ac_var in $ac_subst_files
11211.53Sdogcow      do
11221.53Sdogcow	eval ac_val=$`echo $ac_var`
11231.53Sdogcow	echo "$ac_var='"'"'$ac_val'"'"'"
11241.53Sdogcow      done | sort
11251.53Sdogcow      echo
11261.53Sdogcow    fi
11271.53Sdogcow
11281.53Sdogcow    if test -s confdefs.h; then
11291.53Sdogcow      cat <<\_ASBOX
11301.53Sdogcow## ----------- ##
11311.53Sdogcow## confdefs.h. ##
11321.53Sdogcow## ----------- ##
11331.53Sdogcow_ASBOX
11341.53Sdogcow      echo
11351.53Sdogcow      sed "/^$/d" confdefs.h | sort
11361.53Sdogcow      echo
11371.53Sdogcow    fi
11381.53Sdogcow    test "$ac_signal" != 0 &&
11391.53Sdogcow      echo "$as_me: caught signal $ac_signal"
11401.53Sdogcow    echo "$as_me: exit $exit_status"
11411.53Sdogcow  } >&5
11421.53Sdogcow  rm -f core *.core &&
11431.53Sdogcow  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11441.1Stv    exit $exit_status
11451.1Stv     ' 0
11461.1Stvfor ac_signal in 1 2 13 15; do
11471.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11481.1Stvdone
11491.1Stvac_signal=0
11501.1Stv
11511.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
11521.1Stvrm -rf conftest* confdefs.h
11531.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11541.1Stvecho >confdefs.h
11551.1Stv
11561.53Sdogcow# Predefined preprocessor variables.
11571.53Sdogcow
11581.53Sdogcowcat >>confdefs.h <<_ACEOF
11591.53Sdogcow#define PACKAGE_NAME "$PACKAGE_NAME"
11601.53Sdogcow_ACEOF
11611.53Sdogcow
11621.53Sdogcow
11631.53Sdogcowcat >>confdefs.h <<_ACEOF
11641.53Sdogcow#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11651.53Sdogcow_ACEOF
11661.53Sdogcow
11671.53Sdogcow
11681.53Sdogcowcat >>confdefs.h <<_ACEOF
11691.53Sdogcow#define PACKAGE_VERSION "$PACKAGE_VERSION"
11701.53Sdogcow_ACEOF
11711.53Sdogcow
11721.53Sdogcow
11731.53Sdogcowcat >>confdefs.h <<_ACEOF
11741.53Sdogcow#define PACKAGE_STRING "$PACKAGE_STRING"
11751.53Sdogcow_ACEOF
11761.53Sdogcow
11771.53Sdogcow
11781.53Sdogcowcat >>confdefs.h <<_ACEOF
11791.53Sdogcow#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11801.53Sdogcow_ACEOF
11811.53Sdogcow
11821.53Sdogcow
11831.1Stv# Let the site file select an alternate cache file if it wants to.
11841.1Stv# Prefer explicitly selected file to automatically selected ones.
11851.1Stvif test -z "$CONFIG_SITE"; then
11861.1Stv  if test "x$prefix" != xNONE; then
11871.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11881.1Stv  else
11891.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11901.1Stv  fi
11911.1Stvfi
11921.1Stvfor ac_site_file in $CONFIG_SITE; do
11931.1Stv  if test -r "$ac_site_file"; then
11941.53Sdogcow    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11951.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
11961.53Sdogcow    sed 's/^/| /' "$ac_site_file" >&5
11971.1Stv    . "$ac_site_file"
11981.1Stv  fi
11991.1Stvdone
12001.1Stv
12011.1Stvif test -r "$cache_file"; then
12021.1Stv  # Some versions of bash will fail to source /dev/null (special
12031.1Stv  # files actually), so we avoid doing that.
12041.1Stv  if test -f "$cache_file"; then
12051.53Sdogcow    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12061.1Stvecho "$as_me: loading cache $cache_file" >&6;}
12071.1Stv    case $cache_file in
12081.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
12091.1Stv      *)                      . ./$cache_file;;
12101.1Stv    esac
12111.1Stv  fi
12121.1Stvelse
12131.53Sdogcow  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
12141.1Stvecho "$as_me: creating cache $cache_file" >&6;}
12151.1Stv  >$cache_file
12161.1Stvfi
12171.1Stv
12181.1Stv# Check that the precious variables saved in the cache have kept the same
12191.1Stv# value.
12201.1Stvac_cache_corrupted=false
12211.1Stvfor ac_var in `(set) 2>&1 |
12221.53Sdogcow	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
12231.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
12241.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
12251.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
12261.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
12271.1Stv  case $ac_old_set,$ac_new_set in
12281.1Stv    set,)
12291.53Sdogcow      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12301.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12311.1Stv      ac_cache_corrupted=: ;;
12321.1Stv    ,set)
12331.53Sdogcow      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12341.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12351.1Stv      ac_cache_corrupted=: ;;
12361.1Stv    ,);;
12371.1Stv    *)
12381.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
12391.53Sdogcow	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12401.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12411.53Sdogcow	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
12421.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
12431.53Sdogcow	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
12441.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
12451.53Sdogcow	ac_cache_corrupted=:
12461.1Stv      fi;;
12471.1Stv  esac
12481.53Sdogcow  # Pass precious variables to config.status.
12491.1Stv  if test "$ac_new_set" = set; then
12501.1Stv    case $ac_new_val in
12511.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
12521.53Sdogcow      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12531.53Sdogcow    *) ac_arg=$ac_var=$ac_new_val ;;
12541.53Sdogcow    esac
12551.53Sdogcow    case " $ac_configure_args " in
12561.53Sdogcow      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
12571.53Sdogcow      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
12581.1Stv    esac
12591.1Stv  fi
12601.1Stvdone
12611.1Stvif $ac_cache_corrupted; then
12621.53Sdogcow  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12631.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
12641.53Sdogcow  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12651.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12661.1Stv   { (exit 1); exit 1; }; }
12671.1Stvfi
12681.1Stv
12691.1Stvac_ext=c
12701.1Stvac_cpp='$CPP $CPPFLAGS'
12711.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12721.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12731.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
12741.1Stv
12751.1Stv
12761.1Stv
12771.53Sdogcow
12781.53Sdogcow
12791.53Sdogcow
12801.53Sdogcow
12811.53Sdogcow
12821.53Sdogcow
12831.53Sdogcow
12841.53Sdogcow
12851.53Sdogcow
12861.53Sdogcow
12871.53Sdogcow
12881.53Sdogcow
12891.53Sdogcow
12901.53Sdogcow
12911.53Sdogcow
12921.53Sdogcow
12931.53Sdogcow
12941.53Sdogcow
12951.53Sdogcow
12961.53Sdogcow
12971.53Sdogcow
12981.53Sdogcow
12991.53Sdogcow
13001.53Sdogcow
13011.53Sdogcow          ac_config_headers="$ac_config_headers nbtool_config.h"
13021.53Sdogcow
13031.53Sdogcow          ac_config_files="$ac_config_files defs.mk"
13041.53Sdogcow
13051.1Stv
13061.45Sjmc# AC_NETBSD
13071.20Sbjh21
13081.1Stvac_ext=c
13091.1Stvac_cpp='$CPP $CPPFLAGS'
13101.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
13131.1Stvif test -n "$ac_tool_prefix"; then
13141.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13151.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
13161.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
13171.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13181.1Stvif test "${ac_cv_prog_CC+set}" = set; then
13191.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
13201.1Stvelse
13211.1Stv  if test -n "$CC"; then
13221.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
13231.1Stvelse
13241.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251.53Sdogcowfor as_dir in $PATH
13261.53Sdogcowdo
13271.53Sdogcow  IFS=$as_save_IFS
13281.53Sdogcow  test -z "$as_dir" && as_dir=.
13291.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
13301.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13311.53Sdogcow    ac_cv_prog_CC="${ac_tool_prefix}gcc"
13321.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13331.53Sdogcow    break 2
13341.53Sdogcow  fi
13351.53Sdogcowdone
13361.1Stvdone
13371.1Stv
13381.1Stvfi
13391.1Stvfi
13401.1StvCC=$ac_cv_prog_CC
13411.1Stvif test -n "$CC"; then
13421.53Sdogcow  echo "$as_me:$LINENO: result: $CC" >&5
13431.1Stvecho "${ECHO_T}$CC" >&6
13441.1Stvelse
13451.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
13461.1Stvecho "${ECHO_T}no" >&6
13471.1Stvfi
13481.1Stv
13491.1Stvfi
13501.1Stvif test -z "$ac_cv_prog_CC"; then
13511.1Stv  ac_ct_CC=$CC
13521.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
13531.1Stvset dummy gcc; ac_word=$2
13541.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
13551.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13561.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13571.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
13581.1Stvelse
13591.1Stv  if test -n "$ac_ct_CC"; then
13601.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13611.1Stvelse
13621.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13631.53Sdogcowfor as_dir in $PATH
13641.53Sdogcowdo
13651.53Sdogcow  IFS=$as_save_IFS
13661.53Sdogcow  test -z "$as_dir" && as_dir=.
13671.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
13681.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13691.53Sdogcow    ac_cv_prog_ac_ct_CC="gcc"
13701.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13711.53Sdogcow    break 2
13721.53Sdogcow  fi
13731.53Sdogcowdone
13741.1Stvdone
13751.1Stv
13761.1Stvfi
13771.1Stvfi
13781.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
13791.1Stvif test -n "$ac_ct_CC"; then
13801.53Sdogcow  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13811.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
13821.1Stvelse
13831.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
13841.1Stvecho "${ECHO_T}no" >&6
13851.1Stvfi
13861.1Stv
13871.1Stv  CC=$ac_ct_CC
13881.1Stvelse
13891.1Stv  CC="$ac_cv_prog_CC"
13901.1Stvfi
13911.1Stv
13921.1Stvif test -z "$CC"; then
13931.1Stv  if test -n "$ac_tool_prefix"; then
13941.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13951.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
13961.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
13971.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13981.1Stvif test "${ac_cv_prog_CC+set}" = set; then
13991.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14001.1Stvelse
14011.1Stv  if test -n "$CC"; then
14021.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
14031.1Stvelse
14041.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14051.53Sdogcowfor as_dir in $PATH
14061.53Sdogcowdo
14071.53Sdogcow  IFS=$as_save_IFS
14081.53Sdogcow  test -z "$as_dir" && as_dir=.
14091.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
14101.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14111.53Sdogcow    ac_cv_prog_CC="${ac_tool_prefix}cc"
14121.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14131.53Sdogcow    break 2
14141.53Sdogcow  fi
14151.53Sdogcowdone
14161.1Stvdone
14171.1Stv
14181.1Stvfi
14191.1Stvfi
14201.1StvCC=$ac_cv_prog_CC
14211.1Stvif test -n "$CC"; then
14221.53Sdogcow  echo "$as_me:$LINENO: result: $CC" >&5
14231.1Stvecho "${ECHO_T}$CC" >&6
14241.1Stvelse
14251.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
14261.1Stvecho "${ECHO_T}no" >&6
14271.1Stvfi
14281.1Stv
14291.1Stvfi
14301.1Stvif test -z "$ac_cv_prog_CC"; then
14311.1Stv  ac_ct_CC=$CC
14321.1Stv  # Extract the first word of "cc", so it can be a program name with args.
14331.1Stvset dummy cc; ac_word=$2
14341.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
14351.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14361.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14371.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14381.1Stvelse
14391.1Stv  if test -n "$ac_ct_CC"; then
14401.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14411.1Stvelse
14421.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14431.53Sdogcowfor as_dir in $PATH
14441.53Sdogcowdo
14451.53Sdogcow  IFS=$as_save_IFS
14461.53Sdogcow  test -z "$as_dir" && as_dir=.
14471.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
14481.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14491.53Sdogcow    ac_cv_prog_ac_ct_CC="cc"
14501.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14511.53Sdogcow    break 2
14521.53Sdogcow  fi
14531.53Sdogcowdone
14541.1Stvdone
14551.1Stv
14561.1Stvfi
14571.1Stvfi
14581.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
14591.1Stvif test -n "$ac_ct_CC"; then
14601.53Sdogcow  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14611.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
14621.1Stvelse
14631.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
14641.1Stvecho "${ECHO_T}no" >&6
14651.1Stvfi
14661.1Stv
14671.1Stv  CC=$ac_ct_CC
14681.1Stvelse
14691.1Stv  CC="$ac_cv_prog_CC"
14701.1Stvfi
14711.1Stv
14721.1Stvfi
14731.1Stvif test -z "$CC"; then
14741.1Stv  # Extract the first word of "cc", so it can be a program name with args.
14751.1Stvset dummy cc; ac_word=$2
14761.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
14771.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14781.1Stvif test "${ac_cv_prog_CC+set}" = set; then
14791.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14801.1Stvelse
14811.1Stv  if test -n "$CC"; then
14821.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
14831.1Stvelse
14841.1Stv  ac_prog_rejected=no
14851.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14861.53Sdogcowfor as_dir in $PATH
14871.53Sdogcowdo
14881.53Sdogcow  IFS=$as_save_IFS
14891.53Sdogcow  test -z "$as_dir" && as_dir=.
14901.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
14911.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14921.53Sdogcow    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14931.53Sdogcow       ac_prog_rejected=yes
14941.53Sdogcow       continue
14951.53Sdogcow     fi
14961.53Sdogcow    ac_cv_prog_CC="cc"
14971.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14981.53Sdogcow    break 2
14991.53Sdogcow  fi
15001.53Sdogcowdone
15011.1Stvdone
15021.1Stv
15031.1Stvif test $ac_prog_rejected = yes; then
15041.1Stv  # We found a bogon in the path, so make sure we never use it.
15051.1Stv  set dummy $ac_cv_prog_CC
15061.1Stv  shift
15071.1Stv  if test $# != 0; then
15081.1Stv    # We chose a different compiler from the bogus one.
15091.1Stv    # However, it has the same basename, so the bogon will be chosen
15101.1Stv    # first if we set CC to just the basename; use the full file name.
15111.1Stv    shift
15121.53Sdogcow    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15131.1Stv  fi
15141.1Stvfi
15151.1Stvfi
15161.1Stvfi
15171.1StvCC=$ac_cv_prog_CC
15181.1Stvif test -n "$CC"; then
15191.53Sdogcow  echo "$as_me:$LINENO: result: $CC" >&5
15201.1Stvecho "${ECHO_T}$CC" >&6
15211.1Stvelse
15221.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
15231.1Stvecho "${ECHO_T}no" >&6
15241.1Stvfi
15251.1Stv
15261.1Stvfi
15271.1Stvif test -z "$CC"; then
15281.1Stv  if test -n "$ac_tool_prefix"; then
15291.1Stv  for ac_prog in cl
15301.1Stv  do
15311.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15321.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
15331.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
15341.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15351.1Stvif test "${ac_cv_prog_CC+set}" = set; then
15361.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15371.1Stvelse
15381.1Stv  if test -n "$CC"; then
15391.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
15401.1Stvelse
15411.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15421.53Sdogcowfor as_dir in $PATH
15431.53Sdogcowdo
15441.53Sdogcow  IFS=$as_save_IFS
15451.53Sdogcow  test -z "$as_dir" && as_dir=.
15461.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
15471.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15481.53Sdogcow    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15491.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15501.53Sdogcow    break 2
15511.53Sdogcow  fi
15521.53Sdogcowdone
15531.1Stvdone
15541.1Stv
15551.1Stvfi
15561.1Stvfi
15571.1StvCC=$ac_cv_prog_CC
15581.1Stvif test -n "$CC"; then
15591.53Sdogcow  echo "$as_me:$LINENO: result: $CC" >&5
15601.1Stvecho "${ECHO_T}$CC" >&6
15611.1Stvelse
15621.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
15631.1Stvecho "${ECHO_T}no" >&6
15641.1Stvfi
15651.1Stv
15661.1Stv    test -n "$CC" && break
15671.1Stv  done
15681.1Stvfi
15691.1Stvif test -z "$CC"; then
15701.1Stv  ac_ct_CC=$CC
15711.1Stv  for ac_prog in cl
15721.1Stvdo
15731.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
15741.1Stvset dummy $ac_prog; ac_word=$2
15751.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
15761.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15771.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15781.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15791.1Stvelse
15801.1Stv  if test -n "$ac_ct_CC"; then
15811.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15821.1Stvelse
15831.53Sdogcowas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15841.53Sdogcowfor as_dir in $PATH
15851.53Sdogcowdo
15861.53Sdogcow  IFS=$as_save_IFS
15871.53Sdogcow  test -z "$as_dir" && as_dir=.
15881.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
15891.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15901.53Sdogcow    ac_cv_prog_ac_ct_CC="$ac_prog"
15911.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15921.53Sdogcow    break 2
15931.53Sdogcow  fi
15941.53Sdogcowdone
15951.1Stvdone
15961.1Stv
15971.1Stvfi
15981.1Stvfi
15991.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
16001.1Stvif test -n "$ac_ct_CC"; then
16011.53Sdogcow  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16021.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
16031.1Stvelse
16041.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
16051.1Stvecho "${ECHO_T}no" >&6
16061.1Stvfi
16071.1Stv
16081.1Stv  test -n "$ac_ct_CC" && break
16091.1Stvdone
16101.1Stv
16111.1Stv  CC=$ac_ct_CC
16121.1Stvfi
16131.1Stv
16141.1Stvfi
16151.1Stv
16161.53Sdogcow
16171.53Sdogcowtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16181.53SdogcowSee \`config.log' for more details." >&5
16191.53Sdogcowecho "$as_me: error: no acceptable C compiler found in \$PATH
16201.53SdogcowSee \`config.log' for more details." >&2;}
16211.1Stv   { (exit 1); exit 1; }; }
16221.1Stv
16231.1Stv# Provide some information about the compiler.
16241.53Sdogcowecho "$as_me:$LINENO:" \
16251.1Stv     "checking for C compiler version" >&5
16261.1Stvac_compiler=`set X $ac_compile; echo $2`
16271.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16281.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
16291.1Stv  ac_status=$?
16301.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311.1Stv  (exit $ac_status); }
16321.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16331.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
16341.1Stv  ac_status=$?
16351.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361.1Stv  (exit $ac_status); }
16371.53Sdogcow{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16381.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
16391.1Stv  ac_status=$?
16401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411.1Stv  (exit $ac_status); }
16421.1Stv
16431.1Stvcat >conftest.$ac_ext <<_ACEOF
16441.53Sdogcow/* confdefs.h.  */
16451.53Sdogcow_ACEOF
16461.53Sdogcowcat confdefs.h >>conftest.$ac_ext
16471.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
16481.53Sdogcow/* end confdefs.h.  */
16491.1Stv
16501.1Stvint
16511.1Stvmain ()
16521.1Stv{
16531.1Stv
16541.1Stv  ;
16551.1Stv  return 0;
16561.1Stv}
16571.1Stv_ACEOF
16581.1Stvac_clean_files_save=$ac_clean_files
16591.53Sdogcowac_clean_files="$ac_clean_files a.out a.exe b.out"
16601.1Stv# Try to create an executable without -o first, disregard a.out.
16611.1Stv# It will help us diagnose broken compilers, and finding out an intuition
16621.1Stv# of exeext.
16631.53Sdogcowecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
16641.53Sdogcowecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
16651.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16661.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
16671.1Stv  (eval $ac_link_default) 2>&5
16681.1Stv  ac_status=$?
16691.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701.1Stv  (exit $ac_status); }; then
16711.1Stv  # Find the output, starting from the most likely.  This scheme is
16721.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
16731.1Stv# resort.
16741.53Sdogcow
16751.53Sdogcow# Be careful to initialize this variable, since it used to be cached.
16761.53Sdogcow# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
16771.53Sdogcowac_cv_exeext=
16781.53Sdogcow# b.out is created by i960 compilers.
16791.53Sdogcowfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
16801.53Sdogcowdo
16811.53Sdogcow  test -f "$ac_file" || continue
16821.1Stv  case $ac_file in
16831.53Sdogcow    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
16841.53Sdogcow	;;
16851.53Sdogcow    conftest.$ac_ext )
16861.53Sdogcow	# This is the source file.
16871.53Sdogcow	;;
16881.53Sdogcow    [ab].out )
16891.53Sdogcow	# We found the default executable, but exeext='' is most
16901.53Sdogcow	# certainly right.
16911.53Sdogcow	break;;
16921.53Sdogcow    *.* )
16931.53Sdogcow	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16941.53Sdogcow	# FIXME: I believe we export ac_cv_exeext for Libtool,
16951.53Sdogcow	# but it would be cool to find out if it's true.  Does anybody
16961.53Sdogcow	# maintain Libtool? --akim.
16971.53Sdogcow	export ac_cv_exeext
16981.53Sdogcow	break;;
16991.53Sdogcow    * )
17001.53Sdogcow	break;;
17011.1Stv  esac
17021.1Stvdone
17031.1Stvelse
17041.1Stv  echo "$as_me: failed program was:" >&5
17051.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
17061.53Sdogcow
17071.53Sdogcow{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
17081.53SdogcowSee \`config.log' for more details." >&5
17091.53Sdogcowecho "$as_me: error: C compiler cannot create executables
17101.53SdogcowSee \`config.log' for more details." >&2;}
17111.1Stv   { (exit 77); exit 77; }; }
17121.1Stvfi
17131.1Stv
17141.1Stvac_exeext=$ac_cv_exeext
17151.53Sdogcowecho "$as_me:$LINENO: result: $ac_file" >&5
17161.1Stvecho "${ECHO_T}$ac_file" >&6
17171.1Stv
17181.1Stv# Check the compiler produces executables we can run.  If not, either
17191.1Stv# the compiler is broken, or we cross compile.
17201.53Sdogcowecho "$as_me:$LINENO: checking whether the C compiler works" >&5
17211.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
17221.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17231.1Stv# If not cross compiling, check that we can run a simple program.
17241.1Stvif test "$cross_compiling" != yes; then
17251.1Stv  if { ac_try='./$ac_file'
17261.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271.1Stv  (eval $ac_try) 2>&5
17281.1Stv  ac_status=$?
17291.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301.1Stv  (exit $ac_status); }; }; then
17311.1Stv    cross_compiling=no
17321.1Stv  else
17331.1Stv    if test "$cross_compiling" = maybe; then
17341.1Stv	cross_compiling=yes
17351.1Stv    else
17361.53Sdogcow	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17371.53SdogcowIf you meant to cross compile, use \`--host'.
17381.53SdogcowSee \`config.log' for more details." >&5
17391.1Stvecho "$as_me: error: cannot run C compiled programs.
17401.53SdogcowIf you meant to cross compile, use \`--host'.
17411.53SdogcowSee \`config.log' for more details." >&2;}
17421.1Stv   { (exit 1); exit 1; }; }
17431.1Stv    fi
17441.1Stv  fi
17451.1Stvfi
17461.53Sdogcowecho "$as_me:$LINENO: result: yes" >&5
17471.1Stvecho "${ECHO_T}yes" >&6
17481.1Stv
17491.53Sdogcowrm -f a.out a.exe conftest$ac_cv_exeext b.out
17501.1Stvac_clean_files=$ac_clean_files_save
17511.1Stv# Check the compiler produces executables we can run.  If not, either
17521.1Stv# the compiler is broken, or we cross compile.
17531.53Sdogcowecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
17541.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
17551.53Sdogcowecho "$as_me:$LINENO: result: $cross_compiling" >&5
17561.1Stvecho "${ECHO_T}$cross_compiling" >&6
17571.1Stv
17581.53Sdogcowecho "$as_me:$LINENO: checking for suffix of executables" >&5
17591.53Sdogcowecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
17601.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17611.1Stv  (eval $ac_link) 2>&5
17621.1Stv  ac_status=$?
17631.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641.1Stv  (exit $ac_status); }; then
17651.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
17661.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
17671.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
17681.1Stv# `rm'.
17691.53Sdogcowfor ac_file in conftest.exe conftest conftest.*; do
17701.53Sdogcow  test -f "$ac_file" || continue
17711.1Stv  case $ac_file in
17721.53Sdogcow    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
17731.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17741.53Sdogcow	  export ac_cv_exeext
17751.53Sdogcow	  break;;
17761.1Stv    * ) break;;
17771.1Stv  esac
17781.1Stvdone
17791.1Stvelse
17801.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17811.53SdogcowSee \`config.log' for more details." >&5
17821.53Sdogcowecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
17831.53SdogcowSee \`config.log' for more details." >&2;}
17841.1Stv   { (exit 1); exit 1; }; }
17851.1Stvfi
17861.1Stv
17871.1Stvrm -f conftest$ac_cv_exeext
17881.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17891.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
17901.1Stv
17911.1Stvrm -f conftest.$ac_ext
17921.1StvEXEEXT=$ac_cv_exeext
17931.1Stvac_exeext=$EXEEXT
17941.53Sdogcowecho "$as_me:$LINENO: checking for suffix of object files" >&5
17951.53Sdogcowecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
17961.1Stvif test "${ac_cv_objext+set}" = set; then
17971.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
17981.1Stvelse
17991.1Stv  cat >conftest.$ac_ext <<_ACEOF
18001.53Sdogcow/* confdefs.h.  */
18011.53Sdogcow_ACEOF
18021.53Sdogcowcat confdefs.h >>conftest.$ac_ext
18031.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
18041.53Sdogcow/* end confdefs.h.  */
18051.1Stv
18061.1Stvint
18071.1Stvmain ()
18081.1Stv{
18091.1Stv
18101.1Stv  ;
18111.1Stv  return 0;
18121.1Stv}
18131.1Stv_ACEOF
18141.1Stvrm -f conftest.o conftest.obj
18151.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161.1Stv  (eval $ac_compile) 2>&5
18171.1Stv  ac_status=$?
18181.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191.1Stv  (exit $ac_status); }; then
18201.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
18211.1Stv  case $ac_file in
18221.53Sdogcow    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
18231.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
18241.1Stv       break;;
18251.1Stv  esac
18261.1Stvdone
18271.1Stvelse
18281.1Stv  echo "$as_me: failed program was:" >&5
18291.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
18301.53Sdogcow
18311.53Sdogcow{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
18321.53SdogcowSee \`config.log' for more details." >&5
18331.53Sdogcowecho "$as_me: error: cannot compute suffix of object files: cannot compile
18341.53SdogcowSee \`config.log' for more details." >&2;}
18351.1Stv   { (exit 1); exit 1; }; }
18361.1Stvfi
18371.1Stv
18381.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
18391.1Stvfi
18401.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
18411.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
18421.1StvOBJEXT=$ac_cv_objext
18431.1Stvac_objext=$OBJEXT
18441.53Sdogcowecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18451.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
18461.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
18471.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18481.1Stvelse
18491.1Stv  cat >conftest.$ac_ext <<_ACEOF
18501.53Sdogcow/* confdefs.h.  */
18511.53Sdogcow_ACEOF
18521.53Sdogcowcat confdefs.h >>conftest.$ac_ext
18531.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
18541.53Sdogcow/* end confdefs.h.  */
18551.1Stv
18561.1Stvint
18571.1Stvmain ()
18581.1Stv{
18591.1Stv#ifndef __GNUC__
18601.1Stv       choke me
18611.1Stv#endif
18621.1Stv
18631.1Stv  ;
18641.1Stv  return 0;
18651.1Stv}
18661.1Stv_ACEOF
18671.1Stvrm -f conftest.$ac_objext
18681.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691.53Sdogcow  (eval $ac_compile) 2>conftest.er1
18701.1Stv  ac_status=$?
18711.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
18721.53Sdogcow  rm -f conftest.er1
18731.53Sdogcow  cat conftest.err >&5
18741.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751.1Stv  (exit $ac_status); } &&
18761.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
18771.53Sdogcow			 || test ! -s conftest.err'
18781.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791.53Sdogcow  (eval $ac_try) 2>&5
18801.53Sdogcow  ac_status=$?
18811.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821.53Sdogcow  (exit $ac_status); }; } &&
18831.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
18841.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851.1Stv  (eval $ac_try) 2>&5
18861.1Stv  ac_status=$?
18871.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881.1Stv  (exit $ac_status); }; }; then
18891.1Stv  ac_compiler_gnu=yes
18901.1Stvelse
18911.1Stv  echo "$as_me: failed program was:" >&5
18921.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
18931.53Sdogcow
18941.1Stvac_compiler_gnu=no
18951.1Stvfi
18961.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18971.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
18981.1Stv
18991.1Stvfi
19001.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19011.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
19021.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
19031.1Stvac_test_CFLAGS=${CFLAGS+set}
19041.1Stvac_save_CFLAGS=$CFLAGS
19051.1StvCFLAGS="-g"
19061.53Sdogcowecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19071.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
19081.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
19091.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
19101.1Stvelse
19111.1Stv  cat >conftest.$ac_ext <<_ACEOF
19121.53Sdogcow/* confdefs.h.  */
19131.53Sdogcow_ACEOF
19141.53Sdogcowcat confdefs.h >>conftest.$ac_ext
19151.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
19161.53Sdogcow/* end confdefs.h.  */
19171.1Stv
19181.1Stvint
19191.1Stvmain ()
19201.1Stv{
19211.1Stv
19221.1Stv  ;
19231.1Stv  return 0;
19241.1Stv}
19251.1Stv_ACEOF
19261.1Stvrm -f conftest.$ac_objext
19271.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19281.53Sdogcow  (eval $ac_compile) 2>conftest.er1
19291.1Stv  ac_status=$?
19301.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
19311.53Sdogcow  rm -f conftest.er1
19321.53Sdogcow  cat conftest.err >&5
19331.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341.52Sdbj  (exit $ac_status); } &&
19351.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
19361.53Sdogcow			 || test ! -s conftest.err'
19371.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381.53Sdogcow  (eval $ac_try) 2>&5
19391.53Sdogcow  ac_status=$?
19401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411.53Sdogcow  (exit $ac_status); }; } &&
19421.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
19431.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441.1Stv  (eval $ac_try) 2>&5
19451.1Stv  ac_status=$?
19461.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471.1Stv  (exit $ac_status); }; }; then
19481.1Stv  ac_cv_prog_cc_g=yes
19491.1Stvelse
19501.1Stv  echo "$as_me: failed program was:" >&5
19511.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
19521.53Sdogcow
19531.1Stvac_cv_prog_cc_g=no
19541.1Stvfi
19551.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19561.1Stvfi
19571.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19581.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
19591.1Stvif test "$ac_test_CFLAGS" = set; then
19601.1Stv  CFLAGS=$ac_save_CFLAGS
19611.1Stvelif test $ac_cv_prog_cc_g = yes; then
19621.1Stv  if test "$GCC" = yes; then
19631.1Stv    CFLAGS="-g -O2"
19641.1Stv  else
19651.1Stv    CFLAGS="-g"
19661.1Stv  fi
19671.1Stvelse
19681.1Stv  if test "$GCC" = yes; then
19691.1Stv    CFLAGS="-O2"
19701.1Stv  else
19711.1Stv    CFLAGS=
19721.1Stv  fi
19731.1Stvfi
19741.53Sdogcowecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19751.53Sdogcowecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19761.53Sdogcowif test "${ac_cv_prog_cc_stdc+set}" = set; then
19771.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
19781.53Sdogcowelse
19791.53Sdogcow  ac_cv_prog_cc_stdc=no
19801.53Sdogcowac_save_CC=$CC
19811.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
19821.53Sdogcow/* confdefs.h.  */
19831.53Sdogcow_ACEOF
19841.53Sdogcowcat confdefs.h >>conftest.$ac_ext
19851.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
19861.53Sdogcow/* end confdefs.h.  */
19871.53Sdogcow#include <stdarg.h>
19881.53Sdogcow#include <stdio.h>
19891.53Sdogcow#include <sys/types.h>
19901.53Sdogcow#include <sys/stat.h>
19911.53Sdogcow/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19921.53Sdogcowstruct buf { int x; };
19931.53SdogcowFILE * (*rcsopen) (struct buf *, struct stat *, int);
19941.53Sdogcowstatic char *e (p, i)
19951.53Sdogcow     char **p;
19961.53Sdogcow     int i;
19971.53Sdogcow{
19981.53Sdogcow  return p[i];
19991.53Sdogcow}
20001.53Sdogcowstatic char *f (char * (*g) (char **, int), char **p, ...)
20011.53Sdogcow{
20021.53Sdogcow  char *s;
20031.53Sdogcow  va_list v;
20041.53Sdogcow  va_start (v,p);
20051.53Sdogcow  s = g (p, va_arg (v,int));
20061.53Sdogcow  va_end (v);
20071.53Sdogcow  return s;
20081.53Sdogcow}
20091.53Sdogcow
20101.53Sdogcow/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
20111.53Sdogcow   function prototypes and stuff, but not '\xHH' hex character constants.
20121.53Sdogcow   These don't provoke an error unfortunately, instead are silently treated
20131.53Sdogcow   as 'x'.  The following induces an error, until -std1 is added to get
20141.53Sdogcow   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
20151.53Sdogcow   array size at least.  It's necessary to write '\x00'==0 to get something
20161.53Sdogcow   that's true only with -std1.  */
20171.53Sdogcowint osf4_cc_array ['\x00' == 0 ? 1 : -1];
20181.53Sdogcow
20191.53Sdogcowint test (int i, double x);
20201.53Sdogcowstruct s1 {int (*f) (int a);};
20211.53Sdogcowstruct s2 {int (*f) (double a);};
20221.53Sdogcowint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20231.53Sdogcowint argc;
20241.53Sdogcowchar **argv;
20251.53Sdogcowint
20261.53Sdogcowmain ()
20271.53Sdogcow{
20281.53Sdogcowreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
20291.53Sdogcow  ;
20301.53Sdogcow  return 0;
20311.53Sdogcow}
20321.53Sdogcow_ACEOF
20331.53Sdogcow# Don't try gcc -ansi; that turns off useful extensions and
20341.53Sdogcow# breaks some systems' header files.
20351.53Sdogcow# AIX			-qlanglvl=ansi
20361.53Sdogcow# Ultrix and OSF/1	-std1
20371.53Sdogcow# HP-UX 10.20 and later	-Ae
20381.53Sdogcow# HP-UX older versions	-Aa -D_HPUX_SOURCE
20391.53Sdogcow# SVR4			-Xc -D__EXTENSIONS__
20401.53Sdogcowfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20411.53Sdogcowdo
20421.53Sdogcow  CC="$ac_save_CC $ac_arg"
20431.53Sdogcow  rm -f conftest.$ac_objext
20441.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20451.53Sdogcow  (eval $ac_compile) 2>conftest.er1
20461.53Sdogcow  ac_status=$?
20471.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
20481.53Sdogcow  rm -f conftest.er1
20491.53Sdogcow  cat conftest.err >&5
20501.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511.53Sdogcow  (exit $ac_status); } &&
20521.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
20531.53Sdogcow			 || test ! -s conftest.err'
20541.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551.53Sdogcow  (eval $ac_try) 2>&5
20561.53Sdogcow  ac_status=$?
20571.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581.53Sdogcow  (exit $ac_status); }; } &&
20591.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
20601.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611.53Sdogcow  (eval $ac_try) 2>&5
20621.53Sdogcow  ac_status=$?
20631.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641.53Sdogcow  (exit $ac_status); }; }; then
20651.53Sdogcow  ac_cv_prog_cc_stdc=$ac_arg
20661.53Sdogcowbreak
20671.53Sdogcowelse
20681.53Sdogcow  echo "$as_me: failed program was:" >&5
20691.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
20701.53Sdogcow
20711.53Sdogcowfi
20721.53Sdogcowrm -f conftest.err conftest.$ac_objext
20731.53Sdogcowdone
20741.53Sdogcowrm -f conftest.$ac_ext conftest.$ac_objext
20751.53SdogcowCC=$ac_save_CC
20761.53Sdogcow
20771.53Sdogcowfi
20781.53Sdogcow
20791.53Sdogcowcase "x$ac_cv_prog_cc_stdc" in
20801.53Sdogcow  x|xno)
20811.53Sdogcow    echo "$as_me:$LINENO: result: none needed" >&5
20821.53Sdogcowecho "${ECHO_T}none needed" >&6 ;;
20831.53Sdogcow  *)
20841.53Sdogcow    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
20851.53Sdogcowecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
20861.53Sdogcow    CC="$CC $ac_cv_prog_cc_stdc" ;;
20871.53Sdogcowesac
20881.53Sdogcow
20891.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
20901.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
20911.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
20921.1Stv# the declaration of exit, since it's the most demanding environment.
20931.1Stvcat >conftest.$ac_ext <<_ACEOF
20941.1Stv#ifndef __cplusplus
20951.1Stv  choke me
20961.1Stv#endif
20971.1Stv_ACEOF
20981.1Stvrm -f conftest.$ac_objext
20991.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001.53Sdogcow  (eval $ac_compile) 2>conftest.er1
21011.1Stv  ac_status=$?
21021.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
21031.53Sdogcow  rm -f conftest.er1
21041.53Sdogcow  cat conftest.err >&5
21051.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061.1Stv  (exit $ac_status); } &&
21071.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
21081.53Sdogcow			 || test ! -s conftest.err'
21091.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101.53Sdogcow  (eval $ac_try) 2>&5
21111.53Sdogcow  ac_status=$?
21121.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131.53Sdogcow  (exit $ac_status); }; } &&
21141.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
21151.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161.50Sjmc  (eval $ac_try) 2>&5
21171.50Sjmc  ac_status=$?
21181.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191.1Stv  (exit $ac_status); }; }; then
21201.1Stv  for ac_declaration in \
21211.53Sdogcow   '' \
21221.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
21231.1Stv   'extern "C" void std::exit (int); using std::exit;' \
21241.1Stv   'extern "C" void exit (int) throw ();' \
21251.1Stv   'extern "C" void exit (int);' \
21261.1Stv   'void exit (int);'
21271.1Stvdo
21281.1Stv  cat >conftest.$ac_ext <<_ACEOF
21291.53Sdogcow/* confdefs.h.  */
21301.53Sdogcow_ACEOF
21311.53Sdogcowcat confdefs.h >>conftest.$ac_ext
21321.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
21331.53Sdogcow/* end confdefs.h.  */
21341.53Sdogcow$ac_declaration
21351.52Sdbj#include <stdlib.h>
21361.1Stvint
21371.1Stvmain ()
21381.1Stv{
21391.1Stvexit (42);
21401.1Stv  ;
21411.1Stv  return 0;
21421.1Stv}
21431.1Stv_ACEOF
21441.1Stvrm -f conftest.$ac_objext
21451.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21461.53Sdogcow  (eval $ac_compile) 2>conftest.er1
21471.1Stv  ac_status=$?
21481.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
21491.53Sdogcow  rm -f conftest.er1
21501.53Sdogcow  cat conftest.err >&5
21511.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521.1Stv  (exit $ac_status); } &&
21531.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
21541.53Sdogcow			 || test ! -s conftest.err'
21551.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561.53Sdogcow  (eval $ac_try) 2>&5
21571.53Sdogcow  ac_status=$?
21581.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591.53Sdogcow  (exit $ac_status); }; } &&
21601.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
21611.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621.50Sjmc  (eval $ac_try) 2>&5
21631.50Sjmc  ac_status=$?
21641.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651.1Stv  (exit $ac_status); }; }; then
21661.1Stv  :
21671.1Stvelse
21681.1Stv  echo "$as_me: failed program was:" >&5
21691.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
21701.53Sdogcow
21711.1Stvcontinue
21721.1Stvfi
21731.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21741.1Stv  cat >conftest.$ac_ext <<_ACEOF
21751.53Sdogcow/* confdefs.h.  */
21761.53Sdogcow_ACEOF
21771.53Sdogcowcat confdefs.h >>conftest.$ac_ext
21781.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
21791.53Sdogcow/* end confdefs.h.  */
21801.1Stv$ac_declaration
21811.1Stvint
21821.1Stvmain ()
21831.1Stv{
21841.1Stvexit (42);
21851.1Stv  ;
21861.1Stv  return 0;
21871.1Stv}
21881.1Stv_ACEOF
21891.1Stvrm -f conftest.$ac_objext
21901.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21911.53Sdogcow  (eval $ac_compile) 2>conftest.er1
21921.1Stv  ac_status=$?
21931.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
21941.53Sdogcow  rm -f conftest.er1
21951.53Sdogcow  cat conftest.err >&5
21961.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971.1Stv  (exit $ac_status); } &&
21981.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
21991.53Sdogcow			 || test ! -s conftest.err'
22001.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011.53Sdogcow  (eval $ac_try) 2>&5
22021.53Sdogcow  ac_status=$?
22031.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041.53Sdogcow  (exit $ac_status); }; } &&
22051.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
22061.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071.1Stv  (eval $ac_try) 2>&5
22081.1Stv  ac_status=$?
22091.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101.1Stv  (exit $ac_status); }; }; then
22111.1Stv  break
22121.1Stvelse
22131.1Stv  echo "$as_me: failed program was:" >&5
22141.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
22151.53Sdogcow
22161.1Stvfi
22171.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22181.1Stvdone
22191.1Stvrm -f conftest*
22201.1Stvif test -n "$ac_declaration"; then
22211.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
22221.1Stv  echo $ac_declaration      >>confdefs.h
22231.1Stv  echo '#endif'             >>confdefs.h
22241.1Stvfi
22251.1Stv
22261.1Stvelse
22271.1Stv  echo "$as_me: failed program was:" >&5
22281.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
22291.53Sdogcow
22301.1Stvfi
22311.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22321.1Stvac_ext=c
22331.1Stvac_cpp='$CPP $CPPFLAGS'
22341.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
22371.1Stv
22381.53Sdogcow
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.53Sdogcowecho "$as_me:$LINENO: checking how to run the C preprocessor" >&5
22451.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
22461.1Stv# On Suns, sometimes $CPP names a directory.
22471.1Stvif test -n "$CPP" && test -d "$CPP"; then
22481.1Stv  CPP=
22491.1Stvfi
22501.1Stvif test -z "$CPP"; then
22511.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
22521.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22531.1Stvelse
22541.1Stv      # Double quotes because CPP needs to be expanded
22551.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
22561.1Stv    do
22571.1Stv      ac_preproc_ok=false
22581.1Stvfor ac_c_preproc_warn_flag in '' yes
22591.1Stvdo
22601.1Stv  # Use a header file that comes with gcc, so configuring glibc
22611.1Stv  # with a fresh cross-compiler works.
22621.53Sdogcow  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22631.53Sdogcow  # <limits.h> exists even on freestanding compilers.
22641.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
22651.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
22661.1Stv  cat >conftest.$ac_ext <<_ACEOF
22671.53Sdogcow/* confdefs.h.  */
22681.53Sdogcow_ACEOF
22691.53Sdogcowcat confdefs.h >>conftest.$ac_ext
22701.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
22711.53Sdogcow/* end confdefs.h.  */
22721.53Sdogcow#ifdef __STDC__
22731.53Sdogcow# include <limits.h>
22741.53Sdogcow#else
22751.53Sdogcow# include <assert.h>
22761.53Sdogcow#endif
22771.53Sdogcow		     Syntax error
22781.48Sjmc_ACEOF
22791.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22801.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22811.1Stv  ac_status=$?
22821.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
22831.1Stv  rm -f conftest.er1
22841.1Stv  cat conftest.err >&5
22851.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861.1Stv  (exit $ac_status); } >/dev/null; then
22871.1Stv  if test -s conftest.err; then
22881.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
22891.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22901.1Stv  else
22911.1Stv    ac_cpp_err=
22921.1Stv  fi
22931.1Stvelse
22941.1Stv  ac_cpp_err=yes
22951.1Stvfi
22961.1Stvif test -z "$ac_cpp_err"; then
22971.1Stv  :
22981.1Stvelse
22991.1Stv  echo "$as_me: failed program was:" >&5
23001.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
23011.53Sdogcow
23021.1Stv  # Broken: fails on valid input.
23031.1Stvcontinue
23041.1Stvfi
23051.1Stvrm -f conftest.err conftest.$ac_ext
23061.1Stv
23071.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
23081.1Stv  # can be detected and how.
23091.1Stv  cat >conftest.$ac_ext <<_ACEOF
23101.53Sdogcow/* confdefs.h.  */
23111.53Sdogcow_ACEOF
23121.53Sdogcowcat confdefs.h >>conftest.$ac_ext
23131.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
23141.53Sdogcow/* end confdefs.h.  */
23151.1Stv#include <ac_nonexistent.h>
23161.1Stv_ACEOF
23171.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23181.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23191.1Stv  ac_status=$?
23201.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
23211.1Stv  rm -f conftest.er1
23221.1Stv  cat conftest.err >&5
23231.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241.1Stv  (exit $ac_status); } >/dev/null; then
23251.1Stv  if test -s conftest.err; then
23261.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23271.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23281.1Stv  else
23291.1Stv    ac_cpp_err=
23301.1Stv  fi
23311.1Stvelse
23321.1Stv  ac_cpp_err=yes
23331.1Stvfi
23341.1Stvif test -z "$ac_cpp_err"; then
23351.1Stv  # Broken: success on invalid input.
23361.1Stvcontinue
23371.1Stvelse
23381.1Stv  echo "$as_me: failed program was:" >&5
23391.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
23401.53Sdogcow
23411.1Stv  # Passes both tests.
23421.1Stvac_preproc_ok=:
23431.1Stvbreak
23441.1Stvfi
23451.1Stvrm -f conftest.err conftest.$ac_ext
23461.1Stv
23471.1Stvdone
23481.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23491.1Stvrm -f conftest.err conftest.$ac_ext
23501.1Stvif $ac_preproc_ok; then
23511.1Stv  break
23521.1Stvfi
23531.1Stv
23541.1Stv    done
23551.1Stv    ac_cv_prog_CPP=$CPP
23561.1Stv
23571.1Stvfi
23581.1Stv  CPP=$ac_cv_prog_CPP
23591.1Stvelse
23601.1Stv  ac_cv_prog_CPP=$CPP
23611.1Stvfi
23621.53Sdogcowecho "$as_me:$LINENO: result: $CPP" >&5
23631.1Stvecho "${ECHO_T}$CPP" >&6
23641.1Stvac_preproc_ok=false
23651.1Stvfor ac_c_preproc_warn_flag in '' yes
23661.1Stvdo
23671.1Stv  # Use a header file that comes with gcc, so configuring glibc
23681.1Stv  # with a fresh cross-compiler works.
23691.53Sdogcow  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23701.53Sdogcow  # <limits.h> exists even on freestanding compilers.
23711.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
23721.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
23731.1Stv  cat >conftest.$ac_ext <<_ACEOF
23741.53Sdogcow/* confdefs.h.  */
23751.48Sjmc_ACEOF
23761.53Sdogcowcat confdefs.h >>conftest.$ac_ext
23771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
23781.53Sdogcow/* end confdefs.h.  */
23791.53Sdogcow#ifdef __STDC__
23801.53Sdogcow# include <limits.h>
23811.53Sdogcow#else
23821.53Sdogcow# include <assert.h>
23831.53Sdogcow#endif
23841.53Sdogcow		     Syntax error
23851.53Sdogcow_ACEOF
23861.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23871.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23881.1Stv  ac_status=$?
23891.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
23901.1Stv  rm -f conftest.er1
23911.1Stv  cat conftest.err >&5
23921.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931.1Stv  (exit $ac_status); } >/dev/null; then
23941.1Stv  if test -s conftest.err; then
23951.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23961.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23971.1Stv  else
23981.1Stv    ac_cpp_err=
23991.1Stv  fi
24001.1Stvelse
24011.1Stv  ac_cpp_err=yes
24021.1Stvfi
24031.1Stvif test -z "$ac_cpp_err"; then
24041.1Stv  :
24051.1Stvelse
24061.1Stv  echo "$as_me: failed program was:" >&5
24071.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
24081.53Sdogcow
24091.1Stv  # Broken: fails on valid input.
24101.1Stvcontinue
24111.1Stvfi
24121.1Stvrm -f conftest.err conftest.$ac_ext
24131.1Stv
24141.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
24151.1Stv  # can be detected and how.
24161.1Stv  cat >conftest.$ac_ext <<_ACEOF
24171.53Sdogcow/* confdefs.h.  */
24181.53Sdogcow_ACEOF
24191.53Sdogcowcat confdefs.h >>conftest.$ac_ext
24201.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
24211.53Sdogcow/* end confdefs.h.  */
24221.1Stv#include <ac_nonexistent.h>
24231.1Stv_ACEOF
24241.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24251.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24261.1Stv  ac_status=$?
24271.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
24281.1Stv  rm -f conftest.er1
24291.1Stv  cat conftest.err >&5
24301.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311.1Stv  (exit $ac_status); } >/dev/null; then
24321.1Stv  if test -s conftest.err; then
24331.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
24341.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24351.1Stv  else
24361.1Stv    ac_cpp_err=
24371.1Stv  fi
24381.1Stvelse
24391.45Sjmc  ac_cpp_err=yes
24401.45Sjmcfi
24411.45Sjmcif test -z "$ac_cpp_err"; then
24421.45Sjmc  # Broken: success on invalid input.
24431.45Sjmccontinue
24441.45Sjmcelse
24451.45Sjmc  echo "$as_me: failed program was:" >&5
24461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
24471.53Sdogcow
24481.45Sjmc  # Passes both tests.
24491.45Sjmcac_preproc_ok=:
24501.45Sjmcbreak
24511.45Sjmcfi
24521.45Sjmcrm -f conftest.err conftest.$ac_ext
24531.45Sjmc
24541.45Sjmcdone
24551.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
24561.45Sjmcrm -f conftest.err conftest.$ac_ext
24571.45Sjmcif $ac_preproc_ok; then
24581.45Sjmc  :
24591.45Sjmcelse
24601.53Sdogcow  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
24611.53SdogcowSee \`config.log' for more details." >&5
24621.53Sdogcowecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check
24631.53SdogcowSee \`config.log' for more details." >&2;}
24641.45Sjmc   { (exit 1); exit 1; }; }
24651.45Sjmcfi
24661.45Sjmc
24671.45Sjmcac_ext=c
24681.45Sjmcac_cpp='$CPP $CPPFLAGS'
24691.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu
24721.45Sjmc
24731.53Sdogcow
24741.53Sdogcowecho "$as_me:$LINENO: checking for egrep" >&5
24751.53Sdogcowecho $ECHO_N "checking for egrep... $ECHO_C" >&6
24761.53Sdogcowif test "${ac_cv_prog_egrep+set}" = set; then
24771.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
24781.53Sdogcowelse
24791.53Sdogcow  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
24801.53Sdogcow    then ac_cv_prog_egrep='grep -E'
24811.53Sdogcow    else ac_cv_prog_egrep='egrep'
24821.53Sdogcow    fi
24831.53Sdogcowfi
24841.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
24851.53Sdogcowecho "${ECHO_T}$ac_cv_prog_egrep" >&6
24861.53Sdogcow EGREP=$ac_cv_prog_egrep
24871.53Sdogcow
24881.53Sdogcow
24891.53Sdogcow            echo "$as_me:$LINENO: checking for NetBSD" >&5
24901.45Sjmcecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
24911.45Sjmc      cat >conftest.$ac_ext <<_ACEOF
24921.53Sdogcow/* confdefs.h.  */
24931.53Sdogcow_ACEOF
24941.53Sdogcowcat confdefs.h >>conftest.$ac_ext
24951.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
24961.53Sdogcow/* end confdefs.h.  */
24971.45Sjmc#ifdef __NetBSD__
24981.45Sjmc	yes
24991.45Sjmc	#endif
25001.45Sjmc
25011.45Sjmc_ACEOF
25021.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25031.53Sdogcow  $EGREP "yes" >/dev/null 2>&1; then
25041.53Sdogcow  echo "$as_me:$LINENO: result: yes" >&5
25051.45Sjmcecho "${ECHO_T}yes" >&6
25061.54Swiz
25071.54Swizcat >>confdefs.h <<\_ACEOF
25081.45Sjmc#define _POSIX_SOURCE 1
25091.53Sdogcow_ACEOF
25101.54Swiz
25111.54Swiz
25121.54Swizcat >>confdefs.h <<\_ACEOF
25131.45Sjmc#define _POSIX_C_SOURCE 200112L
25141.53Sdogcow_ACEOF
25151.54Swiz
25161.54Swiz
25171.54Swizcat >>confdefs.h <<\_ACEOF
25181.45Sjmc#define _XOPEN_SOURCE 600
25191.53Sdogcow_ACEOF
25201.45Sjmc
25211.45Sjmcelse
25221.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
25231.45Sjmcecho "${ECHO_T}no" >&6
25241.45Sjmcfi
25251.45Sjmcrm -f conftest*
25261.45Sjmc
25271.53Sdogcow
25281.45Sjmc# Extract the first word of "sh", so it can be a program name with args.
25291.45Sjmcset dummy sh; ac_word=$2
25301.53Sdogcowecho "$as_me:$LINENO: checking for $ac_word" >&5
25311.45Sjmcecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25321.45Sjmcif test "${ac_cv_path_BSHELL+set}" = set; then
25331.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
25341.45Sjmcelse
25351.45Sjmc  case $BSHELL in
25361.45Sjmc  [\\/]* | ?:[\\/]*)
25371.45Sjmc  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
25381.45Sjmc  ;;
25391.45Sjmc  *)
25401.53Sdogcow  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25411.53Sdogcowfor as_dir in $PATH
25421.53Sdogcowdo
25431.53Sdogcow  IFS=$as_save_IFS
25441.53Sdogcow  test -z "$as_dir" && as_dir=.
25451.53Sdogcow  for ac_exec_ext in '' $ac_executable_extensions; do
25461.53Sdogcow  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25471.53Sdogcow    ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
25481.53Sdogcow    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25491.53Sdogcow    break 2
25501.53Sdogcow  fi
25511.53Sdogcowdone
25521.45Sjmcdone
25531.45Sjmc
25541.45Sjmc  ;;
25551.45Sjmcesac
25561.45Sjmcfi
25571.45SjmcBSHELL=$ac_cv_path_BSHELL
25581.45Sjmc
25591.45Sjmcif test -n "$BSHELL"; then
25601.53Sdogcow  echo "$as_me:$LINENO: result: $BSHELL" >&5
25611.45Sjmcecho "${ECHO_T}$BSHELL" >&6
25621.45Sjmcelse
25631.53Sdogcow  echo "$as_me:$LINENO: result: no" >&5
25641.45Sjmcecho "${ECHO_T}no" >&6
25651.45Sjmcfi
25661.45Sjmc
25671.45Sjmcif test x"$BSHELL" = x; then
25681.53Sdogcow	{ { echo "$as_me:$LINENO: error: sh must be somewhere on \$PATH" >&5
25691.45Sjmcecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
25701.45Sjmc   { (exit 1); exit 1; }; }
25711.45Sjmcfi
25721.54Swiz
25731.53Sdogcowcat >>confdefs.h <<_ACEOF
25741.45Sjmc#define PATH_BSHELL "$BSHELL"
25751.53Sdogcow_ACEOF
25761.53Sdogcow
25771.45Sjmc
25781.53Sdogcowecho "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25791.45Sjmcecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25801.45Sjmcif test "${ac_cv_c_bigendian+set}" = set; then
25811.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
25821.45Sjmcelse
25831.53Sdogcow  # See if sys/param.h defines the BYTE_ORDER macro.
25841.45Sjmccat >conftest.$ac_ext <<_ACEOF
25851.53Sdogcow/* confdefs.h.  */
25861.53Sdogcow_ACEOF
25871.53Sdogcowcat confdefs.h >>conftest.$ac_ext
25881.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
25891.53Sdogcow/* end confdefs.h.  */
25901.45Sjmc#include <sys/types.h>
25911.45Sjmc#include <sys/param.h>
25921.45Sjmc
25931.45Sjmcint
25941.45Sjmcmain ()
25951.45Sjmc{
25961.45Sjmc#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25971.45Sjmc bogus endian macros
25981.45Sjmc#endif
25991.45Sjmc
26001.45Sjmc  ;
26011.45Sjmc  return 0;
26021.45Sjmc}
26031.45Sjmc_ACEOF
26041.45Sjmcrm -f conftest.$ac_objext
26051.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26061.53Sdogcow  (eval $ac_compile) 2>conftest.er1
26071.45Sjmc  ac_status=$?
26081.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
26091.53Sdogcow  rm -f conftest.er1
26101.53Sdogcow  cat conftest.err >&5
26111.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121.45Sjmc  (exit $ac_status); } &&
26131.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
26141.53Sdogcow			 || test ! -s conftest.err'
26151.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161.53Sdogcow  (eval $ac_try) 2>&5
26171.53Sdogcow  ac_status=$?
26181.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191.53Sdogcow  (exit $ac_status); }; } &&
26201.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
26211.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221.45Sjmc  (eval $ac_try) 2>&5
26231.45Sjmc  ac_status=$?
26241.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251.45Sjmc  (exit $ac_status); }; }; then
26261.45Sjmc  # It does; now see whether it defined to BIG_ENDIAN or not.
26271.45Sjmccat >conftest.$ac_ext <<_ACEOF
26281.53Sdogcow/* confdefs.h.  */
26291.53Sdogcow_ACEOF
26301.53Sdogcowcat confdefs.h >>conftest.$ac_ext
26311.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
26321.53Sdogcow/* end confdefs.h.  */
26331.45Sjmc#include <sys/types.h>
26341.45Sjmc#include <sys/param.h>
26351.45Sjmc
26361.45Sjmcint
26371.45Sjmcmain ()
26381.45Sjmc{
26391.45Sjmc#if BYTE_ORDER != BIG_ENDIAN
26401.45Sjmc not big endian
26411.45Sjmc#endif
26421.45Sjmc
26431.45Sjmc  ;
26441.45Sjmc  return 0;
26451.45Sjmc}
26461.45Sjmc_ACEOF
26471.45Sjmcrm -f conftest.$ac_objext
26481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26491.53Sdogcow  (eval $ac_compile) 2>conftest.er1
26501.45Sjmc  ac_status=$?
26511.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
26521.53Sdogcow  rm -f conftest.er1
26531.53Sdogcow  cat conftest.err >&5
26541.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551.45Sjmc  (exit $ac_status); } &&
26561.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
26571.53Sdogcow			 || test ! -s conftest.err'
26581.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591.53Sdogcow  (eval $ac_try) 2>&5
26601.53Sdogcow  ac_status=$?
26611.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621.53Sdogcow  (exit $ac_status); }; } &&
26631.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
26641.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651.45Sjmc  (eval $ac_try) 2>&5
26661.45Sjmc  ac_status=$?
26671.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681.45Sjmc  (exit $ac_status); }; }; then
26691.45Sjmc  ac_cv_c_bigendian=yes
26701.45Sjmcelse
26711.45Sjmc  echo "$as_me: failed program was:" >&5
26721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
26731.53Sdogcow
26741.45Sjmcac_cv_c_bigendian=no
26751.45Sjmcfi
26761.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26771.53Sdogcowelse
26781.53Sdogcow  echo "$as_me: failed program was:" >&5
26791.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
26801.53Sdogcow
26811.53Sdogcow# It does not; compile a test program.
26821.53Sdogcowif test "$cross_compiling" = yes; then
26831.53Sdogcow  # try to guess the endianness by grepping values into an object file
26841.53Sdogcow  ac_cv_c_bigendian=unknown
26851.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
26861.53Sdogcow/* confdefs.h.  */
26871.53Sdogcow_ACEOF
26881.53Sdogcowcat confdefs.h >>conftest.$ac_ext
26891.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
26901.53Sdogcow/* end confdefs.h.  */
26911.53Sdogcowshort ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26921.53Sdogcowshort ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26931.53Sdogcowvoid _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26941.53Sdogcowshort ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26951.53Sdogcowshort ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26961.53Sdogcowvoid _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26971.53Sdogcowint
26981.53Sdogcowmain ()
26991.53Sdogcow{
27001.53Sdogcow _ascii (); _ebcdic ();
27011.53Sdogcow  ;
27021.53Sdogcow  return 0;
27031.53Sdogcow}
27041.53Sdogcow_ACEOF
27051.53Sdogcowrm -f conftest.$ac_objext
27061.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27071.53Sdogcow  (eval $ac_compile) 2>conftest.er1
27081.53Sdogcow  ac_status=$?
27091.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
27101.53Sdogcow  rm -f conftest.er1
27111.53Sdogcow  cat conftest.err >&5
27121.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131.53Sdogcow  (exit $ac_status); } &&
27141.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
27151.53Sdogcow			 || test ! -s conftest.err'
27161.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171.53Sdogcow  (eval $ac_try) 2>&5
27181.53Sdogcow  ac_status=$?
27191.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201.53Sdogcow  (exit $ac_status); }; } &&
27211.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
27221.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231.53Sdogcow  (eval $ac_try) 2>&5
27241.53Sdogcow  ac_status=$?
27251.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261.53Sdogcow  (exit $ac_status); }; }; then
27271.53Sdogcow  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
27281.53Sdogcow  ac_cv_c_bigendian=yes
27291.53Sdogcowfi
27301.53Sdogcowif grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
27311.53Sdogcow  if test "$ac_cv_c_bigendian" = unknown; then
27321.53Sdogcow    ac_cv_c_bigendian=no
27331.53Sdogcow  else
27341.53Sdogcow    # finding both strings is unlikely to happen, but who knows?
27351.53Sdogcow    ac_cv_c_bigendian=unknown
27361.53Sdogcow  fi
27371.53Sdogcowfi
27381.48Sjmcelse
27391.48Sjmc  echo "$as_me: failed program was:" >&5
27401.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
27411.53Sdogcow
27421.52Sdbjfi
27431.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27441.45Sjmcelse
27451.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
27461.53Sdogcow/* confdefs.h.  */
27471.53Sdogcow_ACEOF
27481.53Sdogcowcat confdefs.h >>conftest.$ac_ext
27491.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
27501.53Sdogcow/* end confdefs.h.  */
27511.45Sjmcint
27521.45Sjmcmain ()
27531.45Sjmc{
27541.45Sjmc  /* Are we little or big endian?  From Harbison&Steele.  */
27551.45Sjmc  union
27561.45Sjmc  {
27571.45Sjmc    long l;
27581.45Sjmc    char c[sizeof (long)];
27591.45Sjmc  } u;
27601.45Sjmc  u.l = 1;
27611.45Sjmc  exit (u.c[sizeof (long) - 1] == 1);
27621.45Sjmc}
27631.45Sjmc_ACEOF
27641.45Sjmcrm -f conftest$ac_exeext
27651.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27661.45Sjmc  (eval $ac_link) 2>&5
27671.45Sjmc  ac_status=$?
27681.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691.45Sjmc  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27701.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27711.45Sjmc  (eval $ac_try) 2>&5
27721.45Sjmc  ac_status=$?
27731.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741.45Sjmc  (exit $ac_status); }; }; then
27751.45Sjmc  ac_cv_c_bigendian=no
27761.45Sjmcelse
27771.45Sjmc  echo "$as_me: program exited with status $ac_status" >&5
27781.45Sjmcecho "$as_me: failed program was:" >&5
27791.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
27801.53Sdogcow
27811.53Sdogcow( exit $ac_status )
27821.45Sjmcac_cv_c_bigendian=yes
27831.45Sjmcfi
27841.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27851.45Sjmcfi
27861.1Stvfi
27871.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27881.1Stvfi
27891.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
27901.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6
27911.53Sdogcowcase $ac_cv_c_bigendian in
27921.53Sdogcow  yes)
27931.45Sjmc
27941.53Sdogcowcat >>confdefs.h <<\_ACEOF
27951.45Sjmc#define WORDS_BIGENDIAN 1
27961.53Sdogcow_ACEOF
27971.53Sdogcow ;;
27981.53Sdogcow  no)
27991.53Sdogcow     ;;
28001.53Sdogcow  *)
28011.53Sdogcow    { { echo "$as_me:$LINENO: error: unknown endianness
28021.53Sdogcowpresetting ac_cv_c_bigendian=no (or yes) will help" >&5
28031.53Sdogcowecho "$as_me: error: unknown endianness
28041.53Sdogcowpresetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
28051.53Sdogcow   { (exit 1); exit 1; }; } ;;
28061.53Sdogcowesac
28071.52Sdbj
28081.53Sdogcowecho "$as_me:$LINENO: checking for ANSI C header files" >&5
28091.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
28101.6Stvif test "${ac_cv_header_stdc+set}" = set; then
28111.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28121.6Stvelse
28131.6Stv  cat >conftest.$ac_ext <<_ACEOF
28141.53Sdogcow/* confdefs.h.  */
28151.53Sdogcow_ACEOF
28161.53Sdogcowcat confdefs.h >>conftest.$ac_ext
28171.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
28181.53Sdogcow/* end confdefs.h.  */
28191.6Stv#include <stdlib.h>
28201.6Stv#include <stdarg.h>
28211.6Stv#include <string.h>
28221.6Stv#include <float.h>
28231.6Stv
28241.53Sdogcowint
28251.53Sdogcowmain ()
28261.53Sdogcow{
28271.53Sdogcow
28281.53Sdogcow  ;
28291.53Sdogcow  return 0;
28301.53Sdogcow}
28311.6Stv_ACEOF
28321.53Sdogcowrm -f conftest.$ac_objext
28331.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28341.53Sdogcow  (eval $ac_compile) 2>conftest.er1
28351.39Sfredb  ac_status=$?
28361.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
28371.50Sjmc  rm -f conftest.er1
28381.50Sjmc  cat conftest.err >&5
28391.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401.53Sdogcow  (exit $ac_status); } &&
28411.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
28421.53Sdogcow			 || test ! -s conftest.err'
28431.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441.53Sdogcow  (eval $ac_try) 2>&5
28451.53Sdogcow  ac_status=$?
28461.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471.53Sdogcow  (exit $ac_status); }; } &&
28481.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
28491.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501.53Sdogcow  (eval $ac_try) 2>&5
28511.53Sdogcow  ac_status=$?
28521.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531.53Sdogcow  (exit $ac_status); }; }; then
28541.6Stv  ac_cv_header_stdc=yes
28551.6Stvelse
28561.6Stv  echo "$as_me: failed program was:" >&5
28571.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
28581.53Sdogcow
28591.53Sdogcowac_cv_header_stdc=no
28601.6Stvfi
28611.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28621.6Stv
28631.6Stvif test $ac_cv_header_stdc = yes; then
28641.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28651.6Stv  cat >conftest.$ac_ext <<_ACEOF
28661.53Sdogcow/* confdefs.h.  */
28671.53Sdogcow_ACEOF
28681.53Sdogcowcat confdefs.h >>conftest.$ac_ext
28691.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
28701.53Sdogcow/* end confdefs.h.  */
28711.6Stv#include <string.h>
28721.6Stv
28731.6Stv_ACEOF
28741.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28751.53Sdogcow  $EGREP "memchr" >/dev/null 2>&1; then
28761.6Stv  :
28771.6Stvelse
28781.6Stv  ac_cv_header_stdc=no
28791.6Stvfi
28801.6Stvrm -f conftest*
28811.6Stv
28821.6Stvfi
28831.6Stv
28841.6Stvif test $ac_cv_header_stdc = yes; then
28851.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28861.6Stv  cat >conftest.$ac_ext <<_ACEOF
28871.53Sdogcow/* confdefs.h.  */
28881.53Sdogcow_ACEOF
28891.53Sdogcowcat confdefs.h >>conftest.$ac_ext
28901.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
28911.53Sdogcow/* end confdefs.h.  */
28921.6Stv#include <stdlib.h>
28931.6Stv
28941.6Stv_ACEOF
28951.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28961.53Sdogcow  $EGREP "free" >/dev/null 2>&1; then
28971.6Stv  :
28981.6Stvelse
28991.6Stv  ac_cv_header_stdc=no
29001.6Stvfi
29011.6Stvrm -f conftest*
29021.6Stv
29031.6Stvfi
29041.6Stv
29051.6Stvif test $ac_cv_header_stdc = yes; then
29061.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
29071.6Stv  if test "$cross_compiling" = yes; then
29081.6Stv  :
29091.6Stvelse
29101.6Stv  cat >conftest.$ac_ext <<_ACEOF
29111.53Sdogcow/* confdefs.h.  */
29121.53Sdogcow_ACEOF
29131.53Sdogcowcat confdefs.h >>conftest.$ac_ext
29141.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
29151.53Sdogcow/* end confdefs.h.  */
29161.6Stv#include <ctype.h>
29171.6Stv#if ((' ' & 0x0FF) == 0x020)
29181.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29191.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29201.6Stv#else
29211.53Sdogcow# define ISLOWER(c) \
29221.53Sdogcow		   (('a' <= (c) && (c) <= 'i') \
29231.53Sdogcow		     || ('j' <= (c) && (c) <= 'r') \
29241.53Sdogcow		     || ('s' <= (c) && (c) <= 'z'))
29251.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
29261.6Stv#endif
29271.6Stv
29281.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
29291.6Stvint
29301.6Stvmain ()
29311.6Stv{
29321.6Stv  int i;
29331.6Stv  for (i = 0; i < 256; i++)
29341.6Stv    if (XOR (islower (i), ISLOWER (i))
29351.53Sdogcow	|| toupper (i) != TOUPPER (i))
29361.6Stv      exit(2);
29371.6Stv  exit (0);
29381.6Stv}
29391.6Stv_ACEOF
29401.6Stvrm -f conftest$ac_exeext
29411.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29421.6Stv  (eval $ac_link) 2>&5
29431.6Stv  ac_status=$?
29441.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29461.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29471.6Stv  (eval $ac_try) 2>&5
29481.6Stv  ac_status=$?
29491.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501.6Stv  (exit $ac_status); }; }; then
29511.6Stv  :
29521.6Stvelse
29531.6Stv  echo "$as_me: program exited with status $ac_status" >&5
29541.6Stvecho "$as_me: failed program was:" >&5
29551.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
29561.53Sdogcow
29571.53Sdogcow( exit $ac_status )
29581.6Stvac_cv_header_stdc=no
29591.6Stvfi
29601.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29611.6Stvfi
29621.6Stvfi
29631.6Stvfi
29641.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29651.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
29661.6Stvif test $ac_cv_header_stdc = yes; then
29671.6Stv
29681.53Sdogcowcat >>confdefs.h <<\_ACEOF
29691.6Stv#define STDC_HEADERS 1
29701.53Sdogcow_ACEOF
29711.6Stv
29721.6Stvfi
29731.6Stv
29741.53Sdogcow
29751.6Stv# Confirm existence of zlib.  (This is available as a default install
29761.6Stv# option on many OS's; this could be added as a reachover build in the
29771.6Stv# future.)
29781.53Sdogcow# On IRIX 5.3, sys/types and inttypes.h are conflicting.
29791.53Sdogcow
29801.53Sdogcow
29811.53Sdogcow
29821.53Sdogcow
29831.53Sdogcow
29841.53Sdogcow
29851.53Sdogcow
29861.53Sdogcow
29871.53Sdogcow
29881.53Sdogcowfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
29891.53Sdogcow		  inttypes.h stdint.h unistd.h
29901.53Sdogcowdo
29911.53Sdogcowas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29921.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5
29931.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29941.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
29951.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29961.39Sfredbelse
29971.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
29981.53Sdogcow/* confdefs.h.  */
29991.53Sdogcow_ACEOF
30001.53Sdogcowcat confdefs.h >>conftest.$ac_ext
30011.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
30021.53Sdogcow/* end confdefs.h.  */
30031.53Sdogcow$ac_includes_default
30041.53Sdogcow
30051.53Sdogcow#include <$ac_header>
30061.48Sjmc_ACEOF
30071.53Sdogcowrm -f conftest.$ac_objext
30081.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30091.53Sdogcow  (eval $ac_compile) 2>conftest.er1
30101.4Stv  ac_status=$?
30111.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
30121.50Sjmc  rm -f conftest.er1
30131.50Sjmc  cat conftest.err >&5
30141.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151.53Sdogcow  (exit $ac_status); } &&
30161.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
30171.53Sdogcow			 || test ! -s conftest.err'
30181.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30191.53Sdogcow  (eval $ac_try) 2>&5
30201.53Sdogcow  ac_status=$?
30211.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221.53Sdogcow  (exit $ac_status); }; } &&
30231.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
30241.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251.53Sdogcow  (eval $ac_try) 2>&5
30261.53Sdogcow  ac_status=$?
30271.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281.53Sdogcow  (exit $ac_status); }; }; then
30291.53Sdogcow  eval "$as_ac_Header=yes"
30301.4Stvelse
30311.4Stv  echo "$as_me: failed program was:" >&5
30321.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
30331.53Sdogcow
30341.53Sdogcoweval "$as_ac_Header=no"
30351.4Stvfi
30361.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30371.4Stvfi
30381.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30391.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30401.53Sdogcowif test `eval echo '${'$as_ac_Header'}'` = yes; then
30411.53Sdogcow  cat >>confdefs.h <<_ACEOF
30421.53Sdogcow#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30431.53Sdogcow_ACEOF
30441.53Sdogcow
30451.6Stvfi
30461.6Stv
30471.53Sdogcowdone
30481.53Sdogcow
30491.53Sdogcow
30501.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then
30511.53Sdogcow  echo "$as_me:$LINENO: checking for zlib.h" >&5
30521.53Sdogcowecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
30531.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then
30541.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
30551.53Sdogcowfi
30561.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
30571.53Sdogcowecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
30581.53Sdogcowelse
30591.53Sdogcow  # Is the header compilable?
30601.53Sdogcowecho "$as_me:$LINENO: checking zlib.h usability" >&5
30611.53Sdogcowecho $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
30621.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
30631.53Sdogcow/* confdefs.h.  */
30641.53Sdogcow_ACEOF
30651.53Sdogcowcat confdefs.h >>conftest.$ac_ext
30661.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
30671.53Sdogcow/* end confdefs.h.  */
30681.53Sdogcow$ac_includes_default
30691.53Sdogcow#include <zlib.h>
30701.53Sdogcow_ACEOF
30711.53Sdogcowrm -f conftest.$ac_objext
30721.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30731.53Sdogcow  (eval $ac_compile) 2>conftest.er1
30741.53Sdogcow  ac_status=$?
30751.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
30761.53Sdogcow  rm -f conftest.er1
30771.53Sdogcow  cat conftest.err >&5
30781.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791.53Sdogcow  (exit $ac_status); } &&
30801.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
30811.53Sdogcow			 || test ! -s conftest.err'
30821.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831.53Sdogcow  (eval $ac_try) 2>&5
30841.53Sdogcow  ac_status=$?
30851.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861.53Sdogcow  (exit $ac_status); }; } &&
30871.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
30881.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891.53Sdogcow  (eval $ac_try) 2>&5
30901.53Sdogcow  ac_status=$?
30911.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921.53Sdogcow  (exit $ac_status); }; }; then
30931.53Sdogcow  ac_header_compiler=yes
30941.53Sdogcowelse
30951.53Sdogcow  echo "$as_me: failed program was:" >&5
30961.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
30971.53Sdogcow
30981.53Sdogcowac_header_compiler=no
30991.53Sdogcowfi
31001.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31011.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
31021.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6
31031.53Sdogcow
31041.53Sdogcow# Is the header present?
31051.53Sdogcowecho "$as_me:$LINENO: checking zlib.h presence" >&5
31061.53Sdogcowecho $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
31071.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
31081.53Sdogcow/* confdefs.h.  */
31091.53Sdogcow_ACEOF
31101.53Sdogcowcat confdefs.h >>conftest.$ac_ext
31111.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
31121.53Sdogcow/* end confdefs.h.  */
31131.53Sdogcow#include <zlib.h>
31141.53Sdogcow_ACEOF
31151.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31161.53Sdogcow  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31171.53Sdogcow  ac_status=$?
31181.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
31191.53Sdogcow  rm -f conftest.er1
31201.53Sdogcow  cat conftest.err >&5
31211.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221.53Sdogcow  (exit $ac_status); } >/dev/null; then
31231.53Sdogcow  if test -s conftest.err; then
31241.53Sdogcow    ac_cpp_err=$ac_c_preproc_warn_flag
31251.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31261.53Sdogcow  else
31271.53Sdogcow    ac_cpp_err=
31281.53Sdogcow  fi
31291.53Sdogcowelse
31301.53Sdogcow  ac_cpp_err=yes
31311.53Sdogcowfi
31321.53Sdogcowif test -z "$ac_cpp_err"; then
31331.53Sdogcow  ac_header_preproc=yes
31341.53Sdogcowelse
31351.53Sdogcow  echo "$as_me: failed program was:" >&5
31361.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
31371.53Sdogcow
31381.53Sdogcow  ac_header_preproc=no
31391.53Sdogcowfi
31401.53Sdogcowrm -f conftest.err conftest.$ac_ext
31411.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
31421.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6
31431.53Sdogcow
31441.53Sdogcow# So?  What about this header?
31451.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31461.53Sdogcow  yes:no: )
31471.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31481.53Sdogcowecho "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31491.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
31501.53Sdogcowecho "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
31511.53Sdogcow    ac_header_preproc=yes
31521.53Sdogcow    ;;
31531.53Sdogcow  no:yes:* )
31541.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
31551.53Sdogcowecho "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
31561.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
31571.53Sdogcowecho "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
31581.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
31591.53Sdogcowecho "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
31601.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
31611.53Sdogcowecho "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31621.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
31631.53Sdogcowecho "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
31641.53Sdogcow    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
31651.53Sdogcowecho "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
31661.53Sdogcow    (
31671.53Sdogcow      cat <<\_ASBOX
31681.53Sdogcow## ---------------------------------------- ##
31691.53Sdogcow## Report this to lib-bug-people@NetBSD.org ##
31701.53Sdogcow## ---------------------------------------- ##
31711.53Sdogcow_ASBOX
31721.53Sdogcow    ) |
31731.53Sdogcow      sed "s/^/$as_me: WARNING:     /" >&2
31741.53Sdogcow    ;;
31751.53Sdogcowesac
31761.53Sdogcowecho "$as_me:$LINENO: checking for zlib.h" >&5
31771.53Sdogcowecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
31781.53Sdogcowif test "${ac_cv_header_zlib_h+set}" = set; then
31791.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
31801.53Sdogcowelse
31811.53Sdogcow  ac_cv_header_zlib_h=$ac_header_preproc
31821.53Sdogcowfi
31831.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
31841.53Sdogcowecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
31851.53Sdogcow
31861.53Sdogcowfi
31871.53Sdogcowif test $ac_cv_header_zlib_h = yes; then
31881.53Sdogcow  :
31891.53Sdogcowelse
31901.53Sdogcow  { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
31911.53Sdogcowecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
31921.53Sdogcow   { (exit 1); exit 1; }; }
31931.53Sdogcowfi
31941.53Sdogcow
31951.53Sdogcow
31961.53Sdogcow
31971.53Sdogcowecho "$as_me:$LINENO: checking for gzdopen in -lz" >&5
31981.53Sdogcowecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
31991.53Sdogcowif test "${ac_cv_lib_z_gzdopen+set}" = set; then
32001.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
32011.52Sdbjelse
32021.52Sdbj  ac_check_lib_save_LIBS=$LIBS
32031.52SdbjLIBS="-lz  $LIBS"
32041.52Sdbjcat >conftest.$ac_ext <<_ACEOF
32051.53Sdogcow/* confdefs.h.  */
32061.53Sdogcow_ACEOF
32071.53Sdogcowcat confdefs.h >>conftest.$ac_ext
32081.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
32091.53Sdogcow/* end confdefs.h.  */
32101.48Sjmc
32111.52Sdbj/* Override any gcc2 internal prototype to avoid an error.  */
32121.6Stv#ifdef __cplusplus
32131.6Stvextern "C"
32141.6Stv#endif
32151.6Stv/* We use char because int might match the return type of a gcc2
32161.6Stv   builtin and then its argument prototype would still apply.  */
32171.6Stvchar gzdopen ();
32181.6Stvint
32191.6Stvmain ()
32201.6Stv{
32211.6Stvgzdopen ();
32221.6Stv  ;
32231.6Stv  return 0;
32241.6Stv}
32251.6Stv_ACEOF
32261.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
32271.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32281.53Sdogcow  (eval $ac_link) 2>conftest.er1
32291.6Stv  ac_status=$?
32301.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
32311.53Sdogcow  rm -f conftest.er1
32321.53Sdogcow  cat conftest.err >&5
32331.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341.6Stv  (exit $ac_status); } &&
32351.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
32361.53Sdogcow			 || test ! -s conftest.err'
32371.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381.53Sdogcow  (eval $ac_try) 2>&5
32391.53Sdogcow  ac_status=$?
32401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411.53Sdogcow  (exit $ac_status); }; } &&
32421.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
32431.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441.48Sjmc  (eval $ac_try) 2>&5
32451.48Sjmc  ac_status=$?
32461.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471.6Stv  (exit $ac_status); }; }; then
32481.6Stv  ac_cv_lib_z_gzdopen=yes
32491.6Stvelse
32501.6Stv  echo "$as_me: failed program was:" >&5
32511.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
32521.53Sdogcow
32531.6Stvac_cv_lib_z_gzdopen=no
32541.6Stvfi
32551.53Sdogcowrm -f conftest.err conftest.$ac_objext \
32561.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
32571.6StvLIBS=$ac_check_lib_save_LIBS
32581.6Stvfi
32591.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
32601.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
32611.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
32621.53Sdogcow  cat >>confdefs.h <<_ACEOF
32631.6Stv#define HAVE_LIBZ 1
32641.53Sdogcow_ACEOF
32651.4Stv
32661.6Stv  LIBS="-lz $LIBS"
32671.6Stv
32681.4Stvelse
32691.53Sdogcow  { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
32701.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
32711.4Stv   { (exit 1); exit 1; }; }
32721.4Stvfi
32731.4Stv
32741.53Sdogcow
32751.6Stv# Make sure certain required headers are available.
32761.6Stv# These are not necessarily required by the code, but they are not
32771.6Stv# currently conditionalized.
32781.4Stv
32791.53Sdogcow
32801.53Sdogcow
32811.53Sdogcow
32821.53Sdogcow
32831.53Sdogcow
32841.53Sdogcow
32851.53Sdogcow
32861.53Sdogcow
32871.53Sdogcow
32881.53Sdogcow
32891.53Sdogcow
32901.53Sdogcow
32911.53Sdogcow
32921.53Sdogcow
32931.53Sdogcow
32941.53Sdogcow
32951.53Sdogcow
32961.53Sdogcow
32971.53Sdogcow
32981.53Sdogcow
32991.53Sdogcow
33001.53Sdogcow
33011.53Sdogcow
33021.53Sdogcow
33031.53Sdogcow
33041.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
33051.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
33061.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
33071.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
33081.43Sdbj	termios.h unistd.h
33091.43Sdbjdo
33101.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33111.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
33121.53Sdogcow  echo "$as_me:$LINENO: checking for $ac_header" >&5
33131.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33141.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
33151.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
33161.53Sdogcowfi
33171.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33181.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33191.53Sdogcowelse
33201.53Sdogcow  # Is the header compilable?
33211.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5
33221.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33231.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
33241.53Sdogcow/* confdefs.h.  */
33251.53Sdogcow_ACEOF
33261.53Sdogcowcat confdefs.h >>conftest.$ac_ext
33271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
33281.53Sdogcow/* end confdefs.h.  */
33291.53Sdogcow$ac_includes_default
33301.53Sdogcow#include <$ac_header>
33311.53Sdogcow_ACEOF
33321.53Sdogcowrm -f conftest.$ac_objext
33331.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33341.53Sdogcow  (eval $ac_compile) 2>conftest.er1
33351.53Sdogcow  ac_status=$?
33361.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
33371.53Sdogcow  rm -f conftest.er1
33381.53Sdogcow  cat conftest.err >&5
33391.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401.53Sdogcow  (exit $ac_status); } &&
33411.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
33421.53Sdogcow			 || test ! -s conftest.err'
33431.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441.53Sdogcow  (eval $ac_try) 2>&5
33451.53Sdogcow  ac_status=$?
33461.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471.53Sdogcow  (exit $ac_status); }; } &&
33481.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
33491.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501.53Sdogcow  (eval $ac_try) 2>&5
33511.53Sdogcow  ac_status=$?
33521.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531.53Sdogcow  (exit $ac_status); }; }; then
33541.53Sdogcow  ac_header_compiler=yes
33551.43Sdbjelse
33561.53Sdogcow  echo "$as_me: failed program was:" >&5
33571.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
33581.53Sdogcow
33591.53Sdogcowac_header_compiler=no
33601.53Sdogcowfi
33611.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33621.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
33631.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6
33641.53Sdogcow
33651.53Sdogcow# Is the header present?
33661.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5
33671.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33681.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
33691.53Sdogcow/* confdefs.h.  */
33701.53Sdogcow_ACEOF
33711.53Sdogcowcat confdefs.h >>conftest.$ac_ext
33721.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
33731.53Sdogcow/* end confdefs.h.  */
33741.48Sjmc#include <$ac_header>
33751.48Sjmc_ACEOF
33761.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33771.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33781.4Stv  ac_status=$?
33791.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
33801.4Stv  rm -f conftest.er1
33811.4Stv  cat conftest.err >&5
33821.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831.4Stv  (exit $ac_status); } >/dev/null; then
33841.4Stv  if test -s conftest.err; then
33851.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
33861.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33871.4Stv  else
33881.4Stv    ac_cpp_err=
33891.4Stv  fi
33901.4Stvelse
33911.6Stv  ac_cpp_err=yes
33921.6Stvfi
33931.6Stvif test -z "$ac_cpp_err"; then
33941.53Sdogcow  ac_header_preproc=yes
33951.6Stvelse
33961.6Stv  echo "$as_me: failed program was:" >&5
33971.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
33981.53Sdogcow
33991.53Sdogcow  ac_header_preproc=no
34001.6Stvfi
34011.6Stvrm -f conftest.err conftest.$ac_ext
34021.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
34031.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6
34041.53Sdogcow
34051.53Sdogcow# So?  What about this header?
34061.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34071.53Sdogcow  yes:no: )
34081.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34091.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34101.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34111.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34121.53Sdogcow    ac_header_preproc=yes
34131.53Sdogcow    ;;
34141.53Sdogcow  no:yes:* )
34151.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34161.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34171.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
34181.53Sdogcowecho "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
34191.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34201.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34211.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
34221.53Sdogcowecho "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
34231.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34241.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34251.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34261.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34271.53Sdogcow    (
34281.53Sdogcow      cat <<\_ASBOX
34291.53Sdogcow## ---------------------------------------- ##
34301.53Sdogcow## Report this to lib-bug-people@NetBSD.org ##
34311.53Sdogcow## ---------------------------------------- ##
34321.53Sdogcow_ASBOX
34331.53Sdogcow    ) |
34341.53Sdogcow      sed "s/^/$as_me: WARNING:     /" >&2
34351.53Sdogcow    ;;
34361.53Sdogcowesac
34371.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5
34381.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34391.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
34401.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
34411.53Sdogcowelse
34421.53Sdogcow  eval "$as_ac_Header=\$ac_header_preproc"
34431.6Stvfi
34441.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34451.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34461.53Sdogcow
34471.53Sdogcowfi
34481.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
34491.53Sdogcow  cat >>confdefs.h <<_ACEOF
34501.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34511.53Sdogcow_ACEOF
34521.6Stv
34531.6Stvelse
34541.53Sdogcow  { { echo "$as_me:$LINENO: error: standard system header file not found" >&5
34551.6Stvecho "$as_me: error: standard system header file not found" >&2;}
34561.6Stv   { (exit 1); exit 1; }; }
34571.6Stvfi
34581.53Sdogcow
34591.6Stvdone
34601.6Stv
34611.53Sdogcow
34621.6Stv# Find headers that may not be available.
34631.6Stv
34641.53Sdogcow
34651.53Sdogcow
34661.53Sdogcow
34671.53Sdogcow
34681.6Stvac_header_dirent=no
34691.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
34701.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
34711.53Sdogcowecho "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
34721.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
34731.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
34741.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34751.6Stvelse
34761.6Stv  cat >conftest.$ac_ext <<_ACEOF
34771.53Sdogcow/* confdefs.h.  */
34781.53Sdogcow_ACEOF
34791.53Sdogcowcat confdefs.h >>conftest.$ac_ext
34801.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
34811.53Sdogcow/* end confdefs.h.  */
34821.6Stv#include <sys/types.h>
34831.6Stv#include <$ac_hdr>
34841.6Stv
34851.6Stvint
34861.6Stvmain ()
34871.6Stv{
34881.6Stvif ((DIR *) 0)
34891.6Stvreturn 0;
34901.6Stv  ;
34911.6Stv  return 0;
34921.6Stv}
34931.6Stv_ACEOF
34941.6Stvrm -f conftest.$ac_objext
34951.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34961.53Sdogcow  (eval $ac_compile) 2>conftest.er1
34971.6Stv  ac_status=$?
34981.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
34991.53Sdogcow  rm -f conftest.er1
35001.53Sdogcow  cat conftest.err >&5
35011.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021.6Stv  (exit $ac_status); } &&
35031.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
35041.53Sdogcow			 || test ! -s conftest.err'
35051.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061.53Sdogcow  (eval $ac_try) 2>&5
35071.53Sdogcow  ac_status=$?
35081.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091.53Sdogcow  (exit $ac_status); }; } &&
35101.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
35111.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121.50Sjmc  (eval $ac_try) 2>&5
35131.50Sjmc  ac_status=$?
35141.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151.6Stv  (exit $ac_status); }; }; then
35161.6Stv  eval "$as_ac_Header=yes"
35171.6Stvelse
35181.6Stv  echo "$as_me: failed program was:" >&5
35191.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
35201.53Sdogcow
35211.6Stveval "$as_ac_Header=no"
35221.6Stvfi
35231.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35241.6Stvfi
35251.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35261.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35271.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
35281.53Sdogcow  cat >>confdefs.h <<_ACEOF
35291.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
35301.53Sdogcow_ACEOF
35311.6Stv
35321.6Stvac_header_dirent=$ac_hdr; break
35331.6Stvfi
35341.6Stv
35351.6Stvdone
35361.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
35371.6Stvif test $ac_header_dirent = dirent.h; then
35381.53Sdogcow  echo "$as_me:$LINENO: checking for library containing opendir" >&5
35391.53Sdogcowecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
35401.53Sdogcowif test "${ac_cv_search_opendir+set}" = set; then
35411.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35421.6Stvelse
35431.53Sdogcow  ac_func_search_save_LIBS=$LIBS
35441.53Sdogcowac_cv_search_opendir=no
35451.6Stvcat >conftest.$ac_ext <<_ACEOF
35461.53Sdogcow/* confdefs.h.  */
35471.53Sdogcow_ACEOF
35481.53Sdogcowcat confdefs.h >>conftest.$ac_ext
35491.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
35501.53Sdogcow/* end confdefs.h.  */
35511.48Sjmc
35521.48Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
35531.48Sjmc#ifdef __cplusplus
35541.48Sjmcextern "C"
35551.48Sjmc#endif
35561.48Sjmc/* We use char because int might match the return type of a gcc2
35571.48Sjmc   builtin and then its argument prototype would still apply.  */
35581.48Sjmcchar opendir ();
35591.48Sjmcint
35601.48Sjmcmain ()
35611.48Sjmc{
35621.48Sjmcopendir ();
35631.48Sjmc  ;
35641.48Sjmc  return 0;
35651.48Sjmc}
35661.48Sjmc_ACEOF
35671.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
35681.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35691.53Sdogcow  (eval $ac_link) 2>conftest.er1
35701.6Stv  ac_status=$?
35711.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
35721.53Sdogcow  rm -f conftest.er1
35731.53Sdogcow  cat conftest.err >&5
35741.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751.6Stv  (exit $ac_status); } &&
35761.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
35771.53Sdogcow			 || test ! -s conftest.err'
35781.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791.50Sjmc  (eval $ac_try) 2>&5
35801.50Sjmc  ac_status=$?
35811.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35821.53Sdogcow  (exit $ac_status); }; } &&
35831.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
35841.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851.53Sdogcow  (eval $ac_try) 2>&5
35861.53Sdogcow  ac_status=$?
35871.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881.6Stv  (exit $ac_status); }; }; then
35891.53Sdogcow  ac_cv_search_opendir="none required"
35901.6Stvelse
35911.6Stv  echo "$as_me: failed program was:" >&5
35921.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
35931.53Sdogcow
35941.6Stvfi
35951.53Sdogcowrm -f conftest.err conftest.$ac_objext \
35961.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
35971.53Sdogcowif test "$ac_cv_search_opendir" = no; then
35981.53Sdogcow  for ac_lib in dir; do
35991.53Sdogcow    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
36001.53Sdogcow    cat >conftest.$ac_ext <<_ACEOF
36011.53Sdogcow/* confdefs.h.  */
36021.53Sdogcow_ACEOF
36031.53Sdogcowcat confdefs.h >>conftest.$ac_ext
36041.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
36051.53Sdogcow/* end confdefs.h.  */
36061.6Stv
36071.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
36081.6Stv#ifdef __cplusplus
36091.6Stvextern "C"
36101.6Stv#endif
36111.6Stv/* We use char because int might match the return type of a gcc2
36121.6Stv   builtin and then its argument prototype would still apply.  */
36131.6Stvchar opendir ();
36141.6Stvint
36151.6Stvmain ()
36161.6Stv{
36171.6Stvopendir ();
36181.6Stv  ;
36191.6Stv  return 0;
36201.6Stv}
36211.6Stv_ACEOF
36221.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
36231.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36241.53Sdogcow  (eval $ac_link) 2>conftest.er1
36251.48Sjmc  ac_status=$?
36261.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
36271.53Sdogcow  rm -f conftest.er1
36281.53Sdogcow  cat conftest.err >&5
36291.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301.48Sjmc  (exit $ac_status); } &&
36311.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
36321.53Sdogcow			 || test ! -s conftest.err'
36331.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341.53Sdogcow  (eval $ac_try) 2>&5
36351.53Sdogcow  ac_status=$?
36361.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371.53Sdogcow  (exit $ac_status); }; } &&
36381.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
36391.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401.50Sjmc  (eval $ac_try) 2>&5
36411.50Sjmc  ac_status=$?
36421.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431.48Sjmc  (exit $ac_status); }; }; then
36441.53Sdogcow  ac_cv_search_opendir="-l$ac_lib"
36451.53Sdogcowbreak
36461.48Sjmcelse
36471.48Sjmc  echo "$as_me: failed program was:" >&5
36481.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
36491.53Sdogcow
36501.48Sjmcfi
36511.53Sdogcowrm -f conftest.err conftest.$ac_objext \
36521.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
36531.53Sdogcow  done
36541.48Sjmcfi
36551.53SdogcowLIBS=$ac_func_search_save_LIBS
36561.6Stvfi
36571.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
36581.53Sdogcowecho "${ECHO_T}$ac_cv_search_opendir" >&6
36591.53Sdogcowif test "$ac_cv_search_opendir" != no; then
36601.53Sdogcow  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
36611.39Sfredb
36621.6Stvfi
36631.6Stv
36641.53Sdogcowelse
36651.53Sdogcow  echo "$as_me:$LINENO: checking for library containing opendir" >&5
36661.53Sdogcowecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
36671.53Sdogcowif test "${ac_cv_search_opendir+set}" = set; then
36681.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36691.48Sjmcelse
36701.53Sdogcow  ac_func_search_save_LIBS=$LIBS
36711.53Sdogcowac_cv_search_opendir=no
36721.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
36731.53Sdogcow/* confdefs.h.  */
36741.53Sdogcow_ACEOF
36751.53Sdogcowcat confdefs.h >>conftest.$ac_ext
36761.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
36771.53Sdogcow/* end confdefs.h.  */
36781.53Sdogcow
36791.53Sdogcow/* Override any gcc2 internal prototype to avoid an error.  */
36801.53Sdogcow#ifdef __cplusplus
36811.53Sdogcowextern "C"
36821.53Sdogcow#endif
36831.53Sdogcow/* We use char because int might match the return type of a gcc2
36841.53Sdogcow   builtin and then its argument prototype would still apply.  */
36851.53Sdogcowchar opendir ();
36861.53Sdogcowint
36871.53Sdogcowmain ()
36881.53Sdogcow{
36891.53Sdogcowopendir ();
36901.53Sdogcow  ;
36911.53Sdogcow  return 0;
36921.53Sdogcow}
36931.6Stv_ACEOF
36941.53Sdogcowrm -f conftest.$ac_objext conftest$ac_exeext
36951.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36961.53Sdogcow  (eval $ac_link) 2>conftest.er1
36971.6Stv  ac_status=$?
36981.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
36991.6Stv  rm -f conftest.er1
37001.6Stv  cat conftest.err >&5
37011.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021.53Sdogcow  (exit $ac_status); } &&
37031.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
37041.53Sdogcow			 || test ! -s conftest.err'
37051.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061.53Sdogcow  (eval $ac_try) 2>&5
37071.53Sdogcow  ac_status=$?
37081.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091.53Sdogcow  (exit $ac_status); }; } &&
37101.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
37111.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37121.53Sdogcow  (eval $ac_try) 2>&5
37131.53Sdogcow  ac_status=$?
37141.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151.53Sdogcow  (exit $ac_status); }; }; then
37161.53Sdogcow  ac_cv_search_opendir="none required"
37171.6Stvelse
37181.6Stv  echo "$as_me: failed program was:" >&5
37191.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
37201.6Stv
37211.6Stvfi
37221.53Sdogcowrm -f conftest.err conftest.$ac_objext \
37231.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
37241.53Sdogcowif test "$ac_cv_search_opendir" = no; then
37251.53Sdogcow  for ac_lib in x; do
37261.53Sdogcow    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
37271.53Sdogcow    cat >conftest.$ac_ext <<_ACEOF
37281.53Sdogcow/* confdefs.h.  */
37291.53Sdogcow_ACEOF
37301.53Sdogcowcat confdefs.h >>conftest.$ac_ext
37311.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
37321.53Sdogcow/* end confdefs.h.  */
37331.6Stv
37341.53Sdogcow/* Override any gcc2 internal prototype to avoid an error.  */
37351.53Sdogcow#ifdef __cplusplus
37361.53Sdogcowextern "C"
37371.53Sdogcow#endif
37381.53Sdogcow/* We use char because int might match the return type of a gcc2
37391.53Sdogcow   builtin and then its argument prototype would still apply.  */
37401.53Sdogcowchar opendir ();
37411.53Sdogcowint
37421.53Sdogcowmain ()
37431.53Sdogcow{
37441.53Sdogcowopendir ();
37451.53Sdogcow  ;
37461.53Sdogcow  return 0;
37471.53Sdogcow}
37481.53Sdogcow_ACEOF
37491.53Sdogcowrm -f conftest.$ac_objext conftest$ac_exeext
37501.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37511.53Sdogcow  (eval $ac_link) 2>conftest.er1
37521.53Sdogcow  ac_status=$?
37531.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
37541.53Sdogcow  rm -f conftest.er1
37551.53Sdogcow  cat conftest.err >&5
37561.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571.53Sdogcow  (exit $ac_status); } &&
37581.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
37591.53Sdogcow			 || test ! -s conftest.err'
37601.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611.53Sdogcow  (eval $ac_try) 2>&5
37621.53Sdogcow  ac_status=$?
37631.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641.53Sdogcow  (exit $ac_status); }; } &&
37651.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
37661.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671.53Sdogcow  (eval $ac_try) 2>&5
37681.53Sdogcow  ac_status=$?
37691.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701.53Sdogcow  (exit $ac_status); }; }; then
37711.53Sdogcow  ac_cv_search_opendir="-l$ac_lib"
37721.53Sdogcowbreak
37731.53Sdogcowelse
37741.53Sdogcow  echo "$as_me: failed program was:" >&5
37751.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
37761.53Sdogcow
37771.53Sdogcowfi
37781.53Sdogcowrm -f conftest.err conftest.$ac_objext \
37791.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
37801.53Sdogcow  done
37811.53Sdogcowfi
37821.53SdogcowLIBS=$ac_func_search_save_LIBS
37831.53Sdogcowfi
37841.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
37851.53Sdogcowecho "${ECHO_T}$ac_cv_search_opendir" >&6
37861.53Sdogcowif test "$ac_cv_search_opendir" != no; then
37871.53Sdogcow  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
37881.53Sdogcow
37891.53Sdogcowfi
37901.53Sdogcow
37911.53Sdogcowfi
37921.53Sdogcow
37931.53Sdogcow
37941.53Sdogcow
37951.53Sdogcow
37961.53Sdogcow
37971.53Sdogcow
37981.53Sdogcow
37991.53Sdogcow
38001.53Sdogcowfor ac_header in sys/sysmacros.h sys/syslimits.h \
38011.53Sdogcow	getopt.h features.h malloc.h sys/poll.h stddef.h
38021.39Sfredbdo
38031.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38041.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
38051.53Sdogcow  echo "$as_me:$LINENO: checking for $ac_header" >&5
38061.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38071.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
38081.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
38091.53Sdogcowfi
38101.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38111.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38121.53Sdogcowelse
38131.53Sdogcow  # Is the header compilable?
38141.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5
38151.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38161.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
38171.53Sdogcow/* confdefs.h.  */
38181.53Sdogcow_ACEOF
38191.53Sdogcowcat confdefs.h >>conftest.$ac_ext
38201.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
38211.53Sdogcow/* end confdefs.h.  */
38221.53Sdogcow$ac_includes_default
38231.53Sdogcow#include <$ac_header>
38241.53Sdogcow_ACEOF
38251.53Sdogcowrm -f conftest.$ac_objext
38261.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38271.53Sdogcow  (eval $ac_compile) 2>conftest.er1
38281.53Sdogcow  ac_status=$?
38291.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
38301.53Sdogcow  rm -f conftest.er1
38311.53Sdogcow  cat conftest.err >&5
38321.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331.53Sdogcow  (exit $ac_status); } &&
38341.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
38351.53Sdogcow			 || test ! -s conftest.err'
38361.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371.53Sdogcow  (eval $ac_try) 2>&5
38381.53Sdogcow  ac_status=$?
38391.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401.53Sdogcow  (exit $ac_status); }; } &&
38411.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
38421.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38431.53Sdogcow  (eval $ac_try) 2>&5
38441.53Sdogcow  ac_status=$?
38451.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461.53Sdogcow  (exit $ac_status); }; }; then
38471.53Sdogcow  ac_header_compiler=yes
38481.48Sjmcelse
38491.53Sdogcow  echo "$as_me: failed program was:" >&5
38501.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
38511.53Sdogcow
38521.53Sdogcowac_header_compiler=no
38531.53Sdogcowfi
38541.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38551.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
38561.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6
38571.53Sdogcow
38581.53Sdogcow# Is the header present?
38591.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5
38601.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38611.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
38621.53Sdogcow/* confdefs.h.  */
38631.53Sdogcow_ACEOF
38641.53Sdogcowcat confdefs.h >>conftest.$ac_ext
38651.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
38661.53Sdogcow/* end confdefs.h.  */
38671.48Sjmc#include <$ac_header>
38681.48Sjmc_ACEOF
38691.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38701.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38711.6Stv  ac_status=$?
38721.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
38731.6Stv  rm -f conftest.er1
38741.6Stv  cat conftest.err >&5
38751.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761.6Stv  (exit $ac_status); } >/dev/null; then
38771.6Stv  if test -s conftest.err; then
38781.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
38791.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38801.6Stv  else
38811.6Stv    ac_cpp_err=
38821.6Stv  fi
38831.6Stvelse
38841.6Stv  ac_cpp_err=yes
38851.6Stvfi
38861.6Stvif test -z "$ac_cpp_err"; then
38871.53Sdogcow  ac_header_preproc=yes
38881.6Stvelse
38891.6Stv  echo "$as_me: failed program was:" >&5
38901.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
38911.53Sdogcow
38921.53Sdogcow  ac_header_preproc=no
38931.6Stvfi
38941.6Stvrm -f conftest.err conftest.$ac_ext
38951.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
38961.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6
38971.53Sdogcow
38981.53Sdogcow# So?  What about this header?
38991.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39001.53Sdogcow  yes:no: )
39011.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39021.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39031.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39041.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39051.53Sdogcow    ac_header_preproc=yes
39061.53Sdogcow    ;;
39071.53Sdogcow  no:yes:* )
39081.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39091.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39101.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39111.53Sdogcowecho "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39121.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39131.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39141.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39151.53Sdogcowecho "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39161.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39171.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39181.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39191.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39201.53Sdogcow    (
39211.53Sdogcow      cat <<\_ASBOX
39221.53Sdogcow## ---------------------------------------- ##
39231.53Sdogcow## Report this to lib-bug-people@NetBSD.org ##
39241.53Sdogcow## ---------------------------------------- ##
39251.53Sdogcow_ASBOX
39261.53Sdogcow    ) |
39271.53Sdogcow      sed "s/^/$as_me: WARNING:     /" >&2
39281.53Sdogcow    ;;
39291.53Sdogcowesac
39301.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5
39311.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39321.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
39331.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
39341.53Sdogcowelse
39351.53Sdogcow  eval "$as_ac_Header=\$ac_header_preproc"
39361.6Stvfi
39371.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39381.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39391.53Sdogcow
39401.53Sdogcowfi
39411.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
39421.53Sdogcow  cat >>confdefs.h <<_ACEOF
39431.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39441.53Sdogcow_ACEOF
39451.6Stv
39461.6Stvfi
39471.53Sdogcow
39481.6Stvdone
39491.6Stv
39501.53Sdogcow
39511.53Sdogcow
39521.53Sdogcow
39531.53Sdogcow
39541.53Sdogcow
39551.53Sdogcow
39561.53Sdogcow
39571.53Sdogcow
39581.53Sdogcow
39591.53Sdogcow
39601.53Sdogcow
39611.54Swizfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h sys/endian.h \
39621.54Swiz	sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
39631.7Stvdo
39641.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39651.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
39661.53Sdogcow  echo "$as_me:$LINENO: checking for $ac_header" >&5
39671.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39681.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
39691.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39701.53Sdogcowfi
39711.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39721.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39731.53Sdogcowelse
39741.53Sdogcow  # Is the header compilable?
39751.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5
39761.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39771.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
39781.53Sdogcow/* confdefs.h.  */
39791.53Sdogcow_ACEOF
39801.53Sdogcowcat confdefs.h >>conftest.$ac_ext
39811.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
39821.53Sdogcow/* end confdefs.h.  */
39831.53Sdogcow$ac_includes_default
39841.53Sdogcow#include <$ac_header>
39851.53Sdogcow_ACEOF
39861.53Sdogcowrm -f conftest.$ac_objext
39871.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39881.53Sdogcow  (eval $ac_compile) 2>conftest.er1
39891.53Sdogcow  ac_status=$?
39901.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
39911.53Sdogcow  rm -f conftest.er1
39921.53Sdogcow  cat conftest.err >&5
39931.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941.53Sdogcow  (exit $ac_status); } &&
39951.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
39961.53Sdogcow			 || test ! -s conftest.err'
39971.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39981.53Sdogcow  (eval $ac_try) 2>&5
39991.53Sdogcow  ac_status=$?
40001.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011.53Sdogcow  (exit $ac_status); }; } &&
40021.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
40031.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40041.53Sdogcow  (eval $ac_try) 2>&5
40051.53Sdogcow  ac_status=$?
40061.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071.53Sdogcow  (exit $ac_status); }; }; then
40081.53Sdogcow  ac_header_compiler=yes
40091.39Sfredbelse
40101.53Sdogcow  echo "$as_me: failed program was:" >&5
40111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
40121.53Sdogcow
40131.53Sdogcowac_header_compiler=no
40141.53Sdogcowfi
40151.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40161.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
40171.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6
40181.53Sdogcow
40191.53Sdogcow# Is the header present?
40201.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5
40211.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40221.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
40231.53Sdogcow/* confdefs.h.  */
40241.53Sdogcow_ACEOF
40251.53Sdogcowcat confdefs.h >>conftest.$ac_ext
40261.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
40271.53Sdogcow/* end confdefs.h.  */
40281.7Stv#include <$ac_header>
40291.7Stv_ACEOF
40301.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40311.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40321.7Stv  ac_status=$?
40331.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
40341.7Stv  rm -f conftest.er1
40351.7Stv  cat conftest.err >&5
40361.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371.7Stv  (exit $ac_status); } >/dev/null; then
40381.7Stv  if test -s conftest.err; then
40391.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
40401.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40411.7Stv  else
40421.7Stv    ac_cpp_err=
40431.7Stv  fi
40441.7Stvelse
40451.7Stv  ac_cpp_err=yes
40461.7Stvfi
40471.7Stvif test -z "$ac_cpp_err"; then
40481.53Sdogcow  ac_header_preproc=yes
40491.7Stvelse
40501.7Stv  echo "$as_me: failed program was:" >&5
40511.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
40521.53Sdogcow
40531.53Sdogcow  ac_header_preproc=no
40541.43Sdbjfi
40551.43Sdbjrm -f conftest.err conftest.$ac_ext
40561.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
40571.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6
40581.53Sdogcow
40591.53Sdogcow# So?  What about this header?
40601.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40611.53Sdogcow  yes:no: )
40621.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40631.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40641.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40651.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40661.53Sdogcow    ac_header_preproc=yes
40671.53Sdogcow    ;;
40681.53Sdogcow  no:yes:* )
40691.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40701.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40711.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40721.53Sdogcowecho "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40731.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40741.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40751.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40761.53Sdogcowecho "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40771.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40781.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40791.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40801.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40811.53Sdogcow    (
40821.53Sdogcow      cat <<\_ASBOX
40831.53Sdogcow## ---------------------------------------- ##
40841.53Sdogcow## Report this to lib-bug-people@NetBSD.org ##
40851.53Sdogcow## ---------------------------------------- ##
40861.53Sdogcow_ASBOX
40871.53Sdogcow    ) |
40881.53Sdogcow      sed "s/^/$as_me: WARNING:     /" >&2
40891.53Sdogcow    ;;
40901.53Sdogcowesac
40911.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5
40921.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40931.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
40941.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
40951.53Sdogcowelse
40961.53Sdogcow  eval "$as_ac_Header=\$ac_header_preproc"
40971.43Sdbjfi
40981.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40991.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41001.53Sdogcow
41011.53Sdogcowfi
41021.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
41031.53Sdogcow  cat >>confdefs.h <<_ACEOF
41041.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41051.53Sdogcow_ACEOF
41061.39Sfredb
41071.43Sdbjelse
41081.53Sdogcow  test -f include/$ac_header || touch include/$ac_header
41091.7Stvfi
41101.53Sdogcow
41111.52Sdbjdone
41121.52Sdbj
41131.52Sdbj
41141.53Sdogcow
41151.53Sdogcowfor ac_header in rpc/types.h netconfig.h
41161.52Sdbjdo
41171.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41181.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
41191.53Sdogcow  echo "$as_me:$LINENO: checking for $ac_header" >&5
41201.52Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41211.52Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
41221.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
41231.53Sdogcowfi
41241.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41251.53Sdogcowecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41261.52Sdbjelse
41271.53Sdogcow  # Is the header compilable?
41281.53Sdogcowecho "$as_me:$LINENO: checking $ac_header usability" >&5
41291.53Sdogcowecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41301.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
41311.53Sdogcow/* confdefs.h.  */
41321.53Sdogcow_ACEOF
41331.53Sdogcowcat confdefs.h >>conftest.$ac_ext
41341.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
41351.53Sdogcow/* end confdefs.h.  */
41361.52Sdbj$ac_includes_default
41371.52Sdbj#include <$ac_header>
41381.52Sdbj_ACEOF
41391.52Sdbjrm -f conftest.$ac_objext
41401.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41411.53Sdogcow  (eval $ac_compile) 2>conftest.er1
41421.52Sdbj  ac_status=$?
41431.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
41441.53Sdogcow  rm -f conftest.er1
41451.53Sdogcow  cat conftest.err >&5
41461.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471.52Sdbj  (exit $ac_status); } &&
41481.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
41491.53Sdogcow			 || test ! -s conftest.err'
41501.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41511.53Sdogcow  (eval $ac_try) 2>&5
41521.53Sdogcow  ac_status=$?
41531.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541.53Sdogcow  (exit $ac_status); }; } &&
41551.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
41561.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571.52Sdbj  (eval $ac_try) 2>&5
41581.52Sdbj  ac_status=$?
41591.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601.52Sdbj  (exit $ac_status); }; }; then
41611.53Sdogcow  ac_header_compiler=yes
41621.53Sdogcowelse
41631.53Sdogcow  echo "$as_me: failed program was:" >&5
41641.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
41651.53Sdogcow
41661.53Sdogcowac_header_compiler=no
41671.53Sdogcowfi
41681.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41691.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
41701.53Sdogcowecho "${ECHO_T}$ac_header_compiler" >&6
41711.53Sdogcow
41721.53Sdogcow# Is the header present?
41731.53Sdogcowecho "$as_me:$LINENO: checking $ac_header presence" >&5
41741.53Sdogcowecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41751.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
41761.53Sdogcow/* confdefs.h.  */
41771.53Sdogcow_ACEOF
41781.53Sdogcowcat confdefs.h >>conftest.$ac_ext
41791.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
41801.53Sdogcow/* end confdefs.h.  */
41811.53Sdogcow#include <$ac_header>
41821.53Sdogcow_ACEOF
41831.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41841.53Sdogcow  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41851.53Sdogcow  ac_status=$?
41861.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
41871.53Sdogcow  rm -f conftest.er1
41881.53Sdogcow  cat conftest.err >&5
41891.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901.53Sdogcow  (exit $ac_status); } >/dev/null; then
41911.53Sdogcow  if test -s conftest.err; then
41921.53Sdogcow    ac_cpp_err=$ac_c_preproc_warn_flag
41931.53Sdogcow    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41941.53Sdogcow  else
41951.53Sdogcow    ac_cpp_err=
41961.53Sdogcow  fi
41971.53Sdogcowelse
41981.53Sdogcow  ac_cpp_err=yes
41991.53Sdogcowfi
42001.53Sdogcowif test -z "$ac_cpp_err"; then
42011.53Sdogcow  ac_header_preproc=yes
42021.52Sdbjelse
42031.52Sdbj  echo "$as_me: failed program was:" >&5
42041.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
42051.53Sdogcow
42061.53Sdogcow  ac_header_preproc=no
42071.52Sdbjfi
42081.53Sdogcowrm -f conftest.err conftest.$ac_ext
42091.53Sdogcowecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
42101.53Sdogcowecho "${ECHO_T}$ac_header_preproc" >&6
42111.53Sdogcow
42121.53Sdogcow# So?  What about this header?
42131.53Sdogcowcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42141.53Sdogcow  yes:no: )
42151.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42161.53Sdogcowecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42171.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42181.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42191.53Sdogcow    ac_header_preproc=yes
42201.53Sdogcow    ;;
42211.53Sdogcow  no:yes:* )
42221.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42231.53Sdogcowecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42241.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42251.53Sdogcowecho "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42261.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42271.53Sdogcowecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42281.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42291.53Sdogcowecho "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42301.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42311.53Sdogcowecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42321.53Sdogcow    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42331.53Sdogcowecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42341.53Sdogcow    (
42351.53Sdogcow      cat <<\_ASBOX
42361.53Sdogcow## ---------------------------------------- ##
42371.53Sdogcow## Report this to lib-bug-people@NetBSD.org ##
42381.53Sdogcow## ---------------------------------------- ##
42391.53Sdogcow_ASBOX
42401.53Sdogcow    ) |
42411.53Sdogcow      sed "s/^/$as_me: WARNING:     /" >&2
42421.53Sdogcow    ;;
42431.53Sdogcowesac
42441.53Sdogcowecho "$as_me:$LINENO: checking for $ac_header" >&5
42451.53Sdogcowecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42461.53Sdogcowif eval "test \"\${$as_ac_Header+set}\" = set"; then
42471.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
42481.53Sdogcowelse
42491.53Sdogcow  eval "$as_ac_Header=\$ac_header_preproc"
42501.52Sdbjfi
42511.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42521.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42531.53Sdogcow
42541.53Sdogcowfi
42551.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
42561.53Sdogcow  cat >>confdefs.h <<_ACEOF
42571.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42581.53Sdogcow_ACEOF
42591.48Sjmc
42601.53Sdogcowelse
42611.53Sdogcow  echo '#include "nbtool_config.h"' >include/$ac_header.new
42621.53Sdogcow	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
42631.53Sdogcow	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
42641.53Sdogcow		rm -f include/$ac_header.new
42651.53Sdogcow	else
42661.53Sdogcow		mv -f include/$ac_header.new include/$ac_header
42671.53Sdogcow	fi
42681.52Sdbjfi
42691.53Sdogcow
42701.43Sdbjdone
42711.43Sdbj
42721.53Sdogcow
42731.53Sdogcow# Typedefs.
42741.53Sdogcowecho "$as_me:$LINENO: checking for size_t" >&5
42751.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
42761.6Stvif test "${ac_cv_type_size_t+set}" = set; then
42771.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
42781.6Stvelse
42791.6Stv  cat >conftest.$ac_ext <<_ACEOF
42801.53Sdogcow/* confdefs.h.  */
42811.53Sdogcow_ACEOF
42821.53Sdogcowcat confdefs.h >>conftest.$ac_ext
42831.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
42841.53Sdogcow/* end confdefs.h.  */
42851.6Stv$ac_includes_default
42861.6Stvint
42871.6Stvmain ()
42881.6Stv{
42891.6Stvif ((size_t *) 0)
42901.6Stv  return 0;
42911.6Stvif (sizeof (size_t))
42921.6Stv  return 0;
42931.6Stv  ;
42941.6Stv  return 0;
42951.6Stv}
42961.6Stv_ACEOF
42971.6Stvrm -f conftest.$ac_objext
42981.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42991.53Sdogcow  (eval $ac_compile) 2>conftest.er1
43001.6Stv  ac_status=$?
43011.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
43021.53Sdogcow  rm -f conftest.er1
43031.53Sdogcow  cat conftest.err >&5
43041.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051.6Stv  (exit $ac_status); } &&
43061.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
43071.53Sdogcow			 || test ! -s conftest.err'
43081.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091.6Stv  (eval $ac_try) 2>&5
43101.6Stv  ac_status=$?
43111.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121.53Sdogcow  (exit $ac_status); }; } &&
43131.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
43141.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151.53Sdogcow  (eval $ac_try) 2>&5
43161.53Sdogcow  ac_status=$?
43171.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181.6Stv  (exit $ac_status); }; }; then
43191.6Stv  ac_cv_type_size_t=yes
43201.6Stvelse
43211.6Stv  echo "$as_me: failed program was:" >&5
43221.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
43231.53Sdogcow
43241.6Stvac_cv_type_size_t=no
43251.6Stvfi
43261.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43271.6Stvfi
43281.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
43291.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
43301.6Stvif test $ac_cv_type_size_t = yes; then
43311.6Stv  :
43321.6Stvelse
43331.6Stv
43341.53Sdogcowcat >>confdefs.h <<_ACEOF
43351.6Stv#define size_t unsigned
43361.53Sdogcow_ACEOF
43371.6Stv
43381.6Stvfi
43391.6Stv
43401.53Sdogcowecho "$as_me:$LINENO: checking for id_t" >&5
43411.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
43421.6Stvif test "${ac_cv_type_id_t+set}" = set; then
43431.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43441.6Stvelse
43451.6Stv  cat >conftest.$ac_ext <<_ACEOF
43461.53Sdogcow/* confdefs.h.  */
43471.53Sdogcow_ACEOF
43481.53Sdogcowcat confdefs.h >>conftest.$ac_ext
43491.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
43501.53Sdogcow/* end confdefs.h.  */
43511.6Stv$ac_includes_default
43521.6Stvint
43531.6Stvmain ()
43541.6Stv{
43551.6Stvif ((id_t *) 0)
43561.6Stv  return 0;
43571.6Stvif (sizeof (id_t))
43581.6Stv  return 0;
43591.6Stv  ;
43601.6Stv  return 0;
43611.6Stv}
43621.6Stv_ACEOF
43631.6Stvrm -f conftest.$ac_objext
43641.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43651.53Sdogcow  (eval $ac_compile) 2>conftest.er1
43661.6Stv  ac_status=$?
43671.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
43681.53Sdogcow  rm -f conftest.er1
43691.53Sdogcow  cat conftest.err >&5
43701.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711.6Stv  (exit $ac_status); } &&
43721.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
43731.53Sdogcow			 || test ! -s conftest.err'
43741.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43751.50Sjmc  (eval $ac_try) 2>&5
43761.50Sjmc  ac_status=$?
43771.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781.53Sdogcow  (exit $ac_status); }; } &&
43791.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
43801.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43811.53Sdogcow  (eval $ac_try) 2>&5
43821.53Sdogcow  ac_status=$?
43831.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841.6Stv  (exit $ac_status); }; }; then
43851.6Stv  ac_cv_type_id_t=yes
43861.6Stvelse
43871.6Stv  echo "$as_me: failed program was:" >&5
43881.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
43891.53Sdogcow
43901.6Stvac_cv_type_id_t=no
43911.6Stvfi
43921.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43931.6Stvfi
43941.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
43951.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
43961.6Stvif test $ac_cv_type_id_t = yes; then
43971.6Stv
43981.53Sdogcowcat >>confdefs.h <<_ACEOF
43991.6Stv#define HAVE_ID_T 1
44001.53Sdogcow_ACEOF
44011.53Sdogcow
44021.6Stv
44031.6Stvfi
44041.53Sdogcowecho "$as_me:$LINENO: checking for long long" >&5
44051.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
44061.6Stvif test "${ac_cv_type_long_long+set}" = set; then
44071.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44081.6Stvelse
44091.6Stv  cat >conftest.$ac_ext <<_ACEOF
44101.53Sdogcow/* confdefs.h.  */
44111.53Sdogcow_ACEOF
44121.53Sdogcowcat confdefs.h >>conftest.$ac_ext
44131.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
44141.53Sdogcow/* end confdefs.h.  */
44151.6Stv$ac_includes_default
44161.6Stvint
44171.6Stvmain ()
44181.6Stv{
44191.6Stvif ((long long *) 0)
44201.6Stv  return 0;
44211.6Stvif (sizeof (long long))
44221.6Stv  return 0;
44231.6Stv  ;
44241.6Stv  return 0;
44251.6Stv}
44261.6Stv_ACEOF
44271.6Stvrm -f conftest.$ac_objext
44281.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44291.53Sdogcow  (eval $ac_compile) 2>conftest.er1
44301.6Stv  ac_status=$?
44311.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
44321.53Sdogcow  rm -f conftest.er1
44331.53Sdogcow  cat conftest.err >&5
44341.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351.6Stv  (exit $ac_status); } &&
44361.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
44371.53Sdogcow			 || test ! -s conftest.err'
44381.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44391.53Sdogcow  (eval $ac_try) 2>&5
44401.53Sdogcow  ac_status=$?
44411.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421.53Sdogcow  (exit $ac_status); }; } &&
44431.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
44441.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44451.48Sjmc  (eval $ac_try) 2>&5
44461.48Sjmc  ac_status=$?
44471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481.6Stv  (exit $ac_status); }; }; then
44491.6Stv  ac_cv_type_long_long=yes
44501.6Stvelse
44511.6Stv  echo "$as_me: failed program was:" >&5
44521.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
44531.53Sdogcow
44541.6Stvac_cv_type_long_long=no
44551.6Stvfi
44561.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44571.6Stvfi
44581.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
44591.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
44601.6Stvif test $ac_cv_type_long_long = yes; then
44611.6Stv
44621.53Sdogcowcat >>confdefs.h <<_ACEOF
44631.52Sdbj#define HAVE_LONG_LONG 1
44641.53Sdogcow_ACEOF
44651.53Sdogcow
44661.6Stv
44671.6Stvfi
44681.53Sdogcowecho "$as_me:$LINENO: checking for u_long" >&5
44691.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
44701.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
44711.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
44721.38Sfredbelse
44731.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
44741.53Sdogcow/* confdefs.h.  */
44751.53Sdogcow_ACEOF
44761.53Sdogcowcat confdefs.h >>conftest.$ac_ext
44771.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
44781.53Sdogcow/* end confdefs.h.  */
44791.38Sfredb$ac_includes_default
44801.38Sfredbint
44811.38Sfredbmain ()
44821.38Sfredb{
44831.38Sfredbif ((u_long *) 0)
44841.38Sfredb  return 0;
44851.38Sfredbif (sizeof (u_long))
44861.38Sfredb  return 0;
44871.38Sfredb  ;
44881.38Sfredb  return 0;
44891.38Sfredb}
44901.38Sfredb_ACEOF
44911.38Sfredbrm -f conftest.$ac_objext
44921.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44931.53Sdogcow  (eval $ac_compile) 2>conftest.er1
44941.38Sfredb  ac_status=$?
44951.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
44961.53Sdogcow  rm -f conftest.er1
44971.53Sdogcow  cat conftest.err >&5
44981.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991.38Sfredb  (exit $ac_status); } &&
45001.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
45011.53Sdogcow			 || test ! -s conftest.err'
45021.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45031.53Sdogcow  (eval $ac_try) 2>&5
45041.53Sdogcow  ac_status=$?
45051.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061.53Sdogcow  (exit $ac_status); }; } &&
45071.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
45081.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45091.38Sfredb  (eval $ac_try) 2>&5
45101.38Sfredb  ac_status=$?
45111.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121.38Sfredb  (exit $ac_status); }; }; then
45131.38Sfredb  ac_cv_type_u_long=yes
45141.38Sfredbelse
45151.38Sfredb  echo "$as_me: failed program was:" >&5
45161.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
45171.53Sdogcow
45181.38Sfredbac_cv_type_u_long=no
45191.38Sfredbfi
45201.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45211.38Sfredbfi
45221.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5
45231.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
45241.38Sfredbif test $ac_cv_type_u_long = yes; then
45251.38Sfredb
45261.53Sdogcowcat >>confdefs.h <<_ACEOF
45271.38Sfredb#define HAVE_U_LONG 1
45281.53Sdogcow_ACEOF
45291.53Sdogcow
45301.39Sfredb
45311.38Sfredbfi
45321.53Sdogcowecho "$as_me:$LINENO: checking for u_char" >&5
45331.45Sjmcecho $ECHO_N "checking for u_char... $ECHO_C" >&6
45341.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then
45351.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
45361.45Sjmcelse
45371.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
45381.53Sdogcow/* confdefs.h.  */
45391.53Sdogcow_ACEOF
45401.53Sdogcowcat confdefs.h >>conftest.$ac_ext
45411.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
45421.53Sdogcow/* end confdefs.h.  */
45431.45Sjmc$ac_includes_default
45441.45Sjmcint
45451.45Sjmcmain ()
45461.45Sjmc{
45471.45Sjmcif ((u_char *) 0)
45481.45Sjmc  return 0;
45491.45Sjmcif (sizeof (u_char))
45501.45Sjmc  return 0;
45511.45Sjmc  ;
45521.45Sjmc  return 0;
45531.45Sjmc}
45541.45Sjmc_ACEOF
45551.45Sjmcrm -f conftest.$ac_objext
45561.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45571.53Sdogcow  (eval $ac_compile) 2>conftest.er1
45581.45Sjmc  ac_status=$?
45591.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
45601.53Sdogcow  rm -f conftest.er1
45611.53Sdogcow  cat conftest.err >&5
45621.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631.45Sjmc  (exit $ac_status); } &&
45641.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
45651.53Sdogcow			 || test ! -s conftest.err'
45661.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45671.53Sdogcow  (eval $ac_try) 2>&5
45681.53Sdogcow  ac_status=$?
45691.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701.53Sdogcow  (exit $ac_status); }; } &&
45711.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
45721.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45731.48Sjmc  (eval $ac_try) 2>&5
45741.48Sjmc  ac_status=$?
45751.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45761.45Sjmc  (exit $ac_status); }; }; then
45771.45Sjmc  ac_cv_type_u_char=yes
45781.45Sjmcelse
45791.45Sjmc  echo "$as_me: failed program was:" >&5
45801.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
45811.53Sdogcow
45821.45Sjmcac_cv_type_u_char=no
45831.45Sjmcfi
45841.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45851.45Sjmcfi
45861.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5
45871.45Sjmcecho "${ECHO_T}$ac_cv_type_u_char" >&6
45881.45Sjmcif test $ac_cv_type_u_char = yes; then
45891.45Sjmc
45901.53Sdogcowcat >>confdefs.h <<_ACEOF
45911.45Sjmc#define HAVE_U_CHAR 1
45921.53Sdogcow_ACEOF
45931.53Sdogcow
45941.45Sjmc
45951.45Sjmcfi
45961.53Sdogcowecho "$as_me:$LINENO: checking for u_short" >&5
45971.45Sjmcecho $ECHO_N "checking for u_short... $ECHO_C" >&6
45981.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then
45991.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
46001.45Sjmcelse
46011.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
46021.53Sdogcow/* confdefs.h.  */
46031.53Sdogcow_ACEOF
46041.53Sdogcowcat confdefs.h >>conftest.$ac_ext
46051.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
46061.53Sdogcow/* end confdefs.h.  */
46071.45Sjmc$ac_includes_default
46081.45Sjmcint
46091.45Sjmcmain ()
46101.45Sjmc{
46111.45Sjmcif ((u_short *) 0)
46121.45Sjmc  return 0;
46131.45Sjmcif (sizeof (u_short))
46141.45Sjmc  return 0;
46151.45Sjmc  ;
46161.45Sjmc  return 0;
46171.45Sjmc}
46181.45Sjmc_ACEOF
46191.45Sjmcrm -f conftest.$ac_objext
46201.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46211.53Sdogcow  (eval $ac_compile) 2>conftest.er1
46221.45Sjmc  ac_status=$?
46231.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
46241.53Sdogcow  rm -f conftest.er1
46251.53Sdogcow  cat conftest.err >&5
46261.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46271.45Sjmc  (exit $ac_status); } &&
46281.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
46291.53Sdogcow			 || test ! -s conftest.err'
46301.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46311.45Sjmc  (eval $ac_try) 2>&5
46321.45Sjmc  ac_status=$?
46331.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341.53Sdogcow  (exit $ac_status); }; } &&
46351.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
46361.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46371.53Sdogcow  (eval $ac_try) 2>&5
46381.53Sdogcow  ac_status=$?
46391.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401.45Sjmc  (exit $ac_status); }; }; then
46411.45Sjmc  ac_cv_type_u_short=yes
46421.45Sjmcelse
46431.45Sjmc  echo "$as_me: failed program was:" >&5
46441.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
46451.53Sdogcow
46461.45Sjmcac_cv_type_u_short=no
46471.45Sjmcfi
46481.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46491.45Sjmcfi
46501.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_short" >&5
46511.45Sjmcecho "${ECHO_T}$ac_cv_type_u_short" >&6
46521.45Sjmcif test $ac_cv_type_u_short = yes; then
46531.45Sjmc
46541.53Sdogcowcat >>confdefs.h <<_ACEOF
46551.45Sjmc#define HAVE_U_SHORT 1
46561.53Sdogcow_ACEOF
46571.53Sdogcow
46581.45Sjmc
46591.45Sjmcfi
46601.53Sdogcowecho "$as_me:$LINENO: checking for u_int" >&5
46611.45Sjmcecho $ECHO_N "checking for u_int... $ECHO_C" >&6
46621.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then
46631.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
46641.45Sjmcelse
46651.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
46661.53Sdogcow/* confdefs.h.  */
46671.53Sdogcow_ACEOF
46681.53Sdogcowcat confdefs.h >>conftest.$ac_ext
46691.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
46701.53Sdogcow/* end confdefs.h.  */
46711.45Sjmc$ac_includes_default
46721.45Sjmcint
46731.45Sjmcmain ()
46741.45Sjmc{
46751.45Sjmcif ((u_int *) 0)
46761.45Sjmc  return 0;
46771.45Sjmcif (sizeof (u_int))
46781.45Sjmc  return 0;
46791.45Sjmc  ;
46801.45Sjmc  return 0;
46811.45Sjmc}
46821.45Sjmc_ACEOF
46831.45Sjmcrm -f conftest.$ac_objext
46841.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46851.53Sdogcow  (eval $ac_compile) 2>conftest.er1
46861.45Sjmc  ac_status=$?
46871.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
46881.53Sdogcow  rm -f conftest.er1
46891.53Sdogcow  cat conftest.err >&5
46901.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46911.45Sjmc  (exit $ac_status); } &&
46921.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
46931.53Sdogcow			 || test ! -s conftest.err'
46941.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46951.53Sdogcow  (eval $ac_try) 2>&5
46961.53Sdogcow  ac_status=$?
46971.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981.53Sdogcow  (exit $ac_status); }; } &&
46991.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
47001.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47011.50Sjmc  (eval $ac_try) 2>&5
47021.50Sjmc  ac_status=$?
47031.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47041.45Sjmc  (exit $ac_status); }; }; then
47051.45Sjmc  ac_cv_type_u_int=yes
47061.45Sjmcelse
47071.45Sjmc  echo "$as_me: failed program was:" >&5
47081.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
47091.53Sdogcow
47101.45Sjmcac_cv_type_u_int=no
47111.45Sjmcfi
47121.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47131.45Sjmcfi
47141.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int" >&5
47151.45Sjmcecho "${ECHO_T}$ac_cv_type_u_int" >&6
47161.45Sjmcif test $ac_cv_type_u_int = yes; then
47171.45Sjmc
47181.53Sdogcowcat >>confdefs.h <<_ACEOF
47191.45Sjmc#define HAVE_U_INT 1
47201.53Sdogcow_ACEOF
47211.53Sdogcow
47221.45Sjmc
47231.45Sjmcfi
47241.53Sdogcowecho "$as_me:$LINENO: checking for u_quad_t" >&5
47251.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
47261.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
47271.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47281.7Stvelse
47291.7Stv  cat >conftest.$ac_ext <<_ACEOF
47301.53Sdogcow/* confdefs.h.  */
47311.53Sdogcow_ACEOF
47321.53Sdogcowcat confdefs.h >>conftest.$ac_ext
47331.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
47341.53Sdogcow/* end confdefs.h.  */
47351.7Stv$ac_includes_default
47361.7Stvint
47371.7Stvmain ()
47381.7Stv{
47391.7Stvif ((u_quad_t *) 0)
47401.7Stv  return 0;
47411.7Stvif (sizeof (u_quad_t))
47421.7Stv  return 0;
47431.7Stv  ;
47441.7Stv  return 0;
47451.7Stv}
47461.7Stv_ACEOF
47471.7Stvrm -f conftest.$ac_objext
47481.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47491.53Sdogcow  (eval $ac_compile) 2>conftest.er1
47501.7Stv  ac_status=$?
47511.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
47521.53Sdogcow  rm -f conftest.er1
47531.53Sdogcow  cat conftest.err >&5
47541.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551.7Stv  (exit $ac_status); } &&
47561.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
47571.53Sdogcow			 || test ! -s conftest.err'
47581.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47591.53Sdogcow  (eval $ac_try) 2>&5
47601.53Sdogcow  ac_status=$?
47611.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621.53Sdogcow  (exit $ac_status); }; } &&
47631.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
47641.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47651.48Sjmc  (eval $ac_try) 2>&5
47661.48Sjmc  ac_status=$?
47671.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681.7Stv  (exit $ac_status); }; }; then
47691.7Stv  ac_cv_type_u_quad_t=yes
47701.7Stvelse
47711.7Stv  echo "$as_me: failed program was:" >&5
47721.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
47731.53Sdogcow
47741.7Stvac_cv_type_u_quad_t=no
47751.7Stvfi
47761.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47771.7Stvfi
47781.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
47791.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
47801.7Stvif test $ac_cv_type_u_quad_t = yes; then
47811.7Stv
47821.53Sdogcowcat >>confdefs.h <<_ACEOF
47831.7Stv#define HAVE_U_QUAD_T 1
47841.53Sdogcow_ACEOF
47851.53Sdogcow
47861.7Stv
47871.7Stvfi
47881.35Sthorpej
47891.53Sdogcowecho "$as_me:$LINENO: checking for socklen_t" >&5
47901.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
47911.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
47921.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
47931.34Sthorpejelse
47941.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
47951.53Sdogcow/* confdefs.h.  */
47961.53Sdogcow_ACEOF
47971.53Sdogcowcat confdefs.h >>conftest.$ac_ext
47981.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
47991.53Sdogcow/* end confdefs.h.  */
48001.35Sthorpej#include <sys/types.h>
48011.35Sthorpej#include <sys/socket.h>
48021.35Sthorpej
48031.34Sthorpejint
48041.34Sthorpejmain ()
48051.34Sthorpej{
48061.34Sthorpejif ((socklen_t *) 0)
48071.34Sthorpej  return 0;
48081.34Sthorpejif (sizeof (socklen_t))
48091.34Sthorpej  return 0;
48101.34Sthorpej  ;
48111.34Sthorpej  return 0;
48121.34Sthorpej}
48131.34Sthorpej_ACEOF
48141.34Sthorpejrm -f conftest.$ac_objext
48151.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48161.53Sdogcow  (eval $ac_compile) 2>conftest.er1
48171.34Sthorpej  ac_status=$?
48181.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
48191.53Sdogcow  rm -f conftest.er1
48201.53Sdogcow  cat conftest.err >&5
48211.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48221.34Sthorpej  (exit $ac_status); } &&
48231.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
48241.53Sdogcow			 || test ! -s conftest.err'
48251.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48261.53Sdogcow  (eval $ac_try) 2>&5
48271.53Sdogcow  ac_status=$?
48281.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291.53Sdogcow  (exit $ac_status); }; } &&
48301.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
48311.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48321.34Sthorpej  (eval $ac_try) 2>&5
48331.34Sthorpej  ac_status=$?
48341.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48351.34Sthorpej  (exit $ac_status); }; }; then
48361.34Sthorpej  ac_cv_type_socklen_t=yes
48371.34Sthorpejelse
48381.34Sthorpej  echo "$as_me: failed program was:" >&5
48391.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
48401.53Sdogcow
48411.34Sthorpejac_cv_type_socklen_t=no
48421.34Sthorpejfi
48431.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48441.34Sthorpejfi
48451.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
48461.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
48471.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
48481.54Swiz
48491.54Swizcat >>confdefs.h <<\_ACEOF
48501.34Sthorpej#define HAVE_SOCKLEN_T 1
48511.53Sdogcow_ACEOF
48521.34Sthorpej
48531.34Sthorpejfi
48541.34Sthorpej
48551.53Sdogcow
48561.53Sdogcow
48571.53Sdogcow
48581.53Sdogcow
48591.53Sdogcow	echo "$as_me:$LINENO: checking for uint8_t" >&5
48601.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
48611.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
48621.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48631.6Stvelse
48641.6Stv  cat >conftest.$ac_ext <<_ACEOF
48651.53Sdogcow/* confdefs.h.  */
48661.53Sdogcow_ACEOF
48671.53Sdogcowcat confdefs.h >>conftest.$ac_ext
48681.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
48691.53Sdogcow/* end confdefs.h.  */
48701.6Stv$ac_includes_default
48711.6Stvint
48721.6Stvmain ()
48731.6Stv{
48741.9Stvif ((uint8_t *) 0)
48751.6Stv  return 0;
48761.9Stvif (sizeof (uint8_t))
48771.6Stv  return 0;
48781.6Stv  ;
48791.6Stv  return 0;
48801.6Stv}
48811.6Stv_ACEOF
48821.6Stvrm -f conftest.$ac_objext
48831.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48841.53Sdogcow  (eval $ac_compile) 2>conftest.er1
48851.6Stv  ac_status=$?
48861.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
48871.53Sdogcow  rm -f conftest.er1
48881.53Sdogcow  cat conftest.err >&5
48891.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901.6Stv  (exit $ac_status); } &&
48911.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
48921.53Sdogcow			 || test ! -s conftest.err'
48931.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48941.53Sdogcow  (eval $ac_try) 2>&5
48951.53Sdogcow  ac_status=$?
48961.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971.53Sdogcow  (exit $ac_status); }; } &&
48981.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
48991.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49001.6Stv  (eval $ac_try) 2>&5
49011.6Stv  ac_status=$?
49021.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031.6Stv  (exit $ac_status); }; }; then
49041.9Stv  ac_cv_type_uint8_t=yes
49051.9Stvelse
49061.9Stv  echo "$as_me: failed program was:" >&5
49071.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
49081.53Sdogcow
49091.9Stvac_cv_type_uint8_t=no
49101.9Stvfi
49111.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49121.9Stvfi
49131.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
49141.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
49151.9Stvif test $ac_cv_type_uint8_t = yes; then
49161.9Stv  :
49171.9Stvelse
49181.9Stv
49191.53Sdogcow		echo "$as_me:$LINENO: checking for u_int8_t" >&5
49201.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
49211.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
49221.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
49231.9Stvelse
49241.9Stv  cat >conftest.$ac_ext <<_ACEOF
49251.53Sdogcow/* confdefs.h.  */
49261.53Sdogcow_ACEOF
49271.53Sdogcowcat confdefs.h >>conftest.$ac_ext
49281.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
49291.53Sdogcow/* end confdefs.h.  */
49301.9Stv$ac_includes_default
49311.9Stvint
49321.9Stvmain ()
49331.9Stv{
49341.9Stvif ((u_int8_t *) 0)
49351.9Stv  return 0;
49361.9Stvif (sizeof (u_int8_t))
49371.9Stv  return 0;
49381.9Stv  ;
49391.9Stv  return 0;
49401.9Stv}
49411.9Stv_ACEOF
49421.9Stvrm -f conftest.$ac_objext
49431.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49441.53Sdogcow  (eval $ac_compile) 2>conftest.er1
49451.9Stv  ac_status=$?
49461.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
49471.53Sdogcow  rm -f conftest.er1
49481.53Sdogcow  cat conftest.err >&5
49491.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501.9Stv  (exit $ac_status); } &&
49511.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
49521.53Sdogcow			 || test ! -s conftest.err'
49531.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49541.53Sdogcow  (eval $ac_try) 2>&5
49551.53Sdogcow  ac_status=$?
49561.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49571.53Sdogcow  (exit $ac_status); }; } &&
49581.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
49591.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49601.48Sjmc  (eval $ac_try) 2>&5
49611.48Sjmc  ac_status=$?
49621.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49631.9Stv  (exit $ac_status); }; }; then
49641.6Stv  ac_cv_type_u_int8_t=yes
49651.6Stvelse
49661.6Stv  echo "$as_me: failed program was:" >&5
49671.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
49681.53Sdogcow
49691.6Stvac_cv_type_u_int8_t=no
49701.6Stvfi
49711.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49721.6Stvfi
49731.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
49741.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
49751.9Stvif test $ac_cv_type_u_int8_t = yes; then
49761.54Swiz
49771.54Swizcat >>confdefs.h <<\_ACEOF
49781.9Stv#define uint8_t u_int8_t
49791.53Sdogcow_ACEOF
49801.9Stv
49811.9Stvelse
49821.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint8_t" >&5
49831.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
49841.9Stv   { (exit 1); exit 1; }; }
49851.9Stvfi
49861.9Stv
49871.53Sdogcow
49881.9Stvfi
49891.9Stv
49901.53Sdogcow	echo "$as_me:$LINENO: checking for u_int8_t" >&5
49911.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
49921.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
49931.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
49941.9Stvelse
49951.9Stv  cat >conftest.$ac_ext <<_ACEOF
49961.53Sdogcow/* confdefs.h.  */
49971.53Sdogcow_ACEOF
49981.53Sdogcowcat confdefs.h >>conftest.$ac_ext
49991.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
50001.53Sdogcow/* end confdefs.h.  */
50011.9Stv$ac_includes_default
50021.9Stvint
50031.9Stvmain ()
50041.9Stv{
50051.9Stvif ((u_int8_t *) 0)
50061.9Stv  return 0;
50071.9Stvif (sizeof (u_int8_t))
50081.9Stv  return 0;
50091.9Stv  ;
50101.9Stv  return 0;
50111.9Stv}
50121.9Stv_ACEOF
50131.9Stvrm -f conftest.$ac_objext
50141.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50151.53Sdogcow  (eval $ac_compile) 2>conftest.er1
50161.9Stv  ac_status=$?
50171.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
50181.53Sdogcow  rm -f conftest.er1
50191.53Sdogcow  cat conftest.err >&5
50201.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211.9Stv  (exit $ac_status); } &&
50221.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
50231.53Sdogcow			 || test ! -s conftest.err'
50241.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50251.53Sdogcow  (eval $ac_try) 2>&5
50261.53Sdogcow  ac_status=$?
50271.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50281.53Sdogcow  (exit $ac_status); }; } &&
50291.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
50301.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50311.9Stv  (eval $ac_try) 2>&5
50321.9Stv  ac_status=$?
50331.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341.9Stv  (exit $ac_status); }; }; then
50351.9Stv  ac_cv_type_u_int8_t=yes
50361.9Stvelse
50371.9Stv  echo "$as_me: failed program was:" >&5
50381.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
50391.53Sdogcow
50401.9Stvac_cv_type_u_int8_t=no
50411.9Stvfi
50421.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50431.9Stvfi
50441.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
50451.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
50461.6Stvif test $ac_cv_type_u_int8_t = yes; then
50471.6Stv  :
50481.6Stvelse
50491.6Stv
50501.53Sdogcow		echo "$as_me:$LINENO: checking for uint8_t" >&5
50511.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
50521.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
50531.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
50541.6Stvelse
50551.6Stv  cat >conftest.$ac_ext <<_ACEOF
50561.53Sdogcow/* confdefs.h.  */
50571.53Sdogcow_ACEOF
50581.53Sdogcowcat confdefs.h >>conftest.$ac_ext
50591.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
50601.53Sdogcow/* end confdefs.h.  */
50611.6Stv$ac_includes_default
50621.6Stvint
50631.6Stvmain ()
50641.6Stv{
50651.6Stvif ((uint8_t *) 0)
50661.6Stv  return 0;
50671.6Stvif (sizeof (uint8_t))
50681.6Stv  return 0;
50691.6Stv  ;
50701.6Stv  return 0;
50711.6Stv}
50721.6Stv_ACEOF
50731.6Stvrm -f conftest.$ac_objext
50741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50751.53Sdogcow  (eval $ac_compile) 2>conftest.er1
50761.6Stv  ac_status=$?
50771.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
50781.53Sdogcow  rm -f conftest.er1
50791.53Sdogcow  cat conftest.err >&5
50801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50811.6Stv  (exit $ac_status); } &&
50821.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
50831.53Sdogcow			 || test ! -s conftest.err'
50841.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50851.53Sdogcow  (eval $ac_try) 2>&5
50861.53Sdogcow  ac_status=$?
50871.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881.53Sdogcow  (exit $ac_status); }; } &&
50891.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
50901.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50911.48Sjmc  (eval $ac_try) 2>&5
50921.48Sjmc  ac_status=$?
50931.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50941.6Stv  (exit $ac_status); }; }; then
50951.6Stv  ac_cv_type_uint8_t=yes
50961.4Stvelse
50971.4Stv  echo "$as_me: failed program was:" >&5
50981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
50991.53Sdogcow
51001.6Stvac_cv_type_uint8_t=no
51011.4Stvfi
51021.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51031.4Stvfi
51041.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
51051.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
51061.6Stvif test $ac_cv_type_uint8_t = yes; then
51071.54Swiz
51081.54Swizcat >>confdefs.h <<\_ACEOF
51091.6Stv#define u_int8_t uint8_t
51101.53Sdogcow_ACEOF
51111.4Stv
51121.6Stvelse
51131.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int8_t" >&5
51141.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
51151.6Stv   { (exit 1); exit 1; }; }
51161.6Stvfi
51171.6Stv
51181.53Sdogcow
51191.4Stvfi
51201.4Stv
51211.53Sdogcow
51221.53Sdogcow
51231.53Sdogcow	echo "$as_me:$LINENO: checking for uint16_t" >&5
51241.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
51251.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
51261.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51271.9Stvelse
51281.9Stv  cat >conftest.$ac_ext <<_ACEOF
51291.53Sdogcow/* confdefs.h.  */
51301.53Sdogcow_ACEOF
51311.53Sdogcowcat confdefs.h >>conftest.$ac_ext
51321.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
51331.53Sdogcow/* end confdefs.h.  */
51341.9Stv$ac_includes_default
51351.9Stvint
51361.9Stvmain ()
51371.9Stv{
51381.9Stvif ((uint16_t *) 0)
51391.9Stv  return 0;
51401.9Stvif (sizeof (uint16_t))
51411.9Stv  return 0;
51421.9Stv  ;
51431.9Stv  return 0;
51441.9Stv}
51451.9Stv_ACEOF
51461.9Stvrm -f conftest.$ac_objext
51471.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51481.53Sdogcow  (eval $ac_compile) 2>conftest.er1
51491.9Stv  ac_status=$?
51501.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
51511.53Sdogcow  rm -f conftest.er1
51521.53Sdogcow  cat conftest.err >&5
51531.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51541.9Stv  (exit $ac_status); } &&
51551.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
51561.53Sdogcow			 || test ! -s conftest.err'
51571.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51581.53Sdogcow  (eval $ac_try) 2>&5
51591.53Sdogcow  ac_status=$?
51601.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611.53Sdogcow  (exit $ac_status); }; } &&
51621.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
51631.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51641.50Sjmc  (eval $ac_try) 2>&5
51651.50Sjmc  ac_status=$?
51661.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51671.9Stv  (exit $ac_status); }; }; then
51681.9Stv  ac_cv_type_uint16_t=yes
51691.9Stvelse
51701.9Stv  echo "$as_me: failed program was:" >&5
51711.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
51721.53Sdogcow
51731.9Stvac_cv_type_uint16_t=no
51741.9Stvfi
51751.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51761.9Stvfi
51771.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
51781.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
51791.9Stvif test $ac_cv_type_uint16_t = yes; then
51801.9Stv  :
51811.9Stvelse
51821.9Stv
51831.53Sdogcow		echo "$as_me:$LINENO: checking for u_int16_t" >&5
51841.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
51851.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
51861.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51871.9Stvelse
51881.9Stv  cat >conftest.$ac_ext <<_ACEOF
51891.53Sdogcow/* confdefs.h.  */
51901.53Sdogcow_ACEOF
51911.53Sdogcowcat confdefs.h >>conftest.$ac_ext
51921.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
51931.53Sdogcow/* end confdefs.h.  */
51941.9Stv$ac_includes_default
51951.9Stvint
51961.9Stvmain ()
51971.9Stv{
51981.9Stvif ((u_int16_t *) 0)
51991.9Stv  return 0;
52001.9Stvif (sizeof (u_int16_t))
52011.9Stv  return 0;
52021.9Stv  ;
52031.9Stv  return 0;
52041.9Stv}
52051.9Stv_ACEOF
52061.9Stvrm -f conftest.$ac_objext
52071.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52081.53Sdogcow  (eval $ac_compile) 2>conftest.er1
52091.9Stv  ac_status=$?
52101.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
52111.53Sdogcow  rm -f conftest.er1
52121.53Sdogcow  cat conftest.err >&5
52131.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52141.9Stv  (exit $ac_status); } &&
52151.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
52161.53Sdogcow			 || test ! -s conftest.err'
52171.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181.9Stv  (eval $ac_try) 2>&5
52191.9Stv  ac_status=$?
52201.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52211.53Sdogcow  (exit $ac_status); }; } &&
52221.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
52231.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52241.53Sdogcow  (eval $ac_try) 2>&5
52251.53Sdogcow  ac_status=$?
52261.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52271.9Stv  (exit $ac_status); }; }; then
52281.9Stv  ac_cv_type_u_int16_t=yes
52291.9Stvelse
52301.9Stv  echo "$as_me: failed program was:" >&5
52311.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
52321.53Sdogcow
52331.9Stvac_cv_type_u_int16_t=no
52341.9Stvfi
52351.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52361.9Stvfi
52371.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
52381.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
52391.9Stvif test $ac_cv_type_u_int16_t = yes; then
52401.54Swiz
52411.54Swizcat >>confdefs.h <<\_ACEOF
52421.9Stv#define uint16_t u_int16_t
52431.53Sdogcow_ACEOF
52441.9Stv
52451.9Stvelse
52461.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint16_t" >&5
52471.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
52481.9Stv   { (exit 1); exit 1; }; }
52491.9Stvfi
52501.9Stv
52511.53Sdogcow
52521.9Stvfi
52531.9Stv
52541.53Sdogcow	echo "$as_me:$LINENO: checking for u_int16_t" >&5
52551.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
52561.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
52571.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52581.1Stvelse
52591.1Stv  cat >conftest.$ac_ext <<_ACEOF
52601.53Sdogcow/* confdefs.h.  */
52611.53Sdogcow_ACEOF
52621.53Sdogcowcat confdefs.h >>conftest.$ac_ext
52631.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
52641.53Sdogcow/* end confdefs.h.  */
52651.6Stv$ac_includes_default
52661.6Stvint
52671.6Stvmain ()
52681.6Stv{
52691.6Stvif ((u_int16_t *) 0)
52701.6Stv  return 0;
52711.6Stvif (sizeof (u_int16_t))
52721.6Stv  return 0;
52731.6Stv  ;
52741.6Stv  return 0;
52751.6Stv}
52761.1Stv_ACEOF
52771.6Stvrm -f conftest.$ac_objext
52781.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52791.53Sdogcow  (eval $ac_compile) 2>conftest.er1
52801.6Stv  ac_status=$?
52811.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
52821.53Sdogcow  rm -f conftest.er1
52831.53Sdogcow  cat conftest.err >&5
52841.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52851.6Stv  (exit $ac_status); } &&
52861.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
52871.53Sdogcow			 || test ! -s conftest.err'
52881.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52891.53Sdogcow  (eval $ac_try) 2>&5
52901.53Sdogcow  ac_status=$?
52911.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52921.53Sdogcow  (exit $ac_status); }; } &&
52931.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
52941.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52951.50Sjmc  (eval $ac_try) 2>&5
52961.50Sjmc  ac_status=$?
52971.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52981.6Stv  (exit $ac_status); }; }; then
52991.6Stv  ac_cv_type_u_int16_t=yes
53001.1Stvelse
53011.6Stv  echo "$as_me: failed program was:" >&5
53021.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
53031.53Sdogcow
53041.6Stvac_cv_type_u_int16_t=no
53051.6Stvfi
53061.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53071.1Stvfi
53081.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
53091.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
53101.6Stvif test $ac_cv_type_u_int16_t = yes; then
53111.6Stv  :
53121.1Stvelse
53131.1Stv
53141.53Sdogcow		echo "$as_me:$LINENO: checking for uint16_t" >&5
53151.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
53161.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
53171.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
53181.6Stvelse
53191.1Stv  cat >conftest.$ac_ext <<_ACEOF
53201.53Sdogcow/* confdefs.h.  */
53211.53Sdogcow_ACEOF
53221.53Sdogcowcat confdefs.h >>conftest.$ac_ext
53231.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
53241.53Sdogcow/* end confdefs.h.  */
53251.6Stv$ac_includes_default
53261.6Stvint
53271.6Stvmain ()
53281.6Stv{
53291.6Stvif ((uint16_t *) 0)
53301.6Stv  return 0;
53311.6Stvif (sizeof (uint16_t))
53321.6Stv  return 0;
53331.6Stv  ;
53341.6Stv  return 0;
53351.6Stv}
53361.1Stv_ACEOF
53371.6Stvrm -f conftest.$ac_objext
53381.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53391.53Sdogcow  (eval $ac_compile) 2>conftest.er1
53401.6Stv  ac_status=$?
53411.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
53421.53Sdogcow  rm -f conftest.er1
53431.53Sdogcow  cat conftest.err >&5
53441.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53451.6Stv  (exit $ac_status); } &&
53461.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
53471.53Sdogcow			 || test ! -s conftest.err'
53481.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53491.6Stv  (eval $ac_try) 2>&5
53501.6Stv  ac_status=$?
53511.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53521.53Sdogcow  (exit $ac_status); }; } &&
53531.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
53541.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53551.53Sdogcow  (eval $ac_try) 2>&5
53561.53Sdogcow  ac_status=$?
53571.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581.6Stv  (exit $ac_status); }; }; then
53591.6Stv  ac_cv_type_uint16_t=yes
53601.1Stvelse
53611.6Stv  echo "$as_me: failed program was:" >&5
53621.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
53631.53Sdogcow
53641.6Stvac_cv_type_uint16_t=no
53651.1Stvfi
53661.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53671.1Stvfi
53681.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
53691.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
53701.6Stvif test $ac_cv_type_uint16_t = yes; then
53711.54Swiz
53721.54Swizcat >>confdefs.h <<\_ACEOF
53731.6Stv#define u_int16_t uint16_t
53741.53Sdogcow_ACEOF
53751.1Stv
53761.1Stvelse
53771.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int16_t" >&5
53781.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
53791.6Stv   { (exit 1); exit 1; }; }
53801.1Stvfi
53811.1Stv
53821.53Sdogcow
53831.1Stvfi
53841.1Stv
53851.53Sdogcow
53861.53Sdogcow
53871.53Sdogcow	echo "$as_me:$LINENO: checking for uint32_t" >&5
53881.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
53891.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
53901.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
53911.9Stvelse
53921.9Stv  cat >conftest.$ac_ext <<_ACEOF
53931.53Sdogcow/* confdefs.h.  */
53941.53Sdogcow_ACEOF
53951.53Sdogcowcat confdefs.h >>conftest.$ac_ext
53961.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
53971.53Sdogcow/* end confdefs.h.  */
53981.9Stv$ac_includes_default
53991.9Stvint
54001.9Stvmain ()
54011.9Stv{
54021.9Stvif ((uint32_t *) 0)
54031.9Stv  return 0;
54041.9Stvif (sizeof (uint32_t))
54051.9Stv  return 0;
54061.9Stv  ;
54071.9Stv  return 0;
54081.9Stv}
54091.9Stv_ACEOF
54101.9Stvrm -f conftest.$ac_objext
54111.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54121.53Sdogcow  (eval $ac_compile) 2>conftest.er1
54131.9Stv  ac_status=$?
54141.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
54151.53Sdogcow  rm -f conftest.er1
54161.53Sdogcow  cat conftest.err >&5
54171.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54181.9Stv  (exit $ac_status); } &&
54191.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
54201.53Sdogcow			 || test ! -s conftest.err'
54211.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54221.53Sdogcow  (eval $ac_try) 2>&5
54231.53Sdogcow  ac_status=$?
54241.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54251.53Sdogcow  (exit $ac_status); }; } &&
54261.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
54271.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54281.9Stv  (eval $ac_try) 2>&5
54291.9Stv  ac_status=$?
54301.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54311.9Stv  (exit $ac_status); }; }; then
54321.9Stv  ac_cv_type_uint32_t=yes
54331.9Stvelse
54341.9Stv  echo "$as_me: failed program was:" >&5
54351.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
54361.53Sdogcow
54371.9Stvac_cv_type_uint32_t=no
54381.9Stvfi
54391.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54401.9Stvfi
54411.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
54421.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
54431.9Stvif test $ac_cv_type_uint32_t = yes; then
54441.9Stv  :
54451.9Stvelse
54461.9Stv
54471.53Sdogcow		echo "$as_me:$LINENO: checking for u_int32_t" >&5
54481.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
54491.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
54501.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
54511.1Stvelse
54521.1Stv  cat >conftest.$ac_ext <<_ACEOF
54531.53Sdogcow/* confdefs.h.  */
54541.53Sdogcow_ACEOF
54551.53Sdogcowcat confdefs.h >>conftest.$ac_ext
54561.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
54571.53Sdogcow/* end confdefs.h.  */
54581.9Stv$ac_includes_default
54591.9Stvint
54601.9Stvmain ()
54611.9Stv{
54621.9Stvif ((u_int32_t *) 0)
54631.9Stv  return 0;
54641.9Stvif (sizeof (u_int32_t))
54651.9Stv  return 0;
54661.9Stv  ;
54671.9Stv  return 0;
54681.9Stv}
54691.9Stv_ACEOF
54701.9Stvrm -f conftest.$ac_objext
54711.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54721.53Sdogcow  (eval $ac_compile) 2>conftest.er1
54731.9Stv  ac_status=$?
54741.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
54751.53Sdogcow  rm -f conftest.er1
54761.53Sdogcow  cat conftest.err >&5
54771.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54781.9Stv  (exit $ac_status); } &&
54791.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
54801.53Sdogcow			 || test ! -s conftest.err'
54811.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54821.53Sdogcow  (eval $ac_try) 2>&5
54831.53Sdogcow  ac_status=$?
54841.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851.53Sdogcow  (exit $ac_status); }; } &&
54861.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
54871.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54881.48Sjmc  (eval $ac_try) 2>&5
54891.48Sjmc  ac_status=$?
54901.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54911.9Stv  (exit $ac_status); }; }; then
54921.9Stv  ac_cv_type_u_int32_t=yes
54931.9Stvelse
54941.9Stv  echo "$as_me: failed program was:" >&5
54951.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
54961.53Sdogcow
54971.9Stvac_cv_type_u_int32_t=no
54981.9Stvfi
54991.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55001.9Stvfi
55011.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
55021.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
55031.9Stvif test $ac_cv_type_u_int32_t = yes; then
55041.54Swiz
55051.54Swizcat >>confdefs.h <<\_ACEOF
55061.9Stv#define uint32_t u_int32_t
55071.53Sdogcow_ACEOF
55081.9Stv
55091.9Stvelse
55101.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint32_t" >&5
55111.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
55121.9Stv   { (exit 1); exit 1; }; }
55131.9Stvfi
55141.9Stv
55151.53Sdogcow
55161.9Stvfi
55171.9Stv
55181.53Sdogcow	echo "$as_me:$LINENO: checking for u_int32_t" >&5
55191.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
55201.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
55211.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
55221.9Stvelse
55231.9Stv  cat >conftest.$ac_ext <<_ACEOF
55241.53Sdogcow/* confdefs.h.  */
55251.53Sdogcow_ACEOF
55261.53Sdogcowcat confdefs.h >>conftest.$ac_ext
55271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
55281.53Sdogcow/* end confdefs.h.  */
55291.6Stv$ac_includes_default
55301.1Stvint
55311.1Stvmain ()
55321.1Stv{
55331.6Stvif ((u_int32_t *) 0)
55341.6Stv  return 0;
55351.6Stvif (sizeof (u_int32_t))
55361.6Stv  return 0;
55371.6Stv  ;
55381.6Stv  return 0;
55391.1Stv}
55401.1Stv_ACEOF
55411.6Stvrm -f conftest.$ac_objext
55421.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55431.53Sdogcow  (eval $ac_compile) 2>conftest.er1
55441.1Stv  ac_status=$?
55451.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
55461.53Sdogcow  rm -f conftest.er1
55471.53Sdogcow  cat conftest.err >&5
55481.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55491.6Stv  (exit $ac_status); } &&
55501.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
55511.53Sdogcow			 || test ! -s conftest.err'
55521.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531.53Sdogcow  (eval $ac_try) 2>&5
55541.53Sdogcow  ac_status=$?
55551.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55561.53Sdogcow  (exit $ac_status); }; } &&
55571.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
55581.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55591.1Stv  (eval $ac_try) 2>&5
55601.1Stv  ac_status=$?
55611.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55621.1Stv  (exit $ac_status); }; }; then
55631.6Stv  ac_cv_type_u_int32_t=yes
55641.1Stvelse
55651.6Stv  echo "$as_me: failed program was:" >&5
55661.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
55671.53Sdogcow
55681.6Stvac_cv_type_u_int32_t=no
55691.1Stvfi
55701.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55711.1Stvfi
55721.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
55731.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
55741.6Stvif test $ac_cv_type_u_int32_t = yes; then
55751.6Stv  :
55761.6Stvelse
55771.1Stv
55781.53Sdogcow		echo "$as_me:$LINENO: checking for uint32_t" >&5
55791.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
55801.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
55811.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
55821.1Stvelse
55831.1Stv  cat >conftest.$ac_ext <<_ACEOF
55841.53Sdogcow/* confdefs.h.  */
55851.53Sdogcow_ACEOF
55861.53Sdogcowcat confdefs.h >>conftest.$ac_ext
55871.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
55881.53Sdogcow/* end confdefs.h.  */
55891.1Stv$ac_includes_default
55901.6Stvint
55911.6Stvmain ()
55921.6Stv{
55931.6Stvif ((uint32_t *) 0)
55941.6Stv  return 0;
55951.6Stvif (sizeof (uint32_t))
55961.6Stv  return 0;
55971.6Stv  ;
55981.6Stv  return 0;
55991.6Stv}
56001.1Stv_ACEOF
56011.1Stvrm -f conftest.$ac_objext
56021.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56031.53Sdogcow  (eval $ac_compile) 2>conftest.er1
56041.1Stv  ac_status=$?
56051.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
56061.53Sdogcow  rm -f conftest.er1
56071.53Sdogcow  cat conftest.err >&5
56081.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56091.1Stv  (exit $ac_status); } &&
56101.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
56111.53Sdogcow			 || test ! -s conftest.err'
56121.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56131.53Sdogcow  (eval $ac_try) 2>&5
56141.53Sdogcow  ac_status=$?
56151.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161.53Sdogcow  (exit $ac_status); }; } &&
56171.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
56181.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56191.48Sjmc  (eval $ac_try) 2>&5
56201.48Sjmc  ac_status=$?
56211.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56221.1Stv  (exit $ac_status); }; }; then
56231.6Stv  ac_cv_type_uint32_t=yes
56241.1Stvelse
56251.1Stv  echo "$as_me: failed program was:" >&5
56261.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
56271.53Sdogcow
56281.6Stvac_cv_type_uint32_t=no
56291.1Stvfi
56301.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56311.1Stvfi
56321.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
56331.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
56341.6Stvif test $ac_cv_type_uint32_t = yes; then
56351.54Swiz
56361.54Swizcat >>confdefs.h <<\_ACEOF
56371.6Stv#define u_int32_t uint32_t
56381.53Sdogcow_ACEOF
56391.1Stv
56401.6Stvelse
56411.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int32_t" >&5
56421.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
56431.6Stv   { (exit 1); exit 1; }; }
56441.6Stvfi
56451.6Stv
56461.53Sdogcow
56471.1Stvfi
56481.1Stv
56491.53Sdogcow
56501.53Sdogcow
56511.53Sdogcow	echo "$as_me:$LINENO: checking for uint64_t" >&5
56521.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
56531.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
56541.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
56551.9Stvelse
56561.9Stv  cat >conftest.$ac_ext <<_ACEOF
56571.53Sdogcow/* confdefs.h.  */
56581.53Sdogcow_ACEOF
56591.53Sdogcowcat confdefs.h >>conftest.$ac_ext
56601.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
56611.53Sdogcow/* end confdefs.h.  */
56621.9Stv$ac_includes_default
56631.9Stvint
56641.9Stvmain ()
56651.9Stv{
56661.9Stvif ((uint64_t *) 0)
56671.9Stv  return 0;
56681.9Stvif (sizeof (uint64_t))
56691.9Stv  return 0;
56701.9Stv  ;
56711.9Stv  return 0;
56721.9Stv}
56731.9Stv_ACEOF
56741.9Stvrm -f conftest.$ac_objext
56751.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56761.53Sdogcow  (eval $ac_compile) 2>conftest.er1
56771.9Stv  ac_status=$?
56781.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
56791.53Sdogcow  rm -f conftest.er1
56801.53Sdogcow  cat conftest.err >&5
56811.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821.9Stv  (exit $ac_status); } &&
56831.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
56841.53Sdogcow			 || test ! -s conftest.err'
56851.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861.53Sdogcow  (eval $ac_try) 2>&5
56871.53Sdogcow  ac_status=$?
56881.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891.53Sdogcow  (exit $ac_status); }; } &&
56901.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
56911.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56921.50Sjmc  (eval $ac_try) 2>&5
56931.50Sjmc  ac_status=$?
56941.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56951.9Stv  (exit $ac_status); }; }; then
56961.9Stv  ac_cv_type_uint64_t=yes
56971.9Stvelse
56981.9Stv  echo "$as_me: failed program was:" >&5
56991.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
57001.53Sdogcow
57011.9Stvac_cv_type_uint64_t=no
57021.9Stvfi
57031.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57041.9Stvfi
57051.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
57061.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
57071.9Stvif test $ac_cv_type_uint64_t = yes; then
57081.9Stv  :
57091.9Stvelse
57101.9Stv
57111.53Sdogcow		echo "$as_me:$LINENO: checking for u_int64_t" >&5
57121.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
57131.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
57141.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
57151.9Stvelse
57161.9Stv  cat >conftest.$ac_ext <<_ACEOF
57171.53Sdogcow/* confdefs.h.  */
57181.53Sdogcow_ACEOF
57191.53Sdogcowcat confdefs.h >>conftest.$ac_ext
57201.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
57211.53Sdogcow/* end confdefs.h.  */
57221.9Stv$ac_includes_default
57231.9Stvint
57241.9Stvmain ()
57251.9Stv{
57261.9Stvif ((u_int64_t *) 0)
57271.9Stv  return 0;
57281.9Stvif (sizeof (u_int64_t))
57291.9Stv  return 0;
57301.9Stv  ;
57311.9Stv  return 0;
57321.9Stv}
57331.9Stv_ACEOF
57341.9Stvrm -f conftest.$ac_objext
57351.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57361.53Sdogcow  (eval $ac_compile) 2>conftest.er1
57371.9Stv  ac_status=$?
57381.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
57391.53Sdogcow  rm -f conftest.er1
57401.53Sdogcow  cat conftest.err >&5
57411.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57421.9Stv  (exit $ac_status); } &&
57431.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
57441.53Sdogcow			 || test ! -s conftest.err'
57451.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57461.9Stv  (eval $ac_try) 2>&5
57471.9Stv  ac_status=$?
57481.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57491.53Sdogcow  (exit $ac_status); }; } &&
57501.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
57511.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57521.53Sdogcow  (eval $ac_try) 2>&5
57531.53Sdogcow  ac_status=$?
57541.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57551.9Stv  (exit $ac_status); }; }; then
57561.9Stv  ac_cv_type_u_int64_t=yes
57571.9Stvelse
57581.9Stv  echo "$as_me: failed program was:" >&5
57591.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
57601.53Sdogcow
57611.9Stvac_cv_type_u_int64_t=no
57621.9Stvfi
57631.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57641.9Stvfi
57651.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
57661.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
57671.9Stvif test $ac_cv_type_u_int64_t = yes; then
57681.54Swiz
57691.54Swizcat >>confdefs.h <<\_ACEOF
57701.9Stv#define uint64_t u_int64_t
57711.53Sdogcow_ACEOF
57721.9Stv
57731.9Stvelse
57741.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint64_t" >&5
57751.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
57761.9Stv   { (exit 1); exit 1; }; }
57771.9Stvfi
57781.9Stv
57791.53Sdogcow
57801.9Stvfi
57811.9Stv
57821.53Sdogcow	echo "$as_me:$LINENO: checking for u_int64_t" >&5
57831.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
57841.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
57851.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
57861.1Stvelse
57871.1Stv  cat >conftest.$ac_ext <<_ACEOF
57881.53Sdogcow/* confdefs.h.  */
57891.53Sdogcow_ACEOF
57901.53Sdogcowcat confdefs.h >>conftest.$ac_ext
57911.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
57921.53Sdogcow/* end confdefs.h.  */
57931.1Stv$ac_includes_default
57941.1Stvint
57951.1Stvmain ()
57961.1Stv{
57971.6Stvif ((u_int64_t *) 0)
57981.1Stv  return 0;
57991.6Stvif (sizeof (u_int64_t))
58001.1Stv  return 0;
58011.1Stv  ;
58021.1Stv  return 0;
58031.1Stv}
58041.1Stv_ACEOF
58051.1Stvrm -f conftest.$ac_objext
58061.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58071.53Sdogcow  (eval $ac_compile) 2>conftest.er1
58081.1Stv  ac_status=$?
58091.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
58101.53Sdogcow  rm -f conftest.er1
58111.53Sdogcow  cat conftest.err >&5
58121.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131.1Stv  (exit $ac_status); } &&
58141.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
58151.53Sdogcow			 || test ! -s conftest.err'
58161.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58171.53Sdogcow  (eval $ac_try) 2>&5
58181.53Sdogcow  ac_status=$?
58191.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58201.53Sdogcow  (exit $ac_status); }; } &&
58211.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
58221.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58231.50Sjmc  (eval $ac_try) 2>&5
58241.50Sjmc  ac_status=$?
58251.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261.1Stv  (exit $ac_status); }; }; then
58271.6Stv  ac_cv_type_u_int64_t=yes
58281.1Stvelse
58291.1Stv  echo "$as_me: failed program was:" >&5
58301.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
58311.53Sdogcow
58321.6Stvac_cv_type_u_int64_t=no
58331.1Stvfi
58341.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58351.1Stvfi
58361.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
58371.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
58381.6Stvif test $ac_cv_type_u_int64_t = yes; then
58391.1Stv  :
58401.1Stvelse
58411.1Stv
58421.53Sdogcow		echo "$as_me:$LINENO: checking for uint64_t" >&5
58431.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
58441.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
58451.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
58461.1Stvelse
58471.1Stv  cat >conftest.$ac_ext <<_ACEOF
58481.53Sdogcow/* confdefs.h.  */
58491.53Sdogcow_ACEOF
58501.53Sdogcowcat confdefs.h >>conftest.$ac_ext
58511.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
58521.53Sdogcow/* end confdefs.h.  */
58531.4Stv$ac_includes_default
58541.4Stvint
58551.4Stvmain ()
58561.4Stv{
58571.6Stvif ((uint64_t *) 0)
58581.4Stv  return 0;
58591.6Stvif (sizeof (uint64_t))
58601.4Stv  return 0;
58611.4Stv  ;
58621.4Stv  return 0;
58631.4Stv}
58641.1Stv_ACEOF
58651.4Stvrm -f conftest.$ac_objext
58661.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58671.53Sdogcow  (eval $ac_compile) 2>conftest.er1
58681.4Stv  ac_status=$?
58691.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
58701.53Sdogcow  rm -f conftest.er1
58711.53Sdogcow  cat conftest.err >&5
58721.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58731.4Stv  (exit $ac_status); } &&
58741.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
58751.53Sdogcow			 || test ! -s conftest.err'
58761.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58771.4Stv  (eval $ac_try) 2>&5
58781.4Stv  ac_status=$?
58791.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58801.53Sdogcow  (exit $ac_status); }; } &&
58811.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
58821.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58831.53Sdogcow  (eval $ac_try) 2>&5
58841.53Sdogcow  ac_status=$?
58851.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58861.4Stv  (exit $ac_status); }; }; then
58871.6Stv  ac_cv_type_uint64_t=yes
58881.4Stvelse
58891.4Stv  echo "$as_me: failed program was:" >&5
58901.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
58911.53Sdogcow
58921.6Stvac_cv_type_uint64_t=no
58931.4Stvfi
58941.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58951.4Stvfi
58961.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
58971.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
58981.6Stvif test $ac_cv_type_uint64_t = yes; then
58991.54Swiz
59001.54Swizcat >>confdefs.h <<\_ACEOF
59011.6Stv#define u_int64_t uint64_t
59021.53Sdogcow_ACEOF
59031.4Stv
59041.6Stvelse
59051.53Sdogcow  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int64_t" >&5
59061.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
59071.6Stv   { (exit 1); exit 1; }; }
59081.6Stvfi
59091.4Stv
59101.53Sdogcow
59111.4Stvfi
59121.4Stv
59131.53Sdogcow
59141.53Sdogcow
59151.4Stv# Struct members.
59161.53Sdogcowecho "$as_me:$LINENO: checking for DIR.dd_fd" >&5
59171.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
59181.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
59191.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
59201.7Stvelse
59211.7Stv  cat >conftest.$ac_ext <<_ACEOF
59221.53Sdogcow/* confdefs.h.  */
59231.53Sdogcow_ACEOF
59241.53Sdogcowcat confdefs.h >>conftest.$ac_ext
59251.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
59261.53Sdogcow/* end confdefs.h.  */
59271.32Sthorpej#include <sys/types.h>
59281.7Stv#include <dirent.h>
59291.7Stv
59301.7Stvint
59311.7Stvmain ()
59321.7Stv{
59331.7Stvstatic DIR ac_aggr;
59341.7Stvif (ac_aggr.dd_fd)
59351.7Stvreturn 0;
59361.7Stv  ;
59371.7Stv  return 0;
59381.7Stv}
59391.7Stv_ACEOF
59401.7Stvrm -f conftest.$ac_objext
59411.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59421.53Sdogcow  (eval $ac_compile) 2>conftest.er1
59431.53Sdogcow  ac_status=$?
59441.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
59451.53Sdogcow  rm -f conftest.er1
59461.53Sdogcow  cat conftest.err >&5
59471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59481.53Sdogcow  (exit $ac_status); } &&
59491.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
59501.53Sdogcow			 || test ! -s conftest.err'
59511.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59521.53Sdogcow  (eval $ac_try) 2>&5
59531.53Sdogcow  ac_status=$?
59541.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59551.53Sdogcow  (exit $ac_status); }; } &&
59561.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
59571.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59581.53Sdogcow  (eval $ac_try) 2>&5
59591.53Sdogcow  ac_status=$?
59601.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611.53Sdogcow  (exit $ac_status); }; }; then
59621.53Sdogcow  ac_cv_member_DIR_dd_fd=yes
59631.53Sdogcowelse
59641.53Sdogcow  echo "$as_me: failed program was:" >&5
59651.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
59661.53Sdogcow
59671.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
59681.53Sdogcow/* confdefs.h.  */
59691.53Sdogcow_ACEOF
59701.53Sdogcowcat confdefs.h >>conftest.$ac_ext
59711.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
59721.53Sdogcow/* end confdefs.h.  */
59731.53Sdogcow#include <sys/types.h>
59741.53Sdogcow#include <dirent.h>
59751.53Sdogcow
59761.53Sdogcowint
59771.53Sdogcowmain ()
59781.53Sdogcow{
59791.53Sdogcowstatic DIR ac_aggr;
59801.53Sdogcowif (sizeof ac_aggr.dd_fd)
59811.53Sdogcowreturn 0;
59821.53Sdogcow  ;
59831.53Sdogcow  return 0;
59841.53Sdogcow}
59851.53Sdogcow_ACEOF
59861.53Sdogcowrm -f conftest.$ac_objext
59871.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59881.53Sdogcow  (eval $ac_compile) 2>conftest.er1
59891.7Stv  ac_status=$?
59901.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
59911.53Sdogcow  rm -f conftest.er1
59921.53Sdogcow  cat conftest.err >&5
59931.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941.7Stv  (exit $ac_status); } &&
59951.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
59961.53Sdogcow			 || test ! -s conftest.err'
59971.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59981.53Sdogcow  (eval $ac_try) 2>&5
59991.53Sdogcow  ac_status=$?
60001.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60011.53Sdogcow  (exit $ac_status); }; } &&
60021.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
60031.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60041.7Stv  (eval $ac_try) 2>&5
60051.7Stv  ac_status=$?
60061.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071.7Stv  (exit $ac_status); }; }; then
60081.7Stv  ac_cv_member_DIR_dd_fd=yes
60091.7Stvelse
60101.7Stv  echo "$as_me: failed program was:" >&5
60111.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
60121.53Sdogcow
60131.48Sjmcac_cv_member_DIR_dd_fd=no
60141.48Sjmcfi
60151.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60161.48Sjmcfi
60171.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60181.53Sdogcowfi
60191.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
60201.48Sjmcecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
60211.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then
60221.48Sjmc
60231.53Sdogcowcat >>confdefs.h <<_ACEOF
60241.48Sjmc#define HAVE_DIR_DD_FD 1
60251.53Sdogcow_ACEOF
60261.53Sdogcow
60271.48Sjmc
60281.48Sjmcfi
60291.53Sdogcowecho "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5
60301.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
60311.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
60321.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
60331.48Sjmcelse
60341.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
60351.53Sdogcow/* confdefs.h.  */
60361.53Sdogcow_ACEOF
60371.53Sdogcowcat confdefs.h >>conftest.$ac_ext
60381.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
60391.53Sdogcow/* end confdefs.h.  */
60401.32Sthorpej#include <sys/types.h>
60411.8Stv#include <dirent.h>
60421.8Stv
60431.8Stvint
60441.8Stvmain ()
60451.8Stv{
60461.8Stvstatic struct dirent ac_aggr;
60471.52Sdbjif (ac_aggr.d_namlen)
60481.8Stvreturn 0;
60491.8Stv  ;
60501.8Stv  return 0;
60511.8Stv}
60521.8Stv_ACEOF
60531.8Stvrm -f conftest.$ac_objext
60541.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60551.53Sdogcow  (eval $ac_compile) 2>conftest.er1
60561.53Sdogcow  ac_status=$?
60571.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
60581.53Sdogcow  rm -f conftest.er1
60591.53Sdogcow  cat conftest.err >&5
60601.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60611.53Sdogcow  (exit $ac_status); } &&
60621.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
60631.53Sdogcow			 || test ! -s conftest.err'
60641.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60651.53Sdogcow  (eval $ac_try) 2>&5
60661.53Sdogcow  ac_status=$?
60671.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60681.53Sdogcow  (exit $ac_status); }; } &&
60691.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
60701.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60711.53Sdogcow  (eval $ac_try) 2>&5
60721.53Sdogcow  ac_status=$?
60731.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60741.53Sdogcow  (exit $ac_status); }; }; then
60751.53Sdogcow  ac_cv_member_struct_dirent_d_namlen=yes
60761.53Sdogcowelse
60771.53Sdogcow  echo "$as_me: failed program was:" >&5
60781.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
60791.53Sdogcow
60801.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
60811.53Sdogcow/* confdefs.h.  */
60821.53Sdogcow_ACEOF
60831.53Sdogcowcat confdefs.h >>conftest.$ac_ext
60841.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
60851.53Sdogcow/* end confdefs.h.  */
60861.53Sdogcow#include <sys/types.h>
60871.53Sdogcow#include <dirent.h>
60881.53Sdogcow
60891.53Sdogcowint
60901.53Sdogcowmain ()
60911.53Sdogcow{
60921.53Sdogcowstatic struct dirent ac_aggr;
60931.53Sdogcowif (sizeof ac_aggr.d_namlen)
60941.53Sdogcowreturn 0;
60951.53Sdogcow  ;
60961.53Sdogcow  return 0;
60971.53Sdogcow}
60981.53Sdogcow_ACEOF
60991.53Sdogcowrm -f conftest.$ac_objext
61001.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61011.53Sdogcow  (eval $ac_compile) 2>conftest.er1
61021.8Stv  ac_status=$?
61031.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
61041.53Sdogcow  rm -f conftest.er1
61051.53Sdogcow  cat conftest.err >&5
61061.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61071.8Stv  (exit $ac_status); } &&
61081.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
61091.53Sdogcow			 || test ! -s conftest.err'
61101.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61111.53Sdogcow  (eval $ac_try) 2>&5
61121.53Sdogcow  ac_status=$?
61131.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61141.53Sdogcow  (exit $ac_status); }; } &&
61151.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
61161.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61171.50Sjmc  (eval $ac_try) 2>&5
61181.50Sjmc  ac_status=$?
61191.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61201.8Stv  (exit $ac_status); }; }; then
61211.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
61221.8Stvelse
61231.8Stv  echo "$as_me: failed program was:" >&5
61241.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
61251.53Sdogcow
61261.8Stvac_cv_member_struct_dirent_d_namlen=no
61271.8Stvfi
61281.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61291.48Sjmcfi
61301.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61311.53Sdogcowfi
61321.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5
61331.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
61341.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
61351.8Stv
61361.53Sdogcowcat >>confdefs.h <<_ACEOF
61371.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
61381.53Sdogcow_ACEOF
61391.53Sdogcow
61401.39Sfredb
61411.39Sfredbfi
61421.39Sfredb
61431.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_flags" >&5
61441.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
61451.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
61461.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
61471.39Sfredbelse
61481.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
61491.53Sdogcow/* confdefs.h.  */
61501.53Sdogcow_ACEOF
61511.53Sdogcowcat confdefs.h >>conftest.$ac_ext
61521.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
61531.53Sdogcow/* end confdefs.h.  */
61541.4Stv#include <sys/stat.h>
61551.4Stv
61561.4Stvint
61571.4Stvmain ()
61581.4Stv{
61591.4Stvstatic struct stat ac_aggr;
61601.43Sdbjif (ac_aggr.st_flags)
61611.4Stvreturn 0;
61621.4Stv  ;
61631.4Stv  return 0;
61641.4Stv}
61651.4Stv_ACEOF
61661.4Stvrm -f conftest.$ac_objext
61671.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61681.53Sdogcow  (eval $ac_compile) 2>conftest.er1
61691.4Stv  ac_status=$?
61701.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
61711.53Sdogcow  rm -f conftest.er1
61721.53Sdogcow  cat conftest.err >&5
61731.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741.4Stv  (exit $ac_status); } &&
61751.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
61761.53Sdogcow			 || test ! -s conftest.err'
61771.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61781.53Sdogcow  (eval $ac_try) 2>&5
61791.53Sdogcow  ac_status=$?
61801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61811.53Sdogcow  (exit $ac_status); }; } &&
61821.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
61831.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61841.48Sjmc  (eval $ac_try) 2>&5
61851.48Sjmc  ac_status=$?
61861.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871.4Stv  (exit $ac_status); }; }; then
61881.43Sdbj  ac_cv_member_struct_stat_st_flags=yes
61891.4Stvelse
61901.4Stv  echo "$as_me: failed program was:" >&5
61911.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
61921.4Stv
61931.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
61941.53Sdogcow/* confdefs.h.  */
61951.53Sdogcow_ACEOF
61961.53Sdogcowcat confdefs.h >>conftest.$ac_ext
61971.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
61981.53Sdogcow/* end confdefs.h.  */
61991.53Sdogcow#include <sys/stat.h>
62001.53Sdogcow
62011.53Sdogcowint
62021.53Sdogcowmain ()
62031.53Sdogcow{
62041.53Sdogcowstatic struct stat ac_aggr;
62051.53Sdogcowif (sizeof ac_aggr.st_flags)
62061.53Sdogcowreturn 0;
62071.53Sdogcow  ;
62081.53Sdogcow  return 0;
62091.53Sdogcow}
62101.53Sdogcow_ACEOF
62111.53Sdogcowrm -f conftest.$ac_objext
62121.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62131.53Sdogcow  (eval $ac_compile) 2>conftest.er1
62141.53Sdogcow  ac_status=$?
62151.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
62161.53Sdogcow  rm -f conftest.er1
62171.53Sdogcow  cat conftest.err >&5
62181.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62191.53Sdogcow  (exit $ac_status); } &&
62201.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
62211.53Sdogcow			 || test ! -s conftest.err'
62221.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231.53Sdogcow  (eval $ac_try) 2>&5
62241.53Sdogcow  ac_status=$?
62251.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62261.53Sdogcow  (exit $ac_status); }; } &&
62271.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
62281.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62291.53Sdogcow  (eval $ac_try) 2>&5
62301.53Sdogcow  ac_status=$?
62311.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321.53Sdogcow  (exit $ac_status); }; }; then
62331.53Sdogcow  ac_cv_member_struct_stat_st_flags=yes
62341.53Sdogcowelse
62351.53Sdogcow  echo "$as_me: failed program was:" >&5
62361.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
62371.53Sdogcow
62381.53Sdogcowac_cv_member_struct_stat_st_flags=no
62391.53Sdogcowfi
62401.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62411.53Sdogcowfi
62421.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62431.53Sdogcowfi
62441.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
62451.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
62461.53Sdogcowif test $ac_cv_member_struct_stat_st_flags = yes; then
62471.53Sdogcow
62481.53Sdogcowcat >>confdefs.h <<_ACEOF
62491.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1
62501.53Sdogcow_ACEOF
62511.53Sdogcow
62521.4Stv
62531.4Stvfi
62541.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_gen" >&5
62551.43Sdbjecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
62561.43Sdbjif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
62571.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
62581.40Satatatelse
62591.40Satatat  cat >conftest.$ac_ext <<_ACEOF
62601.53Sdogcow/* confdefs.h.  */
62611.53Sdogcow_ACEOF
62621.53Sdogcowcat confdefs.h >>conftest.$ac_ext
62631.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
62641.53Sdogcow/* end confdefs.h.  */
62651.40Satatat#include <sys/stat.h>
62661.40Satatat
62671.40Satatatint
62681.40Satatatmain ()
62691.40Satatat{
62701.40Satatatstatic struct stat ac_aggr;
62711.43Sdbjif (ac_aggr.st_gen)
62721.40Satatatreturn 0;
62731.40Satatat  ;
62741.40Satatat  return 0;
62751.40Satatat}
62761.40Satatat_ACEOF
62771.40Satatatrm -f conftest.$ac_objext
62781.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62791.53Sdogcow  (eval $ac_compile) 2>conftest.er1
62801.53Sdogcow  ac_status=$?
62811.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
62821.53Sdogcow  rm -f conftest.er1
62831.53Sdogcow  cat conftest.err >&5
62841.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62851.53Sdogcow  (exit $ac_status); } &&
62861.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
62871.53Sdogcow			 || test ! -s conftest.err'
62881.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62891.53Sdogcow  (eval $ac_try) 2>&5
62901.53Sdogcow  ac_status=$?
62911.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62921.53Sdogcow  (exit $ac_status); }; } &&
62931.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
62941.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62951.53Sdogcow  (eval $ac_try) 2>&5
62961.53Sdogcow  ac_status=$?
62971.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62981.53Sdogcow  (exit $ac_status); }; }; then
62991.53Sdogcow  ac_cv_member_struct_stat_st_gen=yes
63001.53Sdogcowelse
63011.53Sdogcow  echo "$as_me: failed program was:" >&5
63021.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
63031.53Sdogcow
63041.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
63051.53Sdogcow/* confdefs.h.  */
63061.53Sdogcow_ACEOF
63071.53Sdogcowcat confdefs.h >>conftest.$ac_ext
63081.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
63091.53Sdogcow/* end confdefs.h.  */
63101.53Sdogcow#include <sys/stat.h>
63111.53Sdogcow
63121.53Sdogcowint
63131.53Sdogcowmain ()
63141.53Sdogcow{
63151.53Sdogcowstatic struct stat ac_aggr;
63161.53Sdogcowif (sizeof ac_aggr.st_gen)
63171.53Sdogcowreturn 0;
63181.53Sdogcow  ;
63191.53Sdogcow  return 0;
63201.53Sdogcow}
63211.53Sdogcow_ACEOF
63221.53Sdogcowrm -f conftest.$ac_objext
63231.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63241.53Sdogcow  (eval $ac_compile) 2>conftest.er1
63251.50Sjmc  ac_status=$?
63261.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
63271.53Sdogcow  rm -f conftest.er1
63281.53Sdogcow  cat conftest.err >&5
63291.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63301.50Sjmc  (exit $ac_status); } &&
63311.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
63321.53Sdogcow			 || test ! -s conftest.err'
63331.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63341.53Sdogcow  (eval $ac_try) 2>&5
63351.53Sdogcow  ac_status=$?
63361.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63371.53Sdogcow  (exit $ac_status); }; } &&
63381.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
63391.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63401.50Sjmc  (eval $ac_try) 2>&5
63411.50Sjmc  ac_status=$?
63421.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63431.50Sjmc  (exit $ac_status); }; }; then
63441.50Sjmc  ac_cv_member_struct_stat_st_gen=yes
63451.50Sjmcelse
63461.50Sjmc  echo "$as_me: failed program was:" >&5
63471.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
63481.53Sdogcow
63491.50Sjmcac_cv_member_struct_stat_st_gen=no
63501.50Sjmcfi
63511.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63521.50Sjmcfi
63531.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63541.53Sdogcowfi
63551.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
63561.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
63571.50Sjmcif test $ac_cv_member_struct_stat_st_gen = yes; then
63581.50Sjmc
63591.53Sdogcowcat >>confdefs.h <<_ACEOF
63601.50Sjmc#define HAVE_STRUCT_STAT_ST_GEN 1
63611.53Sdogcow_ACEOF
63621.53Sdogcow
63631.50Sjmc
63641.50Sjmcfi
63651.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5
63661.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
63671.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
63681.50Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
63691.50Sjmcelse
63701.50Sjmc  cat >conftest.$ac_ext <<_ACEOF
63711.53Sdogcow/* confdefs.h.  */
63721.53Sdogcow_ACEOF
63731.53Sdogcowcat confdefs.h >>conftest.$ac_ext
63741.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
63751.53Sdogcow/* end confdefs.h.  */
63761.50Sjmc#include <sys/stat.h>
63771.50Sjmc
63781.50Sjmcint
63791.50Sjmcmain ()
63801.50Sjmc{
63811.50Sjmcstatic struct stat ac_aggr;
63821.50Sjmcif (ac_aggr.st_birthtime)
63831.50Sjmcreturn 0;
63841.50Sjmc  ;
63851.50Sjmc  return 0;
63861.50Sjmc}
63871.50Sjmc_ACEOF
63881.50Sjmcrm -f conftest.$ac_objext
63891.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63901.53Sdogcow  (eval $ac_compile) 2>conftest.er1
63911.53Sdogcow  ac_status=$?
63921.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
63931.53Sdogcow  rm -f conftest.er1
63941.53Sdogcow  cat conftest.err >&5
63951.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
63961.53Sdogcow  (exit $ac_status); } &&
63971.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
63981.53Sdogcow			 || test ! -s conftest.err'
63991.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64001.53Sdogcow  (eval $ac_try) 2>&5
64011.53Sdogcow  ac_status=$?
64021.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64031.53Sdogcow  (exit $ac_status); }; } &&
64041.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
64051.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64061.53Sdogcow  (eval $ac_try) 2>&5
64071.53Sdogcow  ac_status=$?
64081.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64091.53Sdogcow  (exit $ac_status); }; }; then
64101.53Sdogcow  ac_cv_member_struct_stat_st_birthtime=yes
64111.53Sdogcowelse
64121.53Sdogcow  echo "$as_me: failed program was:" >&5
64131.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
64141.53Sdogcow
64151.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
64161.53Sdogcow/* confdefs.h.  */
64171.53Sdogcow_ACEOF
64181.53Sdogcowcat confdefs.h >>conftest.$ac_ext
64191.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
64201.53Sdogcow/* end confdefs.h.  */
64211.53Sdogcow#include <sys/stat.h>
64221.53Sdogcow
64231.53Sdogcowint
64241.53Sdogcowmain ()
64251.53Sdogcow{
64261.53Sdogcowstatic struct stat ac_aggr;
64271.53Sdogcowif (sizeof ac_aggr.st_birthtime)
64281.53Sdogcowreturn 0;
64291.53Sdogcow  ;
64301.53Sdogcow  return 0;
64311.53Sdogcow}
64321.53Sdogcow_ACEOF
64331.53Sdogcowrm -f conftest.$ac_objext
64341.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64351.53Sdogcow  (eval $ac_compile) 2>conftest.er1
64361.40Satatat  ac_status=$?
64371.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
64381.53Sdogcow  rm -f conftest.er1
64391.53Sdogcow  cat conftest.err >&5
64401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411.40Satatat  (exit $ac_status); } &&
64421.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
64431.53Sdogcow			 || test ! -s conftest.err'
64441.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64451.53Sdogcow  (eval $ac_try) 2>&5
64461.53Sdogcow  ac_status=$?
64471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481.53Sdogcow  (exit $ac_status); }; } &&
64491.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
64501.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64511.40Satatat  (eval $ac_try) 2>&5
64521.40Satatat  ac_status=$?
64531.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541.40Satatat  (exit $ac_status); }; }; then
64551.50Sjmc  ac_cv_member_struct_stat_st_birthtime=yes
64561.40Satatatelse
64571.40Satatat  echo "$as_me: failed program was:" >&5
64581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
64591.53Sdogcow
64601.50Sjmcac_cv_member_struct_stat_st_birthtime=no
64611.43Sdbjfi
64621.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64631.53Sdogcowfi
64641.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64651.43Sdbjfi
64661.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5
64671.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
64681.50Sjmcif test $ac_cv_member_struct_stat_st_birthtime = yes; then
64691.43Sdbj
64701.53Sdogcowcat >>confdefs.h <<_ACEOF
64711.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
64721.53Sdogcow_ACEOF
64731.53Sdogcow
64741.40Satatat
64751.43Sdbjfi
64761.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_birthtimensec" >&5
64771.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
64781.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
64791.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
64801.43Sdbjelse
64811.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
64821.53Sdogcow/* confdefs.h.  */
64831.53Sdogcow_ACEOF
64841.53Sdogcowcat confdefs.h >>conftest.$ac_ext
64851.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
64861.53Sdogcow/* end confdefs.h.  */
64871.40Satatat#include <sys/stat.h>
64881.40Satatat
64891.40Satatatint
64901.40Satatatmain ()
64911.40Satatat{
64921.40Satatatstatic struct stat ac_aggr;
64931.50Sjmcif (ac_aggr.st_birthtimensec)
64941.40Satatatreturn 0;
64951.40Satatat  ;
64961.40Satatat  return 0;
64971.40Satatat}
64981.40Satatat_ACEOF
64991.40Satatatrm -f conftest.$ac_objext
65001.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65011.53Sdogcow  (eval $ac_compile) 2>conftest.er1
65021.53Sdogcow  ac_status=$?
65031.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
65041.53Sdogcow  rm -f conftest.er1
65051.53Sdogcow  cat conftest.err >&5
65061.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65071.53Sdogcow  (exit $ac_status); } &&
65081.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
65091.53Sdogcow			 || test ! -s conftest.err'
65101.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65111.53Sdogcow  (eval $ac_try) 2>&5
65121.53Sdogcow  ac_status=$?
65131.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65141.53Sdogcow  (exit $ac_status); }; } &&
65151.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
65161.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65171.53Sdogcow  (eval $ac_try) 2>&5
65181.53Sdogcow  ac_status=$?
65191.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65201.53Sdogcow  (exit $ac_status); }; }; then
65211.53Sdogcow  ac_cv_member_struct_stat_st_birthtimensec=yes
65221.53Sdogcowelse
65231.53Sdogcow  echo "$as_me: failed program was:" >&5
65241.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
65251.53Sdogcow
65261.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
65271.53Sdogcow/* confdefs.h.  */
65281.53Sdogcow_ACEOF
65291.53Sdogcowcat confdefs.h >>conftest.$ac_ext
65301.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
65311.53Sdogcow/* end confdefs.h.  */
65321.53Sdogcow#include <sys/stat.h>
65331.53Sdogcow
65341.53Sdogcowint
65351.53Sdogcowmain ()
65361.53Sdogcow{
65371.53Sdogcowstatic struct stat ac_aggr;
65381.53Sdogcowif (sizeof ac_aggr.st_birthtimensec)
65391.53Sdogcowreturn 0;
65401.53Sdogcow  ;
65411.53Sdogcow  return 0;
65421.53Sdogcow}
65431.53Sdogcow_ACEOF
65441.53Sdogcowrm -f conftest.$ac_objext
65451.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65461.53Sdogcow  (eval $ac_compile) 2>conftest.er1
65471.40Satatat  ac_status=$?
65481.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
65491.53Sdogcow  rm -f conftest.er1
65501.53Sdogcow  cat conftest.err >&5
65511.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65521.40Satatat  (exit $ac_status); } &&
65531.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
65541.53Sdogcow			 || test ! -s conftest.err'
65551.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65561.53Sdogcow  (eval $ac_try) 2>&5
65571.53Sdogcow  ac_status=$?
65581.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65591.53Sdogcow  (exit $ac_status); }; } &&
65601.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
65611.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65621.50Sjmc  (eval $ac_try) 2>&5
65631.50Sjmc  ac_status=$?
65641.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
65651.40Satatat  (exit $ac_status); }; }; then
65661.50Sjmc  ac_cv_member_struct_stat_st_birthtimensec=yes
65671.40Satatatelse
65681.40Satatat  echo "$as_me: failed program was:" >&5
65691.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
65701.53Sdogcow
65711.50Sjmcac_cv_member_struct_stat_st_birthtimensec=no
65721.40Satatatfi
65731.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65741.40Satatatfi
65751.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65761.53Sdogcowfi
65771.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
65781.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
65791.50Sjmcif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
65801.40Satatat
65811.53Sdogcowcat >>confdefs.h <<_ACEOF
65821.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
65831.53Sdogcow_ACEOF
65841.53Sdogcow
65851.40Satatat
65861.40Satatatfi
65871.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_atim" >&5
65881.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
65891.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
65901.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
65911.40Satatatelse
65921.40Satatat  cat >conftest.$ac_ext <<_ACEOF
65931.53Sdogcow/* confdefs.h.  */
65941.53Sdogcow_ACEOF
65951.53Sdogcowcat confdefs.h >>conftest.$ac_ext
65961.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
65971.53Sdogcow/* end confdefs.h.  */
65981.40Satatat#include <sys/stat.h>
65991.40Satatat
66001.40Satatatint
66011.40Satatatmain ()
66021.40Satatat{
66031.40Satatatstatic struct stat ac_aggr;
66041.40Satatatif (ac_aggr.st_atim)
66051.40Satatatreturn 0;
66061.40Satatat  ;
66071.40Satatat  return 0;
66081.40Satatat}
66091.40Satatat_ACEOF
66101.40Satatatrm -f conftest.$ac_objext
66111.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66121.53Sdogcow  (eval $ac_compile) 2>conftest.er1
66131.53Sdogcow  ac_status=$?
66141.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
66151.53Sdogcow  rm -f conftest.er1
66161.53Sdogcow  cat conftest.err >&5
66171.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181.53Sdogcow  (exit $ac_status); } &&
66191.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
66201.53Sdogcow			 || test ! -s conftest.err'
66211.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66221.53Sdogcow  (eval $ac_try) 2>&5
66231.53Sdogcow  ac_status=$?
66241.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66251.53Sdogcow  (exit $ac_status); }; } &&
66261.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
66271.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66281.53Sdogcow  (eval $ac_try) 2>&5
66291.53Sdogcow  ac_status=$?
66301.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311.53Sdogcow  (exit $ac_status); }; }; then
66321.53Sdogcow  ac_cv_member_struct_stat_st_atim=yes
66331.53Sdogcowelse
66341.53Sdogcow  echo "$as_me: failed program was:" >&5
66351.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
66361.53Sdogcow
66371.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
66381.53Sdogcow/* confdefs.h.  */
66391.53Sdogcow_ACEOF
66401.53Sdogcowcat confdefs.h >>conftest.$ac_ext
66411.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
66421.53Sdogcow/* end confdefs.h.  */
66431.53Sdogcow#include <sys/stat.h>
66441.53Sdogcow
66451.53Sdogcowint
66461.53Sdogcowmain ()
66471.53Sdogcow{
66481.53Sdogcowstatic struct stat ac_aggr;
66491.53Sdogcowif (sizeof ac_aggr.st_atim)
66501.53Sdogcowreturn 0;
66511.53Sdogcow  ;
66521.53Sdogcow  return 0;
66531.53Sdogcow}
66541.53Sdogcow_ACEOF
66551.53Sdogcowrm -f conftest.$ac_objext
66561.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66571.53Sdogcow  (eval $ac_compile) 2>conftest.er1
66581.40Satatat  ac_status=$?
66591.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
66601.53Sdogcow  rm -f conftest.er1
66611.53Sdogcow  cat conftest.err >&5
66621.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66631.40Satatat  (exit $ac_status); } &&
66641.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
66651.53Sdogcow			 || test ! -s conftest.err'
66661.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66671.40Satatat  (eval $ac_try) 2>&5
66681.40Satatat  ac_status=$?
66691.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66701.53Sdogcow  (exit $ac_status); }; } &&
66711.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
66721.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66731.53Sdogcow  (eval $ac_try) 2>&5
66741.53Sdogcow  ac_status=$?
66751.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761.40Satatat  (exit $ac_status); }; }; then
66771.40Satatat  ac_cv_member_struct_stat_st_atim=yes
66781.40Satatatelse
66791.40Satatat  echo "$as_me: failed program was:" >&5
66801.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
66811.53Sdogcow
66821.40Satatatac_cv_member_struct_stat_st_atim=no
66831.40Satatatfi
66841.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66851.53Sdogcowfi
66861.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66871.40Satatatfi
66881.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
66891.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
66901.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then
66911.40Satatat
66921.53Sdogcowcat >>confdefs.h <<_ACEOF
66931.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1
66941.53Sdogcow_ACEOF
66951.53Sdogcow
66961.40Satatat
66971.40Satatatfi
66981.53Sdogcowecho "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5
66991.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
67001.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
67011.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
67021.7Stvelse
67031.7Stv  cat >conftest.$ac_ext <<_ACEOF
67041.53Sdogcow/* confdefs.h.  */
67051.53Sdogcow_ACEOF
67061.53Sdogcowcat confdefs.h >>conftest.$ac_ext
67071.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
67081.53Sdogcow/* end confdefs.h.  */
67091.7Stv#include <sys/stat.h>
67101.7Stv
67111.7Stvint
67121.7Stvmain ()
67131.7Stv{
67141.7Stvstatic struct stat ac_aggr;
67151.39Sfredbif (ac_aggr.st_mtimensec)
67161.7Stvreturn 0;
67171.7Stv  ;
67181.7Stv  return 0;
67191.7Stv}
67201.7Stv_ACEOF
67211.7Stvrm -f conftest.$ac_objext
67221.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67231.53Sdogcow  (eval $ac_compile) 2>conftest.er1
67241.53Sdogcow  ac_status=$?
67251.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
67261.53Sdogcow  rm -f conftest.er1
67271.53Sdogcow  cat conftest.err >&5
67281.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67291.53Sdogcow  (exit $ac_status); } &&
67301.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
67311.53Sdogcow			 || test ! -s conftest.err'
67321.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67331.53Sdogcow  (eval $ac_try) 2>&5
67341.53Sdogcow  ac_status=$?
67351.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67361.53Sdogcow  (exit $ac_status); }; } &&
67371.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
67381.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67391.53Sdogcow  (eval $ac_try) 2>&5
67401.53Sdogcow  ac_status=$?
67411.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421.53Sdogcow  (exit $ac_status); }; }; then
67431.53Sdogcow  ac_cv_member_struct_stat_st_mtimensec=yes
67441.53Sdogcowelse
67451.53Sdogcow  echo "$as_me: failed program was:" >&5
67461.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
67471.53Sdogcow
67481.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
67491.53Sdogcow/* confdefs.h.  */
67501.53Sdogcow_ACEOF
67511.53Sdogcowcat confdefs.h >>conftest.$ac_ext
67521.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
67531.53Sdogcow/* end confdefs.h.  */
67541.53Sdogcow#include <sys/stat.h>
67551.53Sdogcow
67561.53Sdogcowint
67571.53Sdogcowmain ()
67581.53Sdogcow{
67591.53Sdogcowstatic struct stat ac_aggr;
67601.53Sdogcowif (sizeof ac_aggr.st_mtimensec)
67611.53Sdogcowreturn 0;
67621.53Sdogcow  ;
67631.53Sdogcow  return 0;
67641.53Sdogcow}
67651.53Sdogcow_ACEOF
67661.53Sdogcowrm -f conftest.$ac_objext
67671.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67681.53Sdogcow  (eval $ac_compile) 2>conftest.er1
67691.7Stv  ac_status=$?
67701.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
67711.53Sdogcow  rm -f conftest.er1
67721.53Sdogcow  cat conftest.err >&5
67731.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67741.7Stv  (exit $ac_status); } &&
67751.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
67761.53Sdogcow			 || test ! -s conftest.err'
67771.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67781.53Sdogcow  (eval $ac_try) 2>&5
67791.53Sdogcow  ac_status=$?
67801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67811.53Sdogcow  (exit $ac_status); }; } &&
67821.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
67831.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67841.48Sjmc  (eval $ac_try) 2>&5
67851.48Sjmc  ac_status=$?
67861.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871.7Stv  (exit $ac_status); }; }; then
67881.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
67891.7Stvelse
67901.7Stv  echo "$as_me: failed program was:" >&5
67911.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
67921.53Sdogcow
67931.7Stvac_cv_member_struct_stat_st_mtimensec=no
67941.7Stvfi
67951.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67961.7Stvfi
67971.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67981.53Sdogcowfi
67991.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
68001.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
68011.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
68021.7Stv
68031.53Sdogcowcat >>confdefs.h <<_ACEOF
68041.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
68051.53Sdogcow_ACEOF
68061.53Sdogcow
68071.7Stv
68081.7Stvfi
68091.4Stv
68101.53Sdogcowecho "$as_me:$LINENO: checking for struct statvfs.f_iosize" >&5
68111.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
68121.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
68131.47Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
68141.47Sdbjelse
68151.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
68161.53Sdogcow/* confdefs.h.  */
68171.53Sdogcow_ACEOF
68181.53Sdogcowcat confdefs.h >>conftest.$ac_ext
68191.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
68201.53Sdogcow/* end confdefs.h.  */
68211.48Sjmc#include <sys/statvfs.h>
68221.48Sjmc
68231.48Sjmcint
68241.48Sjmcmain ()
68251.48Sjmc{
68261.48Sjmcstatic struct statvfs ac_aggr;
68271.52Sdbjif (ac_aggr.f_iosize)
68281.48Sjmcreturn 0;
68291.48Sjmc  ;
68301.48Sjmc  return 0;
68311.48Sjmc}
68321.48Sjmc_ACEOF
68331.48Sjmcrm -f conftest.$ac_objext
68341.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68351.53Sdogcow  (eval $ac_compile) 2>conftest.er1
68361.47Sdbj  ac_status=$?
68371.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
68381.53Sdogcow  rm -f conftest.er1
68391.53Sdogcow  cat conftest.err >&5
68401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68411.47Sdbj  (exit $ac_status); } &&
68421.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
68431.53Sdogcow			 || test ! -s conftest.err'
68441.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68451.53Sdogcow  (eval $ac_try) 2>&5
68461.53Sdogcow  ac_status=$?
68471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68481.53Sdogcow  (exit $ac_status); }; } &&
68491.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
68501.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68511.47Sdbj  (eval $ac_try) 2>&5
68521.47Sdbj  ac_status=$?
68531.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541.47Sdbj  (exit $ac_status); }; }; then
68551.47Sdbj  ac_cv_member_struct_statvfs_f_iosize=yes
68561.47Sdbjelse
68571.47Sdbj  echo "$as_me: failed program was:" >&5
68581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
68591.47Sdbj
68601.53Sdogcowcat >conftest.$ac_ext <<_ACEOF
68611.53Sdogcow/* confdefs.h.  */
68621.53Sdogcow_ACEOF
68631.53Sdogcowcat confdefs.h >>conftest.$ac_ext
68641.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
68651.53Sdogcow/* end confdefs.h.  */
68661.53Sdogcow#include <sys/statvfs.h>
68671.7Stv
68681.7Stvint
68691.7Stvmain ()
68701.7Stv{
68711.53Sdogcowstatic struct statvfs ac_aggr;
68721.53Sdogcowif (sizeof ac_aggr.f_iosize)
68731.53Sdogcowreturn 0;
68741.7Stv  ;
68751.7Stv  return 0;
68761.7Stv}
68771.7Stv_ACEOF
68781.7Stvrm -f conftest.$ac_objext
68791.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68801.53Sdogcow  (eval $ac_compile) 2>conftest.er1
68811.7Stv  ac_status=$?
68821.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
68831.53Sdogcow  rm -f conftest.er1
68841.53Sdogcow  cat conftest.err >&5
68851.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68861.7Stv  (exit $ac_status); } &&
68871.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
68881.53Sdogcow			 || test ! -s conftest.err'
68891.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68901.7Stv  (eval $ac_try) 2>&5
68911.7Stv  ac_status=$?
68921.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68931.53Sdogcow  (exit $ac_status); }; } &&
68941.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
68951.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68961.53Sdogcow  (eval $ac_try) 2>&5
68971.53Sdogcow  ac_status=$?
68981.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68991.53Sdogcow  (exit $ac_status); }; }; then
69001.53Sdogcow  ac_cv_member_struct_statvfs_f_iosize=yes
69011.53Sdogcowelse
69021.53Sdogcow  echo "$as_me: failed program was:" >&5
69031.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
69041.53Sdogcow
69051.53Sdogcowac_cv_member_struct_statvfs_f_iosize=no
69061.53Sdogcowfi
69071.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69081.53Sdogcowfi
69091.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69101.53Sdogcowfi
69111.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
69121.53Sdogcowecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
69131.53Sdogcowif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
69141.53Sdogcow
69151.53Sdogcowcat >>confdefs.h <<_ACEOF
69161.53Sdogcow#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
69171.53Sdogcow_ACEOF
69181.53Sdogcow
69191.53Sdogcow
69201.53Sdogcowfi
69211.53Sdogcow
69221.53Sdogcow
69231.53Sdogcow# Global variable decls.
69241.53Sdogcowecho "$as_me:$LINENO: checking whether optind is declared" >&5
69251.53Sdogcowecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
69261.53Sdogcowif test "${ac_cv_have_decl_optind+set}" = set; then
69271.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
69281.53Sdogcowelse
69291.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
69301.53Sdogcow/* confdefs.h.  */
69311.53Sdogcow_ACEOF
69321.53Sdogcowcat confdefs.h >>conftest.$ac_ext
69331.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
69341.53Sdogcow/* end confdefs.h.  */
69351.53Sdogcow
69361.53Sdogcow#include <stdio.h>
69371.53Sdogcow#include <stdlib.h>
69381.53Sdogcow#include <unistd.h>
69391.53Sdogcow
69401.53Sdogcow
69411.53Sdogcowint
69421.53Sdogcowmain ()
69431.53Sdogcow{
69441.53Sdogcow#ifndef optind
69451.53Sdogcow  char *p = (char *) optind;
69461.53Sdogcow#endif
69471.53Sdogcow
69481.53Sdogcow  ;
69491.53Sdogcow  return 0;
69501.53Sdogcow}
69511.53Sdogcow_ACEOF
69521.53Sdogcowrm -f conftest.$ac_objext
69531.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69541.53Sdogcow  (eval $ac_compile) 2>conftest.er1
69551.53Sdogcow  ac_status=$?
69561.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
69571.53Sdogcow  rm -f conftest.er1
69581.53Sdogcow  cat conftest.err >&5
69591.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601.53Sdogcow  (exit $ac_status); } &&
69611.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
69621.53Sdogcow			 || test ! -s conftest.err'
69631.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69641.53Sdogcow  (eval $ac_try) 2>&5
69651.53Sdogcow  ac_status=$?
69661.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69671.53Sdogcow  (exit $ac_status); }; } &&
69681.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
69691.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69701.53Sdogcow  (eval $ac_try) 2>&5
69711.53Sdogcow  ac_status=$?
69721.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69731.7Stv  (exit $ac_status); }; }; then
69741.7Stv  ac_cv_have_decl_optind=yes
69751.7Stvelse
69761.7Stv  echo "$as_me: failed program was:" >&5
69771.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
69781.53Sdogcow
69791.7Stvac_cv_have_decl_optind=no
69801.7Stvfi
69811.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69821.7Stvfi
69831.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
69841.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
69851.7Stvif test $ac_cv_have_decl_optind = yes; then
69861.7Stv
69871.53Sdogcowcat >>confdefs.h <<_ACEOF
69881.7Stv#define HAVE_DECL_OPTIND 1
69891.53Sdogcow_ACEOF
69901.53Sdogcow
69911.7Stv
69921.7Stvelse
69931.53Sdogcow  cat >>confdefs.h <<_ACEOF
69941.7Stv#define HAVE_DECL_OPTIND 0
69951.53Sdogcow_ACEOF
69961.53Sdogcow
69971.7Stv
69981.7Stvfi
69991.53Sdogcowecho "$as_me:$LINENO: checking whether optreset is declared" >&5
70001.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
70011.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
70021.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
70031.7Stvelse
70041.7Stv  cat >conftest.$ac_ext <<_ACEOF
70051.53Sdogcow/* confdefs.h.  */
70061.53Sdogcow_ACEOF
70071.53Sdogcowcat confdefs.h >>conftest.$ac_ext
70081.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
70091.53Sdogcow/* end confdefs.h.  */
70101.7Stv
70111.7Stv#include <stdio.h>
70121.7Stv#include <stdlib.h>
70131.7Stv#include <unistd.h>
70141.7Stv
70151.53Sdogcow
70161.7Stvint
70171.7Stvmain ()
70181.7Stv{
70191.7Stv#ifndef optreset
70201.7Stv  char *p = (char *) optreset;
70211.7Stv#endif
70221.7Stv
70231.7Stv  ;
70241.7Stv  return 0;
70251.7Stv}
70261.7Stv_ACEOF
70271.7Stvrm -f conftest.$ac_objext
70281.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70291.53Sdogcow  (eval $ac_compile) 2>conftest.er1
70301.7Stv  ac_status=$?
70311.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
70321.53Sdogcow  rm -f conftest.er1
70331.53Sdogcow  cat conftest.err >&5
70341.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351.7Stv  (exit $ac_status); } &&
70361.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
70371.53Sdogcow			 || test ! -s conftest.err'
70381.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70391.7Stv  (eval $ac_try) 2>&5
70401.7Stv  ac_status=$?
70411.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421.53Sdogcow  (exit $ac_status); }; } &&
70431.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
70441.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70451.53Sdogcow  (eval $ac_try) 2>&5
70461.53Sdogcow  ac_status=$?
70471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481.7Stv  (exit $ac_status); }; }; then
70491.7Stv  ac_cv_have_decl_optreset=yes
70501.7Stvelse
70511.7Stv  echo "$as_me: failed program was:" >&5
70521.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
70531.53Sdogcow
70541.7Stvac_cv_have_decl_optreset=no
70551.7Stvfi
70561.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70571.7Stvfi
70581.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
70591.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
70601.7Stvif test $ac_cv_have_decl_optreset = yes; then
70611.7Stv
70621.53Sdogcowcat >>confdefs.h <<_ACEOF
70631.7Stv#define HAVE_DECL_OPTRESET 1
70641.53Sdogcow_ACEOF
70651.53Sdogcow
70661.7Stv
70671.7Stvelse
70681.53Sdogcow  cat >>confdefs.h <<_ACEOF
70691.7Stv#define HAVE_DECL_OPTRESET 0
70701.53Sdogcow_ACEOF
70711.53Sdogcow
70721.7Stv
70731.7Stvfi
70741.7Stv
70751.53Sdogcow
70761.53Sdogcowecho "$as_me:$LINENO: checking whether sys_signame is declared" >&5
70771.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
70781.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
70791.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
70801.4Stvelse
70811.4Stv  cat >conftest.$ac_ext <<_ACEOF
70821.53Sdogcow/* confdefs.h.  */
70831.53Sdogcow_ACEOF
70841.53Sdogcowcat confdefs.h >>conftest.$ac_ext
70851.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
70861.53Sdogcow/* end confdefs.h.  */
70871.4Stv#include <signal.h>
70881.4Stv
70891.4Stvint
70901.4Stvmain ()
70911.4Stv{
70921.4Stv#ifndef sys_signame
70931.4Stv  char *p = (char *) sys_signame;
70941.4Stv#endif
70951.4Stv
70961.4Stv  ;
70971.4Stv  return 0;
70981.4Stv}
70991.4Stv_ACEOF
71001.4Stvrm -f conftest.$ac_objext
71011.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71021.53Sdogcow  (eval $ac_compile) 2>conftest.er1
71031.4Stv  ac_status=$?
71041.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
71051.53Sdogcow  rm -f conftest.er1
71061.53Sdogcow  cat conftest.err >&5
71071.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71081.4Stv  (exit $ac_status); } &&
71091.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
71101.53Sdogcow			 || test ! -s conftest.err'
71111.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71121.4Stv  (eval $ac_try) 2>&5
71131.4Stv  ac_status=$?
71141.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71151.53Sdogcow  (exit $ac_status); }; } &&
71161.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
71171.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71181.53Sdogcow  (eval $ac_try) 2>&5
71191.53Sdogcow  ac_status=$?
71201.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71211.4Stv  (exit $ac_status); }; }; then
71221.4Stv  ac_cv_have_decl_sys_signame=yes
71231.4Stvelse
71241.4Stv  echo "$as_me: failed program was:" >&5
71251.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
71261.53Sdogcow
71271.4Stvac_cv_have_decl_sys_signame=no
71281.4Stvfi
71291.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71301.4Stvfi
71311.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
71321.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
71331.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
71341.4Stv
71351.53Sdogcowcat >>confdefs.h <<_ACEOF
71361.4Stv#define HAVE_DECL_SYS_SIGNAME 1
71371.53Sdogcow_ACEOF
71381.53Sdogcow
71391.4Stv
71401.4Stvelse
71411.53Sdogcow  cat >>confdefs.h <<_ACEOF
71421.4Stv#define HAVE_DECL_SYS_SIGNAME 0
71431.53Sdogcow_ACEOF
71441.53Sdogcow
71451.4Stv
71461.4Stvfi
71471.4Stv
71481.53Sdogcow
71491.53Sdogcow
71501.4Stv# Library functions (where a .h check isn't enough).
71511.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
71521.19Sbjh21# for constant arguments.  Useless!
71531.53Sdogcowecho "$as_me:$LINENO: checking for working alloca.h" >&5
71541.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
71551.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
71561.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
71571.19Sbjh21else
71581.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
71591.53Sdogcow/* confdefs.h.  */
71601.53Sdogcow_ACEOF
71611.53Sdogcowcat confdefs.h >>conftest.$ac_ext
71621.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
71631.53Sdogcow/* end confdefs.h.  */
71641.19Sbjh21#include <alloca.h>
71651.19Sbjh21int
71661.19Sbjh21main ()
71671.19Sbjh21{
71681.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
71691.19Sbjh21  ;
71701.19Sbjh21  return 0;
71711.19Sbjh21}
71721.19Sbjh21_ACEOF
71731.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
71741.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71751.53Sdogcow  (eval $ac_link) 2>conftest.er1
71761.19Sbjh21  ac_status=$?
71771.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
71781.53Sdogcow  rm -f conftest.er1
71791.53Sdogcow  cat conftest.err >&5
71801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71811.19Sbjh21  (exit $ac_status); } &&
71821.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
71831.53Sdogcow			 || test ! -s conftest.err'
71841.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851.53Sdogcow  (eval $ac_try) 2>&5
71861.53Sdogcow  ac_status=$?
71871.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71881.53Sdogcow  (exit $ac_status); }; } &&
71891.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
71901.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71911.50Sjmc  (eval $ac_try) 2>&5
71921.50Sjmc  ac_status=$?
71931.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941.19Sbjh21  (exit $ac_status); }; }; then
71951.19Sbjh21  ac_cv_working_alloca_h=yes
71961.19Sbjh21else
71971.19Sbjh21  echo "$as_me: failed program was:" >&5
71981.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
71991.53Sdogcow
72001.19Sbjh21ac_cv_working_alloca_h=no
72011.19Sbjh21fi
72021.53Sdogcowrm -f conftest.err conftest.$ac_objext \
72031.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
72041.19Sbjh21fi
72051.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
72061.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
72071.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
72081.19Sbjh21
72091.53Sdogcowcat >>confdefs.h <<\_ACEOF
72101.19Sbjh21#define HAVE_ALLOCA_H 1
72111.53Sdogcow_ACEOF
72121.19Sbjh21
72131.19Sbjh21fi
72141.19Sbjh21
72151.53Sdogcowecho "$as_me:$LINENO: checking for alloca" >&5
72161.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
72171.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
72181.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
72191.19Sbjh21else
72201.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
72211.53Sdogcow/* confdefs.h.  */
72221.53Sdogcow_ACEOF
72231.53Sdogcowcat confdefs.h >>conftest.$ac_ext
72241.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
72251.53Sdogcow/* end confdefs.h.  */
72261.19Sbjh21#ifdef __GNUC__
72271.19Sbjh21# define alloca __builtin_alloca
72281.19Sbjh21#else
72291.19Sbjh21# ifdef _MSC_VER
72301.19Sbjh21#  include <malloc.h>
72311.19Sbjh21#  define alloca _alloca
72321.19Sbjh21# else
72331.19Sbjh21#  if HAVE_ALLOCA_H
72341.19Sbjh21#   include <alloca.h>
72351.19Sbjh21#  else
72361.19Sbjh21#   ifdef _AIX
72371.19Sbjh21 #pragma alloca
72381.19Sbjh21#   else
72391.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
72401.19Sbjh21char *alloca ();
72411.19Sbjh21#    endif
72421.19Sbjh21#   endif
72431.19Sbjh21#  endif
72441.19Sbjh21# endif
72451.19Sbjh21#endif
72461.19Sbjh21
72471.19Sbjh21int
72481.19Sbjh21main ()
72491.19Sbjh21{
72501.19Sbjh21char *p = (char *) alloca (1);
72511.19Sbjh21  ;
72521.19Sbjh21  return 0;
72531.19Sbjh21}
72541.19Sbjh21_ACEOF
72551.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
72561.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72571.53Sdogcow  (eval $ac_link) 2>conftest.er1
72581.19Sbjh21  ac_status=$?
72591.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
72601.53Sdogcow  rm -f conftest.er1
72611.53Sdogcow  cat conftest.err >&5
72621.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72631.19Sbjh21  (exit $ac_status); } &&
72641.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
72651.53Sdogcow			 || test ! -s conftest.err'
72661.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72671.53Sdogcow  (eval $ac_try) 2>&5
72681.53Sdogcow  ac_status=$?
72691.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72701.53Sdogcow  (exit $ac_status); }; } &&
72711.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
72721.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72731.50Sjmc  (eval $ac_try) 2>&5
72741.50Sjmc  ac_status=$?
72751.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
72761.19Sbjh21  (exit $ac_status); }; }; then
72771.19Sbjh21  ac_cv_func_alloca_works=yes
72781.19Sbjh21else
72791.19Sbjh21  echo "$as_me: failed program was:" >&5
72801.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
72811.53Sdogcow
72821.19Sbjh21ac_cv_func_alloca_works=no
72831.19Sbjh21fi
72841.53Sdogcowrm -f conftest.err conftest.$ac_objext \
72851.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
72861.19Sbjh21fi
72871.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
72881.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
72891.19Sbjh21
72901.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
72911.19Sbjh21
72921.53Sdogcowcat >>confdefs.h <<\_ACEOF
72931.19Sbjh21#define HAVE_ALLOCA 1
72941.53Sdogcow_ACEOF
72951.19Sbjh21
72961.19Sbjh21else
72971.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
72981.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
72991.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
73001.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
73011.19Sbjh21
73021.19Sbjh21ALLOCA=alloca.$ac_objext
73031.19Sbjh21
73041.53Sdogcowcat >>confdefs.h <<\_ACEOF
73051.19Sbjh21#define C_ALLOCA 1
73061.53Sdogcow_ACEOF
73071.39Sfredb
73081.53Sdogcow
73091.53Sdogcowecho "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
73101.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
73111.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
73121.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
73131.19Sbjh21else
73141.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
73151.53Sdogcow/* confdefs.h.  */
73161.53Sdogcow_ACEOF
73171.53Sdogcowcat confdefs.h >>conftest.$ac_ext
73181.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
73191.53Sdogcow/* end confdefs.h.  */
73201.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
73211.19Sbjh21webecray
73221.19Sbjh21#else
73231.19Sbjh21wenotbecray
73241.19Sbjh21#endif
73251.19Sbjh21
73261.19Sbjh21_ACEOF
73271.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
73281.53Sdogcow  $EGREP "webecray" >/dev/null 2>&1; then
73291.19Sbjh21  ac_cv_os_cray=yes
73301.19Sbjh21else
73311.19Sbjh21  ac_cv_os_cray=no
73321.19Sbjh21fi
73331.19Sbjh21rm -f conftest*
73341.19Sbjh21
73351.19Sbjh21fi
73361.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
73371.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
73381.19Sbjh21if test $ac_cv_os_cray = yes; then
73391.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
73401.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73411.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5
73421.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73431.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
73441.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
73451.19Sbjh21else
73461.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
73471.53Sdogcow/* confdefs.h.  */
73481.53Sdogcow_ACEOF
73491.53Sdogcowcat confdefs.h >>conftest.$ac_ext
73501.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
73511.53Sdogcow/* end confdefs.h.  */
73521.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73531.53Sdogcow   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73541.53Sdogcow#define $ac_func innocuous_$ac_func
73551.53Sdogcow
73561.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
73571.53Sdogcow    which can conflict with char $ac_func (); below.
73581.53Sdogcow    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73591.53Sdogcow    <limits.h> exists even on freestanding compilers.  */
73601.53Sdogcow
73611.53Sdogcow#ifdef __STDC__
73621.53Sdogcow# include <limits.h>
73631.53Sdogcow#else
73641.53Sdogcow# include <assert.h>
73651.53Sdogcow#endif
73661.53Sdogcow
73671.53Sdogcow#undef $ac_func
73681.53Sdogcow
73691.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
73701.19Sbjh21#ifdef __cplusplus
73711.19Sbjh21extern "C"
73721.53Sdogcow{
73731.19Sbjh21#endif
73741.19Sbjh21/* We use char because int might match the return type of a gcc2
73751.19Sbjh21   builtin and then its argument prototype would still apply.  */
73761.19Sbjh21char $ac_func ();
73771.19Sbjh21/* The GNU C library defines this for functions which it implements
73781.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
73791.19Sbjh21    something starting with __ and the normal name is an alias.  */
73801.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73811.19Sbjh21choke me
73821.19Sbjh21#else
73831.53Sdogcowchar (*f) () = $ac_func;
73841.53Sdogcow#endif
73851.53Sdogcow#ifdef __cplusplus
73861.53Sdogcow}
73871.19Sbjh21#endif
73881.19Sbjh21
73891.53Sdogcowint
73901.53Sdogcowmain ()
73911.53Sdogcow{
73921.53Sdogcowreturn f != $ac_func;
73931.19Sbjh21  ;
73941.19Sbjh21  return 0;
73951.19Sbjh21}
73961.19Sbjh21_ACEOF
73971.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
73981.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73991.53Sdogcow  (eval $ac_link) 2>conftest.er1
74001.19Sbjh21  ac_status=$?
74011.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
74021.53Sdogcow  rm -f conftest.er1
74031.53Sdogcow  cat conftest.err >&5
74041.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74051.19Sbjh21  (exit $ac_status); } &&
74061.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
74071.53Sdogcow			 || test ! -s conftest.err'
74081.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74091.53Sdogcow  (eval $ac_try) 2>&5
74101.53Sdogcow  ac_status=$?
74111.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74121.53Sdogcow  (exit $ac_status); }; } &&
74131.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
74141.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74151.50Sjmc  (eval $ac_try) 2>&5
74161.50Sjmc  ac_status=$?
74171.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74181.19Sbjh21  (exit $ac_status); }; }; then
74191.19Sbjh21  eval "$as_ac_var=yes"
74201.19Sbjh21else
74211.19Sbjh21  echo "$as_me: failed program was:" >&5
74221.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
74231.53Sdogcow
74241.19Sbjh21eval "$as_ac_var=no"
74251.19Sbjh21fi
74261.53Sdogcowrm -f conftest.err conftest.$ac_objext \
74271.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
74281.19Sbjh21fi
74291.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74301.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74311.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
74321.19Sbjh21
74331.53Sdogcowcat >>confdefs.h <<_ACEOF
74341.19Sbjh21#define CRAY_STACKSEG_END $ac_func
74351.53Sdogcow_ACEOF
74361.19Sbjh21
74371.19Sbjh21    break
74381.19Sbjh21fi
74391.19Sbjh21
74401.19Sbjh21  done
74411.19Sbjh21fi
74421.19Sbjh21
74431.53Sdogcowecho "$as_me:$LINENO: checking stack direction for C alloca" >&5
74441.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
74451.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
74461.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
74471.19Sbjh21else
74481.19Sbjh21  if test "$cross_compiling" = yes; then
74491.19Sbjh21  ac_cv_c_stack_direction=0
74501.19Sbjh21else
74511.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
74521.53Sdogcow/* confdefs.h.  */
74531.53Sdogcow_ACEOF
74541.53Sdogcowcat confdefs.h >>conftest.$ac_ext
74551.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
74561.53Sdogcow/* end confdefs.h.  */
74571.19Sbjh21int
74581.19Sbjh21find_stack_direction ()
74591.19Sbjh21{
74601.19Sbjh21  static char *addr = 0;
74611.19Sbjh21  auto char dummy;
74621.19Sbjh21  if (addr == 0)
74631.19Sbjh21    {
74641.19Sbjh21      addr = &dummy;
74651.19Sbjh21      return find_stack_direction ();
74661.19Sbjh21    }
74671.19Sbjh21  else
74681.19Sbjh21    return (&dummy > addr) ? 1 : -1;
74691.19Sbjh21}
74701.19Sbjh21
74711.43Sdbjint
74721.43Sdbjmain ()
74731.43Sdbj{
74741.43Sdbj  exit (find_stack_direction () < 0);
74751.43Sdbj}
74761.43Sdbj_ACEOF
74771.43Sdbjrm -f conftest$ac_exeext
74781.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74791.43Sdbj  (eval $ac_link) 2>&5
74801.43Sdbj  ac_status=$?
74811.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821.43Sdbj  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74831.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74841.43Sdbj  (eval $ac_try) 2>&5
74851.43Sdbj  ac_status=$?
74861.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
74871.43Sdbj  (exit $ac_status); }; }; then
74881.43Sdbj  ac_cv_c_stack_direction=1
74891.43Sdbjelse
74901.43Sdbj  echo "$as_me: program exited with status $ac_status" >&5
74911.43Sdbjecho "$as_me: failed program was:" >&5
74921.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
74931.53Sdogcow
74941.53Sdogcow( exit $ac_status )
74951.43Sdbjac_cv_c_stack_direction=-1
74961.43Sdbjfi
74971.53Sdogcowrm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74981.43Sdbjfi
74991.43Sdbjfi
75001.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
75011.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
75021.39Sfredb
75031.53Sdogcowcat >>confdefs.h <<_ACEOF
75041.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction
75051.53Sdogcow_ACEOF
75061.53Sdogcow
75071.39Sfredb
75081.43Sdbjfi
75091.40Satatat
75101.53Sdogcow
75111.53Sdogcow
75121.53Sdogcow
75131.53Sdogcow
75141.53Sdogcow
75151.53Sdogcow
75161.53Sdogcow
75171.53Sdogcow
75181.53Sdogcow
75191.53Sdogcow
75201.53Sdogcow
75211.53Sdogcow
75221.53Sdogcow
75231.53Sdogcow
75241.53Sdogcow
75251.53Sdogcow
75261.53Sdogcow
75271.53Sdogcow
75281.53Sdogcow
75291.53Sdogcow
75301.53Sdogcow
75311.53Sdogcow
75321.53Sdogcow
75331.53Sdogcow
75341.53Sdogcow
75351.53Sdogcow
75361.53Sdogcow
75371.53Sdogcow
75381.53Sdogcow
75391.53Sdogcow
75401.53Sdogcow
75411.53Sdogcow
75421.53Sdogcow
75431.53Sdogcow
75441.53Sdogcow
75451.53Sdogcow
75461.53Sdogcow
75471.53Sdogcow
75481.53Sdogcow
75491.53Sdogcow
75501.53Sdogcow
75511.53Sdogcow
75521.53Sdogcow
75531.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
75541.44Sthorpej	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
75551.49Sjmc	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
75561.49Sjmc	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
75571.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
75581.29Slukem	strsuftoll strtoll \
75591.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
75601.1Stvdo
75611.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75621.53Sdogcowecho "$as_me:$LINENO: checking for $ac_func" >&5
75631.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75641.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
75651.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
75661.45Sjmcelse
75671.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
75681.53Sdogcow/* confdefs.h.  */
75691.53Sdogcow_ACEOF
75701.53Sdogcowcat confdefs.h >>conftest.$ac_ext
75711.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
75721.53Sdogcow/* end confdefs.h.  */
75731.53Sdogcow/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75741.53Sdogcow   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75751.53Sdogcow#define $ac_func innocuous_$ac_func
75761.53Sdogcow
75771.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
75781.53Sdogcow    which can conflict with char $ac_func (); below.
75791.53Sdogcow    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75801.53Sdogcow    <limits.h> exists even on freestanding compilers.  */
75811.53Sdogcow
75821.53Sdogcow#ifdef __STDC__
75831.53Sdogcow# include <limits.h>
75841.53Sdogcow#else
75851.53Sdogcow# include <assert.h>
75861.53Sdogcow#endif
75871.53Sdogcow
75881.53Sdogcow#undef $ac_func
75891.53Sdogcow
75901.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
75911.45Sjmc#ifdef __cplusplus
75921.45Sjmcextern "C"
75931.53Sdogcow{
75941.45Sjmc#endif
75951.45Sjmc/* We use char because int might match the return type of a gcc2
75961.45Sjmc   builtin and then its argument prototype would still apply.  */
75971.45Sjmcchar $ac_func ();
75981.45Sjmc/* The GNU C library defines this for functions which it implements
75991.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
76001.45Sjmc    something starting with __ and the normal name is an alias.  */
76011.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76021.45Sjmcchoke me
76031.45Sjmc#else
76041.53Sdogcowchar (*f) () = $ac_func;
76051.53Sdogcow#endif
76061.53Sdogcow#ifdef __cplusplus
76071.53Sdogcow}
76081.45Sjmc#endif
76091.45Sjmc
76101.53Sdogcowint
76111.53Sdogcowmain ()
76121.53Sdogcow{
76131.53Sdogcowreturn f != $ac_func;
76141.45Sjmc  ;
76151.45Sjmc  return 0;
76161.45Sjmc}
76171.45Sjmc_ACEOF
76181.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
76191.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76201.53Sdogcow  (eval $ac_link) 2>conftest.er1
76211.45Sjmc  ac_status=$?
76221.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
76231.53Sdogcow  rm -f conftest.er1
76241.53Sdogcow  cat conftest.err >&5
76251.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76261.45Sjmc  (exit $ac_status); } &&
76271.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
76281.53Sdogcow			 || test ! -s conftest.err'
76291.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76301.53Sdogcow  (eval $ac_try) 2>&5
76311.53Sdogcow  ac_status=$?
76321.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331.53Sdogcow  (exit $ac_status); }; } &&
76341.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
76351.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76361.50Sjmc  (eval $ac_try) 2>&5
76371.50Sjmc  ac_status=$?
76381.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76391.45Sjmc  (exit $ac_status); }; }; then
76401.45Sjmc  eval "$as_ac_var=yes"
76411.45Sjmcelse
76421.45Sjmc  echo "$as_me: failed program was:" >&5
76431.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
76441.53Sdogcow
76451.45Sjmceval "$as_ac_var=no"
76461.45Sjmcfi
76471.53Sdogcowrm -f conftest.err conftest.$ac_objext \
76481.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
76491.45Sjmcfi
76501.53Sdogcowecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76511.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76521.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
76531.53Sdogcow  cat >>confdefs.h <<_ACEOF
76541.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76551.53Sdogcow_ACEOF
76561.45Sjmc
76571.45Sjmcfi
76581.45Sjmcdone
76591.45Sjmc
76601.53Sdogcow
76611.53Sdogcowecho "$as_me:$LINENO: checking whether htobe16 is declared" >&5
76621.53Sdogcowecho $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
76631.53Sdogcowif test "${ac_cv_have_decl_htobe16+set}" = set; then
76641.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
76651.45Sjmcelse
76661.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
76671.53Sdogcow/* confdefs.h.  */
76681.53Sdogcow_ACEOF
76691.53Sdogcowcat confdefs.h >>conftest.$ac_ext
76701.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
76711.53Sdogcow/* end confdefs.h.  */
76721.53Sdogcow
76731.53Sdogcow#include <sys/types.h>
76741.53Sdogcow
76751.52Sdbj
76761.52Sdbjint
76771.52Sdbjmain ()
76781.52Sdbj{
76791.53Sdogcow#ifndef htobe16
76801.53Sdogcow  char *p = (char *) htobe16;
76811.48Sjmc#endif
76821.45Sjmc
76831.48Sjmc  ;
76841.48Sjmc  return 0;
76851.48Sjmc}
76861.48Sjmc_ACEOF
76871.53Sdogcowrm -f conftest.$ac_objext
76881.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76891.53Sdogcow  (eval $ac_compile) 2>conftest.er1
76901.48Sjmc  ac_status=$?
76911.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
76921.53Sdogcow  rm -f conftest.er1
76931.53Sdogcow  cat conftest.err >&5
76941.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
76951.48Sjmc  (exit $ac_status); } &&
76961.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
76971.53Sdogcow			 || test ! -s conftest.err'
76981.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76991.53Sdogcow  (eval $ac_try) 2>&5
77001.53Sdogcow  ac_status=$?
77011.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77021.53Sdogcow  (exit $ac_status); }; } &&
77031.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
77041.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77051.48Sjmc  (eval $ac_try) 2>&5
77061.48Sjmc  ac_status=$?
77071.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081.48Sjmc  (exit $ac_status); }; }; then
77091.53Sdogcow  ac_cv_have_decl_htobe16=yes
77101.48Sjmcelse
77111.48Sjmc  echo "$as_me: failed program was:" >&5
77121.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
77131.53Sdogcow
77141.53Sdogcowac_cv_have_decl_htobe16=no
77151.48Sjmcfi
77161.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77171.48Sjmcfi
77181.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5
77191.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
77201.53Sdogcowif test $ac_cv_have_decl_htobe16 = yes; then
77211.53Sdogcow
77221.53Sdogcowcat >>confdefs.h <<_ACEOF
77231.53Sdogcow#define HAVE_DECL_HTOBE16 1
77241.53Sdogcow_ACEOF
77251.53Sdogcow
77261.53Sdogcow
77271.53Sdogcowelse
77281.53Sdogcow  cat >>confdefs.h <<_ACEOF
77291.53Sdogcow#define HAVE_DECL_HTOBE16 0
77301.53Sdogcow_ACEOF
77311.53Sdogcow
77321.48Sjmc
77331.48Sjmcfi
77341.53Sdogcowecho "$as_me:$LINENO: checking whether htobe32 is declared" >&5
77351.53Sdogcowecho $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
77361.53Sdogcowif test "${ac_cv_have_decl_htobe32+set}" = set; then
77371.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
77381.48Sjmcelse
77391.48Sjmc  cat >conftest.$ac_ext <<_ACEOF
77401.53Sdogcow/* confdefs.h.  */
77411.53Sdogcow_ACEOF
77421.53Sdogcowcat confdefs.h >>conftest.$ac_ext
77431.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
77441.53Sdogcow/* end confdefs.h.  */
77451.53Sdogcow
77461.53Sdogcow#include <sys/types.h>
77471.53Sdogcow
77481.53Sdogcow
77491.53Sdogcowint
77501.53Sdogcowmain ()
77511.53Sdogcow{
77521.53Sdogcow#ifndef htobe32
77531.53Sdogcow  char *p = (char *) htobe32;
77541.53Sdogcow#endif
77551.53Sdogcow
77561.53Sdogcow  ;
77571.53Sdogcow  return 0;
77581.53Sdogcow}
77591.53Sdogcow_ACEOF
77601.53Sdogcowrm -f conftest.$ac_objext
77611.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77621.53Sdogcow  (eval $ac_compile) 2>conftest.er1
77631.53Sdogcow  ac_status=$?
77641.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
77651.53Sdogcow  rm -f conftest.er1
77661.53Sdogcow  cat conftest.err >&5
77671.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77681.53Sdogcow  (exit $ac_status); } &&
77691.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
77701.53Sdogcow			 || test ! -s conftest.err'
77711.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77721.53Sdogcow  (eval $ac_try) 2>&5
77731.53Sdogcow  ac_status=$?
77741.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751.53Sdogcow  (exit $ac_status); }; } &&
77761.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
77771.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77781.53Sdogcow  (eval $ac_try) 2>&5
77791.53Sdogcow  ac_status=$?
77801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
77811.53Sdogcow  (exit $ac_status); }; }; then
77821.53Sdogcow  ac_cv_have_decl_htobe32=yes
77831.53Sdogcowelse
77841.53Sdogcow  echo "$as_me: failed program was:" >&5
77851.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
77861.53Sdogcow
77871.53Sdogcowac_cv_have_decl_htobe32=no
77881.53Sdogcowfi
77891.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77901.53Sdogcowfi
77911.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5
77921.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
77931.53Sdogcowif test $ac_cv_have_decl_htobe32 = yes; then
77941.53Sdogcow
77951.53Sdogcowcat >>confdefs.h <<_ACEOF
77961.53Sdogcow#define HAVE_DECL_HTOBE32 1
77971.53Sdogcow_ACEOF
77981.53Sdogcow
77991.53Sdogcow
78001.53Sdogcowelse
78011.53Sdogcow  cat >>confdefs.h <<_ACEOF
78021.53Sdogcow#define HAVE_DECL_HTOBE32 0
78031.53Sdogcow_ACEOF
78041.53Sdogcow
78051.53Sdogcow
78061.53Sdogcowfi
78071.53Sdogcowecho "$as_me:$LINENO: checking whether htobe64 is declared" >&5
78081.53Sdogcowecho $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
78091.53Sdogcowif test "${ac_cv_have_decl_htobe64+set}" = set; then
78101.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
78111.53Sdogcowelse
78121.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
78131.53Sdogcow/* confdefs.h.  */
78141.53Sdogcow_ACEOF
78151.53Sdogcowcat confdefs.h >>conftest.$ac_ext
78161.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
78171.53Sdogcow/* end confdefs.h.  */
78181.53Sdogcow
78191.53Sdogcow#include <sys/types.h>
78201.53Sdogcow
78211.53Sdogcow
78221.53Sdogcowint
78231.53Sdogcowmain ()
78241.53Sdogcow{
78251.53Sdogcow#ifndef htobe64
78261.53Sdogcow  char *p = (char *) htobe64;
78271.53Sdogcow#endif
78281.53Sdogcow
78291.53Sdogcow  ;
78301.53Sdogcow  return 0;
78311.53Sdogcow}
78321.53Sdogcow_ACEOF
78331.53Sdogcowrm -f conftest.$ac_objext
78341.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78351.53Sdogcow  (eval $ac_compile) 2>conftest.er1
78361.53Sdogcow  ac_status=$?
78371.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
78381.53Sdogcow  rm -f conftest.er1
78391.53Sdogcow  cat conftest.err >&5
78401.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78411.53Sdogcow  (exit $ac_status); } &&
78421.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
78431.53Sdogcow			 || test ! -s conftest.err'
78441.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78451.53Sdogcow  (eval $ac_try) 2>&5
78461.53Sdogcow  ac_status=$?
78471.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78481.53Sdogcow  (exit $ac_status); }; } &&
78491.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
78501.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78511.53Sdogcow  (eval $ac_try) 2>&5
78521.53Sdogcow  ac_status=$?
78531.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
78541.53Sdogcow  (exit $ac_status); }; }; then
78551.53Sdogcow  ac_cv_have_decl_htobe64=yes
78561.53Sdogcowelse
78571.53Sdogcow  echo "$as_me: failed program was:" >&5
78581.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
78591.53Sdogcow
78601.53Sdogcowac_cv_have_decl_htobe64=no
78611.53Sdogcowfi
78621.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78631.53Sdogcowfi
78641.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5
78651.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
78661.53Sdogcowif test $ac_cv_have_decl_htobe64 = yes; then
78671.53Sdogcow
78681.53Sdogcowcat >>confdefs.h <<_ACEOF
78691.53Sdogcow#define HAVE_DECL_HTOBE64 1
78701.53Sdogcow_ACEOF
78711.53Sdogcow
78721.53Sdogcow
78731.53Sdogcowelse
78741.53Sdogcow  cat >>confdefs.h <<_ACEOF
78751.53Sdogcow#define HAVE_DECL_HTOBE64 0
78761.53Sdogcow_ACEOF
78771.53Sdogcow
78781.53Sdogcow
78791.53Sdogcowfi
78801.53Sdogcowecho "$as_me:$LINENO: checking whether htole16 is declared" >&5
78811.53Sdogcowecho $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
78821.53Sdogcowif test "${ac_cv_have_decl_htole16+set}" = set; then
78831.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
78841.53Sdogcowelse
78851.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
78861.53Sdogcow/* confdefs.h.  */
78871.53Sdogcow_ACEOF
78881.53Sdogcowcat confdefs.h >>conftest.$ac_ext
78891.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
78901.53Sdogcow/* end confdefs.h.  */
78911.53Sdogcow
78921.53Sdogcow#include <sys/types.h>
78931.53Sdogcow
78941.53Sdogcow
78951.53Sdogcowint
78961.53Sdogcowmain ()
78971.53Sdogcow{
78981.53Sdogcow#ifndef htole16
78991.53Sdogcow  char *p = (char *) htole16;
79001.53Sdogcow#endif
79011.53Sdogcow
79021.53Sdogcow  ;
79031.53Sdogcow  return 0;
79041.53Sdogcow}
79051.53Sdogcow_ACEOF
79061.53Sdogcowrm -f conftest.$ac_objext
79071.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79081.53Sdogcow  (eval $ac_compile) 2>conftest.er1
79091.53Sdogcow  ac_status=$?
79101.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
79111.53Sdogcow  rm -f conftest.er1
79121.53Sdogcow  cat conftest.err >&5
79131.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141.53Sdogcow  (exit $ac_status); } &&
79151.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
79161.53Sdogcow			 || test ! -s conftest.err'
79171.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79181.53Sdogcow  (eval $ac_try) 2>&5
79191.53Sdogcow  ac_status=$?
79201.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79211.53Sdogcow  (exit $ac_status); }; } &&
79221.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
79231.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79241.53Sdogcow  (eval $ac_try) 2>&5
79251.53Sdogcow  ac_status=$?
79261.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79271.53Sdogcow  (exit $ac_status); }; }; then
79281.53Sdogcow  ac_cv_have_decl_htole16=yes
79291.53Sdogcowelse
79301.53Sdogcow  echo "$as_me: failed program was:" >&5
79311.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
79321.53Sdogcow
79331.53Sdogcowac_cv_have_decl_htole16=no
79341.53Sdogcowfi
79351.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79361.53Sdogcowfi
79371.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5
79381.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole16" >&6
79391.53Sdogcowif test $ac_cv_have_decl_htole16 = yes; then
79401.53Sdogcow
79411.53Sdogcowcat >>confdefs.h <<_ACEOF
79421.53Sdogcow#define HAVE_DECL_HTOLE16 1
79431.53Sdogcow_ACEOF
79441.53Sdogcow
79451.53Sdogcow
79461.53Sdogcowelse
79471.53Sdogcow  cat >>confdefs.h <<_ACEOF
79481.53Sdogcow#define HAVE_DECL_HTOLE16 0
79491.53Sdogcow_ACEOF
79501.53Sdogcow
79511.53Sdogcow
79521.53Sdogcowfi
79531.53Sdogcowecho "$as_me:$LINENO: checking whether htole32 is declared" >&5
79541.53Sdogcowecho $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
79551.53Sdogcowif test "${ac_cv_have_decl_htole32+set}" = set; then
79561.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
79571.53Sdogcowelse
79581.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
79591.53Sdogcow/* confdefs.h.  */
79601.53Sdogcow_ACEOF
79611.53Sdogcowcat confdefs.h >>conftest.$ac_ext
79621.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
79631.53Sdogcow/* end confdefs.h.  */
79641.53Sdogcow
79651.53Sdogcow#include <sys/types.h>
79661.53Sdogcow
79671.53Sdogcow
79681.53Sdogcowint
79691.53Sdogcowmain ()
79701.53Sdogcow{
79711.53Sdogcow#ifndef htole32
79721.53Sdogcow  char *p = (char *) htole32;
79731.53Sdogcow#endif
79741.53Sdogcow
79751.53Sdogcow  ;
79761.53Sdogcow  return 0;
79771.53Sdogcow}
79781.53Sdogcow_ACEOF
79791.53Sdogcowrm -f conftest.$ac_objext
79801.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79811.53Sdogcow  (eval $ac_compile) 2>conftest.er1
79821.53Sdogcow  ac_status=$?
79831.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
79841.53Sdogcow  rm -f conftest.er1
79851.53Sdogcow  cat conftest.err >&5
79861.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79871.53Sdogcow  (exit $ac_status); } &&
79881.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
79891.53Sdogcow			 || test ! -s conftest.err'
79901.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79911.53Sdogcow  (eval $ac_try) 2>&5
79921.53Sdogcow  ac_status=$?
79931.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
79941.53Sdogcow  (exit $ac_status); }; } &&
79951.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
79961.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971.53Sdogcow  (eval $ac_try) 2>&5
79981.53Sdogcow  ac_status=$?
79991.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80001.53Sdogcow  (exit $ac_status); }; }; then
80011.53Sdogcow  ac_cv_have_decl_htole32=yes
80021.53Sdogcowelse
80031.53Sdogcow  echo "$as_me: failed program was:" >&5
80041.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
80051.53Sdogcow
80061.53Sdogcowac_cv_have_decl_htole32=no
80071.53Sdogcowfi
80081.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80091.53Sdogcowfi
80101.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5
80111.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole32" >&6
80121.53Sdogcowif test $ac_cv_have_decl_htole32 = yes; then
80131.53Sdogcow
80141.53Sdogcowcat >>confdefs.h <<_ACEOF
80151.53Sdogcow#define HAVE_DECL_HTOLE32 1
80161.53Sdogcow_ACEOF
80171.53Sdogcow
80181.53Sdogcow
80191.53Sdogcowelse
80201.53Sdogcow  cat >>confdefs.h <<_ACEOF
80211.53Sdogcow#define HAVE_DECL_HTOLE32 0
80221.53Sdogcow_ACEOF
80231.53Sdogcow
80241.53Sdogcow
80251.53Sdogcowfi
80261.53Sdogcowecho "$as_me:$LINENO: checking whether htole64 is declared" >&5
80271.53Sdogcowecho $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
80281.53Sdogcowif test "${ac_cv_have_decl_htole64+set}" = set; then
80291.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
80301.53Sdogcowelse
80311.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
80321.53Sdogcow/* confdefs.h.  */
80331.53Sdogcow_ACEOF
80341.53Sdogcowcat confdefs.h >>conftest.$ac_ext
80351.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
80361.53Sdogcow/* end confdefs.h.  */
80371.53Sdogcow
80381.53Sdogcow#include <sys/types.h>
80391.53Sdogcow
80401.53Sdogcow
80411.53Sdogcowint
80421.53Sdogcowmain ()
80431.53Sdogcow{
80441.53Sdogcow#ifndef htole64
80451.53Sdogcow  char *p = (char *) htole64;
80461.53Sdogcow#endif
80471.53Sdogcow
80481.53Sdogcow  ;
80491.53Sdogcow  return 0;
80501.53Sdogcow}
80511.53Sdogcow_ACEOF
80521.53Sdogcowrm -f conftest.$ac_objext
80531.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80541.53Sdogcow  (eval $ac_compile) 2>conftest.er1
80551.53Sdogcow  ac_status=$?
80561.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
80571.53Sdogcow  rm -f conftest.er1
80581.53Sdogcow  cat conftest.err >&5
80591.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80601.53Sdogcow  (exit $ac_status); } &&
80611.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
80621.53Sdogcow			 || test ! -s conftest.err'
80631.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80641.53Sdogcow  (eval $ac_try) 2>&5
80651.53Sdogcow  ac_status=$?
80661.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80671.53Sdogcow  (exit $ac_status); }; } &&
80681.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
80691.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80701.53Sdogcow  (eval $ac_try) 2>&5
80711.53Sdogcow  ac_status=$?
80721.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
80731.53Sdogcow  (exit $ac_status); }; }; then
80741.53Sdogcow  ac_cv_have_decl_htole64=yes
80751.53Sdogcowelse
80761.53Sdogcow  echo "$as_me: failed program was:" >&5
80771.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
80781.53Sdogcow
80791.53Sdogcowac_cv_have_decl_htole64=no
80801.53Sdogcowfi
80811.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80821.53Sdogcowfi
80831.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5
80841.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_htole64" >&6
80851.53Sdogcowif test $ac_cv_have_decl_htole64 = yes; then
80861.53Sdogcow
80871.53Sdogcowcat >>confdefs.h <<_ACEOF
80881.53Sdogcow#define HAVE_DECL_HTOLE64 1
80891.53Sdogcow_ACEOF
80901.53Sdogcow
80911.53Sdogcow
80921.53Sdogcowelse
80931.53Sdogcow  cat >>confdefs.h <<_ACEOF
80941.53Sdogcow#define HAVE_DECL_HTOLE64 0
80951.53Sdogcow_ACEOF
80961.53Sdogcow
80971.53Sdogcow
80981.53Sdogcowfi
80991.53Sdogcowecho "$as_me:$LINENO: checking whether be16toh is declared" >&5
81001.53Sdogcowecho $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
81011.53Sdogcowif test "${ac_cv_have_decl_be16toh+set}" = set; then
81021.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
81031.53Sdogcowelse
81041.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
81051.53Sdogcow/* confdefs.h.  */
81061.53Sdogcow_ACEOF
81071.53Sdogcowcat confdefs.h >>conftest.$ac_ext
81081.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
81091.53Sdogcow/* end confdefs.h.  */
81101.53Sdogcow
81111.53Sdogcow#include <sys/types.h>
81121.53Sdogcow
81131.53Sdogcow
81141.53Sdogcowint
81151.53Sdogcowmain ()
81161.53Sdogcow{
81171.53Sdogcow#ifndef be16toh
81181.53Sdogcow  char *p = (char *) be16toh;
81191.53Sdogcow#endif
81201.53Sdogcow
81211.53Sdogcow  ;
81221.53Sdogcow  return 0;
81231.53Sdogcow}
81241.53Sdogcow_ACEOF
81251.53Sdogcowrm -f conftest.$ac_objext
81261.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81271.53Sdogcow  (eval $ac_compile) 2>conftest.er1
81281.53Sdogcow  ac_status=$?
81291.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
81301.53Sdogcow  rm -f conftest.er1
81311.53Sdogcow  cat conftest.err >&5
81321.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81331.53Sdogcow  (exit $ac_status); } &&
81341.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
81351.53Sdogcow			 || test ! -s conftest.err'
81361.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81371.53Sdogcow  (eval $ac_try) 2>&5
81381.53Sdogcow  ac_status=$?
81391.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81401.53Sdogcow  (exit $ac_status); }; } &&
81411.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
81421.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81431.53Sdogcow  (eval $ac_try) 2>&5
81441.53Sdogcow  ac_status=$?
81451.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
81461.53Sdogcow  (exit $ac_status); }; }; then
81471.53Sdogcow  ac_cv_have_decl_be16toh=yes
81481.53Sdogcowelse
81491.53Sdogcow  echo "$as_me: failed program was:" >&5
81501.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
81511.53Sdogcow
81521.53Sdogcowac_cv_have_decl_be16toh=no
81531.53Sdogcowfi
81541.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81551.53Sdogcowfi
81561.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5
81571.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
81581.53Sdogcowif test $ac_cv_have_decl_be16toh = yes; then
81591.53Sdogcow
81601.53Sdogcowcat >>confdefs.h <<_ACEOF
81611.53Sdogcow#define HAVE_DECL_BE16TOH 1
81621.53Sdogcow_ACEOF
81631.53Sdogcow
81641.53Sdogcow
81651.53Sdogcowelse
81661.53Sdogcow  cat >>confdefs.h <<_ACEOF
81671.53Sdogcow#define HAVE_DECL_BE16TOH 0
81681.53Sdogcow_ACEOF
81691.53Sdogcow
81701.53Sdogcow
81711.53Sdogcowfi
81721.53Sdogcowecho "$as_me:$LINENO: checking whether be32toh is declared" >&5
81731.53Sdogcowecho $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
81741.53Sdogcowif test "${ac_cv_have_decl_be32toh+set}" = set; then
81751.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
81761.53Sdogcowelse
81771.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
81781.53Sdogcow/* confdefs.h.  */
81791.53Sdogcow_ACEOF
81801.53Sdogcowcat confdefs.h >>conftest.$ac_ext
81811.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
81821.53Sdogcow/* end confdefs.h.  */
81831.53Sdogcow
81841.53Sdogcow#include <sys/types.h>
81851.53Sdogcow
81861.53Sdogcow
81871.53Sdogcowint
81881.53Sdogcowmain ()
81891.53Sdogcow{
81901.53Sdogcow#ifndef be32toh
81911.53Sdogcow  char *p = (char *) be32toh;
81921.53Sdogcow#endif
81931.53Sdogcow
81941.53Sdogcow  ;
81951.53Sdogcow  return 0;
81961.53Sdogcow}
81971.53Sdogcow_ACEOF
81981.53Sdogcowrm -f conftest.$ac_objext
81991.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82001.53Sdogcow  (eval $ac_compile) 2>conftest.er1
82011.53Sdogcow  ac_status=$?
82021.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
82031.53Sdogcow  rm -f conftest.er1
82041.53Sdogcow  cat conftest.err >&5
82051.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82061.53Sdogcow  (exit $ac_status); } &&
82071.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
82081.53Sdogcow			 || test ! -s conftest.err'
82091.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101.53Sdogcow  (eval $ac_try) 2>&5
82111.53Sdogcow  ac_status=$?
82121.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82131.53Sdogcow  (exit $ac_status); }; } &&
82141.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
82151.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82161.53Sdogcow  (eval $ac_try) 2>&5
82171.53Sdogcow  ac_status=$?
82181.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191.53Sdogcow  (exit $ac_status); }; }; then
82201.53Sdogcow  ac_cv_have_decl_be32toh=yes
82211.53Sdogcowelse
82221.53Sdogcow  echo "$as_me: failed program was:" >&5
82231.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
82241.53Sdogcow
82251.53Sdogcowac_cv_have_decl_be32toh=no
82261.53Sdogcowfi
82271.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82281.53Sdogcowfi
82291.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be32toh" >&5
82301.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
82311.53Sdogcowif test $ac_cv_have_decl_be32toh = yes; then
82321.53Sdogcow
82331.53Sdogcowcat >>confdefs.h <<_ACEOF
82341.53Sdogcow#define HAVE_DECL_BE32TOH 1
82351.53Sdogcow_ACEOF
82361.53Sdogcow
82371.53Sdogcow
82381.53Sdogcowelse
82391.53Sdogcow  cat >>confdefs.h <<_ACEOF
82401.53Sdogcow#define HAVE_DECL_BE32TOH 0
82411.53Sdogcow_ACEOF
82421.53Sdogcow
82431.53Sdogcow
82441.53Sdogcowfi
82451.53Sdogcowecho "$as_me:$LINENO: checking whether be64toh is declared" >&5
82461.53Sdogcowecho $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
82471.53Sdogcowif test "${ac_cv_have_decl_be64toh+set}" = set; then
82481.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
82491.53Sdogcowelse
82501.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
82511.53Sdogcow/* confdefs.h.  */
82521.53Sdogcow_ACEOF
82531.53Sdogcowcat confdefs.h >>conftest.$ac_ext
82541.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
82551.53Sdogcow/* end confdefs.h.  */
82561.53Sdogcow
82571.53Sdogcow#include <sys/types.h>
82581.53Sdogcow
82591.53Sdogcow
82601.53Sdogcowint
82611.53Sdogcowmain ()
82621.53Sdogcow{
82631.53Sdogcow#ifndef be64toh
82641.53Sdogcow  char *p = (char *) be64toh;
82651.53Sdogcow#endif
82661.53Sdogcow
82671.53Sdogcow  ;
82681.53Sdogcow  return 0;
82691.53Sdogcow}
82701.53Sdogcow_ACEOF
82711.53Sdogcowrm -f conftest.$ac_objext
82721.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82731.53Sdogcow  (eval $ac_compile) 2>conftest.er1
82741.53Sdogcow  ac_status=$?
82751.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
82761.53Sdogcow  rm -f conftest.er1
82771.53Sdogcow  cat conftest.err >&5
82781.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791.53Sdogcow  (exit $ac_status); } &&
82801.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
82811.53Sdogcow			 || test ! -s conftest.err'
82821.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82831.53Sdogcow  (eval $ac_try) 2>&5
82841.53Sdogcow  ac_status=$?
82851.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82861.53Sdogcow  (exit $ac_status); }; } &&
82871.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
82881.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82891.53Sdogcow  (eval $ac_try) 2>&5
82901.53Sdogcow  ac_status=$?
82911.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
82921.53Sdogcow  (exit $ac_status); }; }; then
82931.53Sdogcow  ac_cv_have_decl_be64toh=yes
82941.53Sdogcowelse
82951.53Sdogcow  echo "$as_me: failed program was:" >&5
82961.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
82971.53Sdogcow
82981.53Sdogcowac_cv_have_decl_be64toh=no
82991.53Sdogcowfi
83001.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83011.53Sdogcowfi
83021.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5
83031.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
83041.53Sdogcowif test $ac_cv_have_decl_be64toh = yes; then
83051.53Sdogcow
83061.53Sdogcowcat >>confdefs.h <<_ACEOF
83071.53Sdogcow#define HAVE_DECL_BE64TOH 1
83081.53Sdogcow_ACEOF
83091.53Sdogcow
83101.53Sdogcow
83111.53Sdogcowelse
83121.53Sdogcow  cat >>confdefs.h <<_ACEOF
83131.53Sdogcow#define HAVE_DECL_BE64TOH 0
83141.53Sdogcow_ACEOF
83151.53Sdogcow
83161.53Sdogcow
83171.53Sdogcowfi
83181.53Sdogcowecho "$as_me:$LINENO: checking whether le16toh is declared" >&5
83191.53Sdogcowecho $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
83201.53Sdogcowif test "${ac_cv_have_decl_le16toh+set}" = set; then
83211.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
83221.53Sdogcowelse
83231.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
83241.53Sdogcow/* confdefs.h.  */
83251.53Sdogcow_ACEOF
83261.53Sdogcowcat confdefs.h >>conftest.$ac_ext
83271.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
83281.53Sdogcow/* end confdefs.h.  */
83291.53Sdogcow
83301.53Sdogcow#include <sys/types.h>
83311.53Sdogcow
83321.53Sdogcow
83331.53Sdogcowint
83341.53Sdogcowmain ()
83351.53Sdogcow{
83361.53Sdogcow#ifndef le16toh
83371.53Sdogcow  char *p = (char *) le16toh;
83381.53Sdogcow#endif
83391.53Sdogcow
83401.53Sdogcow  ;
83411.53Sdogcow  return 0;
83421.53Sdogcow}
83431.53Sdogcow_ACEOF
83441.53Sdogcowrm -f conftest.$ac_objext
83451.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83461.53Sdogcow  (eval $ac_compile) 2>conftest.er1
83471.53Sdogcow  ac_status=$?
83481.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
83491.53Sdogcow  rm -f conftest.er1
83501.53Sdogcow  cat conftest.err >&5
83511.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521.53Sdogcow  (exit $ac_status); } &&
83531.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
83541.53Sdogcow			 || test ! -s conftest.err'
83551.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83561.53Sdogcow  (eval $ac_try) 2>&5
83571.53Sdogcow  ac_status=$?
83581.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83591.53Sdogcow  (exit $ac_status); }; } &&
83601.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
83611.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83621.53Sdogcow  (eval $ac_try) 2>&5
83631.53Sdogcow  ac_status=$?
83641.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
83651.53Sdogcow  (exit $ac_status); }; }; then
83661.53Sdogcow  ac_cv_have_decl_le16toh=yes
83671.53Sdogcowelse
83681.53Sdogcow  echo "$as_me: failed program was:" >&5
83691.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
83701.53Sdogcow
83711.53Sdogcowac_cv_have_decl_le16toh=no
83721.53Sdogcowfi
83731.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83741.53Sdogcowfi
83751.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5
83761.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
83771.53Sdogcowif test $ac_cv_have_decl_le16toh = yes; then
83781.53Sdogcow
83791.53Sdogcowcat >>confdefs.h <<_ACEOF
83801.53Sdogcow#define HAVE_DECL_LE16TOH 1
83811.53Sdogcow_ACEOF
83821.53Sdogcow
83831.53Sdogcow
83841.53Sdogcowelse
83851.53Sdogcow  cat >>confdefs.h <<_ACEOF
83861.53Sdogcow#define HAVE_DECL_LE16TOH 0
83871.53Sdogcow_ACEOF
83881.53Sdogcow
83891.53Sdogcow
83901.53Sdogcowfi
83911.53Sdogcowecho "$as_me:$LINENO: checking whether le32toh is declared" >&5
83921.53Sdogcowecho $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
83931.53Sdogcowif test "${ac_cv_have_decl_le32toh+set}" = set; then
83941.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
83951.53Sdogcowelse
83961.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
83971.53Sdogcow/* confdefs.h.  */
83981.53Sdogcow_ACEOF
83991.53Sdogcowcat confdefs.h >>conftest.$ac_ext
84001.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
84011.53Sdogcow/* end confdefs.h.  */
84021.53Sdogcow
84031.53Sdogcow#include <sys/types.h>
84041.53Sdogcow
84051.53Sdogcow
84061.53Sdogcowint
84071.53Sdogcowmain ()
84081.53Sdogcow{
84091.53Sdogcow#ifndef le32toh
84101.53Sdogcow  char *p = (char *) le32toh;
84111.53Sdogcow#endif
84121.53Sdogcow
84131.53Sdogcow  ;
84141.53Sdogcow  return 0;
84151.53Sdogcow}
84161.53Sdogcow_ACEOF
84171.53Sdogcowrm -f conftest.$ac_objext
84181.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84191.53Sdogcow  (eval $ac_compile) 2>conftest.er1
84201.53Sdogcow  ac_status=$?
84211.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
84221.53Sdogcow  rm -f conftest.er1
84231.53Sdogcow  cat conftest.err >&5
84241.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84251.53Sdogcow  (exit $ac_status); } &&
84261.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
84271.53Sdogcow			 || test ! -s conftest.err'
84281.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84291.53Sdogcow  (eval $ac_try) 2>&5
84301.53Sdogcow  ac_status=$?
84311.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84321.53Sdogcow  (exit $ac_status); }; } &&
84331.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
84341.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84351.53Sdogcow  (eval $ac_try) 2>&5
84361.53Sdogcow  ac_status=$?
84371.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84381.53Sdogcow  (exit $ac_status); }; }; then
84391.53Sdogcow  ac_cv_have_decl_le32toh=yes
84401.53Sdogcowelse
84411.53Sdogcow  echo "$as_me: failed program was:" >&5
84421.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
84431.53Sdogcow
84441.53Sdogcowac_cv_have_decl_le32toh=no
84451.53Sdogcowfi
84461.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84471.53Sdogcowfi
84481.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5
84491.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
84501.53Sdogcowif test $ac_cv_have_decl_le32toh = yes; then
84511.53Sdogcow
84521.53Sdogcowcat >>confdefs.h <<_ACEOF
84531.53Sdogcow#define HAVE_DECL_LE32TOH 1
84541.53Sdogcow_ACEOF
84551.53Sdogcow
84561.53Sdogcow
84571.53Sdogcowelse
84581.53Sdogcow  cat >>confdefs.h <<_ACEOF
84591.53Sdogcow#define HAVE_DECL_LE32TOH 0
84601.53Sdogcow_ACEOF
84611.53Sdogcow
84621.53Sdogcow
84631.53Sdogcowfi
84641.53Sdogcowecho "$as_me:$LINENO: checking whether le64toh is declared" >&5
84651.53Sdogcowecho $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
84661.53Sdogcowif test "${ac_cv_have_decl_le64toh+set}" = set; then
84671.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
84681.53Sdogcowelse
84691.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
84701.53Sdogcow/* confdefs.h.  */
84711.53Sdogcow_ACEOF
84721.53Sdogcowcat confdefs.h >>conftest.$ac_ext
84731.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
84741.53Sdogcow/* end confdefs.h.  */
84751.53Sdogcow
84761.53Sdogcow#include <sys/types.h>
84771.53Sdogcow
84781.53Sdogcow
84791.53Sdogcowint
84801.53Sdogcowmain ()
84811.53Sdogcow{
84821.53Sdogcow#ifndef le64toh
84831.53Sdogcow  char *p = (char *) le64toh;
84841.53Sdogcow#endif
84851.53Sdogcow
84861.53Sdogcow  ;
84871.53Sdogcow  return 0;
84881.53Sdogcow}
84891.53Sdogcow_ACEOF
84901.53Sdogcowrm -f conftest.$ac_objext
84911.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84921.53Sdogcow  (eval $ac_compile) 2>conftest.er1
84931.53Sdogcow  ac_status=$?
84941.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
84951.53Sdogcow  rm -f conftest.er1
84961.53Sdogcow  cat conftest.err >&5
84971.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
84981.53Sdogcow  (exit $ac_status); } &&
84991.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
85001.53Sdogcow			 || test ! -s conftest.err'
85011.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85021.53Sdogcow  (eval $ac_try) 2>&5
85031.53Sdogcow  ac_status=$?
85041.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85051.53Sdogcow  (exit $ac_status); }; } &&
85061.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
85071.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85081.53Sdogcow  (eval $ac_try) 2>&5
85091.53Sdogcow  ac_status=$?
85101.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85111.53Sdogcow  (exit $ac_status); }; }; then
85121.53Sdogcow  ac_cv_have_decl_le64toh=yes
85131.53Sdogcowelse
85141.53Sdogcow  echo "$as_me: failed program was:" >&5
85151.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
85161.53Sdogcow
85171.53Sdogcowac_cv_have_decl_le64toh=no
85181.53Sdogcowfi
85191.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85201.53Sdogcowfi
85211.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5
85221.53Sdogcowecho "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
85231.53Sdogcowif test $ac_cv_have_decl_le64toh = yes; then
85241.53Sdogcow
85251.53Sdogcowcat >>confdefs.h <<_ACEOF
85261.53Sdogcow#define HAVE_DECL_LE64TOH 1
85271.53Sdogcow_ACEOF
85281.53Sdogcow
85291.53Sdogcow
85301.53Sdogcowelse
85311.53Sdogcow  cat >>confdefs.h <<_ACEOF
85321.53Sdogcow#define HAVE_DECL_LE64TOH 0
85331.53Sdogcow_ACEOF
85341.53Sdogcow
85351.53Sdogcow
85361.53Sdogcowfi
85371.53Sdogcow
85381.53Sdogcow
85391.53Sdogcow
85401.54Swizecho "$as_me:$LINENO: checking whether bswap16 is declared" >&5
85411.54Swizecho $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
85421.54Swizif test "${ac_cv_have_decl_bswap16+set}" = set; then
85431.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
85441.54Swizelse
85451.54Swiz  cat >conftest.$ac_ext <<_ACEOF
85461.54Swiz/* confdefs.h.  */
85471.54Swiz_ACEOF
85481.54Swizcat confdefs.h >>conftest.$ac_ext
85491.54Swizcat >>conftest.$ac_ext <<_ACEOF
85501.54Swiz/* end confdefs.h.  */
85511.54Swiz
85521.54Swiz#include <machine/bswap.h>
85531.54Swiz
85541.54Swiz
85551.54Swizint
85561.54Swizmain ()
85571.54Swiz{
85581.54Swiz#ifndef bswap16
85591.54Swiz  char *p = (char *) bswap16;
85601.54Swiz#endif
85611.54Swiz
85621.54Swiz  ;
85631.54Swiz  return 0;
85641.54Swiz}
85651.54Swiz_ACEOF
85661.54Swizrm -f conftest.$ac_objext
85671.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85681.54Swiz  (eval $ac_compile) 2>conftest.er1
85691.54Swiz  ac_status=$?
85701.54Swiz  grep -v '^ *+' conftest.er1 >conftest.err
85711.54Swiz  rm -f conftest.er1
85721.54Swiz  cat conftest.err >&5
85731.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85741.54Swiz  (exit $ac_status); } &&
85751.54Swiz	 { ac_try='test -z "$ac_c_werror_flag"
85761.54Swiz			 || test ! -s conftest.err'
85771.54Swiz  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85781.54Swiz  (eval $ac_try) 2>&5
85791.54Swiz  ac_status=$?
85801.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85811.54Swiz  (exit $ac_status); }; } &&
85821.54Swiz	 { ac_try='test -s conftest.$ac_objext'
85831.54Swiz  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85841.54Swiz  (eval $ac_try) 2>&5
85851.54Swiz  ac_status=$?
85861.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
85871.54Swiz  (exit $ac_status); }; }; then
85881.54Swiz  ac_cv_have_decl_bswap16=yes
85891.54Swizelse
85901.54Swiz  echo "$as_me: failed program was:" >&5
85911.54Swizsed 's/^/| /' conftest.$ac_ext >&5
85921.54Swiz
85931.54Swizac_cv_have_decl_bswap16=no
85941.54Swizfi
85951.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85961.54Swizfi
85971.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5
85981.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
85991.54Swizif test $ac_cv_have_decl_bswap16 = yes; then
86001.54Swiz
86011.54Swizcat >>confdefs.h <<_ACEOF
86021.54Swiz#define HAVE_DECL_BSWAP16 1
86031.54Swiz_ACEOF
86041.54Swiz
86051.53Sdogcow
86061.54Swizelse
86071.54Swiz  cat >>confdefs.h <<_ACEOF
86081.54Swiz#define HAVE_DECL_BSWAP16 0
86091.54Swiz_ACEOF
86101.53Sdogcow
86111.53Sdogcow
86121.54Swizfi
86131.54Swizecho "$as_me:$LINENO: checking whether bswap32 is declared" >&5
86141.54Swizecho $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
86151.54Swizif test "${ac_cv_have_decl_bswap32+set}" = set; then
86161.53Sdogcow  echo $ECHO_N "(cached) $ECHO_C" >&6
86171.53Sdogcowelse
86181.53Sdogcow  cat >conftest.$ac_ext <<_ACEOF
86191.53Sdogcow/* confdefs.h.  */
86201.53Sdogcow_ACEOF
86211.53Sdogcowcat confdefs.h >>conftest.$ac_ext
86221.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
86231.53Sdogcow/* end confdefs.h.  */
86241.53Sdogcow
86251.54Swiz#include <machine/bswap.h>
86261.53Sdogcow
86271.53Sdogcow
86281.54Swizint
86291.54Swizmain ()
86301.53Sdogcow{
86311.54Swiz#ifndef bswap32
86321.54Swiz  char *p = (char *) bswap32;
86331.48Sjmc#endif
86341.54Swiz
86351.54Swiz  ;
86361.54Swiz  return 0;
86371.53Sdogcow}
86381.54Swiz_ACEOF
86391.54Swizrm -f conftest.$ac_objext
86401.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86411.54Swiz  (eval $ac_compile) 2>conftest.er1
86421.54Swiz  ac_status=$?
86431.54Swiz  grep -v '^ *+' conftest.er1 >conftest.err
86441.54Swiz  rm -f conftest.er1
86451.54Swiz  cat conftest.err >&5
86461.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86471.54Swiz  (exit $ac_status); } &&
86481.54Swiz	 { ac_try='test -z "$ac_c_werror_flag"
86491.54Swiz			 || test ! -s conftest.err'
86501.54Swiz  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86511.54Swiz  (eval $ac_try) 2>&5
86521.54Swiz  ac_status=$?
86531.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86541.54Swiz  (exit $ac_status); }; } &&
86551.54Swiz	 { ac_try='test -s conftest.$ac_objext'
86561.54Swiz  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86571.54Swiz  (eval $ac_try) 2>&5
86581.54Swiz  ac_status=$?
86591.54Swiz  echo "$as_me:$LINENO: \$? = $ac_status" >&5
86601.54Swiz  (exit $ac_status); }; }; then
86611.54Swiz  ac_cv_have_decl_bswap32=yes
86621.54Swizelse
86631.54Swiz  echo "$as_me: failed program was:" >&5
86641.54Swizsed 's/^/| /' conftest.$ac_ext >&5
86651.54Swiz
86661.54Swizac_cv_have_decl_bswap32=no
86671.54Swizfi
86681.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86691.54Swizfi
86701.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5
86711.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
86721.54Swizif test $ac_cv_have_decl_bswap32 = yes; then
86731.54Swiz
86741.54Swizcat >>confdefs.h <<_ACEOF
86751.54Swiz#define HAVE_DECL_BSWAP32 1
86761.54Swiz_ACEOF
86771.54Swiz
86781.54Swiz
86791.54Swizelse
86801.54Swiz  cat >>confdefs.h <<_ACEOF
86811.54Swiz#define HAVE_DECL_BSWAP32 0
86821.54Swiz_ACEOF
86831.54Swiz
86841.54Swiz
86851.54Swizfi
86861.54Swizecho "$as_me:$LINENO: checking whether bswap64 is declared" >&5
86871.54Swizecho $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
86881.54Swizif test "${ac_cv_have_decl_bswap64+set}" = set; then
86891.54Swiz  echo $ECHO_N "(cached) $ECHO_C" >&6
86901.54Swizelse
86911.54Swiz  cat >conftest.$ac_ext <<_ACEOF
86921.54Swiz/* confdefs.h.  */
86931.54Swiz_ACEOF
86941.54Swizcat confdefs.h >>conftest.$ac_ext
86951.54Swizcat >>conftest.$ac_ext <<_ACEOF
86961.54Swiz/* end confdefs.h.  */
86971.54Swiz
86981.54Swiz#include <machine/bswap.h>
86991.54Swiz
87001.45Sjmc
87011.53Sdogcowint
87021.53Sdogcowmain ()
87031.53Sdogcow{
87041.54Swiz#ifndef bswap64
87051.54Swiz  char *p = (char *) bswap64;
87061.54Swiz#endif
87071.54Swiz
87081.45Sjmc  ;
87091.45Sjmc  return 0;
87101.45Sjmc}
87111.45Sjmc_ACEOF
87121.54Swizrm -f conftest.$ac_objext
87131.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87141.54Swiz  (eval $ac_compile) 2>conftest.er1
87151.45Sjmc  ac_status=$?
87161.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
87171.53Sdogcow  rm -f conftest.er1
87181.53Sdogcow  cat conftest.err >&5
87191.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201.45Sjmc  (exit $ac_status); } &&
87211.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
87221.53Sdogcow			 || test ! -s conftest.err'
87231.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87241.53Sdogcow  (eval $ac_try) 2>&5
87251.53Sdogcow  ac_status=$?
87261.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87271.53Sdogcow  (exit $ac_status); }; } &&
87281.54Swiz	 { ac_try='test -s conftest.$ac_objext'
87291.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87301.45Sjmc  (eval $ac_try) 2>&5
87311.45Sjmc  ac_status=$?
87321.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87331.45Sjmc  (exit $ac_status); }; }; then
87341.54Swiz  ac_cv_have_decl_bswap64=yes
87351.45Sjmcelse
87361.45Sjmc  echo "$as_me: failed program was:" >&5
87371.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
87381.53Sdogcow
87391.54Swizac_cv_have_decl_bswap64=no
87401.45Sjmcfi
87411.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87421.45Sjmcfi
87431.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5
87441.54Swizecho "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
87451.54Swizif test $ac_cv_have_decl_bswap64 = yes; then
87461.54Swiz
87471.54Swizcat >>confdefs.h <<_ACEOF
87481.54Swiz#define HAVE_DECL_BSWAP64 1
87491.54Swiz_ACEOF
87501.54Swiz
87511.54Swiz
87521.54Swizelse
87531.53Sdogcow  cat >>confdefs.h <<_ACEOF
87541.54Swiz#define HAVE_DECL_BSWAP64 0
87551.53Sdogcow_ACEOF
87561.45Sjmc
87571.54Swiz
87581.45Sjmcfi
87591.45Sjmc
87601.53Sdogcow
87611.53Sdogcow
87621.54Swizecho "$as_me:$LINENO: checking whether fstatvfs is declared" >&5
87631.54Swizecho $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
87641.54Swizif test "${ac_cv_have_decl_fstatvfs+set}" = set; then
87651.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
87661.1Stvelse
87671.1Stv  cat >conftest.$ac_ext <<_ACEOF
87681.53Sdogcow/* confdefs.h.  */
87691.53Sdogcow_ACEOF
87701.53Sdogcowcat confdefs.h >>conftest.$ac_ext
87711.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
87721.53Sdogcow/* end confdefs.h.  */
87731.53Sdogcow
87741.54Swiz#include <sys/statvfs.h>
87751.53Sdogcow
87761.53Sdogcow
87771.54Swizint
87781.54Swizmain ()
87791.53Sdogcow{
87801.54Swiz#ifndef fstatvfs
87811.54Swiz  char *p = (char *) fstatvfs;
87821.1Stv#endif
87831.1Stv
87841.1Stv  ;
87851.1Stv  return 0;
87861.1Stv}
87871.1Stv_ACEOF
87881.54Swizrm -f conftest.$ac_objext
87891.54Swizif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87901.54Swiz  (eval $ac_compile) 2>conftest.er1
87911.1Stv  ac_status=$?
87921.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
87931.53Sdogcow  rm -f conftest.er1
87941.53Sdogcow  cat conftest.err >&5
87951.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
87961.1Stv  (exit $ac_status); } &&
87971.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
87981.53Sdogcow			 || test ! -s conftest.err'
87991.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88001.53Sdogcow  (eval $ac_try) 2>&5
88011.53Sdogcow  ac_status=$?
88021.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88031.53Sdogcow  (exit $ac_status); }; } &&
88041.54Swiz	 { ac_try='test -s conftest.$ac_objext'
88051.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88061.1Stv  (eval $ac_try) 2>&5
88071.1Stv  ac_status=$?
88081.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88091.1Stv  (exit $ac_status); }; }; then
88101.54Swiz  ac_cv_have_decl_fstatvfs=yes
88111.1Stvelse
88121.1Stv  echo "$as_me: failed program was:" >&5
88131.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
88141.53Sdogcow
88151.54Swizac_cv_have_decl_fstatvfs=no
88161.1Stvfi
88171.54Swizrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88181.1Stvfi
88191.54Swizecho "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5
88201.54Swizecho "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
88211.54Swizif test $ac_cv_have_decl_fstatvfs = yes; then
88221.54Swiz
88231.54Swizcat >>confdefs.h <<_ACEOF
88241.54Swiz#define HAVE_DECL_FSTATVFS 1
88251.54Swiz_ACEOF
88261.54Swiz
88271.54Swiz
88281.54Swizelse
88291.53Sdogcow  cat >>confdefs.h <<_ACEOF
88301.54Swiz#define HAVE_DECL_FSTATVFS 0
88311.53Sdogcow_ACEOF
88321.1Stv
88331.54Swiz
88341.1Stvfi
88351.54Swiz
88361.1Stv
88371.53Sdogcow
88381.53Sdogcowecho "$as_me:$LINENO: checking whether setgroupent is declared" >&5
88391.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
88401.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
88411.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
88421.8Stvelse
88431.8Stv  cat >conftest.$ac_ext <<_ACEOF
88441.53Sdogcow/* confdefs.h.  */
88451.53Sdogcow_ACEOF
88461.53Sdogcowcat confdefs.h >>conftest.$ac_ext
88471.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
88481.53Sdogcow/* end confdefs.h.  */
88491.8Stv
88501.33Sthorpej#include <sys/types.h>
88511.8Stv#include <grp.h>
88521.8Stv#include <pwd.h>
88531.8Stv
88541.53Sdogcow
88551.8Stvint
88561.8Stvmain ()
88571.8Stv{
88581.8Stv#ifndef setgroupent
88591.8Stv  char *p = (char *) setgroupent;
88601.8Stv#endif
88611.8Stv
88621.8Stv  ;
88631.8Stv  return 0;
88641.8Stv}
88651.8Stv_ACEOF
88661.8Stvrm -f conftest.$ac_objext
88671.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88681.53Sdogcow  (eval $ac_compile) 2>conftest.er1
88691.8Stv  ac_status=$?
88701.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
88711.53Sdogcow  rm -f conftest.er1
88721.53Sdogcow  cat conftest.err >&5
88731.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88741.8Stv  (exit $ac_status); } &&
88751.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
88761.53Sdogcow			 || test ! -s conftest.err'
88771.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88781.50Sjmc  (eval $ac_try) 2>&5
88791.50Sjmc  ac_status=$?
88801.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88811.53Sdogcow  (exit $ac_status); }; } &&
88821.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
88831.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88841.53Sdogcow  (eval $ac_try) 2>&5
88851.53Sdogcow  ac_status=$?
88861.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871.8Stv  (exit $ac_status); }; }; then
88881.8Stv  ac_cv_have_decl_setgroupent=yes
88891.8Stvelse
88901.8Stv  echo "$as_me: failed program was:" >&5
88911.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
88921.53Sdogcow
88931.8Stvac_cv_have_decl_setgroupent=no
88941.8Stvfi
88951.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88961.8Stvfi
88971.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
88981.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
88991.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
89001.8Stv
89011.53Sdogcowcat >>confdefs.h <<_ACEOF
89021.8Stv#define HAVE_DECL_SETGROUPENT 1
89031.53Sdogcow_ACEOF
89041.53Sdogcow
89051.8Stv
89061.8Stvelse
89071.53Sdogcow  cat >>confdefs.h <<_ACEOF
89081.8Stv#define HAVE_DECL_SETGROUPENT 0
89091.53Sdogcow_ACEOF
89101.53Sdogcow
89111.8Stv
89121.8Stvfi
89131.53Sdogcowecho "$as_me:$LINENO: checking whether setpassent is declared" >&5
89141.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
89151.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
89161.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
89171.8Stvelse
89181.8Stv  cat >conftest.$ac_ext <<_ACEOF
89191.53Sdogcow/* confdefs.h.  */
89201.53Sdogcow_ACEOF
89211.53Sdogcowcat confdefs.h >>conftest.$ac_ext
89221.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
89231.53Sdogcow/* end confdefs.h.  */
89241.8Stv
89251.33Sthorpej#include <sys/types.h>
89261.8Stv#include <grp.h>
89271.8Stv#include <pwd.h>
89281.8Stv
89291.53Sdogcow
89301.8Stvint
89311.8Stvmain ()
89321.8Stv{
89331.8Stv#ifndef setpassent
89341.8Stv  char *p = (char *) setpassent;
89351.8Stv#endif
89361.8Stv
89371.8Stv  ;
89381.8Stv  return 0;
89391.8Stv}
89401.8Stv_ACEOF
89411.8Stvrm -f conftest.$ac_objext
89421.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89431.53Sdogcow  (eval $ac_compile) 2>conftest.er1
89441.8Stv  ac_status=$?
89451.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
89461.53Sdogcow  rm -f conftest.er1
89471.53Sdogcow  cat conftest.err >&5
89481.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491.8Stv  (exit $ac_status); } &&
89501.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
89511.53Sdogcow			 || test ! -s conftest.err'
89521.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89531.50Sjmc  (eval $ac_try) 2>&5
89541.50Sjmc  ac_status=$?
89551.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89561.53Sdogcow  (exit $ac_status); }; } &&
89571.53Sdogcow	 { ac_try='test -s conftest.$ac_objext'
89581.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89591.53Sdogcow  (eval $ac_try) 2>&5
89601.53Sdogcow  ac_status=$?
89611.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
89621.8Stv  (exit $ac_status); }; }; then
89631.8Stv  ac_cv_have_decl_setpassent=yes
89641.8Stvelse
89651.8Stv  echo "$as_me: failed program was:" >&5
89661.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
89671.53Sdogcow
89681.8Stvac_cv_have_decl_setpassent=no
89691.8Stvfi
89701.53Sdogcowrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89711.8Stvfi
89721.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
89731.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
89741.8Stvif test $ac_cv_have_decl_setpassent = yes; then
89751.8Stv
89761.53Sdogcowcat >>confdefs.h <<_ACEOF
89771.8Stv#define HAVE_DECL_SETPASSENT 1
89781.53Sdogcow_ACEOF
89791.53Sdogcow
89801.8Stv
89811.8Stvelse
89821.53Sdogcow  cat >>confdefs.h <<_ACEOF
89831.8Stv#define HAVE_DECL_SETPASSENT 0
89841.53Sdogcow_ACEOF
89851.53Sdogcow
89861.8Stv
89871.8Stvfi
89881.8Stv
89891.53Sdogcow
89901.53Sdogcow
89911.4Stv# regcomp() and regexec() are also names of functions in the old V8
89921.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
89931.4Stv
89941.53Sdogcow
89951.53Sdogcowecho "$as_me:$LINENO: checking for regfree in -lregex" >&5
89961.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
89971.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
89981.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
89991.4Stvelse
90001.4Stv  ac_check_lib_save_LIBS=$LIBS
90011.4StvLIBS="-lregex  $LIBS"
90021.4Stvcat >conftest.$ac_ext <<_ACEOF
90031.53Sdogcow/* confdefs.h.  */
90041.53Sdogcow_ACEOF
90051.53Sdogcowcat confdefs.h >>conftest.$ac_ext
90061.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
90071.53Sdogcow/* end confdefs.h.  */
90081.4Stv
90091.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
90101.4Stv#ifdef __cplusplus
90111.4Stvextern "C"
90121.4Stv#endif
90131.4Stv/* We use char because int might match the return type of a gcc2
90141.4Stv   builtin and then its argument prototype would still apply.  */
90151.4Stvchar regfree ();
90161.4Stvint
90171.4Stvmain ()
90181.4Stv{
90191.4Stvregfree ();
90201.4Stv  ;
90211.4Stv  return 0;
90221.4Stv}
90231.4Stv_ACEOF
90241.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
90251.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90261.53Sdogcow  (eval $ac_link) 2>conftest.er1
90271.4Stv  ac_status=$?
90281.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
90291.53Sdogcow  rm -f conftest.er1
90301.53Sdogcow  cat conftest.err >&5
90311.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90321.4Stv  (exit $ac_status); } &&
90331.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
90341.53Sdogcow			 || test ! -s conftest.err'
90351.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90361.53Sdogcow  (eval $ac_try) 2>&5
90371.53Sdogcow  ac_status=$?
90381.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391.53Sdogcow  (exit $ac_status); }; } &&
90401.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
90411.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90421.4Stv  (eval $ac_try) 2>&5
90431.4Stv  ac_status=$?
90441.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
90451.4Stv  (exit $ac_status); }; }; then
90461.4Stv  ac_cv_lib_regex_regfree=yes
90471.4Stvelse
90481.4Stv  echo "$as_me: failed program was:" >&5
90491.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
90501.53Sdogcow
90511.4Stvac_cv_lib_regex_regfree=no
90521.4Stvfi
90531.53Sdogcowrm -f conftest.err conftest.$ac_objext \
90541.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
90551.4StvLIBS=$ac_check_lib_save_LIBS
90561.4Stvfi
90571.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
90581.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
90591.4Stvif test $ac_cv_lib_regex_regfree = yes; then
90601.53Sdogcow  cat >>confdefs.h <<_ACEOF
90611.4Stv#define HAVE_LIBREGEX 1
90621.53Sdogcow_ACEOF
90631.4Stv
90641.4Stv  LIBS="-lregex $LIBS"
90651.4Stv
90661.4Stvfi
90671.4Stv
90681.53Sdogcowecho "$as_me:$LINENO: checking for library containing regfree" >&5
90691.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
90701.4Stvif test "${ac_cv_search_regfree+set}" = set; then
90711.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
90721.1Stvelse
90731.1Stv  ac_func_search_save_LIBS=$LIBS
90741.4Stvac_cv_search_regfree=no
90751.1Stvcat >conftest.$ac_ext <<_ACEOF
90761.53Sdogcow/* confdefs.h.  */
90771.53Sdogcow_ACEOF
90781.53Sdogcowcat confdefs.h >>conftest.$ac_ext
90791.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
90801.53Sdogcow/* end confdefs.h.  */
90811.1Stv
90821.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
90831.1Stv#ifdef __cplusplus
90841.1Stvextern "C"
90851.1Stv#endif
90861.1Stv/* We use char because int might match the return type of a gcc2
90871.1Stv   builtin and then its argument prototype would still apply.  */
90881.4Stvchar regfree ();
90891.1Stvint
90901.1Stvmain ()
90911.1Stv{
90921.4Stvregfree ();
90931.1Stv  ;
90941.1Stv  return 0;
90951.1Stv}
90961.1Stv_ACEOF
90971.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
90981.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90991.53Sdogcow  (eval $ac_link) 2>conftest.er1
91001.1Stv  ac_status=$?
91011.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
91021.53Sdogcow  rm -f conftest.er1
91031.53Sdogcow  cat conftest.err >&5
91041.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91051.1Stv  (exit $ac_status); } &&
91061.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
91071.53Sdogcow			 || test ! -s conftest.err'
91081.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91091.53Sdogcow  (eval $ac_try) 2>&5
91101.53Sdogcow  ac_status=$?
91111.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91121.53Sdogcow  (exit $ac_status); }; } &&
91131.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
91141.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91151.1Stv  (eval $ac_try) 2>&5
91161.1Stv  ac_status=$?
91171.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91181.1Stv  (exit $ac_status); }; }; then
91191.4Stv  ac_cv_search_regfree="none required"
91201.1Stvelse
91211.1Stv  echo "$as_me: failed program was:" >&5
91221.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
91231.53Sdogcow
91241.1Stvfi
91251.53Sdogcowrm -f conftest.err conftest.$ac_objext \
91261.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
91271.4Stvif test "$ac_cv_search_regfree" = no; then
91281.4Stv  for ac_lib in rx posix; do
91291.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
91301.1Stv    cat >conftest.$ac_ext <<_ACEOF
91311.53Sdogcow/* confdefs.h.  */
91321.53Sdogcow_ACEOF
91331.53Sdogcowcat confdefs.h >>conftest.$ac_ext
91341.53Sdogcowcat >>conftest.$ac_ext <<_ACEOF
91351.53Sdogcow/* end confdefs.h.  */
91361.1Stv
91371.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
91381.1Stv#ifdef __cplusplus
91391.1Stvextern "C"
91401.1Stv#endif
91411.1Stv/* We use char because int might match the return type of a gcc2
91421.1Stv   builtin and then its argument prototype would still apply.  */
91431.4Stvchar regfree ();
91441.1Stvint
91451.1Stvmain ()
91461.1Stv{
91471.4Stvregfree ();
91481.1Stv  ;
91491.1Stv  return 0;
91501.1Stv}
91511.1Stv_ACEOF
91521.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
91531.53Sdogcowif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91541.53Sdogcow  (eval $ac_link) 2>conftest.er1
91551.1Stv  ac_status=$?
91561.53Sdogcow  grep -v '^ *+' conftest.er1 >conftest.err
91571.53Sdogcow  rm -f conftest.er1
91581.53Sdogcow  cat conftest.err >&5
91591.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91601.1Stv  (exit $ac_status); } &&
91611.53Sdogcow	 { ac_try='test -z "$ac_c_werror_flag"
91621.53Sdogcow			 || test ! -s conftest.err'
91631.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91641.53Sdogcow  (eval $ac_try) 2>&5
91651.53Sdogcow  ac_status=$?
91661.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91671.53Sdogcow  (exit $ac_status); }; } &&
91681.53Sdogcow	 { ac_try='test -s conftest$ac_exeext'
91691.53Sdogcow  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91701.1Stv  (eval $ac_try) 2>&5
91711.1Stv  ac_status=$?
91721.53Sdogcow  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91731.1Stv  (exit $ac_status); }; }; then
91741.4Stv  ac_cv_search_regfree="-l$ac_lib"
91751.1Stvbreak
91761.1Stvelse
91771.1Stv  echo "$as_me: failed program was:" >&5
91781.53Sdogcowsed 's/^/| /' conftest.$ac_ext >&5
91791.53Sdogcow
91801.1Stvfi
91811.53Sdogcowrm -f conftest.err conftest.$ac_objext \
91821.53Sdogcow      conftest$ac_exeext conftest.$ac_ext
91831.1Stv  done
91841.1Stvfi
91851.1StvLIBS=$ac_func_search_save_LIBS
91861.1Stvfi
91871.53Sdogcowecho "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
91881.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
91891.4Stvif test "$ac_cv_search_regfree" != no; then
91901.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
91911.1Stv
91921.1Stvfi
91931.1Stv
91941.53Sdogcow
91951.1Stvcat >confcache <<\_ACEOF
91961.1Stv# This file is a shell script that caches the results of configure
91971.1Stv# tests run on this system so they can be shared between configure
91981.1Stv# scripts and configure runs, see configure's option --config-cache.
91991.1Stv# It is not useful on other systems.  If it contains results you don't
92001.1Stv# want to keep, you may remove or edit it.
92011.1Stv#
92021.1Stv# config.status only pays attention to the cache file if you give it
92031.1Stv# the --recheck option to rerun configure.
92041.1Stv#
92051.53Sdogcow# `ac_cv_env_foo' variables (set or unset) will be overridden when
92061.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
92071.1Stv# following values.
92081.1Stv
92091.1Stv_ACEOF
92101.1Stv
92111.1Stv# The following way of writing the cache mishandles newlines in values,
92121.1Stv# but we know of no workaround that is simple, portable, and efficient.
92131.1Stv# So, don't put newlines in cache variables' values.
92141.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
92151.1Stv# and sets the high bit in the cache file unless we assign to the vars.
92161.1Stv{
92171.1Stv  (set) 2>&1 |
92181.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
92191.1Stv    *ac_space=\ *)
92201.1Stv      # `set' does not quote correctly, so add quotes (double-quote
92211.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
92221.1Stv      sed -n \
92231.53Sdogcow	"s/'/'\\\\''/g;
92241.53Sdogcow	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
92251.1Stv      ;;
92261.1Stv    *)
92271.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
92281.1Stv      sed -n \
92291.53Sdogcow	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
92301.1Stv      ;;
92311.1Stv    esac;
92321.1Stv} |
92331.1Stv  sed '
92341.1Stv     t clear
92351.1Stv     : clear
92361.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
92371.1Stv     t end
92381.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
92391.1Stv     : end' >>confcache
92401.53Sdogcowif diff $cache_file confcache >/dev/null 2>&1; then :; else
92411.1Stv  if test -w $cache_file; then
92421.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
92431.1Stv    cat confcache >$cache_file
92441.1Stv  else
92451.1Stv    echo "not updating unwritable cache $cache_file"
92461.1Stv  fi
92471.1Stvfi
92481.1Stvrm -f confcache
92491.1Stv
92501.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
92511.1Stv# Let make expand exec_prefix.
92521.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
92531.1Stv
92541.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
92551.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
92561.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
92571.1Stv# (actually we leave an empty line to preserve line numbers).
92581.1Stvif test "x$srcdir" = x.; then
92591.53Sdogcow  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
92601.1Stvs/:*\$(srcdir):*/:/;
92611.1Stvs/:*\${srcdir}:*/:/;
92621.1Stvs/:*@srcdir@:*/:/;
92631.53Sdogcows/^\([^=]*=[	 ]*\):*/\1/;
92641.1Stvs/:*$//;
92651.53Sdogcows/^[^=]*=[	 ]*$//;
92661.1Stv}'
92671.1Stvfi
92681.1Stv
92691.1StvDEFS=-DHAVE_CONFIG_H
92701.1Stv
92711.53Sdogcowac_libobjs=
92721.53Sdogcowac_ltlibobjs=
92731.53Sdogcowfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
92741.53Sdogcow  # 1. Remove the extension, and $U if already installed.
92751.53Sdogcow  ac_i=`echo "$ac_i" |
92761.53Sdogcow	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
92771.53Sdogcow  # 2. Add them.
92781.53Sdogcow  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
92791.53Sdogcow  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
92801.53Sdogcowdone
92811.53SdogcowLIBOBJS=$ac_libobjs
92821.53Sdogcow
92831.53SdogcowLTLIBOBJS=$ac_ltlibobjs
92841.53Sdogcow
92851.53Sdogcow
92861.53Sdogcow
92871.1Stv: ${CONFIG_STATUS=./config.status}
92881.1Stvac_clean_files_save=$ac_clean_files
92891.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
92901.53Sdogcow{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
92911.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
92921.1Stvcat >$CONFIG_STATUS <<_ACEOF
92931.1Stv#! $SHELL
92941.53Sdogcow# Generated by $as_me.
92951.1Stv# Run this file to recreate the current configuration.
92961.1Stv# Compiler output produced by configure, useful for debugging
92971.1Stv# configure, is in config.log if it exists.
92981.1Stv
92991.1Stvdebug=false
93001.53Sdogcowac_cs_recheck=false
93011.53Sdogcowac_cs_silent=false
93021.1StvSHELL=\${CONFIG_SHELL-$SHELL}
93031.1Stv_ACEOF
93041.1Stv
93051.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
93061.53Sdogcow## --------------------- ##
93071.53Sdogcow## M4sh Initialization.  ##
93081.53Sdogcow## --------------------- ##
93091.53Sdogcow
93101.1Stv# Be Bourne compatible
93111.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
93121.1Stv  emulate sh
93131.1Stv  NULLCMD=:
93141.53Sdogcow  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
93151.53Sdogcow  # is contrary to our usage.  Disable this feature.
93161.53Sdogcow  alias -g '${1+"$@"}'='"$@"'
93171.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
93181.1Stv  set -o posix
93191.1Stvfi
93201.53SdogcowDUALCASE=1; export DUALCASE # for MKS sh
93211.53Sdogcow
93221.53Sdogcow# Support unset when possible.
93231.53Sdogcowif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93241.53Sdogcow  as_unset=unset
93251.53Sdogcowelse
93261.53Sdogcow  as_unset=false
93271.53Sdogcowfi
93281.53Sdogcow
93291.53Sdogcow
93301.53Sdogcow# Work around bugs in pre-3.0 UWIN ksh.
93311.53Sdogcow$as_unset ENV MAIL MAILPATH
93321.53SdogcowPS1='$ '
93331.53SdogcowPS2='> '
93341.53SdogcowPS4='+ '
93351.53Sdogcow
93361.53Sdogcow# NLS nuisances.
93371.53Sdogcowfor as_var in \
93381.53Sdogcow  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93391.53Sdogcow  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
93401.53Sdogcow  LC_TELEPHONE LC_TIME
93411.53Sdogcowdo
93421.53Sdogcow  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
93431.53Sdogcow    eval $as_var=C; export $as_var
93441.53Sdogcow  else
93451.53Sdogcow    $as_unset $as_var
93461.53Sdogcow  fi
93471.53Sdogcowdone
93481.53Sdogcow
93491.53Sdogcow# Required to use basename.
93501.53Sdogcowif expr a : '\(a\)' >/dev/null 2>&1; then
93511.53Sdogcow  as_expr=expr
93521.53Sdogcowelse
93531.53Sdogcow  as_expr=false
93541.53Sdogcowfi
93551.53Sdogcow
93561.53Sdogcowif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
93571.53Sdogcow  as_basename=basename
93581.53Sdogcowelse
93591.53Sdogcow  as_basename=false
93601.53Sdogcowfi
93611.53Sdogcow
93621.1Stv
93631.1Stv# Name of the executable.
93641.53Sdogcowas_me=`$as_basename "$0" ||
93651.53Sdogcow$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
93661.53Sdogcow	 X"$0" : 'X\(//\)$' \| \
93671.53Sdogcow	 X"$0" : 'X\(/\)$' \| \
93681.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
93691.53Sdogcowecho X/"$0" |
93701.53Sdogcow    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
93711.53Sdogcow  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
93721.53Sdogcow  	  /^X\/\(\/\).*/{ s//\1/; q; }
93731.53Sdogcow  	  s/.*/./; q'`
93741.53Sdogcow
93751.53Sdogcow
93761.53Sdogcow# PATH needs CR, and LINENO needs CR and PATH.
93771.53Sdogcow# Avoid depending upon Character Ranges.
93781.53Sdogcowas_cr_letters='abcdefghijklmnopqrstuvwxyz'
93791.53Sdogcowas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
93801.53Sdogcowas_cr_Letters=$as_cr_letters$as_cr_LETTERS
93811.53Sdogcowas_cr_digits='0123456789'
93821.53Sdogcowas_cr_alnum=$as_cr_Letters$as_cr_digits
93831.53Sdogcow
93841.53Sdogcow# The user is always right.
93851.53Sdogcowif test "${PATH_SEPARATOR+set}" != set; then
93861.53Sdogcow  echo "#! /bin/sh" >conf$$.sh
93871.53Sdogcow  echo  "exit 0"   >>conf$$.sh
93881.53Sdogcow  chmod +x conf$$.sh
93891.53Sdogcow  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93901.53Sdogcow    PATH_SEPARATOR=';'
93911.53Sdogcow  else
93921.53Sdogcow    PATH_SEPARATOR=:
93931.53Sdogcow  fi
93941.53Sdogcow  rm -f conf$$.sh
93951.53Sdogcowfi
93961.53Sdogcow
93971.53Sdogcow
93981.53Sdogcow  as_lineno_1=$LINENO
93991.53Sdogcow  as_lineno_2=$LINENO
94001.53Sdogcow  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94011.53Sdogcow  test "x$as_lineno_1" != "x$as_lineno_2" &&
94021.53Sdogcow  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
94031.53Sdogcow  # Find who we are.  Look in the path if we contain no path at all
94041.53Sdogcow  # relative or not.
94051.53Sdogcow  case $0 in
94061.53Sdogcow    *[\\/]* ) as_myself=$0 ;;
94071.53Sdogcow    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94081.53Sdogcowfor as_dir in $PATH
94091.53Sdogcowdo
94101.53Sdogcow  IFS=$as_save_IFS
94111.53Sdogcow  test -z "$as_dir" && as_dir=.
94121.53Sdogcow  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94131.53Sdogcowdone
94141.53Sdogcow
94151.53Sdogcow       ;;
94161.53Sdogcow  esac
94171.53Sdogcow  # We did not find ourselves, most probably we were run as `sh COMMAND'
94181.53Sdogcow  # in which case we are not to be found in the path.
94191.53Sdogcow  if test "x$as_myself" = x; then
94201.53Sdogcow    as_myself=$0
94211.53Sdogcow  fi
94221.53Sdogcow  if test ! -f "$as_myself"; then
94231.53Sdogcow    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
94241.53Sdogcowecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
94251.53Sdogcow   { (exit 1); exit 1; }; }
94261.53Sdogcow  fi
94271.53Sdogcow  case $CONFIG_SHELL in
94281.53Sdogcow  '')
94291.53Sdogcow    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94301.53Sdogcowfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
94311.53Sdogcowdo
94321.53Sdogcow  IFS=$as_save_IFS
94331.53Sdogcow  test -z "$as_dir" && as_dir=.
94341.53Sdogcow  for as_base in sh bash ksh sh5; do
94351.53Sdogcow	 case $as_dir in
94361.53Sdogcow	 /*)
94371.53Sdogcow	   if ("$as_dir/$as_base" -c '
94381.53Sdogcow  as_lineno_1=$LINENO
94391.53Sdogcow  as_lineno_2=$LINENO
94401.53Sdogcow  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94411.53Sdogcow  test "x$as_lineno_1" != "x$as_lineno_2" &&
94421.53Sdogcow  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
94431.53Sdogcow	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
94441.53Sdogcow	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
94451.53Sdogcow	     CONFIG_SHELL=$as_dir/$as_base
94461.53Sdogcow	     export CONFIG_SHELL
94471.53Sdogcow	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
94481.53Sdogcow	   fi;;
94491.53Sdogcow	 esac
94501.53Sdogcow       done
94511.53Sdogcowdone
94521.53Sdogcow;;
94531.53Sdogcow  esac
94541.53Sdogcow
94551.53Sdogcow  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
94561.53Sdogcow  # uniformly replaced by the line number.  The first 'sed' inserts a
94571.53Sdogcow  # line-number line before each line; the second 'sed' does the real
94581.53Sdogcow  # work.  The second script uses 'N' to pair each line-number line
94591.53Sdogcow  # with the numbered line, and appends trailing '-' during
94601.53Sdogcow  # substitution so that $LINENO is not a special case at line end.
94611.53Sdogcow  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
94621.53Sdogcow  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
94631.53Sdogcow  sed '=' <$as_myself |
94641.53Sdogcow    sed '
94651.53Sdogcow      N
94661.53Sdogcow      s,$,-,
94671.53Sdogcow      : loop
94681.53Sdogcow      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
94691.53Sdogcow      t loop
94701.53Sdogcow      s,-$,,
94711.53Sdogcow      s,^['$as_cr_digits']*\n,,
94721.53Sdogcow    ' >$as_me.lineno &&
94731.53Sdogcow  chmod +x $as_me.lineno ||
94741.53Sdogcow    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
94751.53Sdogcowecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
94761.53Sdogcow   { (exit 1); exit 1; }; }
94771.53Sdogcow
94781.53Sdogcow  # Don't try to exec as it changes $[0], causing all sort of problems
94791.53Sdogcow  # (the dirname of $[0] is not the place where we might find the
94801.53Sdogcow  # original and so on.  Autoconf is especially sensible to this).
94811.53Sdogcow  . ./$as_me.lineno
94821.53Sdogcow  # Exit status is that of the last command.
94831.53Sdogcow  exit
94841.53Sdogcow}
94851.53Sdogcow
94861.53Sdogcow
94871.53Sdogcowcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
94881.53Sdogcow  *c*,-n*) ECHO_N= ECHO_C='
94891.53Sdogcow' ECHO_T='	' ;;
94901.53Sdogcow  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
94911.53Sdogcow  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
94921.53Sdogcowesac
94931.1Stv
94941.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
94951.1Stv  as_expr=expr
94961.1Stvelse
94971.1Stv  as_expr=false
94981.1Stvfi
94991.1Stv
95001.1Stvrm -f conf$$ conf$$.exe conf$$.file
95011.1Stvecho >conf$$.file
95021.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
95031.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
95041.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
95051.1Stv  if test -f conf$$.exe; then
95061.1Stv    # Don't use ln at all; we don't have any links
95071.1Stv    as_ln_s='cp -p'
95081.1Stv  else
95091.1Stv    as_ln_s='ln -s'
95101.1Stv  fi
95111.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
95121.1Stv  as_ln_s=ln
95131.1Stvelse
95141.1Stv  as_ln_s='cp -p'
95151.1Stvfi
95161.1Stvrm -f conf$$ conf$$.exe conf$$.file
95171.1Stv
95181.53Sdogcowif mkdir -p . 2>/dev/null; then
95191.53Sdogcow  as_mkdir_p=:
95201.53Sdogcowelse
95211.53Sdogcow  test -d ./-p && rmdir ./-p
95221.53Sdogcow  as_mkdir_p=false
95231.53Sdogcowfi
95241.53Sdogcow
95251.52Sdbjas_executable_p="test -f"
95261.52Sdbj
95271.53Sdogcow# Sed expression to map a string onto a valid CPP name.
95281.53Sdogcowas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
95291.53Sdogcow
95301.53Sdogcow# Sed expression to map a string onto a valid variable name.
95311.53Sdogcowas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
95321.48Sjmc
95331.1Stv
95341.1Stv# IFS
95351.1Stv# We need space, tab and new line, in precisely that order.
95361.1Stvas_nl='
95371.1Stv'
95381.1StvIFS=" 	$as_nl"
95391.1Stv
95401.1Stv# CDPATH.
95411.53Sdogcow$as_unset CDPATH
95421.1Stv
95431.1Stvexec 6>&1
95441.1Stv
95451.53Sdogcow# Open the log real soon, to keep \$[0] and so on meaningful, and to
95461.53Sdogcow# report actual input values of CONFIG_FILES etc. instead of their
95471.53Sdogcow# values after options handling.  Logging --version etc. is OK.
95481.53Sdogcowexec 5>>config.log
95491.53Sdogcow{
95501.53Sdogcow  echo
95511.53Sdogcow  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
95521.53Sdogcow## Running $as_me. ##
95531.53Sdogcow_ASBOX
95541.53Sdogcow} >&5
95551.53Sdogcowcat >&5 <<_CSEOF
95561.53Sdogcow
95571.53SdogcowThis file was extended by libnbcompat $as_me noversion, which was
95581.53Sdogcowgenerated by GNU Autoconf 2.59.  Invocation command line was
95591.53Sdogcow
95601.53Sdogcow  CONFIG_FILES    = $CONFIG_FILES
95611.53Sdogcow  CONFIG_HEADERS  = $CONFIG_HEADERS
95621.53Sdogcow  CONFIG_LINKS    = $CONFIG_LINKS
95631.53Sdogcow  CONFIG_COMMANDS = $CONFIG_COMMANDS
95641.53Sdogcow  $ $0 $@
95651.53Sdogcow
95661.53Sdogcow_CSEOF
95671.53Sdogcowecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
95681.53Sdogcowecho >&5
95691.1Stv_ACEOF
95701.1Stv
95711.1Stv# Files that config.status was made for.
95721.1Stvif test -n "$ac_config_files"; then
95731.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
95741.1Stvfi
95751.1Stv
95761.1Stvif test -n "$ac_config_headers"; then
95771.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
95781.1Stvfi
95791.1Stv
95801.1Stvif test -n "$ac_config_links"; then
95811.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
95821.1Stvfi
95831.1Stv
95841.1Stvif test -n "$ac_config_commands"; then
95851.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
95861.1Stvfi
95871.1Stv
95881.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
95891.1Stv
95901.1Stvac_cs_usage="\
95911.1Stv\`$as_me' instantiates files from templates according to the
95921.1Stvcurrent configuration.
95931.1Stv
95941.1StvUsage: $0 [OPTIONS] [FILE]...
95951.1Stv
95961.1Stv  -h, --help       print this help, then exit
95971.1Stv  -V, --version    print version number, then exit
95981.53Sdogcow  -q, --quiet      do not print progress messages
95991.1Stv  -d, --debug      don't remove temporary files
96001.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
96011.1Stv  --file=FILE[:TEMPLATE]
96021.53Sdogcow		   instantiate the configuration file FILE
96031.1Stv  --header=FILE[:TEMPLATE]
96041.53Sdogcow		   instantiate the configuration header FILE
96051.1Stv
96061.1StvConfiguration files:
96071.1Stv$config_files
96081.1Stv
96091.1StvConfiguration headers:
96101.1Stv$config_headers
96111.1Stv
96121.1StvReport bugs to <bug-autoconf@gnu.org>."
96131.53Sdogcow_ACEOF
96141.1Stv
96151.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF
96161.1Stvac_cs_version="\\
96171.1Stvlibnbcompat config.status noversion
96181.53Sdogcowconfigured by $0, generated by GNU Autoconf 2.59,
96191.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
96201.1Stv
96211.53SdogcowCopyright (C) 2003 Free Software Foundation, Inc.
96221.1StvThis config.status script is free software; the Free Software Foundation
96231.1Stvgives unlimited permission to copy, distribute and modify it."
96241.1Stvsrcdir=$srcdir
96251.53Sdogcow_ACEOF
96261.1Stv
96271.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
96281.1Stv# If no file are specified by the user, then we need to provide default
96291.1Stv# value.  By we need to know if files were specified by the user.
96301.1Stvac_need_defaults=:
96311.1Stvwhile test $# != 0
96321.1Stvdo
96331.1Stv  case $1 in
96341.1Stv  --*=*)
96351.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
96361.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
96371.53Sdogcow    ac_shift=:
96381.53Sdogcow    ;;
96391.53Sdogcow  -*)
96401.53Sdogcow    ac_option=$1
96411.53Sdogcow    ac_optarg=$2
96421.53Sdogcow    ac_shift=shift
96431.1Stv    ;;
96441.1Stv  *) # This is not an option, so the user has probably given explicit
96451.1Stv     # arguments.
96461.53Sdogcow     ac_option=$1
96471.1Stv     ac_need_defaults=false;;
96481.1Stv  esac
96491.1Stv
96501.53Sdogcow  case $ac_option in
96511.1Stv  # Handling of the options.
96521.53Sdogcow_ACEOF
96531.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
96541.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
96551.53Sdogcow    ac_cs_recheck=: ;;
96561.1Stv  --version | --vers* | -V )
96571.1Stv    echo "$ac_cs_version"; exit 0 ;;
96581.1Stv  --he | --h)
96591.1Stv    # Conflict between --help and --header
96601.53Sdogcow    { { echo "$as_me:$LINENO: error: ambiguous option: $1
96611.1StvTry \`$0 --help' for more information." >&5
96621.1Stvecho "$as_me: error: ambiguous option: $1
96631.1StvTry \`$0 --help' for more information." >&2;}
96641.1Stv   { (exit 1); exit 1; }; };;
96651.1Stv  --help | --hel | -h )
96661.1Stv    echo "$ac_cs_usage"; exit 0 ;;
96671.1Stv  --debug | --d* | -d )
96681.1Stv    debug=: ;;
96691.1Stv  --file | --fil | --fi | --f )
96701.53Sdogcow    $ac_shift
96711.53Sdogcow    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
96721.1Stv    ac_need_defaults=false;;
96731.1Stv  --header | --heade | --head | --hea )
96741.53Sdogcow    $ac_shift
96751.53Sdogcow    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
96761.1Stv    ac_need_defaults=false;;
96771.53Sdogcow  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
96781.53Sdogcow  | -silent | --silent | --silen | --sile | --sil | --si | --s)
96791.53Sdogcow    ac_cs_silent=: ;;
96801.1Stv
96811.1Stv  # This is an error.
96821.53Sdogcow  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
96831.1StvTry \`$0 --help' for more information." >&5
96841.1Stvecho "$as_me: error: unrecognized option: $1
96851.1StvTry \`$0 --help' for more information." >&2;}
96861.1Stv   { (exit 1); exit 1; }; } ;;
96871.1Stv
96881.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
96891.1Stv
96901.1Stv  esac
96911.1Stv  shift
96921.1Stvdone
96931.1Stv
96941.53Sdogcowac_configure_extra_args=
96951.1Stv
96961.53Sdogcowif $ac_cs_silent; then
96971.53Sdogcow  exec 6>/dev/null
96981.53Sdogcow  ac_configure_extra_args="$ac_configure_extra_args --silent"
96991.53Sdogcowfi
97001.1Stv
97011.53Sdogcow_ACEOF
97021.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF
97031.53Sdogcowif \$ac_cs_recheck; then
97041.53Sdogcow  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
97051.53Sdogcow  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
97061.53Sdogcowfi
97071.1Stv
97081.1Stv_ACEOF
97091.1Stv
97101.53Sdogcow
97111.53Sdogcow
97121.53Sdogcow
97131.53Sdogcow
97141.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
97151.1Stvfor ac_config_target in $ac_config_targets
97161.1Stvdo
97171.1Stv  case "$ac_config_target" in
97181.1Stv  # Handling of arguments.
97191.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
97201.42Slukem  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
97211.53Sdogcow  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
97221.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
97231.1Stv   { (exit 1); exit 1; }; };;
97241.1Stv  esac
97251.1Stvdone
97261.1Stv
97271.1Stv# If the user did not use the arguments to specify the items to instantiate,
97281.1Stv# then the envvar interface is used.  Set only those that are not.
97291.1Stv# We use the long form for the default assignment because of an extremely
97301.1Stv# bizarre bug on SunOS 4.1.3.
97311.1Stvif $ac_need_defaults; then
97321.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
97331.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
97341.1Stvfi
97351.1Stv
97361.53Sdogcow# Have a temporary directory for convenience.  Make it in the build tree
97371.53Sdogcow# simply because there is no reason to put it here, and in addition,
97381.53Sdogcow# creating and moving files from /tmp can sometimes cause problems.
97391.1Stv# Create a temporary directory, and hook for its removal unless debugging.
97401.1Stv$debug ||
97411.1Stv{
97421.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
97431.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
97441.1Stv}
97451.1Stv
97461.1Stv# Create a (secure) tmp directory for tmp files.
97471.53Sdogcow
97481.1Stv{
97491.53Sdogcow  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
97501.1Stv  test -n "$tmp" && test -d "$tmp"
97511.1Stv}  ||
97521.1Stv{
97531.53Sdogcow  tmp=./confstat$$-$RANDOM
97541.1Stv  (umask 077 && mkdir $tmp)
97551.1Stv} ||
97561.1Stv{
97571.53Sdogcow   echo "$me: cannot create a temporary directory in ." >&2
97581.1Stv   { (exit 1); exit 1; }
97591.1Stv}
97601.1Stv
97611.53Sdogcow_ACEOF
97621.1Stv
97631.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF
97641.1Stv
97651.1Stv#
97661.1Stv# CONFIG_FILES section.
97671.1Stv#
97681.1Stv
97691.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
97701.1Stv# This happens for instance when ./config.status config.h
97711.1Stvif test -n "\$CONFIG_FILES"; then
97721.1Stv  # Protect against being on the right side of a sed subst in config.status.
97731.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
97741.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
97751.1Stvs,@SHELL@,$SHELL,;t t
97761.53Sdogcows,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
97771.53Sdogcows,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
97781.53Sdogcows,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
97791.53Sdogcows,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
97801.53Sdogcows,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
97811.53Sdogcows,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
97821.1Stvs,@exec_prefix@,$exec_prefix,;t t
97831.1Stvs,@prefix@,$prefix,;t t
97841.1Stvs,@program_transform_name@,$program_transform_name,;t t
97851.1Stvs,@bindir@,$bindir,;t t
97861.1Stvs,@sbindir@,$sbindir,;t t
97871.1Stvs,@libexecdir@,$libexecdir,;t t
97881.1Stvs,@datadir@,$datadir,;t t
97891.1Stvs,@sysconfdir@,$sysconfdir,;t t
97901.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
97911.1Stvs,@localstatedir@,$localstatedir,;t t
97921.1Stvs,@libdir@,$libdir,;t t
97931.1Stvs,@includedir@,$includedir,;t t
97941.1Stvs,@oldincludedir@,$oldincludedir,;t t
97951.1Stvs,@infodir@,$infodir,;t t
97961.1Stvs,@mandir@,$mandir,;t t
97971.1Stvs,@build_alias@,$build_alias,;t t
97981.1Stvs,@host_alias@,$host_alias,;t t
97991.1Stvs,@target_alias@,$target_alias,;t t
98001.53Sdogcows,@DEFS@,$DEFS,;t t
98011.1Stvs,@ECHO_C@,$ECHO_C,;t t
98021.1Stvs,@ECHO_N@,$ECHO_N,;t t
98031.1Stvs,@ECHO_T@,$ECHO_T,;t t
98041.1Stvs,@LIBS@,$LIBS,;t t
98051.1Stvs,@CC@,$CC,;t t
98061.1Stvs,@CFLAGS@,$CFLAGS,;t t
98071.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
98081.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
98091.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
98101.1Stvs,@EXEEXT@,$EXEEXT,;t t
98111.1Stvs,@OBJEXT@,$OBJEXT,;t t
98121.1Stvs,@CPP@,$CPP,;t t
98131.53Sdogcows,@EGREP@,$EGREP,;t t
98141.45Sjmcs,@BSHELL@,$BSHELL,;t t
98151.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
98161.53Sdogcows,@LIBOBJS@,$LIBOBJS,;t t
98171.53Sdogcows,@LTLIBOBJS@,$LTLIBOBJS,;t t
98181.1StvCEOF
98191.1Stv
98201.53Sdogcow_ACEOF
98211.1Stv
98221.53Sdogcow  cat >>$CONFIG_STATUS <<\_ACEOF
98231.1Stv  # Split the substitutions into bite-sized pieces for seds with
98241.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
98251.1Stv  ac_max_sed_lines=48
98261.1Stv  ac_sed_frag=1 # Number of current file.
98271.1Stv  ac_beg=1 # First line for current file.
98281.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
98291.1Stv  ac_more_lines=:
98301.1Stv  ac_sed_cmds=
98311.1Stv  while $ac_more_lines; do
98321.1Stv    if test $ac_beg -gt 1; then
98331.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98341.1Stv    else
98351.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98361.1Stv    fi
98371.1Stv    if test ! -s $tmp/subs.frag; then
98381.1Stv      ac_more_lines=false
98391.1Stv    else
98401.1Stv      # The purpose of the label and of the branching condition is to
98411.1Stv      # speed up the sed processing (if there are no `@' at all, there
98421.1Stv      # is no need to browse any of the substitutions).
98431.1Stv      # These are the two extra sed commands mentioned above.
98441.1Stv      (echo ':t
98451.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98461.1Stv      if test -z "$ac_sed_cmds"; then
98471.53Sdogcow	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98481.1Stv      else
98491.53Sdogcow	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98501.1Stv      fi
98511.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
98521.1Stv      ac_beg=$ac_end
98531.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
98541.1Stv    fi
98551.1Stv  done
98561.1Stv  if test -z "$ac_sed_cmds"; then
98571.1Stv    ac_sed_cmds=cat
98581.1Stv  fi
98591.1Stvfi # test -n "$CONFIG_FILES"
98601.1Stv
98611.53Sdogcow_ACEOF
98621.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
98631.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98641.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98651.1Stv  case $ac_file in
98661.1Stv  - | *:- | *:-:* ) # input from stdin
98671.53Sdogcow	cat >$tmp/stdin
98681.53Sdogcow	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98691.53Sdogcow	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98701.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98711.53Sdogcow	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98721.1Stv  * )   ac_file_in=$ac_file.in ;;
98731.1Stv  esac
98741.1Stv
98751.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98761.53Sdogcow  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98771.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98781.53Sdogcow	 X"$ac_file" : 'X\(//\)[^/]' \| \
98791.53Sdogcow	 X"$ac_file" : 'X\(//\)$' \| \
98801.53Sdogcow	 X"$ac_file" : 'X\(/\)' \| \
98811.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
98821.1Stvecho X"$ac_file" |
98831.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98841.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98851.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
98861.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
98871.1Stv  	  s/.*/./; q'`
98881.53Sdogcow  { if $as_mkdir_p; then
98891.53Sdogcow    mkdir -p "$ac_dir"
98901.53Sdogcow  else
98911.53Sdogcow    as_dir="$ac_dir"
98921.53Sdogcow    as_dirs=
98931.53Sdogcow    while test ! -d "$as_dir"; do
98941.53Sdogcow      as_dirs="$as_dir $as_dirs"
98951.53Sdogcow      as_dir=`(dirname "$as_dir") 2>/dev/null ||
98961.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98971.53Sdogcow	 X"$as_dir" : 'X\(//\)[^/]' \| \
98981.53Sdogcow	 X"$as_dir" : 'X\(//\)$' \| \
98991.53Sdogcow	 X"$as_dir" : 'X\(/\)' \| \
99001.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
99011.53Sdogcowecho X"$as_dir" |
99021.53Sdogcow    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99031.53Sdogcow  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99041.53Sdogcow  	  /^X\(\/\/\)$/{ s//\1/; q; }
99051.53Sdogcow  	  /^X\(\/\).*/{ s//\1/; q; }
99061.53Sdogcow  	  s/.*/./; q'`
99071.53Sdogcow    done
99081.53Sdogcow    test ! -n "$as_dirs" || mkdir $as_dirs
99091.53Sdogcow  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99101.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99111.53Sdogcow   { (exit 1); exit 1; }; }; }
99121.53Sdogcow
99131.53Sdogcow  ac_builddir=.
99141.53Sdogcow
99151.53Sdogcowif test "$ac_dir" != .; then
99161.53Sdogcow  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99171.53Sdogcow  # A "../" for each directory in $ac_dir_suffix.
99181.53Sdogcow  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99191.53Sdogcowelse
99201.53Sdogcow  ac_dir_suffix= ac_top_builddir=
99211.53Sdogcowfi
99221.53Sdogcow
99231.53Sdogcowcase $srcdir in
99241.53Sdogcow  .)  # No --srcdir option.  We are building in place.
99251.53Sdogcow    ac_srcdir=.
99261.53Sdogcow    if test -z "$ac_top_builddir"; then
99271.53Sdogcow       ac_top_srcdir=.
99281.53Sdogcow    else
99291.53Sdogcow       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99301.53Sdogcow    fi ;;
99311.53Sdogcow  [\\/]* | ?:[\\/]* )  # Absolute path.
99321.53Sdogcow    ac_srcdir=$srcdir$ac_dir_suffix;
99331.53Sdogcow    ac_top_srcdir=$srcdir ;;
99341.53Sdogcow  *) # Relative path.
99351.53Sdogcow    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99361.53Sdogcow    ac_top_srcdir=$ac_top_builddir$srcdir ;;
99371.53Sdogcowesac
99381.53Sdogcow
99391.53Sdogcow# Do not use `cd foo && pwd` to compute absolute paths, because
99401.53Sdogcow# the directories may not exist.
99411.53Sdogcowcase `pwd` in
99421.53Sdogcow.) ac_abs_builddir="$ac_dir";;
99431.53Sdogcow*)
99441.53Sdogcow  case "$ac_dir" in
99451.53Sdogcow  .) ac_abs_builddir=`pwd`;;
99461.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99471.53Sdogcow  *) ac_abs_builddir=`pwd`/"$ac_dir";;
99481.53Sdogcow  esac;;
99491.53Sdogcowesac
99501.53Sdogcowcase $ac_abs_builddir in
99511.53Sdogcow.) ac_abs_top_builddir=${ac_top_builddir}.;;
99521.53Sdogcow*)
99531.53Sdogcow  case ${ac_top_builddir}. in
99541.53Sdogcow  .) ac_abs_top_builddir=$ac_abs_builddir;;
99551.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99561.53Sdogcow  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99571.53Sdogcow  esac;;
99581.53Sdogcowesac
99591.53Sdogcowcase $ac_abs_builddir in
99601.53Sdogcow.) ac_abs_srcdir=$ac_srcdir;;
99611.53Sdogcow*)
99621.53Sdogcow  case $ac_srcdir in
99631.53Sdogcow  .) ac_abs_srcdir=$ac_abs_builddir;;
99641.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99651.53Sdogcow  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99661.53Sdogcow  esac;;
99671.53Sdogcowesac
99681.53Sdogcowcase $ac_abs_builddir in
99691.53Sdogcow.) ac_abs_top_srcdir=$ac_top_srcdir;;
99701.53Sdogcow*)
99711.53Sdogcow  case $ac_top_srcdir in
99721.53Sdogcow  .) ac_abs_top_srcdir=$ac_abs_builddir;;
99731.53Sdogcow  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99741.53Sdogcow  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99751.53Sdogcow  esac;;
99761.50Sjmcesac
99771.1Stv
99781.1Stv
99791.1Stv
99801.1Stv  if test x"$ac_file" != x-; then
99811.53Sdogcow    { echo "$as_me:$LINENO: creating $ac_file" >&5
99821.1Stvecho "$as_me: creating $ac_file" >&6;}
99831.1Stv    rm -f "$ac_file"
99841.1Stv  fi
99851.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
99861.1Stv  # use $as_me), people would be surprised to read:
99871.53Sdogcow  #    /* config.h.  Generated by config.status.  */
99881.53Sdogcow  if test x"$ac_file" = x-; then
99891.53Sdogcow    configure_input=
99901.53Sdogcow  else
99911.53Sdogcow    configure_input="$ac_file.  "
99921.53Sdogcow  fi
99931.53Sdogcow  configure_input=$configure_input"Generated from `echo $ac_file_in |
99941.53Sdogcow				     sed 's,.*/,,'` by configure."
99951.1Stv
99961.1Stv  # First look for the input files in the build tree, otherwise in the
99971.1Stv  # src tree.
99981.1Stv  ac_file_inputs=`IFS=:
99991.1Stv    for f in $ac_file_in; do
100001.1Stv      case $f in
100011.1Stv      -) echo $tmp/stdin ;;
100021.1Stv      [\\/$]*)
100031.53Sdogcow	 # Absolute (can't be DOS-style, as IFS=:)
100041.53Sdogcow	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100051.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
100061.1Stv   { (exit 1); exit 1; }; }
100071.53Sdogcow	 echo "$f";;
100081.1Stv      *) # Relative
100091.53Sdogcow	 if test -f "$f"; then
100101.53Sdogcow	   # Build tree
100111.53Sdogcow	   echo "$f"
100121.53Sdogcow	 elif test -f "$srcdir/$f"; then
100131.53Sdogcow	   # Source tree
100141.53Sdogcow	   echo "$srcdir/$f"
100151.53Sdogcow	 else
100161.53Sdogcow	   # /dev/null tree
100171.53Sdogcow	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100181.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
100191.1Stv   { (exit 1); exit 1; }; }
100201.53Sdogcow	 fi;;
100211.1Stv      esac
100221.1Stv    done` || { (exit 1); exit 1; }
100231.53Sdogcow_ACEOF
100241.53Sdogcowcat >>$CONFIG_STATUS <<_ACEOF
100251.1Stv  sed "$ac_vpsub
100261.1Stv$extrasub
100271.53Sdogcow_ACEOF
100281.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
100291.1Stv:t
100301.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
100311.1Stvs,@configure_input@,$configure_input,;t t
100321.1Stvs,@srcdir@,$ac_srcdir,;t t
100331.53Sdogcows,@abs_srcdir@,$ac_abs_srcdir,;t t
100341.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
100351.53Sdogcows,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
100361.53Sdogcows,@builddir@,$ac_builddir,;t t
100371.53Sdogcows,@abs_builddir@,$ac_abs_builddir,;t t
100381.53Sdogcows,@top_builddir@,$ac_top_builddir,;t t
100391.53Sdogcows,@abs_top_builddir@,$ac_abs_top_builddir,;t t
100401.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
100411.1Stv  rm -f $tmp/stdin
100421.1Stv  if test x"$ac_file" != x-; then
100431.1Stv    mv $tmp/out $ac_file
100441.1Stv  else
100451.1Stv    cat $tmp/out
100461.1Stv    rm -f $tmp/out
100471.1Stv  fi
100481.1Stv
100491.1Stvdone
100501.53Sdogcow_ACEOF
100511.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
100521.1Stv
100531.1Stv#
100541.1Stv# CONFIG_HEADER section.
100551.1Stv#
100561.1Stv
100571.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
100581.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
100591.1Stv#
100601.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
100611.53Sdogcowac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
100621.53Sdogcowac_dB='[	 ].*$,\1#\2'
100631.1Stvac_dC=' '
100641.1Stvac_dD=',;t'
100651.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
100661.53Sdogcowac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
100671.1Stvac_uB='$,\1#\2define\3'
100681.1Stvac_uC=' '
100691.1Stvac_uD=',;t'
100701.1Stv
100711.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
100721.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
100731.1Stv  case $ac_file in
100741.1Stv  - | *:- | *:-:* ) # input from stdin
100751.53Sdogcow	cat >$tmp/stdin
100761.53Sdogcow	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100771.53Sdogcow	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100781.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100791.53Sdogcow	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100801.1Stv  * )   ac_file_in=$ac_file.in ;;
100811.1Stv  esac
100821.1Stv
100831.53Sdogcow  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
100841.1Stvecho "$as_me: creating $ac_file" >&6;}
100851.1Stv
100861.1Stv  # First look for the input files in the build tree, otherwise in the
100871.1Stv  # src tree.
100881.1Stv  ac_file_inputs=`IFS=:
100891.1Stv    for f in $ac_file_in; do
100901.1Stv      case $f in
100911.1Stv      -) echo $tmp/stdin ;;
100921.1Stv      [\\/$]*)
100931.53Sdogcow	 # Absolute (can't be DOS-style, as IFS=:)
100941.53Sdogcow	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100951.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
100961.1Stv   { (exit 1); exit 1; }; }
100971.53Sdogcow	 # Do quote $f, to prevent DOS paths from being IFS'd.
100981.53Sdogcow	 echo "$f";;
100991.1Stv      *) # Relative
101001.53Sdogcow	 if test -f "$f"; then
101011.53Sdogcow	   # Build tree
101021.53Sdogcow	   echo "$f"
101031.53Sdogcow	 elif test -f "$srcdir/$f"; then
101041.53Sdogcow	   # Source tree
101051.53Sdogcow	   echo "$srcdir/$f"
101061.53Sdogcow	 else
101071.53Sdogcow	   # /dev/null tree
101081.53Sdogcow	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
101091.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
101101.1Stv   { (exit 1); exit 1; }; }
101111.53Sdogcow	 fi;;
101121.1Stv      esac
101131.1Stv    done` || { (exit 1); exit 1; }
101141.1Stv  # Remove the trailing spaces.
101151.53Sdogcow  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
101161.1Stv
101171.53Sdogcow_ACEOF
101181.1Stv
101191.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
101201.1Stv# `conftest.undefs', that substitutes the proper values into
101211.1Stv# config.h.in to produce config.h.  The first handles `#define'
101221.1Stv# templates, and the second `#undef' templates.
101231.1Stv# And first: Protect against being on the right side of a sed subst in
101241.1Stv# config.status.  Protect against being in an unquoted here document
101251.1Stv# in config.status.
101261.1Stvrm -f conftest.defines conftest.undefs
101271.1Stv# Using a here document instead of a string reduces the quoting nightmare.
101281.1Stv# Putting comments in sed scripts is not portable.
101291.1Stv#
101301.1Stv# `end' is used to avoid that the second main sed command (meant for
101311.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
101321.1Stv# See the Autoconf documentation for `clear'.
101331.53Sdogcowcat >confdef2sed.sed <<\_ACEOF
101341.1Stvs/[\\&,]/\\&/g
101351.1Stvs,[\\$`],\\&,g
101361.1Stvt clear
101371.1Stv: clear
101381.53Sdogcows,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
101391.1Stvt end
101401.53Sdogcows,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
101411.1Stv: end
101421.53Sdogcow_ACEOF
101431.1Stv# If some macros were called several times there might be several times
101441.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
101451.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
101461.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
101471.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
101481.1Stvrm -f confdef2sed.sed
101491.1Stv
101501.1Stv# This sed command replaces #undef with comments.  This is necessary, for
101511.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
101521.1Stv# on some systems where configure will not decide to define it.
101531.53Sdogcowcat >>conftest.undefs <<\_ACEOF
101541.53Sdogcows,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
101551.53Sdogcow_ACEOF
101561.1Stv
101571.1Stv# Break up conftest.defines because some shells have a limit on the size
101581.1Stv# of here documents, and old seds have small limits too (100 cmds).
101591.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
101601.53Sdogcowecho '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
101611.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
101621.1Stvecho '  :' >>$CONFIG_STATUS
101631.1Stvrm -f conftest.tail
101641.1Stvwhile grep . conftest.defines >/dev/null
101651.1Stvdo
101661.1Stv  # Write a limited-size here document to $tmp/defines.sed.
101671.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
101681.1Stv  # Speed up: don't consider the non `#define' lines.
101691.53Sdogcow  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
101701.1Stv  # Work around the forget-to-reset-the-flag bug.
101711.1Stv  echo 't clr' >>$CONFIG_STATUS
101721.1Stv  echo ': clr' >>$CONFIG_STATUS
101731.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
101741.1Stv  echo 'CEOF
101751.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
101761.1Stv  rm -f $tmp/in
101771.1Stv  mv $tmp/out $tmp/in
101781.1Stv' >>$CONFIG_STATUS
101791.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
101801.1Stv  rm -f conftest.defines
101811.1Stv  mv conftest.tail conftest.defines
101821.1Stvdone
101831.1Stvrm -f conftest.defines
101841.53Sdogcowecho '  fi # grep' >>$CONFIG_STATUS
101851.1Stvecho >>$CONFIG_STATUS
101861.1Stv
101871.1Stv# Break up conftest.undefs because some shells have a limit on the size
101881.1Stv# of here documents, and old seds have small limits too (100 cmds).
101891.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
101901.1Stvrm -f conftest.tail
101911.1Stvwhile grep . conftest.undefs >/dev/null
101921.1Stvdo
101931.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
101941.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
101951.1Stv  # Speed up: don't consider the non `#undef'
101961.53Sdogcow  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
101971.1Stv  # Work around the forget-to-reset-the-flag bug.
101981.1Stv  echo 't clr' >>$CONFIG_STATUS
101991.1Stv  echo ': clr' >>$CONFIG_STATUS
102001.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
102011.1Stv  echo 'CEOF
102021.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
102031.1Stv  rm -f $tmp/in
102041.1Stv  mv $tmp/out $tmp/in
102051.1Stv' >>$CONFIG_STATUS
102061.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
102071.1Stv  rm -f conftest.undefs
102081.1Stv  mv conftest.tail conftest.undefs
102091.1Stvdone
102101.1Stvrm -f conftest.undefs
102111.1Stv
102121.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
102131.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
102141.1Stv  # use $as_me), people would be surprised to read:
102151.53Sdogcow  #    /* config.h.  Generated by config.status.  */
102161.1Stv  if test x"$ac_file" = x-; then
102171.53Sdogcow    echo "/* Generated by configure.  */" >$tmp/config.h
102181.1Stv  else
102191.53Sdogcow    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
102201.1Stv  fi
102211.1Stv  cat $tmp/in >>$tmp/config.h
102221.1Stv  rm -f $tmp/in
102231.1Stv  if test x"$ac_file" != x-; then
102241.53Sdogcow    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
102251.53Sdogcow      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
102261.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
102271.1Stv    else
102281.53Sdogcow      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
102291.53Sdogcow$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
102301.53Sdogcow	 X"$ac_file" : 'X\(//\)[^/]' \| \
102311.53Sdogcow	 X"$ac_file" : 'X\(//\)$' \| \
102321.53Sdogcow	 X"$ac_file" : 'X\(/\)' \| \
102331.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
102341.1Stvecho X"$ac_file" |
102351.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
102361.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
102371.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
102381.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
102391.1Stv  	  s/.*/./; q'`
102401.53Sdogcow      { if $as_mkdir_p; then
102411.53Sdogcow    mkdir -p "$ac_dir"
102421.53Sdogcow  else
102431.53Sdogcow    as_dir="$ac_dir"
102441.53Sdogcow    as_dirs=
102451.53Sdogcow    while test ! -d "$as_dir"; do
102461.53Sdogcow      as_dirs="$as_dir $as_dirs"
102471.53Sdogcow      as_dir=`(dirname "$as_dir") 2>/dev/null ||
102481.53Sdogcow$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
102491.53Sdogcow	 X"$as_dir" : 'X\(//\)[^/]' \| \
102501.53Sdogcow	 X"$as_dir" : 'X\(//\)$' \| \
102511.53Sdogcow	 X"$as_dir" : 'X\(/\)' \| \
102521.53Sdogcow	 .     : '\(.\)' 2>/dev/null ||
102531.53Sdogcowecho X"$as_dir" |
102541.53Sdogcow    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
102551.53Sdogcow  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
102561.53Sdogcow  	  /^X\(\/\/\)$/{ s//\1/; q; }
102571.53Sdogcow  	  /^X\(\/\).*/{ s//\1/; q; }
102581.53Sdogcow  	  s/.*/./; q'`
102591.53Sdogcow    done
102601.53Sdogcow    test ! -n "$as_dirs" || mkdir $as_dirs
102611.53Sdogcow  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
102621.53Sdogcowecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
102631.53Sdogcow   { (exit 1); exit 1; }; }; }
102641.1Stv
102651.1Stv      rm -f $ac_file
102661.1Stv      mv $tmp/config.h $ac_file
102671.1Stv    fi
102681.1Stv  else
102691.1Stv    cat $tmp/config.h
102701.1Stv    rm -f $tmp/config.h
102711.1Stv  fi
102721.1Stvdone
102731.53Sdogcow_ACEOF
102741.1Stv
102751.53Sdogcowcat >>$CONFIG_STATUS <<\_ACEOF
102761.1Stv
102771.1Stv{ (exit 0); exit 0; }
102781.53Sdogcow_ACEOF
102791.1Stvchmod +x $CONFIG_STATUS
102801.1Stvac_clean_files=$ac_clean_files_save
102811.1Stv
102821.53Sdogcow
102831.1Stv# configure is writing to config.log, and then calls config.status.
102841.1Stv# config.status does its own redirection, appending to config.log.
102851.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
102861.1Stv# by configure, so config.status won't be able to write to it; its
102871.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
102881.1Stv# effectively closing config.log, so it can be properly (re)opened and
102891.1Stv# appended to by config.status.  When coming back to configure, we
102901.1Stv# need to make the FD available again.
102911.1Stvif test "$no_create" != yes; then
102921.1Stv  ac_cs_success=:
102931.53Sdogcow  ac_config_status_args=
102941.53Sdogcow  test "$silent" = yes &&
102951.53Sdogcow    ac_config_status_args="$ac_config_status_args --quiet"
102961.1Stv  exec 5>/dev/null
102971.53Sdogcow  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
102981.1Stv  exec 5>>config.log
102991.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
103001.1Stv  # would make configure fail if this is the last instruction.
103011.1Stv  $ac_cs_success || { (exit 1); exit 1; }
103021.1Stvfi
103031.1Stv
10304