configure revision 1.40
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.39Sfredb# Generated by GNU Autoconf 2.57 for libnbcompat noversion.
41.1Stv#
51.1Stv# Report bugs to <lib-bug-people@netbsd.org>.
61.1Stv#
71.39Sfredb# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
81.1Stv# Free Software Foundation, Inc.
91.1Stv# This configure script is free software; the Free Software Foundation
101.1Stv# gives unlimited permission to copy, distribute and modify it.
111.39Sfredb## --------------------- ##
121.39Sfredb## M4sh Initialization.  ##
131.39Sfredb## --------------------- ##
141.1Stv
151.39Sfredb# Be Bourne compatible
161.39Sfredbif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
171.39Sfredb  emulate sh
181.39Sfredb  NULLCMD=:
191.39Sfredb  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
201.39Sfredb  # is contrary to our usage.  Disable this feature.
211.39Sfredb  alias -g '${1+"$@"}'='"$@"'
221.39Sfredbelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
231.39Sfredb  set -o posix
241.39Sfredbfi
251.39Sfredb
261.39Sfredb# Support unset when possible.
271.39Sfredbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
281.39Sfredb  as_unset=unset
291.39Sfredbelse
301.39Sfredb  as_unset=false
311.39Sfredbfi
321.39Sfredb
331.39Sfredb
341.39Sfredb# Work around bugs in pre-3.0 UWIN ksh.
351.39Sfredb$as_unset ENV MAIL MAILPATH
361.39SfredbPS1='$ '
371.39SfredbPS2='> '
381.39SfredbPS4='+ '
391.39Sfredb
401.39Sfredb# NLS nuisances.
411.39Sfredbfor as_var in \
421.39Sfredb  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
431.39Sfredb  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
441.39Sfredb  LC_TELEPHONE LC_TIME
451.39Sfredbdo
461.39Sfredb  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
471.39Sfredb    eval $as_var=C; export $as_var
481.39Sfredb  else
491.39Sfredb    $as_unset $as_var
501.39Sfredb  fi
511.39Sfredbdone
521.39Sfredb
531.39Sfredb# Required to use basename.
541.39Sfredbif expr a : '\(a\)' >/dev/null 2>&1; then
551.39Sfredb  as_expr=expr
561.39Sfredbelse
571.39Sfredb  as_expr=false
581.39Sfredbfi
591.39Sfredb
601.39Sfredbif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
611.39Sfredb  as_basename=basename
621.39Sfredbelse
631.39Sfredb  as_basename=false
641.39Sfredbfi
651.39Sfredb
661.39Sfredb
671.39Sfredb# Name of the executable.
681.39Sfredbas_me=`$as_basename "$0" ||
691.39Sfredb$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
701.39Sfredb	 X"$0" : 'X\(//\)$' \| \
711.39Sfredb	 X"$0" : 'X\(/\)$' \| \
721.39Sfredb	 .     : '\(.\)' 2>/dev/null ||
731.39Sfredbecho X/"$0" |
741.39Sfredb    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
751.39Sfredb  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
761.39Sfredb  	  /^X\/\(\/\).*/{ s//\1/; q; }
771.39Sfredb  	  s/.*/./; q'`
781.39Sfredb
791.39Sfredb
801.39Sfredb# 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.39Sfredb# The user is always right.
891.39Sfredbif test "${PATH_SEPARATOR+set}" != set; then
901.39Sfredb  echo "#! /bin/sh" >conf$$.sh
911.39Sfredb  echo  "exit 0"   >>conf$$.sh
921.39Sfredb  chmod +x conf$$.sh
931.39Sfredb  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
941.39Sfredb    PATH_SEPARATOR=';'
951.39Sfredb  else
961.39Sfredb    PATH_SEPARATOR=:
971.39Sfredb  fi
981.39Sfredb  rm -f conf$$.sh
991.39Sfredbfi
1001.39Sfredb
1011.39Sfredb
1021.39Sfredb  as_lineno_1=$LINENO
1031.39Sfredb  as_lineno_2=$LINENO
1041.39Sfredb  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1051.39Sfredb  test "x$as_lineno_1" != "x$as_lineno_2" &&
1061.39Sfredb  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1071.39Sfredb  # Find who we are.  Look in the path if we contain no path at all
1081.39Sfredb  # relative or not.
1091.39Sfredb  case $0 in
1101.39Sfredb    *[\\/]* ) as_myself=$0 ;;
1111.39Sfredb    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1121.39Sfredbfor as_dir in $PATH
1131.39Sfredbdo
1141.39Sfredb  IFS=$as_save_IFS
1151.39Sfredb  test -z "$as_dir" && as_dir=.
1161.39Sfredb  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1171.39Sfredbdone
1181.39Sfredb
1191.39Sfredb       ;;
1201.39Sfredb  esac
1211.39Sfredb  # We did not find ourselves, most probably we were run as `sh COMMAND'
1221.39Sfredb  # in which case we are not to be found in the path.
1231.39Sfredb  if test "x$as_myself" = x; then
1241.39Sfredb    as_myself=$0
1251.39Sfredb  fi
1261.39Sfredb  if test ! -f "$as_myself"; then
1271.39Sfredb    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1281.39Sfredb   { (exit 1); exit 1; }; }
1291.39Sfredb  fi
1301.39Sfredb  case $CONFIG_SHELL in
1311.39Sfredb  '')
1321.39Sfredb    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1331.39Sfredbfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1341.39Sfredbdo
1351.39Sfredb  IFS=$as_save_IFS
1361.39Sfredb  test -z "$as_dir" && as_dir=.
1371.39Sfredb  for as_base in sh bash ksh sh5; do
1381.39Sfredb	 case $as_dir in
1391.39Sfredb	 /*)
1401.39Sfredb	   if ("$as_dir/$as_base" -c '
1411.39Sfredb  as_lineno_1=$LINENO
1421.39Sfredb  as_lineno_2=$LINENO
1431.39Sfredb  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1441.39Sfredb  test "x$as_lineno_1" != "x$as_lineno_2" &&
1451.39Sfredb  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1461.39Sfredb	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1471.39Sfredb	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1481.39Sfredb	     CONFIG_SHELL=$as_dir/$as_base
1491.39Sfredb	     export CONFIG_SHELL
1501.39Sfredb	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1511.39Sfredb	   fi;;
1521.39Sfredb	 esac
1531.39Sfredb       done
1541.39Sfredbdone
1551.39Sfredb;;
1561.39Sfredb  esac
1571.39Sfredb
1581.39Sfredb  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1591.39Sfredb  # uniformly replaced by the line number.  The first 'sed' inserts a
1601.39Sfredb  # line-number line before each line; the second 'sed' does the real
1611.39Sfredb  # work.  The second script uses 'N' to pair each line-number line
1621.39Sfredb  # with the numbered line, and appends trailing '-' during
1631.39Sfredb  # substitution so that $LINENO is not a special case at line end.
1641.39Sfredb  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1651.39Sfredb  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1661.39Sfredb  sed '=' <$as_myself |
1671.39Sfredb    sed '
1681.39Sfredb      N
1691.39Sfredb      s,$,-,
1701.39Sfredb      : loop
1711.39Sfredb      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1721.39Sfredb      t loop
1731.39Sfredb      s,-$,,
1741.39Sfredb      s,^['$as_cr_digits']*\n,,
1751.39Sfredb    ' >$as_me.lineno &&
1761.39Sfredb  chmod +x $as_me.lineno ||
1771.39Sfredb    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1781.39Sfredb   { (exit 1); exit 1; }; }
1791.1Stv
1801.39Sfredb  # Don't try to exec as it changes $[0], causing all sort of problems
1811.39Sfredb  # (the dirname of $[0] is not the place where we might find the
1821.39Sfredb  # original and so on.  Autoconf is especially sensible to this).
1831.39Sfredb  . ./$as_me.lineno
1841.39Sfredb  # Exit status is that of the last command.
1851.39Sfredb  exit
1861.39Sfredb}
1871.1Stv
1881.1Stv
1891.39Sfredbcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1901.39Sfredb  *c*,-n*) ECHO_N= ECHO_C='
1911.39Sfredb' ECHO_T='	' ;;
1921.39Sfredb  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1931.39Sfredb  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1941.39Sfredbesac
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.39Sfredbif mkdir -p . 2>/dev/null; then
2211.39Sfredb  as_mkdir_p=:
2221.39Sfredbelse
2231.39Sfredb  as_mkdir_p=false
2241.39Sfredbfi
2251.39Sfredb
2261.1Stvas_executable_p="test -f"
2271.1Stv
2281.39Sfredb# Sed expression to map a string onto a valid CPP name.
2291.39Sfredbas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2301.39Sfredb
2311.39Sfredb# Sed expression to map a string onto a valid variable name.
2321.39Sfredbas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2331.1Stv
2341.1Stv
2351.1Stv# IFS
2361.1Stv# We need space, tab and new line, in precisely that order.
2371.1Stvas_nl='
2381.1Stv'
2391.1StvIFS=" 	$as_nl"
2401.1Stv
2411.1Stv# CDPATH.
2421.39Sfredb$as_unset CDPATH
2431.39Sfredb
2441.1Stv
2451.1Stv# Name of the host.
2461.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2471.1Stv# so uname gets run too.
2481.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2491.1Stv
2501.1Stvexec 6>&1
2511.1Stv
2521.1Stv#
2531.1Stv# Initializations.
2541.1Stv#
2551.1Stvac_default_prefix=/usr/local
2561.39Sfredbac_config_libobj_dir=.
2571.1Stvcross_compiling=no
2581.1Stvsubdirs=
2591.39SfredbMFLAGS=
2601.39SfredbMAKEFLAGS=
2611.1StvSHELL=${CONFIG_SHELL-/bin/sh}
2621.1Stv
2631.1Stv# Maximum number of lines to put in a shell here document.
2641.1Stv# This variable seems obsolete.  It should probably be removed, and
2651.1Stv# only ac_max_sed_lines should be used.
2661.1Stv: ${ac_max_here_lines=38}
2671.1Stv
2681.39Sfredb# Identity of this package.
2691.39SfredbPACKAGE_NAME='libnbcompat'
2701.39SfredbPACKAGE_TARNAME='libnbcompat'
2711.39SfredbPACKAGE_VERSION='noversion'
2721.39SfredbPACKAGE_STRING='libnbcompat noversion'
2731.39SfredbPACKAGE_BUGREPORT='lib-bug-people@netbsd.org'
2741.39Sfredb
2751.1Stv# Factoring default headers for most tests.
2761.1Stvac_includes_default="\
2771.1Stv#include <stdio.h>
2781.1Stv#if HAVE_SYS_TYPES_H
2791.1Stv# include <sys/types.h>
2801.1Stv#endif
2811.1Stv#if HAVE_SYS_STAT_H
2821.1Stv# include <sys/stat.h>
2831.1Stv#endif
2841.1Stv#if STDC_HEADERS
2851.1Stv# include <stdlib.h>
2861.1Stv# include <stddef.h>
2871.1Stv#else
2881.1Stv# if HAVE_STDLIB_H
2891.1Stv#  include <stdlib.h>
2901.1Stv# endif
2911.1Stv#endif
2921.1Stv#if HAVE_STRING_H
2931.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
2941.1Stv#  include <memory.h>
2951.1Stv# endif
2961.1Stv# include <string.h>
2971.1Stv#endif
2981.1Stv#if HAVE_STRINGS_H
2991.1Stv# include <strings.h>
3001.1Stv#endif
3011.1Stv#if HAVE_INTTYPES_H
3021.1Stv# include <inttypes.h>
3031.1Stv#else
3041.1Stv# if HAVE_STDINT_H
3051.1Stv#  include <stdint.h>
3061.1Stv# endif
3071.1Stv#endif
3081.1Stv#if HAVE_UNISTD_H
3091.1Stv# include <unistd.h>
3101.1Stv#endif"
3111.1Stv
3121.39Sfredbac_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 BSHELL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP ALLOCA LIBOBJS LTLIBOBJS'
3131.39Sfredbac_subst_files=''
3141.39Sfredb
3151.1Stv# Initialize some variables set by options.
3161.1Stvac_init_help=
3171.1Stvac_init_version=false
3181.1Stv# The variables have the same names as the options, with
3191.1Stv# dashes changed to underlines.
3201.1Stvcache_file=/dev/null
3211.1Stvexec_prefix=NONE
3221.1Stvno_create=
3231.1Stvno_recursion=
3241.1Stvprefix=NONE
3251.1Stvprogram_prefix=NONE
3261.1Stvprogram_suffix=NONE
3271.1Stvprogram_transform_name=s,x,x,
3281.1Stvsilent=
3291.1Stvsite=
3301.1Stvsrcdir=
3311.1Stvverbose=
3321.1Stvx_includes=NONE
3331.1Stvx_libraries=NONE
3341.1Stv
3351.1Stv# Installation directory options.
3361.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
3371.1Stv# and all the variables that are supposed to be based on exec_prefix
3381.1Stv# by default will actually change.
3391.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
3401.1Stvbindir='${exec_prefix}/bin'
3411.1Stvsbindir='${exec_prefix}/sbin'
3421.1Stvlibexecdir='${exec_prefix}/libexec'
3431.1Stvdatadir='${prefix}/share'
3441.1Stvsysconfdir='${prefix}/etc'
3451.1Stvsharedstatedir='${prefix}/com'
3461.1Stvlocalstatedir='${prefix}/var'
3471.1Stvlibdir='${exec_prefix}/lib'
3481.1Stvincludedir='${prefix}/include'
3491.1Stvoldincludedir='/usr/include'
3501.1Stvinfodir='${prefix}/info'
3511.1Stvmandir='${prefix}/man'
3521.1Stv
3531.1Stvac_prev=
3541.1Stvfor ac_option
3551.1Stvdo
3561.1Stv  # If the previous option needs an argument, assign it.
3571.1Stv  if test -n "$ac_prev"; then
3581.1Stv    eval "$ac_prev=\$ac_option"
3591.1Stv    ac_prev=
3601.1Stv    continue
3611.1Stv  fi
3621.1Stv
3631.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
3641.1Stv
3651.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
3661.1Stv
3671.1Stv  case $ac_option in
3681.1Stv
3691.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
3701.1Stv    ac_prev=bindir ;;
3711.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
3721.1Stv    bindir=$ac_optarg ;;
3731.1Stv
3741.1Stv  -build | --build | --buil | --bui | --bu)
3751.1Stv    ac_prev=build_alias ;;
3761.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
3771.1Stv    build_alias=$ac_optarg ;;
3781.1Stv
3791.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
3801.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3811.1Stv    ac_prev=cache_file ;;
3821.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3831.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3841.1Stv    cache_file=$ac_optarg ;;
3851.1Stv
3861.1Stv  --config-cache | -C)
3871.1Stv    cache_file=config.cache ;;
3881.1Stv
3891.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
3901.1Stv    ac_prev=datadir ;;
3911.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
3921.1Stv  | --da=*)
3931.1Stv    datadir=$ac_optarg ;;
3941.1Stv
3951.1Stv  -disable-* | --disable-*)
3961.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3971.1Stv    # Reject names that are not valid shell variable names.
3981.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3991.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4001.1Stv   { (exit 1); exit 1; }; }
4011.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4021.1Stv    eval "enable_$ac_feature=no" ;;
4031.1Stv
4041.1Stv  -enable-* | --enable-*)
4051.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
4061.1Stv    # Reject names that are not valid shell variable names.
4071.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4081.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4091.1Stv   { (exit 1); exit 1; }; }
4101.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4111.1Stv    case $ac_option in
4121.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4131.1Stv      *) ac_optarg=yes ;;
4141.1Stv    esac
4151.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
4161.1Stv
4171.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
4181.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
4191.1Stv  | --exec | --exe | --ex)
4201.1Stv    ac_prev=exec_prefix ;;
4211.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
4221.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
4231.1Stv  | --exec=* | --exe=* | --ex=*)
4241.1Stv    exec_prefix=$ac_optarg ;;
4251.1Stv
4261.1Stv  -gas | --gas | --ga | --g)
4271.1Stv    # Obsolete; use --with-gas.
4281.1Stv    with_gas=yes ;;
4291.1Stv
4301.1Stv  -help | --help | --hel | --he | -h)
4311.1Stv    ac_init_help=long ;;
4321.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
4331.1Stv    ac_init_help=recursive ;;
4341.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
4351.1Stv    ac_init_help=short ;;
4361.1Stv
4371.1Stv  -host | --host | --hos | --ho)
4381.1Stv    ac_prev=host_alias ;;
4391.1Stv  -host=* | --host=* | --hos=* | --ho=*)
4401.1Stv    host_alias=$ac_optarg ;;
4411.1Stv
4421.1Stv  -includedir | --includedir | --includedi | --included | --include \
4431.1Stv  | --includ | --inclu | --incl | --inc)
4441.1Stv    ac_prev=includedir ;;
4451.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
4461.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
4471.1Stv    includedir=$ac_optarg ;;
4481.1Stv
4491.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
4501.1Stv    ac_prev=infodir ;;
4511.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4521.1Stv    infodir=$ac_optarg ;;
4531.1Stv
4541.1Stv  -libdir | --libdir | --libdi | --libd)
4551.1Stv    ac_prev=libdir ;;
4561.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
4571.1Stv    libdir=$ac_optarg ;;
4581.1Stv
4591.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
4601.1Stv  | --libexe | --libex | --libe)
4611.1Stv    ac_prev=libexecdir ;;
4621.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
4631.1Stv  | --libexe=* | --libex=* | --libe=*)
4641.1Stv    libexecdir=$ac_optarg ;;
4651.1Stv
4661.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
4671.1Stv  | --localstate | --localstat | --localsta | --localst \
4681.1Stv  | --locals | --local | --loca | --loc | --lo)
4691.1Stv    ac_prev=localstatedir ;;
4701.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4711.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
4721.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
4731.1Stv    localstatedir=$ac_optarg ;;
4741.1Stv
4751.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4761.1Stv    ac_prev=mandir ;;
4771.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4781.1Stv    mandir=$ac_optarg ;;
4791.1Stv
4801.1Stv  -nfp | --nfp | --nf)
4811.1Stv    # Obsolete; use --without-fp.
4821.1Stv    with_fp=no ;;
4831.1Stv
4841.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4851.39Sfredb  | --no-cr | --no-c | -n)
4861.1Stv    no_create=yes ;;
4871.1Stv
4881.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4891.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
4901.1Stv    no_recursion=yes ;;
4911.1Stv
4921.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
4931.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
4941.1Stv  | --oldin | --oldi | --old | --ol | --o)
4951.1Stv    ac_prev=oldincludedir ;;
4961.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
4971.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
4981.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
4991.1Stv    oldincludedir=$ac_optarg ;;
5001.1Stv
5011.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5021.1Stv    ac_prev=prefix ;;
5031.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5041.1Stv    prefix=$ac_optarg ;;
5051.1Stv
5061.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
5071.1Stv  | --program-pre | --program-pr | --program-p)
5081.1Stv    ac_prev=program_prefix ;;
5091.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
5101.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5111.1Stv    program_prefix=$ac_optarg ;;
5121.1Stv
5131.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
5141.1Stv  | --program-suf | --program-su | --program-s)
5151.1Stv    ac_prev=program_suffix ;;
5161.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
5171.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5181.1Stv    program_suffix=$ac_optarg ;;
5191.1Stv
5201.1Stv  -program-transform-name | --program-transform-name \
5211.1Stv  | --program-transform-nam | --program-transform-na \
5221.1Stv  | --program-transform-n | --program-transform- \
5231.1Stv  | --program-transform | --program-transfor \
5241.1Stv  | --program-transfo | --program-transf \
5251.1Stv  | --program-trans | --program-tran \
5261.1Stv  | --progr-tra | --program-tr | --program-t)
5271.1Stv    ac_prev=program_transform_name ;;
5281.1Stv  -program-transform-name=* | --program-transform-name=* \
5291.1Stv  | --program-transform-nam=* | --program-transform-na=* \
5301.1Stv  | --program-transform-n=* | --program-transform-=* \
5311.1Stv  | --program-transform=* | --program-transfor=* \
5321.1Stv  | --program-transfo=* | --program-transf=* \
5331.1Stv  | --program-trans=* | --program-tran=* \
5341.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
5351.1Stv    program_transform_name=$ac_optarg ;;
5361.1Stv
5371.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5381.1Stv  | -silent | --silent | --silen | --sile | --sil)
5391.1Stv    silent=yes ;;
5401.1Stv
5411.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5421.1Stv    ac_prev=sbindir ;;
5431.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5441.1Stv  | --sbi=* | --sb=*)
5451.1Stv    sbindir=$ac_optarg ;;
5461.1Stv
5471.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
5481.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5491.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
5501.1Stv  | --sha | --sh)
5511.1Stv    ac_prev=sharedstatedir ;;
5521.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5531.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5541.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5551.1Stv  | --sha=* | --sh=*)
5561.1Stv    sharedstatedir=$ac_optarg ;;
5571.1Stv
5581.1Stv  -site | --site | --sit)
5591.1Stv    ac_prev=site ;;
5601.1Stv  -site=* | --site=* | --sit=*)
5611.1Stv    site=$ac_optarg ;;
5621.1Stv
5631.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5641.1Stv    ac_prev=srcdir ;;
5651.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5661.1Stv    srcdir=$ac_optarg ;;
5671.1Stv
5681.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5691.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
5701.1Stv    ac_prev=sysconfdir ;;
5711.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5721.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5731.1Stv    sysconfdir=$ac_optarg ;;
5741.1Stv
5751.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
5761.1Stv    ac_prev=target_alias ;;
5771.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5781.1Stv    target_alias=$ac_optarg ;;
5791.1Stv
5801.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
5811.1Stv    verbose=yes ;;
5821.1Stv
5831.1Stv  -version | --version | --versio | --versi | --vers | -V)
5841.1Stv    ac_init_version=: ;;
5851.1Stv
5861.1Stv  -with-* | --with-*)
5871.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5881.1Stv    # Reject names that are not valid shell variable names.
5891.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5901.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
5911.1Stv   { (exit 1); exit 1; }; }
5921.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
5931.1Stv    case $ac_option in
5941.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5951.1Stv      *) ac_optarg=yes ;;
5961.1Stv    esac
5971.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
5981.1Stv
5991.1Stv  -without-* | --without-*)
6001.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6011.1Stv    # Reject names that are not valid shell variable names.
6021.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6031.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
6041.1Stv   { (exit 1); exit 1; }; }
6051.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
6061.1Stv    eval "with_$ac_package=no" ;;
6071.1Stv
6081.1Stv  --x)
6091.1Stv    # Obsolete; use --with-x.
6101.1Stv    with_x=yes ;;
6111.1Stv
6121.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
6131.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
6141.1Stv    ac_prev=x_includes ;;
6151.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6161.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6171.1Stv    x_includes=$ac_optarg ;;
6181.1Stv
6191.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
6201.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6211.1Stv    ac_prev=x_libraries ;;
6221.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6231.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6241.1Stv    x_libraries=$ac_optarg ;;
6251.1Stv
6261.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
6271.1StvTry \`$0 --help' for more information." >&2
6281.1Stv   { (exit 1); exit 1; }; }
6291.1Stv    ;;
6301.1Stv
6311.1Stv  *=*)
6321.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6331.1Stv    # Reject names that are not valid shell variable names.
6341.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6351.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6361.1Stv   { (exit 1); exit 1; }; }
6371.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6381.1Stv    eval "$ac_envvar='$ac_optarg'"
6391.1Stv    export $ac_envvar ;;
6401.1Stv
6411.1Stv  *)
6421.1Stv    # FIXME: should be removed in autoconf 3.0.
6431.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6441.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6451.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6461.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6471.1Stv    ;;
6481.1Stv
6491.1Stv  esac
6501.1Stvdone
6511.1Stv
6521.1Stvif test -n "$ac_prev"; then
6531.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6541.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
6551.1Stv   { (exit 1); exit 1; }; }
6561.1Stvfi
6571.1Stv
6581.1Stv# Be sure to have absolute paths.
6591.1Stvfor ac_var in exec_prefix prefix
6601.1Stvdo
6611.1Stv  eval ac_val=$`echo $ac_var`
6621.1Stv  case $ac_val in
6631.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6641.39Sfredb    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6651.1Stv   { (exit 1); exit 1; }; };;
6661.1Stv  esac
6671.1Stvdone
6681.1Stv
6691.1Stv# Be sure to have absolute paths.
6701.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6711.1Stv              localstatedir libdir includedir oldincludedir infodir mandir
6721.1Stvdo
6731.1Stv  eval ac_val=$`echo $ac_var`
6741.1Stv  case $ac_val in
6751.1Stv    [\\/$]* | ?:[\\/]* ) ;;
6761.39Sfredb    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6771.1Stv   { (exit 1); exit 1; }; };;
6781.1Stv  esac
6791.1Stvdone
6801.1Stv
6811.1Stv# There might be people who depend on the old broken behavior: `$host'
6821.1Stv# used to hold the argument of --host etc.
6831.39Sfredb# FIXME: To remove some day.
6841.1Stvbuild=$build_alias
6851.1Stvhost=$host_alias
6861.1Stvtarget=$target_alias
6871.1Stv
6881.39Sfredb# FIXME: To remove some day.
6891.1Stvif test "x$host_alias" != x; then
6901.1Stv  if test "x$build_alias" = x; then
6911.1Stv    cross_compiling=maybe
6921.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6931.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
6941.1Stv  elif test "x$build_alias" != "x$host_alias"; then
6951.1Stv    cross_compiling=yes
6961.1Stv  fi
6971.1Stvfi
6981.1Stv
6991.1Stvac_tool_prefix=
7001.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
7011.1Stv
7021.1Stvtest "$silent" = yes && exec 6>/dev/null
7031.1Stv
7041.39Sfredb
7051.1Stv# Find the source files, if location was not specified.
7061.1Stvif test -z "$srcdir"; then
7071.1Stv  ac_srcdir_defaulted=yes
7081.1Stv  # Try the directory containing this script, then its parent.
7091.39Sfredb  ac_confdir=`(dirname "$0") 2>/dev/null ||
7101.39Sfredb$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7111.39Sfredb         X"$0" : 'X\(//\)[^/]' \| \
7121.39Sfredb         X"$0" : 'X\(//\)$' \| \
7131.39Sfredb         X"$0" : 'X\(/\)' \| \
7141.39Sfredb         .     : '\(.\)' 2>/dev/null ||
7151.39Sfredbecho X"$0" |
7161.39Sfredb    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7171.39Sfredb  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7181.39Sfredb  	  /^X\(\/\/\)$/{ s//\1/; q; }
7191.39Sfredb  	  /^X\(\/\).*/{ s//\1/; q; }
7201.39Sfredb  	  s/.*/./; q'`
7211.1Stv  srcdir=$ac_confdir
7221.1Stv  if test ! -r $srcdir/$ac_unique_file; then
7231.1Stv    srcdir=..
7241.1Stv  fi
7251.1Stvelse
7261.1Stv  ac_srcdir_defaulted=no
7271.1Stvfi
7281.1Stvif test ! -r $srcdir/$ac_unique_file; then
7291.1Stv  if test "$ac_srcdir_defaulted" = yes; then
7301.39Sfredb    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
7311.1Stv   { (exit 1); exit 1; }; }
7321.1Stv  else
7331.39Sfredb    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7341.1Stv   { (exit 1); exit 1; }; }
7351.1Stv  fi
7361.1Stvfi
7371.39Sfredb(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
7381.39Sfredb  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
7391.39Sfredb   { (exit 1); exit 1; }; }
7401.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
7411.1Stvac_env_build_alias_set=${build_alias+set}
7421.1Stvac_env_build_alias_value=$build_alias
7431.1Stvac_cv_env_build_alias_set=${build_alias+set}
7441.1Stvac_cv_env_build_alias_value=$build_alias
7451.1Stvac_env_host_alias_set=${host_alias+set}
7461.1Stvac_env_host_alias_value=$host_alias
7471.1Stvac_cv_env_host_alias_set=${host_alias+set}
7481.1Stvac_cv_env_host_alias_value=$host_alias
7491.1Stvac_env_target_alias_set=${target_alias+set}
7501.1Stvac_env_target_alias_value=$target_alias
7511.1Stvac_cv_env_target_alias_set=${target_alias+set}
7521.1Stvac_cv_env_target_alias_value=$target_alias
7531.1Stvac_env_CC_set=${CC+set}
7541.1Stvac_env_CC_value=$CC
7551.1Stvac_cv_env_CC_set=${CC+set}
7561.1Stvac_cv_env_CC_value=$CC
7571.1Stvac_env_CFLAGS_set=${CFLAGS+set}
7581.1Stvac_env_CFLAGS_value=$CFLAGS
7591.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
7601.1Stvac_cv_env_CFLAGS_value=$CFLAGS
7611.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
7621.1Stvac_env_LDFLAGS_value=$LDFLAGS
7631.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
7641.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
7651.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
7661.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
7671.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
7681.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
7691.1Stvac_env_CPP_set=${CPP+set}
7701.1Stvac_env_CPP_value=$CPP
7711.1Stvac_cv_env_CPP_set=${CPP+set}
7721.1Stvac_cv_env_CPP_value=$CPP
7731.1Stv
7741.1Stv#
7751.1Stv# Report the --help message.
7761.1Stv#
7771.1Stvif test "$ac_init_help" = "long"; then
7781.1Stv  # Omit some internal or obsolete options to make the list less imposing.
7791.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
7801.39Sfredb  cat <<_ACEOF
7811.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems.
7821.1Stv
7831.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
7841.1Stv
7851.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
7861.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
7871.1Stv
7881.1StvDefaults for the options are specified in brackets.
7891.1Stv
7901.1StvConfiguration:
7911.1Stv  -h, --help              display this help and exit
7921.1Stv      --help=short        display options specific to this package
7931.1Stv      --help=recursive    display the short help of all the included packages
7941.1Stv  -V, --version           display version information and exit
7951.1Stv  -q, --quiet, --silent   do not print \`checking...' messages
7961.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
7971.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
7981.1Stv  -n, --no-create         do not create output files
7991.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
8001.1Stv
8011.39Sfredb_ACEOF
8021.1Stv
8031.39Sfredb  cat <<_ACEOF
8041.1StvInstallation directories:
8051.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
8061.1Stv                          [$ac_default_prefix]
8071.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
8081.1Stv                          [PREFIX]
8091.1Stv
8101.1StvBy default, \`make install' will install all the files in
8111.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
8121.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
8131.1Stvfor instance \`--prefix=\$HOME'.
8141.1Stv
8151.1StvFor better control, use the options below.
8161.1Stv
8171.1StvFine tuning of the installation directories:
8181.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
8191.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
8201.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
8211.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
8221.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
8231.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
8241.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
8251.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
8261.1Stv  --includedir=DIR       C header files [PREFIX/include]
8271.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
8281.1Stv  --infodir=DIR          info documentation [PREFIX/info]
8291.1Stv  --mandir=DIR           man documentation [PREFIX/man]
8301.39Sfredb_ACEOF
8311.1Stv
8321.39Sfredb  cat <<\_ACEOF
8331.39Sfredb_ACEOF
8341.1Stvfi
8351.1Stv
8361.1Stvif test -n "$ac_init_help"; then
8371.1Stv  case $ac_init_help in
8381.1Stv     short | recursive ) echo "Configuration of libnbcompat noversion:";;
8391.1Stv   esac
8401.39Sfredb  cat <<\_ACEOF
8411.1Stv
8421.1StvSome influential environment variables:
8431.1Stv  CC          C compiler command
8441.1Stv  CFLAGS      C compiler flags
8451.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
8461.1Stv              nonstandard directory <lib dir>
8471.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
8481.1Stv              headers in a nonstandard directory <include dir>
8491.1Stv  CPP         C preprocessor
8501.1Stv
8511.1StvUse these variables to override the choices made by `configure' or to help
8521.1Stvit to find libraries and programs with nonstandard names/locations.
8531.1Stv
8541.1StvReport bugs to <lib-bug-people@netbsd.org>.
8551.39Sfredb_ACEOF
8561.1Stvfi
8571.1Stv
8581.1Stvif test "$ac_init_help" = "recursive"; then
8591.1Stv  # If there are subdirs, report their specific --help.
8601.1Stv  ac_popdir=`pwd`
8611.39Sfredb  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
8621.39Sfredb    test -d $ac_dir || continue
8631.39Sfredb    ac_builddir=.
8641.39Sfredb
8651.39Sfredbif test "$ac_dir" != .; then
8661.39Sfredb  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8671.39Sfredb  # A "../" for each directory in $ac_dir_suffix.
8681.39Sfredb  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8691.39Sfredbelse
8701.39Sfredb  ac_dir_suffix= ac_top_builddir=
8711.39Sfredbfi
8721.39Sfredb
8731.39Sfredbcase $srcdir in
8741.39Sfredb  .)  # No --srcdir option.  We are building in place.
8751.39Sfredb    ac_srcdir=.
8761.39Sfredb    if test -z "$ac_top_builddir"; then
8771.39Sfredb       ac_top_srcdir=.
8781.39Sfredb    else
8791.39Sfredb       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8801.39Sfredb    fi ;;
8811.39Sfredb  [\\/]* | ?:[\\/]* )  # Absolute path.
8821.39Sfredb    ac_srcdir=$srcdir$ac_dir_suffix;
8831.39Sfredb    ac_top_srcdir=$srcdir ;;
8841.39Sfredb  *) # Relative path.
8851.39Sfredb    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8861.39Sfredb    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8871.39Sfredbesac
8881.39Sfredb# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8891.39Sfredb# absolute.
8901.39Sfredbac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8911.39Sfredbac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8921.39Sfredbac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8931.39Sfredbac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8941.1Stv
8951.39Sfredb    cd $ac_dir
8961.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
8971.39Sfredb    if test -f $ac_srcdir/configure.gnu; then
8981.1Stv      echo
8991.39Sfredb      $SHELL $ac_srcdir/configure.gnu  --help=recursive
9001.39Sfredb    elif test -f $ac_srcdir/configure; then
9011.1Stv      echo
9021.39Sfredb      $SHELL $ac_srcdir/configure  --help=recursive
9031.39Sfredb    elif test -f $ac_srcdir/configure.ac ||
9041.39Sfredb           test -f $ac_srcdir/configure.in; then
9051.1Stv      echo
9061.1Stv      $ac_configure --help
9071.1Stv    else
9081.39Sfredb      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
9091.1Stv    fi
9101.1Stv    cd $ac_popdir
9111.1Stv  done
9121.1Stvfi
9131.1Stv
9141.1Stvtest -n "$ac_init_help" && exit 0
9151.1Stvif $ac_init_version; then
9161.39Sfredb  cat <<\_ACEOF
9171.1Stvlibnbcompat configure noversion
9181.39Sfredbgenerated by GNU Autoconf 2.57
9191.1Stv
9201.39SfredbCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9211.1StvFree Software Foundation, Inc.
9221.1StvThis configure script is free software; the Free Software Foundation
9231.1Stvgives unlimited permission to copy, distribute and modify it.
9241.39Sfredb_ACEOF
9251.1Stv  exit 0
9261.1Stvfi
9271.1Stvexec 5>config.log
9281.39Sfredbcat >&5 <<_ACEOF
9291.1StvThis file contains any messages produced by compilers while
9301.1Stvrunning configure, to aid debugging if configure makes a mistake.
9311.1Stv
9321.1StvIt was created by libnbcompat $as_me noversion, which was
9331.39Sfredbgenerated by GNU Autoconf 2.57.  Invocation command line was
9341.1Stv
9351.1Stv  $ $0 $@
9361.1Stv
9371.39Sfredb_ACEOF
9381.1Stv{
9391.1Stvcat <<_ASUNAME
9401.39Sfredb## --------- ##
9411.39Sfredb## Platform. ##
9421.39Sfredb## --------- ##
9431.1Stv
9441.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9451.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
9461.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
9471.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
9481.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
9491.1Stv
9501.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9511.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
9521.1Stv
9531.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
9541.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
9551.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9561.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
9571.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
9581.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
9591.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
9601.1Stv
9611.39Sfredb_ASUNAME
9621.39Sfredb
9631.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641.39Sfredbfor as_dir in $PATH
9651.39Sfredbdo
9661.39Sfredb  IFS=$as_save_IFS
9671.39Sfredb  test -z "$as_dir" && as_dir=.
9681.39Sfredb  echo "PATH: $as_dir"
9691.39Sfredbdone
9701.1Stv
9711.1Stv} >&5
9721.1Stv
9731.39Sfredbcat >&5 <<_ACEOF
9741.39Sfredb
9751.39Sfredb
9761.39Sfredb## ----------- ##
9771.39Sfredb## Core tests. ##
9781.39Sfredb## ----------- ##
9791.39Sfredb
9801.39Sfredb_ACEOF
9811.1Stv
9821.1Stv
9831.1Stv# Keep a trace of the command line.
9841.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
9851.39Sfredb# Strip out --silent because we don't want to record it for future runs.
9861.1Stv# Also quote any args containing shell meta-characters.
9871.39Sfredb# Make two passes to allow for proper duplicate-argument suppression.
9881.1Stvac_configure_args=
9891.39Sfredbac_configure_args0=
9901.39Sfredbac_configure_args1=
9911.1Stvac_sep=
9921.39Sfredbac_must_keep_next=false
9931.39Sfredbfor ac_pass in 1 2
9941.1Stvdo
9951.39Sfredb  for ac_arg
9961.39Sfredb  do
9971.39Sfredb    case $ac_arg in
9981.39Sfredb    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
9991.39Sfredb    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10001.39Sfredb    | -silent | --silent | --silen | --sile | --sil)
10011.39Sfredb      continue ;;
10021.39Sfredb    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10031.39Sfredb      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10041.39Sfredb    esac
10051.39Sfredb    case $ac_pass in
10061.39Sfredb    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10071.39Sfredb    2)
10081.39Sfredb      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10091.39Sfredb      if test $ac_must_keep_next = true; then
10101.39Sfredb        ac_must_keep_next=false # Got value, back to normal.
10111.39Sfredb      else
10121.39Sfredb        case $ac_arg in
10131.39Sfredb          *=* | --config-cache | -C | -disable-* | --disable-* \
10141.39Sfredb          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10151.39Sfredb          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10161.39Sfredb          | -with-* | --with-* | -without-* | --without-* | --x)
10171.39Sfredb            case "$ac_configure_args0 " in
10181.39Sfredb              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10191.39Sfredb            esac
10201.39Sfredb            ;;
10211.39Sfredb          -* ) ac_must_keep_next=true ;;
10221.39Sfredb        esac
10231.39Sfredb      fi
10241.39Sfredb      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10251.39Sfredb      # Get rid of the leading space.
10261.39Sfredb      ac_sep=" "
10271.39Sfredb      ;;
10281.39Sfredb    esac
10291.39Sfredb  done
10301.1Stvdone
10311.39Sfredb$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10321.39Sfredb$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10331.1Stv
10341.1Stv# When interrupted or exit'd, cleanup temporary files, and complete
10351.1Stv# config.log.  We remove comments because anyway the quotes in there
10361.1Stv# would cause problems or look ugly.
10371.39Sfredb# WARNING: Be sure not to use single quotes in there, as some shells,
10381.39Sfredb# such as our DU 5.0 friend, will then `close' the trap.
10391.1Stvtrap 'exit_status=$?
10401.1Stv  # Save into config.log some information that might help in debugging.
10411.39Sfredb  {
10421.39Sfredb    echo
10431.39Sfredb
10441.39Sfredb    cat <<\_ASBOX
10451.39Sfredb## ---------------- ##
10461.39Sfredb## Cache variables. ##
10471.39Sfredb## ---------------- ##
10481.39Sfredb_ASBOX
10491.39Sfredb    echo
10501.39Sfredb    # The following way of writing the cache mishandles newlines in values,
10511.1Stv{
10521.1Stv  (set) 2>&1 |
10531.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
10541.1Stv    *ac_space=\ *)
10551.1Stv      sed -n \
10561.1Stv        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
10571.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
10581.1Stv      ;;
10591.1Stv    *)
10601.1Stv      sed -n \
10611.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10621.1Stv      ;;
10631.1Stv    esac;
10641.39Sfredb}
10651.39Sfredb    echo
10661.39Sfredb
10671.39Sfredb    cat <<\_ASBOX
10681.39Sfredb## ----------------- ##
10691.39Sfredb## Output variables. ##
10701.39Sfredb## ----------------- ##
10711.39Sfredb_ASBOX
10721.39Sfredb    echo
10731.39Sfredb    for ac_var in $ac_subst_vars
10741.39Sfredb    do
10751.39Sfredb      eval ac_val=$`echo $ac_var`
10761.39Sfredb      echo "$ac_var='"'"'$ac_val'"'"'"
10771.39Sfredb    done | sort
10781.39Sfredb    echo
10791.39Sfredb
10801.39Sfredb    if test -n "$ac_subst_files"; then
10811.39Sfredb      cat <<\_ASBOX
10821.39Sfredb## ------------- ##
10831.39Sfredb## Output files. ##
10841.39Sfredb## ------------- ##
10851.39Sfredb_ASBOX
10861.39Sfredb      echo
10871.39Sfredb      for ac_var in $ac_subst_files
10881.39Sfredb      do
10891.39Sfredb	eval ac_val=$`echo $ac_var`
10901.39Sfredb        echo "$ac_var='"'"'$ac_val'"'"'"
10911.39Sfredb      done | sort
10921.39Sfredb      echo
10931.39Sfredb    fi
10941.39Sfredb
10951.39Sfredb    if test -s confdefs.h; then
10961.39Sfredb      cat <<\_ASBOX
10971.39Sfredb## ----------- ##
10981.39Sfredb## confdefs.h. ##
10991.39Sfredb## ----------- ##
11001.39Sfredb_ASBOX
11011.39Sfredb      echo
11021.39Sfredb      sed "/^$/d" confdefs.h | sort
11031.39Sfredb      echo
11041.39Sfredb    fi
11051.39Sfredb    test "$ac_signal" != 0 &&
11061.39Sfredb      echo "$as_me: caught signal $ac_signal"
11071.39Sfredb    echo "$as_me: exit $exit_status"
11081.39Sfredb  } >&5
11091.39Sfredb  rm -f core core.* *.core &&
11101.39Sfredb  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11111.1Stv    exit $exit_status
11121.1Stv     ' 0
11131.1Stvfor ac_signal in 1 2 13 15; do
11141.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11151.1Stvdone
11161.1Stvac_signal=0
11171.1Stv
11181.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
11191.1Stvrm -rf conftest* confdefs.h
11201.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11211.1Stvecho >confdefs.h
11221.1Stv
11231.39Sfredb# Predefined preprocessor variables.
11241.39Sfredb
11251.39Sfredbcat >>confdefs.h <<_ACEOF
11261.39Sfredb#define PACKAGE_NAME "$PACKAGE_NAME"
11271.39Sfredb_ACEOF
11281.39Sfredb
11291.39Sfredb
11301.39Sfredbcat >>confdefs.h <<_ACEOF
11311.39Sfredb#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11321.39Sfredb_ACEOF
11331.39Sfredb
11341.39Sfredb
11351.39Sfredbcat >>confdefs.h <<_ACEOF
11361.39Sfredb#define PACKAGE_VERSION "$PACKAGE_VERSION"
11371.39Sfredb_ACEOF
11381.39Sfredb
11391.39Sfredb
11401.39Sfredbcat >>confdefs.h <<_ACEOF
11411.39Sfredb#define PACKAGE_STRING "$PACKAGE_STRING"
11421.39Sfredb_ACEOF
11431.39Sfredb
11441.39Sfredb
11451.39Sfredbcat >>confdefs.h <<_ACEOF
11461.39Sfredb#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11471.39Sfredb_ACEOF
11481.39Sfredb
11491.39Sfredb
11501.1Stv# Let the site file select an alternate cache file if it wants to.
11511.1Stv# Prefer explicitly selected file to automatically selected ones.
11521.1Stvif test -z "$CONFIG_SITE"; then
11531.1Stv  if test "x$prefix" != xNONE; then
11541.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11551.1Stv  else
11561.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11571.1Stv  fi
11581.1Stvfi
11591.1Stvfor ac_site_file in $CONFIG_SITE; do
11601.1Stv  if test -r "$ac_site_file"; then
11611.39Sfredb    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
11631.39Sfredb    sed 's/^/| /' "$ac_site_file" >&5
11641.1Stv    . "$ac_site_file"
11651.1Stv  fi
11661.1Stvdone
11671.1Stv
11681.1Stvif test -r "$cache_file"; then
11691.1Stv  # Some versions of bash will fail to source /dev/null (special
11701.1Stv  # files actually), so we avoid doing that.
11711.1Stv  if test -f "$cache_file"; then
11721.39Sfredb    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11731.1Stvecho "$as_me: loading cache $cache_file" >&6;}
11741.1Stv    case $cache_file in
11751.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
11761.1Stv      *)                      . ./$cache_file;;
11771.1Stv    esac
11781.1Stv  fi
11791.1Stvelse
11801.39Sfredb  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11811.1Stvecho "$as_me: creating cache $cache_file" >&6;}
11821.1Stv  >$cache_file
11831.1Stvfi
11841.1Stv
11851.1Stv# Check that the precious variables saved in the cache have kept the same
11861.1Stv# value.
11871.1Stvac_cache_corrupted=false
11881.1Stvfor ac_var in `(set) 2>&1 |
11891.1Stv               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
11901.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
11911.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
11921.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
11931.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
11941.1Stv  case $ac_old_set,$ac_new_set in
11951.1Stv    set,)
11961.39Sfredb      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11971.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11981.1Stv      ac_cache_corrupted=: ;;
11991.1Stv    ,set)
12001.39Sfredb      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12011.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12021.1Stv      ac_cache_corrupted=: ;;
12031.1Stv    ,);;
12041.1Stv    *)
12051.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
12061.39Sfredb        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12071.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12081.39Sfredb        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
12091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
12101.39Sfredb        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
12111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
12121.1Stv        ac_cache_corrupted=:
12131.1Stv      fi;;
12141.1Stv  esac
12151.39Sfredb  # Pass precious variables to config.status.
12161.1Stv  if test "$ac_new_set" = set; then
12171.1Stv    case $ac_new_val in
12181.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
12191.39Sfredb      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12201.39Sfredb    *) ac_arg=$ac_var=$ac_new_val ;;
12211.39Sfredb    esac
12221.39Sfredb    case " $ac_configure_args " in
12231.39Sfredb      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
12241.39Sfredb      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
12251.1Stv    esac
12261.1Stv  fi
12271.1Stvdone
12281.1Stvif $ac_cache_corrupted; then
12291.39Sfredb  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12301.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
12311.39Sfredb  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12321.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12331.1Stv   { (exit 1); exit 1; }; }
12341.1Stvfi
12351.1Stv
12361.1Stvac_ext=c
12371.1Stvac_cpp='$CPP $CPPFLAGS'
12381.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12401.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
12411.1Stv
12421.1Stv
12431.1Stv
12441.39Sfredb
12451.39Sfredb
12461.39Sfredb
12471.39Sfredb
12481.39Sfredb
12491.39Sfredb
12501.39Sfredb
12511.39Sfredb
12521.39Sfredb
12531.39Sfredb
12541.39Sfredb
12551.39Sfredb
12561.39Sfredb
12571.39Sfredb
12581.39Sfredb
12591.39Sfredb
12601.39Sfredb
12611.39Sfredb
12621.39Sfredb
12631.39Sfredb
12641.39Sfredb
12651.39Sfredb
12661.39Sfredb
12671.39Sfredb
12681.39Sfredb          ac_config_headers="$ac_config_headers config.h"
12691.39Sfredb
12701.39Sfredb          ac_config_files="$ac_config_files defs.mk"
12711.39Sfredb
12721.1Stv
12731.20Sbjh21# Extract the first word of "sh", so it can be a program name with args.
12741.20Sbjh21set dummy sh; ac_word=$2
12751.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
12761.20Sbjh21echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12771.20Sbjh21if test "${ac_cv_path_BSHELL+set}" = set; then
12781.20Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
12791.20Sbjh21else
12801.20Sbjh21  case $BSHELL in
12811.20Sbjh21  [\\/]* | ?:[\\/]*)
12821.20Sbjh21  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
12831.20Sbjh21  ;;
12841.20Sbjh21  *)
12851.39Sfredb  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12861.39Sfredbfor as_dir in $PATH
12871.39Sfredbdo
12881.39Sfredb  IFS=$as_save_IFS
12891.39Sfredb  test -z "$as_dir" && as_dir=.
12901.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
12911.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12921.39Sfredb    ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
12931.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12941.39Sfredb    break 2
12951.39Sfredb  fi
12961.39Sfredbdone
12971.20Sbjh21done
12981.20Sbjh21
12991.20Sbjh21  ;;
13001.20Sbjh21esac
13011.20Sbjh21fi
13021.20Sbjh21BSHELL=$ac_cv_path_BSHELL
13031.20Sbjh21
13041.20Sbjh21if test -n "$BSHELL"; then
13051.39Sfredb  echo "$as_me:$LINENO: result: $BSHELL" >&5
13061.20Sbjh21echo "${ECHO_T}$BSHELL" >&6
13071.20Sbjh21else
13081.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
13091.20Sbjh21echo "${ECHO_T}no" >&6
13101.20Sbjh21fi
13111.20Sbjh21
13121.20Sbjh21if test x"$BSHELL" = x; then
13131.39Sfredb	{ { echo "$as_me:$LINENO: error: sh must be somewhere on \$PATH" >&5
13141.20Sbjh21echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
13151.20Sbjh21   { (exit 1); exit 1; }; }
13161.20Sbjh21fi
13171.39Sfredbcat >>confdefs.h <<_ACEOF
13181.20Sbjh21#define PATH_BSHELL "$BSHELL"
13191.39Sfredb_ACEOF
13201.39Sfredb
13211.20Sbjh21
13221.1Stvac_ext=c
13231.1Stvac_cpp='$CPP $CPPFLAGS'
13241.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
13271.1Stvif test -n "$ac_tool_prefix"; then
13281.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13291.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
13301.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
13311.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13321.1Stvif test "${ac_cv_prog_CC+set}" = set; then
13331.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
13341.1Stvelse
13351.1Stv  if test -n "$CC"; then
13361.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
13371.1Stvelse
13381.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13391.39Sfredbfor as_dir in $PATH
13401.39Sfredbdo
13411.39Sfredb  IFS=$as_save_IFS
13421.39Sfredb  test -z "$as_dir" && as_dir=.
13431.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
13441.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13451.39Sfredb    ac_cv_prog_CC="${ac_tool_prefix}gcc"
13461.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13471.39Sfredb    break 2
13481.39Sfredb  fi
13491.39Sfredbdone
13501.1Stvdone
13511.1Stv
13521.1Stvfi
13531.1Stvfi
13541.1StvCC=$ac_cv_prog_CC
13551.1Stvif test -n "$CC"; then
13561.39Sfredb  echo "$as_me:$LINENO: result: $CC" >&5
13571.1Stvecho "${ECHO_T}$CC" >&6
13581.1Stvelse
13591.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
13601.1Stvecho "${ECHO_T}no" >&6
13611.1Stvfi
13621.1Stv
13631.1Stvfi
13641.1Stvif test -z "$ac_cv_prog_CC"; then
13651.1Stv  ac_ct_CC=$CC
13661.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
13671.1Stvset dummy gcc; ac_word=$2
13681.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
13691.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13701.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13711.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
13721.1Stvelse
13731.1Stv  if test -n "$ac_ct_CC"; then
13741.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13751.1Stvelse
13761.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13771.39Sfredbfor as_dir in $PATH
13781.39Sfredbdo
13791.39Sfredb  IFS=$as_save_IFS
13801.39Sfredb  test -z "$as_dir" && as_dir=.
13811.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
13821.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13831.39Sfredb    ac_cv_prog_ac_ct_CC="gcc"
13841.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851.39Sfredb    break 2
13861.39Sfredb  fi
13871.39Sfredbdone
13881.1Stvdone
13891.1Stv
13901.1Stvfi
13911.1Stvfi
13921.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
13931.1Stvif test -n "$ac_ct_CC"; then
13941.39Sfredb  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13951.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
13961.1Stvelse
13971.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
13981.1Stvecho "${ECHO_T}no" >&6
13991.1Stvfi
14001.1Stv
14011.1Stv  CC=$ac_ct_CC
14021.1Stvelse
14031.1Stv  CC="$ac_cv_prog_CC"
14041.1Stvfi
14051.1Stv
14061.1Stvif test -z "$CC"; then
14071.1Stv  if test -n "$ac_tool_prefix"; then
14081.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14091.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
14101.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
14111.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14121.1Stvif test "${ac_cv_prog_CC+set}" = set; then
14131.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14141.1Stvelse
14151.1Stv  if test -n "$CC"; then
14161.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
14171.1Stvelse
14181.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14191.39Sfredbfor as_dir in $PATH
14201.39Sfredbdo
14211.39Sfredb  IFS=$as_save_IFS
14221.39Sfredb  test -z "$as_dir" && as_dir=.
14231.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
14241.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14251.39Sfredb    ac_cv_prog_CC="${ac_tool_prefix}cc"
14261.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14271.39Sfredb    break 2
14281.39Sfredb  fi
14291.39Sfredbdone
14301.1Stvdone
14311.1Stv
14321.1Stvfi
14331.1Stvfi
14341.1StvCC=$ac_cv_prog_CC
14351.1Stvif test -n "$CC"; then
14361.39Sfredb  echo "$as_me:$LINENO: result: $CC" >&5
14371.1Stvecho "${ECHO_T}$CC" >&6
14381.1Stvelse
14391.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
14401.1Stvecho "${ECHO_T}no" >&6
14411.1Stvfi
14421.1Stv
14431.1Stvfi
14441.1Stvif test -z "$ac_cv_prog_CC"; then
14451.1Stv  ac_ct_CC=$CC
14461.1Stv  # Extract the first word of "cc", so it can be a program name with args.
14471.1Stvset dummy cc; ac_word=$2
14481.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
14491.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14501.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14511.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14521.1Stvelse
14531.1Stv  if test -n "$ac_ct_CC"; then
14541.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14551.1Stvelse
14561.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14571.39Sfredbfor as_dir in $PATH
14581.39Sfredbdo
14591.39Sfredb  IFS=$as_save_IFS
14601.39Sfredb  test -z "$as_dir" && as_dir=.
14611.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
14621.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14631.39Sfredb    ac_cv_prog_ac_ct_CC="cc"
14641.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14651.39Sfredb    break 2
14661.39Sfredb  fi
14671.39Sfredbdone
14681.1Stvdone
14691.1Stv
14701.1Stvfi
14711.1Stvfi
14721.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
14731.1Stvif test -n "$ac_ct_CC"; then
14741.39Sfredb  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14751.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
14761.1Stvelse
14771.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
14781.1Stvecho "${ECHO_T}no" >&6
14791.1Stvfi
14801.1Stv
14811.1Stv  CC=$ac_ct_CC
14821.1Stvelse
14831.1Stv  CC="$ac_cv_prog_CC"
14841.1Stvfi
14851.1Stv
14861.1Stvfi
14871.1Stvif test -z "$CC"; then
14881.1Stv  # Extract the first word of "cc", so it can be a program name with args.
14891.1Stvset dummy cc; ac_word=$2
14901.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
14911.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14921.1Stvif test "${ac_cv_prog_CC+set}" = set; then
14931.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14941.1Stvelse
14951.1Stv  if test -n "$CC"; then
14961.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
14971.1Stvelse
14981.1Stv  ac_prog_rejected=no
14991.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15001.39Sfredbfor as_dir in $PATH
15011.39Sfredbdo
15021.39Sfredb  IFS=$as_save_IFS
15031.39Sfredb  test -z "$as_dir" && as_dir=.
15041.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
15051.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15061.39Sfredb    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15071.39Sfredb       ac_prog_rejected=yes
15081.39Sfredb       continue
15091.39Sfredb     fi
15101.39Sfredb    ac_cv_prog_CC="cc"
15111.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15121.39Sfredb    break 2
15131.39Sfredb  fi
15141.39Sfredbdone
15151.1Stvdone
15161.1Stv
15171.1Stvif test $ac_prog_rejected = yes; then
15181.1Stv  # We found a bogon in the path, so make sure we never use it.
15191.1Stv  set dummy $ac_cv_prog_CC
15201.1Stv  shift
15211.1Stv  if test $# != 0; then
15221.1Stv    # We chose a different compiler from the bogus one.
15231.1Stv    # However, it has the same basename, so the bogon will be chosen
15241.1Stv    # first if we set CC to just the basename; use the full file name.
15251.1Stv    shift
15261.39Sfredb    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15271.1Stv  fi
15281.1Stvfi
15291.1Stvfi
15301.1Stvfi
15311.1StvCC=$ac_cv_prog_CC
15321.1Stvif test -n "$CC"; then
15331.39Sfredb  echo "$as_me:$LINENO: result: $CC" >&5
15341.1Stvecho "${ECHO_T}$CC" >&6
15351.1Stvelse
15361.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
15371.1Stvecho "${ECHO_T}no" >&6
15381.1Stvfi
15391.1Stv
15401.1Stvfi
15411.1Stvif test -z "$CC"; then
15421.1Stv  if test -n "$ac_tool_prefix"; then
15431.1Stv  for ac_prog in cl
15441.1Stv  do
15451.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15461.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
15471.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
15481.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15491.1Stvif test "${ac_cv_prog_CC+set}" = set; then
15501.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15511.1Stvelse
15521.1Stv  if test -n "$CC"; then
15531.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
15541.1Stvelse
15551.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561.39Sfredbfor as_dir in $PATH
15571.39Sfredbdo
15581.39Sfredb  IFS=$as_save_IFS
15591.39Sfredb  test -z "$as_dir" && as_dir=.
15601.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
15611.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15621.39Sfredb    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15631.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15641.39Sfredb    break 2
15651.39Sfredb  fi
15661.39Sfredbdone
15671.1Stvdone
15681.1Stv
15691.1Stvfi
15701.1Stvfi
15711.1StvCC=$ac_cv_prog_CC
15721.1Stvif test -n "$CC"; then
15731.39Sfredb  echo "$as_me:$LINENO: result: $CC" >&5
15741.1Stvecho "${ECHO_T}$CC" >&6
15751.1Stvelse
15761.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
15771.1Stvecho "${ECHO_T}no" >&6
15781.1Stvfi
15791.1Stv
15801.1Stv    test -n "$CC" && break
15811.1Stv  done
15821.1Stvfi
15831.1Stvif test -z "$CC"; then
15841.1Stv  ac_ct_CC=$CC
15851.1Stv  for ac_prog in cl
15861.1Stvdo
15871.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
15881.1Stvset dummy $ac_prog; ac_word=$2
15891.39Sfredbecho "$as_me:$LINENO: checking for $ac_word" >&5
15901.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15911.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15921.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15931.1Stvelse
15941.1Stv  if test -n "$ac_ct_CC"; then
15951.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15961.1Stvelse
15971.39Sfredbas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15981.39Sfredbfor as_dir in $PATH
15991.39Sfredbdo
16001.39Sfredb  IFS=$as_save_IFS
16011.39Sfredb  test -z "$as_dir" && as_dir=.
16021.39Sfredb  for ac_exec_ext in '' $ac_executable_extensions; do
16031.39Sfredb  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16041.39Sfredb    ac_cv_prog_ac_ct_CC="$ac_prog"
16051.39Sfredb    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16061.39Sfredb    break 2
16071.39Sfredb  fi
16081.39Sfredbdone
16091.1Stvdone
16101.1Stv
16111.1Stvfi
16121.1Stvfi
16131.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
16141.1Stvif test -n "$ac_ct_CC"; then
16151.39Sfredb  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16161.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
16171.1Stvelse
16181.39Sfredb  echo "$as_me:$LINENO: result: no" >&5
16191.1Stvecho "${ECHO_T}no" >&6
16201.1Stvfi
16211.1Stv
16221.1Stv  test -n "$ac_ct_CC" && break
16231.1Stvdone
16241.1Stv
16251.1Stv  CC=$ac_ct_CC
16261.1Stvfi
16271.1Stv
16281.1Stvfi
16291.1Stv
16301.39Sfredb
16311.39Sfredbtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16321.39SfredbSee \`config.log' for more details." >&5
16331.39Sfredbecho "$as_me: error: no acceptable C compiler found in \$PATH
16341.39SfredbSee \`config.log' for more details." >&2;}
16351.1Stv   { (exit 1); exit 1; }; }
16361.1Stv
16371.1Stv# Provide some information about the compiler.
16381.39Sfredbecho "$as_me:$LINENO:" \
16391.1Stv     "checking for C compiler version" >&5
16401.1Stvac_compiler=`set X $ac_compile; echo $2`
16411.39Sfredb{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16421.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
16431.1Stv  ac_status=$?
16441.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451.1Stv  (exit $ac_status); }
16461.39Sfredb{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16471.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
16481.1Stv  ac_status=$?
16491.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501.1Stv  (exit $ac_status); }
16511.39Sfredb{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16521.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
16531.1Stv  ac_status=$?
16541.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551.1Stv  (exit $ac_status); }
16561.1Stv
16571.1Stvcat >conftest.$ac_ext <<_ACEOF
16581.39Sfredb#line $LINENO "configure"
16591.39Sfredb/* confdefs.h.  */
16601.39Sfredb_ACEOF
16611.39Sfredbcat confdefs.h >>conftest.$ac_ext
16621.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
16631.39Sfredb/* end confdefs.h.  */
16641.1Stv
16651.1Stvint
16661.1Stvmain ()
16671.1Stv{
16681.1Stv
16691.1Stv  ;
16701.1Stv  return 0;
16711.1Stv}
16721.1Stv_ACEOF
16731.1Stvac_clean_files_save=$ac_clean_files
16741.39Sfredbac_clean_files="$ac_clean_files a.out a.exe b.out"
16751.1Stv# Try to create an executable without -o first, disregard a.out.
16761.1Stv# It will help us diagnose broken compilers, and finding out an intuition
16771.1Stv# of exeext.
16781.39Sfredbecho "$as_me:$LINENO: checking for C compiler default output" >&5
16791.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
16801.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16811.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
16821.1Stv  (eval $ac_link_default) 2>&5
16831.1Stv  ac_status=$?
16841.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851.1Stv  (exit $ac_status); }; then
16861.1Stv  # Find the output, starting from the most likely.  This scheme is
16871.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
16881.1Stv# resort.
16891.39Sfredb
16901.39Sfredb# Be careful to initialize this variable, since it used to be cached.
16911.39Sfredb# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
16921.39Sfredbac_cv_exeext=
16931.39Sfredb# b.out is created by i960 compilers.
16941.39Sfredbfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
16951.39Sfredbdo
16961.39Sfredb  test -f "$ac_file" || continue
16971.1Stv  case $ac_file in
16981.39Sfredb    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
16991.39Sfredb        ;;
17001.39Sfredb    conftest.$ac_ext )
17011.39Sfredb        # This is the source file.
17021.39Sfredb        ;;
17031.39Sfredb    [ab].out )
17041.39Sfredb        # We found the default executable, but exeext='' is most
17051.39Sfredb        # certainly right.
17061.39Sfredb        break;;
17071.39Sfredb    *.* )
17081.39Sfredb        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17091.39Sfredb        # FIXME: I believe we export ac_cv_exeext for Libtool,
17101.39Sfredb        # but it would be cool to find out if it's true.  Does anybody
17111.39Sfredb        # maintain Libtool? --akim.
17121.39Sfredb        export ac_cv_exeext
17131.39Sfredb        break;;
17141.39Sfredb    * )
17151.39Sfredb        break;;
17161.1Stv  esac
17171.1Stvdone
17181.1Stvelse
17191.1Stv  echo "$as_me: failed program was:" >&5
17201.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
17211.39Sfredb
17221.39Sfredb{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
17231.39SfredbSee \`config.log' for more details." >&5
17241.39Sfredbecho "$as_me: error: C compiler cannot create executables
17251.39SfredbSee \`config.log' for more details." >&2;}
17261.1Stv   { (exit 77); exit 77; }; }
17271.1Stvfi
17281.1Stv
17291.1Stvac_exeext=$ac_cv_exeext
17301.39Sfredbecho "$as_me:$LINENO: result: $ac_file" >&5
17311.1Stvecho "${ECHO_T}$ac_file" >&6
17321.1Stv
17331.1Stv# Check the compiler produces executables we can run.  If not, either
17341.1Stv# the compiler is broken, or we cross compile.
17351.39Sfredbecho "$as_me:$LINENO: checking whether the C compiler works" >&5
17361.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
17371.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17381.1Stv# If not cross compiling, check that we can run a simple program.
17391.1Stvif test "$cross_compiling" != yes; then
17401.1Stv  if { ac_try='./$ac_file'
17411.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421.1Stv  (eval $ac_try) 2>&5
17431.1Stv  ac_status=$?
17441.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451.1Stv  (exit $ac_status); }; }; then
17461.1Stv    cross_compiling=no
17471.1Stv  else
17481.1Stv    if test "$cross_compiling" = maybe; then
17491.1Stv	cross_compiling=yes
17501.1Stv    else
17511.39Sfredb	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17521.39SfredbIf you meant to cross compile, use \`--host'.
17531.39SfredbSee \`config.log' for more details." >&5
17541.1Stvecho "$as_me: error: cannot run C compiled programs.
17551.39SfredbIf you meant to cross compile, use \`--host'.
17561.39SfredbSee \`config.log' for more details." >&2;}
17571.1Stv   { (exit 1); exit 1; }; }
17581.1Stv    fi
17591.1Stv  fi
17601.1Stvfi
17611.39Sfredbecho "$as_me:$LINENO: result: yes" >&5
17621.1Stvecho "${ECHO_T}yes" >&6
17631.1Stv
17641.39Sfredbrm -f a.out a.exe conftest$ac_cv_exeext b.out
17651.1Stvac_clean_files=$ac_clean_files_save
17661.1Stv# Check the compiler produces executables we can run.  If not, either
17671.1Stv# the compiler is broken, or we cross compile.
17681.39Sfredbecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
17691.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
17701.39Sfredbecho "$as_me:$LINENO: result: $cross_compiling" >&5
17711.1Stvecho "${ECHO_T}$cross_compiling" >&6
17721.1Stv
17731.39Sfredbecho "$as_me:$LINENO: checking for suffix of executables" >&5
17741.39Sfredbecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
17751.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17761.1Stv  (eval $ac_link) 2>&5
17771.1Stv  ac_status=$?
17781.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791.1Stv  (exit $ac_status); }; then
17801.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
17811.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
17821.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
17831.1Stv# `rm'.
17841.39Sfredbfor ac_file in conftest.exe conftest conftest.*; do
17851.39Sfredb  test -f "$ac_file" || continue
17861.1Stv  case $ac_file in
17871.39Sfredb    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
17881.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17891.1Stv          export ac_cv_exeext
17901.1Stv          break;;
17911.1Stv    * ) break;;
17921.1Stv  esac
17931.1Stvdone
17941.1Stvelse
17951.39Sfredb  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17961.39SfredbSee \`config.log' for more details." >&5
17971.39Sfredbecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
17981.39SfredbSee \`config.log' for more details." >&2;}
17991.1Stv   { (exit 1); exit 1; }; }
18001.1Stvfi
18011.1Stv
18021.1Stvrm -f conftest$ac_cv_exeext
18031.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
18041.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
18051.1Stv
18061.1Stvrm -f conftest.$ac_ext
18071.1StvEXEEXT=$ac_cv_exeext
18081.1Stvac_exeext=$EXEEXT
18091.39Sfredbecho "$as_me:$LINENO: checking for suffix of object files" >&5
18101.39Sfredbecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
18111.1Stvif test "${ac_cv_objext+set}" = set; then
18121.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18131.1Stvelse
18141.1Stv  cat >conftest.$ac_ext <<_ACEOF
18151.39Sfredb#line $LINENO "configure"
18161.39Sfredb/* confdefs.h.  */
18171.39Sfredb_ACEOF
18181.39Sfredbcat confdefs.h >>conftest.$ac_ext
18191.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
18201.39Sfredb/* end confdefs.h.  */
18211.1Stv
18221.1Stvint
18231.1Stvmain ()
18241.1Stv{
18251.1Stv
18261.1Stv  ;
18271.1Stv  return 0;
18281.1Stv}
18291.1Stv_ACEOF
18301.1Stvrm -f conftest.o conftest.obj
18311.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321.1Stv  (eval $ac_compile) 2>&5
18331.1Stv  ac_status=$?
18341.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351.1Stv  (exit $ac_status); }; then
18361.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
18371.1Stv  case $ac_file in
18381.39Sfredb    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
18391.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
18401.1Stv       break;;
18411.1Stv  esac
18421.1Stvdone
18431.1Stvelse
18441.1Stv  echo "$as_me: failed program was:" >&5
18451.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
18461.39Sfredb
18471.39Sfredb{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
18481.39SfredbSee \`config.log' for more details." >&5
18491.39Sfredbecho "$as_me: error: cannot compute suffix of object files: cannot compile
18501.39SfredbSee \`config.log' for more details." >&2;}
18511.1Stv   { (exit 1); exit 1; }; }
18521.1Stvfi
18531.1Stv
18541.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
18551.1Stvfi
18561.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
18571.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
18581.1StvOBJEXT=$ac_cv_objext
18591.1Stvac_objext=$OBJEXT
18601.39Sfredbecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18611.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
18621.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
18631.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18641.1Stvelse
18651.1Stv  cat >conftest.$ac_ext <<_ACEOF
18661.39Sfredb#line $LINENO "configure"
18671.39Sfredb/* confdefs.h.  */
18681.39Sfredb_ACEOF
18691.39Sfredbcat confdefs.h >>conftest.$ac_ext
18701.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
18711.39Sfredb/* end confdefs.h.  */
18721.1Stv
18731.1Stvint
18741.1Stvmain ()
18751.1Stv{
18761.1Stv#ifndef __GNUC__
18771.1Stv       choke me
18781.1Stv#endif
18791.1Stv
18801.1Stv  ;
18811.1Stv  return 0;
18821.1Stv}
18831.1Stv_ACEOF
18841.1Stvrm -f conftest.$ac_objext
18851.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18861.1Stv  (eval $ac_compile) 2>&5
18871.1Stv  ac_status=$?
18881.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891.1Stv  (exit $ac_status); } &&
18901.1Stv         { ac_try='test -s conftest.$ac_objext'
18911.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921.1Stv  (eval $ac_try) 2>&5
18931.1Stv  ac_status=$?
18941.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951.1Stv  (exit $ac_status); }; }; then
18961.1Stv  ac_compiler_gnu=yes
18971.1Stvelse
18981.1Stv  echo "$as_me: failed program was:" >&5
18991.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
19001.39Sfredb
19011.1Stvac_compiler_gnu=no
19021.1Stvfi
19031.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
19041.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
19051.1Stv
19061.1Stvfi
19071.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19081.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
19091.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
19101.1Stvac_test_CFLAGS=${CFLAGS+set}
19111.1Stvac_save_CFLAGS=$CFLAGS
19121.1StvCFLAGS="-g"
19131.39Sfredbecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19141.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
19151.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
19161.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
19171.1Stvelse
19181.1Stv  cat >conftest.$ac_ext <<_ACEOF
19191.39Sfredb#line $LINENO "configure"
19201.39Sfredb/* confdefs.h.  */
19211.39Sfredb_ACEOF
19221.39Sfredbcat confdefs.h >>conftest.$ac_ext
19231.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
19241.39Sfredb/* end confdefs.h.  */
19251.1Stv
19261.1Stvint
19271.1Stvmain ()
19281.1Stv{
19291.1Stv
19301.1Stv  ;
19311.1Stv  return 0;
19321.1Stv}
19331.1Stv_ACEOF
19341.1Stvrm -f conftest.$ac_objext
19351.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361.1Stv  (eval $ac_compile) 2>&5
19371.1Stv  ac_status=$?
19381.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391.1Stv  (exit $ac_status); } &&
19401.1Stv         { ac_try='test -s conftest.$ac_objext'
19411.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421.1Stv  (eval $ac_try) 2>&5
19431.1Stv  ac_status=$?
19441.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451.1Stv  (exit $ac_status); }; }; then
19461.1Stv  ac_cv_prog_cc_g=yes
19471.1Stvelse
19481.1Stv  echo "$as_me: failed program was:" >&5
19491.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
19501.39Sfredb
19511.1Stvac_cv_prog_cc_g=no
19521.1Stvfi
19531.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
19541.1Stvfi
19551.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19561.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
19571.1Stvif test "$ac_test_CFLAGS" = set; then
19581.1Stv  CFLAGS=$ac_save_CFLAGS
19591.1Stvelif test $ac_cv_prog_cc_g = yes; then
19601.1Stv  if test "$GCC" = yes; then
19611.1Stv    CFLAGS="-g -O2"
19621.1Stv  else
19631.1Stv    CFLAGS="-g"
19641.1Stv  fi
19651.1Stvelse
19661.1Stv  if test "$GCC" = yes; then
19671.1Stv    CFLAGS="-O2"
19681.1Stv  else
19691.1Stv    CFLAGS=
19701.1Stv  fi
19711.1Stvfi
19721.39Sfredbecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19731.39Sfredbecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19741.39Sfredbif test "${ac_cv_prog_cc_stdc+set}" = set; then
19751.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
19761.39Sfredbelse
19771.39Sfredb  ac_cv_prog_cc_stdc=no
19781.39Sfredbac_save_CC=$CC
19791.39Sfredbcat >conftest.$ac_ext <<_ACEOF
19801.39Sfredb#line $LINENO "configure"
19811.39Sfredb/* confdefs.h.  */
19821.39Sfredb_ACEOF
19831.39Sfredbcat confdefs.h >>conftest.$ac_ext
19841.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
19851.39Sfredb/* end confdefs.h.  */
19861.39Sfredb#include <stdarg.h>
19871.39Sfredb#include <stdio.h>
19881.39Sfredb#include <sys/types.h>
19891.39Sfredb#include <sys/stat.h>
19901.39Sfredb/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19911.39Sfredbstruct buf { int x; };
19921.39SfredbFILE * (*rcsopen) (struct buf *, struct stat *, int);
19931.39Sfredbstatic char *e (p, i)
19941.39Sfredb     char **p;
19951.39Sfredb     int i;
19961.39Sfredb{
19971.39Sfredb  return p[i];
19981.39Sfredb}
19991.39Sfredbstatic char *f (char * (*g) (char **, int), char **p, ...)
20001.39Sfredb{
20011.39Sfredb  char *s;
20021.39Sfredb  va_list v;
20031.39Sfredb  va_start (v,p);
20041.39Sfredb  s = g (p, va_arg (v,int));
20051.39Sfredb  va_end (v);
20061.39Sfredb  return s;
20071.39Sfredb}
20081.39Sfredbint test (int i, double x);
20091.39Sfredbstruct s1 {int (*f) (int a);};
20101.39Sfredbstruct s2 {int (*f) (double a);};
20111.39Sfredbint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20121.39Sfredbint argc;
20131.39Sfredbchar **argv;
20141.39Sfredbint
20151.39Sfredbmain ()
20161.39Sfredb{
20171.39Sfredbreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
20181.39Sfredb  ;
20191.39Sfredb  return 0;
20201.39Sfredb}
20211.39Sfredb_ACEOF
20221.39Sfredb# Don't try gcc -ansi; that turns off useful extensions and
20231.39Sfredb# breaks some systems' header files.
20241.39Sfredb# AIX			-qlanglvl=ansi
20251.39Sfredb# Ultrix and OSF/1	-std1
20261.39Sfredb# HP-UX 10.20 and later	-Ae
20271.39Sfredb# HP-UX older versions	-Aa -D_HPUX_SOURCE
20281.39Sfredb# SVR4			-Xc -D__EXTENSIONS__
20291.39Sfredbfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20301.39Sfredbdo
20311.39Sfredb  CC="$ac_save_CC $ac_arg"
20321.39Sfredb  rm -f conftest.$ac_objext
20331.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20341.39Sfredb  (eval $ac_compile) 2>&5
20351.39Sfredb  ac_status=$?
20361.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371.39Sfredb  (exit $ac_status); } &&
20381.39Sfredb         { ac_try='test -s conftest.$ac_objext'
20391.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401.39Sfredb  (eval $ac_try) 2>&5
20411.39Sfredb  ac_status=$?
20421.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431.39Sfredb  (exit $ac_status); }; }; then
20441.39Sfredb  ac_cv_prog_cc_stdc=$ac_arg
20451.39Sfredbbreak
20461.39Sfredbelse
20471.39Sfredb  echo "$as_me: failed program was:" >&5
20481.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
20491.39Sfredb
20501.39Sfredbfi
20511.39Sfredbrm -f conftest.$ac_objext
20521.39Sfredbdone
20531.39Sfredbrm -f conftest.$ac_ext conftest.$ac_objext
20541.39SfredbCC=$ac_save_CC
20551.39Sfredb
20561.39Sfredbfi
20571.39Sfredb
20581.39Sfredbcase "x$ac_cv_prog_cc_stdc" in
20591.39Sfredb  x|xno)
20601.39Sfredb    echo "$as_me:$LINENO: result: none needed" >&5
20611.39Sfredbecho "${ECHO_T}none needed" >&6 ;;
20621.39Sfredb  *)
20631.39Sfredb    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
20641.39Sfredbecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
20651.39Sfredb    CC="$CC $ac_cv_prog_cc_stdc" ;;
20661.39Sfredbesac
20671.39Sfredb
20681.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
20691.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
20701.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
20711.1Stv# the declaration of exit, since it's the most demanding environment.
20721.1Stvcat >conftest.$ac_ext <<_ACEOF
20731.1Stv#ifndef __cplusplus
20741.1Stv  choke me
20751.1Stv#endif
20761.1Stv_ACEOF
20771.1Stvrm -f conftest.$ac_objext
20781.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791.1Stv  (eval $ac_compile) 2>&5
20801.1Stv  ac_status=$?
20811.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821.1Stv  (exit $ac_status); } &&
20831.1Stv         { ac_try='test -s conftest.$ac_objext'
20841.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851.1Stv  (eval $ac_try) 2>&5
20861.1Stv  ac_status=$?
20871.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881.1Stv  (exit $ac_status); }; }; then
20891.1Stv  for ac_declaration in \
20901.1Stv   ''\
20911.1Stv   '#include <stdlib.h>' \
20921.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
20931.1Stv   'extern "C" void std::exit (int); using std::exit;' \
20941.1Stv   'extern "C" void exit (int) throw ();' \
20951.1Stv   'extern "C" void exit (int);' \
20961.1Stv   'void exit (int);'
20971.1Stvdo
20981.1Stv  cat >conftest.$ac_ext <<_ACEOF
20991.39Sfredb#line $LINENO "configure"
21001.39Sfredb/* confdefs.h.  */
21011.39Sfredb_ACEOF
21021.39Sfredbcat confdefs.h >>conftest.$ac_ext
21031.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
21041.39Sfredb/* end confdefs.h.  */
21051.1Stv#include <stdlib.h>
21061.1Stv$ac_declaration
21071.1Stvint
21081.1Stvmain ()
21091.1Stv{
21101.1Stvexit (42);
21111.1Stv  ;
21121.1Stv  return 0;
21131.1Stv}
21141.1Stv_ACEOF
21151.1Stvrm -f conftest.$ac_objext
21161.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21171.1Stv  (eval $ac_compile) 2>&5
21181.1Stv  ac_status=$?
21191.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201.1Stv  (exit $ac_status); } &&
21211.1Stv         { ac_try='test -s conftest.$ac_objext'
21221.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231.1Stv  (eval $ac_try) 2>&5
21241.1Stv  ac_status=$?
21251.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261.1Stv  (exit $ac_status); }; }; then
21271.1Stv  :
21281.1Stvelse
21291.1Stv  echo "$as_me: failed program was:" >&5
21301.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
21311.39Sfredb
21321.1Stvcontinue
21331.1Stvfi
21341.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
21351.1Stv  cat >conftest.$ac_ext <<_ACEOF
21361.39Sfredb#line $LINENO "configure"
21371.39Sfredb/* confdefs.h.  */
21381.39Sfredb_ACEOF
21391.39Sfredbcat confdefs.h >>conftest.$ac_ext
21401.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
21411.39Sfredb/* end confdefs.h.  */
21421.1Stv$ac_declaration
21431.1Stvint
21441.1Stvmain ()
21451.1Stv{
21461.1Stvexit (42);
21471.1Stv  ;
21481.1Stv  return 0;
21491.1Stv}
21501.1Stv_ACEOF
21511.1Stvrm -f conftest.$ac_objext
21521.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21531.1Stv  (eval $ac_compile) 2>&5
21541.1Stv  ac_status=$?
21551.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561.1Stv  (exit $ac_status); } &&
21571.1Stv         { ac_try='test -s conftest.$ac_objext'
21581.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591.1Stv  (eval $ac_try) 2>&5
21601.1Stv  ac_status=$?
21611.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621.1Stv  (exit $ac_status); }; }; then
21631.1Stv  break
21641.1Stvelse
21651.1Stv  echo "$as_me: failed program was:" >&5
21661.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
21671.39Sfredb
21681.1Stvfi
21691.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
21701.1Stvdone
21711.1Stvrm -f conftest*
21721.1Stvif test -n "$ac_declaration"; then
21731.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
21741.1Stv  echo $ac_declaration      >>confdefs.h
21751.1Stv  echo '#endif'             >>confdefs.h
21761.1Stvfi
21771.1Stv
21781.1Stvelse
21791.1Stv  echo "$as_me: failed program was:" >&5
21801.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
21811.39Sfredb
21821.1Stvfi
21831.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
21841.1Stvac_ext=c
21851.1Stvac_cpp='$CPP $CPPFLAGS'
21861.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21871.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
21891.1Stv
21901.39Sfredb
21911.39Sfredbecho "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21921.4Stvecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21931.4Stvif test "${ac_cv_c_bigendian+set}" = set; then
21941.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21951.4Stvelse
21961.39Sfredb  # See if sys/param.h defines the BYTE_ORDER macro.
21971.4Stvcat >conftest.$ac_ext <<_ACEOF
21981.39Sfredb#line $LINENO "configure"
21991.39Sfredb/* confdefs.h.  */
22001.39Sfredb_ACEOF
22011.39Sfredbcat confdefs.h >>conftest.$ac_ext
22021.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
22031.39Sfredb/* end confdefs.h.  */
22041.4Stv#include <sys/types.h>
22051.4Stv#include <sys/param.h>
22061.4Stv
22071.4Stvint
22081.4Stvmain ()
22091.4Stv{
22101.4Stv#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22111.4Stv bogus endian macros
22121.4Stv#endif
22131.4Stv
22141.4Stv  ;
22151.4Stv  return 0;
22161.4Stv}
22171.4Stv_ACEOF
22181.4Stvrm -f conftest.$ac_objext
22191.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22201.4Stv  (eval $ac_compile) 2>&5
22211.4Stv  ac_status=$?
22221.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231.4Stv  (exit $ac_status); } &&
22241.4Stv         { ac_try='test -s conftest.$ac_objext'
22251.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261.4Stv  (eval $ac_try) 2>&5
22271.4Stv  ac_status=$?
22281.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291.4Stv  (exit $ac_status); }; }; then
22301.4Stv  # It does; now see whether it defined to BIG_ENDIAN or not.
22311.4Stvcat >conftest.$ac_ext <<_ACEOF
22321.39Sfredb#line $LINENO "configure"
22331.39Sfredb/* confdefs.h.  */
22341.39Sfredb_ACEOF
22351.39Sfredbcat confdefs.h >>conftest.$ac_ext
22361.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
22371.39Sfredb/* end confdefs.h.  */
22381.4Stv#include <sys/types.h>
22391.4Stv#include <sys/param.h>
22401.4Stv
22411.4Stvint
22421.4Stvmain ()
22431.4Stv{
22441.4Stv#if BYTE_ORDER != BIG_ENDIAN
22451.4Stv not big endian
22461.4Stv#endif
22471.4Stv
22481.4Stv  ;
22491.4Stv  return 0;
22501.4Stv}
22511.4Stv_ACEOF
22521.4Stvrm -f conftest.$ac_objext
22531.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22541.4Stv  (eval $ac_compile) 2>&5
22551.4Stv  ac_status=$?
22561.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571.4Stv  (exit $ac_status); } &&
22581.4Stv         { ac_try='test -s conftest.$ac_objext'
22591.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601.4Stv  (eval $ac_try) 2>&5
22611.4Stv  ac_status=$?
22621.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631.4Stv  (exit $ac_status); }; }; then
22641.4Stv  ac_cv_c_bigendian=yes
22651.4Stvelse
22661.4Stv  echo "$as_me: failed program was:" >&5
22671.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
22681.39Sfredb
22691.4Stvac_cv_c_bigendian=no
22701.4Stvfi
22711.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
22721.4Stvelse
22731.4Stv  echo "$as_me: failed program was:" >&5
22741.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
22751.39Sfredb
22761.39Sfredb# It does not; compile a test program.
22771.39Sfredbif test "$cross_compiling" = yes; then
22781.39Sfredb  # try to guess the endianness by grepping values into an object file
22791.39Sfredb  ac_cv_c_bigendian=unknown
22801.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
22811.39Sfredb#line $LINENO "configure"
22821.39Sfredb/* confdefs.h.  */
22831.39Sfredb_ACEOF
22841.39Sfredbcat confdefs.h >>conftest.$ac_ext
22851.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
22861.39Sfredb/* end confdefs.h.  */
22871.39Sfredbshort ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22881.39Sfredbshort ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22891.39Sfredbvoid _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22901.39Sfredbshort ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22911.39Sfredbshort ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22921.39Sfredbvoid _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22931.39Sfredbint
22941.39Sfredbmain ()
22951.39Sfredb{
22961.39Sfredb _ascii (); _ebcdic ();
22971.39Sfredb  ;
22981.39Sfredb  return 0;
22991.39Sfredb}
23001.39Sfredb_ACEOF
23011.39Sfredbrm -f conftest.$ac_objext
23021.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23031.39Sfredb  (eval $ac_compile) 2>&5
23041.39Sfredb  ac_status=$?
23051.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061.39Sfredb  (exit $ac_status); } &&
23071.39Sfredb         { ac_try='test -s conftest.$ac_objext'
23081.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091.39Sfredb  (eval $ac_try) 2>&5
23101.39Sfredb  ac_status=$?
23111.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121.39Sfredb  (exit $ac_status); }; }; then
23131.39Sfredb  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
23141.39Sfredb  ac_cv_c_bigendian=yes
23151.39Sfredbfi
23161.39Sfredbif grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
23171.39Sfredb  if test "$ac_cv_c_bigendian" = unknown; then
23181.39Sfredb    ac_cv_c_bigendian=no
23191.39Sfredb  else
23201.39Sfredb    # finding both strings is unlikely to happen, but who knows?
23211.39Sfredb    ac_cv_c_bigendian=unknown
23221.39Sfredb  fi
23231.39Sfredbfi
23241.39Sfredbelse
23251.39Sfredb  echo "$as_me: failed program was:" >&5
23261.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
23271.39Sfredb
23281.4Stvfi
23291.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
23301.4Stvelse
23311.4Stv  cat >conftest.$ac_ext <<_ACEOF
23321.39Sfredb#line $LINENO "configure"
23331.39Sfredb/* confdefs.h.  */
23341.39Sfredb_ACEOF
23351.39Sfredbcat confdefs.h >>conftest.$ac_ext
23361.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
23371.39Sfredb/* end confdefs.h.  */
23381.4Stvint
23391.4Stvmain ()
23401.4Stv{
23411.4Stv  /* Are we little or big endian?  From Harbison&Steele.  */
23421.4Stv  union
23431.4Stv  {
23441.4Stv    long l;
23451.4Stv    char c[sizeof (long)];
23461.4Stv  } u;
23471.4Stv  u.l = 1;
23481.4Stv  exit (u.c[sizeof (long) - 1] == 1);
23491.4Stv}
23501.4Stv_ACEOF
23511.4Stvrm -f conftest$ac_exeext
23521.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531.4Stv  (eval $ac_link) 2>&5
23541.4Stv  ac_status=$?
23551.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561.4Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23571.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581.4Stv  (eval $ac_try) 2>&5
23591.4Stv  ac_status=$?
23601.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611.4Stv  (exit $ac_status); }; }; then
23621.4Stv  ac_cv_c_bigendian=no
23631.4Stvelse
23641.4Stv  echo "$as_me: program exited with status $ac_status" >&5
23651.4Stvecho "$as_me: failed program was:" >&5
23661.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
23671.39Sfredb
23681.39Sfredb( exit $ac_status )
23691.4Stvac_cv_c_bigendian=yes
23701.4Stvfi
23711.39Sfredbrm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23721.4Stvfi
23731.4Stvfi
23741.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
23751.4Stvfi
23761.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23771.4Stvecho "${ECHO_T}$ac_cv_c_bigendian" >&6
23781.39Sfredbcase $ac_cv_c_bigendian in
23791.39Sfredb  yes)
23801.4Stv
23811.39Sfredbcat >>confdefs.h <<\_ACEOF
23821.4Stv#define WORDS_BIGENDIAN 1
23831.39Sfredb_ACEOF
23841.39Sfredb ;;
23851.39Sfredb  no)
23861.39Sfredb     ;;
23871.39Sfredb  *)
23881.39Sfredb    { { echo "$as_me:$LINENO: error: unknown endianness
23891.39Sfredbpresetting ac_cv_c_bigendian=no (or yes) will help" >&5
23901.39Sfredbecho "$as_me: error: unknown endianness
23911.39Sfredbpresetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
23921.39Sfredb   { (exit 1); exit 1; }; } ;;
23931.39Sfredbesac
23941.4Stv
23951.1Stvac_ext=c
23961.1Stvac_cpp='$CPP $CPPFLAGS'
23971.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
24001.39Sfredbecho "$as_me:$LINENO: checking how to run the C preprocessor" >&5
24011.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
24021.1Stv# On Suns, sometimes $CPP names a directory.
24031.1Stvif test -n "$CPP" && test -d "$CPP"; then
24041.1Stv  CPP=
24051.1Stvfi
24061.1Stvif test -z "$CPP"; then
24071.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
24081.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24091.1Stvelse
24101.1Stv      # Double quotes because CPP needs to be expanded
24111.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
24121.1Stv    do
24131.1Stv      ac_preproc_ok=false
24141.1Stvfor ac_c_preproc_warn_flag in '' yes
24151.1Stvdo
24161.1Stv  # Use a header file that comes with gcc, so configuring glibc
24171.1Stv  # with a fresh cross-compiler works.
24181.39Sfredb  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24191.39Sfredb  # <limits.h> exists even on freestanding compilers.
24201.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
24211.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
24221.1Stv  cat >conftest.$ac_ext <<_ACEOF
24231.39Sfredb#line $LINENO "configure"
24241.39Sfredb/* confdefs.h.  */
24251.39Sfredb_ACEOF
24261.39Sfredbcat confdefs.h >>conftest.$ac_ext
24271.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
24281.39Sfredb/* end confdefs.h.  */
24291.39Sfredb#ifdef __STDC__
24301.39Sfredb# include <limits.h>
24311.39Sfredb#else
24321.39Sfredb# include <assert.h>
24331.39Sfredb#endif
24341.1Stv                     Syntax error
24351.1Stv_ACEOF
24361.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24371.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24381.1Stv  ac_status=$?
24391.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
24401.1Stv  rm -f conftest.er1
24411.1Stv  cat conftest.err >&5
24421.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431.1Stv  (exit $ac_status); } >/dev/null; then
24441.1Stv  if test -s conftest.err; then
24451.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
24461.1Stv  else
24471.1Stv    ac_cpp_err=
24481.1Stv  fi
24491.1Stvelse
24501.1Stv  ac_cpp_err=yes
24511.1Stvfi
24521.1Stvif test -z "$ac_cpp_err"; then
24531.1Stv  :
24541.1Stvelse
24551.1Stv  echo "$as_me: failed program was:" >&5
24561.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
24571.39Sfredb
24581.1Stv  # Broken: fails on valid input.
24591.1Stvcontinue
24601.1Stvfi
24611.1Stvrm -f conftest.err conftest.$ac_ext
24621.1Stv
24631.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
24641.1Stv  # can be detected and how.
24651.1Stv  cat >conftest.$ac_ext <<_ACEOF
24661.39Sfredb#line $LINENO "configure"
24671.39Sfredb/* confdefs.h.  */
24681.39Sfredb_ACEOF
24691.39Sfredbcat confdefs.h >>conftest.$ac_ext
24701.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
24711.39Sfredb/* end confdefs.h.  */
24721.1Stv#include <ac_nonexistent.h>
24731.1Stv_ACEOF
24741.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24751.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24761.1Stv  ac_status=$?
24771.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
24781.1Stv  rm -f conftest.er1
24791.1Stv  cat conftest.err >&5
24801.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811.1Stv  (exit $ac_status); } >/dev/null; then
24821.1Stv  if test -s conftest.err; then
24831.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
24841.1Stv  else
24851.1Stv    ac_cpp_err=
24861.1Stv  fi
24871.1Stvelse
24881.1Stv  ac_cpp_err=yes
24891.1Stvfi
24901.1Stvif test -z "$ac_cpp_err"; then
24911.1Stv  # Broken: success on invalid input.
24921.1Stvcontinue
24931.1Stvelse
24941.1Stv  echo "$as_me: failed program was:" >&5
24951.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
24961.39Sfredb
24971.1Stv  # Passes both tests.
24981.1Stvac_preproc_ok=:
24991.1Stvbreak
25001.1Stvfi
25011.1Stvrm -f conftest.err conftest.$ac_ext
25021.1Stv
25031.1Stvdone
25041.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25051.1Stvrm -f conftest.err conftest.$ac_ext
25061.1Stvif $ac_preproc_ok; then
25071.1Stv  break
25081.1Stvfi
25091.1Stv
25101.1Stv    done
25111.1Stv    ac_cv_prog_CPP=$CPP
25121.1Stv
25131.1Stvfi
25141.1Stv  CPP=$ac_cv_prog_CPP
25151.1Stvelse
25161.1Stv  ac_cv_prog_CPP=$CPP
25171.1Stvfi
25181.39Sfredbecho "$as_me:$LINENO: result: $CPP" >&5
25191.1Stvecho "${ECHO_T}$CPP" >&6
25201.1Stvac_preproc_ok=false
25211.1Stvfor ac_c_preproc_warn_flag in '' yes
25221.1Stvdo
25231.1Stv  # Use a header file that comes with gcc, so configuring glibc
25241.1Stv  # with a fresh cross-compiler works.
25251.39Sfredb  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25261.39Sfredb  # <limits.h> exists even on freestanding compilers.
25271.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
25281.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
25291.1Stv  cat >conftest.$ac_ext <<_ACEOF
25301.39Sfredb#line $LINENO "configure"
25311.39Sfredb/* confdefs.h.  */
25321.39Sfredb_ACEOF
25331.39Sfredbcat confdefs.h >>conftest.$ac_ext
25341.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
25351.39Sfredb/* end confdefs.h.  */
25361.39Sfredb#ifdef __STDC__
25371.39Sfredb# include <limits.h>
25381.39Sfredb#else
25391.39Sfredb# include <assert.h>
25401.39Sfredb#endif
25411.1Stv                     Syntax error
25421.1Stv_ACEOF
25431.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25441.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25451.1Stv  ac_status=$?
25461.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
25471.1Stv  rm -f conftest.er1
25481.1Stv  cat conftest.err >&5
25491.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501.1Stv  (exit $ac_status); } >/dev/null; then
25511.1Stv  if test -s conftest.err; then
25521.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25531.1Stv  else
25541.1Stv    ac_cpp_err=
25551.1Stv  fi
25561.1Stvelse
25571.1Stv  ac_cpp_err=yes
25581.1Stvfi
25591.1Stvif test -z "$ac_cpp_err"; then
25601.1Stv  :
25611.1Stvelse
25621.1Stv  echo "$as_me: failed program was:" >&5
25631.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
25641.39Sfredb
25651.1Stv  # Broken: fails on valid input.
25661.1Stvcontinue
25671.1Stvfi
25681.1Stvrm -f conftest.err conftest.$ac_ext
25691.1Stv
25701.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
25711.1Stv  # can be detected and how.
25721.1Stv  cat >conftest.$ac_ext <<_ACEOF
25731.39Sfredb#line $LINENO "configure"
25741.39Sfredb/* confdefs.h.  */
25751.39Sfredb_ACEOF
25761.39Sfredbcat confdefs.h >>conftest.$ac_ext
25771.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
25781.39Sfredb/* end confdefs.h.  */
25791.1Stv#include <ac_nonexistent.h>
25801.1Stv_ACEOF
25811.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25821.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25831.1Stv  ac_status=$?
25841.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
25851.1Stv  rm -f conftest.er1
25861.1Stv  cat conftest.err >&5
25871.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881.1Stv  (exit $ac_status); } >/dev/null; then
25891.1Stv  if test -s conftest.err; then
25901.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25911.1Stv  else
25921.1Stv    ac_cpp_err=
25931.1Stv  fi
25941.1Stvelse
25951.1Stv  ac_cpp_err=yes
25961.1Stvfi
25971.1Stvif test -z "$ac_cpp_err"; then
25981.1Stv  # Broken: success on invalid input.
25991.1Stvcontinue
26001.1Stvelse
26011.1Stv  echo "$as_me: failed program was:" >&5
26021.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
26031.39Sfredb
26041.1Stv  # Passes both tests.
26051.1Stvac_preproc_ok=:
26061.1Stvbreak
26071.1Stvfi
26081.1Stvrm -f conftest.err conftest.$ac_ext
26091.1Stv
26101.1Stvdone
26111.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26121.1Stvrm -f conftest.err conftest.$ac_ext
26131.1Stvif $ac_preproc_ok; then
26141.1Stv  :
26151.1Stvelse
26161.39Sfredb  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
26171.39SfredbSee \`config.log' for more details." >&5
26181.39Sfredbecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check
26191.39SfredbSee \`config.log' for more details." >&2;}
26201.1Stv   { (exit 1); exit 1; }; }
26211.1Stvfi
26221.1Stv
26231.1Stvac_ext=c
26241.1Stvac_cpp='$CPP $CPPFLAGS'
26251.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
26281.1Stv
26291.39Sfredb
26301.39Sfredbecho "$as_me:$LINENO: checking for egrep" >&5
26311.39Sfredbecho $ECHO_N "checking for egrep... $ECHO_C" >&6
26321.39Sfredbif test "${ac_cv_prog_egrep+set}" = set; then
26331.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26341.39Sfredbelse
26351.39Sfredb  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
26361.39Sfredb    then ac_cv_prog_egrep='grep -E'
26371.39Sfredb    else ac_cv_prog_egrep='egrep'
26381.39Sfredb    fi
26391.39Sfredbfi
26401.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
26411.39Sfredbecho "${ECHO_T}$ac_cv_prog_egrep" >&6
26421.39Sfredb EGREP=$ac_cv_prog_egrep
26431.39Sfredb
26441.39Sfredb
26451.39Sfredbecho "$as_me:$LINENO: checking for ANSI C header files" >&5
26461.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
26471.6Stvif test "${ac_cv_header_stdc+set}" = set; then
26481.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26491.6Stvelse
26501.6Stv  cat >conftest.$ac_ext <<_ACEOF
26511.39Sfredb#line $LINENO "configure"
26521.39Sfredb/* confdefs.h.  */
26531.39Sfredb_ACEOF
26541.39Sfredbcat confdefs.h >>conftest.$ac_ext
26551.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
26561.39Sfredb/* end confdefs.h.  */
26571.6Stv#include <stdlib.h>
26581.6Stv#include <stdarg.h>
26591.6Stv#include <string.h>
26601.6Stv#include <float.h>
26611.6Stv
26621.39Sfredbint
26631.39Sfredbmain ()
26641.39Sfredb{
26651.39Sfredb
26661.39Sfredb  ;
26671.39Sfredb  return 0;
26681.39Sfredb}
26691.6Stv_ACEOF
26701.39Sfredbrm -f conftest.$ac_objext
26711.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721.39Sfredb  (eval $ac_compile) 2>&5
26731.39Sfredb  ac_status=$?
26741.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751.39Sfredb  (exit $ac_status); } &&
26761.39Sfredb         { ac_try='test -s conftest.$ac_objext'
26771.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26781.39Sfredb  (eval $ac_try) 2>&5
26791.6Stv  ac_status=$?
26801.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811.39Sfredb  (exit $ac_status); }; }; then
26821.6Stv  ac_cv_header_stdc=yes
26831.6Stvelse
26841.6Stv  echo "$as_me: failed program was:" >&5
26851.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
26861.39Sfredb
26871.39Sfredbac_cv_header_stdc=no
26881.6Stvfi
26891.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
26901.6Stv
26911.6Stvif test $ac_cv_header_stdc = yes; then
26921.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
26931.6Stv  cat >conftest.$ac_ext <<_ACEOF
26941.39Sfredb#line $LINENO "configure"
26951.39Sfredb/* confdefs.h.  */
26961.39Sfredb_ACEOF
26971.39Sfredbcat confdefs.h >>conftest.$ac_ext
26981.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
26991.39Sfredb/* end confdefs.h.  */
27001.6Stv#include <string.h>
27011.6Stv
27021.6Stv_ACEOF
27031.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27041.39Sfredb  $EGREP "memchr" >/dev/null 2>&1; then
27051.6Stv  :
27061.6Stvelse
27071.6Stv  ac_cv_header_stdc=no
27081.6Stvfi
27091.6Stvrm -f conftest*
27101.6Stv
27111.6Stvfi
27121.6Stv
27131.6Stvif test $ac_cv_header_stdc = yes; then
27141.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
27151.6Stv  cat >conftest.$ac_ext <<_ACEOF
27161.39Sfredb#line $LINENO "configure"
27171.39Sfredb/* confdefs.h.  */
27181.39Sfredb_ACEOF
27191.39Sfredbcat confdefs.h >>conftest.$ac_ext
27201.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
27211.39Sfredb/* end confdefs.h.  */
27221.6Stv#include <stdlib.h>
27231.6Stv
27241.6Stv_ACEOF
27251.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27261.39Sfredb  $EGREP "free" >/dev/null 2>&1; then
27271.6Stv  :
27281.6Stvelse
27291.6Stv  ac_cv_header_stdc=no
27301.6Stvfi
27311.6Stvrm -f conftest*
27321.6Stv
27331.6Stvfi
27341.6Stv
27351.6Stvif test $ac_cv_header_stdc = yes; then
27361.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
27371.6Stv  if test "$cross_compiling" = yes; then
27381.6Stv  :
27391.6Stvelse
27401.6Stv  cat >conftest.$ac_ext <<_ACEOF
27411.39Sfredb#line $LINENO "configure"
27421.39Sfredb/* confdefs.h.  */
27431.39Sfredb_ACEOF
27441.39Sfredbcat confdefs.h >>conftest.$ac_ext
27451.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
27461.39Sfredb/* end confdefs.h.  */
27471.6Stv#include <ctype.h>
27481.6Stv#if ((' ' & 0x0FF) == 0x020)
27491.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
27501.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
27511.6Stv#else
27521.39Sfredb# define ISLOWER(c) \
27531.39Sfredb                   (('a' <= (c) && (c) <= 'i') \
27541.6Stv                     || ('j' <= (c) && (c) <= 'r') \
27551.6Stv                     || ('s' <= (c) && (c) <= 'z'))
27561.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
27571.6Stv#endif
27581.6Stv
27591.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
27601.6Stvint
27611.6Stvmain ()
27621.6Stv{
27631.6Stv  int i;
27641.6Stv  for (i = 0; i < 256; i++)
27651.6Stv    if (XOR (islower (i), ISLOWER (i))
27661.6Stv        || toupper (i) != TOUPPER (i))
27671.6Stv      exit(2);
27681.6Stv  exit (0);
27691.6Stv}
27701.6Stv_ACEOF
27711.6Stvrm -f conftest$ac_exeext
27721.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27731.6Stv  (eval $ac_link) 2>&5
27741.6Stv  ac_status=$?
27751.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27771.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781.6Stv  (eval $ac_try) 2>&5
27791.6Stv  ac_status=$?
27801.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811.6Stv  (exit $ac_status); }; }; then
27821.6Stv  :
27831.6Stvelse
27841.6Stv  echo "$as_me: program exited with status $ac_status" >&5
27851.6Stvecho "$as_me: failed program was:" >&5
27861.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
27871.39Sfredb
27881.39Sfredb( exit $ac_status )
27891.6Stvac_cv_header_stdc=no
27901.6Stvfi
27911.39Sfredbrm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27921.6Stvfi
27931.6Stvfi
27941.6Stvfi
27951.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
27961.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
27971.6Stvif test $ac_cv_header_stdc = yes; then
27981.6Stv
27991.39Sfredbcat >>confdefs.h <<\_ACEOF
28001.6Stv#define STDC_HEADERS 1
28011.39Sfredb_ACEOF
28021.6Stv
28031.6Stvfi
28041.6Stv
28051.39Sfredb
28061.6Stv# Confirm existence of zlib.  (This is available as a default install
28071.6Stv# option on many OS's; this could be added as a reachover build in the
28081.6Stv# future.)
28091.39Sfredb# On IRIX 5.3, sys/types and inttypes.h are conflicting.
28101.39Sfredb
28111.39Sfredb
28121.39Sfredb
28131.39Sfredb
28141.39Sfredb
28151.39Sfredb
28161.39Sfredb
28171.39Sfredb
28181.39Sfredb
28191.39Sfredbfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
28201.39Sfredb                  inttypes.h stdint.h unistd.h
28211.39Sfredbdo
28221.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28231.39Sfredbecho "$as_me:$LINENO: checking for $ac_header" >&5
28241.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28251.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
28261.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
28271.39Sfredbelse
28281.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
28291.39Sfredb#line $LINENO "configure"
28301.39Sfredb/* confdefs.h.  */
28311.39Sfredb_ACEOF
28321.39Sfredbcat confdefs.h >>conftest.$ac_ext
28331.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
28341.39Sfredb/* end confdefs.h.  */
28351.39Sfredb$ac_includes_default
28361.39Sfredb
28371.39Sfredb#include <$ac_header>
28381.39Sfredb_ACEOF
28391.39Sfredbrm -f conftest.$ac_objext
28401.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28411.39Sfredb  (eval $ac_compile) 2>&5
28421.39Sfredb  ac_status=$?
28431.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441.39Sfredb  (exit $ac_status); } &&
28451.39Sfredb         { ac_try='test -s conftest.$ac_objext'
28461.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471.39Sfredb  (eval $ac_try) 2>&5
28481.39Sfredb  ac_status=$?
28491.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501.39Sfredb  (exit $ac_status); }; }; then
28511.39Sfredb  eval "$as_ac_Header=yes"
28521.39Sfredbelse
28531.39Sfredb  echo "$as_me: failed program was:" >&5
28541.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
28551.39Sfredb
28561.39Sfredbeval "$as_ac_Header=no"
28571.39Sfredbfi
28581.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
28591.39Sfredbfi
28601.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28611.39Sfredbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28621.39Sfredbif test `eval echo '${'$as_ac_Header'}'` = yes; then
28631.39Sfredb  cat >>confdefs.h <<_ACEOF
28641.39Sfredb#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28651.39Sfredb_ACEOF
28661.39Sfredb
28671.39Sfredbfi
28681.39Sfredb
28691.39Sfredbdone
28701.39Sfredb
28711.39Sfredb
28721.39Sfredbif test "${ac_cv_header_zlib_h+set}" = set; then
28731.39Sfredb  echo "$as_me:$LINENO: checking for zlib.h" >&5
28741.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
28751.6Stvif test "${ac_cv_header_zlib_h+set}" = set; then
28761.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28771.39Sfredbfi
28781.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28791.39Sfredbecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
28801.39Sfredbelse
28811.39Sfredb  # Is the header compilable?
28821.39Sfredbecho "$as_me:$LINENO: checking zlib.h usability" >&5
28831.39Sfredbecho $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
28841.39Sfredbcat >conftest.$ac_ext <<_ACEOF
28851.39Sfredb#line $LINENO "configure"
28861.39Sfredb/* confdefs.h.  */
28871.39Sfredb_ACEOF
28881.39Sfredbcat confdefs.h >>conftest.$ac_ext
28891.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
28901.39Sfredb/* end confdefs.h.  */
28911.39Sfredb$ac_includes_default
28921.39Sfredb#include <zlib.h>
28931.39Sfredb_ACEOF
28941.39Sfredbrm -f conftest.$ac_objext
28951.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28961.39Sfredb  (eval $ac_compile) 2>&5
28971.39Sfredb  ac_status=$?
28981.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991.39Sfredb  (exit $ac_status); } &&
29001.39Sfredb         { ac_try='test -s conftest.$ac_objext'
29011.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021.39Sfredb  (eval $ac_try) 2>&5
29031.39Sfredb  ac_status=$?
29041.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051.39Sfredb  (exit $ac_status); }; }; then
29061.39Sfredb  ac_header_compiler=yes
29071.4Stvelse
29081.39Sfredb  echo "$as_me: failed program was:" >&5
29091.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
29101.39Sfredb
29111.39Sfredbac_header_compiler=no
29121.39Sfredbfi
29131.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
29141.39Sfredbecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
29151.39Sfredbecho "${ECHO_T}$ac_header_compiler" >&6
29161.39Sfredb
29171.39Sfredb# Is the header present?
29181.39Sfredbecho "$as_me:$LINENO: checking zlib.h presence" >&5
29191.39Sfredbecho $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
29201.39Sfredbcat >conftest.$ac_ext <<_ACEOF
29211.39Sfredb#line $LINENO "configure"
29221.39Sfredb/* confdefs.h.  */
29231.39Sfredb_ACEOF
29241.39Sfredbcat confdefs.h >>conftest.$ac_ext
29251.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
29261.39Sfredb/* end confdefs.h.  */
29271.6Stv#include <zlib.h>
29281.4Stv_ACEOF
29291.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29301.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29311.4Stv  ac_status=$?
29321.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
29331.4Stv  rm -f conftest.er1
29341.4Stv  cat conftest.err >&5
29351.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361.4Stv  (exit $ac_status); } >/dev/null; then
29371.4Stv  if test -s conftest.err; then
29381.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
29391.4Stv  else
29401.4Stv    ac_cpp_err=
29411.4Stv  fi
29421.4Stvelse
29431.4Stv  ac_cpp_err=yes
29441.4Stvfi
29451.4Stvif test -z "$ac_cpp_err"; then
29461.39Sfredb  ac_header_preproc=yes
29471.4Stvelse
29481.4Stv  echo "$as_me: failed program was:" >&5
29491.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
29501.39Sfredb
29511.39Sfredb  ac_header_preproc=no
29521.4Stvfi
29531.4Stvrm -f conftest.err conftest.$ac_ext
29541.39Sfredbecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
29551.39Sfredbecho "${ECHO_T}$ac_header_preproc" >&6
29561.39Sfredb
29571.39Sfredb# So?  What about this header?
29581.39Sfredbcase $ac_header_compiler:$ac_header_preproc in
29591.39Sfredb  yes:no )
29601.39Sfredb    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
29611.39Sfredbecho "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29621.39Sfredb    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
29631.39Sfredbecho "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
29641.39Sfredb    (
29651.39Sfredb      cat <<\_ASBOX
29661.39Sfredb## ------------------------------------ ##
29671.39Sfredb## Report this to bug-autoconf@gnu.org. ##
29681.39Sfredb## ------------------------------------ ##
29691.39Sfredb_ASBOX
29701.39Sfredb    ) |
29711.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
29721.39Sfredb    ;;
29731.39Sfredb  no:yes )
29741.39Sfredb    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
29751.39Sfredbecho "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
29761.39Sfredb    { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
29771.39Sfredbecho "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
29781.39Sfredb    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
29791.39Sfredbecho "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
29801.39Sfredb    (
29811.39Sfredb      cat <<\_ASBOX
29821.39Sfredb## ------------------------------------ ##
29831.39Sfredb## Report this to bug-autoconf@gnu.org. ##
29841.39Sfredb## ------------------------------------ ##
29851.39Sfredb_ASBOX
29861.39Sfredb    ) |
29871.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
29881.39Sfredb    ;;
29891.39Sfredbesac
29901.39Sfredbecho "$as_me:$LINENO: checking for zlib.h" >&5
29911.39Sfredbecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
29921.39Sfredbif test "${ac_cv_header_zlib_h+set}" = set; then
29931.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
29941.39Sfredbelse
29951.39Sfredb  ac_cv_header_zlib_h=$ac_header_preproc
29961.4Stvfi
29971.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29981.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
29991.39Sfredb
30001.39Sfredbfi
30011.6Stvif test $ac_cv_header_zlib_h = yes; then
30021.6Stv  :
30031.6Stvelse
30041.39Sfredb  { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
30051.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
30061.6Stv   { (exit 1); exit 1; }; }
30071.6Stvfi
30081.6Stv
30091.39Sfredb
30101.39Sfredb
30111.39Sfredbecho "$as_me:$LINENO: checking for gzdopen in -lz" >&5
30121.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
30131.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then
30141.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30151.6Stvelse
30161.6Stv  ac_check_lib_save_LIBS=$LIBS
30171.6StvLIBS="-lz  $LIBS"
30181.6Stvcat >conftest.$ac_ext <<_ACEOF
30191.39Sfredb#line $LINENO "configure"
30201.39Sfredb/* confdefs.h.  */
30211.39Sfredb_ACEOF
30221.39Sfredbcat confdefs.h >>conftest.$ac_ext
30231.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
30241.39Sfredb/* end confdefs.h.  */
30251.6Stv
30261.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
30271.6Stv#ifdef __cplusplus
30281.6Stvextern "C"
30291.6Stv#endif
30301.6Stv/* We use char because int might match the return type of a gcc2
30311.6Stv   builtin and then its argument prototype would still apply.  */
30321.6Stvchar gzdopen ();
30331.6Stvint
30341.6Stvmain ()
30351.6Stv{
30361.6Stvgzdopen ();
30371.6Stv  ;
30381.6Stv  return 0;
30391.6Stv}
30401.6Stv_ACEOF
30411.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
30421.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30431.6Stv  (eval $ac_link) 2>&5
30441.6Stv  ac_status=$?
30451.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461.6Stv  (exit $ac_status); } &&
30471.6Stv         { ac_try='test -s conftest$ac_exeext'
30481.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491.6Stv  (eval $ac_try) 2>&5
30501.6Stv  ac_status=$?
30511.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521.6Stv  (exit $ac_status); }; }; then
30531.6Stv  ac_cv_lib_z_gzdopen=yes
30541.6Stvelse
30551.6Stv  echo "$as_me: failed program was:" >&5
30561.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
30571.39Sfredb
30581.6Stvac_cv_lib_z_gzdopen=no
30591.6Stvfi
30601.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30611.6StvLIBS=$ac_check_lib_save_LIBS
30621.6Stvfi
30631.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
30641.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
30651.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
30661.39Sfredb  cat >>confdefs.h <<_ACEOF
30671.6Stv#define HAVE_LIBZ 1
30681.39Sfredb_ACEOF
30691.4Stv
30701.6Stv  LIBS="-lz $LIBS"
30711.6Stv
30721.4Stvelse
30731.39Sfredb  { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
30741.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
30751.4Stv   { (exit 1); exit 1; }; }
30761.4Stvfi
30771.4Stv
30781.39Sfredb
30791.6Stv# Make sure certain required headers are available.
30801.6Stv# These are not necessarily required by the code, but they are not
30811.6Stv# currently conditionalized.
30821.4Stv
30831.39Sfredb
30841.39Sfredb
30851.39Sfredb
30861.39Sfredb
30871.39Sfredb
30881.39Sfredb
30891.39Sfredb
30901.39Sfredb
30911.39Sfredb
30921.39Sfredb
30931.39Sfredb
30941.39Sfredb
30951.39Sfredb
30961.39Sfredb
30971.39Sfredb
30981.39Sfredb
30991.39Sfredb
31001.39Sfredb
31011.39Sfredb
31021.39Sfredb
31031.39Sfredb
31041.39Sfredb
31051.39Sfredb
31061.39Sfredb
31071.39Sfredb
31081.6Stvfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
31091.34Sthorpej	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
31101.34Sthorpej	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
31111.28Sbriggs	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
31121.22Sthorpej	termios.h unistd.h
31131.4Stvdo
31141.4Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31151.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
31161.39Sfredb  echo "$as_me:$LINENO: checking for $ac_header" >&5
31171.4Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31181.4Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
31191.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31201.39Sfredbfi
31211.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31221.39Sfredbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31231.4Stvelse
31241.39Sfredb  # Is the header compilable?
31251.39Sfredbecho "$as_me:$LINENO: checking $ac_header usability" >&5
31261.39Sfredbecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31271.39Sfredbcat >conftest.$ac_ext <<_ACEOF
31281.39Sfredb#line $LINENO "configure"
31291.39Sfredb/* confdefs.h.  */
31301.39Sfredb_ACEOF
31311.39Sfredbcat confdefs.h >>conftest.$ac_ext
31321.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
31331.39Sfredb/* end confdefs.h.  */
31341.39Sfredb$ac_includes_default
31351.39Sfredb#include <$ac_header>
31361.39Sfredb_ACEOF
31371.39Sfredbrm -f conftest.$ac_objext
31381.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31391.39Sfredb  (eval $ac_compile) 2>&5
31401.39Sfredb  ac_status=$?
31411.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421.39Sfredb  (exit $ac_status); } &&
31431.39Sfredb         { ac_try='test -s conftest.$ac_objext'
31441.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451.39Sfredb  (eval $ac_try) 2>&5
31461.39Sfredb  ac_status=$?
31471.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481.39Sfredb  (exit $ac_status); }; }; then
31491.39Sfredb  ac_header_compiler=yes
31501.39Sfredbelse
31511.39Sfredb  echo "$as_me: failed program was:" >&5
31521.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
31531.39Sfredb
31541.39Sfredbac_header_compiler=no
31551.39Sfredbfi
31561.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
31571.39Sfredbecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
31581.39Sfredbecho "${ECHO_T}$ac_header_compiler" >&6
31591.39Sfredb
31601.39Sfredb# Is the header present?
31611.39Sfredbecho "$as_me:$LINENO: checking $ac_header presence" >&5
31621.39Sfredbecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31631.39Sfredbcat >conftest.$ac_ext <<_ACEOF
31641.39Sfredb#line $LINENO "configure"
31651.39Sfredb/* confdefs.h.  */
31661.39Sfredb_ACEOF
31671.39Sfredbcat confdefs.h >>conftest.$ac_ext
31681.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
31691.39Sfredb/* end confdefs.h.  */
31701.4Stv#include <$ac_header>
31711.4Stv_ACEOF
31721.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31731.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31741.4Stv  ac_status=$?
31751.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
31761.4Stv  rm -f conftest.er1
31771.4Stv  cat conftest.err >&5
31781.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791.4Stv  (exit $ac_status); } >/dev/null; then
31801.4Stv  if test -s conftest.err; then
31811.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
31821.4Stv  else
31831.4Stv    ac_cpp_err=
31841.4Stv  fi
31851.4Stvelse
31861.6Stv  ac_cpp_err=yes
31871.6Stvfi
31881.6Stvif test -z "$ac_cpp_err"; then
31891.39Sfredb  ac_header_preproc=yes
31901.6Stvelse
31911.6Stv  echo "$as_me: failed program was:" >&5
31921.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
31931.39Sfredb
31941.39Sfredb  ac_header_preproc=no
31951.6Stvfi
31961.6Stvrm -f conftest.err conftest.$ac_ext
31971.39Sfredbecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
31981.39Sfredbecho "${ECHO_T}$ac_header_preproc" >&6
31991.39Sfredb
32001.39Sfredb# So?  What about this header?
32011.39Sfredbcase $ac_header_compiler:$ac_header_preproc in
32021.39Sfredb  yes:no )
32031.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32041.39Sfredbecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32051.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32061.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32071.39Sfredb    (
32081.39Sfredb      cat <<\_ASBOX
32091.39Sfredb## ------------------------------------ ##
32101.39Sfredb## Report this to bug-autoconf@gnu.org. ##
32111.39Sfredb## ------------------------------------ ##
32121.39Sfredb_ASBOX
32131.39Sfredb    ) |
32141.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
32151.39Sfredb    ;;
32161.39Sfredb  no:yes )
32171.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32181.39Sfredbecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32191.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32201.39Sfredbecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32211.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32221.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32231.39Sfredb    (
32241.39Sfredb      cat <<\_ASBOX
32251.39Sfredb## ------------------------------------ ##
32261.39Sfredb## Report this to bug-autoconf@gnu.org. ##
32271.39Sfredb## ------------------------------------ ##
32281.39Sfredb_ASBOX
32291.39Sfredb    ) |
32301.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
32311.39Sfredb    ;;
32321.39Sfredbesac
32331.39Sfredbecho "$as_me:$LINENO: checking for $ac_header" >&5
32341.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32351.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
32361.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
32371.39Sfredbelse
32381.39Sfredb  eval "$as_ac_Header=$ac_header_preproc"
32391.6Stvfi
32401.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32411.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32421.39Sfredb
32431.39Sfredbfi
32441.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
32451.39Sfredb  cat >>confdefs.h <<_ACEOF
32461.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32471.39Sfredb_ACEOF
32481.6Stv
32491.6Stvelse
32501.39Sfredb  { { echo "$as_me:$LINENO: error: standard system header file not found" >&5
32511.6Stvecho "$as_me: error: standard system header file not found" >&2;}
32521.6Stv   { (exit 1); exit 1; }; }
32531.6Stvfi
32541.39Sfredb
32551.6Stvdone
32561.6Stv
32571.39Sfredb
32581.6Stv# Find headers that may not be available.
32591.6Stv
32601.39Sfredb
32611.39Sfredb
32621.39Sfredb
32631.39Sfredb
32641.6Stvac_header_dirent=no
32651.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
32661.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
32671.39Sfredbecho "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
32681.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
32691.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
32701.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32711.6Stvelse
32721.6Stv  cat >conftest.$ac_ext <<_ACEOF
32731.39Sfredb#line $LINENO "configure"
32741.39Sfredb/* confdefs.h.  */
32751.39Sfredb_ACEOF
32761.39Sfredbcat confdefs.h >>conftest.$ac_ext
32771.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
32781.39Sfredb/* end confdefs.h.  */
32791.6Stv#include <sys/types.h>
32801.6Stv#include <$ac_hdr>
32811.6Stv
32821.6Stvint
32831.6Stvmain ()
32841.6Stv{
32851.6Stvif ((DIR *) 0)
32861.6Stvreturn 0;
32871.6Stv  ;
32881.6Stv  return 0;
32891.6Stv}
32901.6Stv_ACEOF
32911.6Stvrm -f conftest.$ac_objext
32921.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32931.6Stv  (eval $ac_compile) 2>&5
32941.6Stv  ac_status=$?
32951.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961.6Stv  (exit $ac_status); } &&
32971.6Stv         { ac_try='test -s conftest.$ac_objext'
32981.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991.6Stv  (eval $ac_try) 2>&5
33001.6Stv  ac_status=$?
33011.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021.6Stv  (exit $ac_status); }; }; then
33031.6Stv  eval "$as_ac_Header=yes"
33041.6Stvelse
33051.6Stv  echo "$as_me: failed program was:" >&5
33061.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
33071.39Sfredb
33081.6Stveval "$as_ac_Header=no"
33091.6Stvfi
33101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
33111.6Stvfi
33121.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33131.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33141.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
33151.39Sfredb  cat >>confdefs.h <<_ACEOF
33161.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
33171.39Sfredb_ACEOF
33181.6Stv
33191.6Stvac_header_dirent=$ac_hdr; break
33201.6Stvfi
33211.6Stv
33221.6Stvdone
33231.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
33241.6Stvif test $ac_header_dirent = dirent.h; then
33251.39Sfredb  echo "$as_me:$LINENO: checking for library containing opendir" >&5
33261.39Sfredbecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
33271.39Sfredbif test "${ac_cv_search_opendir+set}" = set; then
33281.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33291.6Stvelse
33301.39Sfredb  ac_func_search_save_LIBS=$LIBS
33311.39Sfredbac_cv_search_opendir=no
33321.6Stvcat >conftest.$ac_ext <<_ACEOF
33331.39Sfredb#line $LINENO "configure"
33341.39Sfredb/* confdefs.h.  */
33351.39Sfredb_ACEOF
33361.39Sfredbcat confdefs.h >>conftest.$ac_ext
33371.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
33381.39Sfredb/* end confdefs.h.  */
33391.6Stv
33401.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
33411.6Stv#ifdef __cplusplus
33421.6Stvextern "C"
33431.6Stv#endif
33441.6Stv/* We use char because int might match the return type of a gcc2
33451.6Stv   builtin and then its argument prototype would still apply.  */
33461.6Stvchar opendir ();
33471.6Stvint
33481.6Stvmain ()
33491.6Stv{
33501.6Stvopendir ();
33511.6Stv  ;
33521.6Stv  return 0;
33531.6Stv}
33541.6Stv_ACEOF
33551.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
33561.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33571.6Stv  (eval $ac_link) 2>&5
33581.6Stv  ac_status=$?
33591.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601.6Stv  (exit $ac_status); } &&
33611.6Stv         { ac_try='test -s conftest$ac_exeext'
33621.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631.6Stv  (eval $ac_try) 2>&5
33641.6Stv  ac_status=$?
33651.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661.6Stv  (exit $ac_status); }; }; then
33671.39Sfredb  ac_cv_search_opendir="none required"
33681.6Stvelse
33691.6Stv  echo "$as_me: failed program was:" >&5
33701.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
33711.39Sfredb
33721.6Stvfi
33731.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33741.39Sfredbif test "$ac_cv_search_opendir" = no; then
33751.39Sfredb  for ac_lib in dir; do
33761.39Sfredb    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
33771.39Sfredb    cat >conftest.$ac_ext <<_ACEOF
33781.39Sfredb#line $LINENO "configure"
33791.39Sfredb/* confdefs.h.  */
33801.39Sfredb_ACEOF
33811.39Sfredbcat confdefs.h >>conftest.$ac_ext
33821.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
33831.39Sfredb/* end confdefs.h.  */
33841.39Sfredb
33851.39Sfredb/* Override any gcc2 internal prototype to avoid an error.  */
33861.39Sfredb#ifdef __cplusplus
33871.39Sfredbextern "C"
33881.39Sfredb#endif
33891.39Sfredb/* We use char because int might match the return type of a gcc2
33901.39Sfredb   builtin and then its argument prototype would still apply.  */
33911.39Sfredbchar opendir ();
33921.39Sfredbint
33931.39Sfredbmain ()
33941.39Sfredb{
33951.39Sfredbopendir ();
33961.39Sfredb  ;
33971.39Sfredb  return 0;
33981.39Sfredb}
33991.39Sfredb_ACEOF
34001.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext
34011.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021.39Sfredb  (eval $ac_link) 2>&5
34031.39Sfredb  ac_status=$?
34041.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051.39Sfredb  (exit $ac_status); } &&
34061.39Sfredb         { ac_try='test -s conftest$ac_exeext'
34071.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34081.39Sfredb  (eval $ac_try) 2>&5
34091.39Sfredb  ac_status=$?
34101.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111.39Sfredb  (exit $ac_status); }; }; then
34121.39Sfredb  ac_cv_search_opendir="-l$ac_lib"
34131.39Sfredbbreak
34141.39Sfredbelse
34151.39Sfredb  echo "$as_me: failed program was:" >&5
34161.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
34171.39Sfredb
34181.39Sfredbfi
34191.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34201.39Sfredb  done
34211.39Sfredbfi
34221.39SfredbLIBS=$ac_func_search_save_LIBS
34231.6Stvfi
34241.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
34251.39Sfredbecho "${ECHO_T}$ac_cv_search_opendir" >&6
34261.39Sfredbif test "$ac_cv_search_opendir" != no; then
34271.39Sfredb  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
34281.39Sfredb
34291.6Stvfi
34301.6Stv
34311.6Stvelse
34321.39Sfredb  echo "$as_me:$LINENO: checking for library containing opendir" >&5
34331.39Sfredbecho $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
34341.39Sfredbif test "${ac_cv_search_opendir+set}" = set; then
34351.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34361.6Stvelse
34371.39Sfredb  ac_func_search_save_LIBS=$LIBS
34381.39Sfredbac_cv_search_opendir=no
34391.6Stvcat >conftest.$ac_ext <<_ACEOF
34401.39Sfredb#line $LINENO "configure"
34411.39Sfredb/* confdefs.h.  */
34421.39Sfredb_ACEOF
34431.39Sfredbcat confdefs.h >>conftest.$ac_ext
34441.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
34451.39Sfredb/* end confdefs.h.  */
34461.6Stv
34471.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
34481.6Stv#ifdef __cplusplus
34491.6Stvextern "C"
34501.6Stv#endif
34511.6Stv/* We use char because int might match the return type of a gcc2
34521.6Stv   builtin and then its argument prototype would still apply.  */
34531.6Stvchar opendir ();
34541.6Stvint
34551.6Stvmain ()
34561.6Stv{
34571.6Stvopendir ();
34581.6Stv  ;
34591.6Stv  return 0;
34601.6Stv}
34611.6Stv_ACEOF
34621.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
34631.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34641.6Stv  (eval $ac_link) 2>&5
34651.6Stv  ac_status=$?
34661.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671.6Stv  (exit $ac_status); } &&
34681.6Stv         { ac_try='test -s conftest$ac_exeext'
34691.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701.6Stv  (eval $ac_try) 2>&5
34711.6Stv  ac_status=$?
34721.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731.6Stv  (exit $ac_status); }; }; then
34741.39Sfredb  ac_cv_search_opendir="none required"
34751.6Stvelse
34761.6Stv  echo "$as_me: failed program was:" >&5
34771.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
34781.39Sfredb
34791.39Sfredbfi
34801.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34811.39Sfredbif test "$ac_cv_search_opendir" = no; then
34821.39Sfredb  for ac_lib in x; do
34831.39Sfredb    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
34841.39Sfredb    cat >conftest.$ac_ext <<_ACEOF
34851.39Sfredb#line $LINENO "configure"
34861.39Sfredb/* confdefs.h.  */
34871.39Sfredb_ACEOF
34881.39Sfredbcat confdefs.h >>conftest.$ac_ext
34891.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
34901.39Sfredb/* end confdefs.h.  */
34911.39Sfredb
34921.39Sfredb/* Override any gcc2 internal prototype to avoid an error.  */
34931.39Sfredb#ifdef __cplusplus
34941.39Sfredbextern "C"
34951.39Sfredb#endif
34961.39Sfredb/* We use char because int might match the return type of a gcc2
34971.39Sfredb   builtin and then its argument prototype would still apply.  */
34981.39Sfredbchar opendir ();
34991.39Sfredbint
35001.39Sfredbmain ()
35011.39Sfredb{
35021.39Sfredbopendir ();
35031.39Sfredb  ;
35041.39Sfredb  return 0;
35051.39Sfredb}
35061.39Sfredb_ACEOF
35071.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext
35081.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35091.39Sfredb  (eval $ac_link) 2>&5
35101.39Sfredb  ac_status=$?
35111.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121.39Sfredb  (exit $ac_status); } &&
35131.39Sfredb         { ac_try='test -s conftest$ac_exeext'
35141.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151.39Sfredb  (eval $ac_try) 2>&5
35161.39Sfredb  ac_status=$?
35171.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181.39Sfredb  (exit $ac_status); }; }; then
35191.39Sfredb  ac_cv_search_opendir="-l$ac_lib"
35201.39Sfredbbreak
35211.39Sfredbelse
35221.39Sfredb  echo "$as_me: failed program was:" >&5
35231.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
35241.39Sfredb
35251.6Stvfi
35261.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35271.39Sfredb  done
35281.39Sfredbfi
35291.39SfredbLIBS=$ac_func_search_save_LIBS
35301.6Stvfi
35311.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
35321.39Sfredbecho "${ECHO_T}$ac_cv_search_opendir" >&6
35331.39Sfredbif test "$ac_cv_search_opendir" != no; then
35341.39Sfredb  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
35351.39Sfredb
35361.6Stvfi
35371.6Stv
35381.6Stvfi
35391.6Stv
35401.39Sfredb
35411.39Sfredb
35421.39Sfredb
35431.39Sfredb
35441.39Sfredb
35451.39Sfredb
35461.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \
35471.28Sbriggs	features.h malloc.h poll.h stddef.h
35481.6Stvdo
35491.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35501.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
35511.39Sfredb  echo "$as_me:$LINENO: checking for $ac_header" >&5
35521.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35531.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
35541.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35551.39Sfredbfi
35561.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35571.39Sfredbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35581.39Sfredbelse
35591.39Sfredb  # Is the header compilable?
35601.39Sfredbecho "$as_me:$LINENO: checking $ac_header usability" >&5
35611.39Sfredbecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35621.39Sfredbcat >conftest.$ac_ext <<_ACEOF
35631.39Sfredb#line $LINENO "configure"
35641.39Sfredb/* confdefs.h.  */
35651.39Sfredb_ACEOF
35661.39Sfredbcat confdefs.h >>conftest.$ac_ext
35671.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
35681.39Sfredb/* end confdefs.h.  */
35691.39Sfredb$ac_includes_default
35701.39Sfredb#include <$ac_header>
35711.39Sfredb_ACEOF
35721.39Sfredbrm -f conftest.$ac_objext
35731.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35741.39Sfredb  (eval $ac_compile) 2>&5
35751.39Sfredb  ac_status=$?
35761.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771.39Sfredb  (exit $ac_status); } &&
35781.39Sfredb         { ac_try='test -s conftest.$ac_objext'
35791.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801.39Sfredb  (eval $ac_try) 2>&5
35811.39Sfredb  ac_status=$?
35821.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831.39Sfredb  (exit $ac_status); }; }; then
35841.39Sfredb  ac_header_compiler=yes
35851.6Stvelse
35861.39Sfredb  echo "$as_me: failed program was:" >&5
35871.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
35881.39Sfredb
35891.39Sfredbac_header_compiler=no
35901.39Sfredbfi
35911.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
35921.39Sfredbecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
35931.39Sfredbecho "${ECHO_T}$ac_header_compiler" >&6
35941.39Sfredb
35951.39Sfredb# Is the header present?
35961.39Sfredbecho "$as_me:$LINENO: checking $ac_header presence" >&5
35971.39Sfredbecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35981.39Sfredbcat >conftest.$ac_ext <<_ACEOF
35991.39Sfredb#line $LINENO "configure"
36001.39Sfredb/* confdefs.h.  */
36011.39Sfredb_ACEOF
36021.39Sfredbcat confdefs.h >>conftest.$ac_ext
36031.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
36041.39Sfredb/* end confdefs.h.  */
36051.6Stv#include <$ac_header>
36061.6Stv_ACEOF
36071.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36081.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36091.6Stv  ac_status=$?
36101.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
36111.6Stv  rm -f conftest.er1
36121.6Stv  cat conftest.err >&5
36131.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141.6Stv  (exit $ac_status); } >/dev/null; then
36151.6Stv  if test -s conftest.err; then
36161.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
36171.6Stv  else
36181.6Stv    ac_cpp_err=
36191.6Stv  fi
36201.6Stvelse
36211.6Stv  ac_cpp_err=yes
36221.6Stvfi
36231.6Stvif test -z "$ac_cpp_err"; then
36241.39Sfredb  ac_header_preproc=yes
36251.6Stvelse
36261.6Stv  echo "$as_me: failed program was:" >&5
36271.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
36281.39Sfredb
36291.39Sfredb  ac_header_preproc=no
36301.6Stvfi
36311.6Stvrm -f conftest.err conftest.$ac_ext
36321.39Sfredbecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
36331.39Sfredbecho "${ECHO_T}$ac_header_preproc" >&6
36341.39Sfredb
36351.39Sfredb# So?  What about this header?
36361.39Sfredbcase $ac_header_compiler:$ac_header_preproc in
36371.39Sfredb  yes:no )
36381.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36391.39Sfredbecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36401.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36411.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36421.39Sfredb    (
36431.39Sfredb      cat <<\_ASBOX
36441.39Sfredb## ------------------------------------ ##
36451.39Sfredb## Report this to bug-autoconf@gnu.org. ##
36461.39Sfredb## ------------------------------------ ##
36471.39Sfredb_ASBOX
36481.39Sfredb    ) |
36491.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
36501.39Sfredb    ;;
36511.39Sfredb  no:yes )
36521.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36531.39Sfredbecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36541.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36551.39Sfredbecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36561.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36571.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36581.39Sfredb    (
36591.39Sfredb      cat <<\_ASBOX
36601.39Sfredb## ------------------------------------ ##
36611.39Sfredb## Report this to bug-autoconf@gnu.org. ##
36621.39Sfredb## ------------------------------------ ##
36631.39Sfredb_ASBOX
36641.39Sfredb    ) |
36651.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
36661.39Sfredb    ;;
36671.39Sfredbesac
36681.39Sfredbecho "$as_me:$LINENO: checking for $ac_header" >&5
36691.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36701.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
36711.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
36721.39Sfredbelse
36731.39Sfredb  eval "$as_ac_Header=$ac_header_preproc"
36741.6Stvfi
36751.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36761.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36771.39Sfredb
36781.39Sfredbfi
36791.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
36801.39Sfredb  cat >>confdefs.h <<_ACEOF
36811.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36821.39Sfredb_ACEOF
36831.6Stv
36841.6Stvfi
36851.39Sfredb
36861.6Stvdone
36871.6Stv
36881.39Sfredb
36891.39Sfredb
36901.39Sfredb
36911.39Sfredb
36921.39Sfredb
36931.39Sfredb
36941.39Sfredb
36951.39Sfredb
36961.39Sfredb
36971.39Sfredb
36981.39Sfredbfor ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
36991.39Sfredb	err.h inttypes.h libgen.h paths.h stdint.h util.h
37001.39Sfredbdo
37011.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37021.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
37031.39Sfredb  echo "$as_me:$LINENO: checking for $ac_header" >&5
37041.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37051.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
37061.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
37071.39Sfredbfi
37081.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37091.39Sfredbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37101.39Sfredbelse
37111.39Sfredb  # Is the header compilable?
37121.39Sfredbecho "$as_me:$LINENO: checking $ac_header usability" >&5
37131.39Sfredbecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37141.39Sfredbcat >conftest.$ac_ext <<_ACEOF
37151.39Sfredb#line $LINENO "configure"
37161.39Sfredb/* confdefs.h.  */
37171.39Sfredb_ACEOF
37181.39Sfredbcat confdefs.h >>conftest.$ac_ext
37191.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
37201.39Sfredb/* end confdefs.h.  */
37211.39Sfredb$ac_includes_default
37221.39Sfredb#include <$ac_header>
37231.39Sfredb_ACEOF
37241.39Sfredbrm -f conftest.$ac_objext
37251.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37261.39Sfredb  (eval $ac_compile) 2>&5
37271.39Sfredb  ac_status=$?
37281.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291.39Sfredb  (exit $ac_status); } &&
37301.39Sfredb         { ac_try='test -s conftest.$ac_objext'
37311.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321.39Sfredb  (eval $ac_try) 2>&5
37331.39Sfredb  ac_status=$?
37341.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351.39Sfredb  (exit $ac_status); }; }; then
37361.39Sfredb  ac_header_compiler=yes
37371.39Sfredbelse
37381.39Sfredb  echo "$as_me: failed program was:" >&5
37391.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
37401.39Sfredb
37411.39Sfredbac_header_compiler=no
37421.39Sfredbfi
37431.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
37441.39Sfredbecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
37451.39Sfredbecho "${ECHO_T}$ac_header_compiler" >&6
37461.39Sfredb
37471.39Sfredb# Is the header present?
37481.39Sfredbecho "$as_me:$LINENO: checking $ac_header presence" >&5
37491.39Sfredbecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37501.39Sfredbcat >conftest.$ac_ext <<_ACEOF
37511.39Sfredb#line $LINENO "configure"
37521.39Sfredb/* confdefs.h.  */
37531.39Sfredb_ACEOF
37541.39Sfredbcat confdefs.h >>conftest.$ac_ext
37551.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
37561.39Sfredb/* end confdefs.h.  */
37571.6Stv#include <$ac_header>
37581.6Stv_ACEOF
37591.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37601.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37611.6Stv  ac_status=$?
37621.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
37631.6Stv  rm -f conftest.er1
37641.6Stv  cat conftest.err >&5
37651.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661.6Stv  (exit $ac_status); } >/dev/null; then
37671.6Stv  if test -s conftest.err; then
37681.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
37691.6Stv  else
37701.6Stv    ac_cpp_err=
37711.6Stv  fi
37721.6Stvelse
37731.6Stv  ac_cpp_err=yes
37741.6Stvfi
37751.6Stvif test -z "$ac_cpp_err"; then
37761.39Sfredb  ac_header_preproc=yes
37771.6Stvelse
37781.6Stv  echo "$as_me: failed program was:" >&5
37791.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
37801.39Sfredb
37811.39Sfredb  ac_header_preproc=no
37821.6Stvfi
37831.6Stvrm -f conftest.err conftest.$ac_ext
37841.39Sfredbecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
37851.39Sfredbecho "${ECHO_T}$ac_header_preproc" >&6
37861.39Sfredb
37871.39Sfredb# So?  What about this header?
37881.39Sfredbcase $ac_header_compiler:$ac_header_preproc in
37891.39Sfredb  yes:no )
37901.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37911.39Sfredbecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37921.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37931.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37941.39Sfredb    (
37951.39Sfredb      cat <<\_ASBOX
37961.39Sfredb## ------------------------------------ ##
37971.39Sfredb## Report this to bug-autoconf@gnu.org. ##
37981.39Sfredb## ------------------------------------ ##
37991.39Sfredb_ASBOX
38001.39Sfredb    ) |
38011.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
38021.39Sfredb    ;;
38031.39Sfredb  no:yes )
38041.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38051.39Sfredbecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38061.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38071.39Sfredbecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38081.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38091.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38101.39Sfredb    (
38111.39Sfredb      cat <<\_ASBOX
38121.39Sfredb## ------------------------------------ ##
38131.39Sfredb## Report this to bug-autoconf@gnu.org. ##
38141.39Sfredb## ------------------------------------ ##
38151.39Sfredb_ASBOX
38161.39Sfredb    ) |
38171.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
38181.39Sfredb    ;;
38191.39Sfredbesac
38201.39Sfredbecho "$as_me:$LINENO: checking for $ac_header" >&5
38211.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38221.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
38231.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
38241.39Sfredbelse
38251.39Sfredb  eval "$as_ac_Header=$ac_header_preproc"
38261.6Stvfi
38271.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38281.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38291.39Sfredb
38301.39Sfredbfi
38311.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
38321.39Sfredb  cat >>confdefs.h <<_ACEOF
38331.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38341.39Sfredb_ACEOF
38351.6Stv
38361.6Stvelse
38371.11Stv  test -f include/$ac_header || touch include/$ac_header
38381.6Stvfi
38391.39Sfredb
38401.6Stvdone
38411.6Stv
38421.39Sfredb
38431.39Sfredb
38441.39Sfredb
38451.24Sbriggsfor ac_header in rpc/types.h getopt.h netconfig.h
38461.7Stvdo
38471.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38481.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
38491.39Sfredb  echo "$as_me:$LINENO: checking for $ac_header" >&5
38501.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38511.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
38521.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38531.39Sfredbfi
38541.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38551.39Sfredbecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38561.39Sfredbelse
38571.39Sfredb  # Is the header compilable?
38581.39Sfredbecho "$as_me:$LINENO: checking $ac_header usability" >&5
38591.39Sfredbecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38601.39Sfredbcat >conftest.$ac_ext <<_ACEOF
38611.39Sfredb#line $LINENO "configure"
38621.39Sfredb/* confdefs.h.  */
38631.39Sfredb_ACEOF
38641.39Sfredbcat confdefs.h >>conftest.$ac_ext
38651.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
38661.39Sfredb/* end confdefs.h.  */
38671.39Sfredb$ac_includes_default
38681.39Sfredb#include <$ac_header>
38691.39Sfredb_ACEOF
38701.39Sfredbrm -f conftest.$ac_objext
38711.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38721.39Sfredb  (eval $ac_compile) 2>&5
38731.39Sfredb  ac_status=$?
38741.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751.39Sfredb  (exit $ac_status); } &&
38761.39Sfredb         { ac_try='test -s conftest.$ac_objext'
38771.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38781.39Sfredb  (eval $ac_try) 2>&5
38791.39Sfredb  ac_status=$?
38801.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811.39Sfredb  (exit $ac_status); }; }; then
38821.39Sfredb  ac_header_compiler=yes
38831.7Stvelse
38841.39Sfredb  echo "$as_me: failed program was:" >&5
38851.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
38861.39Sfredb
38871.39Sfredbac_header_compiler=no
38881.39Sfredbfi
38891.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
38901.39Sfredbecho "$as_me:$LINENO: result: $ac_header_compiler" >&5
38911.39Sfredbecho "${ECHO_T}$ac_header_compiler" >&6
38921.39Sfredb
38931.39Sfredb# Is the header present?
38941.39Sfredbecho "$as_me:$LINENO: checking $ac_header presence" >&5
38951.39Sfredbecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38961.39Sfredbcat >conftest.$ac_ext <<_ACEOF
38971.39Sfredb#line $LINENO "configure"
38981.39Sfredb/* confdefs.h.  */
38991.39Sfredb_ACEOF
39001.39Sfredbcat confdefs.h >>conftest.$ac_ext
39011.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
39021.39Sfredb/* end confdefs.h.  */
39031.7Stv#include <$ac_header>
39041.7Stv_ACEOF
39051.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39061.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39071.7Stv  ac_status=$?
39081.39Sfredb  grep -v '^ *+' conftest.er1 >conftest.err
39091.7Stv  rm -f conftest.er1
39101.7Stv  cat conftest.err >&5
39111.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121.7Stv  (exit $ac_status); } >/dev/null; then
39131.7Stv  if test -s conftest.err; then
39141.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
39151.7Stv  else
39161.7Stv    ac_cpp_err=
39171.7Stv  fi
39181.7Stvelse
39191.7Stv  ac_cpp_err=yes
39201.7Stvfi
39211.7Stvif test -z "$ac_cpp_err"; then
39221.39Sfredb  ac_header_preproc=yes
39231.7Stvelse
39241.7Stv  echo "$as_me: failed program was:" >&5
39251.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
39261.39Sfredb
39271.39Sfredb  ac_header_preproc=no
39281.7Stvfi
39291.7Stvrm -f conftest.err conftest.$ac_ext
39301.39Sfredbecho "$as_me:$LINENO: result: $ac_header_preproc" >&5
39311.39Sfredbecho "${ECHO_T}$ac_header_preproc" >&6
39321.39Sfredb
39331.39Sfredb# So?  What about this header?
39341.39Sfredbcase $ac_header_compiler:$ac_header_preproc in
39351.39Sfredb  yes:no )
39361.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39371.39Sfredbecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39381.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39391.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39401.39Sfredb    (
39411.39Sfredb      cat <<\_ASBOX
39421.39Sfredb## ------------------------------------ ##
39431.39Sfredb## Report this to bug-autoconf@gnu.org. ##
39441.39Sfredb## ------------------------------------ ##
39451.39Sfredb_ASBOX
39461.39Sfredb    ) |
39471.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
39481.39Sfredb    ;;
39491.39Sfredb  no:yes )
39501.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39511.39Sfredbecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39521.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39531.39Sfredbecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39541.39Sfredb    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39551.39Sfredbecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39561.39Sfredb    (
39571.39Sfredb      cat <<\_ASBOX
39581.39Sfredb## ------------------------------------ ##
39591.39Sfredb## Report this to bug-autoconf@gnu.org. ##
39601.39Sfredb## ------------------------------------ ##
39611.39Sfredb_ASBOX
39621.39Sfredb    ) |
39631.39Sfredb      sed "s/^/$as_me: WARNING:     /" >&2
39641.39Sfredb    ;;
39651.39Sfredbesac
39661.39Sfredbecho "$as_me:$LINENO: checking for $ac_header" >&5
39671.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39681.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
39691.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
39701.39Sfredbelse
39711.39Sfredb  eval "$as_ac_Header=$ac_header_preproc"
39721.7Stvfi
39731.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39741.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39751.39Sfredb
39761.39Sfredbfi
39771.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
39781.39Sfredb  cat >>confdefs.h <<_ACEOF
39791.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39801.39Sfredb_ACEOF
39811.7Stv
39821.7Stvelse
39831.11Stv  echo '#include "config.h"' >include/$ac_header.new
39841.11Stv	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
39851.11Stv	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
39861.11Stv		rm -f include/$ac_header.new
39871.11Stv	else
39881.11Stv		mv -f include/$ac_header.new include/$ac_header
39891.11Stv	fi
39901.7Stvfi
39911.39Sfredb
39921.7Stvdone
39931.7Stv
39941.39Sfredb
39951.6Stv# Typedefs.
39961.39Sfredbecho "$as_me:$LINENO: checking for size_t" >&5
39971.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
39981.6Stvif test "${ac_cv_type_size_t+set}" = set; then
39991.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40001.6Stvelse
40011.6Stv  cat >conftest.$ac_ext <<_ACEOF
40021.39Sfredb#line $LINENO "configure"
40031.39Sfredb/* confdefs.h.  */
40041.39Sfredb_ACEOF
40051.39Sfredbcat confdefs.h >>conftest.$ac_ext
40061.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
40071.39Sfredb/* end confdefs.h.  */
40081.6Stv$ac_includes_default
40091.6Stvint
40101.6Stvmain ()
40111.6Stv{
40121.6Stvif ((size_t *) 0)
40131.6Stv  return 0;
40141.6Stvif (sizeof (size_t))
40151.6Stv  return 0;
40161.6Stv  ;
40171.6Stv  return 0;
40181.6Stv}
40191.6Stv_ACEOF
40201.6Stvrm -f conftest.$ac_objext
40211.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40221.6Stv  (eval $ac_compile) 2>&5
40231.6Stv  ac_status=$?
40241.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251.6Stv  (exit $ac_status); } &&
40261.6Stv         { ac_try='test -s conftest.$ac_objext'
40271.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281.6Stv  (eval $ac_try) 2>&5
40291.6Stv  ac_status=$?
40301.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311.6Stv  (exit $ac_status); }; }; then
40321.6Stv  ac_cv_type_size_t=yes
40331.6Stvelse
40341.6Stv  echo "$as_me: failed program was:" >&5
40351.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
40361.39Sfredb
40371.6Stvac_cv_type_size_t=no
40381.6Stvfi
40391.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
40401.6Stvfi
40411.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
40421.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
40431.6Stvif test $ac_cv_type_size_t = yes; then
40441.6Stv  :
40451.6Stvelse
40461.6Stv
40471.39Sfredbcat >>confdefs.h <<_ACEOF
40481.6Stv#define size_t unsigned
40491.39Sfredb_ACEOF
40501.6Stv
40511.6Stvfi
40521.6Stv
40531.39Sfredbecho "$as_me:$LINENO: checking for id_t" >&5
40541.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
40551.6Stvif test "${ac_cv_type_id_t+set}" = set; then
40561.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40571.6Stvelse
40581.6Stv  cat >conftest.$ac_ext <<_ACEOF
40591.39Sfredb#line $LINENO "configure"
40601.39Sfredb/* confdefs.h.  */
40611.39Sfredb_ACEOF
40621.39Sfredbcat confdefs.h >>conftest.$ac_ext
40631.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
40641.39Sfredb/* end confdefs.h.  */
40651.6Stv$ac_includes_default
40661.6Stvint
40671.6Stvmain ()
40681.6Stv{
40691.6Stvif ((id_t *) 0)
40701.6Stv  return 0;
40711.6Stvif (sizeof (id_t))
40721.6Stv  return 0;
40731.6Stv  ;
40741.6Stv  return 0;
40751.6Stv}
40761.6Stv_ACEOF
40771.6Stvrm -f conftest.$ac_objext
40781.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40791.6Stv  (eval $ac_compile) 2>&5
40801.6Stv  ac_status=$?
40811.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821.6Stv  (exit $ac_status); } &&
40831.6Stv         { ac_try='test -s conftest.$ac_objext'
40841.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851.6Stv  (eval $ac_try) 2>&5
40861.6Stv  ac_status=$?
40871.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881.6Stv  (exit $ac_status); }; }; then
40891.6Stv  ac_cv_type_id_t=yes
40901.6Stvelse
40911.6Stv  echo "$as_me: failed program was:" >&5
40921.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
40931.39Sfredb
40941.6Stvac_cv_type_id_t=no
40951.6Stvfi
40961.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
40971.6Stvfi
40981.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
40991.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
41001.6Stvif test $ac_cv_type_id_t = yes; then
41011.6Stv
41021.39Sfredbcat >>confdefs.h <<_ACEOF
41031.6Stv#define HAVE_ID_T 1
41041.39Sfredb_ACEOF
41051.39Sfredb
41061.6Stv
41071.6Stvfi
41081.39Sfredbecho "$as_me:$LINENO: checking for long long" >&5
41091.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
41101.6Stvif test "${ac_cv_type_long_long+set}" = set; then
41111.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41121.6Stvelse
41131.6Stv  cat >conftest.$ac_ext <<_ACEOF
41141.39Sfredb#line $LINENO "configure"
41151.39Sfredb/* confdefs.h.  */
41161.39Sfredb_ACEOF
41171.39Sfredbcat confdefs.h >>conftest.$ac_ext
41181.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
41191.39Sfredb/* end confdefs.h.  */
41201.6Stv$ac_includes_default
41211.6Stvint
41221.6Stvmain ()
41231.6Stv{
41241.6Stvif ((long long *) 0)
41251.6Stv  return 0;
41261.6Stvif (sizeof (long long))
41271.6Stv  return 0;
41281.6Stv  ;
41291.6Stv  return 0;
41301.6Stv}
41311.6Stv_ACEOF
41321.6Stvrm -f conftest.$ac_objext
41331.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41341.6Stv  (eval $ac_compile) 2>&5
41351.6Stv  ac_status=$?
41361.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371.6Stv  (exit $ac_status); } &&
41381.6Stv         { ac_try='test -s conftest.$ac_objext'
41391.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401.6Stv  (eval $ac_try) 2>&5
41411.6Stv  ac_status=$?
41421.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431.6Stv  (exit $ac_status); }; }; then
41441.6Stv  ac_cv_type_long_long=yes
41451.6Stvelse
41461.6Stv  echo "$as_me: failed program was:" >&5
41471.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
41481.39Sfredb
41491.6Stvac_cv_type_long_long=no
41501.6Stvfi
41511.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
41521.6Stvfi
41531.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
41541.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
41551.6Stvif test $ac_cv_type_long_long = yes; then
41561.6Stv
41571.39Sfredbcat >>confdefs.h <<_ACEOF
41581.6Stv#define HAVE_LONG_LONG 1
41591.39Sfredb_ACEOF
41601.39Sfredb
41611.6Stv
41621.6Stvfi
41631.39Sfredbecho "$as_me:$LINENO: checking for u_long" >&5
41641.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
41651.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
41661.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
41671.38Sfredbelse
41681.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
41691.39Sfredb#line $LINENO "configure"
41701.38Sfredb/* confdefs.h.  */
41711.38Sfredb_ACEOF
41721.38Sfredbcat confdefs.h >>conftest.$ac_ext
41731.38Sfredbcat >>conftest.$ac_ext <<_ACEOF
41741.38Sfredb/* end confdefs.h.  */
41751.38Sfredb$ac_includes_default
41761.38Sfredbint
41771.38Sfredbmain ()
41781.38Sfredb{
41791.38Sfredbif ((u_long *) 0)
41801.38Sfredb  return 0;
41811.38Sfredbif (sizeof (u_long))
41821.38Sfredb  return 0;
41831.38Sfredb  ;
41841.38Sfredb  return 0;
41851.38Sfredb}
41861.38Sfredb_ACEOF
41871.38Sfredbrm -f conftest.$ac_objext
41881.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41891.38Sfredb  (eval $ac_compile) 2>&5
41901.38Sfredb  ac_status=$?
41911.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921.38Sfredb  (exit $ac_status); } &&
41931.38Sfredb         { ac_try='test -s conftest.$ac_objext'
41941.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41951.38Sfredb  (eval $ac_try) 2>&5
41961.38Sfredb  ac_status=$?
41971.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981.38Sfredb  (exit $ac_status); }; }; then
41991.38Sfredb  ac_cv_type_u_long=yes
42001.38Sfredbelse
42011.38Sfredb  echo "$as_me: failed program was:" >&5
42021.38Sfredbsed 's/^/| /' conftest.$ac_ext >&5
42031.38Sfredb
42041.38Sfredbac_cv_type_u_long=no
42051.38Sfredbfi
42061.38Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
42071.38Sfredbfi
42081.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5
42091.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
42101.38Sfredbif test $ac_cv_type_u_long = yes; then
42111.38Sfredb
42121.38Sfredbcat >>confdefs.h <<_ACEOF
42131.38Sfredb#define HAVE_U_LONG 1
42141.38Sfredb_ACEOF
42151.38Sfredb
42161.39Sfredb
42171.38Sfredbfi
42181.39Sfredbecho "$as_me:$LINENO: checking for u_quad_t" >&5
42191.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
42201.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
42211.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
42221.7Stvelse
42231.7Stv  cat >conftest.$ac_ext <<_ACEOF
42241.39Sfredb#line $LINENO "configure"
42251.39Sfredb/* confdefs.h.  */
42261.39Sfredb_ACEOF
42271.39Sfredbcat confdefs.h >>conftest.$ac_ext
42281.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
42291.39Sfredb/* end confdefs.h.  */
42301.7Stv$ac_includes_default
42311.7Stvint
42321.7Stvmain ()
42331.7Stv{
42341.7Stvif ((u_quad_t *) 0)
42351.7Stv  return 0;
42361.7Stvif (sizeof (u_quad_t))
42371.7Stv  return 0;
42381.7Stv  ;
42391.7Stv  return 0;
42401.7Stv}
42411.7Stv_ACEOF
42421.7Stvrm -f conftest.$ac_objext
42431.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42441.7Stv  (eval $ac_compile) 2>&5
42451.7Stv  ac_status=$?
42461.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471.7Stv  (exit $ac_status); } &&
42481.7Stv         { ac_try='test -s conftest.$ac_objext'
42491.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42501.7Stv  (eval $ac_try) 2>&5
42511.7Stv  ac_status=$?
42521.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531.7Stv  (exit $ac_status); }; }; then
42541.7Stv  ac_cv_type_u_quad_t=yes
42551.7Stvelse
42561.7Stv  echo "$as_me: failed program was:" >&5
42571.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
42581.39Sfredb
42591.7Stvac_cv_type_u_quad_t=no
42601.7Stvfi
42611.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
42621.7Stvfi
42631.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
42641.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
42651.7Stvif test $ac_cv_type_u_quad_t = yes; then
42661.7Stv
42671.39Sfredbcat >>confdefs.h <<_ACEOF
42681.7Stv#define HAVE_U_QUAD_T 1
42691.39Sfredb_ACEOF
42701.39Sfredb
42711.7Stv
42721.7Stvfi
42731.35Sthorpej
42741.39Sfredbecho "$as_me:$LINENO: checking for socklen_t" >&5
42751.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
42761.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
42771.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
42781.34Sthorpejelse
42791.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
42801.39Sfredb#line $LINENO "configure"
42811.39Sfredb/* confdefs.h.  */
42821.39Sfredb_ACEOF
42831.39Sfredbcat confdefs.h >>conftest.$ac_ext
42841.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
42851.39Sfredb/* end confdefs.h.  */
42861.35Sthorpej#include <sys/types.h>
42871.35Sthorpej#include <sys/socket.h>
42881.35Sthorpej
42891.34Sthorpejint
42901.34Sthorpejmain ()
42911.34Sthorpej{
42921.34Sthorpejif ((socklen_t *) 0)
42931.34Sthorpej  return 0;
42941.34Sthorpejif (sizeof (socklen_t))
42951.34Sthorpej  return 0;
42961.34Sthorpej  ;
42971.34Sthorpej  return 0;
42981.34Sthorpej}
42991.34Sthorpej_ACEOF
43001.34Sthorpejrm -f conftest.$ac_objext
43011.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43021.34Sthorpej  (eval $ac_compile) 2>&5
43031.34Sthorpej  ac_status=$?
43041.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051.34Sthorpej  (exit $ac_status); } &&
43061.34Sthorpej         { ac_try='test -s conftest.$ac_objext'
43071.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081.34Sthorpej  (eval $ac_try) 2>&5
43091.34Sthorpej  ac_status=$?
43101.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111.34Sthorpej  (exit $ac_status); }; }; then
43121.34Sthorpej  ac_cv_type_socklen_t=yes
43131.34Sthorpejelse
43141.34Sthorpej  echo "$as_me: failed program was:" >&5
43151.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
43161.39Sfredb
43171.34Sthorpejac_cv_type_socklen_t=no
43181.34Sthorpejfi
43191.34Sthorpejrm -f conftest.$ac_objext conftest.$ac_ext
43201.34Sthorpejfi
43211.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
43221.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
43231.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
43241.39Sfredb  cat >>confdefs.h <<\_ACEOF
43251.34Sthorpej#define HAVE_SOCKLEN_T 1
43261.39Sfredb_ACEOF
43271.34Sthorpej
43281.34Sthorpejfi
43291.34Sthorpej
43301.39Sfredb
43311.39Sfredb
43321.39Sfredb
43331.39Sfredb
43341.39Sfredb	echo "$as_me:$LINENO: checking for uint8_t" >&5
43351.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
43361.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
43371.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43381.6Stvelse
43391.6Stv  cat >conftest.$ac_ext <<_ACEOF
43401.39Sfredb#line $LINENO "configure"
43411.39Sfredb/* confdefs.h.  */
43421.39Sfredb_ACEOF
43431.39Sfredbcat confdefs.h >>conftest.$ac_ext
43441.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
43451.39Sfredb/* end confdefs.h.  */
43461.6Stv$ac_includes_default
43471.6Stvint
43481.6Stvmain ()
43491.6Stv{
43501.9Stvif ((uint8_t *) 0)
43511.6Stv  return 0;
43521.9Stvif (sizeof (uint8_t))
43531.6Stv  return 0;
43541.6Stv  ;
43551.6Stv  return 0;
43561.6Stv}
43571.6Stv_ACEOF
43581.6Stvrm -f conftest.$ac_objext
43591.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43601.6Stv  (eval $ac_compile) 2>&5
43611.6Stv  ac_status=$?
43621.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631.6Stv  (exit $ac_status); } &&
43641.6Stv         { ac_try='test -s conftest.$ac_objext'
43651.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43661.6Stv  (eval $ac_try) 2>&5
43671.6Stv  ac_status=$?
43681.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43691.6Stv  (exit $ac_status); }; }; then
43701.9Stv  ac_cv_type_uint8_t=yes
43711.9Stvelse
43721.9Stv  echo "$as_me: failed program was:" >&5
43731.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
43741.39Sfredb
43751.9Stvac_cv_type_uint8_t=no
43761.9Stvfi
43771.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
43781.9Stvfi
43791.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
43801.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
43811.9Stvif test $ac_cv_type_uint8_t = yes; then
43821.9Stv  :
43831.9Stvelse
43841.9Stv
43851.39Sfredb		echo "$as_me:$LINENO: checking for u_int8_t" >&5
43861.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
43871.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
43881.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43891.9Stvelse
43901.9Stv  cat >conftest.$ac_ext <<_ACEOF
43911.39Sfredb#line $LINENO "configure"
43921.39Sfredb/* confdefs.h.  */
43931.39Sfredb_ACEOF
43941.39Sfredbcat confdefs.h >>conftest.$ac_ext
43951.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
43961.39Sfredb/* end confdefs.h.  */
43971.9Stv$ac_includes_default
43981.9Stvint
43991.9Stvmain ()
44001.9Stv{
44011.9Stvif ((u_int8_t *) 0)
44021.9Stv  return 0;
44031.9Stvif (sizeof (u_int8_t))
44041.9Stv  return 0;
44051.9Stv  ;
44061.9Stv  return 0;
44071.9Stv}
44081.9Stv_ACEOF
44091.9Stvrm -f conftest.$ac_objext
44101.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44111.9Stv  (eval $ac_compile) 2>&5
44121.9Stv  ac_status=$?
44131.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141.9Stv  (exit $ac_status); } &&
44151.9Stv         { ac_try='test -s conftest.$ac_objext'
44161.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44171.9Stv  (eval $ac_try) 2>&5
44181.9Stv  ac_status=$?
44191.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44201.9Stv  (exit $ac_status); }; }; then
44211.6Stv  ac_cv_type_u_int8_t=yes
44221.6Stvelse
44231.6Stv  echo "$as_me: failed program was:" >&5
44241.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
44251.39Sfredb
44261.6Stvac_cv_type_u_int8_t=no
44271.6Stvfi
44281.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
44291.6Stvfi
44301.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
44311.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
44321.9Stvif test $ac_cv_type_u_int8_t = yes; then
44331.39Sfredb  cat >>confdefs.h <<\_ACEOF
44341.9Stv#define uint8_t u_int8_t
44351.39Sfredb_ACEOF
44361.9Stv
44371.9Stvelse
44381.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint8_t" >&5
44391.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
44401.9Stv   { (exit 1); exit 1; }; }
44411.9Stvfi
44421.9Stv
44431.39Sfredb
44441.9Stvfi
44451.9Stv
44461.39Sfredb	echo "$as_me:$LINENO: checking for u_int8_t" >&5
44471.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
44481.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
44491.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44501.9Stvelse
44511.9Stv  cat >conftest.$ac_ext <<_ACEOF
44521.39Sfredb#line $LINENO "configure"
44531.39Sfredb/* confdefs.h.  */
44541.39Sfredb_ACEOF
44551.39Sfredbcat confdefs.h >>conftest.$ac_ext
44561.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
44571.39Sfredb/* end confdefs.h.  */
44581.9Stv$ac_includes_default
44591.9Stvint
44601.9Stvmain ()
44611.9Stv{
44621.9Stvif ((u_int8_t *) 0)
44631.9Stv  return 0;
44641.9Stvif (sizeof (u_int8_t))
44651.9Stv  return 0;
44661.9Stv  ;
44671.9Stv  return 0;
44681.9Stv}
44691.9Stv_ACEOF
44701.9Stvrm -f conftest.$ac_objext
44711.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44721.9Stv  (eval $ac_compile) 2>&5
44731.9Stv  ac_status=$?
44741.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751.9Stv  (exit $ac_status); } &&
44761.9Stv         { ac_try='test -s conftest.$ac_objext'
44771.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44781.9Stv  (eval $ac_try) 2>&5
44791.9Stv  ac_status=$?
44801.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811.9Stv  (exit $ac_status); }; }; then
44821.9Stv  ac_cv_type_u_int8_t=yes
44831.9Stvelse
44841.9Stv  echo "$as_me: failed program was:" >&5
44851.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
44861.39Sfredb
44871.9Stvac_cv_type_u_int8_t=no
44881.9Stvfi
44891.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
44901.9Stvfi
44911.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
44921.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
44931.6Stvif test $ac_cv_type_u_int8_t = yes; then
44941.6Stv  :
44951.6Stvelse
44961.6Stv
44971.39Sfredb		echo "$as_me:$LINENO: checking for uint8_t" >&5
44981.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
44991.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
45001.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45011.6Stvelse
45021.6Stv  cat >conftest.$ac_ext <<_ACEOF
45031.39Sfredb#line $LINENO "configure"
45041.39Sfredb/* confdefs.h.  */
45051.39Sfredb_ACEOF
45061.39Sfredbcat confdefs.h >>conftest.$ac_ext
45071.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
45081.39Sfredb/* end confdefs.h.  */
45091.6Stv$ac_includes_default
45101.6Stvint
45111.6Stvmain ()
45121.6Stv{
45131.6Stvif ((uint8_t *) 0)
45141.6Stv  return 0;
45151.6Stvif (sizeof (uint8_t))
45161.6Stv  return 0;
45171.6Stv  ;
45181.6Stv  return 0;
45191.6Stv}
45201.6Stv_ACEOF
45211.6Stvrm -f conftest.$ac_objext
45221.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45231.6Stv  (eval $ac_compile) 2>&5
45241.6Stv  ac_status=$?
45251.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261.6Stv  (exit $ac_status); } &&
45271.6Stv         { ac_try='test -s conftest.$ac_objext'
45281.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45291.6Stv  (eval $ac_try) 2>&5
45301.6Stv  ac_status=$?
45311.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321.6Stv  (exit $ac_status); }; }; then
45331.6Stv  ac_cv_type_uint8_t=yes
45341.4Stvelse
45351.4Stv  echo "$as_me: failed program was:" >&5
45361.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
45371.39Sfredb
45381.6Stvac_cv_type_uint8_t=no
45391.4Stvfi
45401.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
45411.4Stvfi
45421.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
45431.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
45441.6Stvif test $ac_cv_type_uint8_t = yes; then
45451.39Sfredb  cat >>confdefs.h <<\_ACEOF
45461.6Stv#define u_int8_t uint8_t
45471.39Sfredb_ACEOF
45481.4Stv
45491.6Stvelse
45501.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int8_t" >&5
45511.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
45521.6Stv   { (exit 1); exit 1; }; }
45531.6Stvfi
45541.6Stv
45551.39Sfredb
45561.4Stvfi
45571.4Stv
45581.39Sfredb
45591.39Sfredb
45601.39Sfredb	echo "$as_me:$LINENO: checking for uint16_t" >&5
45611.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
45621.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
45631.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45641.9Stvelse
45651.9Stv  cat >conftest.$ac_ext <<_ACEOF
45661.39Sfredb#line $LINENO "configure"
45671.39Sfredb/* confdefs.h.  */
45681.39Sfredb_ACEOF
45691.39Sfredbcat confdefs.h >>conftest.$ac_ext
45701.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
45711.39Sfredb/* end confdefs.h.  */
45721.9Stv$ac_includes_default
45731.9Stvint
45741.9Stvmain ()
45751.9Stv{
45761.9Stvif ((uint16_t *) 0)
45771.9Stv  return 0;
45781.9Stvif (sizeof (uint16_t))
45791.9Stv  return 0;
45801.9Stv  ;
45811.9Stv  return 0;
45821.9Stv}
45831.9Stv_ACEOF
45841.9Stvrm -f conftest.$ac_objext
45851.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45861.9Stv  (eval $ac_compile) 2>&5
45871.9Stv  ac_status=$?
45881.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891.9Stv  (exit $ac_status); } &&
45901.9Stv         { ac_try='test -s conftest.$ac_objext'
45911.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45921.9Stv  (eval $ac_try) 2>&5
45931.9Stv  ac_status=$?
45941.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45951.9Stv  (exit $ac_status); }; }; then
45961.9Stv  ac_cv_type_uint16_t=yes
45971.9Stvelse
45981.9Stv  echo "$as_me: failed program was:" >&5
45991.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
46001.39Sfredb
46011.9Stvac_cv_type_uint16_t=no
46021.9Stvfi
46031.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
46041.9Stvfi
46051.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
46061.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
46071.9Stvif test $ac_cv_type_uint16_t = yes; then
46081.9Stv  :
46091.9Stvelse
46101.9Stv
46111.39Sfredb		echo "$as_me:$LINENO: checking for u_int16_t" >&5
46121.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
46131.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
46141.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46151.9Stvelse
46161.9Stv  cat >conftest.$ac_ext <<_ACEOF
46171.39Sfredb#line $LINENO "configure"
46181.39Sfredb/* confdefs.h.  */
46191.39Sfredb_ACEOF
46201.39Sfredbcat confdefs.h >>conftest.$ac_ext
46211.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
46221.39Sfredb/* end confdefs.h.  */
46231.9Stv$ac_includes_default
46241.9Stvint
46251.9Stvmain ()
46261.9Stv{
46271.9Stvif ((u_int16_t *) 0)
46281.9Stv  return 0;
46291.9Stvif (sizeof (u_int16_t))
46301.9Stv  return 0;
46311.9Stv  ;
46321.9Stv  return 0;
46331.9Stv}
46341.9Stv_ACEOF
46351.9Stvrm -f conftest.$ac_objext
46361.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46371.9Stv  (eval $ac_compile) 2>&5
46381.9Stv  ac_status=$?
46391.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401.9Stv  (exit $ac_status); } &&
46411.9Stv         { ac_try='test -s conftest.$ac_objext'
46421.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46431.9Stv  (eval $ac_try) 2>&5
46441.9Stv  ac_status=$?
46451.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461.9Stv  (exit $ac_status); }; }; then
46471.9Stv  ac_cv_type_u_int16_t=yes
46481.9Stvelse
46491.9Stv  echo "$as_me: failed program was:" >&5
46501.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
46511.39Sfredb
46521.9Stvac_cv_type_u_int16_t=no
46531.9Stvfi
46541.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
46551.9Stvfi
46561.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
46571.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
46581.9Stvif test $ac_cv_type_u_int16_t = yes; then
46591.39Sfredb  cat >>confdefs.h <<\_ACEOF
46601.9Stv#define uint16_t u_int16_t
46611.39Sfredb_ACEOF
46621.9Stv
46631.9Stvelse
46641.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint16_t" >&5
46651.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
46661.9Stv   { (exit 1); exit 1; }; }
46671.9Stvfi
46681.9Stv
46691.39Sfredb
46701.9Stvfi
46711.9Stv
46721.39Sfredb	echo "$as_me:$LINENO: checking for u_int16_t" >&5
46731.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
46741.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
46751.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
46761.1Stvelse
46771.1Stv  cat >conftest.$ac_ext <<_ACEOF
46781.39Sfredb#line $LINENO "configure"
46791.39Sfredb/* confdefs.h.  */
46801.39Sfredb_ACEOF
46811.39Sfredbcat confdefs.h >>conftest.$ac_ext
46821.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
46831.39Sfredb/* end confdefs.h.  */
46841.6Stv$ac_includes_default
46851.6Stvint
46861.6Stvmain ()
46871.6Stv{
46881.6Stvif ((u_int16_t *) 0)
46891.6Stv  return 0;
46901.6Stvif (sizeof (u_int16_t))
46911.6Stv  return 0;
46921.6Stv  ;
46931.6Stv  return 0;
46941.6Stv}
46951.1Stv_ACEOF
46961.6Stvrm -f conftest.$ac_objext
46971.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46981.6Stv  (eval $ac_compile) 2>&5
46991.6Stv  ac_status=$?
47001.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011.6Stv  (exit $ac_status); } &&
47021.6Stv         { ac_try='test -s conftest.$ac_objext'
47031.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47041.6Stv  (eval $ac_try) 2>&5
47051.1Stv  ac_status=$?
47061.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071.6Stv  (exit $ac_status); }; }; then
47081.6Stv  ac_cv_type_u_int16_t=yes
47091.1Stvelse
47101.6Stv  echo "$as_me: failed program was:" >&5
47111.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
47121.39Sfredb
47131.6Stvac_cv_type_u_int16_t=no
47141.6Stvfi
47151.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
47161.1Stvfi
47171.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
47181.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
47191.6Stvif test $ac_cv_type_u_int16_t = yes; then
47201.6Stv  :
47211.1Stvelse
47221.1Stv
47231.39Sfredb		echo "$as_me:$LINENO: checking for uint16_t" >&5
47241.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
47251.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
47261.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47271.6Stvelse
47281.1Stv  cat >conftest.$ac_ext <<_ACEOF
47291.39Sfredb#line $LINENO "configure"
47301.39Sfredb/* confdefs.h.  */
47311.39Sfredb_ACEOF
47321.39Sfredbcat confdefs.h >>conftest.$ac_ext
47331.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
47341.39Sfredb/* end confdefs.h.  */
47351.6Stv$ac_includes_default
47361.6Stvint
47371.6Stvmain ()
47381.6Stv{
47391.6Stvif ((uint16_t *) 0)
47401.6Stv  return 0;
47411.6Stvif (sizeof (uint16_t))
47421.6Stv  return 0;
47431.6Stv  ;
47441.6Stv  return 0;
47451.6Stv}
47461.1Stv_ACEOF
47471.6Stvrm -f conftest.$ac_objext
47481.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47491.6Stv  (eval $ac_compile) 2>&5
47501.6Stv  ac_status=$?
47511.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521.6Stv  (exit $ac_status); } &&
47531.6Stv         { ac_try='test -s conftest.$ac_objext'
47541.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47551.6Stv  (eval $ac_try) 2>&5
47561.6Stv  ac_status=$?
47571.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581.6Stv  (exit $ac_status); }; }; then
47591.6Stv  ac_cv_type_uint16_t=yes
47601.1Stvelse
47611.6Stv  echo "$as_me: failed program was:" >&5
47621.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
47631.39Sfredb
47641.6Stvac_cv_type_uint16_t=no
47651.1Stvfi
47661.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
47671.1Stvfi
47681.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
47691.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
47701.6Stvif test $ac_cv_type_uint16_t = yes; then
47711.39Sfredb  cat >>confdefs.h <<\_ACEOF
47721.6Stv#define u_int16_t uint16_t
47731.39Sfredb_ACEOF
47741.1Stv
47751.1Stvelse
47761.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int16_t" >&5
47771.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
47781.6Stv   { (exit 1); exit 1; }; }
47791.1Stvfi
47801.1Stv
47811.39Sfredb
47821.1Stvfi
47831.1Stv
47841.39Sfredb
47851.39Sfredb
47861.39Sfredb	echo "$as_me:$LINENO: checking for uint32_t" >&5
47871.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
47881.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
47891.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47901.9Stvelse
47911.9Stv  cat >conftest.$ac_ext <<_ACEOF
47921.39Sfredb#line $LINENO "configure"
47931.39Sfredb/* confdefs.h.  */
47941.39Sfredb_ACEOF
47951.39Sfredbcat confdefs.h >>conftest.$ac_ext
47961.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
47971.39Sfredb/* end confdefs.h.  */
47981.9Stv$ac_includes_default
47991.9Stvint
48001.9Stvmain ()
48011.9Stv{
48021.9Stvif ((uint32_t *) 0)
48031.9Stv  return 0;
48041.9Stvif (sizeof (uint32_t))
48051.9Stv  return 0;
48061.9Stv  ;
48071.9Stv  return 0;
48081.9Stv}
48091.9Stv_ACEOF
48101.9Stvrm -f conftest.$ac_objext
48111.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48121.9Stv  (eval $ac_compile) 2>&5
48131.9Stv  ac_status=$?
48141.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151.9Stv  (exit $ac_status); } &&
48161.9Stv         { ac_try='test -s conftest.$ac_objext'
48171.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48181.9Stv  (eval $ac_try) 2>&5
48191.9Stv  ac_status=$?
48201.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48211.9Stv  (exit $ac_status); }; }; then
48221.9Stv  ac_cv_type_uint32_t=yes
48231.9Stvelse
48241.9Stv  echo "$as_me: failed program was:" >&5
48251.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
48261.39Sfredb
48271.9Stvac_cv_type_uint32_t=no
48281.9Stvfi
48291.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
48301.9Stvfi
48311.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
48321.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
48331.9Stvif test $ac_cv_type_uint32_t = yes; then
48341.9Stv  :
48351.9Stvelse
48361.9Stv
48371.39Sfredb		echo "$as_me:$LINENO: checking for u_int32_t" >&5
48381.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
48391.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
48401.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48411.1Stvelse
48421.1Stv  cat >conftest.$ac_ext <<_ACEOF
48431.39Sfredb#line $LINENO "configure"
48441.39Sfredb/* confdefs.h.  */
48451.39Sfredb_ACEOF
48461.39Sfredbcat confdefs.h >>conftest.$ac_ext
48471.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
48481.39Sfredb/* end confdefs.h.  */
48491.9Stv$ac_includes_default
48501.9Stvint
48511.9Stvmain ()
48521.9Stv{
48531.9Stvif ((u_int32_t *) 0)
48541.9Stv  return 0;
48551.9Stvif (sizeof (u_int32_t))
48561.9Stv  return 0;
48571.9Stv  ;
48581.9Stv  return 0;
48591.9Stv}
48601.9Stv_ACEOF
48611.9Stvrm -f conftest.$ac_objext
48621.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48631.9Stv  (eval $ac_compile) 2>&5
48641.9Stv  ac_status=$?
48651.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48661.9Stv  (exit $ac_status); } &&
48671.9Stv         { ac_try='test -s conftest.$ac_objext'
48681.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48691.9Stv  (eval $ac_try) 2>&5
48701.9Stv  ac_status=$?
48711.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721.9Stv  (exit $ac_status); }; }; then
48731.9Stv  ac_cv_type_u_int32_t=yes
48741.9Stvelse
48751.9Stv  echo "$as_me: failed program was:" >&5
48761.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
48771.39Sfredb
48781.9Stvac_cv_type_u_int32_t=no
48791.9Stvfi
48801.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
48811.9Stvfi
48821.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
48831.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
48841.9Stvif test $ac_cv_type_u_int32_t = yes; then
48851.39Sfredb  cat >>confdefs.h <<\_ACEOF
48861.9Stv#define uint32_t u_int32_t
48871.39Sfredb_ACEOF
48881.9Stv
48891.9Stvelse
48901.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint32_t" >&5
48911.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
48921.9Stv   { (exit 1); exit 1; }; }
48931.9Stvfi
48941.9Stv
48951.39Sfredb
48961.9Stvfi
48971.9Stv
48981.39Sfredb	echo "$as_me:$LINENO: checking for u_int32_t" >&5
48991.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
49001.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
49011.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
49021.9Stvelse
49031.9Stv  cat >conftest.$ac_ext <<_ACEOF
49041.39Sfredb#line $LINENO "configure"
49051.39Sfredb/* confdefs.h.  */
49061.39Sfredb_ACEOF
49071.39Sfredbcat confdefs.h >>conftest.$ac_ext
49081.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
49091.39Sfredb/* end confdefs.h.  */
49101.6Stv$ac_includes_default
49111.1Stvint
49121.1Stvmain ()
49131.1Stv{
49141.6Stvif ((u_int32_t *) 0)
49151.6Stv  return 0;
49161.6Stvif (sizeof (u_int32_t))
49171.6Stv  return 0;
49181.6Stv  ;
49191.6Stv  return 0;
49201.1Stv}
49211.1Stv_ACEOF
49221.6Stvrm -f conftest.$ac_objext
49231.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49241.6Stv  (eval $ac_compile) 2>&5
49251.1Stv  ac_status=$?
49261.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271.6Stv  (exit $ac_status); } &&
49281.6Stv         { ac_try='test -s conftest.$ac_objext'
49291.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49301.1Stv  (eval $ac_try) 2>&5
49311.1Stv  ac_status=$?
49321.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49331.1Stv  (exit $ac_status); }; }; then
49341.6Stv  ac_cv_type_u_int32_t=yes
49351.1Stvelse
49361.6Stv  echo "$as_me: failed program was:" >&5
49371.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
49381.39Sfredb
49391.6Stvac_cv_type_u_int32_t=no
49401.1Stvfi
49411.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
49421.1Stvfi
49431.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
49441.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
49451.6Stvif test $ac_cv_type_u_int32_t = yes; then
49461.6Stv  :
49471.6Stvelse
49481.1Stv
49491.39Sfredb		echo "$as_me:$LINENO: checking for uint32_t" >&5
49501.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
49511.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
49521.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
49531.1Stvelse
49541.1Stv  cat >conftest.$ac_ext <<_ACEOF
49551.39Sfredb#line $LINENO "configure"
49561.39Sfredb/* confdefs.h.  */
49571.39Sfredb_ACEOF
49581.39Sfredbcat confdefs.h >>conftest.$ac_ext
49591.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
49601.39Sfredb/* end confdefs.h.  */
49611.1Stv$ac_includes_default
49621.6Stvint
49631.6Stvmain ()
49641.6Stv{
49651.6Stvif ((uint32_t *) 0)
49661.6Stv  return 0;
49671.6Stvif (sizeof (uint32_t))
49681.6Stv  return 0;
49691.6Stv  ;
49701.6Stv  return 0;
49711.6Stv}
49721.1Stv_ACEOF
49731.1Stvrm -f conftest.$ac_objext
49741.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49751.1Stv  (eval $ac_compile) 2>&5
49761.1Stv  ac_status=$?
49771.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49781.1Stv  (exit $ac_status); } &&
49791.1Stv         { ac_try='test -s conftest.$ac_objext'
49801.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49811.1Stv  (eval $ac_try) 2>&5
49821.1Stv  ac_status=$?
49831.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49841.1Stv  (exit $ac_status); }; }; then
49851.6Stv  ac_cv_type_uint32_t=yes
49861.1Stvelse
49871.1Stv  echo "$as_me: failed program was:" >&5
49881.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
49891.39Sfredb
49901.6Stvac_cv_type_uint32_t=no
49911.1Stvfi
49921.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
49931.1Stvfi
49941.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
49951.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
49961.6Stvif test $ac_cv_type_uint32_t = yes; then
49971.39Sfredb  cat >>confdefs.h <<\_ACEOF
49981.6Stv#define u_int32_t uint32_t
49991.39Sfredb_ACEOF
50001.1Stv
50011.6Stvelse
50021.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int32_t" >&5
50031.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
50041.6Stv   { (exit 1); exit 1; }; }
50051.6Stvfi
50061.6Stv
50071.39Sfredb
50081.1Stvfi
50091.1Stv
50101.39Sfredb
50111.39Sfredb
50121.39Sfredb	echo "$as_me:$LINENO: checking for uint64_t" >&5
50131.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
50141.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
50151.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
50161.9Stvelse
50171.9Stv  cat >conftest.$ac_ext <<_ACEOF
50181.39Sfredb#line $LINENO "configure"
50191.39Sfredb/* confdefs.h.  */
50201.39Sfredb_ACEOF
50211.39Sfredbcat confdefs.h >>conftest.$ac_ext
50221.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
50231.39Sfredb/* end confdefs.h.  */
50241.9Stv$ac_includes_default
50251.9Stvint
50261.9Stvmain ()
50271.9Stv{
50281.9Stvif ((uint64_t *) 0)
50291.9Stv  return 0;
50301.9Stvif (sizeof (uint64_t))
50311.9Stv  return 0;
50321.9Stv  ;
50331.9Stv  return 0;
50341.9Stv}
50351.9Stv_ACEOF
50361.9Stvrm -f conftest.$ac_objext
50371.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50381.9Stv  (eval $ac_compile) 2>&5
50391.9Stv  ac_status=$?
50401.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411.9Stv  (exit $ac_status); } &&
50421.9Stv         { ac_try='test -s conftest.$ac_objext'
50431.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50441.9Stv  (eval $ac_try) 2>&5
50451.9Stv  ac_status=$?
50461.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50471.9Stv  (exit $ac_status); }; }; then
50481.9Stv  ac_cv_type_uint64_t=yes
50491.9Stvelse
50501.9Stv  echo "$as_me: failed program was:" >&5
50511.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
50521.39Sfredb
50531.9Stvac_cv_type_uint64_t=no
50541.9Stvfi
50551.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
50561.9Stvfi
50571.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
50581.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
50591.9Stvif test $ac_cv_type_uint64_t = yes; then
50601.9Stv  :
50611.9Stvelse
50621.9Stv
50631.39Sfredb		echo "$as_me:$LINENO: checking for u_int64_t" >&5
50641.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
50651.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
50661.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
50671.9Stvelse
50681.9Stv  cat >conftest.$ac_ext <<_ACEOF
50691.39Sfredb#line $LINENO "configure"
50701.39Sfredb/* confdefs.h.  */
50711.39Sfredb_ACEOF
50721.39Sfredbcat confdefs.h >>conftest.$ac_ext
50731.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
50741.39Sfredb/* end confdefs.h.  */
50751.9Stv$ac_includes_default
50761.9Stvint
50771.9Stvmain ()
50781.9Stv{
50791.9Stvif ((u_int64_t *) 0)
50801.9Stv  return 0;
50811.9Stvif (sizeof (u_int64_t))
50821.9Stv  return 0;
50831.9Stv  ;
50841.9Stv  return 0;
50851.9Stv}
50861.9Stv_ACEOF
50871.9Stvrm -f conftest.$ac_objext
50881.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50891.9Stv  (eval $ac_compile) 2>&5
50901.9Stv  ac_status=$?
50911.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50921.9Stv  (exit $ac_status); } &&
50931.9Stv         { ac_try='test -s conftest.$ac_objext'
50941.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50951.9Stv  (eval $ac_try) 2>&5
50961.9Stv  ac_status=$?
50971.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981.9Stv  (exit $ac_status); }; }; then
50991.9Stv  ac_cv_type_u_int64_t=yes
51001.9Stvelse
51011.9Stv  echo "$as_me: failed program was:" >&5
51021.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
51031.39Sfredb
51041.9Stvac_cv_type_u_int64_t=no
51051.9Stvfi
51061.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
51071.9Stvfi
51081.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
51091.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
51101.9Stvif test $ac_cv_type_u_int64_t = yes; then
51111.39Sfredb  cat >>confdefs.h <<\_ACEOF
51121.9Stv#define uint64_t u_int64_t
51131.39Sfredb_ACEOF
51141.9Stv
51151.9Stvelse
51161.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint64_t" >&5
51171.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
51181.9Stv   { (exit 1); exit 1; }; }
51191.9Stvfi
51201.9Stv
51211.39Sfredb
51221.9Stvfi
51231.9Stv
51241.39Sfredb	echo "$as_me:$LINENO: checking for u_int64_t" >&5
51251.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
51261.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
51271.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51281.1Stvelse
51291.1Stv  cat >conftest.$ac_ext <<_ACEOF
51301.39Sfredb#line $LINENO "configure"
51311.39Sfredb/* confdefs.h.  */
51321.39Sfredb_ACEOF
51331.39Sfredbcat confdefs.h >>conftest.$ac_ext
51341.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
51351.39Sfredb/* end confdefs.h.  */
51361.1Stv$ac_includes_default
51371.1Stvint
51381.1Stvmain ()
51391.1Stv{
51401.6Stvif ((u_int64_t *) 0)
51411.1Stv  return 0;
51421.6Stvif (sizeof (u_int64_t))
51431.1Stv  return 0;
51441.1Stv  ;
51451.1Stv  return 0;
51461.1Stv}
51471.1Stv_ACEOF
51481.1Stvrm -f conftest.$ac_objext
51491.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51501.1Stv  (eval $ac_compile) 2>&5
51511.1Stv  ac_status=$?
51521.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531.1Stv  (exit $ac_status); } &&
51541.1Stv         { ac_try='test -s conftest.$ac_objext'
51551.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51561.1Stv  (eval $ac_try) 2>&5
51571.1Stv  ac_status=$?
51581.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
51591.1Stv  (exit $ac_status); }; }; then
51601.6Stv  ac_cv_type_u_int64_t=yes
51611.1Stvelse
51621.1Stv  echo "$as_me: failed program was:" >&5
51631.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
51641.39Sfredb
51651.6Stvac_cv_type_u_int64_t=no
51661.1Stvfi
51671.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
51681.1Stvfi
51691.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
51701.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
51711.6Stvif test $ac_cv_type_u_int64_t = yes; then
51721.1Stv  :
51731.1Stvelse
51741.1Stv
51751.39Sfredb		echo "$as_me:$LINENO: checking for uint64_t" >&5
51761.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
51771.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
51781.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51791.1Stvelse
51801.1Stv  cat >conftest.$ac_ext <<_ACEOF
51811.39Sfredb#line $LINENO "configure"
51821.39Sfredb/* confdefs.h.  */
51831.39Sfredb_ACEOF
51841.39Sfredbcat confdefs.h >>conftest.$ac_ext
51851.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
51861.39Sfredb/* end confdefs.h.  */
51871.4Stv$ac_includes_default
51881.4Stvint
51891.4Stvmain ()
51901.4Stv{
51911.6Stvif ((uint64_t *) 0)
51921.4Stv  return 0;
51931.6Stvif (sizeof (uint64_t))
51941.4Stv  return 0;
51951.4Stv  ;
51961.4Stv  return 0;
51971.4Stv}
51981.1Stv_ACEOF
51991.4Stvrm -f conftest.$ac_objext
52001.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52011.4Stv  (eval $ac_compile) 2>&5
52021.4Stv  ac_status=$?
52031.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52041.4Stv  (exit $ac_status); } &&
52051.4Stv         { ac_try='test -s conftest.$ac_objext'
52061.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52071.4Stv  (eval $ac_try) 2>&5
52081.4Stv  ac_status=$?
52091.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52101.4Stv  (exit $ac_status); }; }; then
52111.6Stv  ac_cv_type_uint64_t=yes
52121.4Stvelse
52131.4Stv  echo "$as_me: failed program was:" >&5
52141.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
52151.39Sfredb
52161.6Stvac_cv_type_uint64_t=no
52171.4Stvfi
52181.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
52191.4Stvfi
52201.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
52211.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
52221.6Stvif test $ac_cv_type_uint64_t = yes; then
52231.39Sfredb  cat >>confdefs.h <<\_ACEOF
52241.6Stv#define u_int64_t uint64_t
52251.39Sfredb_ACEOF
52261.4Stv
52271.6Stvelse
52281.39Sfredb  { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int64_t" >&5
52291.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
52301.6Stv   { (exit 1); exit 1; }; }
52311.6Stvfi
52321.4Stv
52331.39Sfredb
52341.4Stvfi
52351.4Stv
52361.39Sfredb
52371.39Sfredb
52381.4Stv# Struct members.
52391.39Sfredbecho "$as_me:$LINENO: checking for DIR.dd_fd" >&5
52401.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
52411.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
52421.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52431.7Stvelse
52441.7Stv  cat >conftest.$ac_ext <<_ACEOF
52451.39Sfredb#line $LINENO "configure"
52461.39Sfredb/* confdefs.h.  */
52471.39Sfredb_ACEOF
52481.39Sfredbcat confdefs.h >>conftest.$ac_ext
52491.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
52501.39Sfredb/* end confdefs.h.  */
52511.32Sthorpej#include <sys/types.h>
52521.7Stv#include <dirent.h>
52531.7Stv
52541.7Stvint
52551.7Stvmain ()
52561.7Stv{
52571.7Stvstatic DIR ac_aggr;
52581.7Stvif (ac_aggr.dd_fd)
52591.7Stvreturn 0;
52601.7Stv  ;
52611.7Stv  return 0;
52621.7Stv}
52631.7Stv_ACEOF
52641.7Stvrm -f conftest.$ac_objext
52651.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52661.39Sfredb  (eval $ac_compile) 2>&5
52671.39Sfredb  ac_status=$?
52681.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52691.39Sfredb  (exit $ac_status); } &&
52701.39Sfredb         { ac_try='test -s conftest.$ac_objext'
52711.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52721.39Sfredb  (eval $ac_try) 2>&5
52731.39Sfredb  ac_status=$?
52741.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
52751.39Sfredb  (exit $ac_status); }; }; then
52761.39Sfredb  ac_cv_member_DIR_dd_fd=yes
52771.39Sfredbelse
52781.39Sfredb  echo "$as_me: failed program was:" >&5
52791.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
52801.39Sfredb
52811.39Sfredbcat >conftest.$ac_ext <<_ACEOF
52821.39Sfredb#line $LINENO "configure"
52831.39Sfredb/* confdefs.h.  */
52841.39Sfredb_ACEOF
52851.39Sfredbcat confdefs.h >>conftest.$ac_ext
52861.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
52871.39Sfredb/* end confdefs.h.  */
52881.39Sfredb#include <sys/types.h>
52891.39Sfredb#include <dirent.h>
52901.39Sfredb
52911.39Sfredbint
52921.39Sfredbmain ()
52931.39Sfredb{
52941.39Sfredbstatic DIR ac_aggr;
52951.39Sfredbif (sizeof ac_aggr.dd_fd)
52961.39Sfredbreturn 0;
52971.39Sfredb  ;
52981.39Sfredb  return 0;
52991.39Sfredb}
53001.39Sfredb_ACEOF
53011.39Sfredbrm -f conftest.$ac_objext
53021.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53031.7Stv  (eval $ac_compile) 2>&5
53041.7Stv  ac_status=$?
53051.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061.7Stv  (exit $ac_status); } &&
53071.7Stv         { ac_try='test -s conftest.$ac_objext'
53081.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53091.7Stv  (eval $ac_try) 2>&5
53101.7Stv  ac_status=$?
53111.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53121.7Stv  (exit $ac_status); }; }; then
53131.7Stv  ac_cv_member_DIR_dd_fd=yes
53141.7Stvelse
53151.7Stv  echo "$as_me: failed program was:" >&5
53161.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
53171.39Sfredb
53181.7Stvac_cv_member_DIR_dd_fd=no
53191.7Stvfi
53201.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
53211.7Stvfi
53221.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
53231.39Sfredbfi
53241.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
53251.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
53261.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
53271.7Stv
53281.39Sfredbcat >>confdefs.h <<_ACEOF
53291.7Stv#define HAVE_DIR_DD_FD 1
53301.39Sfredb_ACEOF
53311.39Sfredb
53321.7Stv
53331.7Stvfi
53341.39Sfredbecho "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5
53351.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
53361.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
53371.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
53381.8Stvelse
53391.8Stv  cat >conftest.$ac_ext <<_ACEOF
53401.39Sfredb#line $LINENO "configure"
53411.39Sfredb/* confdefs.h.  */
53421.39Sfredb_ACEOF
53431.39Sfredbcat confdefs.h >>conftest.$ac_ext
53441.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
53451.39Sfredb/* end confdefs.h.  */
53461.32Sthorpej#include <sys/types.h>
53471.8Stv#include <dirent.h>
53481.8Stv
53491.8Stvint
53501.8Stvmain ()
53511.8Stv{
53521.8Stvstatic struct dirent ac_aggr;
53531.8Stvif (ac_aggr.d_namlen)
53541.8Stvreturn 0;
53551.8Stv  ;
53561.8Stv  return 0;
53571.8Stv}
53581.8Stv_ACEOF
53591.8Stvrm -f conftest.$ac_objext
53601.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53611.39Sfredb  (eval $ac_compile) 2>&5
53621.39Sfredb  ac_status=$?
53631.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53641.39Sfredb  (exit $ac_status); } &&
53651.39Sfredb         { ac_try='test -s conftest.$ac_objext'
53661.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53671.39Sfredb  (eval $ac_try) 2>&5
53681.39Sfredb  ac_status=$?
53691.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701.39Sfredb  (exit $ac_status); }; }; then
53711.39Sfredb  ac_cv_member_struct_dirent_d_namlen=yes
53721.39Sfredbelse
53731.39Sfredb  echo "$as_me: failed program was:" >&5
53741.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
53751.39Sfredb
53761.39Sfredbcat >conftest.$ac_ext <<_ACEOF
53771.39Sfredb#line $LINENO "configure"
53781.39Sfredb/* confdefs.h.  */
53791.39Sfredb_ACEOF
53801.39Sfredbcat confdefs.h >>conftest.$ac_ext
53811.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
53821.39Sfredb/* end confdefs.h.  */
53831.39Sfredb#include <sys/types.h>
53841.39Sfredb#include <dirent.h>
53851.39Sfredb
53861.39Sfredbint
53871.39Sfredbmain ()
53881.39Sfredb{
53891.39Sfredbstatic struct dirent ac_aggr;
53901.39Sfredbif (sizeof ac_aggr.d_namlen)
53911.39Sfredbreturn 0;
53921.39Sfredb  ;
53931.39Sfredb  return 0;
53941.39Sfredb}
53951.39Sfredb_ACEOF
53961.39Sfredbrm -f conftest.$ac_objext
53971.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53981.8Stv  (eval $ac_compile) 2>&5
53991.8Stv  ac_status=$?
54001.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011.8Stv  (exit $ac_status); } &&
54021.8Stv         { ac_try='test -s conftest.$ac_objext'
54031.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54041.8Stv  (eval $ac_try) 2>&5
54051.8Stv  ac_status=$?
54061.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54071.8Stv  (exit $ac_status); }; }; then
54081.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
54091.8Stvelse
54101.8Stv  echo "$as_me: failed program was:" >&5
54111.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
54121.39Sfredb
54131.8Stvac_cv_member_struct_dirent_d_namlen=no
54141.8Stvfi
54151.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
54161.8Stvfi
54171.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
54181.39Sfredbfi
54191.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5
54201.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
54211.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
54221.8Stv
54231.39Sfredbcat >>confdefs.h <<_ACEOF
54241.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
54251.39Sfredb_ACEOF
54261.39Sfredb
54271.39Sfredb
54281.39Sfredbfi
54291.39Sfredb
54301.39Sfredbecho "$as_me:$LINENO: checking for struct stat.st_flags" >&5
54311.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
54321.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
54331.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
54341.39Sfredbelse
54351.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
54361.39Sfredb#line $LINENO "configure"
54371.39Sfredb/* confdefs.h.  */
54381.39Sfredb_ACEOF
54391.39Sfredbcat confdefs.h >>conftest.$ac_ext
54401.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
54411.39Sfredb/* end confdefs.h.  */
54421.39Sfredb#include <sys/stat.h>
54431.39Sfredb
54441.39Sfredbint
54451.39Sfredbmain ()
54461.39Sfredb{
54471.39Sfredbstatic struct stat ac_aggr;
54481.39Sfredbif (ac_aggr.st_flags)
54491.39Sfredbreturn 0;
54501.39Sfredb  ;
54511.39Sfredb  return 0;
54521.39Sfredb}
54531.39Sfredb_ACEOF
54541.39Sfredbrm -f conftest.$ac_objext
54551.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54561.39Sfredb  (eval $ac_compile) 2>&5
54571.39Sfredb  ac_status=$?
54581.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54591.39Sfredb  (exit $ac_status); } &&
54601.39Sfredb         { ac_try='test -s conftest.$ac_objext'
54611.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54621.39Sfredb  (eval $ac_try) 2>&5
54631.39Sfredb  ac_status=$?
54641.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651.39Sfredb  (exit $ac_status); }; }; then
54661.39Sfredb  ac_cv_member_struct_stat_st_flags=yes
54671.39Sfredbelse
54681.39Sfredb  echo "$as_me: failed program was:" >&5
54691.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
54701.39Sfredb
54711.39Sfredbcat >conftest.$ac_ext <<_ACEOF
54721.39Sfredb#line $LINENO "configure"
54731.39Sfredb/* confdefs.h.  */
54741.39Sfredb_ACEOF
54751.39Sfredbcat confdefs.h >>conftest.$ac_ext
54761.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
54771.39Sfredb/* end confdefs.h.  */
54781.39Sfredb#include <sys/stat.h>
54791.39Sfredb
54801.39Sfredbint
54811.39Sfredbmain ()
54821.39Sfredb{
54831.39Sfredbstatic struct stat ac_aggr;
54841.39Sfredbif (sizeof ac_aggr.st_flags)
54851.39Sfredbreturn 0;
54861.39Sfredb  ;
54871.39Sfredb  return 0;
54881.39Sfredb}
54891.39Sfredb_ACEOF
54901.39Sfredbrm -f conftest.$ac_objext
54911.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54921.39Sfredb  (eval $ac_compile) 2>&5
54931.39Sfredb  ac_status=$?
54941.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951.39Sfredb  (exit $ac_status); } &&
54961.39Sfredb         { ac_try='test -s conftest.$ac_objext'
54971.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54981.39Sfredb  (eval $ac_try) 2>&5
54991.39Sfredb  ac_status=$?
55001.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55011.39Sfredb  (exit $ac_status); }; }; then
55021.39Sfredb  ac_cv_member_struct_stat_st_flags=yes
55031.39Sfredbelse
55041.39Sfredb  echo "$as_me: failed program was:" >&5
55051.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
55061.39Sfredb
55071.39Sfredbac_cv_member_struct_stat_st_flags=no
55081.39Sfredbfi
55091.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
55101.39Sfredbfi
55111.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
55121.39Sfredbfi
55131.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
55141.39Sfredbecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
55151.39Sfredbif test $ac_cv_member_struct_stat_st_flags = yes; then
55161.39Sfredb
55171.39Sfredbcat >>confdefs.h <<_ACEOF
55181.39Sfredb#define HAVE_STRUCT_STAT_ST_FLAGS 1
55191.39Sfredb_ACEOF
55201.39Sfredb
55211.39Sfredb
55221.39Sfredbfi
55231.39Sfredbecho "$as_me:$LINENO: checking for struct stat.st_gen" >&5
55241.39Sfredbecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
55251.39Sfredbif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
55261.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
55271.39Sfredbelse
55281.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
55291.39Sfredb#line $LINENO "configure"
55301.39Sfredb/* confdefs.h.  */
55311.39Sfredb_ACEOF
55321.39Sfredbcat confdefs.h >>conftest.$ac_ext
55331.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
55341.39Sfredb/* end confdefs.h.  */
55351.39Sfredb#include <sys/stat.h>
55361.39Sfredb
55371.39Sfredbint
55381.39Sfredbmain ()
55391.39Sfredb{
55401.39Sfredbstatic struct stat ac_aggr;
55411.39Sfredbif (ac_aggr.st_gen)
55421.39Sfredbreturn 0;
55431.39Sfredb  ;
55441.39Sfredb  return 0;
55451.39Sfredb}
55461.39Sfredb_ACEOF
55471.39Sfredbrm -f conftest.$ac_objext
55481.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55491.39Sfredb  (eval $ac_compile) 2>&5
55501.39Sfredb  ac_status=$?
55511.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55521.39Sfredb  (exit $ac_status); } &&
55531.39Sfredb         { ac_try='test -s conftest.$ac_objext'
55541.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55551.39Sfredb  (eval $ac_try) 2>&5
55561.39Sfredb  ac_status=$?
55571.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581.39Sfredb  (exit $ac_status); }; }; then
55591.39Sfredb  ac_cv_member_struct_stat_st_gen=yes
55601.39Sfredbelse
55611.39Sfredb  echo "$as_me: failed program was:" >&5
55621.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
55631.39Sfredb
55641.39Sfredbcat >conftest.$ac_ext <<_ACEOF
55651.39Sfredb#line $LINENO "configure"
55661.39Sfredb/* confdefs.h.  */
55671.39Sfredb_ACEOF
55681.39Sfredbcat confdefs.h >>conftest.$ac_ext
55691.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
55701.39Sfredb/* end confdefs.h.  */
55711.4Stv#include <sys/stat.h>
55721.4Stv
55731.4Stvint
55741.4Stvmain ()
55751.4Stv{
55761.4Stvstatic struct stat ac_aggr;
55771.39Sfredbif (sizeof ac_aggr.st_gen)
55781.4Stvreturn 0;
55791.4Stv  ;
55801.4Stv  return 0;
55811.4Stv}
55821.4Stv_ACEOF
55831.4Stvrm -f conftest.$ac_objext
55841.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55851.4Stv  (eval $ac_compile) 2>&5
55861.4Stv  ac_status=$?
55871.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55881.4Stv  (exit $ac_status); } &&
55891.4Stv         { ac_try='test -s conftest.$ac_objext'
55901.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55911.4Stv  (eval $ac_try) 2>&5
55921.4Stv  ac_status=$?
55931.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
55941.4Stv  (exit $ac_status); }; }; then
55951.39Sfredb  ac_cv_member_struct_stat_st_gen=yes
55961.4Stvelse
55971.4Stv  echo "$as_me: failed program was:" >&5
55981.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
55991.39Sfredb
56001.39Sfredbac_cv_member_struct_stat_st_gen=no
56011.39Sfredbfi
56021.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
56031.4Stvfi
56041.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
56051.4Stvfi
56061.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
56071.39Sfredbecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
56081.39Sfredbif test $ac_cv_member_struct_stat_st_gen = yes; then
56091.39Sfredb
56101.39Sfredbcat >>confdefs.h <<_ACEOF
56111.39Sfredb#define HAVE_STRUCT_STAT_ST_GEN 1
56121.39Sfredb_ACEOF
56131.4Stv
56141.4Stv
56151.4Stvfi
56161.40Satatatecho "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5
56171.40Satatatecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
56181.40Satatatif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
56191.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
56201.40Satatatelse
56211.40Satatat  cat >conftest.$ac_ext <<_ACEOF
56221.40Satatat#line $LINENO "configure"
56231.40Satatat/* confdefs.h.  */
56241.40Satatat_ACEOF
56251.40Satatatcat confdefs.h >>conftest.$ac_ext
56261.40Satatatcat >>conftest.$ac_ext <<_ACEOF
56271.40Satatat/* end confdefs.h.  */
56281.40Satatat#include <sys/stat.h>
56291.40Satatat
56301.40Satatatint
56311.40Satatatmain ()
56321.40Satatat{
56331.40Satatatstatic struct stat ac_aggr;
56341.40Satatatif (ac_aggr.st_birthtime)
56351.40Satatatreturn 0;
56361.40Satatat  ;
56371.40Satatat  return 0;
56381.40Satatat}
56391.40Satatat_ACEOF
56401.40Satatatrm -f conftest.$ac_objext
56411.40Satatatif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56421.40Satatat  (eval $ac_compile) 2>&5
56431.40Satatat  ac_status=$?
56441.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56451.40Satatat  (exit $ac_status); } &&
56461.40Satatat         { ac_try='test -s conftest.$ac_objext'
56471.40Satatat  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56481.40Satatat  (eval $ac_try) 2>&5
56491.40Satatat  ac_status=$?
56501.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56511.40Satatat  (exit $ac_status); }; }; then
56521.40Satatat  ac_cv_member_struct_stat_st_birthtime=yes
56531.40Satatatelse
56541.40Satatat  echo "$as_me: failed program was:" >&5
56551.40Satatatsed 's/^/| /' conftest.$ac_ext >&5
56561.40Satatat
56571.40Satatatcat >conftest.$ac_ext <<_ACEOF
56581.40Satatat#line $LINENO "configure"
56591.40Satatat/* confdefs.h.  */
56601.40Satatat_ACEOF
56611.40Satatatcat confdefs.h >>conftest.$ac_ext
56621.40Satatatcat >>conftest.$ac_ext <<_ACEOF
56631.40Satatat/* end confdefs.h.  */
56641.40Satatat#include <sys/stat.h>
56651.40Satatat
56661.40Satatatint
56671.40Satatatmain ()
56681.40Satatat{
56691.40Satatatstatic struct stat ac_aggr;
56701.40Satatatif (sizeof ac_aggr.st_birthtime)
56711.40Satatatreturn 0;
56721.40Satatat  ;
56731.40Satatat  return 0;
56741.40Satatat}
56751.40Satatat_ACEOF
56761.40Satatatrm -f conftest.$ac_objext
56771.40Satatatif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56781.40Satatat  (eval $ac_compile) 2>&5
56791.40Satatat  ac_status=$?
56801.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56811.40Satatat  (exit $ac_status); } &&
56821.40Satatat         { ac_try='test -s conftest.$ac_objext'
56831.40Satatat  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56841.40Satatat  (eval $ac_try) 2>&5
56851.40Satatat  ac_status=$?
56861.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56871.40Satatat  (exit $ac_status); }; }; then
56881.40Satatat  ac_cv_member_struct_stat_st_birthtime=yes
56891.40Satatatelse
56901.40Satatat  echo "$as_me: failed program was:" >&5
56911.40Satatatsed 's/^/| /' conftest.$ac_ext >&5
56921.40Satatat
56931.40Satatatac_cv_member_struct_stat_st_birthtime=no
56941.40Satatatfi
56951.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
56961.40Satatatfi
56971.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
56981.40Satatatfi
56991.40Satatatecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5
57001.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
57011.40Satatatif test $ac_cv_member_struct_stat_st_birthtime = yes; then
57021.40Satatat
57031.40Satatatcat >>confdefs.h <<_ACEOF
57041.40Satatat#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
57051.40Satatat_ACEOF
57061.40Satatat
57071.40Satatat
57081.40Satatatfi
57091.40Satatatecho "$as_me:$LINENO: checking for struct stat.st_atim" >&5
57101.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
57111.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
57121.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
57131.40Satatatelse
57141.40Satatat  cat >conftest.$ac_ext <<_ACEOF
57151.40Satatat#line $LINENO "configure"
57161.40Satatat/* confdefs.h.  */
57171.40Satatat_ACEOF
57181.40Satatatcat confdefs.h >>conftest.$ac_ext
57191.40Satatatcat >>conftest.$ac_ext <<_ACEOF
57201.40Satatat/* end confdefs.h.  */
57211.40Satatat#include <sys/stat.h>
57221.40Satatat
57231.40Satatatint
57241.40Satatatmain ()
57251.40Satatat{
57261.40Satatatstatic struct stat ac_aggr;
57271.40Satatatif (ac_aggr.st_atim)
57281.40Satatatreturn 0;
57291.40Satatat  ;
57301.40Satatat  return 0;
57311.40Satatat}
57321.40Satatat_ACEOF
57331.40Satatatrm -f conftest.$ac_objext
57341.40Satatatif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57351.40Satatat  (eval $ac_compile) 2>&5
57361.40Satatat  ac_status=$?
57371.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57381.40Satatat  (exit $ac_status); } &&
57391.40Satatat         { ac_try='test -s conftest.$ac_objext'
57401.40Satatat  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57411.40Satatat  (eval $ac_try) 2>&5
57421.40Satatat  ac_status=$?
57431.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57441.40Satatat  (exit $ac_status); }; }; then
57451.40Satatat  ac_cv_member_struct_stat_st_atim=yes
57461.40Satatatelse
57471.40Satatat  echo "$as_me: failed program was:" >&5
57481.40Satatatsed 's/^/| /' conftest.$ac_ext >&5
57491.40Satatat
57501.40Satatatcat >conftest.$ac_ext <<_ACEOF
57511.40Satatat#line $LINENO "configure"
57521.40Satatat/* confdefs.h.  */
57531.40Satatat_ACEOF
57541.40Satatatcat confdefs.h >>conftest.$ac_ext
57551.40Satatatcat >>conftest.$ac_ext <<_ACEOF
57561.40Satatat/* end confdefs.h.  */
57571.40Satatat#include <sys/stat.h>
57581.40Satatat
57591.40Satatatint
57601.40Satatatmain ()
57611.40Satatat{
57621.40Satatatstatic struct stat ac_aggr;
57631.40Satatatif (sizeof ac_aggr.st_atim)
57641.40Satatatreturn 0;
57651.40Satatat  ;
57661.40Satatat  return 0;
57671.40Satatat}
57681.40Satatat_ACEOF
57691.40Satatatrm -f conftest.$ac_objext
57701.40Satatatif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57711.40Satatat  (eval $ac_compile) 2>&5
57721.40Satatat  ac_status=$?
57731.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57741.40Satatat  (exit $ac_status); } &&
57751.40Satatat         { ac_try='test -s conftest.$ac_objext'
57761.40Satatat  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57771.40Satatat  (eval $ac_try) 2>&5
57781.40Satatat  ac_status=$?
57791.40Satatat  echo "$as_me:$LINENO: \$? = $ac_status" >&5
57801.40Satatat  (exit $ac_status); }; }; then
57811.40Satatat  ac_cv_member_struct_stat_st_atim=yes
57821.40Satatatelse
57831.40Satatat  echo "$as_me: failed program was:" >&5
57841.40Satatatsed 's/^/| /' conftest.$ac_ext >&5
57851.40Satatat
57861.40Satatatac_cv_member_struct_stat_st_atim=no
57871.40Satatatfi
57881.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
57891.40Satatatfi
57901.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
57911.40Satatatfi
57921.40Satatatecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
57931.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
57941.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then
57951.40Satatat
57961.40Satatatcat >>confdefs.h <<_ACEOF
57971.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1
57981.40Satatat_ACEOF
57991.40Satatat
58001.40Satatat
58011.40Satatatfi
58021.39Sfredbecho "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5
58031.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
58041.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
58051.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
58061.7Stvelse
58071.7Stv  cat >conftest.$ac_ext <<_ACEOF
58081.39Sfredb#line $LINENO "configure"
58091.39Sfredb/* confdefs.h.  */
58101.39Sfredb_ACEOF
58111.39Sfredbcat confdefs.h >>conftest.$ac_ext
58121.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
58131.39Sfredb/* end confdefs.h.  */
58141.7Stv#include <sys/stat.h>
58151.7Stv
58161.7Stvint
58171.7Stvmain ()
58181.7Stv{
58191.7Stvstatic struct stat ac_aggr;
58201.39Sfredbif (ac_aggr.st_mtimensec)
58211.7Stvreturn 0;
58221.7Stv  ;
58231.7Stv  return 0;
58241.7Stv}
58251.7Stv_ACEOF
58261.7Stvrm -f conftest.$ac_objext
58271.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58281.7Stv  (eval $ac_compile) 2>&5
58291.7Stv  ac_status=$?
58301.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58311.7Stv  (exit $ac_status); } &&
58321.7Stv         { ac_try='test -s conftest.$ac_objext'
58331.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58341.7Stv  (eval $ac_try) 2>&5
58351.7Stv  ac_status=$?
58361.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58371.7Stv  (exit $ac_status); }; }; then
58381.39Sfredb  ac_cv_member_struct_stat_st_mtimensec=yes
58391.7Stvelse
58401.7Stv  echo "$as_me: failed program was:" >&5
58411.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
58421.7Stv
58431.39Sfredbcat >conftest.$ac_ext <<_ACEOF
58441.39Sfredb#line $LINENO "configure"
58451.39Sfredb/* confdefs.h.  */
58461.39Sfredb_ACEOF
58471.39Sfredbcat confdefs.h >>conftest.$ac_ext
58481.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
58491.39Sfredb/* end confdefs.h.  */
58501.7Stv#include <sys/stat.h>
58511.7Stv
58521.7Stvint
58531.7Stvmain ()
58541.7Stv{
58551.7Stvstatic struct stat ac_aggr;
58561.39Sfredbif (sizeof ac_aggr.st_mtimensec)
58571.7Stvreturn 0;
58581.7Stv  ;
58591.7Stv  return 0;
58601.7Stv}
58611.7Stv_ACEOF
58621.7Stvrm -f conftest.$ac_objext
58631.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58641.7Stv  (eval $ac_compile) 2>&5
58651.7Stv  ac_status=$?
58661.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58671.7Stv  (exit $ac_status); } &&
58681.7Stv         { ac_try='test -s conftest.$ac_objext'
58691.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58701.7Stv  (eval $ac_try) 2>&5
58711.7Stv  ac_status=$?
58721.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
58731.7Stv  (exit $ac_status); }; }; then
58741.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
58751.7Stvelse
58761.7Stv  echo "$as_me: failed program was:" >&5
58771.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
58781.39Sfredb
58791.7Stvac_cv_member_struct_stat_st_mtimensec=no
58801.7Stvfi
58811.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
58821.7Stvfi
58831.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
58841.39Sfredbfi
58851.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
58861.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
58871.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
58881.7Stv
58891.39Sfredbcat >>confdefs.h <<_ACEOF
58901.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
58911.39Sfredb_ACEOF
58921.39Sfredb
58931.7Stv
58941.7Stvfi
58951.4Stv
58961.39Sfredbecho "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5
58971.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
58981.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
58991.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
59001.6Stvelse
59011.6Stv  cat >conftest.$ac_ext <<_ACEOF
59021.39Sfredb#line $LINENO "configure"
59031.39Sfredb/* confdefs.h.  */
59041.39Sfredb_ACEOF
59051.39Sfredbcat confdefs.h >>conftest.$ac_ext
59061.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
59071.39Sfredb/* end confdefs.h.  */
59081.7Stv#include <sys/mount.h>
59091.6Stv
59101.6Stvint
59111.6Stvmain ()
59121.6Stv{
59131.7Stvstatic struct statfs ac_aggr;
59141.7Stvif (ac_aggr.f_iosize)
59151.6Stvreturn 0;
59161.6Stv  ;
59171.6Stv  return 0;
59181.6Stv}
59191.6Stv_ACEOF
59201.6Stvrm -f conftest.$ac_objext
59211.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59221.39Sfredb  (eval $ac_compile) 2>&5
59231.39Sfredb  ac_status=$?
59241.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59251.39Sfredb  (exit $ac_status); } &&
59261.39Sfredb         { ac_try='test -s conftest.$ac_objext'
59271.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59281.39Sfredb  (eval $ac_try) 2>&5
59291.39Sfredb  ac_status=$?
59301.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59311.39Sfredb  (exit $ac_status); }; }; then
59321.39Sfredb  ac_cv_member_struct_statfs_f_iosize=yes
59331.39Sfredbelse
59341.39Sfredb  echo "$as_me: failed program was:" >&5
59351.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
59361.39Sfredb
59371.39Sfredbcat >conftest.$ac_ext <<_ACEOF
59381.39Sfredb#line $LINENO "configure"
59391.39Sfredb/* confdefs.h.  */
59401.39Sfredb_ACEOF
59411.39Sfredbcat confdefs.h >>conftest.$ac_ext
59421.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
59431.39Sfredb/* end confdefs.h.  */
59441.39Sfredb#include <sys/mount.h>
59451.39Sfredb
59461.39Sfredbint
59471.39Sfredbmain ()
59481.39Sfredb{
59491.39Sfredbstatic struct statfs ac_aggr;
59501.39Sfredbif (sizeof ac_aggr.f_iosize)
59511.39Sfredbreturn 0;
59521.39Sfredb  ;
59531.39Sfredb  return 0;
59541.39Sfredb}
59551.39Sfredb_ACEOF
59561.39Sfredbrm -f conftest.$ac_objext
59571.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59581.6Stv  (eval $ac_compile) 2>&5
59591.6Stv  ac_status=$?
59601.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611.6Stv  (exit $ac_status); } &&
59621.6Stv         { ac_try='test -s conftest.$ac_objext'
59631.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59641.6Stv  (eval $ac_try) 2>&5
59651.6Stv  ac_status=$?
59661.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
59671.6Stv  (exit $ac_status); }; }; then
59681.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
59691.6Stvelse
59701.6Stv  echo "$as_me: failed program was:" >&5
59711.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
59721.39Sfredb
59731.7Stvac_cv_member_struct_statfs_f_iosize=no
59741.6Stvfi
59751.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
59761.6Stvfi
59771.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
59781.39Sfredbfi
59791.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5
59801.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
59811.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
59821.6Stv
59831.39Sfredbcat >>confdefs.h <<_ACEOF
59841.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
59851.39Sfredb_ACEOF
59861.39Sfredb
59871.6Stv
59881.6Stvfi
59891.6Stv
59901.39Sfredb
59911.4Stv# Global variable decls.
59921.39Sfredbecho "$as_me:$LINENO: checking whether optind is declared" >&5
59931.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
59941.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
59951.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
59961.7Stvelse
59971.7Stv  cat >conftest.$ac_ext <<_ACEOF
59981.39Sfredb#line $LINENO "configure"
59991.39Sfredb/* confdefs.h.  */
60001.39Sfredb_ACEOF
60011.39Sfredbcat confdefs.h >>conftest.$ac_ext
60021.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
60031.39Sfredb/* end confdefs.h.  */
60041.7Stv
60051.7Stv#include <stdio.h>
60061.7Stv#include <stdlib.h>
60071.7Stv#include <unistd.h>
60081.7Stv
60091.39Sfredb
60101.7Stvint
60111.7Stvmain ()
60121.7Stv{
60131.7Stv#ifndef optind
60141.7Stv  char *p = (char *) optind;
60151.7Stv#endif
60161.7Stv
60171.7Stv  ;
60181.7Stv  return 0;
60191.7Stv}
60201.7Stv_ACEOF
60211.7Stvrm -f conftest.$ac_objext
60221.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60231.7Stv  (eval $ac_compile) 2>&5
60241.7Stv  ac_status=$?
60251.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60261.7Stv  (exit $ac_status); } &&
60271.7Stv         { ac_try='test -s conftest.$ac_objext'
60281.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60291.7Stv  (eval $ac_try) 2>&5
60301.7Stv  ac_status=$?
60311.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60321.7Stv  (exit $ac_status); }; }; then
60331.7Stv  ac_cv_have_decl_optind=yes
60341.7Stvelse
60351.7Stv  echo "$as_me: failed program was:" >&5
60361.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
60371.39Sfredb
60381.7Stvac_cv_have_decl_optind=no
60391.7Stvfi
60401.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
60411.7Stvfi
60421.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
60431.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
60441.7Stvif test $ac_cv_have_decl_optind = yes; then
60451.7Stv
60461.39Sfredbcat >>confdefs.h <<_ACEOF
60471.7Stv#define HAVE_DECL_OPTIND 1
60481.39Sfredb_ACEOF
60491.39Sfredb
60501.7Stv
60511.7Stvelse
60521.39Sfredb  cat >>confdefs.h <<_ACEOF
60531.7Stv#define HAVE_DECL_OPTIND 0
60541.39Sfredb_ACEOF
60551.39Sfredb
60561.7Stv
60571.7Stvfi
60581.39Sfredbecho "$as_me:$LINENO: checking whether optreset is declared" >&5
60591.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
60601.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
60611.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
60621.7Stvelse
60631.7Stv  cat >conftest.$ac_ext <<_ACEOF
60641.39Sfredb#line $LINENO "configure"
60651.39Sfredb/* confdefs.h.  */
60661.39Sfredb_ACEOF
60671.39Sfredbcat confdefs.h >>conftest.$ac_ext
60681.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
60691.39Sfredb/* end confdefs.h.  */
60701.7Stv
60711.7Stv#include <stdio.h>
60721.7Stv#include <stdlib.h>
60731.7Stv#include <unistd.h>
60741.7Stv
60751.39Sfredb
60761.7Stvint
60771.7Stvmain ()
60781.7Stv{
60791.7Stv#ifndef optreset
60801.7Stv  char *p = (char *) optreset;
60811.7Stv#endif
60821.7Stv
60831.7Stv  ;
60841.7Stv  return 0;
60851.7Stv}
60861.7Stv_ACEOF
60871.7Stvrm -f conftest.$ac_objext
60881.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60891.7Stv  (eval $ac_compile) 2>&5
60901.7Stv  ac_status=$?
60911.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921.7Stv  (exit $ac_status); } &&
60931.7Stv         { ac_try='test -s conftest.$ac_objext'
60941.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60951.7Stv  (eval $ac_try) 2>&5
60961.7Stv  ac_status=$?
60971.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
60981.7Stv  (exit $ac_status); }; }; then
60991.7Stv  ac_cv_have_decl_optreset=yes
61001.7Stvelse
61011.7Stv  echo "$as_me: failed program was:" >&5
61021.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
61031.39Sfredb
61041.7Stvac_cv_have_decl_optreset=no
61051.7Stvfi
61061.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
61071.7Stvfi
61081.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
61091.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
61101.7Stvif test $ac_cv_have_decl_optreset = yes; then
61111.7Stv
61121.39Sfredbcat >>confdefs.h <<_ACEOF
61131.7Stv#define HAVE_DECL_OPTRESET 1
61141.39Sfredb_ACEOF
61151.39Sfredb
61161.7Stv
61171.7Stvelse
61181.39Sfredb  cat >>confdefs.h <<_ACEOF
61191.7Stv#define HAVE_DECL_OPTRESET 0
61201.39Sfredb_ACEOF
61211.39Sfredb
61221.7Stv
61231.7Stvfi
61241.7Stv
61251.39Sfredb
61261.39Sfredbecho "$as_me:$LINENO: checking whether sys_signame is declared" >&5
61271.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
61281.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
61291.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
61301.4Stvelse
61311.4Stv  cat >conftest.$ac_ext <<_ACEOF
61321.39Sfredb#line $LINENO "configure"
61331.39Sfredb/* confdefs.h.  */
61341.39Sfredb_ACEOF
61351.39Sfredbcat confdefs.h >>conftest.$ac_ext
61361.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
61371.39Sfredb/* end confdefs.h.  */
61381.4Stv#include <signal.h>
61391.4Stv
61401.4Stvint
61411.4Stvmain ()
61421.4Stv{
61431.4Stv#ifndef sys_signame
61441.4Stv  char *p = (char *) sys_signame;
61451.4Stv#endif
61461.4Stv
61471.4Stv  ;
61481.4Stv  return 0;
61491.4Stv}
61501.4Stv_ACEOF
61511.4Stvrm -f conftest.$ac_objext
61521.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61531.4Stv  (eval $ac_compile) 2>&5
61541.4Stv  ac_status=$?
61551.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61561.4Stv  (exit $ac_status); } &&
61571.4Stv         { ac_try='test -s conftest.$ac_objext'
61581.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61591.4Stv  (eval $ac_try) 2>&5
61601.4Stv  ac_status=$?
61611.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621.4Stv  (exit $ac_status); }; }; then
61631.4Stv  ac_cv_have_decl_sys_signame=yes
61641.4Stvelse
61651.4Stv  echo "$as_me: failed program was:" >&5
61661.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
61671.39Sfredb
61681.4Stvac_cv_have_decl_sys_signame=no
61691.4Stvfi
61701.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
61711.4Stvfi
61721.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
61731.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
61741.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
61751.4Stv
61761.39Sfredbcat >>confdefs.h <<_ACEOF
61771.4Stv#define HAVE_DECL_SYS_SIGNAME 1
61781.39Sfredb_ACEOF
61791.39Sfredb
61801.4Stv
61811.4Stvelse
61821.39Sfredb  cat >>confdefs.h <<_ACEOF
61831.4Stv#define HAVE_DECL_SYS_SIGNAME 0
61841.39Sfredb_ACEOF
61851.39Sfredb
61861.4Stv
61871.4Stvfi
61881.4Stv
61891.39Sfredb
61901.39Sfredb
61911.4Stv# Library functions (where a .h check isn't enough).
61921.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
61931.19Sbjh21# for constant arguments.  Useless!
61941.39Sfredbecho "$as_me:$LINENO: checking for working alloca.h" >&5
61951.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
61961.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
61971.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
61981.19Sbjh21else
61991.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
62001.39Sfredb#line $LINENO "configure"
62011.39Sfredb/* confdefs.h.  */
62021.39Sfredb_ACEOF
62031.39Sfredbcat confdefs.h >>conftest.$ac_ext
62041.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
62051.39Sfredb/* end confdefs.h.  */
62061.19Sbjh21#include <alloca.h>
62071.19Sbjh21int
62081.19Sbjh21main ()
62091.19Sbjh21{
62101.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
62111.19Sbjh21  ;
62121.19Sbjh21  return 0;
62131.19Sbjh21}
62141.19Sbjh21_ACEOF
62151.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
62161.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62171.19Sbjh21  (eval $ac_link) 2>&5
62181.19Sbjh21  ac_status=$?
62191.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201.19Sbjh21  (exit $ac_status); } &&
62211.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
62221.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231.19Sbjh21  (eval $ac_try) 2>&5
62241.19Sbjh21  ac_status=$?
62251.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62261.19Sbjh21  (exit $ac_status); }; }; then
62271.19Sbjh21  ac_cv_working_alloca_h=yes
62281.19Sbjh21else
62291.19Sbjh21  echo "$as_me: failed program was:" >&5
62301.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
62311.39Sfredb
62321.19Sbjh21ac_cv_working_alloca_h=no
62331.19Sbjh21fi
62341.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62351.19Sbjh21fi
62361.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
62371.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
62381.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
62391.19Sbjh21
62401.39Sfredbcat >>confdefs.h <<\_ACEOF
62411.19Sbjh21#define HAVE_ALLOCA_H 1
62421.39Sfredb_ACEOF
62431.19Sbjh21
62441.19Sbjh21fi
62451.19Sbjh21
62461.39Sfredbecho "$as_me:$LINENO: checking for alloca" >&5
62471.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
62481.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
62491.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
62501.19Sbjh21else
62511.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
62521.39Sfredb#line $LINENO "configure"
62531.39Sfredb/* confdefs.h.  */
62541.39Sfredb_ACEOF
62551.39Sfredbcat confdefs.h >>conftest.$ac_ext
62561.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
62571.39Sfredb/* end confdefs.h.  */
62581.19Sbjh21#ifdef __GNUC__
62591.19Sbjh21# define alloca __builtin_alloca
62601.19Sbjh21#else
62611.19Sbjh21# ifdef _MSC_VER
62621.19Sbjh21#  include <malloc.h>
62631.19Sbjh21#  define alloca _alloca
62641.19Sbjh21# else
62651.19Sbjh21#  if HAVE_ALLOCA_H
62661.19Sbjh21#   include <alloca.h>
62671.19Sbjh21#  else
62681.19Sbjh21#   ifdef _AIX
62691.19Sbjh21 #pragma alloca
62701.19Sbjh21#   else
62711.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
62721.19Sbjh21char *alloca ();
62731.19Sbjh21#    endif
62741.19Sbjh21#   endif
62751.19Sbjh21#  endif
62761.19Sbjh21# endif
62771.19Sbjh21#endif
62781.19Sbjh21
62791.19Sbjh21int
62801.19Sbjh21main ()
62811.19Sbjh21{
62821.19Sbjh21char *p = (char *) alloca (1);
62831.19Sbjh21  ;
62841.19Sbjh21  return 0;
62851.19Sbjh21}
62861.19Sbjh21_ACEOF
62871.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
62881.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62891.19Sbjh21  (eval $ac_link) 2>&5
62901.19Sbjh21  ac_status=$?
62911.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62921.19Sbjh21  (exit $ac_status); } &&
62931.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
62941.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62951.19Sbjh21  (eval $ac_try) 2>&5
62961.19Sbjh21  ac_status=$?
62971.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62981.19Sbjh21  (exit $ac_status); }; }; then
62991.19Sbjh21  ac_cv_func_alloca_works=yes
63001.19Sbjh21else
63011.19Sbjh21  echo "$as_me: failed program was:" >&5
63021.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
63031.39Sfredb
63041.19Sbjh21ac_cv_func_alloca_works=no
63051.19Sbjh21fi
63061.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63071.19Sbjh21fi
63081.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
63091.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
63101.19Sbjh21
63111.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
63121.19Sbjh21
63131.39Sfredbcat >>confdefs.h <<\_ACEOF
63141.19Sbjh21#define HAVE_ALLOCA 1
63151.39Sfredb_ACEOF
63161.19Sbjh21
63171.19Sbjh21else
63181.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
63191.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
63201.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
63211.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
63221.19Sbjh21
63231.19Sbjh21ALLOCA=alloca.$ac_objext
63241.19Sbjh21
63251.39Sfredbcat >>confdefs.h <<\_ACEOF
63261.19Sbjh21#define C_ALLOCA 1
63271.39Sfredb_ACEOF
63281.19Sbjh21
63291.39Sfredb
63301.39Sfredbecho "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
63311.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
63321.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
63331.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
63341.19Sbjh21else
63351.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
63361.39Sfredb#line $LINENO "configure"
63371.39Sfredb/* confdefs.h.  */
63381.39Sfredb_ACEOF
63391.39Sfredbcat confdefs.h >>conftest.$ac_ext
63401.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
63411.39Sfredb/* end confdefs.h.  */
63421.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
63431.19Sbjh21webecray
63441.19Sbjh21#else
63451.19Sbjh21wenotbecray
63461.19Sbjh21#endif
63471.19Sbjh21
63481.19Sbjh21_ACEOF
63491.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
63501.39Sfredb  $EGREP "webecray" >/dev/null 2>&1; then
63511.19Sbjh21  ac_cv_os_cray=yes
63521.19Sbjh21else
63531.19Sbjh21  ac_cv_os_cray=no
63541.19Sbjh21fi
63551.19Sbjh21rm -f conftest*
63561.19Sbjh21
63571.19Sbjh21fi
63581.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
63591.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
63601.19Sbjh21if test $ac_cv_os_cray = yes; then
63611.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
63621.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63631.39Sfredbecho "$as_me:$LINENO: checking for $ac_func" >&5
63641.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63651.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
63661.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
63671.19Sbjh21else
63681.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
63691.39Sfredb#line $LINENO "configure"
63701.39Sfredb/* confdefs.h.  */
63711.39Sfredb_ACEOF
63721.39Sfredbcat confdefs.h >>conftest.$ac_ext
63731.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
63741.39Sfredb/* end confdefs.h.  */
63751.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
63761.39Sfredb    which can conflict with char $ac_func (); below.
63771.39Sfredb    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63781.39Sfredb    <limits.h> exists even on freestanding compilers.  */
63791.39Sfredb#ifdef __STDC__
63801.39Sfredb# include <limits.h>
63811.39Sfredb#else
63821.39Sfredb# include <assert.h>
63831.39Sfredb#endif
63841.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
63851.19Sbjh21#ifdef __cplusplus
63861.19Sbjh21extern "C"
63871.39Sfredb{
63881.19Sbjh21#endif
63891.19Sbjh21/* We use char because int might match the return type of a gcc2
63901.19Sbjh21   builtin and then its argument prototype would still apply.  */
63911.19Sbjh21char $ac_func ();
63921.19Sbjh21/* The GNU C library defines this for functions which it implements
63931.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
63941.19Sbjh21    something starting with __ and the normal name is an alias.  */
63951.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63961.19Sbjh21choke me
63971.19Sbjh21#else
63981.39Sfredbchar (*f) () = $ac_func;
63991.39Sfredb#endif
64001.39Sfredb#ifdef __cplusplus
64011.39Sfredb}
64021.19Sbjh21#endif
64031.19Sbjh21
64041.39Sfredbint
64051.39Sfredbmain ()
64061.39Sfredb{
64071.39Sfredbreturn f != $ac_func;
64081.19Sbjh21  ;
64091.19Sbjh21  return 0;
64101.19Sbjh21}
64111.19Sbjh21_ACEOF
64121.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
64131.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64141.19Sbjh21  (eval $ac_link) 2>&5
64151.19Sbjh21  ac_status=$?
64161.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171.19Sbjh21  (exit $ac_status); } &&
64181.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
64191.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64201.19Sbjh21  (eval $ac_try) 2>&5
64211.19Sbjh21  ac_status=$?
64221.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64231.19Sbjh21  (exit $ac_status); }; }; then
64241.19Sbjh21  eval "$as_ac_var=yes"
64251.19Sbjh21else
64261.19Sbjh21  echo "$as_me: failed program was:" >&5
64271.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
64281.39Sfredb
64291.19Sbjh21eval "$as_ac_var=no"
64301.19Sbjh21fi
64311.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64321.19Sbjh21fi
64331.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64341.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64351.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
64361.19Sbjh21
64371.39Sfredbcat >>confdefs.h <<_ACEOF
64381.19Sbjh21#define CRAY_STACKSEG_END $ac_func
64391.39Sfredb_ACEOF
64401.19Sbjh21
64411.19Sbjh21    break
64421.19Sbjh21fi
64431.19Sbjh21
64441.19Sbjh21  done
64451.19Sbjh21fi
64461.19Sbjh21
64471.39Sfredbecho "$as_me:$LINENO: checking stack direction for C alloca" >&5
64481.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
64491.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
64501.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
64511.19Sbjh21else
64521.19Sbjh21  if test "$cross_compiling" = yes; then
64531.19Sbjh21  ac_cv_c_stack_direction=0
64541.19Sbjh21else
64551.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
64561.39Sfredb#line $LINENO "configure"
64571.39Sfredb/* confdefs.h.  */
64581.39Sfredb_ACEOF
64591.39Sfredbcat confdefs.h >>conftest.$ac_ext
64601.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
64611.39Sfredb/* end confdefs.h.  */
64621.19Sbjh21int
64631.19Sbjh21find_stack_direction ()
64641.19Sbjh21{
64651.19Sbjh21  static char *addr = 0;
64661.19Sbjh21  auto char dummy;
64671.19Sbjh21  if (addr == 0)
64681.19Sbjh21    {
64691.19Sbjh21      addr = &dummy;
64701.19Sbjh21      return find_stack_direction ();
64711.19Sbjh21    }
64721.19Sbjh21  else
64731.19Sbjh21    return (&dummy > addr) ? 1 : -1;
64741.19Sbjh21}
64751.19Sbjh21
64761.19Sbjh21int
64771.19Sbjh21main ()
64781.19Sbjh21{
64791.19Sbjh21  exit (find_stack_direction () < 0);
64801.19Sbjh21}
64811.19Sbjh21_ACEOF
64821.19Sbjh21rm -f conftest$ac_exeext
64831.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64841.19Sbjh21  (eval $ac_link) 2>&5
64851.19Sbjh21  ac_status=$?
64861.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871.19Sbjh21  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
64881.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64891.19Sbjh21  (eval $ac_try) 2>&5
64901.19Sbjh21  ac_status=$?
64911.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
64921.19Sbjh21  (exit $ac_status); }; }; then
64931.19Sbjh21  ac_cv_c_stack_direction=1
64941.19Sbjh21else
64951.19Sbjh21  echo "$as_me: program exited with status $ac_status" >&5
64961.19Sbjh21echo "$as_me: failed program was:" >&5
64971.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
64981.39Sfredb
64991.39Sfredb( exit $ac_status )
65001.19Sbjh21ac_cv_c_stack_direction=-1
65011.19Sbjh21fi
65021.39Sfredbrm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
65031.19Sbjh21fi
65041.19Sbjh21fi
65051.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
65061.19Sbjh21echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
65071.19Sbjh21
65081.39Sfredbcat >>confdefs.h <<_ACEOF
65091.19Sbjh21#define STACK_DIRECTION $ac_cv_c_stack_direction
65101.39Sfredb_ACEOF
65111.39Sfredb
65121.19Sbjh21
65131.19Sbjh21fi
65141.19Sbjh21
65151.39Sfredb
65161.39Sfredb
65171.39Sfredb
65181.39Sfredb
65191.39Sfredb
65201.39Sfredb
65211.39Sfredb
65221.39Sfredb
65231.39Sfredb
65241.39Sfredb
65251.39Sfredb
65261.39Sfredb
65271.39Sfredb
65281.39Sfredb
65291.39Sfredb
65301.39Sfredb
65311.39Sfredb
65321.39Sfredb
65331.39Sfredb
65341.39Sfredb
65351.39Sfredb
65361.39Sfredb
65371.39Sfredb
65381.39Sfredb
65391.39Sfredb
65401.39Sfredb
65411.39Sfredb
65421.39Sfredb
65431.39Sfredb
65441.39Sfredb
65451.39Sfredb
65461.39Sfredb
65471.39Sfredb
65481.39Sfredb
65491.39Sfredb
65501.39Sfredb
65511.39Sfredb
65521.39Sfredb
65531.39Sfredb
65541.39Sfredb
65551.40Satatat
65561.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
65571.7Stv	fgetln flock fparseln futimes getopt getopt_long \
65581.26Slukem	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
65591.36Sthorpej	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
65601.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
65611.29Slukem	strsuftoll strtoll \
65621.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
65631.1Stvdo
65641.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65651.39Sfredbecho "$as_me:$LINENO: checking for $ac_func" >&5
65661.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65671.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
65681.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
65691.1Stvelse
65701.1Stv  cat >conftest.$ac_ext <<_ACEOF
65711.39Sfredb#line $LINENO "configure"
65721.39Sfredb/* confdefs.h.  */
65731.39Sfredb_ACEOF
65741.39Sfredbcat confdefs.h >>conftest.$ac_ext
65751.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
65761.39Sfredb/* end confdefs.h.  */
65771.39Sfredb/* System header to define __stub macros and hopefully few prototypes,
65781.39Sfredb    which can conflict with char $ac_func (); below.
65791.39Sfredb    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65801.39Sfredb    <limits.h> exists even on freestanding compilers.  */
65811.39Sfredb#ifdef __STDC__
65821.39Sfredb# include <limits.h>
65831.39Sfredb#else
65841.39Sfredb# include <assert.h>
65851.39Sfredb#endif
65861.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
65871.1Stv#ifdef __cplusplus
65881.1Stvextern "C"
65891.39Sfredb{
65901.1Stv#endif
65911.1Stv/* We use char because int might match the return type of a gcc2
65921.1Stv   builtin and then its argument prototype would still apply.  */
65931.1Stvchar $ac_func ();
65941.1Stv/* The GNU C library defines this for functions which it implements
65951.1Stv    to always fail with ENOSYS.  Some functions are actually named
65961.1Stv    something starting with __ and the normal name is an alias.  */
65971.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65981.1Stvchoke me
65991.1Stv#else
66001.39Sfredbchar (*f) () = $ac_func;
66011.39Sfredb#endif
66021.39Sfredb#ifdef __cplusplus
66031.39Sfredb}
66041.1Stv#endif
66051.1Stv
66061.39Sfredbint
66071.39Sfredbmain ()
66081.39Sfredb{
66091.39Sfredbreturn f != $ac_func;
66101.1Stv  ;
66111.1Stv  return 0;
66121.1Stv}
66131.1Stv_ACEOF
66141.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
66151.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66161.1Stv  (eval $ac_link) 2>&5
66171.1Stv  ac_status=$?
66181.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66191.1Stv  (exit $ac_status); } &&
66201.1Stv         { ac_try='test -s conftest$ac_exeext'
66211.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66221.1Stv  (eval $ac_try) 2>&5
66231.1Stv  ac_status=$?
66241.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66251.1Stv  (exit $ac_status); }; }; then
66261.1Stv  eval "$as_ac_var=yes"
66271.1Stvelse
66281.1Stv  echo "$as_me: failed program was:" >&5
66291.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
66301.39Sfredb
66311.1Stveval "$as_ac_var=no"
66321.1Stvfi
66331.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66341.1Stvfi
66351.39Sfredbecho "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66361.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66371.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
66381.39Sfredb  cat >>confdefs.h <<_ACEOF
66391.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66401.39Sfredb_ACEOF
66411.1Stv
66421.1Stvfi
66431.1Stvdone
66441.1Stv
66451.39Sfredb
66461.39Sfredbecho "$as_me:$LINENO: checking whether setgroupent is declared" >&5
66471.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
66481.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
66491.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
66501.8Stvelse
66511.8Stv  cat >conftest.$ac_ext <<_ACEOF
66521.39Sfredb#line $LINENO "configure"
66531.39Sfredb/* confdefs.h.  */
66541.39Sfredb_ACEOF
66551.39Sfredbcat confdefs.h >>conftest.$ac_ext
66561.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
66571.39Sfredb/* end confdefs.h.  */
66581.8Stv
66591.33Sthorpej#include <sys/types.h>
66601.8Stv#include <grp.h>
66611.8Stv#include <pwd.h>
66621.8Stv
66631.39Sfredb
66641.8Stvint
66651.8Stvmain ()
66661.8Stv{
66671.8Stv#ifndef setgroupent
66681.8Stv  char *p = (char *) setgroupent;
66691.8Stv#endif
66701.8Stv
66711.8Stv  ;
66721.8Stv  return 0;
66731.8Stv}
66741.8Stv_ACEOF
66751.8Stvrm -f conftest.$ac_objext
66761.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66771.8Stv  (eval $ac_compile) 2>&5
66781.8Stv  ac_status=$?
66791.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66801.8Stv  (exit $ac_status); } &&
66811.8Stv         { ac_try='test -s conftest.$ac_objext'
66821.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66831.8Stv  (eval $ac_try) 2>&5
66841.8Stv  ac_status=$?
66851.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861.8Stv  (exit $ac_status); }; }; then
66871.8Stv  ac_cv_have_decl_setgroupent=yes
66881.8Stvelse
66891.8Stv  echo "$as_me: failed program was:" >&5
66901.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
66911.39Sfredb
66921.8Stvac_cv_have_decl_setgroupent=no
66931.8Stvfi
66941.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
66951.8Stvfi
66961.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
66971.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
66981.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
66991.8Stv
67001.39Sfredbcat >>confdefs.h <<_ACEOF
67011.8Stv#define HAVE_DECL_SETGROUPENT 1
67021.39Sfredb_ACEOF
67031.39Sfredb
67041.8Stv
67051.8Stvelse
67061.39Sfredb  cat >>confdefs.h <<_ACEOF
67071.8Stv#define HAVE_DECL_SETGROUPENT 0
67081.39Sfredb_ACEOF
67091.39Sfredb
67101.8Stv
67111.8Stvfi
67121.39Sfredbecho "$as_me:$LINENO: checking whether setpassent is declared" >&5
67131.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
67141.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
67151.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
67161.8Stvelse
67171.8Stv  cat >conftest.$ac_ext <<_ACEOF
67181.39Sfredb#line $LINENO "configure"
67191.39Sfredb/* confdefs.h.  */
67201.39Sfredb_ACEOF
67211.39Sfredbcat confdefs.h >>conftest.$ac_ext
67221.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
67231.39Sfredb/* end confdefs.h.  */
67241.8Stv
67251.33Sthorpej#include <sys/types.h>
67261.8Stv#include <grp.h>
67271.8Stv#include <pwd.h>
67281.8Stv
67291.39Sfredb
67301.8Stvint
67311.8Stvmain ()
67321.8Stv{
67331.8Stv#ifndef setpassent
67341.8Stv  char *p = (char *) setpassent;
67351.8Stv#endif
67361.8Stv
67371.8Stv  ;
67381.8Stv  return 0;
67391.8Stv}
67401.8Stv_ACEOF
67411.8Stvrm -f conftest.$ac_objext
67421.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67431.8Stv  (eval $ac_compile) 2>&5
67441.8Stv  ac_status=$?
67451.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461.8Stv  (exit $ac_status); } &&
67471.8Stv         { ac_try='test -s conftest.$ac_objext'
67481.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67491.8Stv  (eval $ac_try) 2>&5
67501.8Stv  ac_status=$?
67511.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
67521.8Stv  (exit $ac_status); }; }; then
67531.8Stv  ac_cv_have_decl_setpassent=yes
67541.8Stvelse
67551.8Stv  echo "$as_me: failed program was:" >&5
67561.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
67571.39Sfredb
67581.8Stvac_cv_have_decl_setpassent=no
67591.8Stvfi
67601.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
67611.8Stvfi
67621.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
67631.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
67641.8Stvif test $ac_cv_have_decl_setpassent = yes; then
67651.8Stv
67661.39Sfredbcat >>confdefs.h <<_ACEOF
67671.8Stv#define HAVE_DECL_SETPASSENT 1
67681.39Sfredb_ACEOF
67691.39Sfredb
67701.8Stv
67711.8Stvelse
67721.39Sfredb  cat >>confdefs.h <<_ACEOF
67731.8Stv#define HAVE_DECL_SETPASSENT 0
67741.39Sfredb_ACEOF
67751.39Sfredb
67761.8Stv
67771.8Stvfi
67781.8Stv
67791.39Sfredb
67801.39Sfredb
67811.4Stv# regcomp() and regexec() are also names of functions in the old V8
67821.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
67831.4Stv
67841.39Sfredb
67851.39Sfredbecho "$as_me:$LINENO: checking for regfree in -lregex" >&5
67861.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
67871.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
67881.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
67891.4Stvelse
67901.4Stv  ac_check_lib_save_LIBS=$LIBS
67911.4StvLIBS="-lregex  $LIBS"
67921.4Stvcat >conftest.$ac_ext <<_ACEOF
67931.39Sfredb#line $LINENO "configure"
67941.39Sfredb/* confdefs.h.  */
67951.39Sfredb_ACEOF
67961.39Sfredbcat confdefs.h >>conftest.$ac_ext
67971.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
67981.39Sfredb/* end confdefs.h.  */
67991.4Stv
68001.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
68011.4Stv#ifdef __cplusplus
68021.4Stvextern "C"
68031.4Stv#endif
68041.4Stv/* We use char because int might match the return type of a gcc2
68051.4Stv   builtin and then its argument prototype would still apply.  */
68061.4Stvchar regfree ();
68071.4Stvint
68081.4Stvmain ()
68091.4Stv{
68101.4Stvregfree ();
68111.4Stv  ;
68121.4Stv  return 0;
68131.4Stv}
68141.4Stv_ACEOF
68151.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
68161.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68171.4Stv  (eval $ac_link) 2>&5
68181.4Stv  ac_status=$?
68191.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68201.4Stv  (exit $ac_status); } &&
68211.4Stv         { ac_try='test -s conftest$ac_exeext'
68221.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68231.4Stv  (eval $ac_try) 2>&5
68241.4Stv  ac_status=$?
68251.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68261.4Stv  (exit $ac_status); }; }; then
68271.4Stv  ac_cv_lib_regex_regfree=yes
68281.4Stvelse
68291.4Stv  echo "$as_me: failed program was:" >&5
68301.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
68311.39Sfredb
68321.4Stvac_cv_lib_regex_regfree=no
68331.4Stvfi
68341.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68351.4StvLIBS=$ac_check_lib_save_LIBS
68361.4Stvfi
68371.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
68381.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
68391.4Stvif test $ac_cv_lib_regex_regfree = yes; then
68401.39Sfredb  cat >>confdefs.h <<_ACEOF
68411.4Stv#define HAVE_LIBREGEX 1
68421.39Sfredb_ACEOF
68431.4Stv
68441.4Stv  LIBS="-lregex $LIBS"
68451.4Stv
68461.4Stvfi
68471.4Stv
68481.39Sfredbecho "$as_me:$LINENO: checking for library containing regfree" >&5
68491.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
68501.4Stvif test "${ac_cv_search_regfree+set}" = set; then
68511.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
68521.1Stvelse
68531.1Stv  ac_func_search_save_LIBS=$LIBS
68541.4Stvac_cv_search_regfree=no
68551.1Stvcat >conftest.$ac_ext <<_ACEOF
68561.39Sfredb#line $LINENO "configure"
68571.39Sfredb/* confdefs.h.  */
68581.39Sfredb_ACEOF
68591.39Sfredbcat confdefs.h >>conftest.$ac_ext
68601.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
68611.39Sfredb/* end confdefs.h.  */
68621.1Stv
68631.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
68641.1Stv#ifdef __cplusplus
68651.1Stvextern "C"
68661.1Stv#endif
68671.1Stv/* We use char because int might match the return type of a gcc2
68681.1Stv   builtin and then its argument prototype would still apply.  */
68691.4Stvchar regfree ();
68701.1Stvint
68711.1Stvmain ()
68721.1Stv{
68731.4Stvregfree ();
68741.1Stv  ;
68751.1Stv  return 0;
68761.1Stv}
68771.1Stv_ACEOF
68781.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
68791.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68801.1Stv  (eval $ac_link) 2>&5
68811.1Stv  ac_status=$?
68821.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68831.1Stv  (exit $ac_status); } &&
68841.1Stv         { ac_try='test -s conftest$ac_exeext'
68851.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68861.1Stv  (eval $ac_try) 2>&5
68871.1Stv  ac_status=$?
68881.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
68891.1Stv  (exit $ac_status); }; }; then
68901.4Stv  ac_cv_search_regfree="none required"
68911.1Stvelse
68921.1Stv  echo "$as_me: failed program was:" >&5
68931.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
68941.39Sfredb
68951.1Stvfi
68961.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68971.4Stvif test "$ac_cv_search_regfree" = no; then
68981.4Stv  for ac_lib in rx posix; do
68991.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
69001.1Stv    cat >conftest.$ac_ext <<_ACEOF
69011.39Sfredb#line $LINENO "configure"
69021.39Sfredb/* confdefs.h.  */
69031.39Sfredb_ACEOF
69041.39Sfredbcat confdefs.h >>conftest.$ac_ext
69051.39Sfredbcat >>conftest.$ac_ext <<_ACEOF
69061.39Sfredb/* end confdefs.h.  */
69071.1Stv
69081.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
69091.1Stv#ifdef __cplusplus
69101.1Stvextern "C"
69111.1Stv#endif
69121.1Stv/* We use char because int might match the return type of a gcc2
69131.1Stv   builtin and then its argument prototype would still apply.  */
69141.4Stvchar regfree ();
69151.1Stvint
69161.1Stvmain ()
69171.1Stv{
69181.4Stvregfree ();
69191.1Stv  ;
69201.1Stv  return 0;
69211.1Stv}
69221.1Stv_ACEOF
69231.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
69241.39Sfredbif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69251.1Stv  (eval $ac_link) 2>&5
69261.1Stv  ac_status=$?
69271.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69281.1Stv  (exit $ac_status); } &&
69291.1Stv         { ac_try='test -s conftest$ac_exeext'
69301.39Sfredb  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69311.1Stv  (eval $ac_try) 2>&5
69321.1Stv  ac_status=$?
69331.39Sfredb  echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341.1Stv  (exit $ac_status); }; }; then
69351.4Stv  ac_cv_search_regfree="-l$ac_lib"
69361.1Stvbreak
69371.1Stvelse
69381.1Stv  echo "$as_me: failed program was:" >&5
69391.39Sfredbsed 's/^/| /' conftest.$ac_ext >&5
69401.39Sfredb
69411.1Stvfi
69421.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69431.1Stv  done
69441.1Stvfi
69451.1StvLIBS=$ac_func_search_save_LIBS
69461.1Stvfi
69471.39Sfredbecho "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
69481.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
69491.4Stvif test "$ac_cv_search_regfree" != no; then
69501.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
69511.1Stv
69521.1Stvfi
69531.1Stv
69541.39Sfredb
69551.1Stvcat >confcache <<\_ACEOF
69561.1Stv# This file is a shell script that caches the results of configure
69571.1Stv# tests run on this system so they can be shared between configure
69581.1Stv# scripts and configure runs, see configure's option --config-cache.
69591.1Stv# It is not useful on other systems.  If it contains results you don't
69601.1Stv# want to keep, you may remove or edit it.
69611.1Stv#
69621.1Stv# config.status only pays attention to the cache file if you give it
69631.1Stv# the --recheck option to rerun configure.
69641.1Stv#
69651.39Sfredb# `ac_cv_env_foo' variables (set or unset) will be overridden when
69661.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
69671.1Stv# following values.
69681.1Stv
69691.1Stv_ACEOF
69701.1Stv
69711.1Stv# The following way of writing the cache mishandles newlines in values,
69721.1Stv# but we know of no workaround that is simple, portable, and efficient.
69731.1Stv# So, don't put newlines in cache variables' values.
69741.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
69751.1Stv# and sets the high bit in the cache file unless we assign to the vars.
69761.1Stv{
69771.1Stv  (set) 2>&1 |
69781.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
69791.1Stv    *ac_space=\ *)
69801.1Stv      # `set' does not quote correctly, so add quotes (double-quote
69811.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
69821.1Stv      sed -n \
69831.1Stv        "s/'/'\\\\''/g;
69841.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
69851.1Stv      ;;
69861.1Stv    *)
69871.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
69881.1Stv      sed -n \
69891.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
69901.1Stv      ;;
69911.1Stv    esac;
69921.1Stv} |
69931.1Stv  sed '
69941.1Stv     t clear
69951.1Stv     : clear
69961.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
69971.1Stv     t end
69981.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
69991.1Stv     : end' >>confcache
70001.39Sfredbif diff $cache_file confcache >/dev/null 2>&1; then :; else
70011.1Stv  if test -w $cache_file; then
70021.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
70031.1Stv    cat confcache >$cache_file
70041.1Stv  else
70051.1Stv    echo "not updating unwritable cache $cache_file"
70061.1Stv  fi
70071.1Stvfi
70081.1Stvrm -f confcache
70091.1Stv
70101.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
70111.1Stv# Let make expand exec_prefix.
70121.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
70131.1Stv
70141.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
70151.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
70161.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
70171.1Stv# (actually we leave an empty line to preserve line numbers).
70181.1Stvif test "x$srcdir" = x.; then
70191.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
70201.1Stvs/:*\$(srcdir):*/:/;
70211.1Stvs/:*\${srcdir}:*/:/;
70221.1Stvs/:*@srcdir@:*/:/;
70231.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
70241.1Stvs/:*$//;
70251.1Stvs/^[^=]*=[ 	]*$//;
70261.1Stv}'
70271.1Stvfi
70281.1Stv
70291.1StvDEFS=-DHAVE_CONFIG_H
70301.1Stv
70311.39Sfredbac_libobjs=
70321.39Sfredbac_ltlibobjs=
70331.39Sfredbfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
70341.39Sfredb  # 1. Remove the extension, and $U if already installed.
70351.39Sfredb  ac_i=`echo "$ac_i" |
70361.39Sfredb         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
70371.39Sfredb  # 2. Add them.
70381.39Sfredb  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
70391.39Sfredb  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
70401.39Sfredbdone
70411.39SfredbLIBOBJS=$ac_libobjs
70421.39Sfredb
70431.39SfredbLTLIBOBJS=$ac_ltlibobjs
70441.39Sfredb
70451.39Sfredb
70461.39Sfredb
70471.1Stv: ${CONFIG_STATUS=./config.status}
70481.1Stvac_clean_files_save=$ac_clean_files
70491.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
70501.39Sfredb{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
70511.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
70521.1Stvcat >$CONFIG_STATUS <<_ACEOF
70531.1Stv#! $SHELL
70541.39Sfredb# Generated by $as_me.
70551.1Stv# Run this file to recreate the current configuration.
70561.1Stv# Compiler output produced by configure, useful for debugging
70571.1Stv# configure, is in config.log if it exists.
70581.1Stv
70591.1Stvdebug=false
70601.39Sfredbac_cs_recheck=false
70611.39Sfredbac_cs_silent=false
70621.1StvSHELL=\${CONFIG_SHELL-$SHELL}
70631.1Stv_ACEOF
70641.1Stv
70651.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
70661.39Sfredb## --------------------- ##
70671.39Sfredb## M4sh Initialization.  ##
70681.39Sfredb## --------------------- ##
70691.39Sfredb
70701.1Stv# Be Bourne compatible
70711.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
70721.1Stv  emulate sh
70731.1Stv  NULLCMD=:
70741.39Sfredb  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
70751.39Sfredb  # is contrary to our usage.  Disable this feature.
70761.39Sfredb  alias -g '${1+"$@"}'='"$@"'
70771.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
70781.1Stv  set -o posix
70791.1Stvfi
70801.1Stv
70811.39Sfredb# Support unset when possible.
70821.39Sfredbif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70831.39Sfredb  as_unset=unset
70841.39Sfredbelse
70851.39Sfredb  as_unset=false
70861.39Sfredbfi
70871.39Sfredb
70881.39Sfredb
70891.39Sfredb# Work around bugs in pre-3.0 UWIN ksh.
70901.39Sfredb$as_unset ENV MAIL MAILPATH
70911.39SfredbPS1='$ '
70921.39SfredbPS2='> '
70931.39SfredbPS4='+ '
70941.39Sfredb
70951.39Sfredb# NLS nuisances.
70961.39Sfredbfor as_var in \
70971.39Sfredb  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
70981.39Sfredb  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
70991.39Sfredb  LC_TELEPHONE LC_TIME
71001.39Sfredbdo
71011.39Sfredb  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
71021.39Sfredb    eval $as_var=C; export $as_var
71031.39Sfredb  else
71041.39Sfredb    $as_unset $as_var
71051.39Sfredb  fi
71061.39Sfredbdone
71071.39Sfredb
71081.39Sfredb# Required to use basename.
71091.39Sfredbif expr a : '\(a\)' >/dev/null 2>&1; then
71101.39Sfredb  as_expr=expr
71111.39Sfredbelse
71121.39Sfredb  as_expr=false
71131.39Sfredbfi
71141.39Sfredb
71151.39Sfredbif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
71161.39Sfredb  as_basename=basename
71171.39Sfredbelse
71181.39Sfredb  as_basename=false
71191.39Sfredbfi
71201.39Sfredb
71211.39Sfredb
71221.1Stv# Name of the executable.
71231.39Sfredbas_me=`$as_basename "$0" ||
71241.39Sfredb$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71251.39Sfredb	 X"$0" : 'X\(//\)$' \| \
71261.39Sfredb	 X"$0" : 'X\(/\)$' \| \
71271.39Sfredb	 .     : '\(.\)' 2>/dev/null ||
71281.39Sfredbecho X/"$0" |
71291.39Sfredb    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71301.39Sfredb  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
71311.39Sfredb  	  /^X\/\(\/\).*/{ s//\1/; q; }
71321.39Sfredb  	  s/.*/./; q'`
71331.39Sfredb
71341.39Sfredb
71351.39Sfredb# PATH needs CR, and LINENO needs CR and PATH.
71361.39Sfredb# Avoid depending upon Character Ranges.
71371.39Sfredbas_cr_letters='abcdefghijklmnopqrstuvwxyz'
71381.39Sfredbas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
71391.39Sfredbas_cr_Letters=$as_cr_letters$as_cr_LETTERS
71401.39Sfredbas_cr_digits='0123456789'
71411.39Sfredbas_cr_alnum=$as_cr_Letters$as_cr_digits
71421.39Sfredb
71431.39Sfredb# The user is always right.
71441.39Sfredbif test "${PATH_SEPARATOR+set}" != set; then
71451.39Sfredb  echo "#! /bin/sh" >conf$$.sh
71461.39Sfredb  echo  "exit 0"   >>conf$$.sh
71471.39Sfredb  chmod +x conf$$.sh
71481.39Sfredb  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
71491.39Sfredb    PATH_SEPARATOR=';'
71501.39Sfredb  else
71511.39Sfredb    PATH_SEPARATOR=:
71521.39Sfredb  fi
71531.39Sfredb  rm -f conf$$.sh
71541.39Sfredbfi
71551.39Sfredb
71561.39Sfredb
71571.39Sfredb  as_lineno_1=$LINENO
71581.39Sfredb  as_lineno_2=$LINENO
71591.39Sfredb  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
71601.39Sfredb  test "x$as_lineno_1" != "x$as_lineno_2" &&
71611.39Sfredb  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
71621.39Sfredb  # Find who we are.  Look in the path if we contain no path at all
71631.39Sfredb  # relative or not.
71641.39Sfredb  case $0 in
71651.39Sfredb    *[\\/]* ) as_myself=$0 ;;
71661.39Sfredb    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71671.39Sfredbfor as_dir in $PATH
71681.39Sfredbdo
71691.39Sfredb  IFS=$as_save_IFS
71701.39Sfredb  test -z "$as_dir" && as_dir=.
71711.39Sfredb  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
71721.39Sfredbdone
71731.39Sfredb
71741.39Sfredb       ;;
71751.39Sfredb  esac
71761.39Sfredb  # We did not find ourselves, most probably we were run as `sh COMMAND'
71771.39Sfredb  # in which case we are not to be found in the path.
71781.39Sfredb  if test "x$as_myself" = x; then
71791.39Sfredb    as_myself=$0
71801.39Sfredb  fi
71811.39Sfredb  if test ! -f "$as_myself"; then
71821.39Sfredb    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
71831.39Sfredbecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
71841.39Sfredb   { (exit 1); exit 1; }; }
71851.39Sfredb  fi
71861.39Sfredb  case $CONFIG_SHELL in
71871.39Sfredb  '')
71881.39Sfredb    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71891.39Sfredbfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
71901.39Sfredbdo
71911.39Sfredb  IFS=$as_save_IFS
71921.39Sfredb  test -z "$as_dir" && as_dir=.
71931.39Sfredb  for as_base in sh bash ksh sh5; do
71941.39Sfredb	 case $as_dir in
71951.39Sfredb	 /*)
71961.39Sfredb	   if ("$as_dir/$as_base" -c '
71971.39Sfredb  as_lineno_1=$LINENO
71981.39Sfredb  as_lineno_2=$LINENO
71991.39Sfredb  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
72001.39Sfredb  test "x$as_lineno_1" != "x$as_lineno_2" &&
72011.39Sfredb  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
72021.39Sfredb	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
72031.39Sfredb	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
72041.39Sfredb	     CONFIG_SHELL=$as_dir/$as_base
72051.39Sfredb	     export CONFIG_SHELL
72061.39Sfredb	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
72071.39Sfredb	   fi;;
72081.39Sfredb	 esac
72091.39Sfredb       done
72101.39Sfredbdone
72111.39Sfredb;;
72121.39Sfredb  esac
72131.39Sfredb
72141.39Sfredb  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
72151.39Sfredb  # uniformly replaced by the line number.  The first 'sed' inserts a
72161.39Sfredb  # line-number line before each line; the second 'sed' does the real
72171.39Sfredb  # work.  The second script uses 'N' to pair each line-number line
72181.39Sfredb  # with the numbered line, and appends trailing '-' during
72191.39Sfredb  # substitution so that $LINENO is not a special case at line end.
72201.39Sfredb  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
72211.39Sfredb  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
72221.39Sfredb  sed '=' <$as_myself |
72231.39Sfredb    sed '
72241.39Sfredb      N
72251.39Sfredb      s,$,-,
72261.39Sfredb      : loop
72271.39Sfredb      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
72281.39Sfredb      t loop
72291.39Sfredb      s,-$,,
72301.39Sfredb      s,^['$as_cr_digits']*\n,,
72311.39Sfredb    ' >$as_me.lineno &&
72321.39Sfredb  chmod +x $as_me.lineno ||
72331.39Sfredb    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
72341.39Sfredbecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
72351.39Sfredb   { (exit 1); exit 1; }; }
72361.39Sfredb
72371.39Sfredb  # Don't try to exec as it changes $[0], causing all sort of problems
72381.39Sfredb  # (the dirname of $[0] is not the place where we might find the
72391.39Sfredb  # original and so on.  Autoconf is especially sensible to this).
72401.39Sfredb  . ./$as_me.lineno
72411.39Sfredb  # Exit status is that of the last command.
72421.39Sfredb  exit
72431.39Sfredb}
72441.39Sfredb
72451.39Sfredb
72461.39Sfredbcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
72471.39Sfredb  *c*,-n*) ECHO_N= ECHO_C='
72481.39Sfredb' ECHO_T='	' ;;
72491.39Sfredb  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
72501.39Sfredb  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
72511.39Sfredbesac
72521.1Stv
72531.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
72541.1Stv  as_expr=expr
72551.1Stvelse
72561.1Stv  as_expr=false
72571.1Stvfi
72581.1Stv
72591.1Stvrm -f conf$$ conf$$.exe conf$$.file
72601.1Stvecho >conf$$.file
72611.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
72621.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
72631.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
72641.1Stv  if test -f conf$$.exe; then
72651.1Stv    # Don't use ln at all; we don't have any links
72661.1Stv    as_ln_s='cp -p'
72671.1Stv  else
72681.1Stv    as_ln_s='ln -s'
72691.1Stv  fi
72701.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
72711.1Stv  as_ln_s=ln
72721.1Stvelse
72731.1Stv  as_ln_s='cp -p'
72741.1Stvfi
72751.1Stvrm -f conf$$ conf$$.exe conf$$.file
72761.1Stv
72771.39Sfredbif mkdir -p . 2>/dev/null; then
72781.39Sfredb  as_mkdir_p=:
72791.39Sfredbelse
72801.39Sfredb  as_mkdir_p=false
72811.39Sfredbfi
72821.39Sfredb
72831.1Stvas_executable_p="test -f"
72841.1Stv
72851.39Sfredb# Sed expression to map a string onto a valid CPP name.
72861.39Sfredbas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
72871.39Sfredb
72881.39Sfredb# Sed expression to map a string onto a valid variable name.
72891.39Sfredbas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
72901.1Stv
72911.1Stv
72921.1Stv# IFS
72931.1Stv# We need space, tab and new line, in precisely that order.
72941.1Stvas_nl='
72951.1Stv'
72961.1StvIFS=" 	$as_nl"
72971.1Stv
72981.1Stv# CDPATH.
72991.39Sfredb$as_unset CDPATH
73001.1Stv
73011.1Stvexec 6>&1
73021.1Stv
73031.39Sfredb# Open the log real soon, to keep \$[0] and so on meaningful, and to
73041.39Sfredb# report actual input values of CONFIG_FILES etc. instead of their
73051.39Sfredb# values after options handling.  Logging --version etc. is OK.
73061.39Sfredbexec 5>>config.log
73071.39Sfredb{
73081.39Sfredb  echo
73091.39Sfredb  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73101.39Sfredb## Running $as_me. ##
73111.39Sfredb_ASBOX
73121.39Sfredb} >&5
73131.39Sfredbcat >&5 <<_CSEOF
73141.39Sfredb
73151.39SfredbThis file was extended by libnbcompat $as_me noversion, which was
73161.39Sfredbgenerated by GNU Autoconf 2.57.  Invocation command line was
73171.39Sfredb
73181.39Sfredb  CONFIG_FILES    = $CONFIG_FILES
73191.39Sfredb  CONFIG_HEADERS  = $CONFIG_HEADERS
73201.39Sfredb  CONFIG_LINKS    = $CONFIG_LINKS
73211.39Sfredb  CONFIG_COMMANDS = $CONFIG_COMMANDS
73221.39Sfredb  $ $0 $@
73231.39Sfredb
73241.39Sfredb_CSEOF
73251.39Sfredbecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
73261.39Sfredbecho >&5
73271.1Stv_ACEOF
73281.1Stv
73291.1Stv# Files that config.status was made for.
73301.1Stvif test -n "$ac_config_files"; then
73311.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
73321.1Stvfi
73331.1Stv
73341.1Stvif test -n "$ac_config_headers"; then
73351.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
73361.1Stvfi
73371.1Stv
73381.1Stvif test -n "$ac_config_links"; then
73391.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
73401.1Stvfi
73411.1Stv
73421.1Stvif test -n "$ac_config_commands"; then
73431.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
73441.1Stvfi
73451.1Stv
73461.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
73471.1Stv
73481.1Stvac_cs_usage="\
73491.1Stv\`$as_me' instantiates files from templates according to the
73501.1Stvcurrent configuration.
73511.1Stv
73521.1StvUsage: $0 [OPTIONS] [FILE]...
73531.1Stv
73541.1Stv  -h, --help       print this help, then exit
73551.1Stv  -V, --version    print version number, then exit
73561.39Sfredb  -q, --quiet      do not print progress messages
73571.1Stv  -d, --debug      don't remove temporary files
73581.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
73591.1Stv  --file=FILE[:TEMPLATE]
73601.1Stv                   instantiate the configuration file FILE
73611.1Stv  --header=FILE[:TEMPLATE]
73621.1Stv                   instantiate the configuration header FILE
73631.1Stv
73641.1StvConfiguration files:
73651.1Stv$config_files
73661.1Stv
73671.1StvConfiguration headers:
73681.1Stv$config_headers
73691.1Stv
73701.1StvReport bugs to <bug-autoconf@gnu.org>."
73711.39Sfredb_ACEOF
73721.1Stv
73731.39Sfredbcat >>$CONFIG_STATUS <<_ACEOF
73741.1Stvac_cs_version="\\
73751.1Stvlibnbcompat config.status noversion
73761.39Sfredbconfigured by $0, generated by GNU Autoconf 2.57,
73771.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
73781.1Stv
73791.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
73801.1StvFree Software Foundation, Inc.
73811.1StvThis config.status script is free software; the Free Software Foundation
73821.1Stvgives unlimited permission to copy, distribute and modify it."
73831.1Stvsrcdir=$srcdir
73841.39Sfredb_ACEOF
73851.1Stv
73861.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
73871.1Stv# If no file are specified by the user, then we need to provide default
73881.1Stv# value.  By we need to know if files were specified by the user.
73891.1Stvac_need_defaults=:
73901.1Stvwhile test $# != 0
73911.1Stvdo
73921.1Stv  case $1 in
73931.1Stv  --*=*)
73941.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
73951.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
73961.39Sfredb    ac_shift=:
73971.39Sfredb    ;;
73981.39Sfredb  -*)
73991.39Sfredb    ac_option=$1
74001.39Sfredb    ac_optarg=$2
74011.39Sfredb    ac_shift=shift
74021.1Stv    ;;
74031.1Stv  *) # This is not an option, so the user has probably given explicit
74041.1Stv     # arguments.
74051.39Sfredb     ac_option=$1
74061.1Stv     ac_need_defaults=false;;
74071.1Stv  esac
74081.1Stv
74091.39Sfredb  case $ac_option in
74101.1Stv  # Handling of the options.
74111.39Sfredb_ACEOF
74121.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
74131.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74141.39Sfredb    ac_cs_recheck=: ;;
74151.1Stv  --version | --vers* | -V )
74161.1Stv    echo "$ac_cs_version"; exit 0 ;;
74171.1Stv  --he | --h)
74181.1Stv    # Conflict between --help and --header
74191.39Sfredb    { { echo "$as_me:$LINENO: error: ambiguous option: $1
74201.1StvTry \`$0 --help' for more information." >&5
74211.1Stvecho "$as_me: error: ambiguous option: $1
74221.1StvTry \`$0 --help' for more information." >&2;}
74231.1Stv   { (exit 1); exit 1; }; };;
74241.1Stv  --help | --hel | -h )
74251.1Stv    echo "$ac_cs_usage"; exit 0 ;;
74261.1Stv  --debug | --d* | -d )
74271.1Stv    debug=: ;;
74281.1Stv  --file | --fil | --fi | --f )
74291.39Sfredb    $ac_shift
74301.39Sfredb    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
74311.1Stv    ac_need_defaults=false;;
74321.1Stv  --header | --heade | --head | --hea )
74331.39Sfredb    $ac_shift
74341.39Sfredb    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
74351.1Stv    ac_need_defaults=false;;
74361.39Sfredb  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74371.39Sfredb  | -silent | --silent | --silen | --sile | --sil | --si | --s)
74381.39Sfredb    ac_cs_silent=: ;;
74391.1Stv
74401.1Stv  # This is an error.
74411.39Sfredb  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
74421.1StvTry \`$0 --help' for more information." >&5
74431.1Stvecho "$as_me: error: unrecognized option: $1
74441.1StvTry \`$0 --help' for more information." >&2;}
74451.1Stv   { (exit 1); exit 1; }; } ;;
74461.1Stv
74471.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
74481.1Stv
74491.1Stv  esac
74501.1Stv  shift
74511.1Stvdone
74521.1Stv
74531.39Sfredbac_configure_extra_args=
74541.1Stv
74551.39Sfredbif $ac_cs_silent; then
74561.39Sfredb  exec 6>/dev/null
74571.39Sfredb  ac_configure_extra_args="$ac_configure_extra_args --silent"
74581.39Sfredbfi
74591.1Stv
74601.39Sfredb_ACEOF
74611.39Sfredbcat >>$CONFIG_STATUS <<_ACEOF
74621.39Sfredbif \$ac_cs_recheck; then
74631.39Sfredb  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
74641.39Sfredb  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74651.39Sfredbfi
74661.1Stv
74671.1Stv_ACEOF
74681.1Stv
74691.39Sfredb
74701.39Sfredb
74711.39Sfredb
74721.39Sfredb
74731.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
74741.1Stvfor ac_config_target in $ac_config_targets
74751.1Stvdo
74761.1Stv  case "$ac_config_target" in
74771.1Stv  # Handling of arguments.
74781.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
74791.1Stv  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74801.39Sfredb  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
74811.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
74821.1Stv   { (exit 1); exit 1; }; };;
74831.1Stv  esac
74841.1Stvdone
74851.1Stv
74861.1Stv# If the user did not use the arguments to specify the items to instantiate,
74871.1Stv# then the envvar interface is used.  Set only those that are not.
74881.1Stv# We use the long form for the default assignment because of an extremely
74891.1Stv# bizarre bug on SunOS 4.1.3.
74901.1Stvif $ac_need_defaults; then
74911.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74921.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74931.1Stvfi
74941.1Stv
74951.39Sfredb# Have a temporary directory for convenience.  Make it in the build tree
74961.39Sfredb# simply because there is no reason to put it here, and in addition,
74971.39Sfredb# creating and moving files from /tmp can sometimes cause problems.
74981.1Stv# Create a temporary directory, and hook for its removal unless debugging.
74991.1Stv$debug ||
75001.1Stv{
75011.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
75021.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
75031.1Stv}
75041.1Stv
75051.1Stv# Create a (secure) tmp directory for tmp files.
75061.39Sfredb
75071.1Stv{
75081.39Sfredb  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
75091.1Stv  test -n "$tmp" && test -d "$tmp"
75101.1Stv}  ||
75111.1Stv{
75121.39Sfredb  tmp=./confstat$$-$RANDOM
75131.1Stv  (umask 077 && mkdir $tmp)
75141.1Stv} ||
75151.1Stv{
75161.39Sfredb   echo "$me: cannot create a temporary directory in ." >&2
75171.1Stv   { (exit 1); exit 1; }
75181.1Stv}
75191.1Stv
75201.39Sfredb_ACEOF
75211.1Stv
75221.39Sfredbcat >>$CONFIG_STATUS <<_ACEOF
75231.1Stv
75241.1Stv#
75251.1Stv# CONFIG_FILES section.
75261.1Stv#
75271.1Stv
75281.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
75291.1Stv# This happens for instance when ./config.status config.h
75301.1Stvif test -n "\$CONFIG_FILES"; then
75311.1Stv  # Protect against being on the right side of a sed subst in config.status.
75321.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
75331.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
75341.1Stvs,@SHELL@,$SHELL,;t t
75351.39Sfredbs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
75361.39Sfredbs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
75371.39Sfredbs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
75381.39Sfredbs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
75391.39Sfredbs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
75401.39Sfredbs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
75411.1Stvs,@exec_prefix@,$exec_prefix,;t t
75421.1Stvs,@prefix@,$prefix,;t t
75431.1Stvs,@program_transform_name@,$program_transform_name,;t t
75441.1Stvs,@bindir@,$bindir,;t t
75451.1Stvs,@sbindir@,$sbindir,;t t
75461.1Stvs,@libexecdir@,$libexecdir,;t t
75471.1Stvs,@datadir@,$datadir,;t t
75481.1Stvs,@sysconfdir@,$sysconfdir,;t t
75491.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
75501.1Stvs,@localstatedir@,$localstatedir,;t t
75511.1Stvs,@libdir@,$libdir,;t t
75521.1Stvs,@includedir@,$includedir,;t t
75531.1Stvs,@oldincludedir@,$oldincludedir,;t t
75541.1Stvs,@infodir@,$infodir,;t t
75551.1Stvs,@mandir@,$mandir,;t t
75561.1Stvs,@build_alias@,$build_alias,;t t
75571.1Stvs,@host_alias@,$host_alias,;t t
75581.1Stvs,@target_alias@,$target_alias,;t t
75591.39Sfredbs,@DEFS@,$DEFS,;t t
75601.1Stvs,@ECHO_C@,$ECHO_C,;t t
75611.1Stvs,@ECHO_N@,$ECHO_N,;t t
75621.1Stvs,@ECHO_T@,$ECHO_T,;t t
75631.1Stvs,@LIBS@,$LIBS,;t t
75641.20Sbjh21s,@BSHELL@,$BSHELL,;t t
75651.1Stvs,@CC@,$CC,;t t
75661.1Stvs,@CFLAGS@,$CFLAGS,;t t
75671.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
75681.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
75691.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
75701.1Stvs,@EXEEXT@,$EXEEXT,;t t
75711.1Stvs,@OBJEXT@,$OBJEXT,;t t
75721.1Stvs,@CPP@,$CPP,;t t
75731.39Sfredbs,@EGREP@,$EGREP,;t t
75741.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
75751.39Sfredbs,@LIBOBJS@,$LIBOBJS,;t t
75761.39Sfredbs,@LTLIBOBJS@,$LTLIBOBJS,;t t
75771.1StvCEOF
75781.1Stv
75791.39Sfredb_ACEOF
75801.1Stv
75811.39Sfredb  cat >>$CONFIG_STATUS <<\_ACEOF
75821.1Stv  # Split the substitutions into bite-sized pieces for seds with
75831.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
75841.1Stv  ac_max_sed_lines=48
75851.1Stv  ac_sed_frag=1 # Number of current file.
75861.1Stv  ac_beg=1 # First line for current file.
75871.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
75881.1Stv  ac_more_lines=:
75891.1Stv  ac_sed_cmds=
75901.1Stv  while $ac_more_lines; do
75911.1Stv    if test $ac_beg -gt 1; then
75921.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
75931.1Stv    else
75941.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
75951.1Stv    fi
75961.1Stv    if test ! -s $tmp/subs.frag; then
75971.1Stv      ac_more_lines=false
75981.1Stv    else
75991.1Stv      # The purpose of the label and of the branching condition is to
76001.1Stv      # speed up the sed processing (if there are no `@' at all, there
76011.1Stv      # is no need to browse any of the substitutions).
76021.1Stv      # These are the two extra sed commands mentioned above.
76031.1Stv      (echo ':t
76041.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
76051.1Stv      if test -z "$ac_sed_cmds"; then
76061.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
76071.1Stv      else
76081.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
76091.1Stv      fi
76101.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
76111.1Stv      ac_beg=$ac_end
76121.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
76131.1Stv    fi
76141.1Stv  done
76151.1Stv  if test -z "$ac_sed_cmds"; then
76161.1Stv    ac_sed_cmds=cat
76171.1Stv  fi
76181.1Stvfi # test -n "$CONFIG_FILES"
76191.1Stv
76201.39Sfredb_ACEOF
76211.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
76221.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
76231.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
76241.1Stv  case $ac_file in
76251.1Stv  - | *:- | *:-:* ) # input from stdin
76261.1Stv        cat >$tmp/stdin
76271.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
76281.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
76291.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
76301.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
76311.1Stv  * )   ac_file_in=$ac_file.in ;;
76321.1Stv  esac
76331.1Stv
76341.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
76351.39Sfredb  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
76361.39Sfredb$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76371.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
76381.1Stv         X"$ac_file" : 'X\(//\)$' \| \
76391.1Stv         X"$ac_file" : 'X\(/\)' \| \
76401.1Stv         .     : '\(.\)' 2>/dev/null ||
76411.1Stvecho X"$ac_file" |
76421.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
76431.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
76441.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
76451.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
76461.1Stv  	  s/.*/./; q'`
76471.39Sfredb  { if $as_mkdir_p; then
76481.39Sfredb    mkdir -p "$ac_dir"
76491.39Sfredb  else
76501.39Sfredb    as_dir="$ac_dir"
76511.39Sfredb    as_dirs=
76521.39Sfredb    while test ! -d "$as_dir"; do
76531.39Sfredb      as_dirs="$as_dir $as_dirs"
76541.39Sfredb      as_dir=`(dirname "$as_dir") 2>/dev/null ||
76551.39Sfredb$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76561.39Sfredb         X"$as_dir" : 'X\(//\)[^/]' \| \
76571.39Sfredb         X"$as_dir" : 'X\(//\)$' \| \
76581.39Sfredb         X"$as_dir" : 'X\(/\)' \| \
76591.39Sfredb         .     : '\(.\)' 2>/dev/null ||
76601.39Sfredbecho X"$as_dir" |
76611.39Sfredb    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
76621.39Sfredb  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
76631.39Sfredb  	  /^X\(\/\/\)$/{ s//\1/; q; }
76641.39Sfredb  	  /^X\(\/\).*/{ s//\1/; q; }
76651.39Sfredb  	  s/.*/./; q'`
76661.39Sfredb    done
76671.39Sfredb    test ! -n "$as_dirs" || mkdir $as_dirs
76681.39Sfredb  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
76691.39Sfredbecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
76701.39Sfredb   { (exit 1); exit 1; }; }; }
76711.39Sfredb
76721.39Sfredb  ac_builddir=.
76731.39Sfredb
76741.39Sfredbif test "$ac_dir" != .; then
76751.39Sfredb  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
76761.39Sfredb  # A "../" for each directory in $ac_dir_suffix.
76771.39Sfredb  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
76781.39Sfredbelse
76791.39Sfredb  ac_dir_suffix= ac_top_builddir=
76801.39Sfredbfi
76811.39Sfredb
76821.39Sfredbcase $srcdir in
76831.39Sfredb  .)  # No --srcdir option.  We are building in place.
76841.39Sfredb    ac_srcdir=.
76851.39Sfredb    if test -z "$ac_top_builddir"; then
76861.39Sfredb       ac_top_srcdir=.
76871.39Sfredb    else
76881.39Sfredb       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
76891.39Sfredb    fi ;;
76901.39Sfredb  [\\/]* | ?:[\\/]* )  # Absolute path.
76911.39Sfredb    ac_srcdir=$srcdir$ac_dir_suffix;
76921.39Sfredb    ac_top_srcdir=$srcdir ;;
76931.39Sfredb  *) # Relative path.
76941.39Sfredb    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
76951.39Sfredb    ac_top_srcdir=$ac_top_builddir$srcdir ;;
76961.1Stvesac
76971.39Sfredb# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
76981.39Sfredb# absolute.
76991.39Sfredbac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
77001.39Sfredbac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
77011.39Sfredbac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
77021.39Sfredbac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
77031.1Stv
77041.1Stv
77051.1Stv
77061.1Stv  if test x"$ac_file" != x-; then
77071.39Sfredb    { echo "$as_me:$LINENO: creating $ac_file" >&5
77081.1Stvecho "$as_me: creating $ac_file" >&6;}
77091.1Stv    rm -f "$ac_file"
77101.1Stv  fi
77111.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
77121.1Stv  # use $as_me), people would be surprised to read:
77131.39Sfredb  #    /* config.h.  Generated by config.status.  */
77141.39Sfredb  if test x"$ac_file" = x-; then
77151.39Sfredb    configure_input=
77161.39Sfredb  else
77171.39Sfredb    configure_input="$ac_file.  "
77181.39Sfredb  fi
77191.39Sfredb  configure_input=$configure_input"Generated from `echo $ac_file_in |
77201.39Sfredb                                     sed 's,.*/,,'` by configure."
77211.1Stv
77221.1Stv  # First look for the input files in the build tree, otherwise in the
77231.1Stv  # src tree.
77241.1Stv  ac_file_inputs=`IFS=:
77251.1Stv    for f in $ac_file_in; do
77261.1Stv      case $f in
77271.1Stv      -) echo $tmp/stdin ;;
77281.1Stv      [\\/$]*)
77291.1Stv         # Absolute (can't be DOS-style, as IFS=:)
77301.39Sfredb         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
77311.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
77321.1Stv   { (exit 1); exit 1; }; }
77331.1Stv         echo $f;;
77341.1Stv      *) # Relative
77351.1Stv         if test -f "$f"; then
77361.1Stv           # Build tree
77371.1Stv           echo $f
77381.1Stv         elif test -f "$srcdir/$f"; then
77391.1Stv           # Source tree
77401.1Stv           echo $srcdir/$f
77411.1Stv         else
77421.1Stv           # /dev/null tree
77431.39Sfredb           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
77441.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
77451.1Stv   { (exit 1); exit 1; }; }
77461.1Stv         fi;;
77471.1Stv      esac
77481.1Stv    done` || { (exit 1); exit 1; }
77491.39Sfredb_ACEOF
77501.39Sfredbcat >>$CONFIG_STATUS <<_ACEOF
77511.1Stv  sed "$ac_vpsub
77521.1Stv$extrasub
77531.39Sfredb_ACEOF
77541.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
77551.1Stv:t
77561.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
77571.1Stvs,@configure_input@,$configure_input,;t t
77581.1Stvs,@srcdir@,$ac_srcdir,;t t
77591.39Sfredbs,@abs_srcdir@,$ac_abs_srcdir,;t t
77601.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
77611.39Sfredbs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
77621.39Sfredbs,@builddir@,$ac_builddir,;t t
77631.39Sfredbs,@abs_builddir@,$ac_abs_builddir,;t t
77641.39Sfredbs,@top_builddir@,$ac_top_builddir,;t t
77651.39Sfredbs,@abs_top_builddir@,$ac_abs_top_builddir,;t t
77661.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
77671.1Stv  rm -f $tmp/stdin
77681.1Stv  if test x"$ac_file" != x-; then
77691.1Stv    mv $tmp/out $ac_file
77701.1Stv  else
77711.1Stv    cat $tmp/out
77721.1Stv    rm -f $tmp/out
77731.1Stv  fi
77741.1Stv
77751.1Stvdone
77761.39Sfredb_ACEOF
77771.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
77781.1Stv
77791.1Stv#
77801.1Stv# CONFIG_HEADER section.
77811.1Stv#
77821.1Stv
77831.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
77841.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
77851.1Stv#
77861.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
77871.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
77881.1Stvac_dB='[ 	].*$,\1#\2'
77891.1Stvac_dC=' '
77901.1Stvac_dD=',;t'
77911.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
77921.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
77931.1Stvac_uB='$,\1#\2define\3'
77941.1Stvac_uC=' '
77951.1Stvac_uD=',;t'
77961.1Stv
77971.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
77981.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
77991.1Stv  case $ac_file in
78001.1Stv  - | *:- | *:-:* ) # input from stdin
78011.1Stv        cat >$tmp/stdin
78021.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78031.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78041.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
78051.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
78061.1Stv  * )   ac_file_in=$ac_file.in ;;
78071.1Stv  esac
78081.1Stv
78091.39Sfredb  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
78101.1Stvecho "$as_me: creating $ac_file" >&6;}
78111.1Stv
78121.1Stv  # First look for the input files in the build tree, otherwise in the
78131.1Stv  # src tree.
78141.1Stv  ac_file_inputs=`IFS=:
78151.1Stv    for f in $ac_file_in; do
78161.1Stv      case $f in
78171.1Stv      -) echo $tmp/stdin ;;
78181.1Stv      [\\/$]*)
78191.1Stv         # Absolute (can't be DOS-style, as IFS=:)
78201.39Sfredb         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78211.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
78221.1Stv   { (exit 1); exit 1; }; }
78231.1Stv         echo $f;;
78241.1Stv      *) # Relative
78251.1Stv         if test -f "$f"; then
78261.1Stv           # Build tree
78271.1Stv           echo $f
78281.1Stv         elif test -f "$srcdir/$f"; then
78291.1Stv           # Source tree
78301.1Stv           echo $srcdir/$f
78311.1Stv         else
78321.1Stv           # /dev/null tree
78331.39Sfredb           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
78341.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
78351.1Stv   { (exit 1); exit 1; }; }
78361.1Stv         fi;;
78371.1Stv      esac
78381.1Stv    done` || { (exit 1); exit 1; }
78391.1Stv  # Remove the trailing spaces.
78401.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
78411.1Stv
78421.39Sfredb_ACEOF
78431.1Stv
78441.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
78451.1Stv# `conftest.undefs', that substitutes the proper values into
78461.1Stv# config.h.in to produce config.h.  The first handles `#define'
78471.1Stv# templates, and the second `#undef' templates.
78481.1Stv# And first: Protect against being on the right side of a sed subst in
78491.1Stv# config.status.  Protect against being in an unquoted here document
78501.1Stv# in config.status.
78511.1Stvrm -f conftest.defines conftest.undefs
78521.1Stv# Using a here document instead of a string reduces the quoting nightmare.
78531.1Stv# Putting comments in sed scripts is not portable.
78541.1Stv#
78551.1Stv# `end' is used to avoid that the second main sed command (meant for
78561.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
78571.1Stv# See the Autoconf documentation for `clear'.
78581.39Sfredbcat >confdef2sed.sed <<\_ACEOF
78591.1Stvs/[\\&,]/\\&/g
78601.1Stvs,[\\$`],\\&,g
78611.1Stvt clear
78621.1Stv: clear
78631.39Sfredbs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
78641.1Stvt end
78651.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
78661.1Stv: end
78671.39Sfredb_ACEOF
78681.1Stv# If some macros were called several times there might be several times
78691.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
78701.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
78711.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
78721.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
78731.1Stvrm -f confdef2sed.sed
78741.1Stv
78751.1Stv# This sed command replaces #undef with comments.  This is necessary, for
78761.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
78771.1Stv# on some systems where configure will not decide to define it.
78781.39Sfredbcat >>conftest.undefs <<\_ACEOF
78791.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
78801.39Sfredb_ACEOF
78811.1Stv
78821.1Stv# Break up conftest.defines because some shells have a limit on the size
78831.1Stv# of here documents, and old seds have small limits too (100 cmds).
78841.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
78851.39Sfredbecho '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
78861.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
78871.1Stvecho '  :' >>$CONFIG_STATUS
78881.1Stvrm -f conftest.tail
78891.1Stvwhile grep . conftest.defines >/dev/null
78901.1Stvdo
78911.1Stv  # Write a limited-size here document to $tmp/defines.sed.
78921.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
78931.1Stv  # Speed up: don't consider the non `#define' lines.
78941.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
78951.1Stv  # Work around the forget-to-reset-the-flag bug.
78961.1Stv  echo 't clr' >>$CONFIG_STATUS
78971.1Stv  echo ': clr' >>$CONFIG_STATUS
78981.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
78991.1Stv  echo 'CEOF
79001.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
79011.1Stv  rm -f $tmp/in
79021.1Stv  mv $tmp/out $tmp/in
79031.1Stv' >>$CONFIG_STATUS
79041.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
79051.1Stv  rm -f conftest.defines
79061.1Stv  mv conftest.tail conftest.defines
79071.1Stvdone
79081.1Stvrm -f conftest.defines
79091.39Sfredbecho '  fi # grep' >>$CONFIG_STATUS
79101.1Stvecho >>$CONFIG_STATUS
79111.1Stv
79121.1Stv# Break up conftest.undefs because some shells have a limit on the size
79131.1Stv# of here documents, and old seds have small limits too (100 cmds).
79141.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
79151.1Stvrm -f conftest.tail
79161.1Stvwhile grep . conftest.undefs >/dev/null
79171.1Stvdo
79181.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
79191.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
79201.1Stv  # Speed up: don't consider the non `#undef'
79211.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
79221.1Stv  # Work around the forget-to-reset-the-flag bug.
79231.1Stv  echo 't clr' >>$CONFIG_STATUS
79241.1Stv  echo ': clr' >>$CONFIG_STATUS
79251.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
79261.1Stv  echo 'CEOF
79271.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
79281.1Stv  rm -f $tmp/in
79291.1Stv  mv $tmp/out $tmp/in
79301.1Stv' >>$CONFIG_STATUS
79311.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
79321.1Stv  rm -f conftest.undefs
79331.1Stv  mv conftest.tail conftest.undefs
79341.1Stvdone
79351.1Stvrm -f conftest.undefs
79361.1Stv
79371.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
79381.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
79391.1Stv  # use $as_me), people would be surprised to read:
79401.39Sfredb  #    /* config.h.  Generated by config.status.  */
79411.1Stv  if test x"$ac_file" = x-; then
79421.39Sfredb    echo "/* Generated by configure.  */" >$tmp/config.h
79431.1Stv  else
79441.39Sfredb    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
79451.1Stv  fi
79461.1Stv  cat $tmp/in >>$tmp/config.h
79471.1Stv  rm -f $tmp/in
79481.1Stv  if test x"$ac_file" != x-; then
79491.39Sfredb    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
79501.39Sfredb      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
79511.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
79521.1Stv    else
79531.39Sfredb      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
79541.39Sfredb$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79551.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
79561.1Stv         X"$ac_file" : 'X\(//\)$' \| \
79571.1Stv         X"$ac_file" : 'X\(/\)' \| \
79581.1Stv         .     : '\(.\)' 2>/dev/null ||
79591.1Stvecho X"$ac_file" |
79601.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
79611.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
79621.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
79631.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
79641.1Stv  	  s/.*/./; q'`
79651.39Sfredb      { if $as_mkdir_p; then
79661.39Sfredb    mkdir -p "$ac_dir"
79671.39Sfredb  else
79681.39Sfredb    as_dir="$ac_dir"
79691.39Sfredb    as_dirs=
79701.39Sfredb    while test ! -d "$as_dir"; do
79711.39Sfredb      as_dirs="$as_dir $as_dirs"
79721.39Sfredb      as_dir=`(dirname "$as_dir") 2>/dev/null ||
79731.39Sfredb$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79741.39Sfredb         X"$as_dir" : 'X\(//\)[^/]' \| \
79751.39Sfredb         X"$as_dir" : 'X\(//\)$' \| \
79761.39Sfredb         X"$as_dir" : 'X\(/\)' \| \
79771.39Sfredb         .     : '\(.\)' 2>/dev/null ||
79781.39Sfredbecho X"$as_dir" |
79791.39Sfredb    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
79801.39Sfredb  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
79811.39Sfredb  	  /^X\(\/\/\)$/{ s//\1/; q; }
79821.39Sfredb  	  /^X\(\/\).*/{ s//\1/; q; }
79831.39Sfredb  	  s/.*/./; q'`
79841.39Sfredb    done
79851.39Sfredb    test ! -n "$as_dirs" || mkdir $as_dirs
79861.39Sfredb  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
79871.39Sfredbecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
79881.39Sfredb   { (exit 1); exit 1; }; }; }
79891.1Stv
79901.1Stv      rm -f $ac_file
79911.1Stv      mv $tmp/config.h $ac_file
79921.1Stv    fi
79931.1Stv  else
79941.1Stv    cat $tmp/config.h
79951.1Stv    rm -f $tmp/config.h
79961.1Stv  fi
79971.1Stvdone
79981.39Sfredb_ACEOF
79991.1Stv
80001.39Sfredbcat >>$CONFIG_STATUS <<\_ACEOF
80011.1Stv
80021.1Stv{ (exit 0); exit 0; }
80031.39Sfredb_ACEOF
80041.1Stvchmod +x $CONFIG_STATUS
80051.1Stvac_clean_files=$ac_clean_files_save
80061.1Stv
80071.39Sfredb
80081.1Stv# configure is writing to config.log, and then calls config.status.
80091.1Stv# config.status does its own redirection, appending to config.log.
80101.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
80111.1Stv# by configure, so config.status won't be able to write to it; its
80121.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
80131.1Stv# effectively closing config.log, so it can be properly (re)opened and
80141.1Stv# appended to by config.status.  When coming back to configure, we
80151.1Stv# need to make the FD available again.
80161.1Stvif test "$no_create" != yes; then
80171.1Stv  ac_cs_success=:
80181.39Sfredb  ac_config_status_args=
80191.39Sfredb  test "$silent" = yes &&
80201.39Sfredb    ac_config_status_args="$ac_config_status_args --quiet"
80211.1Stv  exec 5>/dev/null
80221.39Sfredb  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
80231.1Stv  exec 5>>config.log
80241.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
80251.1Stv  # would make configure fail if this is the last instruction.
80261.1Stv  $ac_cs_success || { (exit 1); exit 1; }
80271.1Stvfi
80281.1Stv
8029