Home | History | Annotate | Line # | Download | only in compat
configure revision 1.42
      1   1.1       tv #! /bin/sh
      2   1.1       tv # Guess values for system-dependent variables and create Makefiles.
      3  1.39    fredb # Generated by GNU Autoconf 2.57 for libnbcompat noversion.
      4   1.1       tv #
      5  1.41     salo # Report bugs to <lib-bug-people (at] NetBSD.org>.
      6   1.1       tv #
      7  1.39    fredb # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
      8   1.1       tv # Free Software Foundation, Inc.
      9   1.1       tv # This configure script is free software; the Free Software Foundation
     10   1.1       tv # gives unlimited permission to copy, distribute and modify it.
     11  1.39    fredb ## --------------------- ##
     12  1.39    fredb ## M4sh Initialization.  ##
     13  1.39    fredb ## --------------------- ##
     14   1.1       tv 
     15  1.39    fredb # Be Bourne compatible
     16  1.39    fredb if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17  1.39    fredb   emulate sh
     18  1.39    fredb   NULLCMD=:
     19  1.39    fredb   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20  1.39    fredb   # is contrary to our usage.  Disable this feature.
     21  1.39    fredb   alias -g '${1+"$@"}'='"$@"'
     22  1.39    fredb elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     23  1.39    fredb   set -o posix
     24  1.39    fredb fi
     25  1.39    fredb 
     26  1.39    fredb # Support unset when possible.
     27  1.39    fredb if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     28  1.39    fredb   as_unset=unset
     29  1.39    fredb else
     30  1.39    fredb   as_unset=false
     31  1.39    fredb fi
     32  1.39    fredb 
     33  1.39    fredb 
     34  1.39    fredb # Work around bugs in pre-3.0 UWIN ksh.
     35  1.39    fredb $as_unset ENV MAIL MAILPATH
     36  1.39    fredb PS1='$ '
     37  1.39    fredb PS2='> '
     38  1.39    fredb PS4='+ '
     39  1.39    fredb 
     40  1.39    fredb # NLS nuisances.
     41  1.39    fredb for as_var in \
     42  1.39    fredb   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43  1.39    fredb   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44  1.39    fredb   LC_TELEPHONE LC_TIME
     45  1.39    fredb do
     46  1.39    fredb   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47  1.39    fredb     eval $as_var=C; export $as_var
     48  1.39    fredb   else
     49  1.39    fredb     $as_unset $as_var
     50  1.39    fredb   fi
     51  1.39    fredb done
     52  1.39    fredb 
     53  1.39    fredb # Required to use basename.
     54  1.39    fredb if expr a : '\(a\)' >/dev/null 2>&1; then
     55  1.39    fredb   as_expr=expr
     56  1.39    fredb else
     57  1.39    fredb   as_expr=false
     58  1.39    fredb fi
     59  1.39    fredb 
     60  1.39    fredb if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61  1.39    fredb   as_basename=basename
     62  1.39    fredb else
     63  1.39    fredb   as_basename=false
     64  1.39    fredb fi
     65  1.39    fredb 
     66  1.39    fredb 
     67  1.39    fredb # Name of the executable.
     68  1.39    fredb as_me=`$as_basename "$0" ||
     69  1.39    fredb $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70  1.39    fredb 	 X"$0" : 'X\(//\)$' \| \
     71  1.39    fredb 	 X"$0" : 'X\(/\)$' \| \
     72  1.39    fredb 	 .     : '\(.\)' 2>/dev/null ||
     73  1.39    fredb echo X/"$0" |
     74  1.39    fredb     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75  1.39    fredb   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76  1.39    fredb   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77  1.39    fredb   	  s/.*/./; q'`
     78  1.39    fredb 
     79  1.39    fredb 
     80  1.39    fredb # PATH needs CR, and LINENO needs CR and PATH.
     81   1.1       tv # Avoid depending upon Character Ranges.
     82   1.1       tv as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83   1.1       tv as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84   1.1       tv as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85   1.1       tv as_cr_digits='0123456789'
     86   1.1       tv as_cr_alnum=$as_cr_Letters$as_cr_digits
     87   1.1       tv 
     88  1.39    fredb # The user is always right.
     89  1.39    fredb if test "${PATH_SEPARATOR+set}" != set; then
     90  1.39    fredb   echo "#! /bin/sh" >conf$$.sh
     91  1.39    fredb   echo  "exit 0"   >>conf$$.sh
     92  1.39    fredb   chmod +x conf$$.sh
     93  1.39    fredb   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94  1.39    fredb     PATH_SEPARATOR=';'
     95  1.39    fredb   else
     96  1.39    fredb     PATH_SEPARATOR=:
     97  1.39    fredb   fi
     98  1.39    fredb   rm -f conf$$.sh
     99  1.39    fredb fi
    100  1.39    fredb 
    101  1.39    fredb 
    102  1.39    fredb   as_lineno_1=$LINENO
    103  1.39    fredb   as_lineno_2=$LINENO
    104  1.39    fredb   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105  1.39    fredb   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106  1.39    fredb   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107  1.39    fredb   # Find who we are.  Look in the path if we contain no path at all
    108  1.39    fredb   # relative or not.
    109  1.39    fredb   case $0 in
    110  1.39    fredb     *[\\/]* ) as_myself=$0 ;;
    111  1.39    fredb     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112  1.39    fredb for as_dir in $PATH
    113  1.39    fredb do
    114  1.39    fredb   IFS=$as_save_IFS
    115  1.39    fredb   test -z "$as_dir" && as_dir=.
    116  1.39    fredb   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117  1.39    fredb done
    118  1.39    fredb 
    119  1.39    fredb        ;;
    120  1.39    fredb   esac
    121  1.39    fredb   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122  1.39    fredb   # in which case we are not to be found in the path.
    123  1.39    fredb   if test "x$as_myself" = x; then
    124  1.39    fredb     as_myself=$0
    125  1.39    fredb   fi
    126  1.39    fredb   if test ! -f "$as_myself"; then
    127  1.39    fredb     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128  1.39    fredb    { (exit 1); exit 1; }; }
    129  1.39    fredb   fi
    130  1.39    fredb   case $CONFIG_SHELL in
    131  1.39    fredb   '')
    132  1.39    fredb     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133  1.39    fredb for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134  1.39    fredb do
    135  1.39    fredb   IFS=$as_save_IFS
    136  1.39    fredb   test -z "$as_dir" && as_dir=.
    137  1.39    fredb   for as_base in sh bash ksh sh5; do
    138  1.39    fredb 	 case $as_dir in
    139  1.39    fredb 	 /*)
    140  1.39    fredb 	   if ("$as_dir/$as_base" -c '
    141  1.39    fredb   as_lineno_1=$LINENO
    142  1.39    fredb   as_lineno_2=$LINENO
    143  1.39    fredb   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144  1.39    fredb   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145  1.39    fredb   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146  1.39    fredb 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147  1.39    fredb 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148  1.39    fredb 	     CONFIG_SHELL=$as_dir/$as_base
    149  1.39    fredb 	     export CONFIG_SHELL
    150  1.39    fredb 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151  1.39    fredb 	   fi;;
    152  1.39    fredb 	 esac
    153  1.39    fredb        done
    154  1.39    fredb done
    155  1.39    fredb ;;
    156  1.39    fredb   esac
    157  1.39    fredb 
    158  1.39    fredb   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159  1.39    fredb   # uniformly replaced by the line number.  The first 'sed' inserts a
    160  1.39    fredb   # line-number line before each line; the second 'sed' does the real
    161  1.39    fredb   # work.  The second script uses 'N' to pair each line-number line
    162  1.39    fredb   # with the numbered line, and appends trailing '-' during
    163  1.39    fredb   # substitution so that $LINENO is not a special case at line end.
    164  1.39    fredb   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165  1.39    fredb   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166  1.39    fredb   sed '=' <$as_myself |
    167  1.39    fredb     sed '
    168  1.39    fredb       N
    169  1.39    fredb       s,$,-,
    170  1.39    fredb       : loop
    171  1.39    fredb       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172  1.39    fredb       t loop
    173  1.39    fredb       s,-$,,
    174  1.39    fredb       s,^['$as_cr_digits']*\n,,
    175  1.39    fredb     ' >$as_me.lineno &&
    176  1.39    fredb   chmod +x $as_me.lineno ||
    177  1.39    fredb     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178  1.39    fredb    { (exit 1); exit 1; }; }
    179   1.1       tv 
    180  1.39    fredb   # Don't try to exec as it changes $[0], causing all sort of problems
    181  1.39    fredb   # (the dirname of $[0] is not the place where we might find the
    182  1.39    fredb   # original and so on.  Autoconf is especially sensible to this).
    183  1.39    fredb   . ./$as_me.lineno
    184  1.39    fredb   # Exit status is that of the last command.
    185  1.39    fredb   exit
    186  1.39    fredb }
    187   1.1       tv 
    188   1.1       tv 
    189  1.39    fredb case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190  1.39    fredb   *c*,-n*) ECHO_N= ECHO_C='
    191  1.39    fredb ' ECHO_T='	' ;;
    192  1.39    fredb   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193  1.39    fredb   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194  1.39    fredb esac
    195   1.1       tv 
    196   1.1       tv if expr a : '\(a\)' >/dev/null 2>&1; then
    197   1.1       tv   as_expr=expr
    198   1.1       tv else
    199   1.1       tv   as_expr=false
    200   1.1       tv fi
    201   1.1       tv 
    202   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
    203   1.1       tv echo >conf$$.file
    204   1.1       tv if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   1.1       tv   # We could just check for DJGPP; but this test a) works b) is more generic
    206   1.1       tv   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   1.1       tv   if test -f conf$$.exe; then
    208   1.1       tv     # Don't use ln at all; we don't have any links
    209   1.1       tv     as_ln_s='cp -p'
    210   1.1       tv   else
    211   1.1       tv     as_ln_s='ln -s'
    212   1.1       tv   fi
    213   1.1       tv elif ln conf$$.file conf$$ 2>/dev/null; then
    214   1.1       tv   as_ln_s=ln
    215   1.1       tv else
    216   1.1       tv   as_ln_s='cp -p'
    217   1.1       tv fi
    218   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
    219   1.1       tv 
    220  1.39    fredb if mkdir -p . 2>/dev/null; then
    221  1.39    fredb   as_mkdir_p=:
    222  1.39    fredb else
    223  1.39    fredb   as_mkdir_p=false
    224  1.39    fredb fi
    225  1.39    fredb 
    226   1.1       tv as_executable_p="test -f"
    227   1.1       tv 
    228  1.39    fredb # Sed expression to map a string onto a valid CPP name.
    229  1.39    fredb as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    230  1.39    fredb 
    231  1.39    fredb # Sed expression to map a string onto a valid variable name.
    232  1.39    fredb as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    233   1.1       tv 
    234   1.1       tv 
    235   1.1       tv # IFS
    236   1.1       tv # We need space, tab and new line, in precisely that order.
    237   1.1       tv as_nl='
    238   1.1       tv '
    239   1.1       tv IFS=" 	$as_nl"
    240   1.1       tv 
    241   1.1       tv # CDPATH.
    242  1.39    fredb $as_unset CDPATH
    243  1.39    fredb 
    244   1.1       tv 
    245   1.1       tv # Name of the host.
    246   1.1       tv # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    247   1.1       tv # so uname gets run too.
    248   1.1       tv ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    249   1.1       tv 
    250   1.1       tv exec 6>&1
    251   1.1       tv 
    252   1.1       tv #
    253   1.1       tv # Initializations.
    254   1.1       tv #
    255   1.1       tv ac_default_prefix=/usr/local
    256  1.39    fredb ac_config_libobj_dir=.
    257   1.1       tv cross_compiling=no
    258   1.1       tv subdirs=
    259  1.39    fredb MFLAGS=
    260  1.39    fredb MAKEFLAGS=
    261   1.1       tv SHELL=${CONFIG_SHELL-/bin/sh}
    262   1.1       tv 
    263   1.1       tv # Maximum number of lines to put in a shell here document.
    264   1.1       tv # This variable seems obsolete.  It should probably be removed, and
    265   1.1       tv # only ac_max_sed_lines should be used.
    266   1.1       tv : ${ac_max_here_lines=38}
    267   1.1       tv 
    268  1.39    fredb # Identity of this package.
    269  1.39    fredb PACKAGE_NAME='libnbcompat'
    270  1.39    fredb PACKAGE_TARNAME='libnbcompat'
    271  1.39    fredb PACKAGE_VERSION='noversion'
    272  1.39    fredb PACKAGE_STRING='libnbcompat noversion'
    273  1.41     salo PACKAGE_BUGREPORT='lib-bug-people (at] NetBSD.org'
    274  1.39    fredb 
    275   1.1       tv # Factoring default headers for most tests.
    276   1.1       tv ac_includes_default="\
    277   1.1       tv #include <stdio.h>
    278   1.1       tv #if HAVE_SYS_TYPES_H
    279   1.1       tv # include <sys/types.h>
    280   1.1       tv #endif
    281   1.1       tv #if HAVE_SYS_STAT_H
    282   1.1       tv # include <sys/stat.h>
    283   1.1       tv #endif
    284   1.1       tv #if STDC_HEADERS
    285   1.1       tv # include <stdlib.h>
    286   1.1       tv # include <stddef.h>
    287   1.1       tv #else
    288   1.1       tv # if HAVE_STDLIB_H
    289   1.1       tv #  include <stdlib.h>
    290   1.1       tv # endif
    291   1.1       tv #endif
    292   1.1       tv #if HAVE_STRING_H
    293   1.1       tv # if !STDC_HEADERS && HAVE_MEMORY_H
    294   1.1       tv #  include <memory.h>
    295   1.1       tv # endif
    296   1.1       tv # include <string.h>
    297   1.1       tv #endif
    298   1.1       tv #if HAVE_STRINGS_H
    299   1.1       tv # include <strings.h>
    300   1.1       tv #endif
    301   1.1       tv #if HAVE_INTTYPES_H
    302   1.1       tv # include <inttypes.h>
    303   1.1       tv #else
    304   1.1       tv # if HAVE_STDINT_H
    305   1.1       tv #  include <stdint.h>
    306   1.1       tv # endif
    307   1.1       tv #endif
    308   1.1       tv #if HAVE_UNISTD_H
    309   1.1       tv # include <unistd.h>
    310   1.1       tv #endif"
    311   1.1       tv 
    312  1.39    fredb ac_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'
    313  1.39    fredb ac_subst_files=''
    314  1.39    fredb 
    315   1.1       tv # Initialize some variables set by options.
    316   1.1       tv ac_init_help=
    317   1.1       tv ac_init_version=false
    318   1.1       tv # The variables have the same names as the options, with
    319   1.1       tv # dashes changed to underlines.
    320   1.1       tv cache_file=/dev/null
    321   1.1       tv exec_prefix=NONE
    322   1.1       tv no_create=
    323   1.1       tv no_recursion=
    324   1.1       tv prefix=NONE
    325   1.1       tv program_prefix=NONE
    326   1.1       tv program_suffix=NONE
    327   1.1       tv program_transform_name=s,x,x,
    328   1.1       tv silent=
    329   1.1       tv site=
    330   1.1       tv srcdir=
    331   1.1       tv verbose=
    332   1.1       tv x_includes=NONE
    333   1.1       tv x_libraries=NONE
    334   1.1       tv 
    335   1.1       tv # Installation directory options.
    336   1.1       tv # These are left unexpanded so users can "make install exec_prefix=/foo"
    337   1.1       tv # and all the variables that are supposed to be based on exec_prefix
    338   1.1       tv # by default will actually change.
    339   1.1       tv # Use braces instead of parens because sh, perl, etc. also accept them.
    340   1.1       tv bindir='${exec_prefix}/bin'
    341   1.1       tv sbindir='${exec_prefix}/sbin'
    342   1.1       tv libexecdir='${exec_prefix}/libexec'
    343   1.1       tv datadir='${prefix}/share'
    344   1.1       tv sysconfdir='${prefix}/etc'
    345   1.1       tv sharedstatedir='${prefix}/com'
    346   1.1       tv localstatedir='${prefix}/var'
    347   1.1       tv libdir='${exec_prefix}/lib'
    348   1.1       tv includedir='${prefix}/include'
    349   1.1       tv oldincludedir='/usr/include'
    350   1.1       tv infodir='${prefix}/info'
    351   1.1       tv mandir='${prefix}/man'
    352   1.1       tv 
    353   1.1       tv ac_prev=
    354   1.1       tv for ac_option
    355   1.1       tv do
    356   1.1       tv   # If the previous option needs an argument, assign it.
    357   1.1       tv   if test -n "$ac_prev"; then
    358   1.1       tv     eval "$ac_prev=\$ac_option"
    359   1.1       tv     ac_prev=
    360   1.1       tv     continue
    361   1.1       tv   fi
    362   1.1       tv 
    363   1.1       tv   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    364   1.1       tv 
    365   1.1       tv   # Accept the important Cygnus configure options, so we can diagnose typos.
    366   1.1       tv 
    367   1.1       tv   case $ac_option in
    368   1.1       tv 
    369   1.1       tv   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    370   1.1       tv     ac_prev=bindir ;;
    371   1.1       tv   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    372   1.1       tv     bindir=$ac_optarg ;;
    373   1.1       tv 
    374   1.1       tv   -build | --build | --buil | --bui | --bu)
    375   1.1       tv     ac_prev=build_alias ;;
    376   1.1       tv   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    377   1.1       tv     build_alias=$ac_optarg ;;
    378   1.1       tv 
    379   1.1       tv   -cache-file | --cache-file | --cache-fil | --cache-fi \
    380   1.1       tv   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    381   1.1       tv     ac_prev=cache_file ;;
    382   1.1       tv   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    383   1.1       tv   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    384   1.1       tv     cache_file=$ac_optarg ;;
    385   1.1       tv 
    386   1.1       tv   --config-cache | -C)
    387   1.1       tv     cache_file=config.cache ;;
    388   1.1       tv 
    389   1.1       tv   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    390   1.1       tv     ac_prev=datadir ;;
    391   1.1       tv   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   1.1       tv   | --da=*)
    393   1.1       tv     datadir=$ac_optarg ;;
    394   1.1       tv 
    395   1.1       tv   -disable-* | --disable-*)
    396   1.1       tv     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397   1.1       tv     # Reject names that are not valid shell variable names.
    398   1.1       tv     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    399   1.1       tv       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    400   1.1       tv    { (exit 1); exit 1; }; }
    401   1.1       tv     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402   1.1       tv     eval "enable_$ac_feature=no" ;;
    403   1.1       tv 
    404   1.1       tv   -enable-* | --enable-*)
    405   1.1       tv     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406   1.1       tv     # Reject names that are not valid shell variable names.
    407   1.1       tv     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    408   1.1       tv       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    409   1.1       tv    { (exit 1); exit 1; }; }
    410   1.1       tv     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    411   1.1       tv     case $ac_option in
    412   1.1       tv       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    413   1.1       tv       *) ac_optarg=yes ;;
    414   1.1       tv     esac
    415   1.1       tv     eval "enable_$ac_feature='$ac_optarg'" ;;
    416   1.1       tv 
    417   1.1       tv   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    418   1.1       tv   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    419   1.1       tv   | --exec | --exe | --ex)
    420   1.1       tv     ac_prev=exec_prefix ;;
    421   1.1       tv   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    422   1.1       tv   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    423   1.1       tv   | --exec=* | --exe=* | --ex=*)
    424   1.1       tv     exec_prefix=$ac_optarg ;;
    425   1.1       tv 
    426   1.1       tv   -gas | --gas | --ga | --g)
    427   1.1       tv     # Obsolete; use --with-gas.
    428   1.1       tv     with_gas=yes ;;
    429   1.1       tv 
    430   1.1       tv   -help | --help | --hel | --he | -h)
    431   1.1       tv     ac_init_help=long ;;
    432   1.1       tv   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    433   1.1       tv     ac_init_help=recursive ;;
    434   1.1       tv   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    435   1.1       tv     ac_init_help=short ;;
    436   1.1       tv 
    437   1.1       tv   -host | --host | --hos | --ho)
    438   1.1       tv     ac_prev=host_alias ;;
    439   1.1       tv   -host=* | --host=* | --hos=* | --ho=*)
    440   1.1       tv     host_alias=$ac_optarg ;;
    441   1.1       tv 
    442   1.1       tv   -includedir | --includedir | --includedi | --included | --include \
    443   1.1       tv   | --includ | --inclu | --incl | --inc)
    444   1.1       tv     ac_prev=includedir ;;
    445   1.1       tv   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    446   1.1       tv   | --includ=* | --inclu=* | --incl=* | --inc=*)
    447   1.1       tv     includedir=$ac_optarg ;;
    448   1.1       tv 
    449   1.1       tv   -infodir | --infodir | --infodi | --infod | --info | --inf)
    450   1.1       tv     ac_prev=infodir ;;
    451   1.1       tv   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    452   1.1       tv     infodir=$ac_optarg ;;
    453   1.1       tv 
    454   1.1       tv   -libdir | --libdir | --libdi | --libd)
    455   1.1       tv     ac_prev=libdir ;;
    456   1.1       tv   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    457   1.1       tv     libdir=$ac_optarg ;;
    458   1.1       tv 
    459   1.1       tv   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    460   1.1       tv   | --libexe | --libex | --libe)
    461   1.1       tv     ac_prev=libexecdir ;;
    462   1.1       tv   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    463   1.1       tv   | --libexe=* | --libex=* | --libe=*)
    464   1.1       tv     libexecdir=$ac_optarg ;;
    465   1.1       tv 
    466   1.1       tv   -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   1.1       tv   | --localstate | --localstat | --localsta | --localst \
    468   1.1       tv   | --locals | --local | --loca | --loc | --lo)
    469   1.1       tv     ac_prev=localstatedir ;;
    470   1.1       tv   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   1.1       tv   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   1.1       tv   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    473   1.1       tv     localstatedir=$ac_optarg ;;
    474   1.1       tv 
    475   1.1       tv   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    476   1.1       tv     ac_prev=mandir ;;
    477   1.1       tv   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    478   1.1       tv     mandir=$ac_optarg ;;
    479   1.1       tv 
    480   1.1       tv   -nfp | --nfp | --nf)
    481   1.1       tv     # Obsolete; use --without-fp.
    482   1.1       tv     with_fp=no ;;
    483   1.1       tv 
    484   1.1       tv   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    485  1.39    fredb   | --no-cr | --no-c | -n)
    486   1.1       tv     no_create=yes ;;
    487   1.1       tv 
    488   1.1       tv   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    489   1.1       tv   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    490   1.1       tv     no_recursion=yes ;;
    491   1.1       tv 
    492   1.1       tv   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    493   1.1       tv   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    494   1.1       tv   | --oldin | --oldi | --old | --ol | --o)
    495   1.1       tv     ac_prev=oldincludedir ;;
    496   1.1       tv   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    497   1.1       tv   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    498   1.1       tv   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    499   1.1       tv     oldincludedir=$ac_optarg ;;
    500   1.1       tv 
    501   1.1       tv   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    502   1.1       tv     ac_prev=prefix ;;
    503   1.1       tv   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    504   1.1       tv     prefix=$ac_optarg ;;
    505   1.1       tv 
    506   1.1       tv   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    507   1.1       tv   | --program-pre | --program-pr | --program-p)
    508   1.1       tv     ac_prev=program_prefix ;;
    509   1.1       tv   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    510   1.1       tv   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    511   1.1       tv     program_prefix=$ac_optarg ;;
    512   1.1       tv 
    513   1.1       tv   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    514   1.1       tv   | --program-suf | --program-su | --program-s)
    515   1.1       tv     ac_prev=program_suffix ;;
    516   1.1       tv   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    517   1.1       tv   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    518   1.1       tv     program_suffix=$ac_optarg ;;
    519   1.1       tv 
    520   1.1       tv   -program-transform-name | --program-transform-name \
    521   1.1       tv   | --program-transform-nam | --program-transform-na \
    522   1.1       tv   | --program-transform-n | --program-transform- \
    523   1.1       tv   | --program-transform | --program-transfor \
    524   1.1       tv   | --program-transfo | --program-transf \
    525   1.1       tv   | --program-trans | --program-tran \
    526   1.1       tv   | --progr-tra | --program-tr | --program-t)
    527   1.1       tv     ac_prev=program_transform_name ;;
    528   1.1       tv   -program-transform-name=* | --program-transform-name=* \
    529   1.1       tv   | --program-transform-nam=* | --program-transform-na=* \
    530   1.1       tv   | --program-transform-n=* | --program-transform-=* \
    531   1.1       tv   | --program-transform=* | --program-transfor=* \
    532   1.1       tv   | --program-transfo=* | --program-transf=* \
    533   1.1       tv   | --program-trans=* | --program-tran=* \
    534   1.1       tv   | --progr-tra=* | --program-tr=* | --program-t=*)
    535   1.1       tv     program_transform_name=$ac_optarg ;;
    536   1.1       tv 
    537   1.1       tv   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    538   1.1       tv   | -silent | --silent | --silen | --sile | --sil)
    539   1.1       tv     silent=yes ;;
    540   1.1       tv 
    541   1.1       tv   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    542   1.1       tv     ac_prev=sbindir ;;
    543   1.1       tv   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    544   1.1       tv   | --sbi=* | --sb=*)
    545   1.1       tv     sbindir=$ac_optarg ;;
    546   1.1       tv 
    547   1.1       tv   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    548   1.1       tv   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    549   1.1       tv   | --sharedst | --shareds | --shared | --share | --shar \
    550   1.1       tv   | --sha | --sh)
    551   1.1       tv     ac_prev=sharedstatedir ;;
    552   1.1       tv   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    553   1.1       tv   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    554   1.1       tv   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    555   1.1       tv   | --sha=* | --sh=*)
    556   1.1       tv     sharedstatedir=$ac_optarg ;;
    557   1.1       tv 
    558   1.1       tv   -site | --site | --sit)
    559   1.1       tv     ac_prev=site ;;
    560   1.1       tv   -site=* | --site=* | --sit=*)
    561   1.1       tv     site=$ac_optarg ;;
    562   1.1       tv 
    563   1.1       tv   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    564   1.1       tv     ac_prev=srcdir ;;
    565   1.1       tv   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    566   1.1       tv     srcdir=$ac_optarg ;;
    567   1.1       tv 
    568   1.1       tv   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    569   1.1       tv   | --syscon | --sysco | --sysc | --sys | --sy)
    570   1.1       tv     ac_prev=sysconfdir ;;
    571   1.1       tv   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    572   1.1       tv   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    573   1.1       tv     sysconfdir=$ac_optarg ;;
    574   1.1       tv 
    575   1.1       tv   -target | --target | --targe | --targ | --tar | --ta | --t)
    576   1.1       tv     ac_prev=target_alias ;;
    577   1.1       tv   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    578   1.1       tv     target_alias=$ac_optarg ;;
    579   1.1       tv 
    580   1.1       tv   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    581   1.1       tv     verbose=yes ;;
    582   1.1       tv 
    583   1.1       tv   -version | --version | --versio | --versi | --vers | -V)
    584   1.1       tv     ac_init_version=: ;;
    585   1.1       tv 
    586   1.1       tv   -with-* | --with-*)
    587   1.1       tv     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    588   1.1       tv     # Reject names that are not valid shell variable names.
    589   1.1       tv     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    590   1.1       tv       { echo "$as_me: error: invalid package name: $ac_package" >&2
    591   1.1       tv    { (exit 1); exit 1; }; }
    592   1.1       tv     ac_package=`echo $ac_package| sed 's/-/_/g'`
    593   1.1       tv     case $ac_option in
    594   1.1       tv       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    595   1.1       tv       *) ac_optarg=yes ;;
    596   1.1       tv     esac
    597   1.1       tv     eval "with_$ac_package='$ac_optarg'" ;;
    598   1.1       tv 
    599   1.1       tv   -without-* | --without-*)
    600   1.1       tv     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    601   1.1       tv     # Reject names that are not valid shell variable names.
    602   1.1       tv     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    603   1.1       tv       { echo "$as_me: error: invalid package name: $ac_package" >&2
    604   1.1       tv    { (exit 1); exit 1; }; }
    605   1.1       tv     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606   1.1       tv     eval "with_$ac_package=no" ;;
    607   1.1       tv 
    608   1.1       tv   --x)
    609   1.1       tv     # Obsolete; use --with-x.
    610   1.1       tv     with_x=yes ;;
    611   1.1       tv 
    612   1.1       tv   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    613   1.1       tv   | --x-incl | --x-inc | --x-in | --x-i)
    614   1.1       tv     ac_prev=x_includes ;;
    615   1.1       tv   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    616   1.1       tv   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    617   1.1       tv     x_includes=$ac_optarg ;;
    618   1.1       tv 
    619   1.1       tv   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    620   1.1       tv   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    621   1.1       tv     ac_prev=x_libraries ;;
    622   1.1       tv   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    623   1.1       tv   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    624   1.1       tv     x_libraries=$ac_optarg ;;
    625   1.1       tv 
    626   1.1       tv   -*) { echo "$as_me: error: unrecognized option: $ac_option
    627   1.1       tv Try \`$0 --help' for more information." >&2
    628   1.1       tv    { (exit 1); exit 1; }; }
    629   1.1       tv     ;;
    630   1.1       tv 
    631   1.1       tv   *=*)
    632   1.1       tv     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    633   1.1       tv     # Reject names that are not valid shell variable names.
    634   1.1       tv     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    635   1.1       tv       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    636   1.1       tv    { (exit 1); exit 1; }; }
    637   1.1       tv     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638   1.1       tv     eval "$ac_envvar='$ac_optarg'"
    639   1.1       tv     export $ac_envvar ;;
    640   1.1       tv 
    641   1.1       tv   *)
    642   1.1       tv     # FIXME: should be removed in autoconf 3.0.
    643   1.1       tv     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    644   1.1       tv     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    645   1.1       tv       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    646   1.1       tv     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    647   1.1       tv     ;;
    648   1.1       tv 
    649   1.1       tv   esac
    650   1.1       tv done
    651   1.1       tv 
    652   1.1       tv if test -n "$ac_prev"; then
    653   1.1       tv   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    654   1.1       tv   { echo "$as_me: error: missing argument to $ac_option" >&2
    655   1.1       tv    { (exit 1); exit 1; }; }
    656   1.1       tv fi
    657   1.1       tv 
    658   1.1       tv # Be sure to have absolute paths.
    659   1.1       tv for ac_var in exec_prefix prefix
    660   1.1       tv do
    661   1.1       tv   eval ac_val=$`echo $ac_var`
    662   1.1       tv   case $ac_val in
    663   1.1       tv     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    664  1.39    fredb     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    665   1.1       tv    { (exit 1); exit 1; }; };;
    666   1.1       tv   esac
    667   1.1       tv done
    668   1.1       tv 
    669   1.1       tv # Be sure to have absolute paths.
    670   1.1       tv for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    671   1.1       tv               localstatedir libdir includedir oldincludedir infodir mandir
    672   1.1       tv do
    673   1.1       tv   eval ac_val=$`echo $ac_var`
    674   1.1       tv   case $ac_val in
    675   1.1       tv     [\\/$]* | ?:[\\/]* ) ;;
    676  1.39    fredb     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    677   1.1       tv    { (exit 1); exit 1; }; };;
    678   1.1       tv   esac
    679   1.1       tv done
    680   1.1       tv 
    681   1.1       tv # There might be people who depend on the old broken behavior: `$host'
    682   1.1       tv # used to hold the argument of --host etc.
    683  1.39    fredb # FIXME: To remove some day.
    684   1.1       tv build=$build_alias
    685   1.1       tv host=$host_alias
    686   1.1       tv target=$target_alias
    687   1.1       tv 
    688  1.39    fredb # FIXME: To remove some day.
    689   1.1       tv if test "x$host_alias" != x; then
    690   1.1       tv   if test "x$build_alias" = x; then
    691   1.1       tv     cross_compiling=maybe
    692   1.1       tv     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    693   1.1       tv     If a cross compiler is detected then cross compile mode will be used." >&2
    694   1.1       tv   elif test "x$build_alias" != "x$host_alias"; then
    695   1.1       tv     cross_compiling=yes
    696   1.1       tv   fi
    697   1.1       tv fi
    698   1.1       tv 
    699   1.1       tv ac_tool_prefix=
    700   1.1       tv test -n "$host_alias" && ac_tool_prefix=$host_alias-
    701   1.1       tv 
    702   1.1       tv test "$silent" = yes && exec 6>/dev/null
    703   1.1       tv 
    704  1.39    fredb 
    705   1.1       tv # Find the source files, if location was not specified.
    706   1.1       tv if test -z "$srcdir"; then
    707   1.1       tv   ac_srcdir_defaulted=yes
    708   1.1       tv   # Try the directory containing this script, then its parent.
    709  1.39    fredb   ac_confdir=`(dirname "$0") 2>/dev/null ||
    710  1.39    fredb $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    711  1.39    fredb          X"$0" : 'X\(//\)[^/]' \| \
    712  1.39    fredb          X"$0" : 'X\(//\)$' \| \
    713  1.39    fredb          X"$0" : 'X\(/\)' \| \
    714  1.39    fredb          .     : '\(.\)' 2>/dev/null ||
    715  1.39    fredb echo X"$0" |
    716  1.39    fredb     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    717  1.39    fredb   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    718  1.39    fredb   	  /^X\(\/\/\)$/{ s//\1/; q; }
    719  1.39    fredb   	  /^X\(\/\).*/{ s//\1/; q; }
    720  1.39    fredb   	  s/.*/./; q'`
    721   1.1       tv   srcdir=$ac_confdir
    722   1.1       tv   if test ! -r $srcdir/$ac_unique_file; then
    723   1.1       tv     srcdir=..
    724   1.1       tv   fi
    725   1.1       tv else
    726   1.1       tv   ac_srcdir_defaulted=no
    727   1.1       tv fi
    728   1.1       tv if test ! -r $srcdir/$ac_unique_file; then
    729   1.1       tv   if test "$ac_srcdir_defaulted" = yes; then
    730  1.39    fredb     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    731   1.1       tv    { (exit 1); exit 1; }; }
    732   1.1       tv   else
    733  1.39    fredb     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    734   1.1       tv    { (exit 1); exit 1; }; }
    735   1.1       tv   fi
    736   1.1       tv fi
    737  1.39    fredb (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    738  1.39    fredb   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    739  1.39    fredb    { (exit 1); exit 1; }; }
    740   1.1       tv srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    741   1.1       tv ac_env_build_alias_set=${build_alias+set}
    742   1.1       tv ac_env_build_alias_value=$build_alias
    743   1.1       tv ac_cv_env_build_alias_set=${build_alias+set}
    744   1.1       tv ac_cv_env_build_alias_value=$build_alias
    745   1.1       tv ac_env_host_alias_set=${host_alias+set}
    746   1.1       tv ac_env_host_alias_value=$host_alias
    747   1.1       tv ac_cv_env_host_alias_set=${host_alias+set}
    748   1.1       tv ac_cv_env_host_alias_value=$host_alias
    749   1.1       tv ac_env_target_alias_set=${target_alias+set}
    750   1.1       tv ac_env_target_alias_value=$target_alias
    751   1.1       tv ac_cv_env_target_alias_set=${target_alias+set}
    752   1.1       tv ac_cv_env_target_alias_value=$target_alias
    753   1.1       tv ac_env_CC_set=${CC+set}
    754   1.1       tv ac_env_CC_value=$CC
    755   1.1       tv ac_cv_env_CC_set=${CC+set}
    756   1.1       tv ac_cv_env_CC_value=$CC
    757   1.1       tv ac_env_CFLAGS_set=${CFLAGS+set}
    758   1.1       tv ac_env_CFLAGS_value=$CFLAGS
    759   1.1       tv ac_cv_env_CFLAGS_set=${CFLAGS+set}
    760   1.1       tv ac_cv_env_CFLAGS_value=$CFLAGS
    761   1.1       tv ac_env_LDFLAGS_set=${LDFLAGS+set}
    762   1.1       tv ac_env_LDFLAGS_value=$LDFLAGS
    763   1.1       tv ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    764   1.1       tv ac_cv_env_LDFLAGS_value=$LDFLAGS
    765   1.1       tv ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    766   1.1       tv ac_env_CPPFLAGS_value=$CPPFLAGS
    767   1.1       tv ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    768   1.1       tv ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    769   1.1       tv ac_env_CPP_set=${CPP+set}
    770   1.1       tv ac_env_CPP_value=$CPP
    771   1.1       tv ac_cv_env_CPP_set=${CPP+set}
    772   1.1       tv ac_cv_env_CPP_value=$CPP
    773   1.1       tv 
    774   1.1       tv #
    775   1.1       tv # Report the --help message.
    776   1.1       tv #
    777   1.1       tv if test "$ac_init_help" = "long"; then
    778   1.1       tv   # Omit some internal or obsolete options to make the list less imposing.
    779   1.1       tv   # This message is too long to be a string in the A/UX 3.1 sh.
    780  1.39    fredb   cat <<_ACEOF
    781   1.1       tv \`configure' configures libnbcompat noversion to adapt to many kinds of systems.
    782   1.1       tv 
    783   1.1       tv Usage: $0 [OPTION]... [VAR=VALUE]...
    784   1.1       tv 
    785   1.1       tv To assign environment variables (e.g., CC, CFLAGS...), specify them as
    786   1.1       tv VAR=VALUE.  See below for descriptions of some of the useful variables.
    787   1.1       tv 
    788   1.1       tv Defaults for the options are specified in brackets.
    789   1.1       tv 
    790   1.1       tv Configuration:
    791   1.1       tv   -h, --help              display this help and exit
    792   1.1       tv       --help=short        display options specific to this package
    793   1.1       tv       --help=recursive    display the short help of all the included packages
    794   1.1       tv   -V, --version           display version information and exit
    795   1.1       tv   -q, --quiet, --silent   do not print \`checking...' messages
    796   1.1       tv       --cache-file=FILE   cache test results in FILE [disabled]
    797   1.1       tv   -C, --config-cache      alias for \`--cache-file=config.cache'
    798   1.1       tv   -n, --no-create         do not create output files
    799   1.1       tv       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    800   1.1       tv 
    801  1.39    fredb _ACEOF
    802   1.1       tv 
    803  1.39    fredb   cat <<_ACEOF
    804   1.1       tv Installation directories:
    805   1.1       tv   --prefix=PREFIX         install architecture-independent files in PREFIX
    806   1.1       tv                           [$ac_default_prefix]
    807   1.1       tv   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    808   1.1       tv                           [PREFIX]
    809   1.1       tv 
    810   1.1       tv By default, \`make install' will install all the files in
    811   1.1       tv \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    812   1.1       tv an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    813   1.1       tv for instance \`--prefix=\$HOME'.
    814   1.1       tv 
    815   1.1       tv For better control, use the options below.
    816   1.1       tv 
    817   1.1       tv Fine tuning of the installation directories:
    818   1.1       tv   --bindir=DIR           user executables [EPREFIX/bin]
    819   1.1       tv   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    820   1.1       tv   --libexecdir=DIR       program executables [EPREFIX/libexec]
    821   1.1       tv   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    822   1.1       tv   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    823   1.1       tv   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    824   1.1       tv   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    825   1.1       tv   --libdir=DIR           object code libraries [EPREFIX/lib]
    826   1.1       tv   --includedir=DIR       C header files [PREFIX/include]
    827   1.1       tv   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    828   1.1       tv   --infodir=DIR          info documentation [PREFIX/info]
    829   1.1       tv   --mandir=DIR           man documentation [PREFIX/man]
    830  1.39    fredb _ACEOF
    831   1.1       tv 
    832  1.39    fredb   cat <<\_ACEOF
    833  1.39    fredb _ACEOF
    834   1.1       tv fi
    835   1.1       tv 
    836   1.1       tv if test -n "$ac_init_help"; then
    837   1.1       tv   case $ac_init_help in
    838   1.1       tv      short | recursive ) echo "Configuration of libnbcompat noversion:";;
    839   1.1       tv    esac
    840  1.39    fredb   cat <<\_ACEOF
    841   1.1       tv 
    842   1.1       tv Some influential environment variables:
    843   1.1       tv   CC          C compiler command
    844   1.1       tv   CFLAGS      C compiler flags
    845   1.1       tv   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    846   1.1       tv               nonstandard directory <lib dir>
    847   1.1       tv   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    848   1.1       tv               headers in a nonstandard directory <include dir>
    849   1.1       tv   CPP         C preprocessor
    850   1.1       tv 
    851   1.1       tv Use these variables to override the choices made by `configure' or to help
    852   1.1       tv it to find libraries and programs with nonstandard names/locations.
    853   1.1       tv 
    854  1.41     salo Report bugs to <lib-bug-people@NetBSD.org>.
    855  1.39    fredb _ACEOF
    856   1.1       tv fi
    857   1.1       tv 
    858   1.1       tv if test "$ac_init_help" = "recursive"; then
    859   1.1       tv   # If there are subdirs, report their specific --help.
    860   1.1       tv   ac_popdir=`pwd`
    861  1.39    fredb   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    862  1.39    fredb     test -d $ac_dir || continue
    863  1.39    fredb     ac_builddir=.
    864  1.39    fredb 
    865  1.39    fredb if test "$ac_dir" != .; then
    866  1.39    fredb   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    867  1.39    fredb   # A "../" for each directory in $ac_dir_suffix.
    868  1.39    fredb   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    869  1.39    fredb else
    870  1.39    fredb   ac_dir_suffix= ac_top_builddir=
    871  1.39    fredb fi
    872  1.39    fredb 
    873  1.39    fredb case $srcdir in
    874  1.39    fredb   .)  # No --srcdir option.  We are building in place.
    875  1.39    fredb     ac_srcdir=.
    876  1.39    fredb     if test -z "$ac_top_builddir"; then
    877  1.39    fredb        ac_top_srcdir=.
    878  1.39    fredb     else
    879  1.39    fredb        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    880  1.39    fredb     fi ;;
    881  1.39    fredb   [\\/]* | ?:[\\/]* )  # Absolute path.
    882  1.39    fredb     ac_srcdir=$srcdir$ac_dir_suffix;
    883  1.39    fredb     ac_top_srcdir=$srcdir ;;
    884  1.39    fredb   *) # Relative path.
    885  1.39    fredb     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    886  1.39    fredb     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    887  1.39    fredb esac
    888  1.39    fredb # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    889  1.39    fredb # absolute.
    890  1.39    fredb ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    891  1.39    fredb ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    892  1.39    fredb ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    893  1.39    fredb ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    894   1.1       tv 
    895  1.39    fredb     cd $ac_dir
    896   1.1       tv     # Check for guested configure; otherwise get Cygnus style configure.
    897  1.39    fredb     if test -f $ac_srcdir/configure.gnu; then
    898   1.1       tv       echo
    899  1.39    fredb       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    900  1.39    fredb     elif test -f $ac_srcdir/configure; then
    901   1.1       tv       echo
    902  1.39    fredb       $SHELL $ac_srcdir/configure  --help=recursive
    903  1.39    fredb     elif test -f $ac_srcdir/configure.ac ||
    904  1.39    fredb            test -f $ac_srcdir/configure.in; then
    905   1.1       tv       echo
    906   1.1       tv       $ac_configure --help
    907   1.1       tv     else
    908  1.39    fredb       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    909   1.1       tv     fi
    910   1.1       tv     cd $ac_popdir
    911   1.1       tv   done
    912   1.1       tv fi
    913   1.1       tv 
    914   1.1       tv test -n "$ac_init_help" && exit 0
    915   1.1       tv if $ac_init_version; then
    916  1.39    fredb   cat <<\_ACEOF
    917   1.1       tv libnbcompat configure noversion
    918  1.39    fredb generated by GNU Autoconf 2.57
    919   1.1       tv 
    920  1.39    fredb Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    921   1.1       tv Free Software Foundation, Inc.
    922   1.1       tv This configure script is free software; the Free Software Foundation
    923   1.1       tv gives unlimited permission to copy, distribute and modify it.
    924  1.39    fredb _ACEOF
    925   1.1       tv   exit 0
    926   1.1       tv fi
    927   1.1       tv exec 5>config.log
    928  1.39    fredb cat >&5 <<_ACEOF
    929   1.1       tv This file contains any messages produced by compilers while
    930   1.1       tv running configure, to aid debugging if configure makes a mistake.
    931   1.1       tv 
    932   1.1       tv It was created by libnbcompat $as_me noversion, which was
    933  1.39    fredb generated by GNU Autoconf 2.57.  Invocation command line was
    934   1.1       tv 
    935   1.1       tv   $ $0 $@
    936   1.1       tv 
    937  1.39    fredb _ACEOF
    938   1.1       tv {
    939   1.1       tv cat <<_ASUNAME
    940  1.39    fredb ## --------- ##
    941  1.39    fredb ## Platform. ##
    942  1.39    fredb ## --------- ##
    943   1.1       tv 
    944   1.1       tv hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    945   1.1       tv uname -m = `(uname -m) 2>/dev/null || echo unknown`
    946   1.1       tv uname -r = `(uname -r) 2>/dev/null || echo unknown`
    947   1.1       tv uname -s = `(uname -s) 2>/dev/null || echo unknown`
    948   1.1       tv uname -v = `(uname -v) 2>/dev/null || echo unknown`
    949   1.1       tv 
    950   1.1       tv /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    951   1.1       tv /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    952   1.1       tv 
    953   1.1       tv /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    954   1.1       tv /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    955   1.1       tv /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    956   1.1       tv hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    957   1.1       tv /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    958   1.1       tv /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    959   1.1       tv /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    960   1.1       tv 
    961  1.39    fredb _ASUNAME
    962  1.39    fredb 
    963  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    964  1.39    fredb for as_dir in $PATH
    965  1.39    fredb do
    966  1.39    fredb   IFS=$as_save_IFS
    967  1.39    fredb   test -z "$as_dir" && as_dir=.
    968  1.39    fredb   echo "PATH: $as_dir"
    969  1.39    fredb done
    970   1.1       tv 
    971   1.1       tv } >&5
    972   1.1       tv 
    973  1.39    fredb cat >&5 <<_ACEOF
    974  1.39    fredb 
    975  1.39    fredb 
    976  1.39    fredb ## ----------- ##
    977  1.39    fredb ## Core tests. ##
    978  1.39    fredb ## ----------- ##
    979  1.39    fredb 
    980  1.39    fredb _ACEOF
    981   1.1       tv 
    982   1.1       tv 
    983   1.1       tv # Keep a trace of the command line.
    984   1.1       tv # Strip out --no-create and --no-recursion so they do not pile up.
    985  1.39    fredb # Strip out --silent because we don't want to record it for future runs.
    986   1.1       tv # Also quote any args containing shell meta-characters.
    987  1.39    fredb # Make two passes to allow for proper duplicate-argument suppression.
    988   1.1       tv ac_configure_args=
    989  1.39    fredb ac_configure_args0=
    990  1.39    fredb ac_configure_args1=
    991   1.1       tv ac_sep=
    992  1.39    fredb ac_must_keep_next=false
    993  1.39    fredb for ac_pass in 1 2
    994   1.1       tv do
    995  1.39    fredb   for ac_arg
    996  1.39    fredb   do
    997  1.39    fredb     case $ac_arg in
    998  1.39    fredb     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    999  1.39    fredb     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1000  1.39    fredb     | -silent | --silent | --silen | --sile | --sil)
   1001  1.39    fredb       continue ;;
   1002  1.39    fredb     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1003  1.39    fredb       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1004  1.39    fredb     esac
   1005  1.39    fredb     case $ac_pass in
   1006  1.39    fredb     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1007  1.39    fredb     2)
   1008  1.39    fredb       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1009  1.39    fredb       if test $ac_must_keep_next = true; then
   1010  1.39    fredb         ac_must_keep_next=false # Got value, back to normal.
   1011  1.39    fredb       else
   1012  1.39    fredb         case $ac_arg in
   1013  1.39    fredb           *=* | --config-cache | -C | -disable-* | --disable-* \
   1014  1.39    fredb           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1015  1.39    fredb           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1016  1.39    fredb           | -with-* | --with-* | -without-* | --without-* | --x)
   1017  1.39    fredb             case "$ac_configure_args0 " in
   1018  1.39    fredb               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1019  1.39    fredb             esac
   1020  1.39    fredb             ;;
   1021  1.39    fredb           -* ) ac_must_keep_next=true ;;
   1022  1.39    fredb         esac
   1023  1.39    fredb       fi
   1024  1.39    fredb       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1025  1.39    fredb       # Get rid of the leading space.
   1026  1.39    fredb       ac_sep=" "
   1027  1.39    fredb       ;;
   1028  1.39    fredb     esac
   1029  1.39    fredb   done
   1030   1.1       tv done
   1031  1.39    fredb $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1032  1.39    fredb $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1033   1.1       tv 
   1034   1.1       tv # When interrupted or exit'd, cleanup temporary files, and complete
   1035   1.1       tv # config.log.  We remove comments because anyway the quotes in there
   1036   1.1       tv # would cause problems or look ugly.
   1037  1.39    fredb # WARNING: Be sure not to use single quotes in there, as some shells,
   1038  1.39    fredb # such as our DU 5.0 friend, will then `close' the trap.
   1039   1.1       tv trap 'exit_status=$?
   1040   1.1       tv   # Save into config.log some information that might help in debugging.
   1041  1.39    fredb   {
   1042  1.39    fredb     echo
   1043  1.39    fredb 
   1044  1.39    fredb     cat <<\_ASBOX
   1045  1.39    fredb ## ---------------- ##
   1046  1.39    fredb ## Cache variables. ##
   1047  1.39    fredb ## ---------------- ##
   1048  1.39    fredb _ASBOX
   1049  1.39    fredb     echo
   1050  1.39    fredb     # The following way of writing the cache mishandles newlines in values,
   1051   1.1       tv {
   1052   1.1       tv   (set) 2>&1 |
   1053   1.1       tv     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1054   1.1       tv     *ac_space=\ *)
   1055   1.1       tv       sed -n \
   1056   1.1       tv         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1057   1.1       tv     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1058   1.1       tv       ;;
   1059   1.1       tv     *)
   1060   1.1       tv       sed -n \
   1061   1.1       tv         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1062   1.1       tv       ;;
   1063   1.1       tv     esac;
   1064  1.39    fredb }
   1065  1.39    fredb     echo
   1066  1.39    fredb 
   1067  1.39    fredb     cat <<\_ASBOX
   1068  1.39    fredb ## ----------------- ##
   1069  1.39    fredb ## Output variables. ##
   1070  1.39    fredb ## ----------------- ##
   1071  1.39    fredb _ASBOX
   1072  1.39    fredb     echo
   1073  1.39    fredb     for ac_var in $ac_subst_vars
   1074  1.39    fredb     do
   1075  1.39    fredb       eval ac_val=$`echo $ac_var`
   1076  1.39    fredb       echo "$ac_var='"'"'$ac_val'"'"'"
   1077  1.39    fredb     done | sort
   1078  1.39    fredb     echo
   1079  1.39    fredb 
   1080  1.39    fredb     if test -n "$ac_subst_files"; then
   1081  1.39    fredb       cat <<\_ASBOX
   1082  1.39    fredb ## ------------- ##
   1083  1.39    fredb ## Output files. ##
   1084  1.39    fredb ## ------------- ##
   1085  1.39    fredb _ASBOX
   1086  1.39    fredb       echo
   1087  1.39    fredb       for ac_var in $ac_subst_files
   1088  1.39    fredb       do
   1089  1.39    fredb 	eval ac_val=$`echo $ac_var`
   1090  1.39    fredb         echo "$ac_var='"'"'$ac_val'"'"'"
   1091  1.39    fredb       done | sort
   1092  1.39    fredb       echo
   1093  1.39    fredb     fi
   1094  1.39    fredb 
   1095  1.39    fredb     if test -s confdefs.h; then
   1096  1.39    fredb       cat <<\_ASBOX
   1097  1.39    fredb ## ----------- ##
   1098  1.39    fredb ## confdefs.h. ##
   1099  1.39    fredb ## ----------- ##
   1100  1.39    fredb _ASBOX
   1101  1.39    fredb       echo
   1102  1.39    fredb       sed "/^$/d" confdefs.h | sort
   1103  1.39    fredb       echo
   1104  1.39    fredb     fi
   1105  1.39    fredb     test "$ac_signal" != 0 &&
   1106  1.39    fredb       echo "$as_me: caught signal $ac_signal"
   1107  1.39    fredb     echo "$as_me: exit $exit_status"
   1108  1.39    fredb   } >&5
   1109  1.39    fredb   rm -f core core.* *.core &&
   1110  1.39    fredb   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1111   1.1       tv     exit $exit_status
   1112   1.1       tv      ' 0
   1113   1.1       tv for ac_signal in 1 2 13 15; do
   1114   1.1       tv   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1115   1.1       tv done
   1116   1.1       tv ac_signal=0
   1117   1.1       tv 
   1118   1.1       tv # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1119   1.1       tv rm -rf conftest* confdefs.h
   1120   1.1       tv # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1121   1.1       tv echo >confdefs.h
   1122   1.1       tv 
   1123  1.39    fredb # Predefined preprocessor variables.
   1124  1.39    fredb 
   1125  1.39    fredb cat >>confdefs.h <<_ACEOF
   1126  1.39    fredb #define PACKAGE_NAME "$PACKAGE_NAME"
   1127  1.39    fredb _ACEOF
   1128  1.39    fredb 
   1129  1.39    fredb 
   1130  1.39    fredb cat >>confdefs.h <<_ACEOF
   1131  1.39    fredb #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1132  1.39    fredb _ACEOF
   1133  1.39    fredb 
   1134  1.39    fredb 
   1135  1.39    fredb cat >>confdefs.h <<_ACEOF
   1136  1.39    fredb #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1137  1.39    fredb _ACEOF
   1138  1.39    fredb 
   1139  1.39    fredb 
   1140  1.39    fredb cat >>confdefs.h <<_ACEOF
   1141  1.39    fredb #define PACKAGE_STRING "$PACKAGE_STRING"
   1142  1.39    fredb _ACEOF
   1143  1.39    fredb 
   1144  1.39    fredb 
   1145  1.39    fredb cat >>confdefs.h <<_ACEOF
   1146  1.39    fredb #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1147  1.39    fredb _ACEOF
   1148  1.39    fredb 
   1149  1.39    fredb 
   1150   1.1       tv # Let the site file select an alternate cache file if it wants to.
   1151   1.1       tv # Prefer explicitly selected file to automatically selected ones.
   1152   1.1       tv if test -z "$CONFIG_SITE"; then
   1153   1.1       tv   if test "x$prefix" != xNONE; then
   1154   1.1       tv     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1155   1.1       tv   else
   1156   1.1       tv     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1157   1.1       tv   fi
   1158   1.1       tv fi
   1159   1.1       tv for ac_site_file in $CONFIG_SITE; do
   1160   1.1       tv   if test -r "$ac_site_file"; then
   1161  1.39    fredb     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1162   1.1       tv echo "$as_me: loading site script $ac_site_file" >&6;}
   1163  1.39    fredb     sed 's/^/| /' "$ac_site_file" >&5
   1164   1.1       tv     . "$ac_site_file"
   1165   1.1       tv   fi
   1166   1.1       tv done
   1167   1.1       tv 
   1168   1.1       tv if test -r "$cache_file"; then
   1169   1.1       tv   # Some versions of bash will fail to source /dev/null (special
   1170   1.1       tv   # files actually), so we avoid doing that.
   1171   1.1       tv   if test -f "$cache_file"; then
   1172  1.39    fredb     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1173   1.1       tv echo "$as_me: loading cache $cache_file" >&6;}
   1174   1.1       tv     case $cache_file in
   1175   1.1       tv       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1176   1.1       tv       *)                      . ./$cache_file;;
   1177   1.1       tv     esac
   1178   1.1       tv   fi
   1179   1.1       tv else
   1180  1.39    fredb   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1181   1.1       tv echo "$as_me: creating cache $cache_file" >&6;}
   1182   1.1       tv   >$cache_file
   1183   1.1       tv fi
   1184   1.1       tv 
   1185   1.1       tv # Check that the precious variables saved in the cache have kept the same
   1186   1.1       tv # value.
   1187   1.1       tv ac_cache_corrupted=false
   1188   1.1       tv for ac_var in `(set) 2>&1 |
   1189   1.1       tv                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1190   1.1       tv   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1191   1.1       tv   eval ac_new_set=\$ac_env_${ac_var}_set
   1192   1.1       tv   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1193   1.1       tv   eval ac_new_val="\$ac_env_${ac_var}_value"
   1194   1.1       tv   case $ac_old_set,$ac_new_set in
   1195   1.1       tv     set,)
   1196  1.39    fredb       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1197   1.1       tv echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1198   1.1       tv       ac_cache_corrupted=: ;;
   1199   1.1       tv     ,set)
   1200  1.39    fredb       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1201   1.1       tv echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1202   1.1       tv       ac_cache_corrupted=: ;;
   1203   1.1       tv     ,);;
   1204   1.1       tv     *)
   1205   1.1       tv       if test "x$ac_old_val" != "x$ac_new_val"; then
   1206  1.39    fredb         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1207   1.1       tv echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1208  1.39    fredb         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1209   1.1       tv echo "$as_me:   former value:  $ac_old_val" >&2;}
   1210  1.39    fredb         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1211   1.1       tv echo "$as_me:   current value: $ac_new_val" >&2;}
   1212   1.1       tv         ac_cache_corrupted=:
   1213   1.1       tv       fi;;
   1214   1.1       tv   esac
   1215  1.39    fredb   # Pass precious variables to config.status.
   1216   1.1       tv   if test "$ac_new_set" = set; then
   1217   1.1       tv     case $ac_new_val in
   1218   1.1       tv     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1219  1.39    fredb       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1220  1.39    fredb     *) ac_arg=$ac_var=$ac_new_val ;;
   1221  1.39    fredb     esac
   1222  1.39    fredb     case " $ac_configure_args " in
   1223  1.39    fredb       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1224  1.39    fredb       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1225   1.1       tv     esac
   1226   1.1       tv   fi
   1227   1.1       tv done
   1228   1.1       tv if $ac_cache_corrupted; then
   1229  1.39    fredb   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1230   1.1       tv echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1231  1.39    fredb   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1232   1.1       tv echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1233   1.1       tv    { (exit 1); exit 1; }; }
   1234   1.1       tv fi
   1235   1.1       tv 
   1236   1.1       tv ac_ext=c
   1237   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   1238   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1239   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1240   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1241   1.1       tv 
   1242   1.1       tv 
   1243   1.1       tv 
   1244  1.39    fredb 
   1245  1.39    fredb 
   1246  1.39    fredb 
   1247  1.39    fredb 
   1248  1.39    fredb 
   1249  1.39    fredb 
   1250  1.39    fredb 
   1251  1.39    fredb 
   1252  1.39    fredb 
   1253  1.39    fredb 
   1254  1.39    fredb 
   1255  1.39    fredb 
   1256  1.39    fredb 
   1257  1.39    fredb 
   1258  1.39    fredb 
   1259  1.39    fredb 
   1260  1.39    fredb 
   1261  1.39    fredb 
   1262  1.39    fredb 
   1263  1.39    fredb 
   1264  1.39    fredb 
   1265  1.39    fredb 
   1266  1.39    fredb 
   1267  1.39    fredb 
   1268  1.42    lukem           ac_config_headers="$ac_config_headers nbtool_config.h"
   1269  1.39    fredb 
   1270  1.39    fredb           ac_config_files="$ac_config_files defs.mk"
   1271  1.39    fredb 
   1272   1.1       tv 
   1273  1.20    bjh21 # Extract the first word of "sh", so it can be a program name with args.
   1274  1.20    bjh21 set dummy sh; ac_word=$2
   1275  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1276  1.20    bjh21 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1277  1.20    bjh21 if test "${ac_cv_path_BSHELL+set}" = set; then
   1278  1.20    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   1279  1.20    bjh21 else
   1280  1.20    bjh21   case $BSHELL in
   1281  1.20    bjh21   [\\/]* | ?:[\\/]*)
   1282  1.20    bjh21   ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
   1283  1.20    bjh21   ;;
   1284  1.20    bjh21   *)
   1285  1.39    fredb   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1286  1.39    fredb for as_dir in $PATH
   1287  1.39    fredb do
   1288  1.39    fredb   IFS=$as_save_IFS
   1289  1.39    fredb   test -z "$as_dir" && as_dir=.
   1290  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1291  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1292  1.39    fredb     ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
   1293  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1294  1.39    fredb     break 2
   1295  1.39    fredb   fi
   1296  1.39    fredb done
   1297  1.20    bjh21 done
   1298  1.20    bjh21 
   1299  1.20    bjh21   ;;
   1300  1.20    bjh21 esac
   1301  1.20    bjh21 fi
   1302  1.20    bjh21 BSHELL=$ac_cv_path_BSHELL
   1303  1.20    bjh21 
   1304  1.20    bjh21 if test -n "$BSHELL"; then
   1305  1.39    fredb   echo "$as_me:$LINENO: result: $BSHELL" >&5
   1306  1.20    bjh21 echo "${ECHO_T}$BSHELL" >&6
   1307  1.20    bjh21 else
   1308  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1309  1.20    bjh21 echo "${ECHO_T}no" >&6
   1310  1.20    bjh21 fi
   1311  1.20    bjh21 
   1312  1.20    bjh21 if test x"$BSHELL" = x; then
   1313  1.39    fredb 	{ { echo "$as_me:$LINENO: error: sh must be somewhere on \$PATH" >&5
   1314  1.20    bjh21 echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
   1315  1.20    bjh21    { (exit 1); exit 1; }; }
   1316  1.20    bjh21 fi
   1317  1.39    fredb cat >>confdefs.h <<_ACEOF
   1318  1.20    bjh21 #define PATH_BSHELL "$BSHELL"
   1319  1.39    fredb _ACEOF
   1320  1.39    fredb 
   1321  1.20    bjh21 
   1322   1.1       tv ac_ext=c
   1323   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   1324   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1325   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1326   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1327   1.1       tv if test -n "$ac_tool_prefix"; then
   1328   1.1       tv   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1329   1.1       tv set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1330  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1331   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1332   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1333   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1334   1.1       tv else
   1335   1.1       tv   if test -n "$CC"; then
   1336   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1337   1.1       tv else
   1338  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1339  1.39    fredb for as_dir in $PATH
   1340  1.39    fredb do
   1341  1.39    fredb   IFS=$as_save_IFS
   1342  1.39    fredb   test -z "$as_dir" && as_dir=.
   1343  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1344  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1345  1.39    fredb     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1346  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1347  1.39    fredb     break 2
   1348  1.39    fredb   fi
   1349  1.39    fredb done
   1350   1.1       tv done
   1351   1.1       tv 
   1352   1.1       tv fi
   1353   1.1       tv fi
   1354   1.1       tv CC=$ac_cv_prog_CC
   1355   1.1       tv if test -n "$CC"; then
   1356  1.39    fredb   echo "$as_me:$LINENO: result: $CC" >&5
   1357   1.1       tv echo "${ECHO_T}$CC" >&6
   1358   1.1       tv else
   1359  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1360   1.1       tv echo "${ECHO_T}no" >&6
   1361   1.1       tv fi
   1362   1.1       tv 
   1363   1.1       tv fi
   1364   1.1       tv if test -z "$ac_cv_prog_CC"; then
   1365   1.1       tv   ac_ct_CC=$CC
   1366   1.1       tv   # Extract the first word of "gcc", so it can be a program name with args.
   1367   1.1       tv set dummy gcc; ac_word=$2
   1368  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1369   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1370   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1371   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1372   1.1       tv else
   1373   1.1       tv   if test -n "$ac_ct_CC"; then
   1374   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1375   1.1       tv else
   1376  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1377  1.39    fredb for as_dir in $PATH
   1378  1.39    fredb do
   1379  1.39    fredb   IFS=$as_save_IFS
   1380  1.39    fredb   test -z "$as_dir" && as_dir=.
   1381  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1382  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1383  1.39    fredb     ac_cv_prog_ac_ct_CC="gcc"
   1384  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1385  1.39    fredb     break 2
   1386  1.39    fredb   fi
   1387  1.39    fredb done
   1388   1.1       tv done
   1389   1.1       tv 
   1390   1.1       tv fi
   1391   1.1       tv fi
   1392   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1393   1.1       tv if test -n "$ac_ct_CC"; then
   1394  1.39    fredb   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1395   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1396   1.1       tv else
   1397  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1398   1.1       tv echo "${ECHO_T}no" >&6
   1399   1.1       tv fi
   1400   1.1       tv 
   1401   1.1       tv   CC=$ac_ct_CC
   1402   1.1       tv else
   1403   1.1       tv   CC="$ac_cv_prog_CC"
   1404   1.1       tv fi
   1405   1.1       tv 
   1406   1.1       tv if test -z "$CC"; then
   1407   1.1       tv   if test -n "$ac_tool_prefix"; then
   1408   1.1       tv   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1409   1.1       tv set dummy ${ac_tool_prefix}cc; ac_word=$2
   1410  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1411   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1412   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1413   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1414   1.1       tv else
   1415   1.1       tv   if test -n "$CC"; then
   1416   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1417   1.1       tv else
   1418  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1419  1.39    fredb for as_dir in $PATH
   1420  1.39    fredb do
   1421  1.39    fredb   IFS=$as_save_IFS
   1422  1.39    fredb   test -z "$as_dir" && as_dir=.
   1423  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1424  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1425  1.39    fredb     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1426  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1427  1.39    fredb     break 2
   1428  1.39    fredb   fi
   1429  1.39    fredb done
   1430   1.1       tv done
   1431   1.1       tv 
   1432   1.1       tv fi
   1433   1.1       tv fi
   1434   1.1       tv CC=$ac_cv_prog_CC
   1435   1.1       tv if test -n "$CC"; then
   1436  1.39    fredb   echo "$as_me:$LINENO: result: $CC" >&5
   1437   1.1       tv echo "${ECHO_T}$CC" >&6
   1438   1.1       tv else
   1439  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1440   1.1       tv echo "${ECHO_T}no" >&6
   1441   1.1       tv fi
   1442   1.1       tv 
   1443   1.1       tv fi
   1444   1.1       tv if test -z "$ac_cv_prog_CC"; then
   1445   1.1       tv   ac_ct_CC=$CC
   1446   1.1       tv   # Extract the first word of "cc", so it can be a program name with args.
   1447   1.1       tv set dummy cc; ac_word=$2
   1448  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1449   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1450   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1451   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1452   1.1       tv else
   1453   1.1       tv   if test -n "$ac_ct_CC"; then
   1454   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1455   1.1       tv else
   1456  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1457  1.39    fredb for as_dir in $PATH
   1458  1.39    fredb do
   1459  1.39    fredb   IFS=$as_save_IFS
   1460  1.39    fredb   test -z "$as_dir" && as_dir=.
   1461  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1462  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1463  1.39    fredb     ac_cv_prog_ac_ct_CC="cc"
   1464  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1465  1.39    fredb     break 2
   1466  1.39    fredb   fi
   1467  1.39    fredb done
   1468   1.1       tv done
   1469   1.1       tv 
   1470   1.1       tv fi
   1471   1.1       tv fi
   1472   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1473   1.1       tv if test -n "$ac_ct_CC"; then
   1474  1.39    fredb   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1475   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1476   1.1       tv else
   1477  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1478   1.1       tv echo "${ECHO_T}no" >&6
   1479   1.1       tv fi
   1480   1.1       tv 
   1481   1.1       tv   CC=$ac_ct_CC
   1482   1.1       tv else
   1483   1.1       tv   CC="$ac_cv_prog_CC"
   1484   1.1       tv fi
   1485   1.1       tv 
   1486   1.1       tv fi
   1487   1.1       tv if test -z "$CC"; then
   1488   1.1       tv   # Extract the first word of "cc", so it can be a program name with args.
   1489   1.1       tv set dummy cc; ac_word=$2
   1490  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1491   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1492   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1493   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1494   1.1       tv else
   1495   1.1       tv   if test -n "$CC"; then
   1496   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1497   1.1       tv else
   1498   1.1       tv   ac_prog_rejected=no
   1499  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1500  1.39    fredb for as_dir in $PATH
   1501  1.39    fredb do
   1502  1.39    fredb   IFS=$as_save_IFS
   1503  1.39    fredb   test -z "$as_dir" && as_dir=.
   1504  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1505  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1506  1.39    fredb     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1507  1.39    fredb        ac_prog_rejected=yes
   1508  1.39    fredb        continue
   1509  1.39    fredb      fi
   1510  1.39    fredb     ac_cv_prog_CC="cc"
   1511  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1512  1.39    fredb     break 2
   1513  1.39    fredb   fi
   1514  1.39    fredb done
   1515   1.1       tv done
   1516   1.1       tv 
   1517   1.1       tv if test $ac_prog_rejected = yes; then
   1518   1.1       tv   # We found a bogon in the path, so make sure we never use it.
   1519   1.1       tv   set dummy $ac_cv_prog_CC
   1520   1.1       tv   shift
   1521   1.1       tv   if test $# != 0; then
   1522   1.1       tv     # We chose a different compiler from the bogus one.
   1523   1.1       tv     # However, it has the same basename, so the bogon will be chosen
   1524   1.1       tv     # first if we set CC to just the basename; use the full file name.
   1525   1.1       tv     shift
   1526  1.39    fredb     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   1527   1.1       tv   fi
   1528   1.1       tv fi
   1529   1.1       tv fi
   1530   1.1       tv fi
   1531   1.1       tv CC=$ac_cv_prog_CC
   1532   1.1       tv if test -n "$CC"; then
   1533  1.39    fredb   echo "$as_me:$LINENO: result: $CC" >&5
   1534   1.1       tv echo "${ECHO_T}$CC" >&6
   1535   1.1       tv else
   1536  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1537   1.1       tv echo "${ECHO_T}no" >&6
   1538   1.1       tv fi
   1539   1.1       tv 
   1540   1.1       tv fi
   1541   1.1       tv if test -z "$CC"; then
   1542   1.1       tv   if test -n "$ac_tool_prefix"; then
   1543   1.1       tv   for ac_prog in cl
   1544   1.1       tv   do
   1545   1.1       tv     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1546   1.1       tv set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1547  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1548   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1549   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1550   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1551   1.1       tv else
   1552   1.1       tv   if test -n "$CC"; then
   1553   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1554   1.1       tv else
   1555  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1556  1.39    fredb for as_dir in $PATH
   1557  1.39    fredb do
   1558  1.39    fredb   IFS=$as_save_IFS
   1559  1.39    fredb   test -z "$as_dir" && as_dir=.
   1560  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1561  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1562  1.39    fredb     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1563  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1564  1.39    fredb     break 2
   1565  1.39    fredb   fi
   1566  1.39    fredb done
   1567   1.1       tv done
   1568   1.1       tv 
   1569   1.1       tv fi
   1570   1.1       tv fi
   1571   1.1       tv CC=$ac_cv_prog_CC
   1572   1.1       tv if test -n "$CC"; then
   1573  1.39    fredb   echo "$as_me:$LINENO: result: $CC" >&5
   1574   1.1       tv echo "${ECHO_T}$CC" >&6
   1575   1.1       tv else
   1576  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1577   1.1       tv echo "${ECHO_T}no" >&6
   1578   1.1       tv fi
   1579   1.1       tv 
   1580   1.1       tv     test -n "$CC" && break
   1581   1.1       tv   done
   1582   1.1       tv fi
   1583   1.1       tv if test -z "$CC"; then
   1584   1.1       tv   ac_ct_CC=$CC
   1585   1.1       tv   for ac_prog in cl
   1586   1.1       tv do
   1587   1.1       tv   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1588   1.1       tv set dummy $ac_prog; ac_word=$2
   1589  1.39    fredb echo "$as_me:$LINENO: checking for $ac_word" >&5
   1590   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1591   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1592   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1593   1.1       tv else
   1594   1.1       tv   if test -n "$ac_ct_CC"; then
   1595   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1596   1.1       tv else
   1597  1.39    fredb as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1598  1.39    fredb for as_dir in $PATH
   1599  1.39    fredb do
   1600  1.39    fredb   IFS=$as_save_IFS
   1601  1.39    fredb   test -z "$as_dir" && as_dir=.
   1602  1.39    fredb   for ac_exec_ext in '' $ac_executable_extensions; do
   1603  1.39    fredb   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1604  1.39    fredb     ac_cv_prog_ac_ct_CC="$ac_prog"
   1605  1.39    fredb     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1606  1.39    fredb     break 2
   1607  1.39    fredb   fi
   1608  1.39    fredb done
   1609   1.1       tv done
   1610   1.1       tv 
   1611   1.1       tv fi
   1612   1.1       tv fi
   1613   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1614   1.1       tv if test -n "$ac_ct_CC"; then
   1615  1.39    fredb   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1616   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1617   1.1       tv else
   1618  1.39    fredb   echo "$as_me:$LINENO: result: no" >&5
   1619   1.1       tv echo "${ECHO_T}no" >&6
   1620   1.1       tv fi
   1621   1.1       tv 
   1622   1.1       tv   test -n "$ac_ct_CC" && break
   1623   1.1       tv done
   1624   1.1       tv 
   1625   1.1       tv   CC=$ac_ct_CC
   1626   1.1       tv fi
   1627   1.1       tv 
   1628   1.1       tv fi
   1629   1.1       tv 
   1630  1.39    fredb 
   1631  1.39    fredb test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   1632  1.39    fredb See \`config.log' for more details." >&5
   1633  1.39    fredb echo "$as_me: error: no acceptable C compiler found in \$PATH
   1634  1.39    fredb See \`config.log' for more details." >&2;}
   1635   1.1       tv    { (exit 1); exit 1; }; }
   1636   1.1       tv 
   1637   1.1       tv # Provide some information about the compiler.
   1638  1.39    fredb echo "$as_me:$LINENO:" \
   1639   1.1       tv      "checking for C compiler version" >&5
   1640   1.1       tv ac_compiler=`set X $ac_compile; echo $2`
   1641  1.39    fredb { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   1642   1.1       tv   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1643   1.1       tv   ac_status=$?
   1644  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1645   1.1       tv   (exit $ac_status); }
   1646  1.39    fredb { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   1647   1.1       tv   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1648   1.1       tv   ac_status=$?
   1649  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1650   1.1       tv   (exit $ac_status); }
   1651  1.39    fredb { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   1652   1.1       tv   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1653   1.1       tv   ac_status=$?
   1654  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1655   1.1       tv   (exit $ac_status); }
   1656   1.1       tv 
   1657   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   1658  1.39    fredb #line $LINENO "configure"
   1659  1.39    fredb /* confdefs.h.  */
   1660  1.39    fredb _ACEOF
   1661  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   1662  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   1663  1.39    fredb /* end confdefs.h.  */
   1664   1.1       tv 
   1665   1.1       tv int
   1666   1.1       tv main ()
   1667   1.1       tv {
   1668   1.1       tv 
   1669   1.1       tv   ;
   1670   1.1       tv   return 0;
   1671   1.1       tv }
   1672   1.1       tv _ACEOF
   1673   1.1       tv ac_clean_files_save=$ac_clean_files
   1674  1.39    fredb ac_clean_files="$ac_clean_files a.out a.exe b.out"
   1675   1.1       tv # Try to create an executable without -o first, disregard a.out.
   1676   1.1       tv # It will help us diagnose broken compilers, and finding out an intuition
   1677   1.1       tv # of exeext.
   1678  1.39    fredb echo "$as_me:$LINENO: checking for C compiler default output" >&5
   1679   1.1       tv echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   1680   1.1       tv ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1681  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   1682   1.1       tv   (eval $ac_link_default) 2>&5
   1683   1.1       tv   ac_status=$?
   1684  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1685   1.1       tv   (exit $ac_status); }; then
   1686   1.1       tv   # Find the output, starting from the most likely.  This scheme is
   1687   1.1       tv # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1688   1.1       tv # resort.
   1689  1.39    fredb 
   1690  1.39    fredb # Be careful to initialize this variable, since it used to be cached.
   1691  1.39    fredb # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   1692  1.39    fredb ac_cv_exeext=
   1693  1.39    fredb # b.out is created by i960 compilers.
   1694  1.39    fredb for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   1695  1.39    fredb do
   1696  1.39    fredb   test -f "$ac_file" || continue
   1697   1.1       tv   case $ac_file in
   1698  1.39    fredb     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   1699  1.39    fredb         ;;
   1700  1.39    fredb     conftest.$ac_ext )
   1701  1.39    fredb         # This is the source file.
   1702  1.39    fredb         ;;
   1703  1.39    fredb     [ab].out )
   1704  1.39    fredb         # We found the default executable, but exeext='' is most
   1705  1.39    fredb         # certainly right.
   1706  1.39    fredb         break;;
   1707  1.39    fredb     *.* )
   1708  1.39    fredb         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1709  1.39    fredb         # FIXME: I believe we export ac_cv_exeext for Libtool,
   1710  1.39    fredb         # but it would be cool to find out if it's true.  Does anybody
   1711  1.39    fredb         # maintain Libtool? --akim.
   1712  1.39    fredb         export ac_cv_exeext
   1713  1.39    fredb         break;;
   1714  1.39    fredb     * )
   1715  1.39    fredb         break;;
   1716   1.1       tv   esac
   1717   1.1       tv done
   1718   1.1       tv else
   1719   1.1       tv   echo "$as_me: failed program was:" >&5
   1720  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   1721  1.39    fredb 
   1722  1.39    fredb { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   1723  1.39    fredb See \`config.log' for more details." >&5
   1724  1.39    fredb echo "$as_me: error: C compiler cannot create executables
   1725  1.39    fredb See \`config.log' for more details." >&2;}
   1726   1.1       tv    { (exit 77); exit 77; }; }
   1727   1.1       tv fi
   1728   1.1       tv 
   1729   1.1       tv ac_exeext=$ac_cv_exeext
   1730  1.39    fredb echo "$as_me:$LINENO: result: $ac_file" >&5
   1731   1.1       tv echo "${ECHO_T}$ac_file" >&6
   1732   1.1       tv 
   1733   1.1       tv # Check the compiler produces executables we can run.  If not, either
   1734   1.1       tv # the compiler is broken, or we cross compile.
   1735  1.39    fredb echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   1736   1.1       tv echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1737   1.1       tv # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1738   1.1       tv # If not cross compiling, check that we can run a simple program.
   1739   1.1       tv if test "$cross_compiling" != yes; then
   1740   1.1       tv   if { ac_try='./$ac_file'
   1741  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1742   1.1       tv   (eval $ac_try) 2>&5
   1743   1.1       tv   ac_status=$?
   1744  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1745   1.1       tv   (exit $ac_status); }; }; then
   1746   1.1       tv     cross_compiling=no
   1747   1.1       tv   else
   1748   1.1       tv     if test "$cross_compiling" = maybe; then
   1749   1.1       tv 	cross_compiling=yes
   1750   1.1       tv     else
   1751  1.39    fredb 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   1752  1.39    fredb If you meant to cross compile, use \`--host'.
   1753  1.39    fredb See \`config.log' for more details." >&5
   1754   1.1       tv echo "$as_me: error: cannot run C compiled programs.
   1755  1.39    fredb If you meant to cross compile, use \`--host'.
   1756  1.39    fredb See \`config.log' for more details." >&2;}
   1757   1.1       tv    { (exit 1); exit 1; }; }
   1758   1.1       tv     fi
   1759   1.1       tv   fi
   1760   1.1       tv fi
   1761  1.39    fredb echo "$as_me:$LINENO: result: yes" >&5
   1762   1.1       tv echo "${ECHO_T}yes" >&6
   1763   1.1       tv 
   1764  1.39    fredb rm -f a.out a.exe conftest$ac_cv_exeext b.out
   1765   1.1       tv ac_clean_files=$ac_clean_files_save
   1766   1.1       tv # Check the compiler produces executables we can run.  If not, either
   1767   1.1       tv # the compiler is broken, or we cross compile.
   1768  1.39    fredb echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   1769   1.1       tv echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1770  1.39    fredb echo "$as_me:$LINENO: result: $cross_compiling" >&5
   1771   1.1       tv echo "${ECHO_T}$cross_compiling" >&6
   1772   1.1       tv 
   1773  1.39    fredb echo "$as_me:$LINENO: checking for suffix of executables" >&5
   1774  1.39    fredb echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   1775  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   1776   1.1       tv   (eval $ac_link) 2>&5
   1777   1.1       tv   ac_status=$?
   1778  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1779   1.1       tv   (exit $ac_status); }; then
   1780   1.1       tv   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1781   1.1       tv # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1782   1.1       tv # work properly (i.e., refer to `conftest.exe'), while it won't with
   1783   1.1       tv # `rm'.
   1784  1.39    fredb for ac_file in conftest.exe conftest conftest.*; do
   1785  1.39    fredb   test -f "$ac_file" || continue
   1786   1.1       tv   case $ac_file in
   1787  1.39    fredb     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   1788   1.1       tv     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1789   1.1       tv           export ac_cv_exeext
   1790   1.1       tv           break;;
   1791   1.1       tv     * ) break;;
   1792   1.1       tv   esac
   1793   1.1       tv done
   1794   1.1       tv else
   1795  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   1796  1.39    fredb See \`config.log' for more details." >&5
   1797  1.39    fredb echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   1798  1.39    fredb See \`config.log' for more details." >&2;}
   1799   1.1       tv    { (exit 1); exit 1; }; }
   1800   1.1       tv fi
   1801   1.1       tv 
   1802   1.1       tv rm -f conftest$ac_cv_exeext
   1803  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   1804   1.1       tv echo "${ECHO_T}$ac_cv_exeext" >&6
   1805   1.1       tv 
   1806   1.1       tv rm -f conftest.$ac_ext
   1807   1.1       tv EXEEXT=$ac_cv_exeext
   1808   1.1       tv ac_exeext=$EXEEXT
   1809  1.39    fredb echo "$as_me:$LINENO: checking for suffix of object files" >&5
   1810  1.39    fredb echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   1811   1.1       tv if test "${ac_cv_objext+set}" = set; then
   1812   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1813   1.1       tv else
   1814   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1815  1.39    fredb #line $LINENO "configure"
   1816  1.39    fredb /* confdefs.h.  */
   1817  1.39    fredb _ACEOF
   1818  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   1819  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   1820  1.39    fredb /* end confdefs.h.  */
   1821   1.1       tv 
   1822   1.1       tv int
   1823   1.1       tv main ()
   1824   1.1       tv {
   1825   1.1       tv 
   1826   1.1       tv   ;
   1827   1.1       tv   return 0;
   1828   1.1       tv }
   1829   1.1       tv _ACEOF
   1830   1.1       tv rm -f conftest.o conftest.obj
   1831  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1832   1.1       tv   (eval $ac_compile) 2>&5
   1833   1.1       tv   ac_status=$?
   1834  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1835   1.1       tv   (exit $ac_status); }; then
   1836   1.1       tv   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1837   1.1       tv   case $ac_file in
   1838  1.39    fredb     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   1839   1.1       tv     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1840   1.1       tv        break;;
   1841   1.1       tv   esac
   1842   1.1       tv done
   1843   1.1       tv else
   1844   1.1       tv   echo "$as_me: failed program was:" >&5
   1845  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   1846  1.39    fredb 
   1847  1.39    fredb { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   1848  1.39    fredb See \`config.log' for more details." >&5
   1849  1.39    fredb echo "$as_me: error: cannot compute suffix of object files: cannot compile
   1850  1.39    fredb See \`config.log' for more details." >&2;}
   1851   1.1       tv    { (exit 1); exit 1; }; }
   1852   1.1       tv fi
   1853   1.1       tv 
   1854   1.1       tv rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1855   1.1       tv fi
   1856  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   1857   1.1       tv echo "${ECHO_T}$ac_cv_objext" >&6
   1858   1.1       tv OBJEXT=$ac_cv_objext
   1859   1.1       tv ac_objext=$OBJEXT
   1860  1.39    fredb echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   1861   1.1       tv echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1862   1.1       tv if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1863   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1864   1.1       tv else
   1865   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1866  1.39    fredb #line $LINENO "configure"
   1867  1.39    fredb /* confdefs.h.  */
   1868  1.39    fredb _ACEOF
   1869  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   1870  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   1871  1.39    fredb /* end confdefs.h.  */
   1872   1.1       tv 
   1873   1.1       tv int
   1874   1.1       tv main ()
   1875   1.1       tv {
   1876   1.1       tv #ifndef __GNUC__
   1877   1.1       tv        choke me
   1878   1.1       tv #endif
   1879   1.1       tv 
   1880   1.1       tv   ;
   1881   1.1       tv   return 0;
   1882   1.1       tv }
   1883   1.1       tv _ACEOF
   1884   1.1       tv rm -f conftest.$ac_objext
   1885  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1886   1.1       tv   (eval $ac_compile) 2>&5
   1887   1.1       tv   ac_status=$?
   1888  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1889   1.1       tv   (exit $ac_status); } &&
   1890   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1891  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1892   1.1       tv   (eval $ac_try) 2>&5
   1893   1.1       tv   ac_status=$?
   1894  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1895   1.1       tv   (exit $ac_status); }; }; then
   1896   1.1       tv   ac_compiler_gnu=yes
   1897   1.1       tv else
   1898   1.1       tv   echo "$as_me: failed program was:" >&5
   1899  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   1900  1.39    fredb 
   1901   1.1       tv ac_compiler_gnu=no
   1902   1.1       tv fi
   1903   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1904   1.1       tv ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1905   1.1       tv 
   1906   1.1       tv fi
   1907  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   1908   1.1       tv echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1909   1.1       tv GCC=`test $ac_compiler_gnu = yes && echo yes`
   1910   1.1       tv ac_test_CFLAGS=${CFLAGS+set}
   1911   1.1       tv ac_save_CFLAGS=$CFLAGS
   1912   1.1       tv CFLAGS="-g"
   1913  1.39    fredb echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   1914   1.1       tv echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1915   1.1       tv if test "${ac_cv_prog_cc_g+set}" = set; then
   1916   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1917   1.1       tv else
   1918   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1919  1.39    fredb #line $LINENO "configure"
   1920  1.39    fredb /* confdefs.h.  */
   1921  1.39    fredb _ACEOF
   1922  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   1923  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   1924  1.39    fredb /* end confdefs.h.  */
   1925   1.1       tv 
   1926   1.1       tv int
   1927   1.1       tv main ()
   1928   1.1       tv {
   1929   1.1       tv 
   1930   1.1       tv   ;
   1931   1.1       tv   return 0;
   1932   1.1       tv }
   1933   1.1       tv _ACEOF
   1934   1.1       tv rm -f conftest.$ac_objext
   1935  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1936   1.1       tv   (eval $ac_compile) 2>&5
   1937   1.1       tv   ac_status=$?
   1938  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1939   1.1       tv   (exit $ac_status); } &&
   1940   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1941  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1942   1.1       tv   (eval $ac_try) 2>&5
   1943   1.1       tv   ac_status=$?
   1944  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1945   1.1       tv   (exit $ac_status); }; }; then
   1946   1.1       tv   ac_cv_prog_cc_g=yes
   1947   1.1       tv else
   1948   1.1       tv   echo "$as_me: failed program was:" >&5
   1949  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   1950  1.39    fredb 
   1951   1.1       tv ac_cv_prog_cc_g=no
   1952   1.1       tv fi
   1953   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1954   1.1       tv fi
   1955  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   1956   1.1       tv echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1957   1.1       tv if test "$ac_test_CFLAGS" = set; then
   1958   1.1       tv   CFLAGS=$ac_save_CFLAGS
   1959   1.1       tv elif test $ac_cv_prog_cc_g = yes; then
   1960   1.1       tv   if test "$GCC" = yes; then
   1961   1.1       tv     CFLAGS="-g -O2"
   1962   1.1       tv   else
   1963   1.1       tv     CFLAGS="-g"
   1964   1.1       tv   fi
   1965   1.1       tv else
   1966   1.1       tv   if test "$GCC" = yes; then
   1967   1.1       tv     CFLAGS="-O2"
   1968   1.1       tv   else
   1969   1.1       tv     CFLAGS=
   1970   1.1       tv   fi
   1971   1.1       tv fi
   1972  1.39    fredb echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   1973  1.39    fredb echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   1974  1.39    fredb if test "${ac_cv_prog_cc_stdc+set}" = set; then
   1975  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   1976  1.39    fredb else
   1977  1.39    fredb   ac_cv_prog_cc_stdc=no
   1978  1.39    fredb ac_save_CC=$CC
   1979  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   1980  1.39    fredb #line $LINENO "configure"
   1981  1.39    fredb /* confdefs.h.  */
   1982  1.39    fredb _ACEOF
   1983  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   1984  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   1985  1.39    fredb /* end confdefs.h.  */
   1986  1.39    fredb #include <stdarg.h>
   1987  1.39    fredb #include <stdio.h>
   1988  1.39    fredb #include <sys/types.h>
   1989  1.39    fredb #include <sys/stat.h>
   1990  1.39    fredb /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1991  1.39    fredb struct buf { int x; };
   1992  1.39    fredb FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1993  1.39    fredb static char *e (p, i)
   1994  1.39    fredb      char **p;
   1995  1.39    fredb      int i;
   1996  1.39    fredb {
   1997  1.39    fredb   return p[i];
   1998  1.39    fredb }
   1999  1.39    fredb static char *f (char * (*g) (char **, int), char **p, ...)
   2000  1.39    fredb {
   2001  1.39    fredb   char *s;
   2002  1.39    fredb   va_list v;
   2003  1.39    fredb   va_start (v,p);
   2004  1.39    fredb   s = g (p, va_arg (v,int));
   2005  1.39    fredb   va_end (v);
   2006  1.39    fredb   return s;
   2007  1.39    fredb }
   2008  1.39    fredb int test (int i, double x);
   2009  1.39    fredb struct s1 {int (*f) (int a);};
   2010  1.39    fredb struct s2 {int (*f) (double a);};
   2011  1.39    fredb int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2012  1.39    fredb int argc;
   2013  1.39    fredb char **argv;
   2014  1.39    fredb int
   2015  1.39    fredb main ()
   2016  1.39    fredb {
   2017  1.39    fredb return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2018  1.39    fredb   ;
   2019  1.39    fredb   return 0;
   2020  1.39    fredb }
   2021  1.39    fredb _ACEOF
   2022  1.39    fredb # Don't try gcc -ansi; that turns off useful extensions and
   2023  1.39    fredb # breaks some systems' header files.
   2024  1.39    fredb # AIX			-qlanglvl=ansi
   2025  1.39    fredb # Ultrix and OSF/1	-std1
   2026  1.39    fredb # HP-UX 10.20 and later	-Ae
   2027  1.39    fredb # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2028  1.39    fredb # SVR4			-Xc -D__EXTENSIONS__
   2029  1.39    fredb for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2030  1.39    fredb do
   2031  1.39    fredb   CC="$ac_save_CC $ac_arg"
   2032  1.39    fredb   rm -f conftest.$ac_objext
   2033  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2034  1.39    fredb   (eval $ac_compile) 2>&5
   2035  1.39    fredb   ac_status=$?
   2036  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2037  1.39    fredb   (exit $ac_status); } &&
   2038  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   2039  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2040  1.39    fredb   (eval $ac_try) 2>&5
   2041  1.39    fredb   ac_status=$?
   2042  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2043  1.39    fredb   (exit $ac_status); }; }; then
   2044  1.39    fredb   ac_cv_prog_cc_stdc=$ac_arg
   2045  1.39    fredb break
   2046  1.39    fredb else
   2047  1.39    fredb   echo "$as_me: failed program was:" >&5
   2048  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2049  1.39    fredb 
   2050  1.39    fredb fi
   2051  1.39    fredb rm -f conftest.$ac_objext
   2052  1.39    fredb done
   2053  1.39    fredb rm -f conftest.$ac_ext conftest.$ac_objext
   2054  1.39    fredb CC=$ac_save_CC
   2055  1.39    fredb 
   2056  1.39    fredb fi
   2057  1.39    fredb 
   2058  1.39    fredb case "x$ac_cv_prog_cc_stdc" in
   2059  1.39    fredb   x|xno)
   2060  1.39    fredb     echo "$as_me:$LINENO: result: none needed" >&5
   2061  1.39    fredb echo "${ECHO_T}none needed" >&6 ;;
   2062  1.39    fredb   *)
   2063  1.39    fredb     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2064  1.39    fredb echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2065  1.39    fredb     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2066  1.39    fredb esac
   2067  1.39    fredb 
   2068   1.1       tv # Some people use a C++ compiler to compile C.  Since we use `exit',
   2069   1.1       tv # in C++ we need to declare it.  In case someone uses the same compiler
   2070   1.1       tv # for both compiling C and C++ we need to have the C++ compiler decide
   2071   1.1       tv # the declaration of exit, since it's the most demanding environment.
   2072   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   2073   1.1       tv #ifndef __cplusplus
   2074   1.1       tv   choke me
   2075   1.1       tv #endif
   2076   1.1       tv _ACEOF
   2077   1.1       tv rm -f conftest.$ac_objext
   2078  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2079   1.1       tv   (eval $ac_compile) 2>&5
   2080   1.1       tv   ac_status=$?
   2081  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2082   1.1       tv   (exit $ac_status); } &&
   2083   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   2084  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2085   1.1       tv   (eval $ac_try) 2>&5
   2086   1.1       tv   ac_status=$?
   2087  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2088   1.1       tv   (exit $ac_status); }; }; then
   2089   1.1       tv   for ac_declaration in \
   2090   1.1       tv    ''\
   2091   1.1       tv    '#include <stdlib.h>' \
   2092   1.1       tv    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2093   1.1       tv    'extern "C" void std::exit (int); using std::exit;' \
   2094   1.1       tv    'extern "C" void exit (int) throw ();' \
   2095   1.1       tv    'extern "C" void exit (int);' \
   2096   1.1       tv    'void exit (int);'
   2097   1.1       tv do
   2098   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2099  1.39    fredb #line $LINENO "configure"
   2100  1.39    fredb /* confdefs.h.  */
   2101  1.39    fredb _ACEOF
   2102  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2103  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2104  1.39    fredb /* end confdefs.h.  */
   2105   1.1       tv #include <stdlib.h>
   2106   1.1       tv $ac_declaration
   2107   1.1       tv int
   2108   1.1       tv main ()
   2109   1.1       tv {
   2110   1.1       tv exit (42);
   2111   1.1       tv   ;
   2112   1.1       tv   return 0;
   2113   1.1       tv }
   2114   1.1       tv _ACEOF
   2115   1.1       tv rm -f conftest.$ac_objext
   2116  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2117   1.1       tv   (eval $ac_compile) 2>&5
   2118   1.1       tv   ac_status=$?
   2119  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2120   1.1       tv   (exit $ac_status); } &&
   2121   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   2122  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2123   1.1       tv   (eval $ac_try) 2>&5
   2124   1.1       tv   ac_status=$?
   2125  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2126   1.1       tv   (exit $ac_status); }; }; then
   2127   1.1       tv   :
   2128   1.1       tv else
   2129   1.1       tv   echo "$as_me: failed program was:" >&5
   2130  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2131  1.39    fredb 
   2132   1.1       tv continue
   2133   1.1       tv fi
   2134   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2135   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2136  1.39    fredb #line $LINENO "configure"
   2137  1.39    fredb /* confdefs.h.  */
   2138  1.39    fredb _ACEOF
   2139  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2140  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2141  1.39    fredb /* end confdefs.h.  */
   2142   1.1       tv $ac_declaration
   2143   1.1       tv int
   2144   1.1       tv main ()
   2145   1.1       tv {
   2146   1.1       tv exit (42);
   2147   1.1       tv   ;
   2148   1.1       tv   return 0;
   2149   1.1       tv }
   2150   1.1       tv _ACEOF
   2151   1.1       tv rm -f conftest.$ac_objext
   2152  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2153   1.1       tv   (eval $ac_compile) 2>&5
   2154   1.1       tv   ac_status=$?
   2155  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2156   1.1       tv   (exit $ac_status); } &&
   2157   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   2158  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2159   1.1       tv   (eval $ac_try) 2>&5
   2160   1.1       tv   ac_status=$?
   2161  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2162   1.1       tv   (exit $ac_status); }; }; then
   2163   1.1       tv   break
   2164   1.1       tv else
   2165   1.1       tv   echo "$as_me: failed program was:" >&5
   2166  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2167  1.39    fredb 
   2168   1.1       tv fi
   2169   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2170   1.1       tv done
   2171   1.1       tv rm -f conftest*
   2172   1.1       tv if test -n "$ac_declaration"; then
   2173   1.1       tv   echo '#ifdef __cplusplus' >>confdefs.h
   2174   1.1       tv   echo $ac_declaration      >>confdefs.h
   2175   1.1       tv   echo '#endif'             >>confdefs.h
   2176   1.1       tv fi
   2177   1.1       tv 
   2178   1.1       tv else
   2179   1.1       tv   echo "$as_me: failed program was:" >&5
   2180  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2181  1.39    fredb 
   2182   1.1       tv fi
   2183   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2184   1.1       tv ac_ext=c
   2185   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   2186   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2187   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2188   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2189   1.1       tv 
   2190  1.39    fredb 
   2191  1.39    fredb echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
   2192   1.4       tv echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   2193   1.4       tv if test "${ac_cv_c_bigendian+set}" = set; then
   2194   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2195   1.4       tv else
   2196  1.39    fredb   # See if sys/param.h defines the BYTE_ORDER macro.
   2197   1.4       tv cat >conftest.$ac_ext <<_ACEOF
   2198  1.39    fredb #line $LINENO "configure"
   2199  1.39    fredb /* confdefs.h.  */
   2200  1.39    fredb _ACEOF
   2201  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2202  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2203  1.39    fredb /* end confdefs.h.  */
   2204   1.4       tv #include <sys/types.h>
   2205   1.4       tv #include <sys/param.h>
   2206   1.4       tv 
   2207   1.4       tv int
   2208   1.4       tv main ()
   2209   1.4       tv {
   2210   1.4       tv #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
   2211   1.4       tv  bogus endian macros
   2212   1.4       tv #endif
   2213   1.4       tv 
   2214   1.4       tv   ;
   2215   1.4       tv   return 0;
   2216   1.4       tv }
   2217   1.4       tv _ACEOF
   2218   1.4       tv rm -f conftest.$ac_objext
   2219  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2220   1.4       tv   (eval $ac_compile) 2>&5
   2221   1.4       tv   ac_status=$?
   2222  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2223   1.4       tv   (exit $ac_status); } &&
   2224   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   2225  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2226   1.4       tv   (eval $ac_try) 2>&5
   2227   1.4       tv   ac_status=$?
   2228  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2229   1.4       tv   (exit $ac_status); }; }; then
   2230   1.4       tv   # It does; now see whether it defined to BIG_ENDIAN or not.
   2231   1.4       tv cat >conftest.$ac_ext <<_ACEOF
   2232  1.39    fredb #line $LINENO "configure"
   2233  1.39    fredb /* confdefs.h.  */
   2234  1.39    fredb _ACEOF
   2235  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2236  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2237  1.39    fredb /* end confdefs.h.  */
   2238   1.4       tv #include <sys/types.h>
   2239   1.4       tv #include <sys/param.h>
   2240   1.4       tv 
   2241   1.4       tv int
   2242   1.4       tv main ()
   2243   1.4       tv {
   2244   1.4       tv #if BYTE_ORDER != BIG_ENDIAN
   2245   1.4       tv  not big endian
   2246   1.4       tv #endif
   2247   1.4       tv 
   2248   1.4       tv   ;
   2249   1.4       tv   return 0;
   2250   1.4       tv }
   2251   1.4       tv _ACEOF
   2252   1.4       tv rm -f conftest.$ac_objext
   2253  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2254   1.4       tv   (eval $ac_compile) 2>&5
   2255   1.4       tv   ac_status=$?
   2256  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2257   1.4       tv   (exit $ac_status); } &&
   2258   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   2259  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2260   1.4       tv   (eval $ac_try) 2>&5
   2261   1.4       tv   ac_status=$?
   2262  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2263   1.4       tv   (exit $ac_status); }; }; then
   2264   1.4       tv   ac_cv_c_bigendian=yes
   2265   1.4       tv else
   2266   1.4       tv   echo "$as_me: failed program was:" >&5
   2267  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2268  1.39    fredb 
   2269   1.4       tv ac_cv_c_bigendian=no
   2270   1.4       tv fi
   2271   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2272   1.4       tv else
   2273   1.4       tv   echo "$as_me: failed program was:" >&5
   2274  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2275  1.39    fredb 
   2276  1.39    fredb # It does not; compile a test program.
   2277  1.39    fredb if test "$cross_compiling" = yes; then
   2278  1.39    fredb   # try to guess the endianness by grepping values into an object file
   2279  1.39    fredb   ac_cv_c_bigendian=unknown
   2280  1.39    fredb   cat >conftest.$ac_ext <<_ACEOF
   2281  1.39    fredb #line $LINENO "configure"
   2282  1.39    fredb /* confdefs.h.  */
   2283  1.39    fredb _ACEOF
   2284  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2285  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2286  1.39    fredb /* end confdefs.h.  */
   2287  1.39    fredb short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   2288  1.39    fredb short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   2289  1.39    fredb void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
   2290  1.39    fredb short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   2291  1.39    fredb short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   2292  1.39    fredb void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
   2293  1.39    fredb int
   2294  1.39    fredb main ()
   2295  1.39    fredb {
   2296  1.39    fredb  _ascii (); _ebcdic ();
   2297  1.39    fredb   ;
   2298  1.39    fredb   return 0;
   2299  1.39    fredb }
   2300  1.39    fredb _ACEOF
   2301  1.39    fredb rm -f conftest.$ac_objext
   2302  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2303  1.39    fredb   (eval $ac_compile) 2>&5
   2304  1.39    fredb   ac_status=$?
   2305  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2306  1.39    fredb   (exit $ac_status); } &&
   2307  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   2308  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2309  1.39    fredb   (eval $ac_try) 2>&5
   2310  1.39    fredb   ac_status=$?
   2311  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2312  1.39    fredb   (exit $ac_status); }; }; then
   2313  1.39    fredb   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
   2314  1.39    fredb   ac_cv_c_bigendian=yes
   2315  1.39    fredb fi
   2316  1.39    fredb if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   2317  1.39    fredb   if test "$ac_cv_c_bigendian" = unknown; then
   2318  1.39    fredb     ac_cv_c_bigendian=no
   2319  1.39    fredb   else
   2320  1.39    fredb     # finding both strings is unlikely to happen, but who knows?
   2321  1.39    fredb     ac_cv_c_bigendian=unknown
   2322  1.39    fredb   fi
   2323  1.39    fredb fi
   2324  1.39    fredb else
   2325  1.39    fredb   echo "$as_me: failed program was:" >&5
   2326  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2327  1.39    fredb 
   2328   1.4       tv fi
   2329   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2330   1.4       tv else
   2331   1.4       tv   cat >conftest.$ac_ext <<_ACEOF
   2332  1.39    fredb #line $LINENO "configure"
   2333  1.39    fredb /* confdefs.h.  */
   2334  1.39    fredb _ACEOF
   2335  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2336  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2337  1.39    fredb /* end confdefs.h.  */
   2338   1.4       tv int
   2339   1.4       tv main ()
   2340   1.4       tv {
   2341   1.4       tv   /* Are we little or big endian?  From Harbison&Steele.  */
   2342   1.4       tv   union
   2343   1.4       tv   {
   2344   1.4       tv     long l;
   2345   1.4       tv     char c[sizeof (long)];
   2346   1.4       tv   } u;
   2347   1.4       tv   u.l = 1;
   2348   1.4       tv   exit (u.c[sizeof (long) - 1] == 1);
   2349   1.4       tv }
   2350   1.4       tv _ACEOF
   2351   1.4       tv rm -f conftest$ac_exeext
   2352  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2353   1.4       tv   (eval $ac_link) 2>&5
   2354   1.4       tv   ac_status=$?
   2355  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2356   1.4       tv   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2357  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2358   1.4       tv   (eval $ac_try) 2>&5
   2359   1.4       tv   ac_status=$?
   2360  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2361   1.4       tv   (exit $ac_status); }; }; then
   2362   1.4       tv   ac_cv_c_bigendian=no
   2363   1.4       tv else
   2364   1.4       tv   echo "$as_me: program exited with status $ac_status" >&5
   2365   1.4       tv echo "$as_me: failed program was:" >&5
   2366  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2367  1.39    fredb 
   2368  1.39    fredb ( exit $ac_status )
   2369   1.4       tv ac_cv_c_bigendian=yes
   2370   1.4       tv fi
   2371  1.39    fredb rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2372   1.4       tv fi
   2373   1.4       tv fi
   2374  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   2375   1.4       tv fi
   2376  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
   2377   1.4       tv echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   2378  1.39    fredb case $ac_cv_c_bigendian in
   2379  1.39    fredb   yes)
   2380   1.4       tv 
   2381  1.39    fredb cat >>confdefs.h <<\_ACEOF
   2382   1.4       tv #define WORDS_BIGENDIAN 1
   2383  1.39    fredb _ACEOF
   2384  1.39    fredb  ;;
   2385  1.39    fredb   no)
   2386  1.39    fredb      ;;
   2387  1.39    fredb   *)
   2388  1.39    fredb     { { echo "$as_me:$LINENO: error: unknown endianness
   2389  1.39    fredb presetting ac_cv_c_bigendian=no (or yes) will help" >&5
   2390  1.39    fredb echo "$as_me: error: unknown endianness
   2391  1.39    fredb presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   2392  1.39    fredb    { (exit 1); exit 1; }; } ;;
   2393  1.39    fredb esac
   2394   1.4       tv 
   2395   1.1       tv ac_ext=c
   2396   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   2397   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2398   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2399   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2400  1.39    fredb echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   2401   1.1       tv echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   2402   1.1       tv # On Suns, sometimes $CPP names a directory.
   2403   1.1       tv if test -n "$CPP" && test -d "$CPP"; then
   2404   1.1       tv   CPP=
   2405   1.1       tv fi
   2406   1.1       tv if test -z "$CPP"; then
   2407   1.1       tv   if test "${ac_cv_prog_CPP+set}" = set; then
   2408   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2409   1.1       tv else
   2410   1.1       tv       # Double quotes because CPP needs to be expanded
   2411   1.1       tv     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2412   1.1       tv     do
   2413   1.1       tv       ac_preproc_ok=false
   2414   1.1       tv for ac_c_preproc_warn_flag in '' yes
   2415   1.1       tv do
   2416   1.1       tv   # Use a header file that comes with gcc, so configuring glibc
   2417   1.1       tv   # with a fresh cross-compiler works.
   2418  1.39    fredb   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2419  1.39    fredb   # <limits.h> exists even on freestanding compilers.
   2420   1.1       tv   # On the NeXT, cc -E runs the code through the compiler's parser,
   2421   1.1       tv   # not just through cpp. "Syntax error" is here to catch this case.
   2422   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2423  1.39    fredb #line $LINENO "configure"
   2424  1.39    fredb /* confdefs.h.  */
   2425  1.39    fredb _ACEOF
   2426  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2427  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2428  1.39    fredb /* end confdefs.h.  */
   2429  1.39    fredb #ifdef __STDC__
   2430  1.39    fredb # include <limits.h>
   2431  1.39    fredb #else
   2432  1.39    fredb # include <assert.h>
   2433  1.39    fredb #endif
   2434   1.1       tv                      Syntax error
   2435   1.1       tv _ACEOF
   2436  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2437   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2438   1.1       tv   ac_status=$?
   2439  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   2440   1.1       tv   rm -f conftest.er1
   2441   1.1       tv   cat conftest.err >&5
   2442  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2443   1.1       tv   (exit $ac_status); } >/dev/null; then
   2444   1.1       tv   if test -s conftest.err; then
   2445   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2446   1.1       tv   else
   2447   1.1       tv     ac_cpp_err=
   2448   1.1       tv   fi
   2449   1.1       tv else
   2450   1.1       tv   ac_cpp_err=yes
   2451   1.1       tv fi
   2452   1.1       tv if test -z "$ac_cpp_err"; then
   2453   1.1       tv   :
   2454   1.1       tv else
   2455   1.1       tv   echo "$as_me: failed program was:" >&5
   2456  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2457  1.39    fredb 
   2458   1.1       tv   # Broken: fails on valid input.
   2459   1.1       tv continue
   2460   1.1       tv fi
   2461   1.1       tv rm -f conftest.err conftest.$ac_ext
   2462   1.1       tv 
   2463   1.1       tv   # OK, works on sane cases.  Now check whether non-existent headers
   2464   1.1       tv   # can be detected and how.
   2465   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2466  1.39    fredb #line $LINENO "configure"
   2467  1.39    fredb /* confdefs.h.  */
   2468  1.39    fredb _ACEOF
   2469  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2470  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2471  1.39    fredb /* end confdefs.h.  */
   2472   1.1       tv #include <ac_nonexistent.h>
   2473   1.1       tv _ACEOF
   2474  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2475   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2476   1.1       tv   ac_status=$?
   2477  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   2478   1.1       tv   rm -f conftest.er1
   2479   1.1       tv   cat conftest.err >&5
   2480  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2481   1.1       tv   (exit $ac_status); } >/dev/null; then
   2482   1.1       tv   if test -s conftest.err; then
   2483   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2484   1.1       tv   else
   2485   1.1       tv     ac_cpp_err=
   2486   1.1       tv   fi
   2487   1.1       tv else
   2488   1.1       tv   ac_cpp_err=yes
   2489   1.1       tv fi
   2490   1.1       tv if test -z "$ac_cpp_err"; then
   2491   1.1       tv   # Broken: success on invalid input.
   2492   1.1       tv continue
   2493   1.1       tv else
   2494   1.1       tv   echo "$as_me: failed program was:" >&5
   2495  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2496  1.39    fredb 
   2497   1.1       tv   # Passes both tests.
   2498   1.1       tv ac_preproc_ok=:
   2499   1.1       tv break
   2500   1.1       tv fi
   2501   1.1       tv rm -f conftest.err conftest.$ac_ext
   2502   1.1       tv 
   2503   1.1       tv done
   2504   1.1       tv # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   2505   1.1       tv rm -f conftest.err conftest.$ac_ext
   2506   1.1       tv if $ac_preproc_ok; then
   2507   1.1       tv   break
   2508   1.1       tv fi
   2509   1.1       tv 
   2510   1.1       tv     done
   2511   1.1       tv     ac_cv_prog_CPP=$CPP
   2512   1.1       tv 
   2513   1.1       tv fi
   2514   1.1       tv   CPP=$ac_cv_prog_CPP
   2515   1.1       tv else
   2516   1.1       tv   ac_cv_prog_CPP=$CPP
   2517   1.1       tv fi
   2518  1.39    fredb echo "$as_me:$LINENO: result: $CPP" >&5
   2519   1.1       tv echo "${ECHO_T}$CPP" >&6
   2520   1.1       tv ac_preproc_ok=false
   2521   1.1       tv for ac_c_preproc_warn_flag in '' yes
   2522   1.1       tv do
   2523   1.1       tv   # Use a header file that comes with gcc, so configuring glibc
   2524   1.1       tv   # with a fresh cross-compiler works.
   2525  1.39    fredb   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2526  1.39    fredb   # <limits.h> exists even on freestanding compilers.
   2527   1.1       tv   # On the NeXT, cc -E runs the code through the compiler's parser,
   2528   1.1       tv   # not just through cpp. "Syntax error" is here to catch this case.
   2529   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2530  1.39    fredb #line $LINENO "configure"
   2531  1.39    fredb /* confdefs.h.  */
   2532  1.39    fredb _ACEOF
   2533  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2534  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2535  1.39    fredb /* end confdefs.h.  */
   2536  1.39    fredb #ifdef __STDC__
   2537  1.39    fredb # include <limits.h>
   2538  1.39    fredb #else
   2539  1.39    fredb # include <assert.h>
   2540  1.39    fredb #endif
   2541   1.1       tv                      Syntax error
   2542   1.1       tv _ACEOF
   2543  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2544   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2545   1.1       tv   ac_status=$?
   2546  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   2547   1.1       tv   rm -f conftest.er1
   2548   1.1       tv   cat conftest.err >&5
   2549  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2550   1.1       tv   (exit $ac_status); } >/dev/null; then
   2551   1.1       tv   if test -s conftest.err; then
   2552   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2553   1.1       tv   else
   2554   1.1       tv     ac_cpp_err=
   2555   1.1       tv   fi
   2556   1.1       tv else
   2557   1.1       tv   ac_cpp_err=yes
   2558   1.1       tv fi
   2559   1.1       tv if test -z "$ac_cpp_err"; then
   2560   1.1       tv   :
   2561   1.1       tv else
   2562   1.1       tv   echo "$as_me: failed program was:" >&5
   2563  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2564  1.39    fredb 
   2565   1.1       tv   # Broken: fails on valid input.
   2566   1.1       tv continue
   2567   1.1       tv fi
   2568   1.1       tv rm -f conftest.err conftest.$ac_ext
   2569   1.1       tv 
   2570   1.1       tv   # OK, works on sane cases.  Now check whether non-existent headers
   2571   1.1       tv   # can be detected and how.
   2572   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   2573  1.39    fredb #line $LINENO "configure"
   2574  1.39    fredb /* confdefs.h.  */
   2575  1.39    fredb _ACEOF
   2576  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2577  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2578  1.39    fredb /* end confdefs.h.  */
   2579   1.1       tv #include <ac_nonexistent.h>
   2580   1.1       tv _ACEOF
   2581  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2582   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2583   1.1       tv   ac_status=$?
   2584  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   2585   1.1       tv   rm -f conftest.er1
   2586   1.1       tv   cat conftest.err >&5
   2587  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2588   1.1       tv   (exit $ac_status); } >/dev/null; then
   2589   1.1       tv   if test -s conftest.err; then
   2590   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2591   1.1       tv   else
   2592   1.1       tv     ac_cpp_err=
   2593   1.1       tv   fi
   2594   1.1       tv else
   2595   1.1       tv   ac_cpp_err=yes
   2596   1.1       tv fi
   2597   1.1       tv if test -z "$ac_cpp_err"; then
   2598   1.1       tv   # Broken: success on invalid input.
   2599   1.1       tv continue
   2600   1.1       tv else
   2601   1.1       tv   echo "$as_me: failed program was:" >&5
   2602  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2603  1.39    fredb 
   2604   1.1       tv   # Passes both tests.
   2605   1.1       tv ac_preproc_ok=:
   2606   1.1       tv break
   2607   1.1       tv fi
   2608   1.1       tv rm -f conftest.err conftest.$ac_ext
   2609   1.1       tv 
   2610   1.1       tv done
   2611   1.1       tv # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   2612   1.1       tv rm -f conftest.err conftest.$ac_ext
   2613   1.1       tv if $ac_preproc_ok; then
   2614   1.1       tv   :
   2615   1.1       tv else
   2616  1.39    fredb   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   2617  1.39    fredb See \`config.log' for more details." >&5
   2618  1.39    fredb echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   2619  1.39    fredb See \`config.log' for more details." >&2;}
   2620   1.1       tv    { (exit 1); exit 1; }; }
   2621   1.1       tv fi
   2622   1.1       tv 
   2623   1.1       tv ac_ext=c
   2624   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   2625   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2626   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2627   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2628   1.1       tv 
   2629  1.39    fredb 
   2630  1.39    fredb echo "$as_me:$LINENO: checking for egrep" >&5
   2631  1.39    fredb echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   2632  1.39    fredb if test "${ac_cv_prog_egrep+set}" = set; then
   2633  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2634  1.39    fredb else
   2635  1.39    fredb   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   2636  1.39    fredb     then ac_cv_prog_egrep='grep -E'
   2637  1.39    fredb     else ac_cv_prog_egrep='egrep'
   2638  1.39    fredb     fi
   2639  1.39    fredb fi
   2640  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   2641  1.39    fredb echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   2642  1.39    fredb  EGREP=$ac_cv_prog_egrep
   2643  1.39    fredb 
   2644  1.39    fredb 
   2645  1.39    fredb echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   2646   1.6       tv echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   2647   1.6       tv if test "${ac_cv_header_stdc+set}" = set; then
   2648   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2649   1.6       tv else
   2650   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2651  1.39    fredb #line $LINENO "configure"
   2652  1.39    fredb /* confdefs.h.  */
   2653  1.39    fredb _ACEOF
   2654  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2655  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2656  1.39    fredb /* end confdefs.h.  */
   2657   1.6       tv #include <stdlib.h>
   2658   1.6       tv #include <stdarg.h>
   2659   1.6       tv #include <string.h>
   2660   1.6       tv #include <float.h>
   2661   1.6       tv 
   2662  1.39    fredb int
   2663  1.39    fredb main ()
   2664  1.39    fredb {
   2665  1.39    fredb 
   2666  1.39    fredb   ;
   2667  1.39    fredb   return 0;
   2668  1.39    fredb }
   2669   1.6       tv _ACEOF
   2670  1.39    fredb rm -f conftest.$ac_objext
   2671  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2672  1.39    fredb   (eval $ac_compile) 2>&5
   2673  1.39    fredb   ac_status=$?
   2674  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2675  1.39    fredb   (exit $ac_status); } &&
   2676  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   2677  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2678  1.39    fredb   (eval $ac_try) 2>&5
   2679   1.6       tv   ac_status=$?
   2680  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2681  1.39    fredb   (exit $ac_status); }; }; then
   2682   1.6       tv   ac_cv_header_stdc=yes
   2683   1.6       tv else
   2684   1.6       tv   echo "$as_me: failed program was:" >&5
   2685  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2686  1.39    fredb 
   2687  1.39    fredb ac_cv_header_stdc=no
   2688   1.6       tv fi
   2689  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   2690   1.6       tv 
   2691   1.6       tv if test $ac_cv_header_stdc = yes; then
   2692   1.6       tv   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   2693   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2694  1.39    fredb #line $LINENO "configure"
   2695  1.39    fredb /* confdefs.h.  */
   2696  1.39    fredb _ACEOF
   2697  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2698  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2699  1.39    fredb /* end confdefs.h.  */
   2700   1.6       tv #include <string.h>
   2701   1.6       tv 
   2702   1.6       tv _ACEOF
   2703   1.6       tv if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2704  1.39    fredb   $EGREP "memchr" >/dev/null 2>&1; then
   2705   1.6       tv   :
   2706   1.6       tv else
   2707   1.6       tv   ac_cv_header_stdc=no
   2708   1.6       tv fi
   2709   1.6       tv rm -f conftest*
   2710   1.6       tv 
   2711   1.6       tv fi
   2712   1.6       tv 
   2713   1.6       tv if test $ac_cv_header_stdc = yes; then
   2714   1.6       tv   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   2715   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2716  1.39    fredb #line $LINENO "configure"
   2717  1.39    fredb /* confdefs.h.  */
   2718  1.39    fredb _ACEOF
   2719  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2720  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2721  1.39    fredb /* end confdefs.h.  */
   2722   1.6       tv #include <stdlib.h>
   2723   1.6       tv 
   2724   1.6       tv _ACEOF
   2725   1.6       tv if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2726  1.39    fredb   $EGREP "free" >/dev/null 2>&1; then
   2727   1.6       tv   :
   2728   1.6       tv else
   2729   1.6       tv   ac_cv_header_stdc=no
   2730   1.6       tv fi
   2731   1.6       tv rm -f conftest*
   2732   1.6       tv 
   2733   1.6       tv fi
   2734   1.6       tv 
   2735   1.6       tv if test $ac_cv_header_stdc = yes; then
   2736   1.6       tv   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   2737   1.6       tv   if test "$cross_compiling" = yes; then
   2738   1.6       tv   :
   2739   1.6       tv else
   2740   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2741  1.39    fredb #line $LINENO "configure"
   2742  1.39    fredb /* confdefs.h.  */
   2743  1.39    fredb _ACEOF
   2744  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2745  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2746  1.39    fredb /* end confdefs.h.  */
   2747   1.6       tv #include <ctype.h>
   2748   1.6       tv #if ((' ' & 0x0FF) == 0x020)
   2749   1.6       tv # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   2750   1.6       tv # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   2751   1.6       tv #else
   2752  1.39    fredb # define ISLOWER(c) \
   2753  1.39    fredb                    (('a' <= (c) && (c) <= 'i') \
   2754   1.6       tv                      || ('j' <= (c) && (c) <= 'r') \
   2755   1.6       tv                      || ('s' <= (c) && (c) <= 'z'))
   2756   1.6       tv # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   2757   1.6       tv #endif
   2758   1.6       tv 
   2759   1.6       tv #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   2760   1.6       tv int
   2761   1.6       tv main ()
   2762   1.6       tv {
   2763   1.6       tv   int i;
   2764   1.6       tv   for (i = 0; i < 256; i++)
   2765   1.6       tv     if (XOR (islower (i), ISLOWER (i))
   2766   1.6       tv         || toupper (i) != TOUPPER (i))
   2767   1.6       tv       exit(2);
   2768   1.6       tv   exit (0);
   2769   1.6       tv }
   2770   1.6       tv _ACEOF
   2771   1.6       tv rm -f conftest$ac_exeext
   2772  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2773   1.6       tv   (eval $ac_link) 2>&5
   2774   1.6       tv   ac_status=$?
   2775  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2776   1.6       tv   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2777  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2778   1.6       tv   (eval $ac_try) 2>&5
   2779   1.6       tv   ac_status=$?
   2780  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2781   1.6       tv   (exit $ac_status); }; }; then
   2782   1.6       tv   :
   2783   1.6       tv else
   2784   1.6       tv   echo "$as_me: program exited with status $ac_status" >&5
   2785   1.6       tv echo "$as_me: failed program was:" >&5
   2786  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2787  1.39    fredb 
   2788  1.39    fredb ( exit $ac_status )
   2789   1.6       tv ac_cv_header_stdc=no
   2790   1.6       tv fi
   2791  1.39    fredb rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2792   1.6       tv fi
   2793   1.6       tv fi
   2794   1.6       tv fi
   2795  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   2796   1.6       tv echo "${ECHO_T}$ac_cv_header_stdc" >&6
   2797   1.6       tv if test $ac_cv_header_stdc = yes; then
   2798   1.6       tv 
   2799  1.39    fredb cat >>confdefs.h <<\_ACEOF
   2800   1.6       tv #define STDC_HEADERS 1
   2801  1.39    fredb _ACEOF
   2802   1.6       tv 
   2803   1.6       tv fi
   2804   1.6       tv 
   2805  1.39    fredb 
   2806   1.6       tv # Confirm existence of zlib.  (This is available as a default install
   2807   1.6       tv # option on many OS's; this could be added as a reachover build in the
   2808   1.6       tv # future.)
   2809  1.39    fredb # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   2810  1.39    fredb 
   2811  1.39    fredb 
   2812  1.39    fredb 
   2813  1.39    fredb 
   2814  1.39    fredb 
   2815  1.39    fredb 
   2816  1.39    fredb 
   2817  1.39    fredb 
   2818  1.39    fredb 
   2819  1.39    fredb for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   2820  1.39    fredb                   inttypes.h stdint.h unistd.h
   2821  1.39    fredb do
   2822  1.39    fredb as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2823  1.39    fredb echo "$as_me:$LINENO: checking for $ac_header" >&5
   2824  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2825  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2826  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2827  1.39    fredb else
   2828  1.39    fredb   cat >conftest.$ac_ext <<_ACEOF
   2829  1.39    fredb #line $LINENO "configure"
   2830  1.39    fredb /* confdefs.h.  */
   2831  1.39    fredb _ACEOF
   2832  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2833  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2834  1.39    fredb /* end confdefs.h.  */
   2835  1.39    fredb $ac_includes_default
   2836  1.39    fredb 
   2837  1.39    fredb #include <$ac_header>
   2838  1.39    fredb _ACEOF
   2839  1.39    fredb rm -f conftest.$ac_objext
   2840  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2841  1.39    fredb   (eval $ac_compile) 2>&5
   2842  1.39    fredb   ac_status=$?
   2843  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2844  1.39    fredb   (exit $ac_status); } &&
   2845  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   2846  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2847  1.39    fredb   (eval $ac_try) 2>&5
   2848  1.39    fredb   ac_status=$?
   2849  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2850  1.39    fredb   (exit $ac_status); }; }; then
   2851  1.39    fredb   eval "$as_ac_Header=yes"
   2852  1.39    fredb else
   2853  1.39    fredb   echo "$as_me: failed program was:" >&5
   2854  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2855  1.39    fredb 
   2856  1.39    fredb eval "$as_ac_Header=no"
   2857  1.39    fredb fi
   2858  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   2859  1.39    fredb fi
   2860  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2861  1.39    fredb echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2862  1.39    fredb if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2863  1.39    fredb   cat >>confdefs.h <<_ACEOF
   2864  1.39    fredb #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2865  1.39    fredb _ACEOF
   2866  1.39    fredb 
   2867  1.39    fredb fi
   2868  1.39    fredb 
   2869  1.39    fredb done
   2870  1.39    fredb 
   2871  1.39    fredb 
   2872  1.39    fredb if test "${ac_cv_header_zlib_h+set}" = set; then
   2873  1.39    fredb   echo "$as_me:$LINENO: checking for zlib.h" >&5
   2874   1.6       tv echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   2875   1.6       tv if test "${ac_cv_header_zlib_h+set}" = set; then
   2876   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2877  1.39    fredb fi
   2878  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
   2879  1.39    fredb echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   2880  1.39    fredb else
   2881  1.39    fredb   # Is the header compilable?
   2882  1.39    fredb echo "$as_me:$LINENO: checking zlib.h usability" >&5
   2883  1.39    fredb echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
   2884  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   2885  1.39    fredb #line $LINENO "configure"
   2886  1.39    fredb /* confdefs.h.  */
   2887  1.39    fredb _ACEOF
   2888  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2889  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2890  1.39    fredb /* end confdefs.h.  */
   2891  1.39    fredb $ac_includes_default
   2892  1.39    fredb #include <zlib.h>
   2893  1.39    fredb _ACEOF
   2894  1.39    fredb rm -f conftest.$ac_objext
   2895  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2896  1.39    fredb   (eval $ac_compile) 2>&5
   2897  1.39    fredb   ac_status=$?
   2898  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2899  1.39    fredb   (exit $ac_status); } &&
   2900  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   2901  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2902  1.39    fredb   (eval $ac_try) 2>&5
   2903  1.39    fredb   ac_status=$?
   2904  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2905  1.39    fredb   (exit $ac_status); }; }; then
   2906  1.39    fredb   ac_header_compiler=yes
   2907   1.4       tv else
   2908  1.39    fredb   echo "$as_me: failed program was:" >&5
   2909  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2910  1.39    fredb 
   2911  1.39    fredb ac_header_compiler=no
   2912  1.39    fredb fi
   2913  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   2914  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   2915  1.39    fredb echo "${ECHO_T}$ac_header_compiler" >&6
   2916  1.39    fredb 
   2917  1.39    fredb # Is the header present?
   2918  1.39    fredb echo "$as_me:$LINENO: checking zlib.h presence" >&5
   2919  1.39    fredb echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
   2920  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   2921  1.39    fredb #line $LINENO "configure"
   2922  1.39    fredb /* confdefs.h.  */
   2923  1.39    fredb _ACEOF
   2924  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   2925  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   2926  1.39    fredb /* end confdefs.h.  */
   2927   1.6       tv #include <zlib.h>
   2928   1.4       tv _ACEOF
   2929  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2930   1.4       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2931   1.4       tv   ac_status=$?
   2932  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   2933   1.4       tv   rm -f conftest.er1
   2934   1.4       tv   cat conftest.err >&5
   2935  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2936   1.4       tv   (exit $ac_status); } >/dev/null; then
   2937   1.4       tv   if test -s conftest.err; then
   2938   1.4       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2939   1.4       tv   else
   2940   1.4       tv     ac_cpp_err=
   2941   1.4       tv   fi
   2942   1.4       tv else
   2943   1.4       tv   ac_cpp_err=yes
   2944   1.4       tv fi
   2945   1.4       tv if test -z "$ac_cpp_err"; then
   2946  1.39    fredb   ac_header_preproc=yes
   2947   1.4       tv else
   2948   1.4       tv   echo "$as_me: failed program was:" >&5
   2949  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   2950  1.39    fredb 
   2951  1.39    fredb   ac_header_preproc=no
   2952   1.4       tv fi
   2953   1.4       tv rm -f conftest.err conftest.$ac_ext
   2954  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   2955  1.39    fredb echo "${ECHO_T}$ac_header_preproc" >&6
   2956  1.39    fredb 
   2957  1.39    fredb # So?  What about this header?
   2958  1.39    fredb case $ac_header_compiler:$ac_header_preproc in
   2959  1.39    fredb   yes:no )
   2960  1.39    fredb     { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
   2961  1.39    fredb echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2962  1.39    fredb     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
   2963  1.39    fredb echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
   2964  1.39    fredb     (
   2965  1.39    fredb       cat <<\_ASBOX
   2966  1.39    fredb ## ------------------------------------ ##
   2967  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   2968  1.39    fredb ## ------------------------------------ ##
   2969  1.39    fredb _ASBOX
   2970  1.39    fredb     ) |
   2971  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   2972  1.39    fredb     ;;
   2973  1.39    fredb   no:yes )
   2974  1.39    fredb     { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
   2975  1.39    fredb echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
   2976  1.39    fredb     { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
   2977  1.39    fredb echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
   2978  1.39    fredb     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
   2979  1.39    fredb echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
   2980  1.39    fredb     (
   2981  1.39    fredb       cat <<\_ASBOX
   2982  1.39    fredb ## ------------------------------------ ##
   2983  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   2984  1.39    fredb ## ------------------------------------ ##
   2985  1.39    fredb _ASBOX
   2986  1.39    fredb     ) |
   2987  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   2988  1.39    fredb     ;;
   2989  1.39    fredb esac
   2990  1.39    fredb echo "$as_me:$LINENO: checking for zlib.h" >&5
   2991  1.39    fredb echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   2992  1.39    fredb if test "${ac_cv_header_zlib_h+set}" = set; then
   2993  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2994  1.39    fredb else
   2995  1.39    fredb   ac_cv_header_zlib_h=$ac_header_preproc
   2996   1.4       tv fi
   2997  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
   2998   1.6       tv echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   2999  1.39    fredb 
   3000  1.39    fredb fi
   3001   1.6       tv if test $ac_cv_header_zlib_h = yes; then
   3002   1.6       tv   :
   3003   1.6       tv else
   3004  1.39    fredb   { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
   3005   1.6       tv echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   3006   1.6       tv    { (exit 1); exit 1; }; }
   3007   1.6       tv fi
   3008   1.6       tv 
   3009  1.39    fredb 
   3010  1.39    fredb 
   3011  1.39    fredb echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5
   3012   1.6       tv echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
   3013   1.6       tv if test "${ac_cv_lib_z_gzdopen+set}" = set; then
   3014   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3015   1.6       tv else
   3016   1.6       tv   ac_check_lib_save_LIBS=$LIBS
   3017   1.6       tv LIBS="-lz  $LIBS"
   3018   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   3019  1.39    fredb #line $LINENO "configure"
   3020  1.39    fredb /* confdefs.h.  */
   3021  1.39    fredb _ACEOF
   3022  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3023  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3024  1.39    fredb /* end confdefs.h.  */
   3025   1.6       tv 
   3026   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   3027   1.6       tv #ifdef __cplusplus
   3028   1.6       tv extern "C"
   3029   1.6       tv #endif
   3030   1.6       tv /* We use char because int might match the return type of a gcc2
   3031   1.6       tv    builtin and then its argument prototype would still apply.  */
   3032   1.6       tv char gzdopen ();
   3033   1.6       tv int
   3034   1.6       tv main ()
   3035   1.6       tv {
   3036   1.6       tv gzdopen ();
   3037   1.6       tv   ;
   3038   1.6       tv   return 0;
   3039   1.6       tv }
   3040   1.6       tv _ACEOF
   3041   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   3042  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3043   1.6       tv   (eval $ac_link) 2>&5
   3044   1.6       tv   ac_status=$?
   3045  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3046   1.6       tv   (exit $ac_status); } &&
   3047   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   3048  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3049   1.6       tv   (eval $ac_try) 2>&5
   3050   1.6       tv   ac_status=$?
   3051  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3052   1.6       tv   (exit $ac_status); }; }; then
   3053   1.6       tv   ac_cv_lib_z_gzdopen=yes
   3054   1.6       tv else
   3055   1.6       tv   echo "$as_me: failed program was:" >&5
   3056  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3057  1.39    fredb 
   3058   1.6       tv ac_cv_lib_z_gzdopen=no
   3059   1.6       tv fi
   3060   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   3061   1.6       tv LIBS=$ac_check_lib_save_LIBS
   3062   1.6       tv fi
   3063  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
   3064   1.6       tv echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
   3065   1.6       tv if test $ac_cv_lib_z_gzdopen = yes; then
   3066  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3067   1.6       tv #define HAVE_LIBZ 1
   3068  1.39    fredb _ACEOF
   3069   1.4       tv 
   3070   1.6       tv   LIBS="-lz $LIBS"
   3071   1.6       tv 
   3072   1.4       tv else
   3073  1.39    fredb   { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
   3074   1.6       tv echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   3075   1.4       tv    { (exit 1); exit 1; }; }
   3076   1.4       tv fi
   3077   1.4       tv 
   3078  1.39    fredb 
   3079   1.6       tv # Make sure certain required headers are available.
   3080   1.6       tv # These are not necessarily required by the code, but they are not
   3081   1.6       tv # currently conditionalized.
   3082   1.4       tv 
   3083  1.39    fredb 
   3084  1.39    fredb 
   3085  1.39    fredb 
   3086  1.39    fredb 
   3087  1.39    fredb 
   3088  1.39    fredb 
   3089  1.39    fredb 
   3090  1.39    fredb 
   3091  1.39    fredb 
   3092  1.39    fredb 
   3093  1.39    fredb 
   3094  1.39    fredb 
   3095  1.39    fredb 
   3096  1.39    fredb 
   3097  1.39    fredb 
   3098  1.39    fredb 
   3099  1.39    fredb 
   3100  1.39    fredb 
   3101  1.39    fredb 
   3102  1.39    fredb 
   3103  1.39    fredb 
   3104  1.39    fredb 
   3105  1.39    fredb 
   3106  1.39    fredb 
   3107  1.39    fredb 
   3108   1.6       tv for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
   3109  1.34  thorpej 	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
   3110  1.34  thorpej 	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
   3111  1.28   briggs 	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
   3112  1.22  thorpej 	termios.h unistd.h
   3113   1.4       tv do
   3114   1.4       tv as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3115  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3116  1.39    fredb   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3117   1.4       tv echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3118   1.4       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3119   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3120  1.39    fredb fi
   3121  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3122  1.39    fredb echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3123   1.4       tv else
   3124  1.39    fredb   # Is the header compilable?
   3125  1.39    fredb echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3126  1.39    fredb echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3127  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3128  1.39    fredb #line $LINENO "configure"
   3129  1.39    fredb /* confdefs.h.  */
   3130  1.39    fredb _ACEOF
   3131  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3132  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3133  1.39    fredb /* end confdefs.h.  */
   3134  1.39    fredb $ac_includes_default
   3135  1.39    fredb #include <$ac_header>
   3136  1.39    fredb _ACEOF
   3137  1.39    fredb rm -f conftest.$ac_objext
   3138  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3139  1.39    fredb   (eval $ac_compile) 2>&5
   3140  1.39    fredb   ac_status=$?
   3141  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142  1.39    fredb   (exit $ac_status); } &&
   3143  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   3144  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3145  1.39    fredb   (eval $ac_try) 2>&5
   3146  1.39    fredb   ac_status=$?
   3147  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3148  1.39    fredb   (exit $ac_status); }; }; then
   3149  1.39    fredb   ac_header_compiler=yes
   3150  1.39    fredb else
   3151  1.39    fredb   echo "$as_me: failed program was:" >&5
   3152  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3153  1.39    fredb 
   3154  1.39    fredb ac_header_compiler=no
   3155  1.39    fredb fi
   3156  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   3157  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3158  1.39    fredb echo "${ECHO_T}$ac_header_compiler" >&6
   3159  1.39    fredb 
   3160  1.39    fredb # Is the header present?
   3161  1.39    fredb echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3162  1.39    fredb echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3163  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3164  1.39    fredb #line $LINENO "configure"
   3165  1.39    fredb /* confdefs.h.  */
   3166  1.39    fredb _ACEOF
   3167  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3168  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3169  1.39    fredb /* end confdefs.h.  */
   3170   1.4       tv #include <$ac_header>
   3171   1.4       tv _ACEOF
   3172  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3173   1.4       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3174   1.4       tv   ac_status=$?
   3175  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   3176   1.4       tv   rm -f conftest.er1
   3177   1.4       tv   cat conftest.err >&5
   3178  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3179   1.4       tv   (exit $ac_status); } >/dev/null; then
   3180   1.4       tv   if test -s conftest.err; then
   3181   1.4       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   3182   1.4       tv   else
   3183   1.4       tv     ac_cpp_err=
   3184   1.4       tv   fi
   3185   1.4       tv else
   3186   1.6       tv   ac_cpp_err=yes
   3187   1.6       tv fi
   3188   1.6       tv if test -z "$ac_cpp_err"; then
   3189  1.39    fredb   ac_header_preproc=yes
   3190   1.6       tv else
   3191   1.6       tv   echo "$as_me: failed program was:" >&5
   3192  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3193  1.39    fredb 
   3194  1.39    fredb   ac_header_preproc=no
   3195   1.6       tv fi
   3196   1.6       tv rm -f conftest.err conftest.$ac_ext
   3197  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3198  1.39    fredb echo "${ECHO_T}$ac_header_preproc" >&6
   3199  1.39    fredb 
   3200  1.39    fredb # So?  What about this header?
   3201  1.39    fredb case $ac_header_compiler:$ac_header_preproc in
   3202  1.39    fredb   yes:no )
   3203  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3204  1.39    fredb echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3205  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3206  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3207  1.39    fredb     (
   3208  1.39    fredb       cat <<\_ASBOX
   3209  1.39    fredb ## ------------------------------------ ##
   3210  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3211  1.39    fredb ## ------------------------------------ ##
   3212  1.39    fredb _ASBOX
   3213  1.39    fredb     ) |
   3214  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3215  1.39    fredb     ;;
   3216  1.39    fredb   no:yes )
   3217  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3218  1.39    fredb echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3219  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
   3220  1.39    fredb echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
   3221  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3222  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3223  1.39    fredb     (
   3224  1.39    fredb       cat <<\_ASBOX
   3225  1.39    fredb ## ------------------------------------ ##
   3226  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3227  1.39    fredb ## ------------------------------------ ##
   3228  1.39    fredb _ASBOX
   3229  1.39    fredb     ) |
   3230  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3231  1.39    fredb     ;;
   3232  1.39    fredb esac
   3233  1.39    fredb echo "$as_me:$LINENO: checking for $ac_header" >&5
   3234  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3235  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3236  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   3237  1.39    fredb else
   3238  1.39    fredb   eval "$as_ac_Header=$ac_header_preproc"
   3239   1.6       tv fi
   3240  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3241   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3242  1.39    fredb 
   3243  1.39    fredb fi
   3244   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3245  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3246   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3247  1.39    fredb _ACEOF
   3248   1.6       tv 
   3249   1.6       tv else
   3250  1.39    fredb   { { echo "$as_me:$LINENO: error: standard system header file not found" >&5
   3251   1.6       tv echo "$as_me: error: standard system header file not found" >&2;}
   3252   1.6       tv    { (exit 1); exit 1; }; }
   3253   1.6       tv fi
   3254  1.39    fredb 
   3255   1.6       tv done
   3256   1.6       tv 
   3257  1.39    fredb 
   3258   1.6       tv # Find headers that may not be available.
   3259   1.6       tv 
   3260  1.39    fredb 
   3261  1.39    fredb 
   3262  1.39    fredb 
   3263  1.39    fredb 
   3264   1.6       tv ac_header_dirent=no
   3265   1.6       tv for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   3266   1.6       tv   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   3267  1.39    fredb echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   3268   1.6       tv echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   3269   1.6       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3270   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3271   1.6       tv else
   3272   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   3273  1.39    fredb #line $LINENO "configure"
   3274  1.39    fredb /* confdefs.h.  */
   3275  1.39    fredb _ACEOF
   3276  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3277  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3278  1.39    fredb /* end confdefs.h.  */
   3279   1.6       tv #include <sys/types.h>
   3280   1.6       tv #include <$ac_hdr>
   3281   1.6       tv 
   3282   1.6       tv int
   3283   1.6       tv main ()
   3284   1.6       tv {
   3285   1.6       tv if ((DIR *) 0)
   3286   1.6       tv return 0;
   3287   1.6       tv   ;
   3288   1.6       tv   return 0;
   3289   1.6       tv }
   3290   1.6       tv _ACEOF
   3291   1.6       tv rm -f conftest.$ac_objext
   3292  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3293   1.6       tv   (eval $ac_compile) 2>&5
   3294   1.6       tv   ac_status=$?
   3295  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3296   1.6       tv   (exit $ac_status); } &&
   3297   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3298  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3299   1.6       tv   (eval $ac_try) 2>&5
   3300   1.6       tv   ac_status=$?
   3301  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3302   1.6       tv   (exit $ac_status); }; }; then
   3303   1.6       tv   eval "$as_ac_Header=yes"
   3304   1.6       tv else
   3305   1.6       tv   echo "$as_me: failed program was:" >&5
   3306  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3307  1.39    fredb 
   3308   1.6       tv eval "$as_ac_Header=no"
   3309   1.6       tv fi
   3310   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3311   1.6       tv fi
   3312  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3313   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3314   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3315  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3316   1.6       tv #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   3317  1.39    fredb _ACEOF
   3318   1.6       tv 
   3319   1.6       tv ac_header_dirent=$ac_hdr; break
   3320   1.6       tv fi
   3321   1.6       tv 
   3322   1.6       tv done
   3323   1.6       tv # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   3324   1.6       tv if test $ac_header_dirent = dirent.h; then
   3325  1.39    fredb   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   3326  1.39    fredb echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   3327  1.39    fredb if test "${ac_cv_search_opendir+set}" = set; then
   3328   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3329   1.6       tv else
   3330  1.39    fredb   ac_func_search_save_LIBS=$LIBS
   3331  1.39    fredb ac_cv_search_opendir=no
   3332   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   3333  1.39    fredb #line $LINENO "configure"
   3334  1.39    fredb /* confdefs.h.  */
   3335  1.39    fredb _ACEOF
   3336  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3337  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3338  1.39    fredb /* end confdefs.h.  */
   3339   1.6       tv 
   3340   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   3341   1.6       tv #ifdef __cplusplus
   3342   1.6       tv extern "C"
   3343   1.6       tv #endif
   3344   1.6       tv /* We use char because int might match the return type of a gcc2
   3345   1.6       tv    builtin and then its argument prototype would still apply.  */
   3346   1.6       tv char opendir ();
   3347   1.6       tv int
   3348   1.6       tv main ()
   3349   1.6       tv {
   3350   1.6       tv opendir ();
   3351   1.6       tv   ;
   3352   1.6       tv   return 0;
   3353   1.6       tv }
   3354   1.6       tv _ACEOF
   3355   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   3356  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3357   1.6       tv   (eval $ac_link) 2>&5
   3358   1.6       tv   ac_status=$?
   3359  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3360   1.6       tv   (exit $ac_status); } &&
   3361   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   3362  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3363   1.6       tv   (eval $ac_try) 2>&5
   3364   1.6       tv   ac_status=$?
   3365  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3366   1.6       tv   (exit $ac_status); }; }; then
   3367  1.39    fredb   ac_cv_search_opendir="none required"
   3368   1.6       tv else
   3369   1.6       tv   echo "$as_me: failed program was:" >&5
   3370  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3371  1.39    fredb 
   3372   1.6       tv fi
   3373   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   3374  1.39    fredb if test "$ac_cv_search_opendir" = no; then
   3375  1.39    fredb   for ac_lib in dir; do
   3376  1.39    fredb     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3377  1.39    fredb     cat >conftest.$ac_ext <<_ACEOF
   3378  1.39    fredb #line $LINENO "configure"
   3379  1.39    fredb /* confdefs.h.  */
   3380  1.39    fredb _ACEOF
   3381  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3382  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3383  1.39    fredb /* end confdefs.h.  */
   3384  1.39    fredb 
   3385  1.39    fredb /* Override any gcc2 internal prototype to avoid an error.  */
   3386  1.39    fredb #ifdef __cplusplus
   3387  1.39    fredb extern "C"
   3388  1.39    fredb #endif
   3389  1.39    fredb /* We use char because int might match the return type of a gcc2
   3390  1.39    fredb    builtin and then its argument prototype would still apply.  */
   3391  1.39    fredb char opendir ();
   3392  1.39    fredb int
   3393  1.39    fredb main ()
   3394  1.39    fredb {
   3395  1.39    fredb opendir ();
   3396  1.39    fredb   ;
   3397  1.39    fredb   return 0;
   3398  1.39    fredb }
   3399  1.39    fredb _ACEOF
   3400  1.39    fredb rm -f conftest.$ac_objext conftest$ac_exeext
   3401  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3402  1.39    fredb   (eval $ac_link) 2>&5
   3403  1.39    fredb   ac_status=$?
   3404  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3405  1.39    fredb   (exit $ac_status); } &&
   3406  1.39    fredb          { ac_try='test -s conftest$ac_exeext'
   3407  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3408  1.39    fredb   (eval $ac_try) 2>&5
   3409  1.39    fredb   ac_status=$?
   3410  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3411  1.39    fredb   (exit $ac_status); }; }; then
   3412  1.39    fredb   ac_cv_search_opendir="-l$ac_lib"
   3413  1.39    fredb break
   3414  1.39    fredb else
   3415  1.39    fredb   echo "$as_me: failed program was:" >&5
   3416  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3417  1.39    fredb 
   3418  1.39    fredb fi
   3419  1.39    fredb rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   3420  1.39    fredb   done
   3421  1.39    fredb fi
   3422  1.39    fredb LIBS=$ac_func_search_save_LIBS
   3423   1.6       tv fi
   3424  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   3425  1.39    fredb echo "${ECHO_T}$ac_cv_search_opendir" >&6
   3426  1.39    fredb if test "$ac_cv_search_opendir" != no; then
   3427  1.39    fredb   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   3428  1.39    fredb 
   3429   1.6       tv fi
   3430   1.6       tv 
   3431   1.6       tv else
   3432  1.39    fredb   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   3433  1.39    fredb echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   3434  1.39    fredb if test "${ac_cv_search_opendir+set}" = set; then
   3435   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3436   1.6       tv else
   3437  1.39    fredb   ac_func_search_save_LIBS=$LIBS
   3438  1.39    fredb ac_cv_search_opendir=no
   3439   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   3440  1.39    fredb #line $LINENO "configure"
   3441  1.39    fredb /* confdefs.h.  */
   3442  1.39    fredb _ACEOF
   3443  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3444  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3445  1.39    fredb /* end confdefs.h.  */
   3446   1.6       tv 
   3447   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   3448   1.6       tv #ifdef __cplusplus
   3449   1.6       tv extern "C"
   3450   1.6       tv #endif
   3451   1.6       tv /* We use char because int might match the return type of a gcc2
   3452   1.6       tv    builtin and then its argument prototype would still apply.  */
   3453   1.6       tv char opendir ();
   3454   1.6       tv int
   3455   1.6       tv main ()
   3456   1.6       tv {
   3457   1.6       tv opendir ();
   3458   1.6       tv   ;
   3459   1.6       tv   return 0;
   3460   1.6       tv }
   3461   1.6       tv _ACEOF
   3462   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   3463  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3464   1.6       tv   (eval $ac_link) 2>&5
   3465   1.6       tv   ac_status=$?
   3466  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3467   1.6       tv   (exit $ac_status); } &&
   3468   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   3469  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3470   1.6       tv   (eval $ac_try) 2>&5
   3471   1.6       tv   ac_status=$?
   3472  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3473   1.6       tv   (exit $ac_status); }; }; then
   3474  1.39    fredb   ac_cv_search_opendir="none required"
   3475   1.6       tv else
   3476   1.6       tv   echo "$as_me: failed program was:" >&5
   3477  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3478  1.39    fredb 
   3479  1.39    fredb fi
   3480  1.39    fredb rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   3481  1.39    fredb if test "$ac_cv_search_opendir" = no; then
   3482  1.39    fredb   for ac_lib in x; do
   3483  1.39    fredb     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3484  1.39    fredb     cat >conftest.$ac_ext <<_ACEOF
   3485  1.39    fredb #line $LINENO "configure"
   3486  1.39    fredb /* confdefs.h.  */
   3487  1.39    fredb _ACEOF
   3488  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3489  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3490  1.39    fredb /* end confdefs.h.  */
   3491  1.39    fredb 
   3492  1.39    fredb /* Override any gcc2 internal prototype to avoid an error.  */
   3493  1.39    fredb #ifdef __cplusplus
   3494  1.39    fredb extern "C"
   3495  1.39    fredb #endif
   3496  1.39    fredb /* We use char because int might match the return type of a gcc2
   3497  1.39    fredb    builtin and then its argument prototype would still apply.  */
   3498  1.39    fredb char opendir ();
   3499  1.39    fredb int
   3500  1.39    fredb main ()
   3501  1.39    fredb {
   3502  1.39    fredb opendir ();
   3503  1.39    fredb   ;
   3504  1.39    fredb   return 0;
   3505  1.39    fredb }
   3506  1.39    fredb _ACEOF
   3507  1.39    fredb rm -f conftest.$ac_objext conftest$ac_exeext
   3508  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3509  1.39    fredb   (eval $ac_link) 2>&5
   3510  1.39    fredb   ac_status=$?
   3511  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3512  1.39    fredb   (exit $ac_status); } &&
   3513  1.39    fredb          { ac_try='test -s conftest$ac_exeext'
   3514  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3515  1.39    fredb   (eval $ac_try) 2>&5
   3516  1.39    fredb   ac_status=$?
   3517  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3518  1.39    fredb   (exit $ac_status); }; }; then
   3519  1.39    fredb   ac_cv_search_opendir="-l$ac_lib"
   3520  1.39    fredb break
   3521  1.39    fredb else
   3522  1.39    fredb   echo "$as_me: failed program was:" >&5
   3523  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3524  1.39    fredb 
   3525   1.6       tv fi
   3526   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   3527  1.39    fredb   done
   3528  1.39    fredb fi
   3529  1.39    fredb LIBS=$ac_func_search_save_LIBS
   3530   1.6       tv fi
   3531  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   3532  1.39    fredb echo "${ECHO_T}$ac_cv_search_opendir" >&6
   3533  1.39    fredb if test "$ac_cv_search_opendir" != no; then
   3534  1.39    fredb   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   3535  1.39    fredb 
   3536   1.6       tv fi
   3537   1.6       tv 
   3538   1.6       tv fi
   3539   1.6       tv 
   3540  1.39    fredb 
   3541  1.39    fredb 
   3542  1.39    fredb 
   3543  1.39    fredb 
   3544  1.39    fredb 
   3545  1.39    fredb 
   3546  1.18    bjh21 for ac_header in sys/sysmacros.h sys/syslimits.h \
   3547  1.28   briggs 	features.h malloc.h poll.h stddef.h
   3548   1.6       tv do
   3549   1.6       tv as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3550  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3551  1.39    fredb   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3552   1.6       tv echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3553   1.6       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3554   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3555  1.39    fredb fi
   3556  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3557  1.39    fredb echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3558  1.39    fredb else
   3559  1.39    fredb   # Is the header compilable?
   3560  1.39    fredb echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3561  1.39    fredb echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3562  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3563  1.39    fredb #line $LINENO "configure"
   3564  1.39    fredb /* confdefs.h.  */
   3565  1.39    fredb _ACEOF
   3566  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3567  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3568  1.39    fredb /* end confdefs.h.  */
   3569  1.39    fredb $ac_includes_default
   3570  1.39    fredb #include <$ac_header>
   3571  1.39    fredb _ACEOF
   3572  1.39    fredb rm -f conftest.$ac_objext
   3573  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3574  1.39    fredb   (eval $ac_compile) 2>&5
   3575  1.39    fredb   ac_status=$?
   3576  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3577  1.39    fredb   (exit $ac_status); } &&
   3578  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   3579  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3580  1.39    fredb   (eval $ac_try) 2>&5
   3581  1.39    fredb   ac_status=$?
   3582  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3583  1.39    fredb   (exit $ac_status); }; }; then
   3584  1.39    fredb   ac_header_compiler=yes
   3585   1.6       tv else
   3586  1.39    fredb   echo "$as_me: failed program was:" >&5
   3587  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3588  1.39    fredb 
   3589  1.39    fredb ac_header_compiler=no
   3590  1.39    fredb fi
   3591  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   3592  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3593  1.39    fredb echo "${ECHO_T}$ac_header_compiler" >&6
   3594  1.39    fredb 
   3595  1.39    fredb # Is the header present?
   3596  1.39    fredb echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3597  1.39    fredb echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3598  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3599  1.39    fredb #line $LINENO "configure"
   3600  1.39    fredb /* confdefs.h.  */
   3601  1.39    fredb _ACEOF
   3602  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3603  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3604  1.39    fredb /* end confdefs.h.  */
   3605   1.6       tv #include <$ac_header>
   3606   1.6       tv _ACEOF
   3607  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3608   1.6       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3609   1.6       tv   ac_status=$?
   3610  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   3611   1.6       tv   rm -f conftest.er1
   3612   1.6       tv   cat conftest.err >&5
   3613  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3614   1.6       tv   (exit $ac_status); } >/dev/null; then
   3615   1.6       tv   if test -s conftest.err; then
   3616   1.6       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   3617   1.6       tv   else
   3618   1.6       tv     ac_cpp_err=
   3619   1.6       tv   fi
   3620   1.6       tv else
   3621   1.6       tv   ac_cpp_err=yes
   3622   1.6       tv fi
   3623   1.6       tv if test -z "$ac_cpp_err"; then
   3624  1.39    fredb   ac_header_preproc=yes
   3625   1.6       tv else
   3626   1.6       tv   echo "$as_me: failed program was:" >&5
   3627  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3628  1.39    fredb 
   3629  1.39    fredb   ac_header_preproc=no
   3630   1.6       tv fi
   3631   1.6       tv rm -f conftest.err conftest.$ac_ext
   3632  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3633  1.39    fredb echo "${ECHO_T}$ac_header_preproc" >&6
   3634  1.39    fredb 
   3635  1.39    fredb # So?  What about this header?
   3636  1.39    fredb case $ac_header_compiler:$ac_header_preproc in
   3637  1.39    fredb   yes:no )
   3638  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3639  1.39    fredb echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3640  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3641  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3642  1.39    fredb     (
   3643  1.39    fredb       cat <<\_ASBOX
   3644  1.39    fredb ## ------------------------------------ ##
   3645  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3646  1.39    fredb ## ------------------------------------ ##
   3647  1.39    fredb _ASBOX
   3648  1.39    fredb     ) |
   3649  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3650  1.39    fredb     ;;
   3651  1.39    fredb   no:yes )
   3652  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3653  1.39    fredb echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3654  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
   3655  1.39    fredb echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
   3656  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3657  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3658  1.39    fredb     (
   3659  1.39    fredb       cat <<\_ASBOX
   3660  1.39    fredb ## ------------------------------------ ##
   3661  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3662  1.39    fredb ## ------------------------------------ ##
   3663  1.39    fredb _ASBOX
   3664  1.39    fredb     ) |
   3665  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3666  1.39    fredb     ;;
   3667  1.39    fredb esac
   3668  1.39    fredb echo "$as_me:$LINENO: checking for $ac_header" >&5
   3669  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3670  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3671  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   3672  1.39    fredb else
   3673  1.39    fredb   eval "$as_ac_Header=$ac_header_preproc"
   3674   1.6       tv fi
   3675  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3676   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3677  1.39    fredb 
   3678  1.39    fredb fi
   3679   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3680  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3681   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3682  1.39    fredb _ACEOF
   3683   1.6       tv 
   3684   1.6       tv fi
   3685  1.39    fredb 
   3686   1.6       tv done
   3687   1.6       tv 
   3688  1.39    fredb 
   3689  1.39    fredb 
   3690  1.39    fredb 
   3691  1.39    fredb 
   3692  1.39    fredb 
   3693  1.39    fredb 
   3694  1.39    fredb 
   3695  1.39    fredb 
   3696  1.39    fredb 
   3697  1.39    fredb 
   3698  1.39    fredb for ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
   3699  1.39    fredb 	err.h inttypes.h libgen.h paths.h stdint.h util.h
   3700  1.39    fredb do
   3701  1.39    fredb as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3702  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3703  1.39    fredb   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3704  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3705  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3706  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   3707  1.39    fredb fi
   3708  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3709  1.39    fredb echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3710  1.39    fredb else
   3711  1.39    fredb   # Is the header compilable?
   3712  1.39    fredb echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3713  1.39    fredb echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3714  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3715  1.39    fredb #line $LINENO "configure"
   3716  1.39    fredb /* confdefs.h.  */
   3717  1.39    fredb _ACEOF
   3718  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3719  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3720  1.39    fredb /* end confdefs.h.  */
   3721  1.39    fredb $ac_includes_default
   3722  1.39    fredb #include <$ac_header>
   3723  1.39    fredb _ACEOF
   3724  1.39    fredb rm -f conftest.$ac_objext
   3725  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3726  1.39    fredb   (eval $ac_compile) 2>&5
   3727  1.39    fredb   ac_status=$?
   3728  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3729  1.39    fredb   (exit $ac_status); } &&
   3730  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   3731  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3732  1.39    fredb   (eval $ac_try) 2>&5
   3733  1.39    fredb   ac_status=$?
   3734  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3735  1.39    fredb   (exit $ac_status); }; }; then
   3736  1.39    fredb   ac_header_compiler=yes
   3737  1.39    fredb else
   3738  1.39    fredb   echo "$as_me: failed program was:" >&5
   3739  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3740  1.39    fredb 
   3741  1.39    fredb ac_header_compiler=no
   3742  1.39    fredb fi
   3743  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   3744  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3745  1.39    fredb echo "${ECHO_T}$ac_header_compiler" >&6
   3746  1.39    fredb 
   3747  1.39    fredb # Is the header present?
   3748  1.39    fredb echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3749  1.39    fredb echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3750  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3751  1.39    fredb #line $LINENO "configure"
   3752  1.39    fredb /* confdefs.h.  */
   3753  1.39    fredb _ACEOF
   3754  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3755  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3756  1.39    fredb /* end confdefs.h.  */
   3757   1.6       tv #include <$ac_header>
   3758   1.6       tv _ACEOF
   3759  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3760   1.6       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3761   1.6       tv   ac_status=$?
   3762  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   3763   1.6       tv   rm -f conftest.er1
   3764   1.6       tv   cat conftest.err >&5
   3765  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3766   1.6       tv   (exit $ac_status); } >/dev/null; then
   3767   1.6       tv   if test -s conftest.err; then
   3768   1.6       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   3769   1.6       tv   else
   3770   1.6       tv     ac_cpp_err=
   3771   1.6       tv   fi
   3772   1.6       tv else
   3773   1.6       tv   ac_cpp_err=yes
   3774   1.6       tv fi
   3775   1.6       tv if test -z "$ac_cpp_err"; then
   3776  1.39    fredb   ac_header_preproc=yes
   3777   1.6       tv else
   3778   1.6       tv   echo "$as_me: failed program was:" >&5
   3779  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3780  1.39    fredb 
   3781  1.39    fredb   ac_header_preproc=no
   3782   1.6       tv fi
   3783   1.6       tv rm -f conftest.err conftest.$ac_ext
   3784  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3785  1.39    fredb echo "${ECHO_T}$ac_header_preproc" >&6
   3786  1.39    fredb 
   3787  1.39    fredb # So?  What about this header?
   3788  1.39    fredb case $ac_header_compiler:$ac_header_preproc in
   3789  1.39    fredb   yes:no )
   3790  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3791  1.39    fredb echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3792  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3793  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3794  1.39    fredb     (
   3795  1.39    fredb       cat <<\_ASBOX
   3796  1.39    fredb ## ------------------------------------ ##
   3797  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3798  1.39    fredb ## ------------------------------------ ##
   3799  1.39    fredb _ASBOX
   3800  1.39    fredb     ) |
   3801  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3802  1.39    fredb     ;;
   3803  1.39    fredb   no:yes )
   3804  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3805  1.39    fredb echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3806  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
   3807  1.39    fredb echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
   3808  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3809  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3810  1.39    fredb     (
   3811  1.39    fredb       cat <<\_ASBOX
   3812  1.39    fredb ## ------------------------------------ ##
   3813  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3814  1.39    fredb ## ------------------------------------ ##
   3815  1.39    fredb _ASBOX
   3816  1.39    fredb     ) |
   3817  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3818  1.39    fredb     ;;
   3819  1.39    fredb esac
   3820  1.39    fredb echo "$as_me:$LINENO: checking for $ac_header" >&5
   3821  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3822  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3823  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   3824  1.39    fredb else
   3825  1.39    fredb   eval "$as_ac_Header=$ac_header_preproc"
   3826   1.6       tv fi
   3827  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3828   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3829  1.39    fredb 
   3830  1.39    fredb fi
   3831   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3832  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3833   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3834  1.39    fredb _ACEOF
   3835   1.6       tv 
   3836   1.6       tv else
   3837  1.11       tv   test -f include/$ac_header || touch include/$ac_header
   3838   1.6       tv fi
   3839  1.39    fredb 
   3840   1.6       tv done
   3841   1.6       tv 
   3842  1.39    fredb 
   3843  1.39    fredb 
   3844  1.39    fredb 
   3845  1.24   briggs for ac_header in rpc/types.h getopt.h netconfig.h
   3846   1.7       tv do
   3847   1.7       tv as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3848  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3849  1.39    fredb   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3850   1.7       tv echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3851   1.7       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3852   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3853  1.39    fredb fi
   3854  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3855  1.39    fredb echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3856  1.39    fredb else
   3857  1.39    fredb   # Is the header compilable?
   3858  1.39    fredb echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3859  1.39    fredb echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3860  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3861  1.39    fredb #line $LINENO "configure"
   3862  1.39    fredb /* confdefs.h.  */
   3863  1.39    fredb _ACEOF
   3864  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3865  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3866  1.39    fredb /* end confdefs.h.  */
   3867  1.39    fredb $ac_includes_default
   3868  1.39    fredb #include <$ac_header>
   3869  1.39    fredb _ACEOF
   3870  1.39    fredb rm -f conftest.$ac_objext
   3871  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3872  1.39    fredb   (eval $ac_compile) 2>&5
   3873  1.39    fredb   ac_status=$?
   3874  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3875  1.39    fredb   (exit $ac_status); } &&
   3876  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   3877  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3878  1.39    fredb   (eval $ac_try) 2>&5
   3879  1.39    fredb   ac_status=$?
   3880  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3881  1.39    fredb   (exit $ac_status); }; }; then
   3882  1.39    fredb   ac_header_compiler=yes
   3883   1.7       tv else
   3884  1.39    fredb   echo "$as_me: failed program was:" >&5
   3885  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3886  1.39    fredb 
   3887  1.39    fredb ac_header_compiler=no
   3888  1.39    fredb fi
   3889  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   3890  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3891  1.39    fredb echo "${ECHO_T}$ac_header_compiler" >&6
   3892  1.39    fredb 
   3893  1.39    fredb # Is the header present?
   3894  1.39    fredb echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3895  1.39    fredb echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3896  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   3897  1.39    fredb #line $LINENO "configure"
   3898  1.39    fredb /* confdefs.h.  */
   3899  1.39    fredb _ACEOF
   3900  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   3901  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   3902  1.39    fredb /* end confdefs.h.  */
   3903   1.7       tv #include <$ac_header>
   3904   1.7       tv _ACEOF
   3905  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3906   1.7       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3907   1.7       tv   ac_status=$?
   3908  1.39    fredb   grep -v '^ *+' conftest.er1 >conftest.err
   3909   1.7       tv   rm -f conftest.er1
   3910   1.7       tv   cat conftest.err >&5
   3911  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3912   1.7       tv   (exit $ac_status); } >/dev/null; then
   3913   1.7       tv   if test -s conftest.err; then
   3914   1.7       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   3915   1.7       tv   else
   3916   1.7       tv     ac_cpp_err=
   3917   1.7       tv   fi
   3918   1.7       tv else
   3919   1.7       tv   ac_cpp_err=yes
   3920   1.7       tv fi
   3921   1.7       tv if test -z "$ac_cpp_err"; then
   3922  1.39    fredb   ac_header_preproc=yes
   3923   1.7       tv else
   3924   1.7       tv   echo "$as_me: failed program was:" >&5
   3925  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   3926  1.39    fredb 
   3927  1.39    fredb   ac_header_preproc=no
   3928   1.7       tv fi
   3929   1.7       tv rm -f conftest.err conftest.$ac_ext
   3930  1.39    fredb echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3931  1.39    fredb echo "${ECHO_T}$ac_header_preproc" >&6
   3932  1.39    fredb 
   3933  1.39    fredb # So?  What about this header?
   3934  1.39    fredb case $ac_header_compiler:$ac_header_preproc in
   3935  1.39    fredb   yes:no )
   3936  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3937  1.39    fredb echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3938  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3939  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3940  1.39    fredb     (
   3941  1.39    fredb       cat <<\_ASBOX
   3942  1.39    fredb ## ------------------------------------ ##
   3943  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3944  1.39    fredb ## ------------------------------------ ##
   3945  1.39    fredb _ASBOX
   3946  1.39    fredb     ) |
   3947  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3948  1.39    fredb     ;;
   3949  1.39    fredb   no:yes )
   3950  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3951  1.39    fredb echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3952  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
   3953  1.39    fredb echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
   3954  1.39    fredb     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3955  1.39    fredb echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3956  1.39    fredb     (
   3957  1.39    fredb       cat <<\_ASBOX
   3958  1.39    fredb ## ------------------------------------ ##
   3959  1.39    fredb ## Report this to bug-autoconf (at] gnu.org. ##
   3960  1.39    fredb ## ------------------------------------ ##
   3961  1.39    fredb _ASBOX
   3962  1.39    fredb     ) |
   3963  1.39    fredb       sed "s/^/$as_me: WARNING:     /" >&2
   3964  1.39    fredb     ;;
   3965  1.39    fredb esac
   3966  1.39    fredb echo "$as_me:$LINENO: checking for $ac_header" >&5
   3967  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3968  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3969  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   3970  1.39    fredb else
   3971  1.39    fredb   eval "$as_ac_Header=$ac_header_preproc"
   3972   1.7       tv fi
   3973  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3974   1.7       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3975  1.39    fredb 
   3976  1.39    fredb fi
   3977   1.7       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3978  1.39    fredb   cat >>confdefs.h <<_ACEOF
   3979   1.7       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3980  1.39    fredb _ACEOF
   3981   1.7       tv 
   3982   1.7       tv else
   3983  1.42    lukem   echo '#include "nbtool_config.h"' >include/$ac_header.new
   3984  1.11       tv 	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
   3985  1.11       tv 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   3986  1.11       tv 		rm -f include/$ac_header.new
   3987  1.11       tv 	else
   3988  1.11       tv 		mv -f include/$ac_header.new include/$ac_header
   3989  1.11       tv 	fi
   3990   1.7       tv fi
   3991  1.39    fredb 
   3992   1.7       tv done
   3993   1.7       tv 
   3994  1.39    fredb 
   3995   1.6       tv # Typedefs.
   3996  1.39    fredb echo "$as_me:$LINENO: checking for size_t" >&5
   3997   1.6       tv echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   3998   1.6       tv if test "${ac_cv_type_size_t+set}" = set; then
   3999   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4000   1.6       tv else
   4001   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   4002  1.39    fredb #line $LINENO "configure"
   4003  1.39    fredb /* confdefs.h.  */
   4004  1.39    fredb _ACEOF
   4005  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4006  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4007  1.39    fredb /* end confdefs.h.  */
   4008   1.6       tv $ac_includes_default
   4009   1.6       tv int
   4010   1.6       tv main ()
   4011   1.6       tv {
   4012   1.6       tv if ((size_t *) 0)
   4013   1.6       tv   return 0;
   4014   1.6       tv if (sizeof (size_t))
   4015   1.6       tv   return 0;
   4016   1.6       tv   ;
   4017   1.6       tv   return 0;
   4018   1.6       tv }
   4019   1.6       tv _ACEOF
   4020   1.6       tv rm -f conftest.$ac_objext
   4021  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4022   1.6       tv   (eval $ac_compile) 2>&5
   4023   1.6       tv   ac_status=$?
   4024  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4025   1.6       tv   (exit $ac_status); } &&
   4026   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4027  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4028   1.6       tv   (eval $ac_try) 2>&5
   4029   1.6       tv   ac_status=$?
   4030  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4031   1.6       tv   (exit $ac_status); }; }; then
   4032   1.6       tv   ac_cv_type_size_t=yes
   4033   1.6       tv else
   4034   1.6       tv   echo "$as_me: failed program was:" >&5
   4035  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4036  1.39    fredb 
   4037   1.6       tv ac_cv_type_size_t=no
   4038   1.6       tv fi
   4039   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4040   1.6       tv fi
   4041  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   4042   1.6       tv echo "${ECHO_T}$ac_cv_type_size_t" >&6
   4043   1.6       tv if test $ac_cv_type_size_t = yes; then
   4044   1.6       tv   :
   4045   1.6       tv else
   4046   1.6       tv 
   4047  1.39    fredb cat >>confdefs.h <<_ACEOF
   4048   1.6       tv #define size_t unsigned
   4049  1.39    fredb _ACEOF
   4050   1.6       tv 
   4051   1.6       tv fi
   4052   1.6       tv 
   4053  1.39    fredb echo "$as_me:$LINENO: checking for id_t" >&5
   4054   1.6       tv echo $ECHO_N "checking for id_t... $ECHO_C" >&6
   4055   1.6       tv if test "${ac_cv_type_id_t+set}" = set; then
   4056   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4057   1.6       tv else
   4058   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   4059  1.39    fredb #line $LINENO "configure"
   4060  1.39    fredb /* confdefs.h.  */
   4061  1.39    fredb _ACEOF
   4062  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4063  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4064  1.39    fredb /* end confdefs.h.  */
   4065   1.6       tv $ac_includes_default
   4066   1.6       tv int
   4067   1.6       tv main ()
   4068   1.6       tv {
   4069   1.6       tv if ((id_t *) 0)
   4070   1.6       tv   return 0;
   4071   1.6       tv if (sizeof (id_t))
   4072   1.6       tv   return 0;
   4073   1.6       tv   ;
   4074   1.6       tv   return 0;
   4075   1.6       tv }
   4076   1.6       tv _ACEOF
   4077   1.6       tv rm -f conftest.$ac_objext
   4078  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4079   1.6       tv   (eval $ac_compile) 2>&5
   4080   1.6       tv   ac_status=$?
   4081  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4082   1.6       tv   (exit $ac_status); } &&
   4083   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4084  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4085   1.6       tv   (eval $ac_try) 2>&5
   4086   1.6       tv   ac_status=$?
   4087  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4088   1.6       tv   (exit $ac_status); }; }; then
   4089   1.6       tv   ac_cv_type_id_t=yes
   4090   1.6       tv else
   4091   1.6       tv   echo "$as_me: failed program was:" >&5
   4092  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4093  1.39    fredb 
   4094   1.6       tv ac_cv_type_id_t=no
   4095   1.6       tv fi
   4096   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4097   1.6       tv fi
   4098  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
   4099   1.6       tv echo "${ECHO_T}$ac_cv_type_id_t" >&6
   4100   1.6       tv if test $ac_cv_type_id_t = yes; then
   4101   1.6       tv 
   4102  1.39    fredb cat >>confdefs.h <<_ACEOF
   4103   1.6       tv #define HAVE_ID_T 1
   4104  1.39    fredb _ACEOF
   4105  1.39    fredb 
   4106   1.6       tv 
   4107   1.6       tv fi
   4108  1.39    fredb echo "$as_me:$LINENO: checking for long long" >&5
   4109   1.6       tv echo $ECHO_N "checking for long long... $ECHO_C" >&6
   4110   1.6       tv if test "${ac_cv_type_long_long+set}" = set; then
   4111   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4112   1.6       tv else
   4113   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   4114  1.39    fredb #line $LINENO "configure"
   4115  1.39    fredb /* confdefs.h.  */
   4116  1.39    fredb _ACEOF
   4117  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4118  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4119  1.39    fredb /* end confdefs.h.  */
   4120   1.6       tv $ac_includes_default
   4121   1.6       tv int
   4122   1.6       tv main ()
   4123   1.6       tv {
   4124   1.6       tv if ((long long *) 0)
   4125   1.6       tv   return 0;
   4126   1.6       tv if (sizeof (long long))
   4127   1.6       tv   return 0;
   4128   1.6       tv   ;
   4129   1.6       tv   return 0;
   4130   1.6       tv }
   4131   1.6       tv _ACEOF
   4132   1.6       tv rm -f conftest.$ac_objext
   4133  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4134   1.6       tv   (eval $ac_compile) 2>&5
   4135   1.6       tv   ac_status=$?
   4136  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4137   1.6       tv   (exit $ac_status); } &&
   4138   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4139  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4140   1.6       tv   (eval $ac_try) 2>&5
   4141   1.6       tv   ac_status=$?
   4142  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4143   1.6       tv   (exit $ac_status); }; }; then
   4144   1.6       tv   ac_cv_type_long_long=yes
   4145   1.6       tv else
   4146   1.6       tv   echo "$as_me: failed program was:" >&5
   4147  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4148  1.39    fredb 
   4149   1.6       tv ac_cv_type_long_long=no
   4150   1.6       tv fi
   4151   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4152   1.6       tv fi
   4153  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
   4154   1.6       tv echo "${ECHO_T}$ac_cv_type_long_long" >&6
   4155   1.6       tv if test $ac_cv_type_long_long = yes; then
   4156   1.6       tv 
   4157  1.39    fredb cat >>confdefs.h <<_ACEOF
   4158   1.6       tv #define HAVE_LONG_LONG 1
   4159  1.39    fredb _ACEOF
   4160  1.39    fredb 
   4161   1.6       tv 
   4162   1.6       tv fi
   4163  1.39    fredb echo "$as_me:$LINENO: checking for u_long" >&5
   4164  1.38    fredb echo $ECHO_N "checking for u_long... $ECHO_C" >&6
   4165  1.38    fredb if test "${ac_cv_type_u_long+set}" = set; then
   4166  1.38    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   4167  1.38    fredb else
   4168  1.38    fredb   cat >conftest.$ac_ext <<_ACEOF
   4169  1.39    fredb #line $LINENO "configure"
   4170  1.38    fredb /* confdefs.h.  */
   4171  1.38    fredb _ACEOF
   4172  1.38    fredb cat confdefs.h >>conftest.$ac_ext
   4173  1.38    fredb cat >>conftest.$ac_ext <<_ACEOF
   4174  1.38    fredb /* end confdefs.h.  */
   4175  1.38    fredb $ac_includes_default
   4176  1.38    fredb int
   4177  1.38    fredb main ()
   4178  1.38    fredb {
   4179  1.38    fredb if ((u_long *) 0)
   4180  1.38    fredb   return 0;
   4181  1.38    fredb if (sizeof (u_long))
   4182  1.38    fredb   return 0;
   4183  1.38    fredb   ;
   4184  1.38    fredb   return 0;
   4185  1.38    fredb }
   4186  1.38    fredb _ACEOF
   4187  1.38    fredb rm -f conftest.$ac_objext
   4188  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4189  1.38    fredb   (eval $ac_compile) 2>&5
   4190  1.38    fredb   ac_status=$?
   4191  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4192  1.38    fredb   (exit $ac_status); } &&
   4193  1.38    fredb          { ac_try='test -s conftest.$ac_objext'
   4194  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4195  1.38    fredb   (eval $ac_try) 2>&5
   4196  1.38    fredb   ac_status=$?
   4197  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4198  1.38    fredb   (exit $ac_status); }; }; then
   4199  1.38    fredb   ac_cv_type_u_long=yes
   4200  1.38    fredb else
   4201  1.38    fredb   echo "$as_me: failed program was:" >&5
   4202  1.38    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4203  1.38    fredb 
   4204  1.38    fredb ac_cv_type_u_long=no
   4205  1.38    fredb fi
   4206  1.38    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   4207  1.38    fredb fi
   4208  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5
   4209  1.38    fredb echo "${ECHO_T}$ac_cv_type_u_long" >&6
   4210  1.38    fredb if test $ac_cv_type_u_long = yes; then
   4211  1.38    fredb 
   4212  1.38    fredb cat >>confdefs.h <<_ACEOF
   4213  1.38    fredb #define HAVE_U_LONG 1
   4214  1.38    fredb _ACEOF
   4215  1.38    fredb 
   4216  1.39    fredb 
   4217  1.38    fredb fi
   4218  1.39    fredb echo "$as_me:$LINENO: checking for u_quad_t" >&5
   4219   1.7       tv echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
   4220   1.7       tv if test "${ac_cv_type_u_quad_t+set}" = set; then
   4221   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4222   1.7       tv else
   4223   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   4224  1.39    fredb #line $LINENO "configure"
   4225  1.39    fredb /* confdefs.h.  */
   4226  1.39    fredb _ACEOF
   4227  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4228  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4229  1.39    fredb /* end confdefs.h.  */
   4230   1.7       tv $ac_includes_default
   4231   1.7       tv int
   4232   1.7       tv main ()
   4233   1.7       tv {
   4234   1.7       tv if ((u_quad_t *) 0)
   4235   1.7       tv   return 0;
   4236   1.7       tv if (sizeof (u_quad_t))
   4237   1.7       tv   return 0;
   4238   1.7       tv   ;
   4239   1.7       tv   return 0;
   4240   1.7       tv }
   4241   1.7       tv _ACEOF
   4242   1.7       tv rm -f conftest.$ac_objext
   4243  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4244   1.7       tv   (eval $ac_compile) 2>&5
   4245   1.7       tv   ac_status=$?
   4246  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4247   1.7       tv   (exit $ac_status); } &&
   4248   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   4249  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4250   1.7       tv   (eval $ac_try) 2>&5
   4251   1.7       tv   ac_status=$?
   4252  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4253   1.7       tv   (exit $ac_status); }; }; then
   4254   1.7       tv   ac_cv_type_u_quad_t=yes
   4255   1.7       tv else
   4256   1.7       tv   echo "$as_me: failed program was:" >&5
   4257  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4258  1.39    fredb 
   4259   1.7       tv ac_cv_type_u_quad_t=no
   4260   1.7       tv fi
   4261   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4262   1.7       tv fi
   4263  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
   4264   1.7       tv echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
   4265   1.7       tv if test $ac_cv_type_u_quad_t = yes; then
   4266   1.7       tv 
   4267  1.39    fredb cat >>confdefs.h <<_ACEOF
   4268   1.7       tv #define HAVE_U_QUAD_T 1
   4269  1.39    fredb _ACEOF
   4270  1.39    fredb 
   4271   1.7       tv 
   4272   1.7       tv fi
   4273  1.35  thorpej 
   4274  1.39    fredb echo "$as_me:$LINENO: checking for socklen_t" >&5
   4275  1.34  thorpej echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
   4276  1.34  thorpej if test "${ac_cv_type_socklen_t+set}" = set; then
   4277  1.34  thorpej   echo $ECHO_N "(cached) $ECHO_C" >&6
   4278  1.34  thorpej else
   4279  1.34  thorpej   cat >conftest.$ac_ext <<_ACEOF
   4280  1.39    fredb #line $LINENO "configure"
   4281  1.39    fredb /* confdefs.h.  */
   4282  1.39    fredb _ACEOF
   4283  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4284  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4285  1.39    fredb /* end confdefs.h.  */
   4286  1.35  thorpej #include <sys/types.h>
   4287  1.35  thorpej #include <sys/socket.h>
   4288  1.35  thorpej 
   4289  1.34  thorpej int
   4290  1.34  thorpej main ()
   4291  1.34  thorpej {
   4292  1.34  thorpej if ((socklen_t *) 0)
   4293  1.34  thorpej   return 0;
   4294  1.34  thorpej if (sizeof (socklen_t))
   4295  1.34  thorpej   return 0;
   4296  1.34  thorpej   ;
   4297  1.34  thorpej   return 0;
   4298  1.34  thorpej }
   4299  1.34  thorpej _ACEOF
   4300  1.34  thorpej rm -f conftest.$ac_objext
   4301  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4302  1.34  thorpej   (eval $ac_compile) 2>&5
   4303  1.34  thorpej   ac_status=$?
   4304  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4305  1.34  thorpej   (exit $ac_status); } &&
   4306  1.34  thorpej          { ac_try='test -s conftest.$ac_objext'
   4307  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4308  1.34  thorpej   (eval $ac_try) 2>&5
   4309  1.34  thorpej   ac_status=$?
   4310  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4311  1.34  thorpej   (exit $ac_status); }; }; then
   4312  1.34  thorpej   ac_cv_type_socklen_t=yes
   4313  1.34  thorpej else
   4314  1.34  thorpej   echo "$as_me: failed program was:" >&5
   4315  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4316  1.39    fredb 
   4317  1.34  thorpej ac_cv_type_socklen_t=no
   4318  1.34  thorpej fi
   4319  1.34  thorpej rm -f conftest.$ac_objext conftest.$ac_ext
   4320  1.34  thorpej fi
   4321  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   4322  1.34  thorpej echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
   4323  1.34  thorpej if test $ac_cv_type_socklen_t = yes; then
   4324  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4325  1.34  thorpej #define HAVE_SOCKLEN_T 1
   4326  1.39    fredb _ACEOF
   4327  1.34  thorpej 
   4328  1.34  thorpej fi
   4329  1.34  thorpej 
   4330  1.39    fredb 
   4331  1.39    fredb 
   4332  1.39    fredb 
   4333  1.39    fredb 
   4334  1.39    fredb 	echo "$as_me:$LINENO: checking for uint8_t" >&5
   4335   1.9       tv echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   4336   1.9       tv if test "${ac_cv_type_uint8_t+set}" = set; then
   4337   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4338   1.6       tv else
   4339   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   4340  1.39    fredb #line $LINENO "configure"
   4341  1.39    fredb /* confdefs.h.  */
   4342  1.39    fredb _ACEOF
   4343  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4344  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4345  1.39    fredb /* end confdefs.h.  */
   4346   1.6       tv $ac_includes_default
   4347   1.6       tv int
   4348   1.6       tv main ()
   4349   1.6       tv {
   4350   1.9       tv if ((uint8_t *) 0)
   4351   1.6       tv   return 0;
   4352   1.9       tv if (sizeof (uint8_t))
   4353   1.6       tv   return 0;
   4354   1.6       tv   ;
   4355   1.6       tv   return 0;
   4356   1.6       tv }
   4357   1.6       tv _ACEOF
   4358   1.6       tv rm -f conftest.$ac_objext
   4359  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4360   1.6       tv   (eval $ac_compile) 2>&5
   4361   1.6       tv   ac_status=$?
   4362  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4363   1.6       tv   (exit $ac_status); } &&
   4364   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4365  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4366   1.6       tv   (eval $ac_try) 2>&5
   4367   1.6       tv   ac_status=$?
   4368  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4369   1.6       tv   (exit $ac_status); }; }; then
   4370   1.9       tv   ac_cv_type_uint8_t=yes
   4371   1.9       tv else
   4372   1.9       tv   echo "$as_me: failed program was:" >&5
   4373  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4374  1.39    fredb 
   4375   1.9       tv ac_cv_type_uint8_t=no
   4376   1.9       tv fi
   4377   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4378   1.9       tv fi
   4379  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   4380   1.9       tv echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   4381   1.9       tv if test $ac_cv_type_uint8_t = yes; then
   4382   1.9       tv   :
   4383   1.9       tv else
   4384   1.9       tv 
   4385  1.39    fredb 		echo "$as_me:$LINENO: checking for u_int8_t" >&5
   4386   1.9       tv echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   4387   1.9       tv if test "${ac_cv_type_u_int8_t+set}" = set; then
   4388   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4389   1.9       tv else
   4390   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4391  1.39    fredb #line $LINENO "configure"
   4392  1.39    fredb /* confdefs.h.  */
   4393  1.39    fredb _ACEOF
   4394  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4395  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4396  1.39    fredb /* end confdefs.h.  */
   4397   1.9       tv $ac_includes_default
   4398   1.9       tv int
   4399   1.9       tv main ()
   4400   1.9       tv {
   4401   1.9       tv if ((u_int8_t *) 0)
   4402   1.9       tv   return 0;
   4403   1.9       tv if (sizeof (u_int8_t))
   4404   1.9       tv   return 0;
   4405   1.9       tv   ;
   4406   1.9       tv   return 0;
   4407   1.9       tv }
   4408   1.9       tv _ACEOF
   4409   1.9       tv rm -f conftest.$ac_objext
   4410  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4411   1.9       tv   (eval $ac_compile) 2>&5
   4412   1.9       tv   ac_status=$?
   4413  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4414   1.9       tv   (exit $ac_status); } &&
   4415   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4416  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4417   1.9       tv   (eval $ac_try) 2>&5
   4418   1.9       tv   ac_status=$?
   4419  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4420   1.9       tv   (exit $ac_status); }; }; then
   4421   1.6       tv   ac_cv_type_u_int8_t=yes
   4422   1.6       tv else
   4423   1.6       tv   echo "$as_me: failed program was:" >&5
   4424  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4425  1.39    fredb 
   4426   1.6       tv ac_cv_type_u_int8_t=no
   4427   1.6       tv fi
   4428   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4429   1.6       tv fi
   4430  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
   4431   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   4432   1.9       tv if test $ac_cv_type_u_int8_t = yes; then
   4433  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4434   1.9       tv #define uint8_t u_int8_t
   4435  1.39    fredb _ACEOF
   4436   1.9       tv 
   4437   1.9       tv else
   4438  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint8_t" >&5
   4439   1.9       tv echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
   4440   1.9       tv    { (exit 1); exit 1; }; }
   4441   1.9       tv fi
   4442   1.9       tv 
   4443  1.39    fredb 
   4444   1.9       tv fi
   4445   1.9       tv 
   4446  1.39    fredb 	echo "$as_me:$LINENO: checking for u_int8_t" >&5
   4447   1.9       tv echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   4448   1.9       tv if test "${ac_cv_type_u_int8_t+set}" = set; then
   4449   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4450   1.9       tv else
   4451   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4452  1.39    fredb #line $LINENO "configure"
   4453  1.39    fredb /* confdefs.h.  */
   4454  1.39    fredb _ACEOF
   4455  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4456  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4457  1.39    fredb /* end confdefs.h.  */
   4458   1.9       tv $ac_includes_default
   4459   1.9       tv int
   4460   1.9       tv main ()
   4461   1.9       tv {
   4462   1.9       tv if ((u_int8_t *) 0)
   4463   1.9       tv   return 0;
   4464   1.9       tv if (sizeof (u_int8_t))
   4465   1.9       tv   return 0;
   4466   1.9       tv   ;
   4467   1.9       tv   return 0;
   4468   1.9       tv }
   4469   1.9       tv _ACEOF
   4470   1.9       tv rm -f conftest.$ac_objext
   4471  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4472   1.9       tv   (eval $ac_compile) 2>&5
   4473   1.9       tv   ac_status=$?
   4474  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4475   1.9       tv   (exit $ac_status); } &&
   4476   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4477  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4478   1.9       tv   (eval $ac_try) 2>&5
   4479   1.9       tv   ac_status=$?
   4480  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4481   1.9       tv   (exit $ac_status); }; }; then
   4482   1.9       tv   ac_cv_type_u_int8_t=yes
   4483   1.9       tv else
   4484   1.9       tv   echo "$as_me: failed program was:" >&5
   4485  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4486  1.39    fredb 
   4487   1.9       tv ac_cv_type_u_int8_t=no
   4488   1.9       tv fi
   4489   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4490   1.9       tv fi
   4491  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
   4492   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   4493   1.6       tv if test $ac_cv_type_u_int8_t = yes; then
   4494   1.6       tv   :
   4495   1.6       tv else
   4496   1.6       tv 
   4497  1.39    fredb 		echo "$as_me:$LINENO: checking for uint8_t" >&5
   4498   1.6       tv echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   4499   1.6       tv if test "${ac_cv_type_uint8_t+set}" = set; then
   4500   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4501   1.6       tv else
   4502   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   4503  1.39    fredb #line $LINENO "configure"
   4504  1.39    fredb /* confdefs.h.  */
   4505  1.39    fredb _ACEOF
   4506  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4507  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4508  1.39    fredb /* end confdefs.h.  */
   4509   1.6       tv $ac_includes_default
   4510   1.6       tv int
   4511   1.6       tv main ()
   4512   1.6       tv {
   4513   1.6       tv if ((uint8_t *) 0)
   4514   1.6       tv   return 0;
   4515   1.6       tv if (sizeof (uint8_t))
   4516   1.6       tv   return 0;
   4517   1.6       tv   ;
   4518   1.6       tv   return 0;
   4519   1.6       tv }
   4520   1.6       tv _ACEOF
   4521   1.6       tv rm -f conftest.$ac_objext
   4522  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4523   1.6       tv   (eval $ac_compile) 2>&5
   4524   1.6       tv   ac_status=$?
   4525  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4526   1.6       tv   (exit $ac_status); } &&
   4527   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4528  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4529   1.6       tv   (eval $ac_try) 2>&5
   4530   1.6       tv   ac_status=$?
   4531  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4532   1.6       tv   (exit $ac_status); }; }; then
   4533   1.6       tv   ac_cv_type_uint8_t=yes
   4534   1.4       tv else
   4535   1.4       tv   echo "$as_me: failed program was:" >&5
   4536  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4537  1.39    fredb 
   4538   1.6       tv ac_cv_type_uint8_t=no
   4539   1.4       tv fi
   4540   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4541   1.4       tv fi
   4542  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   4543   1.6       tv echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   4544   1.6       tv if test $ac_cv_type_uint8_t = yes; then
   4545  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4546   1.6       tv #define u_int8_t uint8_t
   4547  1.39    fredb _ACEOF
   4548   1.4       tv 
   4549   1.6       tv else
   4550  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int8_t" >&5
   4551   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
   4552   1.6       tv    { (exit 1); exit 1; }; }
   4553   1.6       tv fi
   4554   1.6       tv 
   4555  1.39    fredb 
   4556   1.4       tv fi
   4557   1.4       tv 
   4558  1.39    fredb 
   4559  1.39    fredb 
   4560  1.39    fredb 	echo "$as_me:$LINENO: checking for uint16_t" >&5
   4561   1.9       tv echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   4562   1.9       tv if test "${ac_cv_type_uint16_t+set}" = set; then
   4563   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4564   1.9       tv else
   4565   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4566  1.39    fredb #line $LINENO "configure"
   4567  1.39    fredb /* confdefs.h.  */
   4568  1.39    fredb _ACEOF
   4569  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4570  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4571  1.39    fredb /* end confdefs.h.  */
   4572   1.9       tv $ac_includes_default
   4573   1.9       tv int
   4574   1.9       tv main ()
   4575   1.9       tv {
   4576   1.9       tv if ((uint16_t *) 0)
   4577   1.9       tv   return 0;
   4578   1.9       tv if (sizeof (uint16_t))
   4579   1.9       tv   return 0;
   4580   1.9       tv   ;
   4581   1.9       tv   return 0;
   4582   1.9       tv }
   4583   1.9       tv _ACEOF
   4584   1.9       tv rm -f conftest.$ac_objext
   4585  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4586   1.9       tv   (eval $ac_compile) 2>&5
   4587   1.9       tv   ac_status=$?
   4588  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4589   1.9       tv   (exit $ac_status); } &&
   4590   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4591  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4592   1.9       tv   (eval $ac_try) 2>&5
   4593   1.9       tv   ac_status=$?
   4594  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4595   1.9       tv   (exit $ac_status); }; }; then
   4596   1.9       tv   ac_cv_type_uint16_t=yes
   4597   1.9       tv else
   4598   1.9       tv   echo "$as_me: failed program was:" >&5
   4599  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4600  1.39    fredb 
   4601   1.9       tv ac_cv_type_uint16_t=no
   4602   1.9       tv fi
   4603   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4604   1.9       tv fi
   4605  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   4606   1.9       tv echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   4607   1.9       tv if test $ac_cv_type_uint16_t = yes; then
   4608   1.9       tv   :
   4609   1.9       tv else
   4610   1.9       tv 
   4611  1.39    fredb 		echo "$as_me:$LINENO: checking for u_int16_t" >&5
   4612   1.9       tv echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   4613   1.9       tv if test "${ac_cv_type_u_int16_t+set}" = set; then
   4614   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4615   1.9       tv else
   4616   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4617  1.39    fredb #line $LINENO "configure"
   4618  1.39    fredb /* confdefs.h.  */
   4619  1.39    fredb _ACEOF
   4620  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4621  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4622  1.39    fredb /* end confdefs.h.  */
   4623   1.9       tv $ac_includes_default
   4624   1.9       tv int
   4625   1.9       tv main ()
   4626   1.9       tv {
   4627   1.9       tv if ((u_int16_t *) 0)
   4628   1.9       tv   return 0;
   4629   1.9       tv if (sizeof (u_int16_t))
   4630   1.9       tv   return 0;
   4631   1.9       tv   ;
   4632   1.9       tv   return 0;
   4633   1.9       tv }
   4634   1.9       tv _ACEOF
   4635   1.9       tv rm -f conftest.$ac_objext
   4636  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4637   1.9       tv   (eval $ac_compile) 2>&5
   4638   1.9       tv   ac_status=$?
   4639  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4640   1.9       tv   (exit $ac_status); } &&
   4641   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4642  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4643   1.9       tv   (eval $ac_try) 2>&5
   4644   1.9       tv   ac_status=$?
   4645  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4646   1.9       tv   (exit $ac_status); }; }; then
   4647   1.9       tv   ac_cv_type_u_int16_t=yes
   4648   1.9       tv else
   4649   1.9       tv   echo "$as_me: failed program was:" >&5
   4650  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4651  1.39    fredb 
   4652   1.9       tv ac_cv_type_u_int16_t=no
   4653   1.9       tv fi
   4654   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4655   1.9       tv fi
   4656  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
   4657   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   4658   1.9       tv if test $ac_cv_type_u_int16_t = yes; then
   4659  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4660   1.9       tv #define uint16_t u_int16_t
   4661  1.39    fredb _ACEOF
   4662   1.9       tv 
   4663   1.9       tv else
   4664  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint16_t" >&5
   4665   1.9       tv echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
   4666   1.9       tv    { (exit 1); exit 1; }; }
   4667   1.9       tv fi
   4668   1.9       tv 
   4669  1.39    fredb 
   4670   1.9       tv fi
   4671   1.9       tv 
   4672  1.39    fredb 	echo "$as_me:$LINENO: checking for u_int16_t" >&5
   4673   1.6       tv echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   4674   1.6       tv if test "${ac_cv_type_u_int16_t+set}" = set; then
   4675   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4676   1.1       tv else
   4677   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   4678  1.39    fredb #line $LINENO "configure"
   4679  1.39    fredb /* confdefs.h.  */
   4680  1.39    fredb _ACEOF
   4681  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4682  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4683  1.39    fredb /* end confdefs.h.  */
   4684   1.6       tv $ac_includes_default
   4685   1.6       tv int
   4686   1.6       tv main ()
   4687   1.6       tv {
   4688   1.6       tv if ((u_int16_t *) 0)
   4689   1.6       tv   return 0;
   4690   1.6       tv if (sizeof (u_int16_t))
   4691   1.6       tv   return 0;
   4692   1.6       tv   ;
   4693   1.6       tv   return 0;
   4694   1.6       tv }
   4695   1.1       tv _ACEOF
   4696   1.6       tv rm -f conftest.$ac_objext
   4697  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4698   1.6       tv   (eval $ac_compile) 2>&5
   4699   1.6       tv   ac_status=$?
   4700  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4701   1.6       tv   (exit $ac_status); } &&
   4702   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4703  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4704   1.6       tv   (eval $ac_try) 2>&5
   4705   1.1       tv   ac_status=$?
   4706  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4707   1.6       tv   (exit $ac_status); }; }; then
   4708   1.6       tv   ac_cv_type_u_int16_t=yes
   4709   1.1       tv else
   4710   1.6       tv   echo "$as_me: failed program was:" >&5
   4711  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4712  1.39    fredb 
   4713   1.6       tv ac_cv_type_u_int16_t=no
   4714   1.6       tv fi
   4715   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4716   1.1       tv fi
   4717  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
   4718   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   4719   1.6       tv if test $ac_cv_type_u_int16_t = yes; then
   4720   1.6       tv   :
   4721   1.1       tv else
   4722   1.1       tv 
   4723  1.39    fredb 		echo "$as_me:$LINENO: checking for uint16_t" >&5
   4724   1.6       tv echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   4725   1.6       tv if test "${ac_cv_type_uint16_t+set}" = set; then
   4726   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4727   1.6       tv else
   4728   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   4729  1.39    fredb #line $LINENO "configure"
   4730  1.39    fredb /* confdefs.h.  */
   4731  1.39    fredb _ACEOF
   4732  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4733  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4734  1.39    fredb /* end confdefs.h.  */
   4735   1.6       tv $ac_includes_default
   4736   1.6       tv int
   4737   1.6       tv main ()
   4738   1.6       tv {
   4739   1.6       tv if ((uint16_t *) 0)
   4740   1.6       tv   return 0;
   4741   1.6       tv if (sizeof (uint16_t))
   4742   1.6       tv   return 0;
   4743   1.6       tv   ;
   4744   1.6       tv   return 0;
   4745   1.6       tv }
   4746   1.1       tv _ACEOF
   4747   1.6       tv rm -f conftest.$ac_objext
   4748  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4749   1.6       tv   (eval $ac_compile) 2>&5
   4750   1.6       tv   ac_status=$?
   4751  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4752   1.6       tv   (exit $ac_status); } &&
   4753   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4754  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4755   1.6       tv   (eval $ac_try) 2>&5
   4756   1.6       tv   ac_status=$?
   4757  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4758   1.6       tv   (exit $ac_status); }; }; then
   4759   1.6       tv   ac_cv_type_uint16_t=yes
   4760   1.1       tv else
   4761   1.6       tv   echo "$as_me: failed program was:" >&5
   4762  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4763  1.39    fredb 
   4764   1.6       tv ac_cv_type_uint16_t=no
   4765   1.1       tv fi
   4766   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4767   1.1       tv fi
   4768  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   4769   1.6       tv echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   4770   1.6       tv if test $ac_cv_type_uint16_t = yes; then
   4771  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4772   1.6       tv #define u_int16_t uint16_t
   4773  1.39    fredb _ACEOF
   4774   1.1       tv 
   4775   1.1       tv else
   4776  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int16_t" >&5
   4777   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
   4778   1.6       tv    { (exit 1); exit 1; }; }
   4779   1.1       tv fi
   4780   1.1       tv 
   4781  1.39    fredb 
   4782   1.1       tv fi
   4783   1.1       tv 
   4784  1.39    fredb 
   4785  1.39    fredb 
   4786  1.39    fredb 	echo "$as_me:$LINENO: checking for uint32_t" >&5
   4787   1.9       tv echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   4788   1.9       tv if test "${ac_cv_type_uint32_t+set}" = set; then
   4789   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4790   1.9       tv else
   4791   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4792  1.39    fredb #line $LINENO "configure"
   4793  1.39    fredb /* confdefs.h.  */
   4794  1.39    fredb _ACEOF
   4795  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4796  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4797  1.39    fredb /* end confdefs.h.  */
   4798   1.9       tv $ac_includes_default
   4799   1.9       tv int
   4800   1.9       tv main ()
   4801   1.9       tv {
   4802   1.9       tv if ((uint32_t *) 0)
   4803   1.9       tv   return 0;
   4804   1.9       tv if (sizeof (uint32_t))
   4805   1.9       tv   return 0;
   4806   1.9       tv   ;
   4807   1.9       tv   return 0;
   4808   1.9       tv }
   4809   1.9       tv _ACEOF
   4810   1.9       tv rm -f conftest.$ac_objext
   4811  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4812   1.9       tv   (eval $ac_compile) 2>&5
   4813   1.9       tv   ac_status=$?
   4814  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4815   1.9       tv   (exit $ac_status); } &&
   4816   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4817  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4818   1.9       tv   (eval $ac_try) 2>&5
   4819   1.9       tv   ac_status=$?
   4820  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4821   1.9       tv   (exit $ac_status); }; }; then
   4822   1.9       tv   ac_cv_type_uint32_t=yes
   4823   1.9       tv else
   4824   1.9       tv   echo "$as_me: failed program was:" >&5
   4825  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4826  1.39    fredb 
   4827   1.9       tv ac_cv_type_uint32_t=no
   4828   1.9       tv fi
   4829   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4830   1.9       tv fi
   4831  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   4832   1.9       tv echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   4833   1.9       tv if test $ac_cv_type_uint32_t = yes; then
   4834   1.9       tv   :
   4835   1.9       tv else
   4836   1.9       tv 
   4837  1.39    fredb 		echo "$as_me:$LINENO: checking for u_int32_t" >&5
   4838   1.6       tv echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   4839   1.6       tv if test "${ac_cv_type_u_int32_t+set}" = set; then
   4840   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4841   1.1       tv else
   4842   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   4843  1.39    fredb #line $LINENO "configure"
   4844  1.39    fredb /* confdefs.h.  */
   4845  1.39    fredb _ACEOF
   4846  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4847  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4848  1.39    fredb /* end confdefs.h.  */
   4849   1.9       tv $ac_includes_default
   4850   1.9       tv int
   4851   1.9       tv main ()
   4852   1.9       tv {
   4853   1.9       tv if ((u_int32_t *) 0)
   4854   1.9       tv   return 0;
   4855   1.9       tv if (sizeof (u_int32_t))
   4856   1.9       tv   return 0;
   4857   1.9       tv   ;
   4858   1.9       tv   return 0;
   4859   1.9       tv }
   4860   1.9       tv _ACEOF
   4861   1.9       tv rm -f conftest.$ac_objext
   4862  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4863   1.9       tv   (eval $ac_compile) 2>&5
   4864   1.9       tv   ac_status=$?
   4865  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4866   1.9       tv   (exit $ac_status); } &&
   4867   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   4868  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4869   1.9       tv   (eval $ac_try) 2>&5
   4870   1.9       tv   ac_status=$?
   4871  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4872   1.9       tv   (exit $ac_status); }; }; then
   4873   1.9       tv   ac_cv_type_u_int32_t=yes
   4874   1.9       tv else
   4875   1.9       tv   echo "$as_me: failed program was:" >&5
   4876  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4877  1.39    fredb 
   4878   1.9       tv ac_cv_type_u_int32_t=no
   4879   1.9       tv fi
   4880   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4881   1.9       tv fi
   4882  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
   4883   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   4884   1.9       tv if test $ac_cv_type_u_int32_t = yes; then
   4885  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4886   1.9       tv #define uint32_t u_int32_t
   4887  1.39    fredb _ACEOF
   4888   1.9       tv 
   4889   1.9       tv else
   4890  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint32_t" >&5
   4891   1.9       tv echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
   4892   1.9       tv    { (exit 1); exit 1; }; }
   4893   1.9       tv fi
   4894   1.9       tv 
   4895  1.39    fredb 
   4896   1.9       tv fi
   4897   1.9       tv 
   4898  1.39    fredb 	echo "$as_me:$LINENO: checking for u_int32_t" >&5
   4899   1.9       tv echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   4900   1.9       tv if test "${ac_cv_type_u_int32_t+set}" = set; then
   4901   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4902   1.9       tv else
   4903   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   4904  1.39    fredb #line $LINENO "configure"
   4905  1.39    fredb /* confdefs.h.  */
   4906  1.39    fredb _ACEOF
   4907  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4908  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4909  1.39    fredb /* end confdefs.h.  */
   4910   1.6       tv $ac_includes_default
   4911   1.1       tv int
   4912   1.1       tv main ()
   4913   1.1       tv {
   4914   1.6       tv if ((u_int32_t *) 0)
   4915   1.6       tv   return 0;
   4916   1.6       tv if (sizeof (u_int32_t))
   4917   1.6       tv   return 0;
   4918   1.6       tv   ;
   4919   1.6       tv   return 0;
   4920   1.1       tv }
   4921   1.1       tv _ACEOF
   4922   1.6       tv rm -f conftest.$ac_objext
   4923  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4924   1.6       tv   (eval $ac_compile) 2>&5
   4925   1.1       tv   ac_status=$?
   4926  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4927   1.6       tv   (exit $ac_status); } &&
   4928   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   4929  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4930   1.1       tv   (eval $ac_try) 2>&5
   4931   1.1       tv   ac_status=$?
   4932  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4933   1.1       tv   (exit $ac_status); }; }; then
   4934   1.6       tv   ac_cv_type_u_int32_t=yes
   4935   1.1       tv else
   4936   1.6       tv   echo "$as_me: failed program was:" >&5
   4937  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4938  1.39    fredb 
   4939   1.6       tv ac_cv_type_u_int32_t=no
   4940   1.1       tv fi
   4941   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4942   1.1       tv fi
   4943  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
   4944   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   4945   1.6       tv if test $ac_cv_type_u_int32_t = yes; then
   4946   1.6       tv   :
   4947   1.6       tv else
   4948   1.1       tv 
   4949  1.39    fredb 		echo "$as_me:$LINENO: checking for uint32_t" >&5
   4950   1.6       tv echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   4951   1.6       tv if test "${ac_cv_type_uint32_t+set}" = set; then
   4952   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4953   1.1       tv else
   4954   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   4955  1.39    fredb #line $LINENO "configure"
   4956  1.39    fredb /* confdefs.h.  */
   4957  1.39    fredb _ACEOF
   4958  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   4959  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   4960  1.39    fredb /* end confdefs.h.  */
   4961   1.1       tv $ac_includes_default
   4962   1.6       tv int
   4963   1.6       tv main ()
   4964   1.6       tv {
   4965   1.6       tv if ((uint32_t *) 0)
   4966   1.6       tv   return 0;
   4967   1.6       tv if (sizeof (uint32_t))
   4968   1.6       tv   return 0;
   4969   1.6       tv   ;
   4970   1.6       tv   return 0;
   4971   1.6       tv }
   4972   1.1       tv _ACEOF
   4973   1.1       tv rm -f conftest.$ac_objext
   4974  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4975   1.1       tv   (eval $ac_compile) 2>&5
   4976   1.1       tv   ac_status=$?
   4977  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4978   1.1       tv   (exit $ac_status); } &&
   4979   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   4980  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4981   1.1       tv   (eval $ac_try) 2>&5
   4982   1.1       tv   ac_status=$?
   4983  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4984   1.1       tv   (exit $ac_status); }; }; then
   4985   1.6       tv   ac_cv_type_uint32_t=yes
   4986   1.1       tv else
   4987   1.1       tv   echo "$as_me: failed program was:" >&5
   4988  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   4989  1.39    fredb 
   4990   1.6       tv ac_cv_type_uint32_t=no
   4991   1.1       tv fi
   4992   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4993   1.1       tv fi
   4994  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   4995   1.6       tv echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   4996   1.6       tv if test $ac_cv_type_uint32_t = yes; then
   4997  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   4998   1.6       tv #define u_int32_t uint32_t
   4999  1.39    fredb _ACEOF
   5000   1.1       tv 
   5001   1.6       tv else
   5002  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int32_t" >&5
   5003   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
   5004   1.6       tv    { (exit 1); exit 1; }; }
   5005   1.6       tv fi
   5006   1.6       tv 
   5007  1.39    fredb 
   5008   1.1       tv fi
   5009   1.1       tv 
   5010  1.39    fredb 
   5011  1.39    fredb 
   5012  1.39    fredb 	echo "$as_me:$LINENO: checking for uint64_t" >&5
   5013   1.9       tv echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   5014   1.9       tv if test "${ac_cv_type_uint64_t+set}" = set; then
   5015   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5016   1.9       tv else
   5017   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   5018  1.39    fredb #line $LINENO "configure"
   5019  1.39    fredb /* confdefs.h.  */
   5020  1.39    fredb _ACEOF
   5021  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5022  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5023  1.39    fredb /* end confdefs.h.  */
   5024   1.9       tv $ac_includes_default
   5025   1.9       tv int
   5026   1.9       tv main ()
   5027   1.9       tv {
   5028   1.9       tv if ((uint64_t *) 0)
   5029   1.9       tv   return 0;
   5030   1.9       tv if (sizeof (uint64_t))
   5031   1.9       tv   return 0;
   5032   1.9       tv   ;
   5033   1.9       tv   return 0;
   5034   1.9       tv }
   5035   1.9       tv _ACEOF
   5036   1.9       tv rm -f conftest.$ac_objext
   5037  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5038   1.9       tv   (eval $ac_compile) 2>&5
   5039   1.9       tv   ac_status=$?
   5040  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5041   1.9       tv   (exit $ac_status); } &&
   5042   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   5043  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5044   1.9       tv   (eval $ac_try) 2>&5
   5045   1.9       tv   ac_status=$?
   5046  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5047   1.9       tv   (exit $ac_status); }; }; then
   5048   1.9       tv   ac_cv_type_uint64_t=yes
   5049   1.9       tv else
   5050   1.9       tv   echo "$as_me: failed program was:" >&5
   5051  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5052  1.39    fredb 
   5053   1.9       tv ac_cv_type_uint64_t=no
   5054   1.9       tv fi
   5055   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5056   1.9       tv fi
   5057  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   5058   1.9       tv echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   5059   1.9       tv if test $ac_cv_type_uint64_t = yes; then
   5060   1.9       tv   :
   5061   1.9       tv else
   5062   1.9       tv 
   5063  1.39    fredb 		echo "$as_me:$LINENO: checking for u_int64_t" >&5
   5064   1.9       tv echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   5065   1.9       tv if test "${ac_cv_type_u_int64_t+set}" = set; then
   5066   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5067   1.9       tv else
   5068   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   5069  1.39    fredb #line $LINENO "configure"
   5070  1.39    fredb /* confdefs.h.  */
   5071  1.39    fredb _ACEOF
   5072  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5073  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5074  1.39    fredb /* end confdefs.h.  */
   5075   1.9       tv $ac_includes_default
   5076   1.9       tv int
   5077   1.9       tv main ()
   5078   1.9       tv {
   5079   1.9       tv if ((u_int64_t *) 0)
   5080   1.9       tv   return 0;
   5081   1.9       tv if (sizeof (u_int64_t))
   5082   1.9       tv   return 0;
   5083   1.9       tv   ;
   5084   1.9       tv   return 0;
   5085   1.9       tv }
   5086   1.9       tv _ACEOF
   5087   1.9       tv rm -f conftest.$ac_objext
   5088  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5089   1.9       tv   (eval $ac_compile) 2>&5
   5090   1.9       tv   ac_status=$?
   5091  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5092   1.9       tv   (exit $ac_status); } &&
   5093   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   5094  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5095   1.9       tv   (eval $ac_try) 2>&5
   5096   1.9       tv   ac_status=$?
   5097  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5098   1.9       tv   (exit $ac_status); }; }; then
   5099   1.9       tv   ac_cv_type_u_int64_t=yes
   5100   1.9       tv else
   5101   1.9       tv   echo "$as_me: failed program was:" >&5
   5102  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5103  1.39    fredb 
   5104   1.9       tv ac_cv_type_u_int64_t=no
   5105   1.9       tv fi
   5106   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5107   1.9       tv fi
   5108  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
   5109   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   5110   1.9       tv if test $ac_cv_type_u_int64_t = yes; then
   5111  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   5112   1.9       tv #define uint64_t u_int64_t
   5113  1.39    fredb _ACEOF
   5114   1.9       tv 
   5115   1.9       tv else
   5116  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint64_t" >&5
   5117   1.9       tv echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
   5118   1.9       tv    { (exit 1); exit 1; }; }
   5119   1.9       tv fi
   5120   1.9       tv 
   5121  1.39    fredb 
   5122   1.9       tv fi
   5123   1.9       tv 
   5124  1.39    fredb 	echo "$as_me:$LINENO: checking for u_int64_t" >&5
   5125   1.6       tv echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   5126   1.6       tv if test "${ac_cv_type_u_int64_t+set}" = set; then
   5127   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5128   1.1       tv else
   5129   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   5130  1.39    fredb #line $LINENO "configure"
   5131  1.39    fredb /* confdefs.h.  */
   5132  1.39    fredb _ACEOF
   5133  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5134  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5135  1.39    fredb /* end confdefs.h.  */
   5136   1.1       tv $ac_includes_default
   5137   1.1       tv int
   5138   1.1       tv main ()
   5139   1.1       tv {
   5140   1.6       tv if ((u_int64_t *) 0)
   5141   1.1       tv   return 0;
   5142   1.6       tv if (sizeof (u_int64_t))
   5143   1.1       tv   return 0;
   5144   1.1       tv   ;
   5145   1.1       tv   return 0;
   5146   1.1       tv }
   5147   1.1       tv _ACEOF
   5148   1.1       tv rm -f conftest.$ac_objext
   5149  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5150   1.1       tv   (eval $ac_compile) 2>&5
   5151   1.1       tv   ac_status=$?
   5152  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5153   1.1       tv   (exit $ac_status); } &&
   5154   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   5155  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5156   1.1       tv   (eval $ac_try) 2>&5
   5157   1.1       tv   ac_status=$?
   5158  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5159   1.1       tv   (exit $ac_status); }; }; then
   5160   1.6       tv   ac_cv_type_u_int64_t=yes
   5161   1.1       tv else
   5162   1.1       tv   echo "$as_me: failed program was:" >&5
   5163  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5164  1.39    fredb 
   5165   1.6       tv ac_cv_type_u_int64_t=no
   5166   1.1       tv fi
   5167   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5168   1.1       tv fi
   5169  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
   5170   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   5171   1.6       tv if test $ac_cv_type_u_int64_t = yes; then
   5172   1.1       tv   :
   5173   1.1       tv else
   5174   1.1       tv 
   5175  1.39    fredb 		echo "$as_me:$LINENO: checking for uint64_t" >&5
   5176   1.6       tv echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   5177   1.6       tv if test "${ac_cv_type_uint64_t+set}" = set; then
   5178   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5179   1.1       tv else
   5180   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   5181  1.39    fredb #line $LINENO "configure"
   5182  1.39    fredb /* confdefs.h.  */
   5183  1.39    fredb _ACEOF
   5184  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5185  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5186  1.39    fredb /* end confdefs.h.  */
   5187   1.4       tv $ac_includes_default
   5188   1.4       tv int
   5189   1.4       tv main ()
   5190   1.4       tv {
   5191   1.6       tv if ((uint64_t *) 0)
   5192   1.4       tv   return 0;
   5193   1.6       tv if (sizeof (uint64_t))
   5194   1.4       tv   return 0;
   5195   1.4       tv   ;
   5196   1.4       tv   return 0;
   5197   1.4       tv }
   5198   1.1       tv _ACEOF
   5199   1.4       tv rm -f conftest.$ac_objext
   5200  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5201   1.4       tv   (eval $ac_compile) 2>&5
   5202   1.4       tv   ac_status=$?
   5203  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5204   1.4       tv   (exit $ac_status); } &&
   5205   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   5206  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5207   1.4       tv   (eval $ac_try) 2>&5
   5208   1.4       tv   ac_status=$?
   5209  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5210   1.4       tv   (exit $ac_status); }; }; then
   5211   1.6       tv   ac_cv_type_uint64_t=yes
   5212   1.4       tv else
   5213   1.4       tv   echo "$as_me: failed program was:" >&5
   5214  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5215  1.39    fredb 
   5216   1.6       tv ac_cv_type_uint64_t=no
   5217   1.4       tv fi
   5218   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5219   1.4       tv fi
   5220  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   5221   1.6       tv echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   5222   1.6       tv if test $ac_cv_type_uint64_t = yes; then
   5223  1.39    fredb   cat >>confdefs.h <<\_ACEOF
   5224   1.6       tv #define u_int64_t uint64_t
   5225  1.39    fredb _ACEOF
   5226   1.4       tv 
   5227   1.6       tv else
   5228  1.39    fredb   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int64_t" >&5
   5229   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
   5230   1.6       tv    { (exit 1); exit 1; }; }
   5231   1.6       tv fi
   5232   1.4       tv 
   5233  1.39    fredb 
   5234   1.4       tv fi
   5235   1.4       tv 
   5236  1.39    fredb 
   5237  1.39    fredb 
   5238   1.4       tv # Struct members.
   5239  1.39    fredb echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5
   5240   1.7       tv echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
   5241   1.7       tv if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
   5242   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5243   1.7       tv else
   5244   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   5245  1.39    fredb #line $LINENO "configure"
   5246  1.39    fredb /* confdefs.h.  */
   5247  1.39    fredb _ACEOF
   5248  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5249  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5250  1.39    fredb /* end confdefs.h.  */
   5251  1.32  thorpej #include <sys/types.h>
   5252   1.7       tv #include <dirent.h>
   5253   1.7       tv 
   5254   1.7       tv int
   5255   1.7       tv main ()
   5256   1.7       tv {
   5257   1.7       tv static DIR ac_aggr;
   5258   1.7       tv if (ac_aggr.dd_fd)
   5259   1.7       tv return 0;
   5260   1.7       tv   ;
   5261   1.7       tv   return 0;
   5262   1.7       tv }
   5263   1.7       tv _ACEOF
   5264   1.7       tv rm -f conftest.$ac_objext
   5265  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5266  1.39    fredb   (eval $ac_compile) 2>&5
   5267  1.39    fredb   ac_status=$?
   5268  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5269  1.39    fredb   (exit $ac_status); } &&
   5270  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5271  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5272  1.39    fredb   (eval $ac_try) 2>&5
   5273  1.39    fredb   ac_status=$?
   5274  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5275  1.39    fredb   (exit $ac_status); }; }; then
   5276  1.39    fredb   ac_cv_member_DIR_dd_fd=yes
   5277  1.39    fredb else
   5278  1.39    fredb   echo "$as_me: failed program was:" >&5
   5279  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5280  1.39    fredb 
   5281  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5282  1.39    fredb #line $LINENO "configure"
   5283  1.39    fredb /* confdefs.h.  */
   5284  1.39    fredb _ACEOF
   5285  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5286  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5287  1.39    fredb /* end confdefs.h.  */
   5288  1.39    fredb #include <sys/types.h>
   5289  1.39    fredb #include <dirent.h>
   5290  1.39    fredb 
   5291  1.39    fredb int
   5292  1.39    fredb main ()
   5293  1.39    fredb {
   5294  1.39    fredb static DIR ac_aggr;
   5295  1.39    fredb if (sizeof ac_aggr.dd_fd)
   5296  1.39    fredb return 0;
   5297  1.39    fredb   ;
   5298  1.39    fredb   return 0;
   5299  1.39    fredb }
   5300  1.39    fredb _ACEOF
   5301  1.39    fredb rm -f conftest.$ac_objext
   5302  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5303   1.7       tv   (eval $ac_compile) 2>&5
   5304   1.7       tv   ac_status=$?
   5305  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5306   1.7       tv   (exit $ac_status); } &&
   5307   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   5308  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5309   1.7       tv   (eval $ac_try) 2>&5
   5310   1.7       tv   ac_status=$?
   5311  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5312   1.7       tv   (exit $ac_status); }; }; then
   5313   1.7       tv   ac_cv_member_DIR_dd_fd=yes
   5314   1.7       tv else
   5315   1.7       tv   echo "$as_me: failed program was:" >&5
   5316  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5317  1.39    fredb 
   5318   1.7       tv ac_cv_member_DIR_dd_fd=no
   5319   1.7       tv fi
   5320   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5321   1.7       tv fi
   5322  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5323  1.39    fredb fi
   5324  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
   5325   1.7       tv echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
   5326   1.7       tv if test $ac_cv_member_DIR_dd_fd = yes; then
   5327   1.7       tv 
   5328  1.39    fredb cat >>confdefs.h <<_ACEOF
   5329   1.7       tv #define HAVE_DIR_DD_FD 1
   5330  1.39    fredb _ACEOF
   5331  1.39    fredb 
   5332   1.7       tv 
   5333   1.7       tv fi
   5334  1.39    fredb echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5
   5335   1.8       tv echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
   5336   1.8       tv if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
   5337   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5338   1.8       tv else
   5339   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   5340  1.39    fredb #line $LINENO "configure"
   5341  1.39    fredb /* confdefs.h.  */
   5342  1.39    fredb _ACEOF
   5343  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5344  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5345  1.39    fredb /* end confdefs.h.  */
   5346  1.32  thorpej #include <sys/types.h>
   5347   1.8       tv #include <dirent.h>
   5348   1.8       tv 
   5349   1.8       tv int
   5350   1.8       tv main ()
   5351   1.8       tv {
   5352   1.8       tv static struct dirent ac_aggr;
   5353   1.8       tv if (ac_aggr.d_namlen)
   5354   1.8       tv return 0;
   5355   1.8       tv   ;
   5356   1.8       tv   return 0;
   5357   1.8       tv }
   5358   1.8       tv _ACEOF
   5359   1.8       tv rm -f conftest.$ac_objext
   5360  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5361  1.39    fredb   (eval $ac_compile) 2>&5
   5362  1.39    fredb   ac_status=$?
   5363  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5364  1.39    fredb   (exit $ac_status); } &&
   5365  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5366  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5367  1.39    fredb   (eval $ac_try) 2>&5
   5368  1.39    fredb   ac_status=$?
   5369  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5370  1.39    fredb   (exit $ac_status); }; }; then
   5371  1.39    fredb   ac_cv_member_struct_dirent_d_namlen=yes
   5372  1.39    fredb else
   5373  1.39    fredb   echo "$as_me: failed program was:" >&5
   5374  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5375  1.39    fredb 
   5376  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5377  1.39    fredb #line $LINENO "configure"
   5378  1.39    fredb /* confdefs.h.  */
   5379  1.39    fredb _ACEOF
   5380  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5381  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5382  1.39    fredb /* end confdefs.h.  */
   5383  1.39    fredb #include <sys/types.h>
   5384  1.39    fredb #include <dirent.h>
   5385  1.39    fredb 
   5386  1.39    fredb int
   5387  1.39    fredb main ()
   5388  1.39    fredb {
   5389  1.39    fredb static struct dirent ac_aggr;
   5390  1.39    fredb if (sizeof ac_aggr.d_namlen)
   5391  1.39    fredb return 0;
   5392  1.39    fredb   ;
   5393  1.39    fredb   return 0;
   5394  1.39    fredb }
   5395  1.39    fredb _ACEOF
   5396  1.39    fredb rm -f conftest.$ac_objext
   5397  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5398   1.8       tv   (eval $ac_compile) 2>&5
   5399   1.8       tv   ac_status=$?
   5400  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5401   1.8       tv   (exit $ac_status); } &&
   5402   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   5403  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5404   1.8       tv   (eval $ac_try) 2>&5
   5405   1.8       tv   ac_status=$?
   5406  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5407   1.8       tv   (exit $ac_status); }; }; then
   5408   1.8       tv   ac_cv_member_struct_dirent_d_namlen=yes
   5409   1.8       tv else
   5410   1.8       tv   echo "$as_me: failed program was:" >&5
   5411  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5412  1.39    fredb 
   5413   1.8       tv ac_cv_member_struct_dirent_d_namlen=no
   5414   1.8       tv fi
   5415   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5416   1.8       tv fi
   5417  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5418  1.39    fredb fi
   5419  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5
   5420   1.8       tv echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
   5421   1.8       tv if test $ac_cv_member_struct_dirent_d_namlen = yes; then
   5422   1.8       tv 
   5423  1.39    fredb cat >>confdefs.h <<_ACEOF
   5424  1.39    fredb #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
   5425  1.39    fredb _ACEOF
   5426  1.39    fredb 
   5427  1.39    fredb 
   5428  1.39    fredb fi
   5429  1.39    fredb 
   5430  1.39    fredb echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
   5431  1.39    fredb echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
   5432  1.39    fredb if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
   5433  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   5434  1.39    fredb else
   5435  1.39    fredb   cat >conftest.$ac_ext <<_ACEOF
   5436  1.39    fredb #line $LINENO "configure"
   5437  1.39    fredb /* confdefs.h.  */
   5438  1.39    fredb _ACEOF
   5439  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5440  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5441  1.39    fredb /* end confdefs.h.  */
   5442  1.39    fredb #include <sys/stat.h>
   5443  1.39    fredb 
   5444  1.39    fredb int
   5445  1.39    fredb main ()
   5446  1.39    fredb {
   5447  1.39    fredb static struct stat ac_aggr;
   5448  1.39    fredb if (ac_aggr.st_flags)
   5449  1.39    fredb return 0;
   5450  1.39    fredb   ;
   5451  1.39    fredb   return 0;
   5452  1.39    fredb }
   5453  1.39    fredb _ACEOF
   5454  1.39    fredb rm -f conftest.$ac_objext
   5455  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5456  1.39    fredb   (eval $ac_compile) 2>&5
   5457  1.39    fredb   ac_status=$?
   5458  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5459  1.39    fredb   (exit $ac_status); } &&
   5460  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5461  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5462  1.39    fredb   (eval $ac_try) 2>&5
   5463  1.39    fredb   ac_status=$?
   5464  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5465  1.39    fredb   (exit $ac_status); }; }; then
   5466  1.39    fredb   ac_cv_member_struct_stat_st_flags=yes
   5467  1.39    fredb else
   5468  1.39    fredb   echo "$as_me: failed program was:" >&5
   5469  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5470  1.39    fredb 
   5471  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5472  1.39    fredb #line $LINENO "configure"
   5473  1.39    fredb /* confdefs.h.  */
   5474  1.39    fredb _ACEOF
   5475  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5476  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5477  1.39    fredb /* end confdefs.h.  */
   5478  1.39    fredb #include <sys/stat.h>
   5479  1.39    fredb 
   5480  1.39    fredb int
   5481  1.39    fredb main ()
   5482  1.39    fredb {
   5483  1.39    fredb static struct stat ac_aggr;
   5484  1.39    fredb if (sizeof ac_aggr.st_flags)
   5485  1.39    fredb return 0;
   5486  1.39    fredb   ;
   5487  1.39    fredb   return 0;
   5488  1.39    fredb }
   5489  1.39    fredb _ACEOF
   5490  1.39    fredb rm -f conftest.$ac_objext
   5491  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5492  1.39    fredb   (eval $ac_compile) 2>&5
   5493  1.39    fredb   ac_status=$?
   5494  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5495  1.39    fredb   (exit $ac_status); } &&
   5496  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5497  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5498  1.39    fredb   (eval $ac_try) 2>&5
   5499  1.39    fredb   ac_status=$?
   5500  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5501  1.39    fredb   (exit $ac_status); }; }; then
   5502  1.39    fredb   ac_cv_member_struct_stat_st_flags=yes
   5503  1.39    fredb else
   5504  1.39    fredb   echo "$as_me: failed program was:" >&5
   5505  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5506  1.39    fredb 
   5507  1.39    fredb ac_cv_member_struct_stat_st_flags=no
   5508  1.39    fredb fi
   5509  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5510  1.39    fredb fi
   5511  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5512  1.39    fredb fi
   5513  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
   5514  1.39    fredb echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
   5515  1.39    fredb if test $ac_cv_member_struct_stat_st_flags = yes; then
   5516  1.39    fredb 
   5517  1.39    fredb cat >>confdefs.h <<_ACEOF
   5518  1.39    fredb #define HAVE_STRUCT_STAT_ST_FLAGS 1
   5519  1.39    fredb _ACEOF
   5520  1.39    fredb 
   5521  1.39    fredb 
   5522  1.39    fredb fi
   5523  1.39    fredb echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
   5524  1.39    fredb echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
   5525  1.39    fredb if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
   5526  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   5527  1.39    fredb else
   5528  1.39    fredb   cat >conftest.$ac_ext <<_ACEOF
   5529  1.39    fredb #line $LINENO "configure"
   5530  1.39    fredb /* confdefs.h.  */
   5531  1.39    fredb _ACEOF
   5532  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5533  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5534  1.39    fredb /* end confdefs.h.  */
   5535  1.39    fredb #include <sys/stat.h>
   5536  1.39    fredb 
   5537  1.39    fredb int
   5538  1.39    fredb main ()
   5539  1.39    fredb {
   5540  1.39    fredb static struct stat ac_aggr;
   5541  1.39    fredb if (ac_aggr.st_gen)
   5542  1.39    fredb return 0;
   5543  1.39    fredb   ;
   5544  1.39    fredb   return 0;
   5545  1.39    fredb }
   5546  1.39    fredb _ACEOF
   5547  1.39    fredb rm -f conftest.$ac_objext
   5548  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5549  1.39    fredb   (eval $ac_compile) 2>&5
   5550  1.39    fredb   ac_status=$?
   5551  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5552  1.39    fredb   (exit $ac_status); } &&
   5553  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5554  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5555  1.39    fredb   (eval $ac_try) 2>&5
   5556  1.39    fredb   ac_status=$?
   5557  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5558  1.39    fredb   (exit $ac_status); }; }; then
   5559  1.39    fredb   ac_cv_member_struct_stat_st_gen=yes
   5560  1.39    fredb else
   5561  1.39    fredb   echo "$as_me: failed program was:" >&5
   5562  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5563  1.39    fredb 
   5564  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5565  1.39    fredb #line $LINENO "configure"
   5566  1.39    fredb /* confdefs.h.  */
   5567  1.39    fredb _ACEOF
   5568  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5569  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5570  1.39    fredb /* end confdefs.h.  */
   5571   1.4       tv #include <sys/stat.h>
   5572   1.4       tv 
   5573   1.4       tv int
   5574   1.4       tv main ()
   5575   1.4       tv {
   5576   1.4       tv static struct stat ac_aggr;
   5577  1.39    fredb if (sizeof ac_aggr.st_gen)
   5578   1.4       tv return 0;
   5579   1.4       tv   ;
   5580   1.4       tv   return 0;
   5581   1.4       tv }
   5582   1.4       tv _ACEOF
   5583   1.4       tv rm -f conftest.$ac_objext
   5584  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5585   1.4       tv   (eval $ac_compile) 2>&5
   5586   1.4       tv   ac_status=$?
   5587  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5588   1.4       tv   (exit $ac_status); } &&
   5589   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   5590  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5591   1.4       tv   (eval $ac_try) 2>&5
   5592   1.4       tv   ac_status=$?
   5593  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5594   1.4       tv   (exit $ac_status); }; }; then
   5595  1.39    fredb   ac_cv_member_struct_stat_st_gen=yes
   5596   1.4       tv else
   5597   1.4       tv   echo "$as_me: failed program was:" >&5
   5598  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5599  1.39    fredb 
   5600  1.39    fredb ac_cv_member_struct_stat_st_gen=no
   5601  1.39    fredb fi
   5602  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5603   1.4       tv fi
   5604   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5605   1.4       tv fi
   5606  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
   5607  1.39    fredb echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
   5608  1.39    fredb if test $ac_cv_member_struct_stat_st_gen = yes; then
   5609  1.39    fredb 
   5610  1.39    fredb cat >>confdefs.h <<_ACEOF
   5611  1.39    fredb #define HAVE_STRUCT_STAT_ST_GEN 1
   5612  1.39    fredb _ACEOF
   5613   1.4       tv 
   5614   1.4       tv 
   5615   1.4       tv fi
   5616  1.40   atatat echo "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5
   5617  1.40   atatat echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
   5618  1.40   atatat if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
   5619  1.40   atatat   echo $ECHO_N "(cached) $ECHO_C" >&6
   5620  1.40   atatat else
   5621  1.40   atatat   cat >conftest.$ac_ext <<_ACEOF
   5622  1.40   atatat #line $LINENO "configure"
   5623  1.40   atatat /* confdefs.h.  */
   5624  1.40   atatat _ACEOF
   5625  1.40   atatat cat confdefs.h >>conftest.$ac_ext
   5626  1.40   atatat cat >>conftest.$ac_ext <<_ACEOF
   5627  1.40   atatat /* end confdefs.h.  */
   5628  1.40   atatat #include <sys/stat.h>
   5629  1.40   atatat 
   5630  1.40   atatat int
   5631  1.40   atatat main ()
   5632  1.40   atatat {
   5633  1.40   atatat static struct stat ac_aggr;
   5634  1.40   atatat if (ac_aggr.st_birthtime)
   5635  1.40   atatat return 0;
   5636  1.40   atatat   ;
   5637  1.40   atatat   return 0;
   5638  1.40   atatat }
   5639  1.40   atatat _ACEOF
   5640  1.40   atatat rm -f conftest.$ac_objext
   5641  1.40   atatat if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5642  1.40   atatat   (eval $ac_compile) 2>&5
   5643  1.40   atatat   ac_status=$?
   5644  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5645  1.40   atatat   (exit $ac_status); } &&
   5646  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   5647  1.40   atatat   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5648  1.40   atatat   (eval $ac_try) 2>&5
   5649  1.40   atatat   ac_status=$?
   5650  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5651  1.40   atatat   (exit $ac_status); }; }; then
   5652  1.40   atatat   ac_cv_member_struct_stat_st_birthtime=yes
   5653  1.40   atatat else
   5654  1.40   atatat   echo "$as_me: failed program was:" >&5
   5655  1.40   atatat sed 's/^/| /' conftest.$ac_ext >&5
   5656  1.40   atatat 
   5657  1.40   atatat cat >conftest.$ac_ext <<_ACEOF
   5658  1.40   atatat #line $LINENO "configure"
   5659  1.40   atatat /* confdefs.h.  */
   5660  1.40   atatat _ACEOF
   5661  1.40   atatat cat confdefs.h >>conftest.$ac_ext
   5662  1.40   atatat cat >>conftest.$ac_ext <<_ACEOF
   5663  1.40   atatat /* end confdefs.h.  */
   5664  1.40   atatat #include <sys/stat.h>
   5665  1.40   atatat 
   5666  1.40   atatat int
   5667  1.40   atatat main ()
   5668  1.40   atatat {
   5669  1.40   atatat static struct stat ac_aggr;
   5670  1.40   atatat if (sizeof ac_aggr.st_birthtime)
   5671  1.40   atatat return 0;
   5672  1.40   atatat   ;
   5673  1.40   atatat   return 0;
   5674  1.40   atatat }
   5675  1.40   atatat _ACEOF
   5676  1.40   atatat rm -f conftest.$ac_objext
   5677  1.40   atatat if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5678  1.40   atatat   (eval $ac_compile) 2>&5
   5679  1.40   atatat   ac_status=$?
   5680  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5681  1.40   atatat   (exit $ac_status); } &&
   5682  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   5683  1.40   atatat   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5684  1.40   atatat   (eval $ac_try) 2>&5
   5685  1.40   atatat   ac_status=$?
   5686  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5687  1.40   atatat   (exit $ac_status); }; }; then
   5688  1.40   atatat   ac_cv_member_struct_stat_st_birthtime=yes
   5689  1.40   atatat else
   5690  1.40   atatat   echo "$as_me: failed program was:" >&5
   5691  1.40   atatat sed 's/^/| /' conftest.$ac_ext >&5
   5692  1.40   atatat 
   5693  1.40   atatat ac_cv_member_struct_stat_st_birthtime=no
   5694  1.40   atatat fi
   5695  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   5696  1.40   atatat fi
   5697  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   5698  1.40   atatat fi
   5699  1.40   atatat echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5
   5700  1.40   atatat echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
   5701  1.40   atatat if test $ac_cv_member_struct_stat_st_birthtime = yes; then
   5702  1.40   atatat 
   5703  1.40   atatat cat >>confdefs.h <<_ACEOF
   5704  1.40   atatat #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
   5705  1.40   atatat _ACEOF
   5706  1.40   atatat 
   5707  1.40   atatat 
   5708  1.40   atatat fi
   5709  1.40   atatat echo "$as_me:$LINENO: checking for struct stat.st_atim" >&5
   5710  1.40   atatat echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
   5711  1.40   atatat if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
   5712  1.40   atatat   echo $ECHO_N "(cached) $ECHO_C" >&6
   5713  1.40   atatat else
   5714  1.40   atatat   cat >conftest.$ac_ext <<_ACEOF
   5715  1.40   atatat #line $LINENO "configure"
   5716  1.40   atatat /* confdefs.h.  */
   5717  1.40   atatat _ACEOF
   5718  1.40   atatat cat confdefs.h >>conftest.$ac_ext
   5719  1.40   atatat cat >>conftest.$ac_ext <<_ACEOF
   5720  1.40   atatat /* end confdefs.h.  */
   5721  1.40   atatat #include <sys/stat.h>
   5722  1.40   atatat 
   5723  1.40   atatat int
   5724  1.40   atatat main ()
   5725  1.40   atatat {
   5726  1.40   atatat static struct stat ac_aggr;
   5727  1.40   atatat if (ac_aggr.st_atim)
   5728  1.40   atatat return 0;
   5729  1.40   atatat   ;
   5730  1.40   atatat   return 0;
   5731  1.40   atatat }
   5732  1.40   atatat _ACEOF
   5733  1.40   atatat rm -f conftest.$ac_objext
   5734  1.40   atatat if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5735  1.40   atatat   (eval $ac_compile) 2>&5
   5736  1.40   atatat   ac_status=$?
   5737  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5738  1.40   atatat   (exit $ac_status); } &&
   5739  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   5740  1.40   atatat   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5741  1.40   atatat   (eval $ac_try) 2>&5
   5742  1.40   atatat   ac_status=$?
   5743  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5744  1.40   atatat   (exit $ac_status); }; }; then
   5745  1.40   atatat   ac_cv_member_struct_stat_st_atim=yes
   5746  1.40   atatat else
   5747  1.40   atatat   echo "$as_me: failed program was:" >&5
   5748  1.40   atatat sed 's/^/| /' conftest.$ac_ext >&5
   5749  1.40   atatat 
   5750  1.40   atatat cat >conftest.$ac_ext <<_ACEOF
   5751  1.40   atatat #line $LINENO "configure"
   5752  1.40   atatat /* confdefs.h.  */
   5753  1.40   atatat _ACEOF
   5754  1.40   atatat cat confdefs.h >>conftest.$ac_ext
   5755  1.40   atatat cat >>conftest.$ac_ext <<_ACEOF
   5756  1.40   atatat /* end confdefs.h.  */
   5757  1.40   atatat #include <sys/stat.h>
   5758  1.40   atatat 
   5759  1.40   atatat int
   5760  1.40   atatat main ()
   5761  1.40   atatat {
   5762  1.40   atatat static struct stat ac_aggr;
   5763  1.40   atatat if (sizeof ac_aggr.st_atim)
   5764  1.40   atatat return 0;
   5765  1.40   atatat   ;
   5766  1.40   atatat   return 0;
   5767  1.40   atatat }
   5768  1.40   atatat _ACEOF
   5769  1.40   atatat rm -f conftest.$ac_objext
   5770  1.40   atatat if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5771  1.40   atatat   (eval $ac_compile) 2>&5
   5772  1.40   atatat   ac_status=$?
   5773  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5774  1.40   atatat   (exit $ac_status); } &&
   5775  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   5776  1.40   atatat   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5777  1.40   atatat   (eval $ac_try) 2>&5
   5778  1.40   atatat   ac_status=$?
   5779  1.40   atatat   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5780  1.40   atatat   (exit $ac_status); }; }; then
   5781  1.40   atatat   ac_cv_member_struct_stat_st_atim=yes
   5782  1.40   atatat else
   5783  1.40   atatat   echo "$as_me: failed program was:" >&5
   5784  1.40   atatat sed 's/^/| /' conftest.$ac_ext >&5
   5785  1.40   atatat 
   5786  1.40   atatat ac_cv_member_struct_stat_st_atim=no
   5787  1.40   atatat fi
   5788  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   5789  1.40   atatat fi
   5790  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   5791  1.40   atatat fi
   5792  1.40   atatat echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
   5793  1.40   atatat echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
   5794  1.40   atatat if test $ac_cv_member_struct_stat_st_atim = yes; then
   5795  1.40   atatat 
   5796  1.40   atatat cat >>confdefs.h <<_ACEOF
   5797  1.40   atatat #define HAVE_STRUCT_STAT_ST_ATIM 1
   5798  1.40   atatat _ACEOF
   5799  1.40   atatat 
   5800  1.40   atatat 
   5801  1.40   atatat fi
   5802  1.39    fredb echo "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5
   5803  1.39    fredb echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
   5804  1.39    fredb if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
   5805   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5806   1.7       tv else
   5807   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   5808  1.39    fredb #line $LINENO "configure"
   5809  1.39    fredb /* confdefs.h.  */
   5810  1.39    fredb _ACEOF
   5811  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5812  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5813  1.39    fredb /* end confdefs.h.  */
   5814   1.7       tv #include <sys/stat.h>
   5815   1.7       tv 
   5816   1.7       tv int
   5817   1.7       tv main ()
   5818   1.7       tv {
   5819   1.7       tv static struct stat ac_aggr;
   5820  1.39    fredb if (ac_aggr.st_mtimensec)
   5821   1.7       tv return 0;
   5822   1.7       tv   ;
   5823   1.7       tv   return 0;
   5824   1.7       tv }
   5825   1.7       tv _ACEOF
   5826   1.7       tv rm -f conftest.$ac_objext
   5827  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5828   1.7       tv   (eval $ac_compile) 2>&5
   5829   1.7       tv   ac_status=$?
   5830  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5831   1.7       tv   (exit $ac_status); } &&
   5832   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   5833  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5834   1.7       tv   (eval $ac_try) 2>&5
   5835   1.7       tv   ac_status=$?
   5836  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5837   1.7       tv   (exit $ac_status); }; }; then
   5838  1.39    fredb   ac_cv_member_struct_stat_st_mtimensec=yes
   5839   1.7       tv else
   5840   1.7       tv   echo "$as_me: failed program was:" >&5
   5841  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5842   1.7       tv 
   5843  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5844  1.39    fredb #line $LINENO "configure"
   5845  1.39    fredb /* confdefs.h.  */
   5846  1.39    fredb _ACEOF
   5847  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5848  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5849  1.39    fredb /* end confdefs.h.  */
   5850   1.7       tv #include <sys/stat.h>
   5851   1.7       tv 
   5852   1.7       tv int
   5853   1.7       tv main ()
   5854   1.7       tv {
   5855   1.7       tv static struct stat ac_aggr;
   5856  1.39    fredb if (sizeof ac_aggr.st_mtimensec)
   5857   1.7       tv return 0;
   5858   1.7       tv   ;
   5859   1.7       tv   return 0;
   5860   1.7       tv }
   5861   1.7       tv _ACEOF
   5862   1.7       tv rm -f conftest.$ac_objext
   5863  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5864   1.7       tv   (eval $ac_compile) 2>&5
   5865   1.7       tv   ac_status=$?
   5866  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5867   1.7       tv   (exit $ac_status); } &&
   5868   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   5869  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5870   1.7       tv   (eval $ac_try) 2>&5
   5871   1.7       tv   ac_status=$?
   5872  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5873   1.7       tv   (exit $ac_status); }; }; then
   5874   1.7       tv   ac_cv_member_struct_stat_st_mtimensec=yes
   5875   1.7       tv else
   5876   1.7       tv   echo "$as_me: failed program was:" >&5
   5877  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5878  1.39    fredb 
   5879   1.7       tv ac_cv_member_struct_stat_st_mtimensec=no
   5880   1.7       tv fi
   5881   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5882   1.7       tv fi
   5883  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5884  1.39    fredb fi
   5885  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
   5886   1.7       tv echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
   5887   1.7       tv if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
   5888   1.7       tv 
   5889  1.39    fredb cat >>confdefs.h <<_ACEOF
   5890   1.7       tv #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   5891  1.39    fredb _ACEOF
   5892  1.39    fredb 
   5893   1.7       tv 
   5894   1.7       tv fi
   5895   1.4       tv 
   5896  1.39    fredb echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5
   5897   1.7       tv echo $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
   5898   1.7       tv if test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
   5899   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5900   1.6       tv else
   5901   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   5902  1.39    fredb #line $LINENO "configure"
   5903  1.39    fredb /* confdefs.h.  */
   5904  1.39    fredb _ACEOF
   5905  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5906  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5907  1.39    fredb /* end confdefs.h.  */
   5908   1.7       tv #include <sys/mount.h>
   5909   1.6       tv 
   5910   1.6       tv int
   5911   1.6       tv main ()
   5912   1.6       tv {
   5913   1.7       tv static struct statfs ac_aggr;
   5914   1.7       tv if (ac_aggr.f_iosize)
   5915   1.6       tv return 0;
   5916   1.6       tv   ;
   5917   1.6       tv   return 0;
   5918   1.6       tv }
   5919   1.6       tv _ACEOF
   5920   1.6       tv rm -f conftest.$ac_objext
   5921  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5922  1.39    fredb   (eval $ac_compile) 2>&5
   5923  1.39    fredb   ac_status=$?
   5924  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5925  1.39    fredb   (exit $ac_status); } &&
   5926  1.39    fredb          { ac_try='test -s conftest.$ac_objext'
   5927  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5928  1.39    fredb   (eval $ac_try) 2>&5
   5929  1.39    fredb   ac_status=$?
   5930  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5931  1.39    fredb   (exit $ac_status); }; }; then
   5932  1.39    fredb   ac_cv_member_struct_statfs_f_iosize=yes
   5933  1.39    fredb else
   5934  1.39    fredb   echo "$as_me: failed program was:" >&5
   5935  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5936  1.39    fredb 
   5937  1.39    fredb cat >conftest.$ac_ext <<_ACEOF
   5938  1.39    fredb #line $LINENO "configure"
   5939  1.39    fredb /* confdefs.h.  */
   5940  1.39    fredb _ACEOF
   5941  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   5942  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   5943  1.39    fredb /* end confdefs.h.  */
   5944  1.39    fredb #include <sys/mount.h>
   5945  1.39    fredb 
   5946  1.39    fredb int
   5947  1.39    fredb main ()
   5948  1.39    fredb {
   5949  1.39    fredb static struct statfs ac_aggr;
   5950  1.39    fredb if (sizeof ac_aggr.f_iosize)
   5951  1.39    fredb return 0;
   5952  1.39    fredb   ;
   5953  1.39    fredb   return 0;
   5954  1.39    fredb }
   5955  1.39    fredb _ACEOF
   5956  1.39    fredb rm -f conftest.$ac_objext
   5957  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5958   1.6       tv   (eval $ac_compile) 2>&5
   5959   1.6       tv   ac_status=$?
   5960  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5961   1.6       tv   (exit $ac_status); } &&
   5962   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   5963  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5964   1.6       tv   (eval $ac_try) 2>&5
   5965   1.6       tv   ac_status=$?
   5966  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5967   1.6       tv   (exit $ac_status); }; }; then
   5968   1.7       tv   ac_cv_member_struct_statfs_f_iosize=yes
   5969   1.6       tv else
   5970   1.6       tv   echo "$as_me: failed program was:" >&5
   5971  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   5972  1.39    fredb 
   5973   1.7       tv ac_cv_member_struct_statfs_f_iosize=no
   5974   1.6       tv fi
   5975   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5976   1.6       tv fi
   5977  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   5978  1.39    fredb fi
   5979  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5
   5980   1.7       tv echo "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
   5981   1.7       tv if test $ac_cv_member_struct_statfs_f_iosize = yes; then
   5982   1.6       tv 
   5983  1.39    fredb cat >>confdefs.h <<_ACEOF
   5984   1.7       tv #define HAVE_STRUCT_STATFS_F_IOSIZE 1
   5985  1.39    fredb _ACEOF
   5986  1.39    fredb 
   5987   1.6       tv 
   5988   1.6       tv fi
   5989   1.6       tv 
   5990  1.39    fredb 
   5991   1.4       tv # Global variable decls.
   5992  1.39    fredb echo "$as_me:$LINENO: checking whether optind is declared" >&5
   5993   1.7       tv echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
   5994   1.7       tv if test "${ac_cv_have_decl_optind+set}" = set; then
   5995   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5996   1.7       tv else
   5997   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   5998  1.39    fredb #line $LINENO "configure"
   5999  1.39    fredb /* confdefs.h.  */
   6000  1.39    fredb _ACEOF
   6001  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6002  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6003  1.39    fredb /* end confdefs.h.  */
   6004   1.7       tv 
   6005   1.7       tv #include <stdio.h>
   6006   1.7       tv #include <stdlib.h>
   6007   1.7       tv #include <unistd.h>
   6008   1.7       tv 
   6009  1.39    fredb 
   6010   1.7       tv int
   6011   1.7       tv main ()
   6012   1.7       tv {
   6013   1.7       tv #ifndef optind
   6014   1.7       tv   char *p = (char *) optind;
   6015   1.7       tv #endif
   6016   1.7       tv 
   6017   1.7       tv   ;
   6018   1.7       tv   return 0;
   6019   1.7       tv }
   6020   1.7       tv _ACEOF
   6021   1.7       tv rm -f conftest.$ac_objext
   6022  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6023   1.7       tv   (eval $ac_compile) 2>&5
   6024   1.7       tv   ac_status=$?
   6025  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6026   1.7       tv   (exit $ac_status); } &&
   6027   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   6028  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6029   1.7       tv   (eval $ac_try) 2>&5
   6030   1.7       tv   ac_status=$?
   6031  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6032   1.7       tv   (exit $ac_status); }; }; then
   6033   1.7       tv   ac_cv_have_decl_optind=yes
   6034   1.7       tv else
   6035   1.7       tv   echo "$as_me: failed program was:" >&5
   6036  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6037  1.39    fredb 
   6038   1.7       tv ac_cv_have_decl_optind=no
   6039   1.7       tv fi
   6040   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   6041   1.7       tv fi
   6042  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
   6043   1.7       tv echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
   6044   1.7       tv if test $ac_cv_have_decl_optind = yes; then
   6045   1.7       tv 
   6046  1.39    fredb cat >>confdefs.h <<_ACEOF
   6047   1.7       tv #define HAVE_DECL_OPTIND 1
   6048  1.39    fredb _ACEOF
   6049  1.39    fredb 
   6050   1.7       tv 
   6051   1.7       tv else
   6052  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6053   1.7       tv #define HAVE_DECL_OPTIND 0
   6054  1.39    fredb _ACEOF
   6055  1.39    fredb 
   6056   1.7       tv 
   6057   1.7       tv fi
   6058  1.39    fredb echo "$as_me:$LINENO: checking whether optreset is declared" >&5
   6059   1.7       tv echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   6060   1.7       tv if test "${ac_cv_have_decl_optreset+set}" = set; then
   6061   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6062   1.7       tv else
   6063   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   6064  1.39    fredb #line $LINENO "configure"
   6065  1.39    fredb /* confdefs.h.  */
   6066  1.39    fredb _ACEOF
   6067  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6068  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6069  1.39    fredb /* end confdefs.h.  */
   6070   1.7       tv 
   6071   1.7       tv #include <stdio.h>
   6072   1.7       tv #include <stdlib.h>
   6073   1.7       tv #include <unistd.h>
   6074   1.7       tv 
   6075  1.39    fredb 
   6076   1.7       tv int
   6077   1.7       tv main ()
   6078   1.7       tv {
   6079   1.7       tv #ifndef optreset
   6080   1.7       tv   char *p = (char *) optreset;
   6081   1.7       tv #endif
   6082   1.7       tv 
   6083   1.7       tv   ;
   6084   1.7       tv   return 0;
   6085   1.7       tv }
   6086   1.7       tv _ACEOF
   6087   1.7       tv rm -f conftest.$ac_objext
   6088  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6089   1.7       tv   (eval $ac_compile) 2>&5
   6090   1.7       tv   ac_status=$?
   6091  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6092   1.7       tv   (exit $ac_status); } &&
   6093   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   6094  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6095   1.7       tv   (eval $ac_try) 2>&5
   6096   1.7       tv   ac_status=$?
   6097  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6098   1.7       tv   (exit $ac_status); }; }; then
   6099   1.7       tv   ac_cv_have_decl_optreset=yes
   6100   1.7       tv else
   6101   1.7       tv   echo "$as_me: failed program was:" >&5
   6102  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6103  1.39    fredb 
   6104   1.7       tv ac_cv_have_decl_optreset=no
   6105   1.7       tv fi
   6106   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   6107   1.7       tv fi
   6108  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
   6109   1.7       tv echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   6110   1.7       tv if test $ac_cv_have_decl_optreset = yes; then
   6111   1.7       tv 
   6112  1.39    fredb cat >>confdefs.h <<_ACEOF
   6113   1.7       tv #define HAVE_DECL_OPTRESET 1
   6114  1.39    fredb _ACEOF
   6115  1.39    fredb 
   6116   1.7       tv 
   6117   1.7       tv else
   6118  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6119   1.7       tv #define HAVE_DECL_OPTRESET 0
   6120  1.39    fredb _ACEOF
   6121  1.39    fredb 
   6122   1.7       tv 
   6123   1.7       tv fi
   6124   1.7       tv 
   6125  1.39    fredb 
   6126  1.39    fredb echo "$as_me:$LINENO: checking whether sys_signame is declared" >&5
   6127   1.4       tv echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
   6128   1.4       tv if test "${ac_cv_have_decl_sys_signame+set}" = set; then
   6129   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6130   1.4       tv else
   6131   1.4       tv   cat >conftest.$ac_ext <<_ACEOF
   6132  1.39    fredb #line $LINENO "configure"
   6133  1.39    fredb /* confdefs.h.  */
   6134  1.39    fredb _ACEOF
   6135  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6136  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6137  1.39    fredb /* end confdefs.h.  */
   6138   1.4       tv #include <signal.h>
   6139   1.4       tv 
   6140   1.4       tv int
   6141   1.4       tv main ()
   6142   1.4       tv {
   6143   1.4       tv #ifndef sys_signame
   6144   1.4       tv   char *p = (char *) sys_signame;
   6145   1.4       tv #endif
   6146   1.4       tv 
   6147   1.4       tv   ;
   6148   1.4       tv   return 0;
   6149   1.4       tv }
   6150   1.4       tv _ACEOF
   6151   1.4       tv rm -f conftest.$ac_objext
   6152  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6153   1.4       tv   (eval $ac_compile) 2>&5
   6154   1.4       tv   ac_status=$?
   6155  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6156   1.4       tv   (exit $ac_status); } &&
   6157   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   6158  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6159   1.4       tv   (eval $ac_try) 2>&5
   6160   1.4       tv   ac_status=$?
   6161  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6162   1.4       tv   (exit $ac_status); }; }; then
   6163   1.4       tv   ac_cv_have_decl_sys_signame=yes
   6164   1.4       tv else
   6165   1.4       tv   echo "$as_me: failed program was:" >&5
   6166  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6167  1.39    fredb 
   6168   1.4       tv ac_cv_have_decl_sys_signame=no
   6169   1.4       tv fi
   6170   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   6171   1.4       tv fi
   6172  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
   6173   1.4       tv echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
   6174   1.4       tv if test $ac_cv_have_decl_sys_signame = yes; then
   6175   1.4       tv 
   6176  1.39    fredb cat >>confdefs.h <<_ACEOF
   6177   1.4       tv #define HAVE_DECL_SYS_SIGNAME 1
   6178  1.39    fredb _ACEOF
   6179  1.39    fredb 
   6180   1.4       tv 
   6181   1.4       tv else
   6182  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6183   1.4       tv #define HAVE_DECL_SYS_SIGNAME 0
   6184  1.39    fredb _ACEOF
   6185  1.39    fredb 
   6186   1.4       tv 
   6187   1.4       tv fi
   6188   1.4       tv 
   6189  1.39    fredb 
   6190  1.39    fredb 
   6191   1.4       tv # Library functions (where a .h check isn't enough).
   6192  1.19    bjh21 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6193  1.19    bjh21 # for constant arguments.  Useless!
   6194  1.39    fredb echo "$as_me:$LINENO: checking for working alloca.h" >&5
   6195  1.19    bjh21 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   6196  1.19    bjh21 if test "${ac_cv_working_alloca_h+set}" = set; then
   6197  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   6198  1.19    bjh21 else
   6199  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   6200  1.39    fredb #line $LINENO "configure"
   6201  1.39    fredb /* confdefs.h.  */
   6202  1.39    fredb _ACEOF
   6203  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6204  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6205  1.39    fredb /* end confdefs.h.  */
   6206  1.19    bjh21 #include <alloca.h>
   6207  1.19    bjh21 int
   6208  1.19    bjh21 main ()
   6209  1.19    bjh21 {
   6210  1.19    bjh21 char *p = (char *) alloca (2 * sizeof (int));
   6211  1.19    bjh21   ;
   6212  1.19    bjh21   return 0;
   6213  1.19    bjh21 }
   6214  1.19    bjh21 _ACEOF
   6215  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   6216  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6217  1.19    bjh21   (eval $ac_link) 2>&5
   6218  1.19    bjh21   ac_status=$?
   6219  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6220  1.19    bjh21   (exit $ac_status); } &&
   6221  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   6222  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6223  1.19    bjh21   (eval $ac_try) 2>&5
   6224  1.19    bjh21   ac_status=$?
   6225  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6226  1.19    bjh21   (exit $ac_status); }; }; then
   6227  1.19    bjh21   ac_cv_working_alloca_h=yes
   6228  1.19    bjh21 else
   6229  1.19    bjh21   echo "$as_me: failed program was:" >&5
   6230  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6231  1.39    fredb 
   6232  1.19    bjh21 ac_cv_working_alloca_h=no
   6233  1.19    bjh21 fi
   6234  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6235  1.19    bjh21 fi
   6236  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   6237  1.19    bjh21 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   6238  1.19    bjh21 if test $ac_cv_working_alloca_h = yes; then
   6239  1.19    bjh21 
   6240  1.39    fredb cat >>confdefs.h <<\_ACEOF
   6241  1.19    bjh21 #define HAVE_ALLOCA_H 1
   6242  1.39    fredb _ACEOF
   6243  1.19    bjh21 
   6244  1.19    bjh21 fi
   6245  1.19    bjh21 
   6246  1.39    fredb echo "$as_me:$LINENO: checking for alloca" >&5
   6247  1.19    bjh21 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   6248  1.19    bjh21 if test "${ac_cv_func_alloca_works+set}" = set; then
   6249  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   6250  1.19    bjh21 else
   6251  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   6252  1.39    fredb #line $LINENO "configure"
   6253  1.39    fredb /* confdefs.h.  */
   6254  1.39    fredb _ACEOF
   6255  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6256  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6257  1.39    fredb /* end confdefs.h.  */
   6258  1.19    bjh21 #ifdef __GNUC__
   6259  1.19    bjh21 # define alloca __builtin_alloca
   6260  1.19    bjh21 #else
   6261  1.19    bjh21 # ifdef _MSC_VER
   6262  1.19    bjh21 #  include <malloc.h>
   6263  1.19    bjh21 #  define alloca _alloca
   6264  1.19    bjh21 # else
   6265  1.19    bjh21 #  if HAVE_ALLOCA_H
   6266  1.19    bjh21 #   include <alloca.h>
   6267  1.19    bjh21 #  else
   6268  1.19    bjh21 #   ifdef _AIX
   6269  1.19    bjh21  #pragma alloca
   6270  1.19    bjh21 #   else
   6271  1.19    bjh21 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6272  1.19    bjh21 char *alloca ();
   6273  1.19    bjh21 #    endif
   6274  1.19    bjh21 #   endif
   6275  1.19    bjh21 #  endif
   6276  1.19    bjh21 # endif
   6277  1.19    bjh21 #endif
   6278  1.19    bjh21 
   6279  1.19    bjh21 int
   6280  1.19    bjh21 main ()
   6281  1.19    bjh21 {
   6282  1.19    bjh21 char *p = (char *) alloca (1);
   6283  1.19    bjh21   ;
   6284  1.19    bjh21   return 0;
   6285  1.19    bjh21 }
   6286  1.19    bjh21 _ACEOF
   6287  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   6288  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6289  1.19    bjh21   (eval $ac_link) 2>&5
   6290  1.19    bjh21   ac_status=$?
   6291  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6292  1.19    bjh21   (exit $ac_status); } &&
   6293  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   6294  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6295  1.19    bjh21   (eval $ac_try) 2>&5
   6296  1.19    bjh21   ac_status=$?
   6297  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6298  1.19    bjh21   (exit $ac_status); }; }; then
   6299  1.19    bjh21   ac_cv_func_alloca_works=yes
   6300  1.19    bjh21 else
   6301  1.19    bjh21   echo "$as_me: failed program was:" >&5
   6302  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6303  1.39    fredb 
   6304  1.19    bjh21 ac_cv_func_alloca_works=no
   6305  1.19    bjh21 fi
   6306  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6307  1.19    bjh21 fi
   6308  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   6309  1.19    bjh21 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   6310  1.19    bjh21 
   6311  1.19    bjh21 if test $ac_cv_func_alloca_works = yes; then
   6312  1.19    bjh21 
   6313  1.39    fredb cat >>confdefs.h <<\_ACEOF
   6314  1.19    bjh21 #define HAVE_ALLOCA 1
   6315  1.39    fredb _ACEOF
   6316  1.19    bjh21 
   6317  1.19    bjh21 else
   6318  1.19    bjh21   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6319  1.19    bjh21 # that cause trouble.  Some versions do not even contain alloca or
   6320  1.19    bjh21 # contain a buggy version.  If you still want to use their alloca,
   6321  1.19    bjh21 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6322  1.19    bjh21 
   6323  1.19    bjh21 ALLOCA=alloca.$ac_objext
   6324  1.19    bjh21 
   6325  1.39    fredb cat >>confdefs.h <<\_ACEOF
   6326  1.19    bjh21 #define C_ALLOCA 1
   6327  1.39    fredb _ACEOF
   6328  1.19    bjh21 
   6329  1.39    fredb 
   6330  1.39    fredb echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   6331  1.19    bjh21 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   6332  1.19    bjh21 if test "${ac_cv_os_cray+set}" = set; then
   6333  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   6334  1.19    bjh21 else
   6335  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   6336  1.39    fredb #line $LINENO "configure"
   6337  1.39    fredb /* confdefs.h.  */
   6338  1.39    fredb _ACEOF
   6339  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6340  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6341  1.39    fredb /* end confdefs.h.  */
   6342  1.19    bjh21 #if defined(CRAY) && ! defined(CRAY2)
   6343  1.19    bjh21 webecray
   6344  1.19    bjh21 #else
   6345  1.19    bjh21 wenotbecray
   6346  1.19    bjh21 #endif
   6347  1.19    bjh21 
   6348  1.19    bjh21 _ACEOF
   6349  1.19    bjh21 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6350  1.39    fredb   $EGREP "webecray" >/dev/null 2>&1; then
   6351  1.19    bjh21   ac_cv_os_cray=yes
   6352  1.19    bjh21 else
   6353  1.19    bjh21   ac_cv_os_cray=no
   6354  1.19    bjh21 fi
   6355  1.19    bjh21 rm -f conftest*
   6356  1.19    bjh21 
   6357  1.19    bjh21 fi
   6358  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   6359  1.19    bjh21 echo "${ECHO_T}$ac_cv_os_cray" >&6
   6360  1.19    bjh21 if test $ac_cv_os_cray = yes; then
   6361  1.19    bjh21   for ac_func in _getb67 GETB67 getb67; do
   6362  1.19    bjh21     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6363  1.39    fredb echo "$as_me:$LINENO: checking for $ac_func" >&5
   6364  1.19    bjh21 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6365  1.19    bjh21 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6366  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   6367  1.19    bjh21 else
   6368  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   6369  1.39    fredb #line $LINENO "configure"
   6370  1.39    fredb /* confdefs.h.  */
   6371  1.39    fredb _ACEOF
   6372  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6373  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6374  1.39    fredb /* end confdefs.h.  */
   6375  1.19    bjh21 /* System header to define __stub macros and hopefully few prototypes,
   6376  1.39    fredb     which can conflict with char $ac_func (); below.
   6377  1.39    fredb     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6378  1.39    fredb     <limits.h> exists even on freestanding compilers.  */
   6379  1.39    fredb #ifdef __STDC__
   6380  1.39    fredb # include <limits.h>
   6381  1.39    fredb #else
   6382  1.39    fredb # include <assert.h>
   6383  1.39    fredb #endif
   6384  1.19    bjh21 /* Override any gcc2 internal prototype to avoid an error.  */
   6385  1.19    bjh21 #ifdef __cplusplus
   6386  1.19    bjh21 extern "C"
   6387  1.39    fredb {
   6388  1.19    bjh21 #endif
   6389  1.19    bjh21 /* We use char because int might match the return type of a gcc2
   6390  1.19    bjh21    builtin and then its argument prototype would still apply.  */
   6391  1.19    bjh21 char $ac_func ();
   6392  1.19    bjh21 /* The GNU C library defines this for functions which it implements
   6393  1.19    bjh21     to always fail with ENOSYS.  Some functions are actually named
   6394  1.19    bjh21     something starting with __ and the normal name is an alias.  */
   6395  1.19    bjh21 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6396  1.19    bjh21 choke me
   6397  1.19    bjh21 #else
   6398  1.39    fredb char (*f) () = $ac_func;
   6399  1.39    fredb #endif
   6400  1.39    fredb #ifdef __cplusplus
   6401  1.39    fredb }
   6402  1.19    bjh21 #endif
   6403  1.19    bjh21 
   6404  1.39    fredb int
   6405  1.39    fredb main ()
   6406  1.39    fredb {
   6407  1.39    fredb return f != $ac_func;
   6408  1.19    bjh21   ;
   6409  1.19    bjh21   return 0;
   6410  1.19    bjh21 }
   6411  1.19    bjh21 _ACEOF
   6412  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   6413  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6414  1.19    bjh21   (eval $ac_link) 2>&5
   6415  1.19    bjh21   ac_status=$?
   6416  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6417  1.19    bjh21   (exit $ac_status); } &&
   6418  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   6419  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6420  1.19    bjh21   (eval $ac_try) 2>&5
   6421  1.19    bjh21   ac_status=$?
   6422  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6423  1.19    bjh21   (exit $ac_status); }; }; then
   6424  1.19    bjh21   eval "$as_ac_var=yes"
   6425  1.19    bjh21 else
   6426  1.19    bjh21   echo "$as_me: failed program was:" >&5
   6427  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6428  1.39    fredb 
   6429  1.19    bjh21 eval "$as_ac_var=no"
   6430  1.19    bjh21 fi
   6431  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6432  1.19    bjh21 fi
   6433  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6434  1.19    bjh21 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6435  1.19    bjh21 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6436  1.19    bjh21 
   6437  1.39    fredb cat >>confdefs.h <<_ACEOF
   6438  1.19    bjh21 #define CRAY_STACKSEG_END $ac_func
   6439  1.39    fredb _ACEOF
   6440  1.19    bjh21 
   6441  1.19    bjh21     break
   6442  1.19    bjh21 fi
   6443  1.19    bjh21 
   6444  1.19    bjh21   done
   6445  1.19    bjh21 fi
   6446  1.19    bjh21 
   6447  1.39    fredb echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   6448  1.19    bjh21 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   6449  1.19    bjh21 if test "${ac_cv_c_stack_direction+set}" = set; then
   6450  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   6451  1.19    bjh21 else
   6452  1.19    bjh21   if test "$cross_compiling" = yes; then
   6453  1.19    bjh21   ac_cv_c_stack_direction=0
   6454  1.19    bjh21 else
   6455  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   6456  1.39    fredb #line $LINENO "configure"
   6457  1.39    fredb /* confdefs.h.  */
   6458  1.39    fredb _ACEOF
   6459  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6460  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6461  1.39    fredb /* end confdefs.h.  */
   6462  1.19    bjh21 int
   6463  1.19    bjh21 find_stack_direction ()
   6464  1.19    bjh21 {
   6465  1.19    bjh21   static char *addr = 0;
   6466  1.19    bjh21   auto char dummy;
   6467  1.19    bjh21   if (addr == 0)
   6468  1.19    bjh21     {
   6469  1.19    bjh21       addr = &dummy;
   6470  1.19    bjh21       return find_stack_direction ();
   6471  1.19    bjh21     }
   6472  1.19    bjh21   else
   6473  1.19    bjh21     return (&dummy > addr) ? 1 : -1;
   6474  1.19    bjh21 }
   6475  1.19    bjh21 
   6476  1.19    bjh21 int
   6477  1.19    bjh21 main ()
   6478  1.19    bjh21 {
   6479  1.19    bjh21   exit (find_stack_direction () < 0);
   6480  1.19    bjh21 }
   6481  1.19    bjh21 _ACEOF
   6482  1.19    bjh21 rm -f conftest$ac_exeext
   6483  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6484  1.19    bjh21   (eval $ac_link) 2>&5
   6485  1.19    bjh21   ac_status=$?
   6486  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6487  1.19    bjh21   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6488  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6489  1.19    bjh21   (eval $ac_try) 2>&5
   6490  1.19    bjh21   ac_status=$?
   6491  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6492  1.19    bjh21   (exit $ac_status); }; }; then
   6493  1.19    bjh21   ac_cv_c_stack_direction=1
   6494  1.19    bjh21 else
   6495  1.19    bjh21   echo "$as_me: program exited with status $ac_status" >&5
   6496  1.19    bjh21 echo "$as_me: failed program was:" >&5
   6497  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6498  1.39    fredb 
   6499  1.39    fredb ( exit $ac_status )
   6500  1.19    bjh21 ac_cv_c_stack_direction=-1
   6501  1.19    bjh21 fi
   6502  1.39    fredb rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6503  1.19    bjh21 fi
   6504  1.19    bjh21 fi
   6505  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   6506  1.19    bjh21 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   6507  1.19    bjh21 
   6508  1.39    fredb cat >>confdefs.h <<_ACEOF
   6509  1.19    bjh21 #define STACK_DIRECTION $ac_cv_c_stack_direction
   6510  1.39    fredb _ACEOF
   6511  1.39    fredb 
   6512  1.19    bjh21 
   6513  1.19    bjh21 fi
   6514  1.19    bjh21 
   6515  1.39    fredb 
   6516  1.39    fredb 
   6517  1.39    fredb 
   6518  1.39    fredb 
   6519  1.39    fredb 
   6520  1.39    fredb 
   6521  1.39    fredb 
   6522  1.39    fredb 
   6523  1.39    fredb 
   6524  1.39    fredb 
   6525  1.39    fredb 
   6526  1.39    fredb 
   6527  1.39    fredb 
   6528  1.39    fredb 
   6529  1.39    fredb 
   6530  1.39    fredb 
   6531  1.39    fredb 
   6532  1.39    fredb 
   6533  1.39    fredb 
   6534  1.39    fredb 
   6535  1.39    fredb 
   6536  1.39    fredb 
   6537  1.39    fredb 
   6538  1.39    fredb 
   6539  1.39    fredb 
   6540  1.39    fredb 
   6541  1.39    fredb 
   6542  1.39    fredb 
   6543  1.39    fredb 
   6544  1.39    fredb 
   6545  1.39    fredb 
   6546  1.39    fredb 
   6547  1.39    fredb 
   6548  1.39    fredb 
   6549  1.39    fredb 
   6550  1.39    fredb 
   6551  1.39    fredb 
   6552  1.39    fredb 
   6553  1.39    fredb 
   6554  1.39    fredb 
   6555  1.40   atatat 
   6556  1.40   atatat for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
   6557   1.7       tv 	fgetln flock fparseln futimes getopt getopt_long \
   6558  1.26    lukem 	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
   6559  1.36  thorpej 	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
   6560  1.36  thorpej 	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
   6561  1.29    lukem 	strsuftoll strtoll \
   6562  1.23  thorpej 	user_from_uid vasprintf vasnprintf vsnprintf
   6563   1.1       tv do
   6564   1.1       tv as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6565  1.39    fredb echo "$as_me:$LINENO: checking for $ac_func" >&5
   6566   1.1       tv echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6567   1.1       tv if eval "test \"\${$as_ac_var+set}\" = set"; then
   6568   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6569   1.1       tv else
   6570   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   6571  1.39    fredb #line $LINENO "configure"
   6572  1.39    fredb /* confdefs.h.  */
   6573  1.39    fredb _ACEOF
   6574  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6575  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6576  1.39    fredb /* end confdefs.h.  */
   6577  1.39    fredb /* System header to define __stub macros and hopefully few prototypes,
   6578  1.39    fredb     which can conflict with char $ac_func (); below.
   6579  1.39    fredb     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6580  1.39    fredb     <limits.h> exists even on freestanding compilers.  */
   6581  1.39    fredb #ifdef __STDC__
   6582  1.39    fredb # include <limits.h>
   6583  1.39    fredb #else
   6584  1.39    fredb # include <assert.h>
   6585  1.39    fredb #endif
   6586   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   6587   1.1       tv #ifdef __cplusplus
   6588   1.1       tv extern "C"
   6589  1.39    fredb {
   6590   1.1       tv #endif
   6591   1.1       tv /* We use char because int might match the return type of a gcc2
   6592   1.1       tv    builtin and then its argument prototype would still apply.  */
   6593   1.1       tv char $ac_func ();
   6594   1.1       tv /* The GNU C library defines this for functions which it implements
   6595   1.1       tv     to always fail with ENOSYS.  Some functions are actually named
   6596   1.1       tv     something starting with __ and the normal name is an alias.  */
   6597   1.1       tv #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6598   1.1       tv choke me
   6599   1.1       tv #else
   6600  1.39    fredb char (*f) () = $ac_func;
   6601  1.39    fredb #endif
   6602  1.39    fredb #ifdef __cplusplus
   6603  1.39    fredb }
   6604   1.1       tv #endif
   6605   1.1       tv 
   6606  1.39    fredb int
   6607  1.39    fredb main ()
   6608  1.39    fredb {
   6609  1.39    fredb return f != $ac_func;
   6610   1.1       tv   ;
   6611   1.1       tv   return 0;
   6612   1.1       tv }
   6613   1.1       tv _ACEOF
   6614   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   6615  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6616   1.1       tv   (eval $ac_link) 2>&5
   6617   1.1       tv   ac_status=$?
   6618  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6619   1.1       tv   (exit $ac_status); } &&
   6620   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   6621  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6622   1.1       tv   (eval $ac_try) 2>&5
   6623   1.1       tv   ac_status=$?
   6624  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6625   1.1       tv   (exit $ac_status); }; }; then
   6626   1.1       tv   eval "$as_ac_var=yes"
   6627   1.1       tv else
   6628   1.1       tv   echo "$as_me: failed program was:" >&5
   6629  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6630  1.39    fredb 
   6631   1.1       tv eval "$as_ac_var=no"
   6632   1.1       tv fi
   6633   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6634   1.1       tv fi
   6635  1.39    fredb echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6636   1.1       tv echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6637   1.1       tv if test `eval echo '${'$as_ac_var'}'` = yes; then
   6638  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6639   1.1       tv #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6640  1.39    fredb _ACEOF
   6641   1.1       tv 
   6642   1.1       tv fi
   6643   1.1       tv done
   6644   1.1       tv 
   6645  1.39    fredb 
   6646  1.39    fredb echo "$as_me:$LINENO: checking whether setgroupent is declared" >&5
   6647   1.8       tv echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   6648   1.8       tv if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   6649   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6650   1.8       tv else
   6651   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   6652  1.39    fredb #line $LINENO "configure"
   6653  1.39    fredb /* confdefs.h.  */
   6654  1.39    fredb _ACEOF
   6655  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6656  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6657  1.39    fredb /* end confdefs.h.  */
   6658   1.8       tv 
   6659  1.33  thorpej #include <sys/types.h>
   6660   1.8       tv #include <grp.h>
   6661   1.8       tv #include <pwd.h>
   6662   1.8       tv 
   6663  1.39    fredb 
   6664   1.8       tv int
   6665   1.8       tv main ()
   6666   1.8       tv {
   6667   1.8       tv #ifndef setgroupent
   6668   1.8       tv   char *p = (char *) setgroupent;
   6669   1.8       tv #endif
   6670   1.8       tv 
   6671   1.8       tv   ;
   6672   1.8       tv   return 0;
   6673   1.8       tv }
   6674   1.8       tv _ACEOF
   6675   1.8       tv rm -f conftest.$ac_objext
   6676  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6677   1.8       tv   (eval $ac_compile) 2>&5
   6678   1.8       tv   ac_status=$?
   6679  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6680   1.8       tv   (exit $ac_status); } &&
   6681   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   6682  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6683   1.8       tv   (eval $ac_try) 2>&5
   6684   1.8       tv   ac_status=$?
   6685  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6686   1.8       tv   (exit $ac_status); }; }; then
   6687   1.8       tv   ac_cv_have_decl_setgroupent=yes
   6688   1.8       tv else
   6689   1.8       tv   echo "$as_me: failed program was:" >&5
   6690  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6691  1.39    fredb 
   6692   1.8       tv ac_cv_have_decl_setgroupent=no
   6693   1.8       tv fi
   6694   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   6695   1.8       tv fi
   6696  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
   6697   1.8       tv echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   6698   1.8       tv if test $ac_cv_have_decl_setgroupent = yes; then
   6699   1.8       tv 
   6700  1.39    fredb cat >>confdefs.h <<_ACEOF
   6701   1.8       tv #define HAVE_DECL_SETGROUPENT 1
   6702  1.39    fredb _ACEOF
   6703  1.39    fredb 
   6704   1.8       tv 
   6705   1.8       tv else
   6706  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6707   1.8       tv #define HAVE_DECL_SETGROUPENT 0
   6708  1.39    fredb _ACEOF
   6709  1.39    fredb 
   6710   1.8       tv 
   6711   1.8       tv fi
   6712  1.39    fredb echo "$as_me:$LINENO: checking whether setpassent is declared" >&5
   6713   1.8       tv echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   6714   1.8       tv if test "${ac_cv_have_decl_setpassent+set}" = set; then
   6715   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6716   1.8       tv else
   6717   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   6718  1.39    fredb #line $LINENO "configure"
   6719  1.39    fredb /* confdefs.h.  */
   6720  1.39    fredb _ACEOF
   6721  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6722  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6723  1.39    fredb /* end confdefs.h.  */
   6724   1.8       tv 
   6725  1.33  thorpej #include <sys/types.h>
   6726   1.8       tv #include <grp.h>
   6727   1.8       tv #include <pwd.h>
   6728   1.8       tv 
   6729  1.39    fredb 
   6730   1.8       tv int
   6731   1.8       tv main ()
   6732   1.8       tv {
   6733   1.8       tv #ifndef setpassent
   6734   1.8       tv   char *p = (char *) setpassent;
   6735   1.8       tv #endif
   6736   1.8       tv 
   6737   1.8       tv   ;
   6738   1.8       tv   return 0;
   6739   1.8       tv }
   6740   1.8       tv _ACEOF
   6741   1.8       tv rm -f conftest.$ac_objext
   6742  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6743   1.8       tv   (eval $ac_compile) 2>&5
   6744   1.8       tv   ac_status=$?
   6745  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6746   1.8       tv   (exit $ac_status); } &&
   6747   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   6748  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6749   1.8       tv   (eval $ac_try) 2>&5
   6750   1.8       tv   ac_status=$?
   6751  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6752   1.8       tv   (exit $ac_status); }; }; then
   6753   1.8       tv   ac_cv_have_decl_setpassent=yes
   6754   1.8       tv else
   6755   1.8       tv   echo "$as_me: failed program was:" >&5
   6756  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6757  1.39    fredb 
   6758   1.8       tv ac_cv_have_decl_setpassent=no
   6759   1.8       tv fi
   6760   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   6761   1.8       tv fi
   6762  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
   6763   1.8       tv echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   6764   1.8       tv if test $ac_cv_have_decl_setpassent = yes; then
   6765   1.8       tv 
   6766  1.39    fredb cat >>confdefs.h <<_ACEOF
   6767   1.8       tv #define HAVE_DECL_SETPASSENT 1
   6768  1.39    fredb _ACEOF
   6769  1.39    fredb 
   6770   1.8       tv 
   6771   1.8       tv else
   6772  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6773   1.8       tv #define HAVE_DECL_SETPASSENT 0
   6774  1.39    fredb _ACEOF
   6775  1.39    fredb 
   6776   1.8       tv 
   6777   1.8       tv fi
   6778   1.8       tv 
   6779  1.39    fredb 
   6780  1.39    fredb 
   6781   1.4       tv # regcomp() and regexec() are also names of functions in the old V8
   6782   1.4       tv # regexp package.  To avoid them, we need to find out who has regfree().
   6783   1.4       tv 
   6784  1.39    fredb 
   6785  1.39    fredb echo "$as_me:$LINENO: checking for regfree in -lregex" >&5
   6786   1.4       tv echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   6787   1.4       tv if test "${ac_cv_lib_regex_regfree+set}" = set; then
   6788   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6789   1.4       tv else
   6790   1.4       tv   ac_check_lib_save_LIBS=$LIBS
   6791   1.4       tv LIBS="-lregex  $LIBS"
   6792   1.4       tv cat >conftest.$ac_ext <<_ACEOF
   6793  1.39    fredb #line $LINENO "configure"
   6794  1.39    fredb /* confdefs.h.  */
   6795  1.39    fredb _ACEOF
   6796  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6797  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6798  1.39    fredb /* end confdefs.h.  */
   6799   1.4       tv 
   6800   1.4       tv /* Override any gcc2 internal prototype to avoid an error.  */
   6801   1.4       tv #ifdef __cplusplus
   6802   1.4       tv extern "C"
   6803   1.4       tv #endif
   6804   1.4       tv /* We use char because int might match the return type of a gcc2
   6805   1.4       tv    builtin and then its argument prototype would still apply.  */
   6806   1.4       tv char regfree ();
   6807   1.4       tv int
   6808   1.4       tv main ()
   6809   1.4       tv {
   6810   1.4       tv regfree ();
   6811   1.4       tv   ;
   6812   1.4       tv   return 0;
   6813   1.4       tv }
   6814   1.4       tv _ACEOF
   6815   1.4       tv rm -f conftest.$ac_objext conftest$ac_exeext
   6816  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6817   1.4       tv   (eval $ac_link) 2>&5
   6818   1.4       tv   ac_status=$?
   6819  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6820   1.4       tv   (exit $ac_status); } &&
   6821   1.4       tv          { ac_try='test -s conftest$ac_exeext'
   6822  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6823   1.4       tv   (eval $ac_try) 2>&5
   6824   1.4       tv   ac_status=$?
   6825  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6826   1.4       tv   (exit $ac_status); }; }; then
   6827   1.4       tv   ac_cv_lib_regex_regfree=yes
   6828   1.4       tv else
   6829   1.4       tv   echo "$as_me: failed program was:" >&5
   6830  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6831  1.39    fredb 
   6832   1.4       tv ac_cv_lib_regex_regfree=no
   6833   1.4       tv fi
   6834   1.4       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6835   1.4       tv LIBS=$ac_check_lib_save_LIBS
   6836   1.4       tv fi
   6837  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
   6838   1.4       tv echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   6839   1.4       tv if test $ac_cv_lib_regex_regfree = yes; then
   6840  1.39    fredb   cat >>confdefs.h <<_ACEOF
   6841   1.4       tv #define HAVE_LIBREGEX 1
   6842  1.39    fredb _ACEOF
   6843   1.4       tv 
   6844   1.4       tv   LIBS="-lregex $LIBS"
   6845   1.4       tv 
   6846   1.4       tv fi
   6847   1.4       tv 
   6848  1.39    fredb echo "$as_me:$LINENO: checking for library containing regfree" >&5
   6849   1.4       tv echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   6850   1.4       tv if test "${ac_cv_search_regfree+set}" = set; then
   6851   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   6852   1.1       tv else
   6853   1.1       tv   ac_func_search_save_LIBS=$LIBS
   6854   1.4       tv ac_cv_search_regfree=no
   6855   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   6856  1.39    fredb #line $LINENO "configure"
   6857  1.39    fredb /* confdefs.h.  */
   6858  1.39    fredb _ACEOF
   6859  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6860  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6861  1.39    fredb /* end confdefs.h.  */
   6862   1.1       tv 
   6863   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   6864   1.1       tv #ifdef __cplusplus
   6865   1.1       tv extern "C"
   6866   1.1       tv #endif
   6867   1.1       tv /* We use char because int might match the return type of a gcc2
   6868   1.1       tv    builtin and then its argument prototype would still apply.  */
   6869   1.4       tv char regfree ();
   6870   1.1       tv int
   6871   1.1       tv main ()
   6872   1.1       tv {
   6873   1.4       tv regfree ();
   6874   1.1       tv   ;
   6875   1.1       tv   return 0;
   6876   1.1       tv }
   6877   1.1       tv _ACEOF
   6878   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   6879  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6880   1.1       tv   (eval $ac_link) 2>&5
   6881   1.1       tv   ac_status=$?
   6882  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6883   1.1       tv   (exit $ac_status); } &&
   6884   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   6885  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6886   1.1       tv   (eval $ac_try) 2>&5
   6887   1.1       tv   ac_status=$?
   6888  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6889   1.1       tv   (exit $ac_status); }; }; then
   6890   1.4       tv   ac_cv_search_regfree="none required"
   6891   1.1       tv else
   6892   1.1       tv   echo "$as_me: failed program was:" >&5
   6893  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6894  1.39    fredb 
   6895   1.1       tv fi
   6896   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6897   1.4       tv if test "$ac_cv_search_regfree" = no; then
   6898   1.4       tv   for ac_lib in rx posix; do
   6899   1.1       tv     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6900   1.1       tv     cat >conftest.$ac_ext <<_ACEOF
   6901  1.39    fredb #line $LINENO "configure"
   6902  1.39    fredb /* confdefs.h.  */
   6903  1.39    fredb _ACEOF
   6904  1.39    fredb cat confdefs.h >>conftest.$ac_ext
   6905  1.39    fredb cat >>conftest.$ac_ext <<_ACEOF
   6906  1.39    fredb /* end confdefs.h.  */
   6907   1.1       tv 
   6908   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   6909   1.1       tv #ifdef __cplusplus
   6910   1.1       tv extern "C"
   6911   1.1       tv #endif
   6912   1.1       tv /* We use char because int might match the return type of a gcc2
   6913   1.1       tv    builtin and then its argument prototype would still apply.  */
   6914   1.4       tv char regfree ();
   6915   1.1       tv int
   6916   1.1       tv main ()
   6917   1.1       tv {
   6918   1.4       tv regfree ();
   6919   1.1       tv   ;
   6920   1.1       tv   return 0;
   6921   1.1       tv }
   6922   1.1       tv _ACEOF
   6923   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   6924  1.39    fredb if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6925   1.1       tv   (eval $ac_link) 2>&5
   6926   1.1       tv   ac_status=$?
   6927  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6928   1.1       tv   (exit $ac_status); } &&
   6929   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   6930  1.39    fredb   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6931   1.1       tv   (eval $ac_try) 2>&5
   6932   1.1       tv   ac_status=$?
   6933  1.39    fredb   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6934   1.1       tv   (exit $ac_status); }; }; then
   6935   1.4       tv   ac_cv_search_regfree="-l$ac_lib"
   6936   1.1       tv break
   6937   1.1       tv else
   6938   1.1       tv   echo "$as_me: failed program was:" >&5
   6939  1.39    fredb sed 's/^/| /' conftest.$ac_ext >&5
   6940  1.39    fredb 
   6941   1.1       tv fi
   6942   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6943   1.1       tv   done
   6944   1.1       tv fi
   6945   1.1       tv LIBS=$ac_func_search_save_LIBS
   6946   1.1       tv fi
   6947  1.39    fredb echo "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
   6948   1.4       tv echo "${ECHO_T}$ac_cv_search_regfree" >&6
   6949   1.4       tv if test "$ac_cv_search_regfree" != no; then
   6950   1.4       tv   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   6951   1.1       tv 
   6952   1.1       tv fi
   6953   1.1       tv 
   6954  1.39    fredb 
   6955   1.1       tv cat >confcache <<\_ACEOF
   6956   1.1       tv # This file is a shell script that caches the results of configure
   6957   1.1       tv # tests run on this system so they can be shared between configure
   6958   1.1       tv # scripts and configure runs, see configure's option --config-cache.
   6959   1.1       tv # It is not useful on other systems.  If it contains results you don't
   6960   1.1       tv # want to keep, you may remove or edit it.
   6961   1.1       tv #
   6962   1.1       tv # config.status only pays attention to the cache file if you give it
   6963   1.1       tv # the --recheck option to rerun configure.
   6964   1.1       tv #
   6965  1.39    fredb # `ac_cv_env_foo' variables (set or unset) will be overridden when
   6966   1.1       tv # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6967   1.1       tv # following values.
   6968   1.1       tv 
   6969   1.1       tv _ACEOF
   6970   1.1       tv 
   6971   1.1       tv # The following way of writing the cache mishandles newlines in values,
   6972   1.1       tv # but we know of no workaround that is simple, portable, and efficient.
   6973   1.1       tv # So, don't put newlines in cache variables' values.
   6974   1.1       tv # Ultrix sh set writes to stderr and can't be redirected directly,
   6975   1.1       tv # and sets the high bit in the cache file unless we assign to the vars.
   6976   1.1       tv {
   6977   1.1       tv   (set) 2>&1 |
   6978   1.1       tv     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   6979   1.1       tv     *ac_space=\ *)
   6980   1.1       tv       # `set' does not quote correctly, so add quotes (double-quote
   6981   1.1       tv       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6982   1.1       tv       sed -n \
   6983   1.1       tv         "s/'/'\\\\''/g;
   6984   1.1       tv     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6985   1.1       tv       ;;
   6986   1.1       tv     *)
   6987   1.1       tv       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6988   1.1       tv       sed -n \
   6989   1.1       tv         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   6990   1.1       tv       ;;
   6991   1.1       tv     esac;
   6992   1.1       tv } |
   6993   1.1       tv   sed '
   6994   1.1       tv      t clear
   6995   1.1       tv      : clear
   6996   1.1       tv      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6997   1.1       tv      t end
   6998   1.1       tv      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6999   1.1       tv      : end' >>confcache
   7000  1.39    fredb if diff $cache_file confcache >/dev/null 2>&1; then :; else
   7001   1.1       tv   if test -w $cache_file; then
   7002   1.1       tv     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   7003   1.1       tv     cat confcache >$cache_file
   7004   1.1       tv   else
   7005   1.1       tv     echo "not updating unwritable cache $cache_file"
   7006   1.1       tv   fi
   7007   1.1       tv fi
   7008   1.1       tv rm -f confcache
   7009   1.1       tv 
   7010   1.1       tv test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7011   1.1       tv # Let make expand exec_prefix.
   7012   1.1       tv test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7013   1.1       tv 
   7014   1.1       tv # VPATH may cause trouble with some makes, so we remove $(srcdir),
   7015   1.1       tv # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   7016   1.1       tv # trailing colons and then remove the whole line if VPATH becomes empty
   7017   1.1       tv # (actually we leave an empty line to preserve line numbers).
   7018   1.1       tv if test "x$srcdir" = x.; then
   7019   1.1       tv   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   7020   1.1       tv s/:*\$(srcdir):*/:/;
   7021   1.1       tv s/:*\${srcdir}:*/:/;
   7022   1.1       tv s/:*@srcdir@:*/:/;
   7023   1.1       tv s/^\([^=]*=[ 	]*\):*/\1/;
   7024   1.1       tv s/:*$//;
   7025   1.1       tv s/^[^=]*=[ 	]*$//;
   7026   1.1       tv }'
   7027   1.1       tv fi
   7028   1.1       tv 
   7029   1.1       tv DEFS=-DHAVE_CONFIG_H
   7030   1.1       tv 
   7031  1.39    fredb ac_libobjs=
   7032  1.39    fredb ac_ltlibobjs=
   7033  1.39    fredb for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7034  1.39    fredb   # 1. Remove the extension, and $U if already installed.
   7035  1.39    fredb   ac_i=`echo "$ac_i" |
   7036  1.39    fredb          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   7037  1.39    fredb   # 2. Add them.
   7038  1.39    fredb   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   7039  1.39    fredb   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   7040  1.39    fredb done
   7041  1.39    fredb LIBOBJS=$ac_libobjs
   7042  1.39    fredb 
   7043  1.39    fredb LTLIBOBJS=$ac_ltlibobjs
   7044  1.39    fredb 
   7045  1.39    fredb 
   7046  1.39    fredb 
   7047   1.1       tv : ${CONFIG_STATUS=./config.status}
   7048   1.1       tv ac_clean_files_save=$ac_clean_files
   7049   1.1       tv ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7050  1.39    fredb { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   7051   1.1       tv echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7052   1.1       tv cat >$CONFIG_STATUS <<_ACEOF
   7053   1.1       tv #! $SHELL
   7054  1.39    fredb # Generated by $as_me.
   7055   1.1       tv # Run this file to recreate the current configuration.
   7056   1.1       tv # Compiler output produced by configure, useful for debugging
   7057   1.1       tv # configure, is in config.log if it exists.
   7058   1.1       tv 
   7059   1.1       tv debug=false
   7060  1.39    fredb ac_cs_recheck=false
   7061  1.39    fredb ac_cs_silent=false
   7062   1.1       tv SHELL=\${CONFIG_SHELL-$SHELL}
   7063   1.1       tv _ACEOF
   7064   1.1       tv 
   7065   1.1       tv cat >>$CONFIG_STATUS <<\_ACEOF
   7066  1.39    fredb ## --------------------- ##
   7067  1.39    fredb ## M4sh Initialization.  ##
   7068  1.39    fredb ## --------------------- ##
   7069  1.39    fredb 
   7070   1.1       tv # Be Bourne compatible
   7071   1.1       tv if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   7072   1.1       tv   emulate sh
   7073   1.1       tv   NULLCMD=:
   7074  1.39    fredb   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   7075  1.39    fredb   # is contrary to our usage.  Disable this feature.
   7076  1.39    fredb   alias -g '${1+"$@"}'='"$@"'
   7077   1.1       tv elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   7078   1.1       tv   set -o posix
   7079   1.1       tv fi
   7080   1.1       tv 
   7081  1.39    fredb # Support unset when possible.
   7082  1.39    fredb if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   7083  1.39    fredb   as_unset=unset
   7084  1.39    fredb else
   7085  1.39    fredb   as_unset=false
   7086  1.39    fredb fi
   7087  1.39    fredb 
   7088  1.39    fredb 
   7089  1.39    fredb # Work around bugs in pre-3.0 UWIN ksh.
   7090  1.39    fredb $as_unset ENV MAIL MAILPATH
   7091  1.39    fredb PS1='$ '
   7092  1.39    fredb PS2='> '
   7093  1.39    fredb PS4='+ '
   7094  1.39    fredb 
   7095  1.39    fredb # NLS nuisances.
   7096  1.39    fredb for as_var in \
   7097  1.39    fredb   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   7098  1.39    fredb   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   7099  1.39    fredb   LC_TELEPHONE LC_TIME
   7100  1.39    fredb do
   7101  1.39    fredb   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
   7102  1.39    fredb     eval $as_var=C; export $as_var
   7103  1.39    fredb   else
   7104  1.39    fredb     $as_unset $as_var
   7105  1.39    fredb   fi
   7106  1.39    fredb done
   7107  1.39    fredb 
   7108  1.39    fredb # Required to use basename.
   7109  1.39    fredb if expr a : '\(a\)' >/dev/null 2>&1; then
   7110  1.39    fredb   as_expr=expr
   7111  1.39    fredb else
   7112  1.39    fredb   as_expr=false
   7113  1.39    fredb fi
   7114  1.39    fredb 
   7115  1.39    fredb if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   7116  1.39    fredb   as_basename=basename
   7117  1.39    fredb else
   7118  1.39    fredb   as_basename=false
   7119  1.39    fredb fi
   7120  1.39    fredb 
   7121  1.39    fredb 
   7122   1.1       tv # Name of the executable.
   7123  1.39    fredb as_me=`$as_basename "$0" ||
   7124  1.39    fredb $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7125  1.39    fredb 	 X"$0" : 'X\(//\)$' \| \
   7126  1.39    fredb 	 X"$0" : 'X\(/\)$' \| \
   7127  1.39    fredb 	 .     : '\(.\)' 2>/dev/null ||
   7128  1.39    fredb echo X/"$0" |
   7129  1.39    fredb     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   7130  1.39    fredb   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   7131  1.39    fredb   	  /^X\/\(\/\).*/{ s//\1/; q; }
   7132  1.39    fredb   	  s/.*/./; q'`
   7133  1.39    fredb 
   7134  1.39    fredb 
   7135  1.39    fredb # PATH needs CR, and LINENO needs CR and PATH.
   7136  1.39    fredb # Avoid depending upon Character Ranges.
   7137  1.39    fredb as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7138  1.39    fredb as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7139  1.39    fredb as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7140  1.39    fredb as_cr_digits='0123456789'
   7141  1.39    fredb as_cr_alnum=$as_cr_Letters$as_cr_digits
   7142  1.39    fredb 
   7143  1.39    fredb # The user is always right.
   7144  1.39    fredb if test "${PATH_SEPARATOR+set}" != set; then
   7145  1.39    fredb   echo "#! /bin/sh" >conf$$.sh
   7146  1.39    fredb   echo  "exit 0"   >>conf$$.sh
   7147  1.39    fredb   chmod +x conf$$.sh
   7148  1.39    fredb   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7149  1.39    fredb     PATH_SEPARATOR=';'
   7150  1.39    fredb   else
   7151  1.39    fredb     PATH_SEPARATOR=:
   7152  1.39    fredb   fi
   7153  1.39    fredb   rm -f conf$$.sh
   7154  1.39    fredb fi
   7155  1.39    fredb 
   7156  1.39    fredb 
   7157  1.39    fredb   as_lineno_1=$LINENO
   7158  1.39    fredb   as_lineno_2=$LINENO
   7159  1.39    fredb   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   7160  1.39    fredb   test "x$as_lineno_1" != "x$as_lineno_2" &&
   7161  1.39    fredb   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   7162  1.39    fredb   # Find who we are.  Look in the path if we contain no path at all
   7163  1.39    fredb   # relative or not.
   7164  1.39    fredb   case $0 in
   7165  1.39    fredb     *[\\/]* ) as_myself=$0 ;;
   7166  1.39    fredb     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7167  1.39    fredb for as_dir in $PATH
   7168  1.39    fredb do
   7169  1.39    fredb   IFS=$as_save_IFS
   7170  1.39    fredb   test -z "$as_dir" && as_dir=.
   7171  1.39    fredb   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7172  1.39    fredb done
   7173  1.39    fredb 
   7174  1.39    fredb        ;;
   7175  1.39    fredb   esac
   7176  1.39    fredb   # We did not find ourselves, most probably we were run as `sh COMMAND'
   7177  1.39    fredb   # in which case we are not to be found in the path.
   7178  1.39    fredb   if test "x$as_myself" = x; then
   7179  1.39    fredb     as_myself=$0
   7180  1.39    fredb   fi
   7181  1.39    fredb   if test ! -f "$as_myself"; then
   7182  1.39    fredb     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   7183  1.39    fredb echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   7184  1.39    fredb    { (exit 1); exit 1; }; }
   7185  1.39    fredb   fi
   7186  1.39    fredb   case $CONFIG_SHELL in
   7187  1.39    fredb   '')
   7188  1.39    fredb     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7189  1.39    fredb for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   7190  1.39    fredb do
   7191  1.39    fredb   IFS=$as_save_IFS
   7192  1.39    fredb   test -z "$as_dir" && as_dir=.
   7193  1.39    fredb   for as_base in sh bash ksh sh5; do
   7194  1.39    fredb 	 case $as_dir in
   7195  1.39    fredb 	 /*)
   7196  1.39    fredb 	   if ("$as_dir/$as_base" -c '
   7197  1.39    fredb   as_lineno_1=$LINENO
   7198  1.39    fredb   as_lineno_2=$LINENO
   7199  1.39    fredb   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   7200  1.39    fredb   test "x$as_lineno_1" != "x$as_lineno_2" &&
   7201  1.39    fredb   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   7202  1.39    fredb 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   7203  1.39    fredb 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   7204  1.39    fredb 	     CONFIG_SHELL=$as_dir/$as_base
   7205  1.39    fredb 	     export CONFIG_SHELL
   7206  1.39    fredb 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   7207  1.39    fredb 	   fi;;
   7208  1.39    fredb 	 esac
   7209  1.39    fredb        done
   7210  1.39    fredb done
   7211  1.39    fredb ;;
   7212  1.39    fredb   esac
   7213  1.39    fredb 
   7214  1.39    fredb   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   7215  1.39    fredb   # uniformly replaced by the line number.  The first 'sed' inserts a
   7216  1.39    fredb   # line-number line before each line; the second 'sed' does the real
   7217  1.39    fredb   # work.  The second script uses 'N' to pair each line-number line
   7218  1.39    fredb   # with the numbered line, and appends trailing '-' during
   7219  1.39    fredb   # substitution so that $LINENO is not a special case at line end.
   7220  1.39    fredb   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   7221  1.39    fredb   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   7222  1.39    fredb   sed '=' <$as_myself |
   7223  1.39    fredb     sed '
   7224  1.39    fredb       N
   7225  1.39    fredb       s,$,-,
   7226  1.39    fredb       : loop
   7227  1.39    fredb       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   7228  1.39    fredb       t loop
   7229  1.39    fredb       s,-$,,
   7230  1.39    fredb       s,^['$as_cr_digits']*\n,,
   7231  1.39    fredb     ' >$as_me.lineno &&
   7232  1.39    fredb   chmod +x $as_me.lineno ||
   7233  1.39    fredb     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   7234  1.39    fredb echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   7235  1.39    fredb    { (exit 1); exit 1; }; }
   7236  1.39    fredb 
   7237  1.39    fredb   # Don't try to exec as it changes $[0], causing all sort of problems
   7238  1.39    fredb   # (the dirname of $[0] is not the place where we might find the
   7239  1.39    fredb   # original and so on.  Autoconf is especially sensible to this).
   7240  1.39    fredb   . ./$as_me.lineno
   7241  1.39    fredb   # Exit status is that of the last command.
   7242  1.39    fredb   exit
   7243  1.39    fredb }
   7244  1.39    fredb 
   7245  1.39    fredb 
   7246  1.39    fredb case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   7247  1.39    fredb   *c*,-n*) ECHO_N= ECHO_C='
   7248  1.39    fredb ' ECHO_T='	' ;;
   7249  1.39    fredb   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   7250  1.39    fredb   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   7251  1.39    fredb esac
   7252   1.1       tv 
   7253   1.1       tv if expr a : '\(a\)' >/dev/null 2>&1; then
   7254   1.1       tv   as_expr=expr
   7255   1.1       tv else
   7256   1.1       tv   as_expr=false
   7257   1.1       tv fi
   7258   1.1       tv 
   7259   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
   7260   1.1       tv echo >conf$$.file
   7261   1.1       tv if ln -s conf$$.file conf$$ 2>/dev/null; then
   7262   1.1       tv   # We could just check for DJGPP; but this test a) works b) is more generic
   7263   1.1       tv   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   7264   1.1       tv   if test -f conf$$.exe; then
   7265   1.1       tv     # Don't use ln at all; we don't have any links
   7266   1.1       tv     as_ln_s='cp -p'
   7267   1.1       tv   else
   7268   1.1       tv     as_ln_s='ln -s'
   7269   1.1       tv   fi
   7270   1.1       tv elif ln conf$$.file conf$$ 2>/dev/null; then
   7271   1.1       tv   as_ln_s=ln
   7272   1.1       tv else
   7273   1.1       tv   as_ln_s='cp -p'
   7274   1.1       tv fi
   7275   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
   7276   1.1       tv 
   7277  1.39    fredb if mkdir -p . 2>/dev/null; then
   7278  1.39    fredb   as_mkdir_p=:
   7279  1.39    fredb else
   7280  1.39    fredb   as_mkdir_p=false
   7281  1.39    fredb fi
   7282  1.39    fredb 
   7283   1.1       tv as_executable_p="test -f"
   7284   1.1       tv 
   7285  1.39    fredb # Sed expression to map a string onto a valid CPP name.
   7286  1.39    fredb as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   7287  1.39    fredb 
   7288  1.39    fredb # Sed expression to map a string onto a valid variable name.
   7289  1.39    fredb as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   7290   1.1       tv 
   7291   1.1       tv 
   7292   1.1       tv # IFS
   7293   1.1       tv # We need space, tab and new line, in precisely that order.
   7294   1.1       tv as_nl='
   7295   1.1       tv '
   7296   1.1       tv IFS=" 	$as_nl"
   7297   1.1       tv 
   7298   1.1       tv # CDPATH.
   7299  1.39    fredb $as_unset CDPATH
   7300   1.1       tv 
   7301   1.1       tv exec 6>&1
   7302   1.1       tv 
   7303  1.39    fredb # Open the log real soon, to keep \$[0] and so on meaningful, and to
   7304  1.39    fredb # report actual input values of CONFIG_FILES etc. instead of their
   7305  1.39    fredb # values after options handling.  Logging --version etc. is OK.
   7306  1.39    fredb exec 5>>config.log
   7307  1.39    fredb {
   7308  1.39    fredb   echo
   7309  1.39    fredb   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   7310  1.39    fredb ## Running $as_me. ##
   7311  1.39    fredb _ASBOX
   7312  1.39    fredb } >&5
   7313  1.39    fredb cat >&5 <<_CSEOF
   7314  1.39    fredb 
   7315  1.39    fredb This file was extended by libnbcompat $as_me noversion, which was
   7316  1.39    fredb generated by GNU Autoconf 2.57.  Invocation command line was
   7317  1.39    fredb 
   7318  1.39    fredb   CONFIG_FILES    = $CONFIG_FILES
   7319  1.39    fredb   CONFIG_HEADERS  = $CONFIG_HEADERS
   7320  1.39    fredb   CONFIG_LINKS    = $CONFIG_LINKS
   7321  1.39    fredb   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7322  1.39    fredb   $ $0 $@
   7323  1.39    fredb 
   7324  1.39    fredb _CSEOF
   7325  1.39    fredb echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   7326  1.39    fredb echo >&5
   7327   1.1       tv _ACEOF
   7328   1.1       tv 
   7329   1.1       tv # Files that config.status was made for.
   7330   1.1       tv if test -n "$ac_config_files"; then
   7331   1.1       tv   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   7332   1.1       tv fi
   7333   1.1       tv 
   7334   1.1       tv if test -n "$ac_config_headers"; then
   7335   1.1       tv   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   7336   1.1       tv fi
   7337   1.1       tv 
   7338   1.1       tv if test -n "$ac_config_links"; then
   7339   1.1       tv   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   7340   1.1       tv fi
   7341   1.1       tv 
   7342   1.1       tv if test -n "$ac_config_commands"; then
   7343   1.1       tv   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   7344   1.1       tv fi
   7345   1.1       tv 
   7346  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7347   1.1       tv 
   7348   1.1       tv ac_cs_usage="\
   7349   1.1       tv \`$as_me' instantiates files from templates according to the
   7350   1.1       tv current configuration.
   7351   1.1       tv 
   7352   1.1       tv Usage: $0 [OPTIONS] [FILE]...
   7353   1.1       tv 
   7354   1.1       tv   -h, --help       print this help, then exit
   7355   1.1       tv   -V, --version    print version number, then exit
   7356  1.39    fredb   -q, --quiet      do not print progress messages
   7357   1.1       tv   -d, --debug      don't remove temporary files
   7358   1.1       tv       --recheck    update $as_me by reconfiguring in the same conditions
   7359   1.1       tv   --file=FILE[:TEMPLATE]
   7360   1.1       tv                    instantiate the configuration file FILE
   7361   1.1       tv   --header=FILE[:TEMPLATE]
   7362   1.1       tv                    instantiate the configuration header FILE
   7363   1.1       tv 
   7364   1.1       tv Configuration files:
   7365   1.1       tv $config_files
   7366   1.1       tv 
   7367   1.1       tv Configuration headers:
   7368   1.1       tv $config_headers
   7369   1.1       tv 
   7370   1.1       tv Report bugs to <bug-autoconf@gnu.org>."
   7371  1.39    fredb _ACEOF
   7372   1.1       tv 
   7373  1.39    fredb cat >>$CONFIG_STATUS <<_ACEOF
   7374   1.1       tv ac_cs_version="\\
   7375   1.1       tv libnbcompat config.status noversion
   7376  1.39    fredb configured by $0, generated by GNU Autoconf 2.57,
   7377   1.1       tv   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   7378   1.1       tv 
   7379   1.1       tv Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   7380   1.1       tv Free Software Foundation, Inc.
   7381   1.1       tv This config.status script is free software; the Free Software Foundation
   7382   1.1       tv gives unlimited permission to copy, distribute and modify it."
   7383   1.1       tv srcdir=$srcdir
   7384  1.39    fredb _ACEOF
   7385   1.1       tv 
   7386  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7387   1.1       tv # If no file are specified by the user, then we need to provide default
   7388   1.1       tv # value.  By we need to know if files were specified by the user.
   7389   1.1       tv ac_need_defaults=:
   7390   1.1       tv while test $# != 0
   7391   1.1       tv do
   7392   1.1       tv   case $1 in
   7393   1.1       tv   --*=*)
   7394   1.1       tv     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   7395   1.1       tv     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   7396  1.39    fredb     ac_shift=:
   7397  1.39    fredb     ;;
   7398  1.39    fredb   -*)
   7399  1.39    fredb     ac_option=$1
   7400  1.39    fredb     ac_optarg=$2
   7401  1.39    fredb     ac_shift=shift
   7402   1.1       tv     ;;
   7403   1.1       tv   *) # This is not an option, so the user has probably given explicit
   7404   1.1       tv      # arguments.
   7405  1.39    fredb      ac_option=$1
   7406   1.1       tv      ac_need_defaults=false;;
   7407   1.1       tv   esac
   7408   1.1       tv 
   7409  1.39    fredb   case $ac_option in
   7410   1.1       tv   # Handling of the options.
   7411  1.39    fredb _ACEOF
   7412  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7413   1.1       tv   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7414  1.39    fredb     ac_cs_recheck=: ;;
   7415   1.1       tv   --version | --vers* | -V )
   7416   1.1       tv     echo "$ac_cs_version"; exit 0 ;;
   7417   1.1       tv   --he | --h)
   7418   1.1       tv     # Conflict between --help and --header
   7419  1.39    fredb     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   7420   1.1       tv Try \`$0 --help' for more information." >&5
   7421   1.1       tv echo "$as_me: error: ambiguous option: $1
   7422   1.1       tv Try \`$0 --help' for more information." >&2;}
   7423   1.1       tv    { (exit 1); exit 1; }; };;
   7424   1.1       tv   --help | --hel | -h )
   7425   1.1       tv     echo "$ac_cs_usage"; exit 0 ;;
   7426   1.1       tv   --debug | --d* | -d )
   7427   1.1       tv     debug=: ;;
   7428   1.1       tv   --file | --fil | --fi | --f )
   7429  1.39    fredb     $ac_shift
   7430  1.39    fredb     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   7431   1.1       tv     ac_need_defaults=false;;
   7432   1.1       tv   --header | --heade | --head | --hea )
   7433  1.39    fredb     $ac_shift
   7434  1.39    fredb     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   7435   1.1       tv     ac_need_defaults=false;;
   7436  1.39    fredb   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   7437  1.39    fredb   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   7438  1.39    fredb     ac_cs_silent=: ;;
   7439   1.1       tv 
   7440   1.1       tv   # This is an error.
   7441  1.39    fredb   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   7442   1.1       tv Try \`$0 --help' for more information." >&5
   7443   1.1       tv echo "$as_me: error: unrecognized option: $1
   7444   1.1       tv Try \`$0 --help' for more information." >&2;}
   7445   1.1       tv    { (exit 1); exit 1; }; } ;;
   7446   1.1       tv 
   7447   1.1       tv   *) ac_config_targets="$ac_config_targets $1" ;;
   7448   1.1       tv 
   7449   1.1       tv   esac
   7450   1.1       tv   shift
   7451   1.1       tv done
   7452   1.1       tv 
   7453  1.39    fredb ac_configure_extra_args=
   7454   1.1       tv 
   7455  1.39    fredb if $ac_cs_silent; then
   7456  1.39    fredb   exec 6>/dev/null
   7457  1.39    fredb   ac_configure_extra_args="$ac_configure_extra_args --silent"
   7458  1.39    fredb fi
   7459   1.1       tv 
   7460  1.39    fredb _ACEOF
   7461  1.39    fredb cat >>$CONFIG_STATUS <<_ACEOF
   7462  1.39    fredb if \$ac_cs_recheck; then
   7463  1.39    fredb   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   7464  1.39    fredb   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   7465  1.39    fredb fi
   7466   1.1       tv 
   7467   1.1       tv _ACEOF
   7468   1.1       tv 
   7469  1.39    fredb 
   7470  1.39    fredb 
   7471  1.39    fredb 
   7472  1.39    fredb 
   7473  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7474   1.1       tv for ac_config_target in $ac_config_targets
   7475   1.1       tv do
   7476   1.1       tv   case "$ac_config_target" in
   7477   1.1       tv   # Handling of arguments.
   7478   1.1       tv   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   7479  1.42    lukem   "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   7480  1.39    fredb   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   7481   1.1       tv echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   7482   1.1       tv    { (exit 1); exit 1; }; };;
   7483   1.1       tv   esac
   7484   1.1       tv done
   7485   1.1       tv 
   7486   1.1       tv # If the user did not use the arguments to specify the items to instantiate,
   7487   1.1       tv # then the envvar interface is used.  Set only those that are not.
   7488   1.1       tv # We use the long form for the default assignment because of an extremely
   7489   1.1       tv # bizarre bug on SunOS 4.1.3.
   7490   1.1       tv if $ac_need_defaults; then
   7491   1.1       tv   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   7492   1.1       tv   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   7493   1.1       tv fi
   7494   1.1       tv 
   7495  1.39    fredb # Have a temporary directory for convenience.  Make it in the build tree
   7496  1.39    fredb # simply because there is no reason to put it here, and in addition,
   7497  1.39    fredb # creating and moving files from /tmp can sometimes cause problems.
   7498   1.1       tv # Create a temporary directory, and hook for its removal unless debugging.
   7499   1.1       tv $debug ||
   7500   1.1       tv {
   7501   1.1       tv   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   7502   1.1       tv   trap '{ (exit 1); exit 1; }' 1 2 13 15
   7503   1.1       tv }
   7504   1.1       tv 
   7505   1.1       tv # Create a (secure) tmp directory for tmp files.
   7506  1.39    fredb 
   7507   1.1       tv {
   7508  1.39    fredb   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   7509   1.1       tv   test -n "$tmp" && test -d "$tmp"
   7510   1.1       tv }  ||
   7511   1.1       tv {
   7512  1.39    fredb   tmp=./confstat$$-$RANDOM
   7513   1.1       tv   (umask 077 && mkdir $tmp)
   7514   1.1       tv } ||
   7515   1.1       tv {
   7516  1.39    fredb    echo "$me: cannot create a temporary directory in ." >&2
   7517   1.1       tv    { (exit 1); exit 1; }
   7518   1.1       tv }
   7519   1.1       tv 
   7520  1.39    fredb _ACEOF
   7521   1.1       tv 
   7522  1.39    fredb cat >>$CONFIG_STATUS <<_ACEOF
   7523   1.1       tv 
   7524   1.1       tv #
   7525   1.1       tv # CONFIG_FILES section.
   7526   1.1       tv #
   7527   1.1       tv 
   7528   1.1       tv # No need to generate the scripts if there are no CONFIG_FILES.
   7529   1.1       tv # This happens for instance when ./config.status config.h
   7530   1.1       tv if test -n "\$CONFIG_FILES"; then
   7531   1.1       tv   # Protect against being on the right side of a sed subst in config.status.
   7532   1.1       tv   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   7533   1.1       tv    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   7534   1.1       tv s,@SHELL@,$SHELL,;t t
   7535  1.39    fredb s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   7536  1.39    fredb s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   7537  1.39    fredb s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   7538  1.39    fredb s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   7539  1.39    fredb s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   7540  1.39    fredb s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   7541   1.1       tv s,@exec_prefix@,$exec_prefix,;t t
   7542   1.1       tv s,@prefix@,$prefix,;t t
   7543   1.1       tv s,@program_transform_name@,$program_transform_name,;t t
   7544   1.1       tv s,@bindir@,$bindir,;t t
   7545   1.1       tv s,@sbindir@,$sbindir,;t t
   7546   1.1       tv s,@libexecdir@,$libexecdir,;t t
   7547   1.1       tv s,@datadir@,$datadir,;t t
   7548   1.1       tv s,@sysconfdir@,$sysconfdir,;t t
   7549   1.1       tv s,@sharedstatedir@,$sharedstatedir,;t t
   7550   1.1       tv s,@localstatedir@,$localstatedir,;t t
   7551   1.1       tv s,@libdir@,$libdir,;t t
   7552   1.1       tv s,@includedir@,$includedir,;t t
   7553   1.1       tv s,@oldincludedir@,$oldincludedir,;t t
   7554   1.1       tv s,@infodir@,$infodir,;t t
   7555   1.1       tv s,@mandir@,$mandir,;t t
   7556   1.1       tv s,@build_alias@,$build_alias,;t t
   7557   1.1       tv s,@host_alias@,$host_alias,;t t
   7558   1.1       tv s,@target_alias@,$target_alias,;t t
   7559  1.39    fredb s,@DEFS@,$DEFS,;t t
   7560   1.1       tv s,@ECHO_C@,$ECHO_C,;t t
   7561   1.1       tv s,@ECHO_N@,$ECHO_N,;t t
   7562   1.1       tv s,@ECHO_T@,$ECHO_T,;t t
   7563   1.1       tv s,@LIBS@,$LIBS,;t t
   7564  1.20    bjh21 s,@BSHELL@,$BSHELL,;t t
   7565   1.1       tv s,@CC@,$CC,;t t
   7566   1.1       tv s,@CFLAGS@,$CFLAGS,;t t
   7567   1.1       tv s,@LDFLAGS@,$LDFLAGS,;t t
   7568   1.1       tv s,@CPPFLAGS@,$CPPFLAGS,;t t
   7569   1.1       tv s,@ac_ct_CC@,$ac_ct_CC,;t t
   7570   1.1       tv s,@EXEEXT@,$EXEEXT,;t t
   7571   1.1       tv s,@OBJEXT@,$OBJEXT,;t t
   7572   1.1       tv s,@CPP@,$CPP,;t t
   7573  1.39    fredb s,@EGREP@,$EGREP,;t t
   7574  1.19    bjh21 s,@ALLOCA@,$ALLOCA,;t t
   7575  1.39    fredb s,@LIBOBJS@,$LIBOBJS,;t t
   7576  1.39    fredb s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   7577   1.1       tv CEOF
   7578   1.1       tv 
   7579  1.39    fredb _ACEOF
   7580   1.1       tv 
   7581  1.39    fredb   cat >>$CONFIG_STATUS <<\_ACEOF
   7582   1.1       tv   # Split the substitutions into bite-sized pieces for seds with
   7583   1.1       tv   # small command number limits, like on Digital OSF/1 and HP-UX.
   7584   1.1       tv   ac_max_sed_lines=48
   7585   1.1       tv   ac_sed_frag=1 # Number of current file.
   7586   1.1       tv   ac_beg=1 # First line for current file.
   7587   1.1       tv   ac_end=$ac_max_sed_lines # Line after last line for current file.
   7588   1.1       tv   ac_more_lines=:
   7589   1.1       tv   ac_sed_cmds=
   7590   1.1       tv   while $ac_more_lines; do
   7591   1.1       tv     if test $ac_beg -gt 1; then
   7592   1.1       tv       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7593   1.1       tv     else
   7594   1.1       tv       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7595   1.1       tv     fi
   7596   1.1       tv     if test ! -s $tmp/subs.frag; then
   7597   1.1       tv       ac_more_lines=false
   7598   1.1       tv     else
   7599   1.1       tv       # The purpose of the label and of the branching condition is to
   7600   1.1       tv       # speed up the sed processing (if there are no `@' at all, there
   7601   1.1       tv       # is no need to browse any of the substitutions).
   7602   1.1       tv       # These are the two extra sed commands mentioned above.
   7603   1.1       tv       (echo ':t
   7604   1.1       tv   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   7605   1.1       tv       if test -z "$ac_sed_cmds"; then
   7606   1.1       tv   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   7607   1.1       tv       else
   7608   1.1       tv   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   7609   1.1       tv       fi
   7610   1.1       tv       ac_sed_frag=`expr $ac_sed_frag + 1`
   7611   1.1       tv       ac_beg=$ac_end
   7612   1.1       tv       ac_end=`expr $ac_end + $ac_max_sed_lines`
   7613   1.1       tv     fi
   7614   1.1       tv   done
   7615   1.1       tv   if test -z "$ac_sed_cmds"; then
   7616   1.1       tv     ac_sed_cmds=cat
   7617   1.1       tv   fi
   7618   1.1       tv fi # test -n "$CONFIG_FILES"
   7619   1.1       tv 
   7620  1.39    fredb _ACEOF
   7621  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7622   1.1       tv for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   7623   1.1       tv   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7624   1.1       tv   case $ac_file in
   7625   1.1       tv   - | *:- | *:-:* ) # input from stdin
   7626   1.1       tv         cat >$tmp/stdin
   7627   1.1       tv         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7628   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7629   1.1       tv   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7630   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7631   1.1       tv   * )   ac_file_in=$ac_file.in ;;
   7632   1.1       tv   esac
   7633   1.1       tv 
   7634   1.1       tv   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   7635  1.39    fredb   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7636  1.39    fredb $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7637   1.1       tv          X"$ac_file" : 'X\(//\)[^/]' \| \
   7638   1.1       tv          X"$ac_file" : 'X\(//\)$' \| \
   7639   1.1       tv          X"$ac_file" : 'X\(/\)' \| \
   7640   1.1       tv          .     : '\(.\)' 2>/dev/null ||
   7641   1.1       tv echo X"$ac_file" |
   7642   1.1       tv     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7643   1.1       tv   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7644   1.1       tv   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7645   1.1       tv   	  /^X\(\/\).*/{ s//\1/; q; }
   7646   1.1       tv   	  s/.*/./; q'`
   7647  1.39    fredb   { if $as_mkdir_p; then
   7648  1.39    fredb     mkdir -p "$ac_dir"
   7649  1.39    fredb   else
   7650  1.39    fredb     as_dir="$ac_dir"
   7651  1.39    fredb     as_dirs=
   7652  1.39    fredb     while test ! -d "$as_dir"; do
   7653  1.39    fredb       as_dirs="$as_dir $as_dirs"
   7654  1.39    fredb       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7655  1.39    fredb $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7656  1.39    fredb          X"$as_dir" : 'X\(//\)[^/]' \| \
   7657  1.39    fredb          X"$as_dir" : 'X\(//\)$' \| \
   7658  1.39    fredb          X"$as_dir" : 'X\(/\)' \| \
   7659  1.39    fredb          .     : '\(.\)' 2>/dev/null ||
   7660  1.39    fredb echo X"$as_dir" |
   7661  1.39    fredb     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7662  1.39    fredb   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7663  1.39    fredb   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7664  1.39    fredb   	  /^X\(\/\).*/{ s//\1/; q; }
   7665  1.39    fredb   	  s/.*/./; q'`
   7666  1.39    fredb     done
   7667  1.39    fredb     test ! -n "$as_dirs" || mkdir $as_dirs
   7668  1.39    fredb   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7669  1.39    fredb echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7670  1.39    fredb    { (exit 1); exit 1; }; }; }
   7671  1.39    fredb 
   7672  1.39    fredb   ac_builddir=.
   7673  1.39    fredb 
   7674  1.39    fredb if test "$ac_dir" != .; then
   7675  1.39    fredb   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   7676  1.39    fredb   # A "../" for each directory in $ac_dir_suffix.
   7677  1.39    fredb   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   7678  1.39    fredb else
   7679  1.39    fredb   ac_dir_suffix= ac_top_builddir=
   7680  1.39    fredb fi
   7681  1.39    fredb 
   7682  1.39    fredb case $srcdir in
   7683  1.39    fredb   .)  # No --srcdir option.  We are building in place.
   7684  1.39    fredb     ac_srcdir=.
   7685  1.39    fredb     if test -z "$ac_top_builddir"; then
   7686  1.39    fredb        ac_top_srcdir=.
   7687  1.39    fredb     else
   7688  1.39    fredb        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   7689  1.39    fredb     fi ;;
   7690  1.39    fredb   [\\/]* | ?:[\\/]* )  # Absolute path.
   7691  1.39    fredb     ac_srcdir=$srcdir$ac_dir_suffix;
   7692  1.39    fredb     ac_top_srcdir=$srcdir ;;
   7693  1.39    fredb   *) # Relative path.
   7694  1.39    fredb     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   7695  1.39    fredb     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   7696   1.1       tv esac
   7697  1.39    fredb # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
   7698  1.39    fredb # absolute.
   7699  1.39    fredb ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
   7700  1.39    fredb ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
   7701  1.39    fredb ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
   7702  1.39    fredb ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
   7703   1.1       tv 
   7704   1.1       tv 
   7705   1.1       tv 
   7706   1.1       tv   if test x"$ac_file" != x-; then
   7707  1.39    fredb     { echo "$as_me:$LINENO: creating $ac_file" >&5
   7708   1.1       tv echo "$as_me: creating $ac_file" >&6;}
   7709   1.1       tv     rm -f "$ac_file"
   7710   1.1       tv   fi
   7711   1.1       tv   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7712   1.1       tv   # use $as_me), people would be surprised to read:
   7713  1.39    fredb   #    /* config.h.  Generated by config.status.  */
   7714  1.39    fredb   if test x"$ac_file" = x-; then
   7715  1.39    fredb     configure_input=
   7716  1.39    fredb   else
   7717  1.39    fredb     configure_input="$ac_file.  "
   7718  1.39    fredb   fi
   7719  1.39    fredb   configure_input=$configure_input"Generated from `echo $ac_file_in |
   7720  1.39    fredb                                      sed 's,.*/,,'` by configure."
   7721   1.1       tv 
   7722   1.1       tv   # First look for the input files in the build tree, otherwise in the
   7723   1.1       tv   # src tree.
   7724   1.1       tv   ac_file_inputs=`IFS=:
   7725   1.1       tv     for f in $ac_file_in; do
   7726   1.1       tv       case $f in
   7727   1.1       tv       -) echo $tmp/stdin ;;
   7728   1.1       tv       [\\/$]*)
   7729   1.1       tv          # Absolute (can't be DOS-style, as IFS=:)
   7730  1.39    fredb          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7731   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   7732   1.1       tv    { (exit 1); exit 1; }; }
   7733   1.1       tv          echo $f;;
   7734   1.1       tv       *) # Relative
   7735   1.1       tv          if test -f "$f"; then
   7736   1.1       tv            # Build tree
   7737   1.1       tv            echo $f
   7738   1.1       tv          elif test -f "$srcdir/$f"; then
   7739   1.1       tv            # Source tree
   7740   1.1       tv            echo $srcdir/$f
   7741   1.1       tv          else
   7742   1.1       tv            # /dev/null tree
   7743  1.39    fredb            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7744   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   7745   1.1       tv    { (exit 1); exit 1; }; }
   7746   1.1       tv          fi;;
   7747   1.1       tv       esac
   7748   1.1       tv     done` || { (exit 1); exit 1; }
   7749  1.39    fredb _ACEOF
   7750  1.39    fredb cat >>$CONFIG_STATUS <<_ACEOF
   7751   1.1       tv   sed "$ac_vpsub
   7752   1.1       tv $extrasub
   7753  1.39    fredb _ACEOF
   7754  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7755   1.1       tv :t
   7756   1.1       tv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7757   1.1       tv s,@configure_input@,$configure_input,;t t
   7758   1.1       tv s,@srcdir@,$ac_srcdir,;t t
   7759  1.39    fredb s,@abs_srcdir@,$ac_abs_srcdir,;t t
   7760   1.1       tv s,@top_srcdir@,$ac_top_srcdir,;t t
   7761  1.39    fredb s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   7762  1.39    fredb s,@builddir@,$ac_builddir,;t t
   7763  1.39    fredb s,@abs_builddir@,$ac_abs_builddir,;t t
   7764  1.39    fredb s,@top_builddir@,$ac_top_builddir,;t t
   7765  1.39    fredb s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   7766   1.1       tv " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   7767   1.1       tv   rm -f $tmp/stdin
   7768   1.1       tv   if test x"$ac_file" != x-; then
   7769   1.1       tv     mv $tmp/out $ac_file
   7770   1.1       tv   else
   7771   1.1       tv     cat $tmp/out
   7772   1.1       tv     rm -f $tmp/out
   7773   1.1       tv   fi
   7774   1.1       tv 
   7775   1.1       tv done
   7776  1.39    fredb _ACEOF
   7777  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7778   1.1       tv 
   7779   1.1       tv #
   7780   1.1       tv # CONFIG_HEADER section.
   7781   1.1       tv #
   7782   1.1       tv 
   7783   1.1       tv # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   7784   1.1       tv # NAME is the cpp macro being defined and VALUE is the value it is being given.
   7785   1.1       tv #
   7786   1.1       tv # ac_d sets the value in "#define NAME VALUE" lines.
   7787   1.1       tv ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
   7788   1.1       tv ac_dB='[ 	].*$,\1#\2'
   7789   1.1       tv ac_dC=' '
   7790   1.1       tv ac_dD=',;t'
   7791   1.1       tv # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   7792   1.1       tv ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   7793   1.1       tv ac_uB='$,\1#\2define\3'
   7794   1.1       tv ac_uC=' '
   7795   1.1       tv ac_uD=',;t'
   7796   1.1       tv 
   7797   1.1       tv for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   7798   1.1       tv   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7799   1.1       tv   case $ac_file in
   7800   1.1       tv   - | *:- | *:-:* ) # input from stdin
   7801   1.1       tv         cat >$tmp/stdin
   7802   1.1       tv         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7803   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7804   1.1       tv   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7805   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7806   1.1       tv   * )   ac_file_in=$ac_file.in ;;
   7807   1.1       tv   esac
   7808   1.1       tv 
   7809  1.39    fredb   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   7810   1.1       tv echo "$as_me: creating $ac_file" >&6;}
   7811   1.1       tv 
   7812   1.1       tv   # First look for the input files in the build tree, otherwise in the
   7813   1.1       tv   # src tree.
   7814   1.1       tv   ac_file_inputs=`IFS=:
   7815   1.1       tv     for f in $ac_file_in; do
   7816   1.1       tv       case $f in
   7817   1.1       tv       -) echo $tmp/stdin ;;
   7818   1.1       tv       [\\/$]*)
   7819   1.1       tv          # Absolute (can't be DOS-style, as IFS=:)
   7820  1.39    fredb          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7821   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   7822   1.1       tv    { (exit 1); exit 1; }; }
   7823   1.1       tv          echo $f;;
   7824   1.1       tv       *) # Relative
   7825   1.1       tv          if test -f "$f"; then
   7826   1.1       tv            # Build tree
   7827   1.1       tv            echo $f
   7828   1.1       tv          elif test -f "$srcdir/$f"; then
   7829   1.1       tv            # Source tree
   7830   1.1       tv            echo $srcdir/$f
   7831   1.1       tv          else
   7832   1.1       tv            # /dev/null tree
   7833  1.39    fredb            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7834   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   7835   1.1       tv    { (exit 1); exit 1; }; }
   7836   1.1       tv          fi;;
   7837   1.1       tv       esac
   7838   1.1       tv     done` || { (exit 1); exit 1; }
   7839   1.1       tv   # Remove the trailing spaces.
   7840   1.1       tv   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
   7841   1.1       tv 
   7842  1.39    fredb _ACEOF
   7843   1.1       tv 
   7844   1.1       tv # Transform confdefs.h into two sed scripts, `conftest.defines' and
   7845   1.1       tv # `conftest.undefs', that substitutes the proper values into
   7846   1.1       tv # config.h.in to produce config.h.  The first handles `#define'
   7847   1.1       tv # templates, and the second `#undef' templates.
   7848   1.1       tv # And first: Protect against being on the right side of a sed subst in
   7849   1.1       tv # config.status.  Protect against being in an unquoted here document
   7850   1.1       tv # in config.status.
   7851   1.1       tv rm -f conftest.defines conftest.undefs
   7852   1.1       tv # Using a here document instead of a string reduces the quoting nightmare.
   7853   1.1       tv # Putting comments in sed scripts is not portable.
   7854   1.1       tv #
   7855   1.1       tv # `end' is used to avoid that the second main sed command (meant for
   7856   1.1       tv # 0-ary CPP macros) applies to n-ary macro definitions.
   7857   1.1       tv # See the Autoconf documentation for `clear'.
   7858  1.39    fredb cat >confdef2sed.sed <<\_ACEOF
   7859   1.1       tv s/[\\&,]/\\&/g
   7860   1.1       tv s,[\\$`],\\&,g
   7861   1.1       tv t clear
   7862   1.1       tv : clear
   7863  1.39    fredb s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   7864   1.1       tv t end
   7865   1.1       tv s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   7866   1.1       tv : end
   7867  1.39    fredb _ACEOF
   7868   1.1       tv # If some macros were called several times there might be several times
   7869   1.1       tv # the same #defines, which is useless.  Nevertheless, we may not want to
   7870   1.1       tv # sort them, since we want the *last* AC-DEFINE to be honored.
   7871   1.1       tv uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   7872   1.1       tv sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   7873   1.1       tv rm -f confdef2sed.sed
   7874   1.1       tv 
   7875   1.1       tv # This sed command replaces #undef with comments.  This is necessary, for
   7876   1.1       tv # example, in the case of _POSIX_SOURCE, which is predefined and required
   7877   1.1       tv # on some systems where configure will not decide to define it.
   7878  1.39    fredb cat >>conftest.undefs <<\_ACEOF
   7879   1.1       tv s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   7880  1.39    fredb _ACEOF
   7881   1.1       tv 
   7882   1.1       tv # Break up conftest.defines because some shells have a limit on the size
   7883   1.1       tv # of here documents, and old seds have small limits too (100 cmds).
   7884   1.1       tv echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   7885  1.39    fredb echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   7886   1.1       tv echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   7887   1.1       tv echo '  :' >>$CONFIG_STATUS
   7888   1.1       tv rm -f conftest.tail
   7889   1.1       tv while grep . conftest.defines >/dev/null
   7890   1.1       tv do
   7891   1.1       tv   # Write a limited-size here document to $tmp/defines.sed.
   7892   1.1       tv   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   7893   1.1       tv   # Speed up: don't consider the non `#define' lines.
   7894   1.1       tv   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
   7895   1.1       tv   # Work around the forget-to-reset-the-flag bug.
   7896   1.1       tv   echo 't clr' >>$CONFIG_STATUS
   7897   1.1       tv   echo ': clr' >>$CONFIG_STATUS
   7898   1.1       tv   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   7899   1.1       tv   echo 'CEOF
   7900   1.1       tv   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   7901   1.1       tv   rm -f $tmp/in
   7902   1.1       tv   mv $tmp/out $tmp/in
   7903   1.1       tv ' >>$CONFIG_STATUS
   7904   1.1       tv   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   7905   1.1       tv   rm -f conftest.defines
   7906   1.1       tv   mv conftest.tail conftest.defines
   7907   1.1       tv done
   7908   1.1       tv rm -f conftest.defines
   7909  1.39    fredb echo '  fi # grep' >>$CONFIG_STATUS
   7910   1.1       tv echo >>$CONFIG_STATUS
   7911   1.1       tv 
   7912   1.1       tv # Break up conftest.undefs because some shells have a limit on the size
   7913   1.1       tv # of here documents, and old seds have small limits too (100 cmds).
   7914   1.1       tv echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   7915   1.1       tv rm -f conftest.tail
   7916   1.1       tv while grep . conftest.undefs >/dev/null
   7917   1.1       tv do
   7918   1.1       tv   # Write a limited-size here document to $tmp/undefs.sed.
   7919   1.1       tv   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   7920   1.1       tv   # Speed up: don't consider the non `#undef'
   7921   1.1       tv   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
   7922   1.1       tv   # Work around the forget-to-reset-the-flag bug.
   7923   1.1       tv   echo 't clr' >>$CONFIG_STATUS
   7924   1.1       tv   echo ': clr' >>$CONFIG_STATUS
   7925   1.1       tv   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   7926   1.1       tv   echo 'CEOF
   7927   1.1       tv   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   7928   1.1       tv   rm -f $tmp/in
   7929   1.1       tv   mv $tmp/out $tmp/in
   7930   1.1       tv ' >>$CONFIG_STATUS
   7931   1.1       tv   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   7932   1.1       tv   rm -f conftest.undefs
   7933   1.1       tv   mv conftest.tail conftest.undefs
   7934   1.1       tv done
   7935   1.1       tv rm -f conftest.undefs
   7936   1.1       tv 
   7937  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   7938   1.1       tv   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7939   1.1       tv   # use $as_me), people would be surprised to read:
   7940  1.39    fredb   #    /* config.h.  Generated by config.status.  */
   7941   1.1       tv   if test x"$ac_file" = x-; then
   7942  1.39    fredb     echo "/* Generated by configure.  */" >$tmp/config.h
   7943   1.1       tv   else
   7944  1.39    fredb     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   7945   1.1       tv   fi
   7946   1.1       tv   cat $tmp/in >>$tmp/config.h
   7947   1.1       tv   rm -f $tmp/in
   7948   1.1       tv   if test x"$ac_file" != x-; then
   7949  1.39    fredb     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   7950  1.39    fredb       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   7951   1.1       tv echo "$as_me: $ac_file is unchanged" >&6;}
   7952   1.1       tv     else
   7953  1.39    fredb       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7954  1.39    fredb $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7955   1.1       tv          X"$ac_file" : 'X\(//\)[^/]' \| \
   7956   1.1       tv          X"$ac_file" : 'X\(//\)$' \| \
   7957   1.1       tv          X"$ac_file" : 'X\(/\)' \| \
   7958   1.1       tv          .     : '\(.\)' 2>/dev/null ||
   7959   1.1       tv echo X"$ac_file" |
   7960   1.1       tv     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7961   1.1       tv   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7962   1.1       tv   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7963   1.1       tv   	  /^X\(\/\).*/{ s//\1/; q; }
   7964   1.1       tv   	  s/.*/./; q'`
   7965  1.39    fredb       { if $as_mkdir_p; then
   7966  1.39    fredb     mkdir -p "$ac_dir"
   7967  1.39    fredb   else
   7968  1.39    fredb     as_dir="$ac_dir"
   7969  1.39    fredb     as_dirs=
   7970  1.39    fredb     while test ! -d "$as_dir"; do
   7971  1.39    fredb       as_dirs="$as_dir $as_dirs"
   7972  1.39    fredb       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7973  1.39    fredb $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7974  1.39    fredb          X"$as_dir" : 'X\(//\)[^/]' \| \
   7975  1.39    fredb          X"$as_dir" : 'X\(//\)$' \| \
   7976  1.39    fredb          X"$as_dir" : 'X\(/\)' \| \
   7977  1.39    fredb          .     : '\(.\)' 2>/dev/null ||
   7978  1.39    fredb echo X"$as_dir" |
   7979  1.39    fredb     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7980  1.39    fredb   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7981  1.39    fredb   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7982  1.39    fredb   	  /^X\(\/\).*/{ s//\1/; q; }
   7983  1.39    fredb   	  s/.*/./; q'`
   7984  1.39    fredb     done
   7985  1.39    fredb     test ! -n "$as_dirs" || mkdir $as_dirs
   7986  1.39    fredb   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7987  1.39    fredb echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7988  1.39    fredb    { (exit 1); exit 1; }; }; }
   7989   1.1       tv 
   7990   1.1       tv       rm -f $ac_file
   7991   1.1       tv       mv $tmp/config.h $ac_file
   7992   1.1       tv     fi
   7993   1.1       tv   else
   7994   1.1       tv     cat $tmp/config.h
   7995   1.1       tv     rm -f $tmp/config.h
   7996   1.1       tv   fi
   7997   1.1       tv done
   7998  1.39    fredb _ACEOF
   7999   1.1       tv 
   8000  1.39    fredb cat >>$CONFIG_STATUS <<\_ACEOF
   8001   1.1       tv 
   8002   1.1       tv { (exit 0); exit 0; }
   8003  1.39    fredb _ACEOF
   8004   1.1       tv chmod +x $CONFIG_STATUS
   8005   1.1       tv ac_clean_files=$ac_clean_files_save
   8006   1.1       tv 
   8007  1.39    fredb 
   8008   1.1       tv # configure is writing to config.log, and then calls config.status.
   8009   1.1       tv # config.status does its own redirection, appending to config.log.
   8010   1.1       tv # Unfortunately, on DOS this fails, as config.log is still kept open
   8011   1.1       tv # by configure, so config.status won't be able to write to it; its
   8012   1.1       tv # output is simply discarded.  So we exec the FD to /dev/null,
   8013   1.1       tv # effectively closing config.log, so it can be properly (re)opened and
   8014   1.1       tv # appended to by config.status.  When coming back to configure, we
   8015   1.1       tv # need to make the FD available again.
   8016   1.1       tv if test "$no_create" != yes; then
   8017   1.1       tv   ac_cs_success=:
   8018  1.39    fredb   ac_config_status_args=
   8019  1.39    fredb   test "$silent" = yes &&
   8020  1.39    fredb     ac_config_status_args="$ac_config_status_args --quiet"
   8021   1.1       tv   exec 5>/dev/null
   8022  1.39    fredb   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8023   1.1       tv   exec 5>>config.log
   8024   1.1       tv   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   8025   1.1       tv   # would make configure fail if this is the last instruction.
   8026   1.1       tv   $ac_cs_success || { (exit 1); exit 1; }
   8027   1.1       tv fi
   8028   1.1       tv 
   8029