Home | History | Annotate | Line # | Download | only in compat
configure revision 1.47
      1   1.1       tv #! /bin/sh
      2   1.1       tv # Guess values for system-dependent variables and create Makefiles.
      3  1.43      dbj # Generated by Autoconf 2.52 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.43      dbj # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
      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.1       tv 
     12   1.1       tv # Avoid depending upon Character Ranges.
     13   1.1       tv as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     14   1.1       tv as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     15   1.1       tv as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     16   1.1       tv as_cr_digits='0123456789'
     17   1.1       tv as_cr_alnum=$as_cr_Letters$as_cr_digits
     18   1.1       tv 
     19  1.43      dbj # Sed expression to map a string onto a valid variable name.
     20  1.43      dbj as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     21  1.39    fredb 
     22  1.43      dbj # Sed expression to map a string onto a valid CPP name.
     23  1.43      dbj as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     24  1.39    fredb 
     25  1.43      dbj # Be Bourne compatible
     26  1.43      dbj if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     27  1.43      dbj   emulate sh
     28  1.43      dbj   NULLCMD=:
     29  1.43      dbj elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     30  1.43      dbj   set -o posix
     31  1.43      dbj fi
     32  1.39    fredb 
     33  1.43      dbj # Name of the executable.
     34  1.43      dbj as_me=`echo "$0" |sed 's,.*[\\/],,'`
     35   1.1       tv 
     36   1.1       tv if expr a : '\(a\)' >/dev/null 2>&1; then
     37   1.1       tv   as_expr=expr
     38   1.1       tv else
     39   1.1       tv   as_expr=false
     40   1.1       tv fi
     41   1.1       tv 
     42   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
     43   1.1       tv echo >conf$$.file
     44   1.1       tv if ln -s conf$$.file conf$$ 2>/dev/null; then
     45   1.1       tv   # We could just check for DJGPP; but this test a) works b) is more generic
     46   1.1       tv   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     47   1.1       tv   if test -f conf$$.exe; then
     48   1.1       tv     # Don't use ln at all; we don't have any links
     49   1.1       tv     as_ln_s='cp -p'
     50   1.1       tv   else
     51   1.1       tv     as_ln_s='ln -s'
     52   1.1       tv   fi
     53   1.1       tv elif ln conf$$.file conf$$ 2>/dev/null; then
     54   1.1       tv   as_ln_s=ln
     55   1.1       tv else
     56   1.1       tv   as_ln_s='cp -p'
     57   1.1       tv fi
     58   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
     59   1.1       tv 
     60  1.43      dbj as_executable_p="test -f"
     61  1.43      dbj 
     62  1.43      dbj # Support unset when possible.
     63  1.43      dbj if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     64  1.43      dbj   as_unset=unset
     65  1.39    fredb else
     66  1.43      dbj   as_unset=false
     67  1.39    fredb fi
     68  1.39    fredb 
     69  1.43      dbj # NLS nuisances.
     70  1.43      dbj $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
     71  1.43      dbj $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
     72  1.43      dbj $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
     73  1.43      dbj $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
     74  1.43      dbj $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
     75  1.43      dbj $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
     76  1.43      dbj $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
     77  1.43      dbj $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
     78   1.1       tv 
     79   1.1       tv # IFS
     80   1.1       tv # We need space, tab and new line, in precisely that order.
     81   1.1       tv as_nl='
     82   1.1       tv '
     83   1.1       tv IFS=" 	$as_nl"
     84   1.1       tv 
     85   1.1       tv # CDPATH.
     86  1.43      dbj $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
     87   1.1       tv 
     88   1.1       tv # Name of the host.
     89   1.1       tv # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     90   1.1       tv # so uname gets run too.
     91   1.1       tv ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     92   1.1       tv 
     93   1.1       tv exec 6>&1
     94   1.1       tv 
     95   1.1       tv #
     96   1.1       tv # Initializations.
     97   1.1       tv #
     98   1.1       tv ac_default_prefix=/usr/local
     99   1.1       tv cross_compiling=no
    100   1.1       tv subdirs=
    101  1.43      dbj MFLAGS= MAKEFLAGS=
    102   1.1       tv SHELL=${CONFIG_SHELL-/bin/sh}
    103   1.1       tv 
    104   1.1       tv # Maximum number of lines to put in a shell here document.
    105   1.1       tv # This variable seems obsolete.  It should probably be removed, and
    106   1.1       tv # only ac_max_sed_lines should be used.
    107   1.1       tv : ${ac_max_here_lines=38}
    108   1.1       tv 
    109   1.1       tv # Factoring default headers for most tests.
    110   1.1       tv ac_includes_default="\
    111   1.1       tv #include <stdio.h>
    112   1.1       tv #if HAVE_SYS_TYPES_H
    113   1.1       tv # include <sys/types.h>
    114   1.1       tv #endif
    115   1.1       tv #if HAVE_SYS_STAT_H
    116   1.1       tv # include <sys/stat.h>
    117   1.1       tv #endif
    118   1.1       tv #if STDC_HEADERS
    119   1.1       tv # include <stdlib.h>
    120   1.1       tv # include <stddef.h>
    121   1.1       tv #else
    122   1.1       tv # if HAVE_STDLIB_H
    123   1.1       tv #  include <stdlib.h>
    124   1.1       tv # endif
    125   1.1       tv #endif
    126   1.1       tv #if HAVE_STRING_H
    127   1.1       tv # if !STDC_HEADERS && HAVE_MEMORY_H
    128   1.1       tv #  include <memory.h>
    129   1.1       tv # endif
    130   1.1       tv # include <string.h>
    131   1.1       tv #endif
    132   1.1       tv #if HAVE_STRINGS_H
    133   1.1       tv # include <strings.h>
    134   1.1       tv #endif
    135   1.1       tv #if HAVE_INTTYPES_H
    136   1.1       tv # include <inttypes.h>
    137   1.1       tv #else
    138   1.1       tv # if HAVE_STDINT_H
    139   1.1       tv #  include <stdint.h>
    140   1.1       tv # endif
    141   1.1       tv #endif
    142   1.1       tv #if HAVE_UNISTD_H
    143   1.1       tv # include <unistd.h>
    144   1.1       tv #endif"
    145   1.1       tv 
    146   1.1       tv # Initialize some variables set by options.
    147   1.1       tv ac_init_help=
    148   1.1       tv ac_init_version=false
    149   1.1       tv # The variables have the same names as the options, with
    150   1.1       tv # dashes changed to underlines.
    151   1.1       tv cache_file=/dev/null
    152   1.1       tv exec_prefix=NONE
    153   1.1       tv no_create=
    154   1.1       tv no_recursion=
    155   1.1       tv prefix=NONE
    156   1.1       tv program_prefix=NONE
    157   1.1       tv program_suffix=NONE
    158   1.1       tv program_transform_name=s,x,x,
    159   1.1       tv silent=
    160   1.1       tv site=
    161   1.1       tv srcdir=
    162   1.1       tv verbose=
    163   1.1       tv x_includes=NONE
    164   1.1       tv x_libraries=NONE
    165   1.1       tv 
    166   1.1       tv # Installation directory options.
    167   1.1       tv # These are left unexpanded so users can "make install exec_prefix=/foo"
    168   1.1       tv # and all the variables that are supposed to be based on exec_prefix
    169   1.1       tv # by default will actually change.
    170   1.1       tv # Use braces instead of parens because sh, perl, etc. also accept them.
    171   1.1       tv bindir='${exec_prefix}/bin'
    172   1.1       tv sbindir='${exec_prefix}/sbin'
    173   1.1       tv libexecdir='${exec_prefix}/libexec'
    174   1.1       tv datadir='${prefix}/share'
    175   1.1       tv sysconfdir='${prefix}/etc'
    176   1.1       tv sharedstatedir='${prefix}/com'
    177   1.1       tv localstatedir='${prefix}/var'
    178   1.1       tv libdir='${exec_prefix}/lib'
    179   1.1       tv includedir='${prefix}/include'
    180   1.1       tv oldincludedir='/usr/include'
    181   1.1       tv infodir='${prefix}/info'
    182   1.1       tv mandir='${prefix}/man'
    183   1.1       tv 
    184  1.43      dbj # Identity of this package.
    185  1.43      dbj PACKAGE_NAME='libnbcompat'
    186  1.43      dbj PACKAGE_TARNAME='libnbcompat'
    187  1.43      dbj PACKAGE_VERSION='noversion'
    188  1.43      dbj PACKAGE_STRING='libnbcompat noversion'
    189  1.43      dbj PACKAGE_BUGREPORT='lib-bug-people (at] NetBSD.org'
    190  1.43      dbj 
    191   1.1       tv ac_prev=
    192   1.1       tv for ac_option
    193   1.1       tv do
    194   1.1       tv   # If the previous option needs an argument, assign it.
    195   1.1       tv   if test -n "$ac_prev"; then
    196   1.1       tv     eval "$ac_prev=\$ac_option"
    197   1.1       tv     ac_prev=
    198   1.1       tv     continue
    199   1.1       tv   fi
    200   1.1       tv 
    201   1.1       tv   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    202   1.1       tv 
    203   1.1       tv   # Accept the important Cygnus configure options, so we can diagnose typos.
    204   1.1       tv 
    205   1.1       tv   case $ac_option in
    206   1.1       tv 
    207   1.1       tv   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    208   1.1       tv     ac_prev=bindir ;;
    209   1.1       tv   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    210   1.1       tv     bindir=$ac_optarg ;;
    211   1.1       tv 
    212   1.1       tv   -build | --build | --buil | --bui | --bu)
    213   1.1       tv     ac_prev=build_alias ;;
    214   1.1       tv   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    215   1.1       tv     build_alias=$ac_optarg ;;
    216   1.1       tv 
    217   1.1       tv   -cache-file | --cache-file | --cache-fil | --cache-fi \
    218   1.1       tv   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    219   1.1       tv     ac_prev=cache_file ;;
    220   1.1       tv   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    221   1.1       tv   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    222   1.1       tv     cache_file=$ac_optarg ;;
    223   1.1       tv 
    224   1.1       tv   --config-cache | -C)
    225   1.1       tv     cache_file=config.cache ;;
    226   1.1       tv 
    227   1.1       tv   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    228   1.1       tv     ac_prev=datadir ;;
    229   1.1       tv   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    230   1.1       tv   | --da=*)
    231   1.1       tv     datadir=$ac_optarg ;;
    232   1.1       tv 
    233   1.1       tv   -disable-* | --disable-*)
    234   1.1       tv     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    235   1.1       tv     # Reject names that are not valid shell variable names.
    236   1.1       tv     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    237   1.1       tv       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    238   1.1       tv    { (exit 1); exit 1; }; }
    239   1.1       tv     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    240   1.1       tv     eval "enable_$ac_feature=no" ;;
    241   1.1       tv 
    242   1.1       tv   -enable-* | --enable-*)
    243   1.1       tv     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    244   1.1       tv     # Reject names that are not valid shell variable names.
    245   1.1       tv     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    246   1.1       tv       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    247   1.1       tv    { (exit 1); exit 1; }; }
    248   1.1       tv     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    249   1.1       tv     case $ac_option in
    250   1.1       tv       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    251   1.1       tv       *) ac_optarg=yes ;;
    252   1.1       tv     esac
    253   1.1       tv     eval "enable_$ac_feature='$ac_optarg'" ;;
    254   1.1       tv 
    255   1.1       tv   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    256   1.1       tv   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    257   1.1       tv   | --exec | --exe | --ex)
    258   1.1       tv     ac_prev=exec_prefix ;;
    259   1.1       tv   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    260   1.1       tv   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    261   1.1       tv   | --exec=* | --exe=* | --ex=*)
    262   1.1       tv     exec_prefix=$ac_optarg ;;
    263   1.1       tv 
    264   1.1       tv   -gas | --gas | --ga | --g)
    265   1.1       tv     # Obsolete; use --with-gas.
    266   1.1       tv     with_gas=yes ;;
    267   1.1       tv 
    268   1.1       tv   -help | --help | --hel | --he | -h)
    269   1.1       tv     ac_init_help=long ;;
    270   1.1       tv   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    271   1.1       tv     ac_init_help=recursive ;;
    272   1.1       tv   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    273   1.1       tv     ac_init_help=short ;;
    274   1.1       tv 
    275   1.1       tv   -host | --host | --hos | --ho)
    276   1.1       tv     ac_prev=host_alias ;;
    277   1.1       tv   -host=* | --host=* | --hos=* | --ho=*)
    278   1.1       tv     host_alias=$ac_optarg ;;
    279   1.1       tv 
    280   1.1       tv   -includedir | --includedir | --includedi | --included | --include \
    281   1.1       tv   | --includ | --inclu | --incl | --inc)
    282   1.1       tv     ac_prev=includedir ;;
    283   1.1       tv   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    284   1.1       tv   | --includ=* | --inclu=* | --incl=* | --inc=*)
    285   1.1       tv     includedir=$ac_optarg ;;
    286   1.1       tv 
    287   1.1       tv   -infodir | --infodir | --infodi | --infod | --info | --inf)
    288   1.1       tv     ac_prev=infodir ;;
    289   1.1       tv   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    290   1.1       tv     infodir=$ac_optarg ;;
    291   1.1       tv 
    292   1.1       tv   -libdir | --libdir | --libdi | --libd)
    293   1.1       tv     ac_prev=libdir ;;
    294   1.1       tv   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    295   1.1       tv     libdir=$ac_optarg ;;
    296   1.1       tv 
    297   1.1       tv   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    298   1.1       tv   | --libexe | --libex | --libe)
    299   1.1       tv     ac_prev=libexecdir ;;
    300   1.1       tv   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    301   1.1       tv   | --libexe=* | --libex=* | --libe=*)
    302   1.1       tv     libexecdir=$ac_optarg ;;
    303   1.1       tv 
    304   1.1       tv   -localstatedir | --localstatedir | --localstatedi | --localstated \
    305   1.1       tv   | --localstate | --localstat | --localsta | --localst \
    306   1.1       tv   | --locals | --local | --loca | --loc | --lo)
    307   1.1       tv     ac_prev=localstatedir ;;
    308   1.1       tv   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    309   1.1       tv   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    310   1.1       tv   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    311   1.1       tv     localstatedir=$ac_optarg ;;
    312   1.1       tv 
    313   1.1       tv   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    314   1.1       tv     ac_prev=mandir ;;
    315   1.1       tv   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    316   1.1       tv     mandir=$ac_optarg ;;
    317   1.1       tv 
    318   1.1       tv   -nfp | --nfp | --nf)
    319   1.1       tv     # Obsolete; use --without-fp.
    320   1.1       tv     with_fp=no ;;
    321   1.1       tv 
    322   1.1       tv   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    323  1.43      dbj   | --no-cr | --no-c)
    324   1.1       tv     no_create=yes ;;
    325   1.1       tv 
    326   1.1       tv   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    327   1.1       tv   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    328   1.1       tv     no_recursion=yes ;;
    329   1.1       tv 
    330   1.1       tv   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    331   1.1       tv   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    332   1.1       tv   | --oldin | --oldi | --old | --ol | --o)
    333   1.1       tv     ac_prev=oldincludedir ;;
    334   1.1       tv   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    335   1.1       tv   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    336   1.1       tv   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    337   1.1       tv     oldincludedir=$ac_optarg ;;
    338   1.1       tv 
    339   1.1       tv   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    340   1.1       tv     ac_prev=prefix ;;
    341   1.1       tv   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    342   1.1       tv     prefix=$ac_optarg ;;
    343   1.1       tv 
    344   1.1       tv   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    345   1.1       tv   | --program-pre | --program-pr | --program-p)
    346   1.1       tv     ac_prev=program_prefix ;;
    347   1.1       tv   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    348   1.1       tv   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    349   1.1       tv     program_prefix=$ac_optarg ;;
    350   1.1       tv 
    351   1.1       tv   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    352   1.1       tv   | --program-suf | --program-su | --program-s)
    353   1.1       tv     ac_prev=program_suffix ;;
    354   1.1       tv   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    355   1.1       tv   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    356   1.1       tv     program_suffix=$ac_optarg ;;
    357   1.1       tv 
    358   1.1       tv   -program-transform-name | --program-transform-name \
    359   1.1       tv   | --program-transform-nam | --program-transform-na \
    360   1.1       tv   | --program-transform-n | --program-transform- \
    361   1.1       tv   | --program-transform | --program-transfor \
    362   1.1       tv   | --program-transfo | --program-transf \
    363   1.1       tv   | --program-trans | --program-tran \
    364   1.1       tv   | --progr-tra | --program-tr | --program-t)
    365   1.1       tv     ac_prev=program_transform_name ;;
    366   1.1       tv   -program-transform-name=* | --program-transform-name=* \
    367   1.1       tv   | --program-transform-nam=* | --program-transform-na=* \
    368   1.1       tv   | --program-transform-n=* | --program-transform-=* \
    369   1.1       tv   | --program-transform=* | --program-transfor=* \
    370   1.1       tv   | --program-transfo=* | --program-transf=* \
    371   1.1       tv   | --program-trans=* | --program-tran=* \
    372   1.1       tv   | --progr-tra=* | --program-tr=* | --program-t=*)
    373   1.1       tv     program_transform_name=$ac_optarg ;;
    374   1.1       tv 
    375   1.1       tv   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    376   1.1       tv   | -silent | --silent | --silen | --sile | --sil)
    377   1.1       tv     silent=yes ;;
    378   1.1       tv 
    379   1.1       tv   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    380   1.1       tv     ac_prev=sbindir ;;
    381   1.1       tv   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    382   1.1       tv   | --sbi=* | --sb=*)
    383   1.1       tv     sbindir=$ac_optarg ;;
    384   1.1       tv 
    385   1.1       tv   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    386   1.1       tv   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    387   1.1       tv   | --sharedst | --shareds | --shared | --share | --shar \
    388   1.1       tv   | --sha | --sh)
    389   1.1       tv     ac_prev=sharedstatedir ;;
    390   1.1       tv   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    391   1.1       tv   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    392   1.1       tv   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    393   1.1       tv   | --sha=* | --sh=*)
    394   1.1       tv     sharedstatedir=$ac_optarg ;;
    395   1.1       tv 
    396   1.1       tv   -site | --site | --sit)
    397   1.1       tv     ac_prev=site ;;
    398   1.1       tv   -site=* | --site=* | --sit=*)
    399   1.1       tv     site=$ac_optarg ;;
    400   1.1       tv 
    401   1.1       tv   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    402   1.1       tv     ac_prev=srcdir ;;
    403   1.1       tv   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    404   1.1       tv     srcdir=$ac_optarg ;;
    405   1.1       tv 
    406   1.1       tv   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    407   1.1       tv   | --syscon | --sysco | --sysc | --sys | --sy)
    408   1.1       tv     ac_prev=sysconfdir ;;
    409   1.1       tv   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    410   1.1       tv   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    411   1.1       tv     sysconfdir=$ac_optarg ;;
    412   1.1       tv 
    413   1.1       tv   -target | --target | --targe | --targ | --tar | --ta | --t)
    414   1.1       tv     ac_prev=target_alias ;;
    415   1.1       tv   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    416   1.1       tv     target_alias=$ac_optarg ;;
    417   1.1       tv 
    418   1.1       tv   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    419   1.1       tv     verbose=yes ;;
    420   1.1       tv 
    421   1.1       tv   -version | --version | --versio | --versi | --vers | -V)
    422   1.1       tv     ac_init_version=: ;;
    423   1.1       tv 
    424   1.1       tv   -with-* | --with-*)
    425   1.1       tv     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    426   1.1       tv     # Reject names that are not valid shell variable names.
    427   1.1       tv     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    428   1.1       tv       { echo "$as_me: error: invalid package name: $ac_package" >&2
    429   1.1       tv    { (exit 1); exit 1; }; }
    430   1.1       tv     ac_package=`echo $ac_package| sed 's/-/_/g'`
    431   1.1       tv     case $ac_option in
    432   1.1       tv       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    433   1.1       tv       *) ac_optarg=yes ;;
    434   1.1       tv     esac
    435   1.1       tv     eval "with_$ac_package='$ac_optarg'" ;;
    436   1.1       tv 
    437   1.1       tv   -without-* | --without-*)
    438   1.1       tv     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    439   1.1       tv     # Reject names that are not valid shell variable names.
    440   1.1       tv     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    441   1.1       tv       { echo "$as_me: error: invalid package name: $ac_package" >&2
    442   1.1       tv    { (exit 1); exit 1; }; }
    443   1.1       tv     ac_package=`echo $ac_package | sed 's/-/_/g'`
    444   1.1       tv     eval "with_$ac_package=no" ;;
    445   1.1       tv 
    446   1.1       tv   --x)
    447   1.1       tv     # Obsolete; use --with-x.
    448   1.1       tv     with_x=yes ;;
    449   1.1       tv 
    450   1.1       tv   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    451   1.1       tv   | --x-incl | --x-inc | --x-in | --x-i)
    452   1.1       tv     ac_prev=x_includes ;;
    453   1.1       tv   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    454   1.1       tv   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    455   1.1       tv     x_includes=$ac_optarg ;;
    456   1.1       tv 
    457   1.1       tv   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    458   1.1       tv   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    459   1.1       tv     ac_prev=x_libraries ;;
    460   1.1       tv   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    461   1.1       tv   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    462   1.1       tv     x_libraries=$ac_optarg ;;
    463   1.1       tv 
    464   1.1       tv   -*) { echo "$as_me: error: unrecognized option: $ac_option
    465   1.1       tv Try \`$0 --help' for more information." >&2
    466   1.1       tv    { (exit 1); exit 1; }; }
    467   1.1       tv     ;;
    468   1.1       tv 
    469   1.1       tv   *=*)
    470   1.1       tv     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    471   1.1       tv     # Reject names that are not valid shell variable names.
    472   1.1       tv     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    473   1.1       tv       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    474   1.1       tv    { (exit 1); exit 1; }; }
    475   1.1       tv     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    476   1.1       tv     eval "$ac_envvar='$ac_optarg'"
    477   1.1       tv     export $ac_envvar ;;
    478   1.1       tv 
    479   1.1       tv   *)
    480   1.1       tv     # FIXME: should be removed in autoconf 3.0.
    481   1.1       tv     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    482   1.1       tv     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    483   1.1       tv       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    484   1.1       tv     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    485   1.1       tv     ;;
    486   1.1       tv 
    487   1.1       tv   esac
    488   1.1       tv done
    489   1.1       tv 
    490   1.1       tv if test -n "$ac_prev"; then
    491   1.1       tv   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    492   1.1       tv   { echo "$as_me: error: missing argument to $ac_option" >&2
    493   1.1       tv    { (exit 1); exit 1; }; }
    494   1.1       tv fi
    495   1.1       tv 
    496   1.1       tv # Be sure to have absolute paths.
    497   1.1       tv for ac_var in exec_prefix prefix
    498   1.1       tv do
    499   1.1       tv   eval ac_val=$`echo $ac_var`
    500   1.1       tv   case $ac_val in
    501   1.1       tv     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    502  1.43      dbj     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    503   1.1       tv    { (exit 1); exit 1; }; };;
    504   1.1       tv   esac
    505   1.1       tv done
    506   1.1       tv 
    507   1.1       tv # Be sure to have absolute paths.
    508   1.1       tv for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    509   1.1       tv               localstatedir libdir includedir oldincludedir infodir mandir
    510   1.1       tv do
    511   1.1       tv   eval ac_val=$`echo $ac_var`
    512   1.1       tv   case $ac_val in
    513   1.1       tv     [\\/$]* | ?:[\\/]* ) ;;
    514  1.43      dbj     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    515   1.1       tv    { (exit 1); exit 1; }; };;
    516   1.1       tv   esac
    517   1.1       tv done
    518   1.1       tv 
    519   1.1       tv # There might be people who depend on the old broken behavior: `$host'
    520   1.1       tv # used to hold the argument of --host etc.
    521   1.1       tv build=$build_alias
    522   1.1       tv host=$host_alias
    523   1.1       tv target=$target_alias
    524   1.1       tv 
    525  1.43      dbj # FIXME: should be removed in autoconf 3.0.
    526   1.1       tv if test "x$host_alias" != x; then
    527   1.1       tv   if test "x$build_alias" = x; then
    528   1.1       tv     cross_compiling=maybe
    529   1.1       tv     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    530   1.1       tv     If a cross compiler is detected then cross compile mode will be used." >&2
    531   1.1       tv   elif test "x$build_alias" != "x$host_alias"; then
    532   1.1       tv     cross_compiling=yes
    533   1.1       tv   fi
    534   1.1       tv fi
    535   1.1       tv 
    536   1.1       tv ac_tool_prefix=
    537   1.1       tv test -n "$host_alias" && ac_tool_prefix=$host_alias-
    538   1.1       tv 
    539   1.1       tv test "$silent" = yes && exec 6>/dev/null
    540   1.1       tv 
    541   1.1       tv # Find the source files, if location was not specified.
    542   1.1       tv if test -z "$srcdir"; then
    543   1.1       tv   ac_srcdir_defaulted=yes
    544   1.1       tv   # Try the directory containing this script, then its parent.
    545  1.43      dbj   ac_prog=$0
    546  1.43      dbj   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
    547  1.43      dbj   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    548   1.1       tv   srcdir=$ac_confdir
    549   1.1       tv   if test ! -r $srcdir/$ac_unique_file; then
    550   1.1       tv     srcdir=..
    551   1.1       tv   fi
    552   1.1       tv else
    553   1.1       tv   ac_srcdir_defaulted=no
    554   1.1       tv fi
    555   1.1       tv if test ! -r $srcdir/$ac_unique_file; then
    556   1.1       tv   if test "$ac_srcdir_defaulted" = yes; then
    557  1.43      dbj     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
    558   1.1       tv    { (exit 1); exit 1; }; }
    559   1.1       tv   else
    560  1.43      dbj     { echo "$as_me: error: cannot find sources in $srcdir" >&2
    561   1.1       tv    { (exit 1); exit 1; }; }
    562   1.1       tv   fi
    563   1.1       tv fi
    564   1.1       tv srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    565   1.1       tv ac_env_build_alias_set=${build_alias+set}
    566   1.1       tv ac_env_build_alias_value=$build_alias
    567   1.1       tv ac_cv_env_build_alias_set=${build_alias+set}
    568   1.1       tv ac_cv_env_build_alias_value=$build_alias
    569   1.1       tv ac_env_host_alias_set=${host_alias+set}
    570   1.1       tv ac_env_host_alias_value=$host_alias
    571   1.1       tv ac_cv_env_host_alias_set=${host_alias+set}
    572   1.1       tv ac_cv_env_host_alias_value=$host_alias
    573   1.1       tv ac_env_target_alias_set=${target_alias+set}
    574   1.1       tv ac_env_target_alias_value=$target_alias
    575   1.1       tv ac_cv_env_target_alias_set=${target_alias+set}
    576   1.1       tv ac_cv_env_target_alias_value=$target_alias
    577   1.1       tv ac_env_CC_set=${CC+set}
    578   1.1       tv ac_env_CC_value=$CC
    579   1.1       tv ac_cv_env_CC_set=${CC+set}
    580   1.1       tv ac_cv_env_CC_value=$CC
    581   1.1       tv ac_env_CFLAGS_set=${CFLAGS+set}
    582   1.1       tv ac_env_CFLAGS_value=$CFLAGS
    583   1.1       tv ac_cv_env_CFLAGS_set=${CFLAGS+set}
    584   1.1       tv ac_cv_env_CFLAGS_value=$CFLAGS
    585   1.1       tv ac_env_LDFLAGS_set=${LDFLAGS+set}
    586   1.1       tv ac_env_LDFLAGS_value=$LDFLAGS
    587   1.1       tv ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    588   1.1       tv ac_cv_env_LDFLAGS_value=$LDFLAGS
    589   1.1       tv ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    590   1.1       tv ac_env_CPPFLAGS_value=$CPPFLAGS
    591   1.1       tv ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    592   1.1       tv ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    593   1.1       tv ac_env_CPP_set=${CPP+set}
    594   1.1       tv ac_env_CPP_value=$CPP
    595   1.1       tv ac_cv_env_CPP_set=${CPP+set}
    596   1.1       tv ac_cv_env_CPP_value=$CPP
    597   1.1       tv 
    598   1.1       tv #
    599   1.1       tv # Report the --help message.
    600   1.1       tv #
    601   1.1       tv if test "$ac_init_help" = "long"; then
    602   1.1       tv   # Omit some internal or obsolete options to make the list less imposing.
    603   1.1       tv   # This message is too long to be a string in the A/UX 3.1 sh.
    604  1.43      dbj   cat <<EOF
    605   1.1       tv \`configure' configures libnbcompat noversion to adapt to many kinds of systems.
    606   1.1       tv 
    607   1.1       tv Usage: $0 [OPTION]... [VAR=VALUE]...
    608   1.1       tv 
    609   1.1       tv To assign environment variables (e.g., CC, CFLAGS...), specify them as
    610   1.1       tv VAR=VALUE.  See below for descriptions of some of the useful variables.
    611   1.1       tv 
    612   1.1       tv Defaults for the options are specified in brackets.
    613   1.1       tv 
    614   1.1       tv Configuration:
    615   1.1       tv   -h, --help              display this help and exit
    616   1.1       tv       --help=short        display options specific to this package
    617   1.1       tv       --help=recursive    display the short help of all the included packages
    618   1.1       tv   -V, --version           display version information and exit
    619   1.1       tv   -q, --quiet, --silent   do not print \`checking...' messages
    620   1.1       tv       --cache-file=FILE   cache test results in FILE [disabled]
    621   1.1       tv   -C, --config-cache      alias for \`--cache-file=config.cache'
    622   1.1       tv   -n, --no-create         do not create output files
    623   1.1       tv       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    624   1.1       tv 
    625  1.43      dbj EOF
    626   1.1       tv 
    627  1.43      dbj   cat <<EOF
    628   1.1       tv Installation directories:
    629   1.1       tv   --prefix=PREFIX         install architecture-independent files in PREFIX
    630   1.1       tv                           [$ac_default_prefix]
    631   1.1       tv   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    632   1.1       tv                           [PREFIX]
    633   1.1       tv 
    634   1.1       tv By default, \`make install' will install all the files in
    635   1.1       tv \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    636   1.1       tv an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    637   1.1       tv for instance \`--prefix=\$HOME'.
    638   1.1       tv 
    639   1.1       tv For better control, use the options below.
    640   1.1       tv 
    641   1.1       tv Fine tuning of the installation directories:
    642   1.1       tv   --bindir=DIR           user executables [EPREFIX/bin]
    643   1.1       tv   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    644   1.1       tv   --libexecdir=DIR       program executables [EPREFIX/libexec]
    645   1.1       tv   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    646   1.1       tv   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    647   1.1       tv   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    648   1.1       tv   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    649   1.1       tv   --libdir=DIR           object code libraries [EPREFIX/lib]
    650   1.1       tv   --includedir=DIR       C header files [PREFIX/include]
    651   1.1       tv   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    652   1.1       tv   --infodir=DIR          info documentation [PREFIX/info]
    653   1.1       tv   --mandir=DIR           man documentation [PREFIX/man]
    654  1.43      dbj EOF
    655   1.1       tv 
    656  1.43      dbj   cat <<\EOF
    657  1.43      dbj EOF
    658   1.1       tv fi
    659   1.1       tv 
    660   1.1       tv if test -n "$ac_init_help"; then
    661   1.1       tv   case $ac_init_help in
    662   1.1       tv      short | recursive ) echo "Configuration of libnbcompat noversion:";;
    663   1.1       tv    esac
    664  1.43      dbj   cat <<\EOF
    665   1.1       tv 
    666   1.1       tv Some influential environment variables:
    667   1.1       tv   CC          C compiler command
    668   1.1       tv   CFLAGS      C compiler flags
    669   1.1       tv   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    670   1.1       tv               nonstandard directory <lib dir>
    671   1.1       tv   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    672   1.1       tv               headers in a nonstandard directory <include dir>
    673   1.1       tv   CPP         C preprocessor
    674   1.1       tv 
    675   1.1       tv Use these variables to override the choices made by `configure' or to help
    676   1.1       tv it to find libraries and programs with nonstandard names/locations.
    677   1.1       tv 
    678  1.41     salo Report bugs to <lib-bug-people (at] NetBSD.org>.
    679  1.43      dbj EOF
    680   1.1       tv fi
    681   1.1       tv 
    682   1.1       tv if test "$ac_init_help" = "recursive"; then
    683   1.1       tv   # If there are subdirs, report their specific --help.
    684   1.1       tv   ac_popdir=`pwd`
    685  1.43      dbj   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    686  1.43      dbj     cd $ac_subdir
    687  1.43      dbj     # A "../" for each directory in /$ac_subdir.
    688  1.43      dbj     ac_dots=`echo $ac_subdir |
    689  1.43      dbj              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
    690  1.43      dbj 
    691  1.43      dbj     case $srcdir in
    692  1.43      dbj     .) # No --srcdir option.  We are building in place.
    693  1.43      dbj       ac_sub_srcdir=$srcdir ;;
    694  1.43      dbj     [\\/]* | ?:[\\/]* ) # Absolute path.
    695  1.43      dbj       ac_sub_srcdir=$srcdir/$ac_subdir ;;
    696  1.43      dbj     *) # Relative path.
    697  1.43      dbj       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    698  1.43      dbj     esac
    699   1.1       tv 
    700   1.1       tv     # Check for guested configure; otherwise get Cygnus style configure.
    701  1.43      dbj     if test -f $ac_sub_srcdir/configure.gnu; then
    702   1.1       tv       echo
    703  1.43      dbj       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    704  1.43      dbj     elif test -f $ac_sub_srcdir/configure; then
    705   1.1       tv       echo
    706  1.43      dbj       $SHELL $ac_sub_srcdir/configure  --help=recursive
    707  1.43      dbj     elif test -f $ac_sub_srcdir/configure.ac ||
    708  1.43      dbj            test -f $ac_sub_srcdir/configure.in; then
    709   1.1       tv       echo
    710   1.1       tv       $ac_configure --help
    711   1.1       tv     else
    712  1.43      dbj       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    713   1.1       tv     fi
    714   1.1       tv     cd $ac_popdir
    715   1.1       tv   done
    716   1.1       tv fi
    717   1.1       tv 
    718   1.1       tv test -n "$ac_init_help" && exit 0
    719   1.1       tv if $ac_init_version; then
    720  1.43      dbj   cat <<\EOF
    721   1.1       tv libnbcompat configure noversion
    722  1.43      dbj generated by GNU Autoconf 2.52
    723   1.1       tv 
    724  1.43      dbj Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    725   1.1       tv Free Software Foundation, Inc.
    726   1.1       tv This configure script is free software; the Free Software Foundation
    727   1.1       tv gives unlimited permission to copy, distribute and modify it.
    728  1.43      dbj EOF
    729   1.1       tv   exit 0
    730   1.1       tv fi
    731   1.1       tv exec 5>config.log
    732  1.43      dbj cat >&5 <<EOF
    733   1.1       tv This file contains any messages produced by compilers while
    734   1.1       tv running configure, to aid debugging if configure makes a mistake.
    735   1.1       tv 
    736   1.1       tv It was created by libnbcompat $as_me noversion, which was
    737  1.43      dbj generated by GNU Autoconf 2.52.  Invocation command line was
    738   1.1       tv 
    739   1.1       tv   $ $0 $@
    740   1.1       tv 
    741  1.43      dbj EOF
    742   1.1       tv {
    743   1.1       tv cat <<_ASUNAME
    744  1.43      dbj ## ---------- ##
    745  1.43      dbj ## Platform.  ##
    746  1.43      dbj ## ---------- ##
    747   1.1       tv 
    748   1.1       tv hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    749   1.1       tv uname -m = `(uname -m) 2>/dev/null || echo unknown`
    750   1.1       tv uname -r = `(uname -r) 2>/dev/null || echo unknown`
    751   1.1       tv uname -s = `(uname -s) 2>/dev/null || echo unknown`
    752   1.1       tv uname -v = `(uname -v) 2>/dev/null || echo unknown`
    753   1.1       tv 
    754   1.1       tv /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    755   1.1       tv /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    756   1.1       tv 
    757   1.1       tv /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    758   1.1       tv /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    759   1.1       tv /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    760   1.1       tv hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    761   1.1       tv /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    762   1.1       tv /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    763   1.1       tv /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    764   1.1       tv 
    765  1.43      dbj PATH = $PATH
    766  1.43      dbj 
    767  1.39    fredb _ASUNAME
    768   1.1       tv } >&5
    769   1.1       tv 
    770  1.43      dbj cat >&5 <<EOF
    771  1.43      dbj ## ------------ ##
    772  1.43      dbj ## Core tests.  ##
    773  1.43      dbj ## ------------ ##
    774   1.1       tv 
    775  1.43      dbj EOF
    776   1.1       tv 
    777   1.1       tv # Keep a trace of the command line.
    778   1.1       tv # Strip out --no-create and --no-recursion so they do not pile up.
    779   1.1       tv # Also quote any args containing shell meta-characters.
    780   1.1       tv ac_configure_args=
    781   1.1       tv ac_sep=
    782  1.43      dbj for ac_arg
    783   1.1       tv do
    784  1.43      dbj   case $ac_arg in
    785  1.43      dbj   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    786  1.43      dbj   | --no-cr | --no-c) ;;
    787  1.43      dbj   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    788  1.43      dbj   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    789  1.43      dbj   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    790  1.43      dbj     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    791  1.43      dbj     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    792  1.43      dbj     ac_sep=" " ;;
    793  1.43      dbj   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
    794  1.43      dbj      ac_sep=" " ;;
    795  1.43      dbj   esac
    796  1.43      dbj   # Get rid of the leading space.
    797   1.1       tv done
    798   1.1       tv 
    799   1.1       tv # When interrupted or exit'd, cleanup temporary files, and complete
    800   1.1       tv # config.log.  We remove comments because anyway the quotes in there
    801   1.1       tv # would cause problems or look ugly.
    802   1.1       tv trap 'exit_status=$?
    803   1.1       tv   # Save into config.log some information that might help in debugging.
    804  1.43      dbj   echo >&5
    805  1.43      dbj   echo "## ----------------- ##" >&5
    806  1.43      dbj   echo "## Cache variables.  ##" >&5
    807  1.43      dbj   echo "## ----------------- ##" >&5
    808  1.43      dbj   echo >&5
    809  1.43      dbj   # The following way of writing the cache mishandles newlines in values,
    810   1.1       tv {
    811   1.1       tv   (set) 2>&1 |
    812   1.1       tv     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    813   1.1       tv     *ac_space=\ *)
    814   1.1       tv       sed -n \
    815   1.1       tv         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    816   1.1       tv     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    817   1.1       tv       ;;
    818   1.1       tv     *)
    819   1.1       tv       sed -n \
    820   1.1       tv         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    821   1.1       tv       ;;
    822   1.1       tv     esac;
    823  1.43      dbj } >&5
    824  1.43      dbj   sed "/^$/d" confdefs.h >conftest.log
    825  1.43      dbj   if test -s conftest.log; then
    826  1.43      dbj     echo >&5
    827  1.43      dbj     echo "## ------------ ##" >&5
    828  1.43      dbj     echo "## confdefs.h.  ##" >&5
    829  1.43      dbj     echo "## ------------ ##" >&5
    830  1.43      dbj     echo >&5
    831  1.43      dbj     cat conftest.log >&5
    832  1.43      dbj   fi
    833  1.43      dbj   (echo; echo) >&5
    834  1.43      dbj   test "$ac_signal" != 0 &&
    835  1.43      dbj     echo "$as_me: caught signal $ac_signal" >&5
    836  1.43      dbj   echo "$as_me: exit $exit_status" >&5
    837  1.43      dbj   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
    838   1.1       tv     exit $exit_status
    839   1.1       tv      ' 0
    840   1.1       tv for ac_signal in 1 2 13 15; do
    841   1.1       tv   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    842   1.1       tv done
    843   1.1       tv ac_signal=0
    844   1.1       tv 
    845   1.1       tv # confdefs.h avoids OS command line length limits that DEFS can exceed.
    846   1.1       tv rm -rf conftest* confdefs.h
    847   1.1       tv # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    848   1.1       tv echo >confdefs.h
    849   1.1       tv 
    850   1.1       tv # Let the site file select an alternate cache file if it wants to.
    851   1.1       tv # Prefer explicitly selected file to automatically selected ones.
    852   1.1       tv if test -z "$CONFIG_SITE"; then
    853   1.1       tv   if test "x$prefix" != xNONE; then
    854   1.1       tv     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    855   1.1       tv   else
    856   1.1       tv     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    857   1.1       tv   fi
    858   1.1       tv fi
    859   1.1       tv for ac_site_file in $CONFIG_SITE; do
    860   1.1       tv   if test -r "$ac_site_file"; then
    861  1.43      dbj     { echo "$as_me:861: loading site script $ac_site_file" >&5
    862   1.1       tv echo "$as_me: loading site script $ac_site_file" >&6;}
    863  1.43      dbj     cat "$ac_site_file" >&5
    864   1.1       tv     . "$ac_site_file"
    865   1.1       tv   fi
    866   1.1       tv done
    867   1.1       tv 
    868   1.1       tv if test -r "$cache_file"; then
    869   1.1       tv   # Some versions of bash will fail to source /dev/null (special
    870   1.1       tv   # files actually), so we avoid doing that.
    871   1.1       tv   if test -f "$cache_file"; then
    872  1.43      dbj     { echo "$as_me:872: loading cache $cache_file" >&5
    873   1.1       tv echo "$as_me: loading cache $cache_file" >&6;}
    874   1.1       tv     case $cache_file in
    875   1.1       tv       [\\/]* | ?:[\\/]* ) . $cache_file;;
    876   1.1       tv       *)                      . ./$cache_file;;
    877   1.1       tv     esac
    878   1.1       tv   fi
    879   1.1       tv else
    880  1.43      dbj   { echo "$as_me:880: creating cache $cache_file" >&5
    881   1.1       tv echo "$as_me: creating cache $cache_file" >&6;}
    882   1.1       tv   >$cache_file
    883   1.1       tv fi
    884   1.1       tv 
    885   1.1       tv # Check that the precious variables saved in the cache have kept the same
    886   1.1       tv # value.
    887   1.1       tv ac_cache_corrupted=false
    888   1.1       tv for ac_var in `(set) 2>&1 |
    889   1.1       tv                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    890   1.1       tv   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    891   1.1       tv   eval ac_new_set=\$ac_env_${ac_var}_set
    892   1.1       tv   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    893   1.1       tv   eval ac_new_val="\$ac_env_${ac_var}_value"
    894   1.1       tv   case $ac_old_set,$ac_new_set in
    895   1.1       tv     set,)
    896  1.43      dbj       { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    897   1.1       tv echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    898   1.1       tv       ac_cache_corrupted=: ;;
    899   1.1       tv     ,set)
    900  1.43      dbj       { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
    901   1.1       tv echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    902   1.1       tv       ac_cache_corrupted=: ;;
    903   1.1       tv     ,);;
    904   1.1       tv     *)
    905   1.1       tv       if test "x$ac_old_val" != "x$ac_new_val"; then
    906  1.43      dbj         { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
    907   1.1       tv echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    908  1.43      dbj         { echo "$as_me:908:   former value:  $ac_old_val" >&5
    909   1.1       tv echo "$as_me:   former value:  $ac_old_val" >&2;}
    910  1.43      dbj         { echo "$as_me:910:   current value: $ac_new_val" >&5
    911   1.1       tv echo "$as_me:   current value: $ac_new_val" >&2;}
    912   1.1       tv         ac_cache_corrupted=:
    913   1.1       tv       fi;;
    914   1.1       tv   esac
    915  1.43      dbj   # Pass precious variables to config.status.  It doesn't matter if
    916  1.43      dbj   # we pass some twice (in addition to the command line arguments).
    917   1.1       tv   if test "$ac_new_set" = set; then
    918   1.1       tv     case $ac_new_val in
    919   1.1       tv     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    920  1.43      dbj       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
    921  1.43      dbj       ac_configure_args="$ac_configure_args '$ac_arg'"
    922  1.43      dbj       ;;
    923  1.43      dbj     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
    924  1.43      dbj        ;;
    925   1.1       tv     esac
    926   1.1       tv   fi
    927   1.1       tv done
    928   1.1       tv if $ac_cache_corrupted; then
    929  1.43      dbj   { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
    930   1.1       tv echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    931  1.43      dbj   { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    932   1.1       tv echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    933   1.1       tv    { (exit 1); exit 1; }; }
    934   1.1       tv fi
    935   1.1       tv 
    936   1.1       tv ac_ext=c
    937   1.1       tv ac_cpp='$CPP $CPPFLAGS'
    938   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    939   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    940   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
    941   1.1       tv 
    942  1.43      dbj case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    943  1.43      dbj   *c*,-n*) ECHO_N= ECHO_C='
    944  1.43      dbj ' ECHO_T='	' ;;
    945  1.43      dbj   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    946  1.43      dbj   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
    947  1.43      dbj esac
    948  1.43      dbj echo "#! $SHELL" >conftest.sh
    949  1.43      dbj echo  "exit 0"   >>conftest.sh
    950  1.43      dbj chmod +x conftest.sh
    951  1.43      dbj if { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
    952  1.43      dbj   (PATH=".;."; conftest.sh) 2>&5
    953  1.43      dbj   ac_status=$?
    954  1.43      dbj   echo "$as_me:954: \$? = $ac_status" >&5
    955  1.43      dbj   (exit $ac_status); }; then
    956  1.43      dbj   ac_path_separator=';'
    957  1.43      dbj else
    958  1.43      dbj   ac_path_separator=:
    959  1.43      dbj fi
    960  1.43      dbj PATH_SEPARATOR="$ac_path_separator"
    961  1.43      dbj rm -f conftest.sh
    962   1.1       tv 
    963  1.43      dbj ac_config_headers="$ac_config_headers nbtool_config.h"
    964   1.1       tv 
    965  1.43      dbj ac_config_files="$ac_config_files defs.mk"
    966   1.1       tv 
    967  1.45      jmc # AC_NETBSD
    968  1.20    bjh21 
    969   1.1       tv ac_ext=c
    970   1.1       tv ac_cpp='$CPP $CPPFLAGS'
    971   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    972   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    973   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
    974   1.1       tv if test -n "$ac_tool_prefix"; then
    975   1.1       tv   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    976   1.1       tv set dummy ${ac_tool_prefix}gcc; ac_word=$2
    977  1.45      jmc echo "$as_me:977: checking for $ac_word" >&5
    978   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    979   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
    980   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
    981   1.1       tv else
    982   1.1       tv   if test -n "$CC"; then
    983   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
    984   1.1       tv else
    985  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
    986  1.43      dbj ac_dummy="$PATH"
    987  1.43      dbj for ac_dir in $ac_dummy; do
    988  1.43      dbj   IFS=$ac_save_IFS
    989  1.43      dbj   test -z "$ac_dir" && ac_dir=.
    990  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
    991  1.43      dbj ac_cv_prog_CC="${ac_tool_prefix}gcc"
    992  1.45      jmc echo "$as_me:992: found $ac_dir/$ac_word" >&5
    993  1.43      dbj break
    994   1.1       tv done
    995   1.1       tv 
    996   1.1       tv fi
    997   1.1       tv fi
    998   1.1       tv CC=$ac_cv_prog_CC
    999   1.1       tv if test -n "$CC"; then
   1000  1.45      jmc   echo "$as_me:1000: result: $CC" >&5
   1001   1.1       tv echo "${ECHO_T}$CC" >&6
   1002   1.1       tv else
   1003  1.45      jmc   echo "$as_me:1003: result: no" >&5
   1004   1.1       tv echo "${ECHO_T}no" >&6
   1005   1.1       tv fi
   1006   1.1       tv 
   1007   1.1       tv fi
   1008   1.1       tv if test -z "$ac_cv_prog_CC"; then
   1009   1.1       tv   ac_ct_CC=$CC
   1010   1.1       tv   # Extract the first word of "gcc", so it can be a program name with args.
   1011   1.1       tv set dummy gcc; ac_word=$2
   1012  1.45      jmc echo "$as_me:1012: checking for $ac_word" >&5
   1013   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1014   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1015   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1016   1.1       tv else
   1017   1.1       tv   if test -n "$ac_ct_CC"; then
   1018   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1019   1.1       tv else
   1020  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1021  1.43      dbj ac_dummy="$PATH"
   1022  1.43      dbj for ac_dir in $ac_dummy; do
   1023  1.43      dbj   IFS=$ac_save_IFS
   1024  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1025  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1026  1.43      dbj ac_cv_prog_ac_ct_CC="gcc"
   1027  1.45      jmc echo "$as_me:1027: found $ac_dir/$ac_word" >&5
   1028  1.43      dbj break
   1029   1.1       tv done
   1030   1.1       tv 
   1031   1.1       tv fi
   1032   1.1       tv fi
   1033   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1034   1.1       tv if test -n "$ac_ct_CC"; then
   1035  1.45      jmc   echo "$as_me:1035: result: $ac_ct_CC" >&5
   1036   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1037   1.1       tv else
   1038  1.45      jmc   echo "$as_me:1038: result: no" >&5
   1039   1.1       tv echo "${ECHO_T}no" >&6
   1040   1.1       tv fi
   1041   1.1       tv 
   1042   1.1       tv   CC=$ac_ct_CC
   1043   1.1       tv else
   1044   1.1       tv   CC="$ac_cv_prog_CC"
   1045   1.1       tv fi
   1046   1.1       tv 
   1047   1.1       tv if test -z "$CC"; then
   1048   1.1       tv   if test -n "$ac_tool_prefix"; then
   1049   1.1       tv   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1050   1.1       tv set dummy ${ac_tool_prefix}cc; ac_word=$2
   1051  1.45      jmc echo "$as_me:1051: checking for $ac_word" >&5
   1052   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1053   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1054   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1055   1.1       tv else
   1056   1.1       tv   if test -n "$CC"; then
   1057   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1058   1.1       tv else
   1059  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1060  1.43      dbj ac_dummy="$PATH"
   1061  1.43      dbj for ac_dir in $ac_dummy; do
   1062  1.43      dbj   IFS=$ac_save_IFS
   1063  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1064  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1065  1.43      dbj ac_cv_prog_CC="${ac_tool_prefix}cc"
   1066  1.45      jmc echo "$as_me:1066: found $ac_dir/$ac_word" >&5
   1067  1.43      dbj break
   1068   1.1       tv done
   1069   1.1       tv 
   1070   1.1       tv fi
   1071   1.1       tv fi
   1072   1.1       tv CC=$ac_cv_prog_CC
   1073   1.1       tv if test -n "$CC"; then
   1074  1.45      jmc   echo "$as_me:1074: result: $CC" >&5
   1075   1.1       tv echo "${ECHO_T}$CC" >&6
   1076   1.1       tv else
   1077  1.45      jmc   echo "$as_me:1077: result: no" >&5
   1078   1.1       tv echo "${ECHO_T}no" >&6
   1079   1.1       tv fi
   1080   1.1       tv 
   1081   1.1       tv fi
   1082   1.1       tv if test -z "$ac_cv_prog_CC"; then
   1083   1.1       tv   ac_ct_CC=$CC
   1084   1.1       tv   # Extract the first word of "cc", so it can be a program name with args.
   1085   1.1       tv set dummy cc; ac_word=$2
   1086  1.45      jmc echo "$as_me:1086: checking for $ac_word" >&5
   1087   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1088   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1089   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1090   1.1       tv else
   1091   1.1       tv   if test -n "$ac_ct_CC"; then
   1092   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1093   1.1       tv else
   1094  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1095  1.43      dbj ac_dummy="$PATH"
   1096  1.43      dbj for ac_dir in $ac_dummy; do
   1097  1.43      dbj   IFS=$ac_save_IFS
   1098  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1099  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1100  1.43      dbj ac_cv_prog_ac_ct_CC="cc"
   1101  1.45      jmc echo "$as_me:1101: found $ac_dir/$ac_word" >&5
   1102  1.43      dbj break
   1103   1.1       tv done
   1104   1.1       tv 
   1105   1.1       tv fi
   1106   1.1       tv fi
   1107   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1108   1.1       tv if test -n "$ac_ct_CC"; then
   1109  1.45      jmc   echo "$as_me:1109: result: $ac_ct_CC" >&5
   1110   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1111   1.1       tv else
   1112  1.45      jmc   echo "$as_me:1112: result: no" >&5
   1113   1.1       tv echo "${ECHO_T}no" >&6
   1114   1.1       tv fi
   1115   1.1       tv 
   1116   1.1       tv   CC=$ac_ct_CC
   1117   1.1       tv else
   1118   1.1       tv   CC="$ac_cv_prog_CC"
   1119   1.1       tv fi
   1120   1.1       tv 
   1121   1.1       tv fi
   1122   1.1       tv if test -z "$CC"; then
   1123   1.1       tv   # Extract the first word of "cc", so it can be a program name with args.
   1124   1.1       tv set dummy cc; ac_word=$2
   1125  1.45      jmc echo "$as_me:1125: checking for $ac_word" >&5
   1126   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1127   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1128   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1129   1.1       tv else
   1130   1.1       tv   if test -n "$CC"; then
   1131   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1132   1.1       tv else
   1133   1.1       tv   ac_prog_rejected=no
   1134  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1135  1.43      dbj ac_dummy="$PATH"
   1136  1.43      dbj for ac_dir in $ac_dummy; do
   1137  1.43      dbj   IFS=$ac_save_IFS
   1138  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1139  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1140  1.43      dbj if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
   1141  1.43      dbj   ac_prog_rejected=yes
   1142  1.43      dbj   continue
   1143  1.43      dbj fi
   1144  1.43      dbj ac_cv_prog_CC="cc"
   1145  1.45      jmc echo "$as_me:1145: found $ac_dir/$ac_word" >&5
   1146  1.43      dbj break
   1147   1.1       tv done
   1148   1.1       tv 
   1149   1.1       tv if test $ac_prog_rejected = yes; then
   1150   1.1       tv   # We found a bogon in the path, so make sure we never use it.
   1151   1.1       tv   set dummy $ac_cv_prog_CC
   1152   1.1       tv   shift
   1153   1.1       tv   if test $# != 0; then
   1154   1.1       tv     # We chose a different compiler from the bogus one.
   1155   1.1       tv     # However, it has the same basename, so the bogon will be chosen
   1156   1.1       tv     # first if we set CC to just the basename; use the full file name.
   1157   1.1       tv     shift
   1158  1.43      dbj     set dummy "$ac_dir/$ac_word" ${1+"$@"}
   1159  1.43      dbj     shift
   1160  1.43      dbj     ac_cv_prog_CC="$@"
   1161   1.1       tv   fi
   1162   1.1       tv fi
   1163   1.1       tv fi
   1164   1.1       tv fi
   1165   1.1       tv CC=$ac_cv_prog_CC
   1166   1.1       tv if test -n "$CC"; then
   1167  1.45      jmc   echo "$as_me:1167: result: $CC" >&5
   1168   1.1       tv echo "${ECHO_T}$CC" >&6
   1169   1.1       tv else
   1170  1.45      jmc   echo "$as_me:1170: result: no" >&5
   1171   1.1       tv echo "${ECHO_T}no" >&6
   1172   1.1       tv fi
   1173   1.1       tv 
   1174   1.1       tv fi
   1175   1.1       tv if test -z "$CC"; then
   1176   1.1       tv   if test -n "$ac_tool_prefix"; then
   1177   1.1       tv   for ac_prog in cl
   1178   1.1       tv   do
   1179   1.1       tv     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1180   1.1       tv set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1181  1.45      jmc echo "$as_me:1181: checking for $ac_word" >&5
   1182   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1183   1.1       tv if test "${ac_cv_prog_CC+set}" = set; then
   1184   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1185   1.1       tv else
   1186   1.1       tv   if test -n "$CC"; then
   1187   1.1       tv   ac_cv_prog_CC="$CC" # Let the user override the test.
   1188   1.1       tv else
   1189  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1190  1.43      dbj ac_dummy="$PATH"
   1191  1.43      dbj for ac_dir in $ac_dummy; do
   1192  1.43      dbj   IFS=$ac_save_IFS
   1193  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1194  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1195  1.43      dbj ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1196  1.45      jmc echo "$as_me:1196: found $ac_dir/$ac_word" >&5
   1197  1.43      dbj break
   1198   1.1       tv done
   1199   1.1       tv 
   1200   1.1       tv fi
   1201   1.1       tv fi
   1202   1.1       tv CC=$ac_cv_prog_CC
   1203   1.1       tv if test -n "$CC"; then
   1204  1.45      jmc   echo "$as_me:1204: result: $CC" >&5
   1205   1.1       tv echo "${ECHO_T}$CC" >&6
   1206   1.1       tv else
   1207  1.45      jmc   echo "$as_me:1207: result: no" >&5
   1208   1.1       tv echo "${ECHO_T}no" >&6
   1209   1.1       tv fi
   1210   1.1       tv 
   1211   1.1       tv     test -n "$CC" && break
   1212   1.1       tv   done
   1213   1.1       tv fi
   1214   1.1       tv if test -z "$CC"; then
   1215   1.1       tv   ac_ct_CC=$CC
   1216   1.1       tv   for ac_prog in cl
   1217   1.1       tv do
   1218   1.1       tv   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1219   1.1       tv set dummy $ac_prog; ac_word=$2
   1220  1.45      jmc echo "$as_me:1220: checking for $ac_word" >&5
   1221   1.1       tv echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1222   1.1       tv if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1223   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1224   1.1       tv else
   1225   1.1       tv   if test -n "$ac_ct_CC"; then
   1226   1.1       tv   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1227   1.1       tv else
   1228  1.43      dbj   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1229  1.43      dbj ac_dummy="$PATH"
   1230  1.43      dbj for ac_dir in $ac_dummy; do
   1231  1.43      dbj   IFS=$ac_save_IFS
   1232  1.43      dbj   test -z "$ac_dir" && ac_dir=.
   1233  1.43      dbj   $as_executable_p "$ac_dir/$ac_word" || continue
   1234  1.43      dbj ac_cv_prog_ac_ct_CC="$ac_prog"
   1235  1.45      jmc echo "$as_me:1235: found $ac_dir/$ac_word" >&5
   1236  1.43      dbj break
   1237   1.1       tv done
   1238   1.1       tv 
   1239   1.1       tv fi
   1240   1.1       tv fi
   1241   1.1       tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1242   1.1       tv if test -n "$ac_ct_CC"; then
   1243  1.45      jmc   echo "$as_me:1243: result: $ac_ct_CC" >&5
   1244   1.1       tv echo "${ECHO_T}$ac_ct_CC" >&6
   1245   1.1       tv else
   1246  1.45      jmc   echo "$as_me:1246: result: no" >&5
   1247   1.1       tv echo "${ECHO_T}no" >&6
   1248   1.1       tv fi
   1249   1.1       tv 
   1250   1.1       tv   test -n "$ac_ct_CC" && break
   1251   1.1       tv done
   1252   1.1       tv 
   1253   1.1       tv   CC=$ac_ct_CC
   1254   1.1       tv fi
   1255   1.1       tv 
   1256   1.1       tv fi
   1257   1.1       tv 
   1258  1.45      jmc test -z "$CC" && { { echo "$as_me:1258: error: no acceptable cc found in \$PATH" >&5
   1259  1.43      dbj echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   1260   1.1       tv    { (exit 1); exit 1; }; }
   1261   1.1       tv 
   1262   1.1       tv # Provide some information about the compiler.
   1263  1.45      jmc echo "$as_me:1263:" \
   1264   1.1       tv      "checking for C compiler version" >&5
   1265   1.1       tv ac_compiler=`set X $ac_compile; echo $2`
   1266  1.45      jmc { (eval echo "$as_me:1266: \"$ac_compiler --version </dev/null >&5\"") >&5
   1267   1.1       tv   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1268   1.1       tv   ac_status=$?
   1269  1.45      jmc   echo "$as_me:1269: \$? = $ac_status" >&5
   1270   1.1       tv   (exit $ac_status); }
   1271  1.45      jmc { (eval echo "$as_me:1271: \"$ac_compiler -v </dev/null >&5\"") >&5
   1272   1.1       tv   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1273   1.1       tv   ac_status=$?
   1274  1.45      jmc   echo "$as_me:1274: \$? = $ac_status" >&5
   1275   1.1       tv   (exit $ac_status); }
   1276  1.45      jmc { (eval echo "$as_me:1276: \"$ac_compiler -V </dev/null >&5\"") >&5
   1277   1.1       tv   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1278   1.1       tv   ac_status=$?
   1279  1.45      jmc   echo "$as_me:1279: \$? = $ac_status" >&5
   1280   1.1       tv   (exit $ac_status); }
   1281   1.1       tv 
   1282   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   1283  1.45      jmc #line 1283 "configure"
   1284  1.43      dbj #include "confdefs.h"
   1285   1.1       tv 
   1286   1.1       tv int
   1287   1.1       tv main ()
   1288   1.1       tv {
   1289   1.1       tv 
   1290   1.1       tv   ;
   1291   1.1       tv   return 0;
   1292   1.1       tv }
   1293   1.1       tv _ACEOF
   1294   1.1       tv ac_clean_files_save=$ac_clean_files
   1295  1.43      dbj ac_clean_files="$ac_clean_files a.out a.exe"
   1296   1.1       tv # Try to create an executable without -o first, disregard a.out.
   1297   1.1       tv # It will help us diagnose broken compilers, and finding out an intuition
   1298   1.1       tv # of exeext.
   1299  1.45      jmc echo "$as_me:1299: checking for C compiler default output" >&5
   1300   1.1       tv echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   1301   1.1       tv ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1302  1.45      jmc if { (eval echo "$as_me:1302: \"$ac_link_default\"") >&5
   1303   1.1       tv   (eval $ac_link_default) 2>&5
   1304   1.1       tv   ac_status=$?
   1305  1.45      jmc   echo "$as_me:1305: \$? = $ac_status" >&5
   1306   1.1       tv   (exit $ac_status); }; then
   1307   1.1       tv   # Find the output, starting from the most likely.  This scheme is
   1308   1.1       tv # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1309   1.1       tv # resort.
   1310  1.43      dbj for ac_file in `ls a.exe conftest.exe 2>/dev/null;
   1311  1.43      dbj                 ls a.out conftest 2>/dev/null;
   1312  1.43      dbj                 ls a.* conftest.* 2>/dev/null`; do
   1313   1.1       tv   case $ac_file in
   1314  1.43      dbj     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1315  1.43      dbj     a.out ) # We found the default executable, but exeext='' is most
   1316  1.43      dbj             # certainly right.
   1317  1.43      dbj             break;;
   1318  1.43      dbj     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1319  1.43      dbj           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
   1320  1.43      dbj           export ac_cv_exeext
   1321  1.43      dbj           break;;
   1322  1.43      dbj     * ) break;;
   1323   1.1       tv   esac
   1324   1.1       tv done
   1325   1.1       tv else
   1326   1.1       tv   echo "$as_me: failed program was:" >&5
   1327  1.43      dbj cat conftest.$ac_ext >&5
   1328  1.45      jmc { { echo "$as_me:1328: error: C compiler cannot create executables" >&5
   1329  1.43      dbj echo "$as_me: error: C compiler cannot create executables" >&2;}
   1330   1.1       tv    { (exit 77); exit 77; }; }
   1331   1.1       tv fi
   1332   1.1       tv 
   1333   1.1       tv ac_exeext=$ac_cv_exeext
   1334  1.45      jmc echo "$as_me:1334: result: $ac_file" >&5
   1335   1.1       tv echo "${ECHO_T}$ac_file" >&6
   1336   1.1       tv 
   1337   1.1       tv # Check the compiler produces executables we can run.  If not, either
   1338   1.1       tv # the compiler is broken, or we cross compile.
   1339  1.45      jmc echo "$as_me:1339: checking whether the C compiler works" >&5
   1340   1.1       tv echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1341   1.1       tv # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1342   1.1       tv # If not cross compiling, check that we can run a simple program.
   1343   1.1       tv if test "$cross_compiling" != yes; then
   1344   1.1       tv   if { ac_try='./$ac_file'
   1345  1.45      jmc   { (eval echo "$as_me:1345: \"$ac_try\"") >&5
   1346   1.1       tv   (eval $ac_try) 2>&5
   1347   1.1       tv   ac_status=$?
   1348  1.45      jmc   echo "$as_me:1348: \$? = $ac_status" >&5
   1349   1.1       tv   (exit $ac_status); }; }; then
   1350   1.1       tv     cross_compiling=no
   1351   1.1       tv   else
   1352   1.1       tv     if test "$cross_compiling" = maybe; then
   1353   1.1       tv 	cross_compiling=yes
   1354   1.1       tv     else
   1355  1.45      jmc 	{ { echo "$as_me:1355: error: cannot run C compiled programs.
   1356  1.43      dbj If you meant to cross compile, use \`--host'." >&5
   1357   1.1       tv echo "$as_me: error: cannot run C compiled programs.
   1358  1.43      dbj If you meant to cross compile, use \`--host'." >&2;}
   1359   1.1       tv    { (exit 1); exit 1; }; }
   1360   1.1       tv     fi
   1361   1.1       tv   fi
   1362   1.1       tv fi
   1363  1.45      jmc echo "$as_me:1363: result: yes" >&5
   1364   1.1       tv echo "${ECHO_T}yes" >&6
   1365   1.1       tv 
   1366  1.43      dbj rm -f a.out a.exe conftest$ac_cv_exeext
   1367   1.1       tv ac_clean_files=$ac_clean_files_save
   1368   1.1       tv # Check the compiler produces executables we can run.  If not, either
   1369   1.1       tv # the compiler is broken, or we cross compile.
   1370  1.45      jmc echo "$as_me:1370: checking whether we are cross compiling" >&5
   1371   1.1       tv echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1372  1.45      jmc echo "$as_me:1372: result: $cross_compiling" >&5
   1373   1.1       tv echo "${ECHO_T}$cross_compiling" >&6
   1374   1.1       tv 
   1375  1.45      jmc echo "$as_me:1375: checking for executable suffix" >&5
   1376  1.43      dbj echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
   1377  1.45      jmc if { (eval echo "$as_me:1377: \"$ac_link\"") >&5
   1378   1.1       tv   (eval $ac_link) 2>&5
   1379   1.1       tv   ac_status=$?
   1380  1.45      jmc   echo "$as_me:1380: \$? = $ac_status" >&5
   1381   1.1       tv   (exit $ac_status); }; then
   1382   1.1       tv   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1383   1.1       tv # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1384   1.1       tv # work properly (i.e., refer to `conftest.exe'), while it won't with
   1385   1.1       tv # `rm'.
   1386  1.43      dbj for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   1387   1.1       tv   case $ac_file in
   1388  1.43      dbj     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1389   1.1       tv     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1390   1.1       tv           export ac_cv_exeext
   1391   1.1       tv           break;;
   1392   1.1       tv     * ) break;;
   1393   1.1       tv   esac
   1394   1.1       tv done
   1395   1.1       tv else
   1396  1.45      jmc   { { echo "$as_me:1396: error: cannot compute EXEEXT: cannot compile and link" >&5
   1397  1.43      dbj echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
   1398   1.1       tv    { (exit 1); exit 1; }; }
   1399   1.1       tv fi
   1400   1.1       tv 
   1401   1.1       tv rm -f conftest$ac_cv_exeext
   1402  1.45      jmc echo "$as_me:1402: result: $ac_cv_exeext" >&5
   1403   1.1       tv echo "${ECHO_T}$ac_cv_exeext" >&6
   1404   1.1       tv 
   1405   1.1       tv rm -f conftest.$ac_ext
   1406   1.1       tv EXEEXT=$ac_cv_exeext
   1407   1.1       tv ac_exeext=$EXEEXT
   1408  1.45      jmc echo "$as_me:1408: checking for object suffix" >&5
   1409  1.43      dbj echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
   1410   1.1       tv if test "${ac_cv_objext+set}" = set; then
   1411   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1412   1.1       tv else
   1413   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1414  1.45      jmc #line 1414 "configure"
   1415  1.43      dbj #include "confdefs.h"
   1416   1.1       tv 
   1417   1.1       tv int
   1418   1.1       tv main ()
   1419   1.1       tv {
   1420   1.1       tv 
   1421   1.1       tv   ;
   1422   1.1       tv   return 0;
   1423   1.1       tv }
   1424   1.1       tv _ACEOF
   1425   1.1       tv rm -f conftest.o conftest.obj
   1426  1.45      jmc if { (eval echo "$as_me:1426: \"$ac_compile\"") >&5
   1427   1.1       tv   (eval $ac_compile) 2>&5
   1428   1.1       tv   ac_status=$?
   1429  1.45      jmc   echo "$as_me:1429: \$? = $ac_status" >&5
   1430   1.1       tv   (exit $ac_status); }; then
   1431   1.1       tv   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1432   1.1       tv   case $ac_file in
   1433  1.43      dbj     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1434   1.1       tv     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1435   1.1       tv        break;;
   1436   1.1       tv   esac
   1437   1.1       tv done
   1438   1.1       tv else
   1439   1.1       tv   echo "$as_me: failed program was:" >&5
   1440  1.43      dbj cat conftest.$ac_ext >&5
   1441  1.45      jmc { { echo "$as_me:1441: error: cannot compute OBJEXT: cannot compile" >&5
   1442  1.43      dbj echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
   1443   1.1       tv    { (exit 1); exit 1; }; }
   1444   1.1       tv fi
   1445   1.1       tv 
   1446   1.1       tv rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1447   1.1       tv fi
   1448  1.45      jmc echo "$as_me:1448: result: $ac_cv_objext" >&5
   1449   1.1       tv echo "${ECHO_T}$ac_cv_objext" >&6
   1450   1.1       tv OBJEXT=$ac_cv_objext
   1451   1.1       tv ac_objext=$OBJEXT
   1452  1.45      jmc echo "$as_me:1452: checking whether we are using the GNU C compiler" >&5
   1453   1.1       tv echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1454   1.1       tv if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1455   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1456   1.1       tv else
   1457   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1458  1.45      jmc #line 1458 "configure"
   1459  1.43      dbj #include "confdefs.h"
   1460   1.1       tv 
   1461   1.1       tv int
   1462   1.1       tv main ()
   1463   1.1       tv {
   1464   1.1       tv #ifndef __GNUC__
   1465   1.1       tv        choke me
   1466   1.1       tv #endif
   1467   1.1       tv 
   1468   1.1       tv   ;
   1469   1.1       tv   return 0;
   1470   1.1       tv }
   1471   1.1       tv _ACEOF
   1472   1.1       tv rm -f conftest.$ac_objext
   1473  1.45      jmc if { (eval echo "$as_me:1473: \"$ac_compile\"") >&5
   1474   1.1       tv   (eval $ac_compile) 2>&5
   1475   1.1       tv   ac_status=$?
   1476  1.45      jmc   echo "$as_me:1476: \$? = $ac_status" >&5
   1477   1.1       tv   (exit $ac_status); } &&
   1478   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1479  1.45      jmc   { (eval echo "$as_me:1479: \"$ac_try\"") >&5
   1480   1.1       tv   (eval $ac_try) 2>&5
   1481   1.1       tv   ac_status=$?
   1482  1.45      jmc   echo "$as_me:1482: \$? = $ac_status" >&5
   1483   1.1       tv   (exit $ac_status); }; }; then
   1484   1.1       tv   ac_compiler_gnu=yes
   1485   1.1       tv else
   1486   1.1       tv   echo "$as_me: failed program was:" >&5
   1487  1.43      dbj cat conftest.$ac_ext >&5
   1488   1.1       tv ac_compiler_gnu=no
   1489   1.1       tv fi
   1490   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1491   1.1       tv ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1492   1.1       tv 
   1493   1.1       tv fi
   1494  1.45      jmc echo "$as_me:1494: result: $ac_cv_c_compiler_gnu" >&5
   1495   1.1       tv echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1496   1.1       tv GCC=`test $ac_compiler_gnu = yes && echo yes`
   1497   1.1       tv ac_test_CFLAGS=${CFLAGS+set}
   1498   1.1       tv ac_save_CFLAGS=$CFLAGS
   1499   1.1       tv CFLAGS="-g"
   1500  1.45      jmc echo "$as_me:1500: checking whether $CC accepts -g" >&5
   1501   1.1       tv echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1502   1.1       tv if test "${ac_cv_prog_cc_g+set}" = set; then
   1503   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1504   1.1       tv else
   1505   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1506  1.45      jmc #line 1506 "configure"
   1507  1.43      dbj #include "confdefs.h"
   1508   1.1       tv 
   1509   1.1       tv int
   1510   1.1       tv main ()
   1511   1.1       tv {
   1512   1.1       tv 
   1513   1.1       tv   ;
   1514   1.1       tv   return 0;
   1515   1.1       tv }
   1516   1.1       tv _ACEOF
   1517   1.1       tv rm -f conftest.$ac_objext
   1518  1.45      jmc if { (eval echo "$as_me:1518: \"$ac_compile\"") >&5
   1519   1.1       tv   (eval $ac_compile) 2>&5
   1520   1.1       tv   ac_status=$?
   1521  1.45      jmc   echo "$as_me:1521: \$? = $ac_status" >&5
   1522   1.1       tv   (exit $ac_status); } &&
   1523   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1524  1.45      jmc   { (eval echo "$as_me:1524: \"$ac_try\"") >&5
   1525   1.1       tv   (eval $ac_try) 2>&5
   1526   1.1       tv   ac_status=$?
   1527  1.45      jmc   echo "$as_me:1527: \$? = $ac_status" >&5
   1528   1.1       tv   (exit $ac_status); }; }; then
   1529   1.1       tv   ac_cv_prog_cc_g=yes
   1530   1.1       tv else
   1531   1.1       tv   echo "$as_me: failed program was:" >&5
   1532  1.43      dbj cat conftest.$ac_ext >&5
   1533   1.1       tv ac_cv_prog_cc_g=no
   1534   1.1       tv fi
   1535   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1536   1.1       tv fi
   1537  1.45      jmc echo "$as_me:1537: result: $ac_cv_prog_cc_g" >&5
   1538   1.1       tv echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1539   1.1       tv if test "$ac_test_CFLAGS" = set; then
   1540   1.1       tv   CFLAGS=$ac_save_CFLAGS
   1541   1.1       tv elif test $ac_cv_prog_cc_g = yes; then
   1542   1.1       tv   if test "$GCC" = yes; then
   1543   1.1       tv     CFLAGS="-g -O2"
   1544   1.1       tv   else
   1545   1.1       tv     CFLAGS="-g"
   1546   1.1       tv   fi
   1547   1.1       tv else
   1548   1.1       tv   if test "$GCC" = yes; then
   1549   1.1       tv     CFLAGS="-O2"
   1550   1.1       tv   else
   1551   1.1       tv     CFLAGS=
   1552   1.1       tv   fi
   1553   1.1       tv fi
   1554   1.1       tv # Some people use a C++ compiler to compile C.  Since we use `exit',
   1555   1.1       tv # in C++ we need to declare it.  In case someone uses the same compiler
   1556   1.1       tv # for both compiling C and C++ we need to have the C++ compiler decide
   1557   1.1       tv # the declaration of exit, since it's the most demanding environment.
   1558   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   1559   1.1       tv #ifndef __cplusplus
   1560   1.1       tv   choke me
   1561   1.1       tv #endif
   1562   1.1       tv _ACEOF
   1563   1.1       tv rm -f conftest.$ac_objext
   1564  1.45      jmc if { (eval echo "$as_me:1564: \"$ac_compile\"") >&5
   1565   1.1       tv   (eval $ac_compile) 2>&5
   1566   1.1       tv   ac_status=$?
   1567  1.45      jmc   echo "$as_me:1567: \$? = $ac_status" >&5
   1568   1.1       tv   (exit $ac_status); } &&
   1569   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1570  1.45      jmc   { (eval echo "$as_me:1570: \"$ac_try\"") >&5
   1571   1.1       tv   (eval $ac_try) 2>&5
   1572   1.1       tv   ac_status=$?
   1573  1.45      jmc   echo "$as_me:1573: \$? = $ac_status" >&5
   1574   1.1       tv   (exit $ac_status); }; }; then
   1575   1.1       tv   for ac_declaration in \
   1576   1.1       tv    ''\
   1577   1.1       tv    '#include <stdlib.h>' \
   1578   1.1       tv    'extern "C" void std::exit (int) throw (); using std::exit;' \
   1579   1.1       tv    'extern "C" void std::exit (int); using std::exit;' \
   1580   1.1       tv    'extern "C" void exit (int) throw ();' \
   1581   1.1       tv    'extern "C" void exit (int);' \
   1582   1.1       tv    'void exit (int);'
   1583   1.1       tv do
   1584   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1585  1.45      jmc #line 1585 "configure"
   1586  1.43      dbj #include "confdefs.h"
   1587   1.1       tv #include <stdlib.h>
   1588   1.1       tv $ac_declaration
   1589   1.1       tv int
   1590   1.1       tv main ()
   1591   1.1       tv {
   1592   1.1       tv exit (42);
   1593   1.1       tv   ;
   1594   1.1       tv   return 0;
   1595   1.1       tv }
   1596   1.1       tv _ACEOF
   1597   1.1       tv rm -f conftest.$ac_objext
   1598  1.45      jmc if { (eval echo "$as_me:1598: \"$ac_compile\"") >&5
   1599   1.1       tv   (eval $ac_compile) 2>&5
   1600   1.1       tv   ac_status=$?
   1601  1.45      jmc   echo "$as_me:1601: \$? = $ac_status" >&5
   1602   1.1       tv   (exit $ac_status); } &&
   1603   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1604  1.45      jmc   { (eval echo "$as_me:1604: \"$ac_try\"") >&5
   1605   1.1       tv   (eval $ac_try) 2>&5
   1606   1.1       tv   ac_status=$?
   1607  1.45      jmc   echo "$as_me:1607: \$? = $ac_status" >&5
   1608   1.1       tv   (exit $ac_status); }; }; then
   1609   1.1       tv   :
   1610   1.1       tv else
   1611   1.1       tv   echo "$as_me: failed program was:" >&5
   1612  1.43      dbj cat conftest.$ac_ext >&5
   1613   1.1       tv continue
   1614   1.1       tv fi
   1615   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1616   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1617  1.45      jmc #line 1617 "configure"
   1618  1.43      dbj #include "confdefs.h"
   1619   1.1       tv $ac_declaration
   1620   1.1       tv int
   1621   1.1       tv main ()
   1622   1.1       tv {
   1623   1.1       tv exit (42);
   1624   1.1       tv   ;
   1625   1.1       tv   return 0;
   1626   1.1       tv }
   1627   1.1       tv _ACEOF
   1628   1.1       tv rm -f conftest.$ac_objext
   1629  1.45      jmc if { (eval echo "$as_me:1629: \"$ac_compile\"") >&5
   1630   1.1       tv   (eval $ac_compile) 2>&5
   1631   1.1       tv   ac_status=$?
   1632  1.45      jmc   echo "$as_me:1632: \$? = $ac_status" >&5
   1633   1.1       tv   (exit $ac_status); } &&
   1634   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   1635  1.45      jmc   { (eval echo "$as_me:1635: \"$ac_try\"") >&5
   1636   1.1       tv   (eval $ac_try) 2>&5
   1637   1.1       tv   ac_status=$?
   1638  1.45      jmc   echo "$as_me:1638: \$? = $ac_status" >&5
   1639   1.1       tv   (exit $ac_status); }; }; then
   1640   1.1       tv   break
   1641   1.1       tv else
   1642   1.1       tv   echo "$as_me: failed program was:" >&5
   1643  1.43      dbj cat conftest.$ac_ext >&5
   1644   1.1       tv fi
   1645   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1646   1.1       tv done
   1647   1.1       tv rm -f conftest*
   1648   1.1       tv if test -n "$ac_declaration"; then
   1649   1.1       tv   echo '#ifdef __cplusplus' >>confdefs.h
   1650   1.1       tv   echo $ac_declaration      >>confdefs.h
   1651   1.1       tv   echo '#endif'             >>confdefs.h
   1652   1.1       tv fi
   1653   1.1       tv 
   1654   1.1       tv else
   1655   1.1       tv   echo "$as_me: failed program was:" >&5
   1656  1.43      dbj cat conftest.$ac_ext >&5
   1657   1.1       tv fi
   1658   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   1659   1.1       tv ac_ext=c
   1660   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   1661   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1662   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1663   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1664   1.1       tv 
   1665   1.1       tv ac_ext=c
   1666   1.1       tv ac_cpp='$CPP $CPPFLAGS'
   1667   1.1       tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1668   1.1       tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1669   1.1       tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1670  1.45      jmc echo "$as_me:1670: checking how to run the C preprocessor" >&5
   1671   1.1       tv echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   1672   1.1       tv # On Suns, sometimes $CPP names a directory.
   1673   1.1       tv if test -n "$CPP" && test -d "$CPP"; then
   1674   1.1       tv   CPP=
   1675   1.1       tv fi
   1676   1.1       tv if test -z "$CPP"; then
   1677   1.1       tv   if test "${ac_cv_prog_CPP+set}" = set; then
   1678   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   1679   1.1       tv else
   1680   1.1       tv       # Double quotes because CPP needs to be expanded
   1681   1.1       tv     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   1682   1.1       tv     do
   1683   1.1       tv       ac_preproc_ok=false
   1684   1.1       tv for ac_c_preproc_warn_flag in '' yes
   1685   1.1       tv do
   1686   1.1       tv   # Use a header file that comes with gcc, so configuring glibc
   1687   1.1       tv   # with a fresh cross-compiler works.
   1688   1.1       tv   # On the NeXT, cc -E runs the code through the compiler's parser,
   1689   1.1       tv   # not just through cpp. "Syntax error" is here to catch this case.
   1690   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1691  1.45      jmc #line 1691 "configure"
   1692  1.43      dbj #include "confdefs.h"
   1693  1.43      dbj #include <assert.h>
   1694   1.1       tv                      Syntax error
   1695   1.1       tv _ACEOF
   1696  1.45      jmc if { (eval echo "$as_me:1696: \"$ac_cpp conftest.$ac_ext\"") >&5
   1697   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1698   1.1       tv   ac_status=$?
   1699  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   1700   1.1       tv   rm -f conftest.er1
   1701   1.1       tv   cat conftest.err >&5
   1702  1.45      jmc   echo "$as_me:1702: \$? = $ac_status" >&5
   1703   1.1       tv   (exit $ac_status); } >/dev/null; then
   1704   1.1       tv   if test -s conftest.err; then
   1705   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   1706   1.1       tv   else
   1707   1.1       tv     ac_cpp_err=
   1708   1.1       tv   fi
   1709   1.1       tv else
   1710   1.1       tv   ac_cpp_err=yes
   1711   1.1       tv fi
   1712   1.1       tv if test -z "$ac_cpp_err"; then
   1713   1.1       tv   :
   1714   1.1       tv else
   1715   1.1       tv   echo "$as_me: failed program was:" >&5
   1716  1.43      dbj   cat conftest.$ac_ext >&5
   1717   1.1       tv   # Broken: fails on valid input.
   1718   1.1       tv continue
   1719   1.1       tv fi
   1720   1.1       tv rm -f conftest.err conftest.$ac_ext
   1721   1.1       tv 
   1722   1.1       tv   # OK, works on sane cases.  Now check whether non-existent headers
   1723   1.1       tv   # can be detected and how.
   1724   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1725  1.45      jmc #line 1725 "configure"
   1726  1.43      dbj #include "confdefs.h"
   1727   1.1       tv #include <ac_nonexistent.h>
   1728   1.1       tv _ACEOF
   1729  1.45      jmc if { (eval echo "$as_me:1729: \"$ac_cpp conftest.$ac_ext\"") >&5
   1730   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1731   1.1       tv   ac_status=$?
   1732  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   1733   1.1       tv   rm -f conftest.er1
   1734   1.1       tv   cat conftest.err >&5
   1735  1.45      jmc   echo "$as_me:1735: \$? = $ac_status" >&5
   1736   1.1       tv   (exit $ac_status); } >/dev/null; then
   1737   1.1       tv   if test -s conftest.err; then
   1738   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   1739   1.1       tv   else
   1740   1.1       tv     ac_cpp_err=
   1741   1.1       tv   fi
   1742   1.1       tv else
   1743   1.1       tv   ac_cpp_err=yes
   1744   1.1       tv fi
   1745   1.1       tv if test -z "$ac_cpp_err"; then
   1746   1.1       tv   # Broken: success on invalid input.
   1747   1.1       tv continue
   1748   1.1       tv else
   1749   1.1       tv   echo "$as_me: failed program was:" >&5
   1750  1.43      dbj   cat conftest.$ac_ext >&5
   1751   1.1       tv   # Passes both tests.
   1752   1.1       tv ac_preproc_ok=:
   1753   1.1       tv break
   1754   1.1       tv fi
   1755   1.1       tv rm -f conftest.err conftest.$ac_ext
   1756   1.1       tv 
   1757   1.1       tv done
   1758   1.1       tv # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1759   1.1       tv rm -f conftest.err conftest.$ac_ext
   1760   1.1       tv if $ac_preproc_ok; then
   1761   1.1       tv   break
   1762   1.1       tv fi
   1763   1.1       tv 
   1764   1.1       tv     done
   1765   1.1       tv     ac_cv_prog_CPP=$CPP
   1766   1.1       tv 
   1767   1.1       tv fi
   1768   1.1       tv   CPP=$ac_cv_prog_CPP
   1769   1.1       tv else
   1770   1.1       tv   ac_cv_prog_CPP=$CPP
   1771   1.1       tv fi
   1772  1.45      jmc echo "$as_me:1772: result: $CPP" >&5
   1773   1.1       tv echo "${ECHO_T}$CPP" >&6
   1774   1.1       tv ac_preproc_ok=false
   1775   1.1       tv for ac_c_preproc_warn_flag in '' yes
   1776   1.1       tv do
   1777   1.1       tv   # Use a header file that comes with gcc, so configuring glibc
   1778   1.1       tv   # with a fresh cross-compiler works.
   1779   1.1       tv   # On the NeXT, cc -E runs the code through the compiler's parser,
   1780   1.1       tv   # not just through cpp. "Syntax error" is here to catch this case.
   1781   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1782  1.45      jmc #line 1782 "configure"
   1783  1.43      dbj #include "confdefs.h"
   1784  1.43      dbj #include <assert.h>
   1785   1.1       tv                      Syntax error
   1786   1.1       tv _ACEOF
   1787  1.45      jmc if { (eval echo "$as_me:1787: \"$ac_cpp conftest.$ac_ext\"") >&5
   1788   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1789   1.1       tv   ac_status=$?
   1790  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   1791   1.1       tv   rm -f conftest.er1
   1792   1.1       tv   cat conftest.err >&5
   1793  1.45      jmc   echo "$as_me:1793: \$? = $ac_status" >&5
   1794   1.1       tv   (exit $ac_status); } >/dev/null; then
   1795   1.1       tv   if test -s conftest.err; then
   1796   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   1797   1.1       tv   else
   1798   1.1       tv     ac_cpp_err=
   1799   1.1       tv   fi
   1800   1.1       tv else
   1801   1.1       tv   ac_cpp_err=yes
   1802   1.1       tv fi
   1803   1.1       tv if test -z "$ac_cpp_err"; then
   1804   1.1       tv   :
   1805   1.1       tv else
   1806   1.1       tv   echo "$as_me: failed program was:" >&5
   1807  1.43      dbj   cat conftest.$ac_ext >&5
   1808   1.1       tv   # Broken: fails on valid input.
   1809   1.1       tv continue
   1810   1.1       tv fi
   1811   1.1       tv rm -f conftest.err conftest.$ac_ext
   1812   1.1       tv 
   1813   1.1       tv   # OK, works on sane cases.  Now check whether non-existent headers
   1814   1.1       tv   # can be detected and how.
   1815   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   1816  1.45      jmc #line 1816 "configure"
   1817  1.43      dbj #include "confdefs.h"
   1818   1.1       tv #include <ac_nonexistent.h>
   1819   1.1       tv _ACEOF
   1820  1.45      jmc if { (eval echo "$as_me:1820: \"$ac_cpp conftest.$ac_ext\"") >&5
   1821   1.1       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1822   1.1       tv   ac_status=$?
   1823  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   1824   1.1       tv   rm -f conftest.er1
   1825   1.1       tv   cat conftest.err >&5
   1826  1.45      jmc   echo "$as_me:1826: \$? = $ac_status" >&5
   1827   1.1       tv   (exit $ac_status); } >/dev/null; then
   1828   1.1       tv   if test -s conftest.err; then
   1829   1.1       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   1830   1.1       tv   else
   1831   1.1       tv     ac_cpp_err=
   1832   1.1       tv   fi
   1833   1.1       tv else
   1834  1.45      jmc   ac_cpp_err=yes
   1835  1.45      jmc fi
   1836  1.45      jmc if test -z "$ac_cpp_err"; then
   1837  1.45      jmc   # Broken: success on invalid input.
   1838  1.45      jmc continue
   1839  1.45      jmc else
   1840  1.45      jmc   echo "$as_me: failed program was:" >&5
   1841  1.45      jmc   cat conftest.$ac_ext >&5
   1842  1.45      jmc   # Passes both tests.
   1843  1.45      jmc ac_preproc_ok=:
   1844  1.45      jmc break
   1845  1.45      jmc fi
   1846  1.45      jmc rm -f conftest.err conftest.$ac_ext
   1847  1.45      jmc 
   1848  1.45      jmc done
   1849  1.45      jmc # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1850  1.45      jmc rm -f conftest.err conftest.$ac_ext
   1851  1.45      jmc if $ac_preproc_ok; then
   1852  1.45      jmc   :
   1853  1.45      jmc else
   1854  1.45      jmc   { { echo "$as_me:1854: error: C preprocessor \"$CPP\" fails sanity check" >&5
   1855  1.45      jmc echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
   1856  1.45      jmc    { (exit 1); exit 1; }; }
   1857  1.45      jmc fi
   1858  1.45      jmc 
   1859  1.45      jmc ac_ext=c
   1860  1.45      jmc ac_cpp='$CPP $CPPFLAGS'
   1861  1.45      jmc ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1862  1.45      jmc ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1863  1.45      jmc ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1864  1.45      jmc 
   1865  1.45      jmc             echo "$as_me:1865: checking for NetBSD" >&5
   1866  1.45      jmc echo $ECHO_N "checking for NetBSD... $ECHO_C" >&6
   1867  1.45      jmc       cat >conftest.$ac_ext <<_ACEOF
   1868  1.45      jmc #line 1868 "configure"
   1869  1.45      jmc #include "confdefs.h"
   1870  1.45      jmc #ifdef __NetBSD__
   1871  1.45      jmc 	yes
   1872  1.45      jmc 	#endif
   1873  1.45      jmc 
   1874  1.45      jmc _ACEOF
   1875  1.45      jmc if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   1876  1.45      jmc   egrep "yes" >/dev/null 2>&1; then
   1877  1.45      jmc   echo "$as_me:1877: result: yes" >&5
   1878  1.45      jmc echo "${ECHO_T}yes" >&6
   1879  1.45      jmc 	cat >>confdefs.h <<\EOF
   1880  1.45      jmc #define _POSIX_SOURCE 1
   1881  1.45      jmc EOF
   1882  1.45      jmc  cat >>confdefs.h <<\EOF
   1883  1.45      jmc #define _POSIX_C_SOURCE 200112L
   1884  1.45      jmc EOF
   1885  1.45      jmc  cat >>confdefs.h <<\EOF
   1886  1.45      jmc #define _XOPEN_SOURCE 600
   1887  1.45      jmc EOF
   1888  1.45      jmc 
   1889  1.45      jmc else
   1890  1.45      jmc   echo "$as_me:1890: result: no" >&5
   1891  1.45      jmc echo "${ECHO_T}no" >&6
   1892  1.45      jmc fi
   1893  1.45      jmc rm -f conftest*
   1894  1.45      jmc 
   1895  1.45      jmc # Extract the first word of "sh", so it can be a program name with args.
   1896  1.45      jmc set dummy sh; ac_word=$2
   1897  1.45      jmc echo "$as_me:1897: checking for $ac_word" >&5
   1898  1.45      jmc echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1899  1.45      jmc if test "${ac_cv_path_BSHELL+set}" = set; then
   1900  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   1901  1.45      jmc else
   1902  1.45      jmc   case $BSHELL in
   1903  1.45      jmc   [\\/]* | ?:[\\/]*)
   1904  1.45      jmc   ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
   1905  1.45      jmc   ;;
   1906  1.45      jmc   *)
   1907  1.45      jmc   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1908  1.45      jmc ac_dummy="$PATH"
   1909  1.45      jmc for ac_dir in $ac_dummy; do
   1910  1.45      jmc   IFS=$ac_save_IFS
   1911  1.45      jmc   test -z "$ac_dir" && ac_dir=.
   1912  1.45      jmc   if $as_executable_p "$ac_dir/$ac_word"; then
   1913  1.45      jmc    ac_cv_path_BSHELL="$ac_dir/$ac_word"
   1914  1.45      jmc    echo "$as_me:1914: found $ac_dir/$ac_word" >&5
   1915  1.45      jmc    break
   1916  1.45      jmc fi
   1917  1.45      jmc done
   1918  1.45      jmc 
   1919  1.45      jmc   ;;
   1920  1.45      jmc esac
   1921  1.45      jmc fi
   1922  1.45      jmc BSHELL=$ac_cv_path_BSHELL
   1923  1.45      jmc 
   1924  1.45      jmc if test -n "$BSHELL"; then
   1925  1.45      jmc   echo "$as_me:1925: result: $BSHELL" >&5
   1926  1.45      jmc echo "${ECHO_T}$BSHELL" >&6
   1927  1.45      jmc else
   1928  1.45      jmc   echo "$as_me:1928: result: no" >&5
   1929  1.45      jmc echo "${ECHO_T}no" >&6
   1930  1.45      jmc fi
   1931  1.45      jmc 
   1932  1.45      jmc if test x"$BSHELL" = x; then
   1933  1.45      jmc 	{ { echo "$as_me:1933: error: sh must be somewhere on \$PATH" >&5
   1934  1.45      jmc echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
   1935  1.45      jmc    { (exit 1); exit 1; }; }
   1936  1.45      jmc fi
   1937  1.45      jmc cat >>confdefs.h <<EOF
   1938  1.45      jmc #define PATH_BSHELL "$BSHELL"
   1939  1.45      jmc EOF
   1940  1.45      jmc 
   1941  1.45      jmc echo "$as_me:1941: checking whether byte ordering is bigendian" >&5
   1942  1.45      jmc echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   1943  1.45      jmc if test "${ac_cv_c_bigendian+set}" = set; then
   1944  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   1945  1.45      jmc else
   1946  1.45      jmc   ac_cv_c_bigendian=unknown
   1947  1.45      jmc # See if sys/param.h defines the BYTE_ORDER macro.
   1948  1.45      jmc cat >conftest.$ac_ext <<_ACEOF
   1949  1.45      jmc #line 1949 "configure"
   1950  1.45      jmc #include "confdefs.h"
   1951  1.45      jmc #include <sys/types.h>
   1952  1.45      jmc #include <sys/param.h>
   1953  1.45      jmc 
   1954  1.45      jmc int
   1955  1.45      jmc main ()
   1956  1.45      jmc {
   1957  1.45      jmc #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
   1958  1.45      jmc  bogus endian macros
   1959  1.45      jmc #endif
   1960  1.45      jmc 
   1961  1.45      jmc   ;
   1962  1.45      jmc   return 0;
   1963  1.45      jmc }
   1964  1.45      jmc _ACEOF
   1965  1.45      jmc rm -f conftest.$ac_objext
   1966  1.45      jmc if { (eval echo "$as_me:1966: \"$ac_compile\"") >&5
   1967  1.45      jmc   (eval $ac_compile) 2>&5
   1968  1.45      jmc   ac_status=$?
   1969  1.45      jmc   echo "$as_me:1969: \$? = $ac_status" >&5
   1970  1.45      jmc   (exit $ac_status); } &&
   1971  1.45      jmc          { ac_try='test -s conftest.$ac_objext'
   1972  1.45      jmc   { (eval echo "$as_me:1972: \"$ac_try\"") >&5
   1973  1.45      jmc   (eval $ac_try) 2>&5
   1974  1.45      jmc   ac_status=$?
   1975  1.45      jmc   echo "$as_me:1975: \$? = $ac_status" >&5
   1976  1.45      jmc   (exit $ac_status); }; }; then
   1977  1.45      jmc   # It does; now see whether it defined to BIG_ENDIAN or not.
   1978  1.45      jmc cat >conftest.$ac_ext <<_ACEOF
   1979  1.45      jmc #line 1979 "configure"
   1980  1.45      jmc #include "confdefs.h"
   1981  1.45      jmc #include <sys/types.h>
   1982  1.45      jmc #include <sys/param.h>
   1983  1.45      jmc 
   1984  1.45      jmc int
   1985  1.45      jmc main ()
   1986  1.45      jmc {
   1987  1.45      jmc #if BYTE_ORDER != BIG_ENDIAN
   1988  1.45      jmc  not big endian
   1989  1.45      jmc #endif
   1990  1.45      jmc 
   1991  1.45      jmc   ;
   1992  1.45      jmc   return 0;
   1993  1.45      jmc }
   1994  1.45      jmc _ACEOF
   1995  1.45      jmc rm -f conftest.$ac_objext
   1996  1.45      jmc if { (eval echo "$as_me:1996: \"$ac_compile\"") >&5
   1997  1.45      jmc   (eval $ac_compile) 2>&5
   1998  1.45      jmc   ac_status=$?
   1999  1.45      jmc   echo "$as_me:1999: \$? = $ac_status" >&5
   2000  1.45      jmc   (exit $ac_status); } &&
   2001  1.45      jmc          { ac_try='test -s conftest.$ac_objext'
   2002  1.45      jmc   { (eval echo "$as_me:2002: \"$ac_try\"") >&5
   2003  1.45      jmc   (eval $ac_try) 2>&5
   2004  1.45      jmc   ac_status=$?
   2005  1.45      jmc   echo "$as_me:2005: \$? = $ac_status" >&5
   2006  1.45      jmc   (exit $ac_status); }; }; then
   2007  1.45      jmc   ac_cv_c_bigendian=yes
   2008  1.45      jmc else
   2009  1.45      jmc   echo "$as_me: failed program was:" >&5
   2010  1.45      jmc cat conftest.$ac_ext >&5
   2011  1.45      jmc ac_cv_c_bigendian=no
   2012  1.45      jmc fi
   2013  1.45      jmc rm -f conftest.$ac_objext conftest.$ac_ext
   2014  1.45      jmc else
   2015  1.45      jmc   echo "$as_me: failed program was:" >&5
   2016  1.45      jmc cat conftest.$ac_ext >&5
   2017  1.45      jmc fi
   2018  1.45      jmc rm -f conftest.$ac_objext conftest.$ac_ext
   2019  1.45      jmc if test $ac_cv_c_bigendian = unknown; then
   2020  1.45      jmc if test "$cross_compiling" = yes; then
   2021  1.45      jmc   { { echo "$as_me:2021: error: cannot run test program while cross compiling" >&5
   2022  1.45      jmc echo "$as_me: error: cannot run test program while cross compiling" >&2;}
   2023  1.45      jmc    { (exit 1); exit 1; }; }
   2024  1.45      jmc else
   2025  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   2026  1.45      jmc #line 2026 "configure"
   2027  1.45      jmc #include "confdefs.h"
   2028  1.45      jmc int
   2029  1.45      jmc main ()
   2030  1.45      jmc {
   2031  1.45      jmc   /* Are we little or big endian?  From Harbison&Steele.  */
   2032  1.45      jmc   union
   2033  1.45      jmc   {
   2034  1.45      jmc     long l;
   2035  1.45      jmc     char c[sizeof (long)];
   2036  1.45      jmc   } u;
   2037  1.45      jmc   u.l = 1;
   2038  1.45      jmc   exit (u.c[sizeof (long) - 1] == 1);
   2039  1.45      jmc }
   2040  1.45      jmc _ACEOF
   2041  1.45      jmc rm -f conftest$ac_exeext
   2042  1.45      jmc if { (eval echo "$as_me:2042: \"$ac_link\"") >&5
   2043  1.45      jmc   (eval $ac_link) 2>&5
   2044  1.45      jmc   ac_status=$?
   2045  1.45      jmc   echo "$as_me:2045: \$? = $ac_status" >&5
   2046  1.45      jmc   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2047  1.45      jmc   { (eval echo "$as_me:2047: \"$ac_try\"") >&5
   2048  1.45      jmc   (eval $ac_try) 2>&5
   2049  1.45      jmc   ac_status=$?
   2050  1.45      jmc   echo "$as_me:2050: \$? = $ac_status" >&5
   2051  1.45      jmc   (exit $ac_status); }; }; then
   2052  1.45      jmc   ac_cv_c_bigendian=no
   2053  1.45      jmc else
   2054  1.45      jmc   echo "$as_me: program exited with status $ac_status" >&5
   2055  1.45      jmc echo "$as_me: failed program was:" >&5
   2056  1.45      jmc cat conftest.$ac_ext >&5
   2057  1.45      jmc ac_cv_c_bigendian=yes
   2058  1.45      jmc fi
   2059  1.45      jmc rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2060  1.45      jmc fi
   2061   1.1       tv fi
   2062   1.1       tv fi
   2063  1.45      jmc echo "$as_me:2063: result: $ac_cv_c_bigendian" >&5
   2064  1.45      jmc echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   2065  1.45      jmc if test $ac_cv_c_bigendian = yes; then
   2066  1.45      jmc 
   2067  1.45      jmc cat >>confdefs.h <<\EOF
   2068  1.45      jmc #define WORDS_BIGENDIAN 1
   2069  1.45      jmc EOF
   2070   1.1       tv 
   2071   1.1       tv fi
   2072   1.1       tv 
   2073  1.45      jmc echo "$as_me:2073: checking for ANSI C header files" >&5
   2074   1.6       tv echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   2075   1.6       tv if test "${ac_cv_header_stdc+set}" = set; then
   2076   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2077   1.6       tv else
   2078   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2079  1.45      jmc #line 2079 "configure"
   2080  1.43      dbj #include "confdefs.h"
   2081   1.6       tv #include <stdlib.h>
   2082   1.6       tv #include <stdarg.h>
   2083   1.6       tv #include <string.h>
   2084   1.6       tv #include <float.h>
   2085   1.6       tv 
   2086   1.6       tv _ACEOF
   2087  1.45      jmc if { (eval echo "$as_me:2087: \"$ac_cpp conftest.$ac_ext\"") >&5
   2088  1.43      dbj   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2089  1.39    fredb   ac_status=$?
   2090  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2091  1.43      dbj   rm -f conftest.er1
   2092  1.43      dbj   cat conftest.err >&5
   2093  1.45      jmc   echo "$as_me:2093: \$? = $ac_status" >&5
   2094  1.43      dbj   (exit $ac_status); } >/dev/null; then
   2095  1.43      dbj   if test -s conftest.err; then
   2096  1.43      dbj     ac_cpp_err=$ac_c_preproc_warn_flag
   2097  1.43      dbj   else
   2098  1.43      dbj     ac_cpp_err=
   2099  1.43      dbj   fi
   2100  1.43      dbj else
   2101  1.43      dbj   ac_cpp_err=yes
   2102  1.43      dbj fi
   2103  1.43      dbj if test -z "$ac_cpp_err"; then
   2104   1.6       tv   ac_cv_header_stdc=yes
   2105   1.6       tv else
   2106   1.6       tv   echo "$as_me: failed program was:" >&5
   2107  1.43      dbj   cat conftest.$ac_ext >&5
   2108  1.43      dbj   ac_cv_header_stdc=no
   2109   1.6       tv fi
   2110  1.43      dbj rm -f conftest.err conftest.$ac_ext
   2111   1.6       tv 
   2112   1.6       tv if test $ac_cv_header_stdc = yes; then
   2113   1.6       tv   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   2114   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2115  1.45      jmc #line 2115 "configure"
   2116  1.43      dbj #include "confdefs.h"
   2117   1.6       tv #include <string.h>
   2118   1.6       tv 
   2119   1.6       tv _ACEOF
   2120   1.6       tv if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2121  1.43      dbj   egrep "memchr" >/dev/null 2>&1; then
   2122   1.6       tv   :
   2123   1.6       tv else
   2124   1.6       tv   ac_cv_header_stdc=no
   2125   1.6       tv fi
   2126   1.6       tv rm -f conftest*
   2127   1.6       tv 
   2128   1.6       tv fi
   2129   1.6       tv 
   2130   1.6       tv if test $ac_cv_header_stdc = yes; then
   2131   1.6       tv   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   2132   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2133  1.45      jmc #line 2133 "configure"
   2134  1.43      dbj #include "confdefs.h"
   2135   1.6       tv #include <stdlib.h>
   2136   1.6       tv 
   2137   1.6       tv _ACEOF
   2138   1.6       tv if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2139  1.43      dbj   egrep "free" >/dev/null 2>&1; then
   2140   1.6       tv   :
   2141   1.6       tv else
   2142   1.6       tv   ac_cv_header_stdc=no
   2143   1.6       tv fi
   2144   1.6       tv rm -f conftest*
   2145   1.6       tv 
   2146   1.6       tv fi
   2147   1.6       tv 
   2148   1.6       tv if test $ac_cv_header_stdc = yes; then
   2149   1.6       tv   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   2150   1.6       tv   if test "$cross_compiling" = yes; then
   2151   1.6       tv   :
   2152   1.6       tv else
   2153   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2154  1.45      jmc #line 2154 "configure"
   2155  1.43      dbj #include "confdefs.h"
   2156   1.6       tv #include <ctype.h>
   2157   1.6       tv #if ((' ' & 0x0FF) == 0x020)
   2158   1.6       tv # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   2159   1.6       tv # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   2160   1.6       tv #else
   2161  1.43      dbj # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
   2162   1.6       tv                      || ('j' <= (c) && (c) <= 'r') \
   2163   1.6       tv                      || ('s' <= (c) && (c) <= 'z'))
   2164   1.6       tv # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   2165   1.6       tv #endif
   2166   1.6       tv 
   2167   1.6       tv #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   2168   1.6       tv int
   2169   1.6       tv main ()
   2170   1.6       tv {
   2171   1.6       tv   int i;
   2172   1.6       tv   for (i = 0; i < 256; i++)
   2173   1.6       tv     if (XOR (islower (i), ISLOWER (i))
   2174   1.6       tv         || toupper (i) != TOUPPER (i))
   2175   1.6       tv       exit(2);
   2176   1.6       tv   exit (0);
   2177   1.6       tv }
   2178   1.6       tv _ACEOF
   2179   1.6       tv rm -f conftest$ac_exeext
   2180  1.45      jmc if { (eval echo "$as_me:2180: \"$ac_link\"") >&5
   2181   1.6       tv   (eval $ac_link) 2>&5
   2182   1.6       tv   ac_status=$?
   2183  1.45      jmc   echo "$as_me:2183: \$? = $ac_status" >&5
   2184   1.6       tv   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2185  1.45      jmc   { (eval echo "$as_me:2185: \"$ac_try\"") >&5
   2186   1.6       tv   (eval $ac_try) 2>&5
   2187   1.6       tv   ac_status=$?
   2188  1.45      jmc   echo "$as_me:2188: \$? = $ac_status" >&5
   2189   1.6       tv   (exit $ac_status); }; }; then
   2190   1.6       tv   :
   2191   1.6       tv else
   2192   1.6       tv   echo "$as_me: program exited with status $ac_status" >&5
   2193   1.6       tv echo "$as_me: failed program was:" >&5
   2194  1.43      dbj cat conftest.$ac_ext >&5
   2195   1.6       tv ac_cv_header_stdc=no
   2196   1.6       tv fi
   2197  1.43      dbj rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2198   1.6       tv fi
   2199   1.6       tv fi
   2200   1.6       tv fi
   2201  1.45      jmc echo "$as_me:2201: result: $ac_cv_header_stdc" >&5
   2202   1.6       tv echo "${ECHO_T}$ac_cv_header_stdc" >&6
   2203   1.6       tv if test $ac_cv_header_stdc = yes; then
   2204   1.6       tv 
   2205  1.43      dbj cat >>confdefs.h <<\EOF
   2206   1.6       tv #define STDC_HEADERS 1
   2207  1.43      dbj EOF
   2208   1.6       tv 
   2209   1.6       tv fi
   2210   1.6       tv 
   2211   1.6       tv # Confirm existence of zlib.  (This is available as a default install
   2212   1.6       tv # option on many OS's; this could be added as a reachover build in the
   2213   1.6       tv # future.)
   2214  1.45      jmc echo "$as_me:2214: checking for zlib.h" >&5
   2215   1.6       tv echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   2216   1.6       tv if test "${ac_cv_header_zlib_h+set}" = set; then
   2217   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2218  1.39    fredb else
   2219  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2220  1.45      jmc #line 2220 "configure"
   2221  1.43      dbj #include "confdefs.h"
   2222   1.6       tv #include <zlib.h>
   2223   1.4       tv _ACEOF
   2224  1.45      jmc if { (eval echo "$as_me:2224: \"$ac_cpp conftest.$ac_ext\"") >&5
   2225   1.4       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2226   1.4       tv   ac_status=$?
   2227  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2228   1.4       tv   rm -f conftest.er1
   2229   1.4       tv   cat conftest.err >&5
   2230  1.45      jmc   echo "$as_me:2230: \$? = $ac_status" >&5
   2231   1.4       tv   (exit $ac_status); } >/dev/null; then
   2232   1.4       tv   if test -s conftest.err; then
   2233   1.4       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2234   1.4       tv   else
   2235   1.4       tv     ac_cpp_err=
   2236   1.4       tv   fi
   2237   1.4       tv else
   2238   1.4       tv   ac_cpp_err=yes
   2239   1.4       tv fi
   2240   1.4       tv if test -z "$ac_cpp_err"; then
   2241  1.43      dbj   ac_cv_header_zlib_h=yes
   2242   1.4       tv else
   2243   1.4       tv   echo "$as_me: failed program was:" >&5
   2244  1.43      dbj   cat conftest.$ac_ext >&5
   2245  1.43      dbj   ac_cv_header_zlib_h=no
   2246   1.4       tv fi
   2247   1.4       tv rm -f conftest.err conftest.$ac_ext
   2248   1.4       tv fi
   2249  1.45      jmc echo "$as_me:2249: result: $ac_cv_header_zlib_h" >&5
   2250   1.6       tv echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   2251   1.6       tv if test $ac_cv_header_zlib_h = yes; then
   2252   1.6       tv   :
   2253   1.6       tv else
   2254  1.45      jmc   { { echo "$as_me:2254: error: zlib must be installed in a compiler-visible path" >&5
   2255   1.6       tv echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   2256   1.6       tv    { (exit 1); exit 1; }; }
   2257   1.6       tv fi
   2258   1.6       tv 
   2259  1.45      jmc echo "$as_me:2259: checking for gzdopen in -lz" >&5
   2260   1.6       tv echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
   2261   1.6       tv if test "${ac_cv_lib_z_gzdopen+set}" = set; then
   2262   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2263   1.6       tv else
   2264   1.6       tv   ac_check_lib_save_LIBS=$LIBS
   2265   1.6       tv LIBS="-lz  $LIBS"
   2266   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   2267  1.45      jmc #line 2267 "configure"
   2268  1.43      dbj #include "confdefs.h"
   2269   1.6       tv 
   2270   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   2271   1.6       tv #ifdef __cplusplus
   2272   1.6       tv extern "C"
   2273   1.6       tv #endif
   2274   1.6       tv /* We use char because int might match the return type of a gcc2
   2275   1.6       tv    builtin and then its argument prototype would still apply.  */
   2276   1.6       tv char gzdopen ();
   2277   1.6       tv int
   2278   1.6       tv main ()
   2279   1.6       tv {
   2280   1.6       tv gzdopen ();
   2281   1.6       tv   ;
   2282   1.6       tv   return 0;
   2283   1.6       tv }
   2284   1.6       tv _ACEOF
   2285   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   2286  1.45      jmc if { (eval echo "$as_me:2286: \"$ac_link\"") >&5
   2287   1.6       tv   (eval $ac_link) 2>&5
   2288   1.6       tv   ac_status=$?
   2289  1.45      jmc   echo "$as_me:2289: \$? = $ac_status" >&5
   2290   1.6       tv   (exit $ac_status); } &&
   2291   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   2292  1.45      jmc   { (eval echo "$as_me:2292: \"$ac_try\"") >&5
   2293   1.6       tv   (eval $ac_try) 2>&5
   2294   1.6       tv   ac_status=$?
   2295  1.45      jmc   echo "$as_me:2295: \$? = $ac_status" >&5
   2296   1.6       tv   (exit $ac_status); }; }; then
   2297   1.6       tv   ac_cv_lib_z_gzdopen=yes
   2298   1.6       tv else
   2299   1.6       tv   echo "$as_me: failed program was:" >&5
   2300  1.43      dbj cat conftest.$ac_ext >&5
   2301   1.6       tv ac_cv_lib_z_gzdopen=no
   2302   1.6       tv fi
   2303   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2304   1.6       tv LIBS=$ac_check_lib_save_LIBS
   2305   1.6       tv fi
   2306  1.45      jmc echo "$as_me:2306: result: $ac_cv_lib_z_gzdopen" >&5
   2307   1.6       tv echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
   2308   1.6       tv if test $ac_cv_lib_z_gzdopen = yes; then
   2309  1.43      dbj   cat >>confdefs.h <<EOF
   2310   1.6       tv #define HAVE_LIBZ 1
   2311  1.43      dbj EOF
   2312   1.4       tv 
   2313   1.6       tv   LIBS="-lz $LIBS"
   2314   1.6       tv 
   2315   1.4       tv else
   2316  1.45      jmc   { { echo "$as_me:2316: error: zlib must be installed in a compiler-visible path" >&5
   2317   1.6       tv echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   2318   1.4       tv    { (exit 1); exit 1; }; }
   2319   1.4       tv fi
   2320   1.4       tv 
   2321   1.6       tv # Make sure certain required headers are available.
   2322   1.6       tv # These are not necessarily required by the code, but they are not
   2323   1.6       tv # currently conditionalized.
   2324   1.4       tv 
   2325  1.43      dbj for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
   2326  1.43      dbj 	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
   2327  1.43      dbj 	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
   2328  1.43      dbj 	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
   2329  1.43      dbj 	termios.h unistd.h
   2330  1.43      dbj do
   2331  1.43      dbj as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2332  1.45      jmc echo "$as_me:2332: checking for $ac_header" >&5
   2333  1.43      dbj echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2334  1.43      dbj if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2335  1.43      dbj   echo $ECHO_N "(cached) $ECHO_C" >&6
   2336  1.43      dbj else
   2337  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2338  1.45      jmc #line 2338 "configure"
   2339  1.43      dbj #include "confdefs.h"
   2340  1.39    fredb #include <$ac_header>
   2341  1.39    fredb _ACEOF
   2342  1.45      jmc if { (eval echo "$as_me:2342: \"$ac_cpp conftest.$ac_ext\"") >&5
   2343   1.4       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2344   1.4       tv   ac_status=$?
   2345  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2346   1.4       tv   rm -f conftest.er1
   2347   1.4       tv   cat conftest.err >&5
   2348  1.45      jmc   echo "$as_me:2348: \$? = $ac_status" >&5
   2349   1.4       tv   (exit $ac_status); } >/dev/null; then
   2350   1.4       tv   if test -s conftest.err; then
   2351   1.4       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2352   1.4       tv   else
   2353   1.4       tv     ac_cpp_err=
   2354   1.4       tv   fi
   2355   1.4       tv else
   2356   1.6       tv   ac_cpp_err=yes
   2357   1.6       tv fi
   2358   1.6       tv if test -z "$ac_cpp_err"; then
   2359  1.43      dbj   eval "$as_ac_Header=yes"
   2360   1.6       tv else
   2361   1.6       tv   echo "$as_me: failed program was:" >&5
   2362  1.43      dbj   cat conftest.$ac_ext >&5
   2363  1.43      dbj   eval "$as_ac_Header=no"
   2364   1.6       tv fi
   2365   1.6       tv rm -f conftest.err conftest.$ac_ext
   2366   1.6       tv fi
   2367  1.45      jmc echo "$as_me:2367: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2368   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2369   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2370  1.43      dbj   cat >>confdefs.h <<EOF
   2371   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2372  1.43      dbj EOF
   2373   1.6       tv 
   2374   1.6       tv else
   2375  1.45      jmc   { { echo "$as_me:2375: error: standard system header file not found" >&5
   2376   1.6       tv echo "$as_me: error: standard system header file not found" >&2;}
   2377   1.6       tv    { (exit 1); exit 1; }; }
   2378   1.6       tv fi
   2379   1.6       tv done
   2380   1.6       tv 
   2381   1.6       tv # Find headers that may not be available.
   2382   1.6       tv 
   2383   1.6       tv ac_header_dirent=no
   2384   1.6       tv for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   2385   1.6       tv   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   2386  1.45      jmc echo "$as_me:2386: checking for $ac_hdr that defines DIR" >&5
   2387   1.6       tv echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   2388   1.6       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2389   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2390   1.6       tv else
   2391   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2392  1.45      jmc #line 2392 "configure"
   2393  1.43      dbj #include "confdefs.h"
   2394   1.6       tv #include <sys/types.h>
   2395   1.6       tv #include <$ac_hdr>
   2396   1.6       tv 
   2397   1.6       tv int
   2398   1.6       tv main ()
   2399   1.6       tv {
   2400   1.6       tv if ((DIR *) 0)
   2401   1.6       tv return 0;
   2402   1.6       tv   ;
   2403   1.6       tv   return 0;
   2404   1.6       tv }
   2405   1.6       tv _ACEOF
   2406   1.6       tv rm -f conftest.$ac_objext
   2407  1.45      jmc if { (eval echo "$as_me:2407: \"$ac_compile\"") >&5
   2408   1.6       tv   (eval $ac_compile) 2>&5
   2409   1.6       tv   ac_status=$?
   2410  1.45      jmc   echo "$as_me:2410: \$? = $ac_status" >&5
   2411   1.6       tv   (exit $ac_status); } &&
   2412   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   2413  1.45      jmc   { (eval echo "$as_me:2413: \"$ac_try\"") >&5
   2414   1.6       tv   (eval $ac_try) 2>&5
   2415   1.6       tv   ac_status=$?
   2416  1.45      jmc   echo "$as_me:2416: \$? = $ac_status" >&5
   2417   1.6       tv   (exit $ac_status); }; }; then
   2418   1.6       tv   eval "$as_ac_Header=yes"
   2419   1.6       tv else
   2420   1.6       tv   echo "$as_me: failed program was:" >&5
   2421  1.43      dbj cat conftest.$ac_ext >&5
   2422   1.6       tv eval "$as_ac_Header=no"
   2423   1.6       tv fi
   2424   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2425   1.6       tv fi
   2426  1.45      jmc echo "$as_me:2426: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2427   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2428   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2429  1.43      dbj   cat >>confdefs.h <<EOF
   2430   1.6       tv #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   2431  1.43      dbj EOF
   2432   1.6       tv 
   2433   1.6       tv ac_header_dirent=$ac_hdr; break
   2434   1.6       tv fi
   2435   1.6       tv 
   2436   1.6       tv done
   2437   1.6       tv # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   2438   1.6       tv if test $ac_header_dirent = dirent.h; then
   2439  1.45      jmc   echo "$as_me:2439: checking for opendir in -ldir" >&5
   2440  1.43      dbj echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
   2441  1.43      dbj if test "${ac_cv_lib_dir_opendir+set}" = set; then
   2442   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2443   1.6       tv else
   2444  1.43      dbj   ac_check_lib_save_LIBS=$LIBS
   2445  1.43      dbj LIBS="-ldir  $LIBS"
   2446   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   2447  1.45      jmc #line 2447 "configure"
   2448  1.43      dbj #include "confdefs.h"
   2449   1.6       tv 
   2450   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   2451   1.6       tv #ifdef __cplusplus
   2452   1.6       tv extern "C"
   2453   1.6       tv #endif
   2454   1.6       tv /* We use char because int might match the return type of a gcc2
   2455   1.6       tv    builtin and then its argument prototype would still apply.  */
   2456   1.6       tv char opendir ();
   2457   1.6       tv int
   2458   1.6       tv main ()
   2459   1.6       tv {
   2460   1.6       tv opendir ();
   2461   1.6       tv   ;
   2462   1.6       tv   return 0;
   2463   1.6       tv }
   2464   1.6       tv _ACEOF
   2465   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   2466  1.45      jmc if { (eval echo "$as_me:2466: \"$ac_link\"") >&5
   2467   1.6       tv   (eval $ac_link) 2>&5
   2468   1.6       tv   ac_status=$?
   2469  1.45      jmc   echo "$as_me:2469: \$? = $ac_status" >&5
   2470   1.6       tv   (exit $ac_status); } &&
   2471   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   2472  1.45      jmc   { (eval echo "$as_me:2472: \"$ac_try\"") >&5
   2473   1.6       tv   (eval $ac_try) 2>&5
   2474   1.6       tv   ac_status=$?
   2475  1.45      jmc   echo "$as_me:2475: \$? = $ac_status" >&5
   2476   1.6       tv   (exit $ac_status); }; }; then
   2477  1.43      dbj   ac_cv_lib_dir_opendir=yes
   2478   1.6       tv else
   2479   1.6       tv   echo "$as_me: failed program was:" >&5
   2480  1.43      dbj cat conftest.$ac_ext >&5
   2481  1.43      dbj ac_cv_lib_dir_opendir=no
   2482   1.6       tv fi
   2483   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2484  1.43      dbj LIBS=$ac_check_lib_save_LIBS
   2485  1.39    fredb fi
   2486  1.45      jmc echo "$as_me:2486: result: $ac_cv_lib_dir_opendir" >&5
   2487  1.43      dbj echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
   2488  1.43      dbj if test $ac_cv_lib_dir_opendir = yes; then
   2489  1.43      dbj   LIBS="$LIBS -ldir"
   2490   1.6       tv fi
   2491   1.6       tv 
   2492   1.6       tv else
   2493  1.45      jmc   echo "$as_me:2493: checking for opendir in -lx" >&5
   2494  1.43      dbj echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
   2495  1.43      dbj if test "${ac_cv_lib_x_opendir+set}" = set; then
   2496   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2497   1.6       tv else
   2498  1.43      dbj   ac_check_lib_save_LIBS=$LIBS
   2499  1.43      dbj LIBS="-lx  $LIBS"
   2500   1.6       tv cat >conftest.$ac_ext <<_ACEOF
   2501  1.45      jmc #line 2501 "configure"
   2502  1.43      dbj #include "confdefs.h"
   2503   1.6       tv 
   2504   1.6       tv /* Override any gcc2 internal prototype to avoid an error.  */
   2505   1.6       tv #ifdef __cplusplus
   2506   1.6       tv extern "C"
   2507   1.6       tv #endif
   2508   1.6       tv /* We use char because int might match the return type of a gcc2
   2509   1.6       tv    builtin and then its argument prototype would still apply.  */
   2510   1.6       tv char opendir ();
   2511   1.6       tv int
   2512   1.6       tv main ()
   2513   1.6       tv {
   2514   1.6       tv opendir ();
   2515   1.6       tv   ;
   2516   1.6       tv   return 0;
   2517   1.6       tv }
   2518   1.6       tv _ACEOF
   2519   1.6       tv rm -f conftest.$ac_objext conftest$ac_exeext
   2520  1.45      jmc if { (eval echo "$as_me:2520: \"$ac_link\"") >&5
   2521   1.6       tv   (eval $ac_link) 2>&5
   2522   1.6       tv   ac_status=$?
   2523  1.45      jmc   echo "$as_me:2523: \$? = $ac_status" >&5
   2524   1.6       tv   (exit $ac_status); } &&
   2525   1.6       tv          { ac_try='test -s conftest$ac_exeext'
   2526  1.45      jmc   { (eval echo "$as_me:2526: \"$ac_try\"") >&5
   2527   1.6       tv   (eval $ac_try) 2>&5
   2528   1.6       tv   ac_status=$?
   2529  1.45      jmc   echo "$as_me:2529: \$? = $ac_status" >&5
   2530   1.6       tv   (exit $ac_status); }; }; then
   2531  1.43      dbj   ac_cv_lib_x_opendir=yes
   2532   1.6       tv else
   2533   1.6       tv   echo "$as_me: failed program was:" >&5
   2534  1.43      dbj cat conftest.$ac_ext >&5
   2535  1.43      dbj ac_cv_lib_x_opendir=no
   2536  1.39    fredb fi
   2537  1.39    fredb rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2538  1.43      dbj LIBS=$ac_check_lib_save_LIBS
   2539  1.39    fredb fi
   2540  1.45      jmc echo "$as_me:2540: result: $ac_cv_lib_x_opendir" >&5
   2541  1.43      dbj echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
   2542  1.43      dbj if test $ac_cv_lib_x_opendir = yes; then
   2543  1.43      dbj   LIBS="$LIBS -lx"
   2544   1.6       tv fi
   2545  1.39    fredb 
   2546   1.6       tv fi
   2547   1.6       tv 
   2548  1.18    bjh21 for ac_header in sys/sysmacros.h sys/syslimits.h \
   2549  1.45      jmc 	getopt.h features.h malloc.h sys/poll.h stddef.h
   2550   1.6       tv do
   2551   1.6       tv as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2552  1.45      jmc echo "$as_me:2552: checking for $ac_header" >&5
   2553   1.6       tv echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2554   1.6       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2555   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2556  1.39    fredb else
   2557  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2558  1.45      jmc #line 2558 "configure"
   2559  1.43      dbj #include "confdefs.h"
   2560   1.6       tv #include <$ac_header>
   2561   1.6       tv _ACEOF
   2562  1.45      jmc if { (eval echo "$as_me:2562: \"$ac_cpp conftest.$ac_ext\"") >&5
   2563   1.6       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2564   1.6       tv   ac_status=$?
   2565  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2566   1.6       tv   rm -f conftest.er1
   2567   1.6       tv   cat conftest.err >&5
   2568  1.45      jmc   echo "$as_me:2568: \$? = $ac_status" >&5
   2569   1.6       tv   (exit $ac_status); } >/dev/null; then
   2570   1.6       tv   if test -s conftest.err; then
   2571   1.6       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2572   1.6       tv   else
   2573   1.6       tv     ac_cpp_err=
   2574   1.6       tv   fi
   2575   1.6       tv else
   2576   1.6       tv   ac_cpp_err=yes
   2577   1.6       tv fi
   2578   1.6       tv if test -z "$ac_cpp_err"; then
   2579  1.43      dbj   eval "$as_ac_Header=yes"
   2580   1.6       tv else
   2581   1.6       tv   echo "$as_me: failed program was:" >&5
   2582  1.43      dbj   cat conftest.$ac_ext >&5
   2583  1.43      dbj   eval "$as_ac_Header=no"
   2584   1.6       tv fi
   2585   1.6       tv rm -f conftest.err conftest.$ac_ext
   2586   1.6       tv fi
   2587  1.45      jmc echo "$as_me:2587: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2588   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2589   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2590  1.43      dbj   cat >>confdefs.h <<EOF
   2591   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2592  1.43      dbj EOF
   2593   1.6       tv 
   2594   1.6       tv fi
   2595   1.6       tv done
   2596   1.6       tv 
   2597  1.39    fredb for ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
   2598  1.39    fredb 	err.h inttypes.h libgen.h paths.h stdint.h util.h
   2599  1.39    fredb do
   2600  1.39    fredb as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2601  1.45      jmc echo "$as_me:2601: checking for $ac_header" >&5
   2602  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2603  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2604  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2605  1.39    fredb else
   2606  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2607  1.45      jmc #line 2607 "configure"
   2608  1.43      dbj #include "confdefs.h"
   2609  1.39    fredb #include <$ac_header>
   2610  1.39    fredb _ACEOF
   2611  1.45      jmc if { (eval echo "$as_me:2611: \"$ac_cpp conftest.$ac_ext\"") >&5
   2612   1.6       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2613   1.6       tv   ac_status=$?
   2614  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2615   1.6       tv   rm -f conftest.er1
   2616   1.6       tv   cat conftest.err >&5
   2617  1.45      jmc   echo "$as_me:2617: \$? = $ac_status" >&5
   2618   1.6       tv   (exit $ac_status); } >/dev/null; then
   2619   1.6       tv   if test -s conftest.err; then
   2620   1.6       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2621   1.6       tv   else
   2622   1.6       tv     ac_cpp_err=
   2623   1.6       tv   fi
   2624   1.6       tv else
   2625   1.6       tv   ac_cpp_err=yes
   2626   1.6       tv fi
   2627   1.6       tv if test -z "$ac_cpp_err"; then
   2628  1.43      dbj   eval "$as_ac_Header=yes"
   2629   1.6       tv else
   2630   1.6       tv   echo "$as_me: failed program was:" >&5
   2631  1.43      dbj   cat conftest.$ac_ext >&5
   2632  1.43      dbj   eval "$as_ac_Header=no"
   2633   1.6       tv fi
   2634   1.6       tv rm -f conftest.err conftest.$ac_ext
   2635   1.6       tv fi
   2636  1.45      jmc echo "$as_me:2636: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2637   1.6       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2638   1.6       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2639  1.43      dbj   cat >>confdefs.h <<EOF
   2640   1.6       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2641  1.43      dbj EOF
   2642   1.6       tv 
   2643   1.6       tv else
   2644  1.11       tv   test -f include/$ac_header || touch include/$ac_header
   2645   1.6       tv fi
   2646   1.6       tv done
   2647   1.6       tv 
   2648  1.45      jmc for ac_header in rpc/types.h netconfig.h
   2649   1.7       tv do
   2650   1.7       tv as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2651  1.45      jmc echo "$as_me:2651: checking for $ac_header" >&5
   2652   1.7       tv echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2653   1.7       tv if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2654   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2655  1.39    fredb else
   2656  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2657  1.45      jmc #line 2657 "configure"
   2658  1.43      dbj #include "confdefs.h"
   2659   1.7       tv #include <$ac_header>
   2660   1.7       tv _ACEOF
   2661  1.45      jmc if { (eval echo "$as_me:2661: \"$ac_cpp conftest.$ac_ext\"") >&5
   2662   1.7       tv   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2663   1.7       tv   ac_status=$?
   2664  1.43      dbj   egrep -v '^ *\+' conftest.er1 >conftest.err
   2665   1.7       tv   rm -f conftest.er1
   2666   1.7       tv   cat conftest.err >&5
   2667  1.45      jmc   echo "$as_me:2667: \$? = $ac_status" >&5
   2668   1.7       tv   (exit $ac_status); } >/dev/null; then
   2669   1.7       tv   if test -s conftest.err; then
   2670   1.7       tv     ac_cpp_err=$ac_c_preproc_warn_flag
   2671   1.7       tv   else
   2672   1.7       tv     ac_cpp_err=
   2673   1.7       tv   fi
   2674   1.7       tv else
   2675   1.7       tv   ac_cpp_err=yes
   2676   1.7       tv fi
   2677   1.7       tv if test -z "$ac_cpp_err"; then
   2678  1.43      dbj   eval "$as_ac_Header=yes"
   2679   1.7       tv else
   2680   1.7       tv   echo "$as_me: failed program was:" >&5
   2681  1.43      dbj   cat conftest.$ac_ext >&5
   2682  1.43      dbj   eval "$as_ac_Header=no"
   2683  1.43      dbj fi
   2684  1.43      dbj rm -f conftest.err conftest.$ac_ext
   2685  1.43      dbj fi
   2686  1.45      jmc echo "$as_me:2686: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2687  1.43      dbj echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2688  1.43      dbj if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2689  1.43      dbj   cat >>confdefs.h <<EOF
   2690  1.43      dbj #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2691  1.43      dbj EOF
   2692  1.39    fredb 
   2693  1.43      dbj else
   2694  1.43      dbj   echo '#include "nbtool_config.h"' >include/$ac_header.new
   2695  1.43      dbj 	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
   2696  1.43      dbj 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   2697  1.43      dbj 		rm -f include/$ac_header.new
   2698  1.43      dbj 	else
   2699  1.43      dbj 		mv -f include/$ac_header.new include/$ac_header
   2700  1.43      dbj 	fi
   2701   1.7       tv fi
   2702  1.43      dbj done
   2703  1.43      dbj 
   2704  1.43      dbj # Typedefs.
   2705  1.43      dbj # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   2706  1.39    fredb 
   2707  1.43      dbj for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   2708  1.43      dbj                   inttypes.h stdint.h unistd.h
   2709  1.43      dbj do
   2710  1.43      dbj as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2711  1.45      jmc echo "$as_me:2711: checking for $ac_header" >&5
   2712  1.39    fredb echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2713  1.39    fredb if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2714  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2715  1.39    fredb else
   2716  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   2717  1.45      jmc #line 2717 "configure"
   2718  1.43      dbj #include "confdefs.h"
   2719  1.43      dbj $ac_includes_default
   2720  1.43      dbj #include <$ac_header>
   2721  1.43      dbj _ACEOF
   2722  1.43      dbj rm -f conftest.$ac_objext
   2723  1.45      jmc if { (eval echo "$as_me:2723: \"$ac_compile\"") >&5
   2724  1.43      dbj   (eval $ac_compile) 2>&5
   2725  1.43      dbj   ac_status=$?
   2726  1.45      jmc   echo "$as_me:2726: \$? = $ac_status" >&5
   2727  1.43      dbj   (exit $ac_status); } &&
   2728  1.43      dbj          { ac_try='test -s conftest.$ac_objext'
   2729  1.45      jmc   { (eval echo "$as_me:2729: \"$ac_try\"") >&5
   2730  1.43      dbj   (eval $ac_try) 2>&5
   2731  1.43      dbj   ac_status=$?
   2732  1.45      jmc   echo "$as_me:2732: \$? = $ac_status" >&5
   2733  1.43      dbj   (exit $ac_status); }; }; then
   2734  1.43      dbj   eval "$as_ac_Header=yes"
   2735  1.43      dbj else
   2736  1.43      dbj   echo "$as_me: failed program was:" >&5
   2737  1.43      dbj cat conftest.$ac_ext >&5
   2738  1.43      dbj eval "$as_ac_Header=no"
   2739  1.43      dbj fi
   2740  1.43      dbj rm -f conftest.$ac_objext conftest.$ac_ext
   2741   1.7       tv fi
   2742  1.45      jmc echo "$as_me:2742: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2743   1.7       tv echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2744   1.7       tv if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2745  1.43      dbj   cat >>confdefs.h <<EOF
   2746   1.7       tv #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2747  1.43      dbj EOF
   2748   1.7       tv 
   2749   1.7       tv fi
   2750   1.7       tv done
   2751   1.7       tv 
   2752  1.45      jmc echo "$as_me:2752: checking for size_t" >&5
   2753   1.6       tv echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   2754   1.6       tv if test "${ac_cv_type_size_t+set}" = set; then
   2755   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2756   1.6       tv else
   2757   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2758  1.45      jmc #line 2758 "configure"
   2759  1.43      dbj #include "confdefs.h"
   2760   1.6       tv $ac_includes_default
   2761   1.6       tv int
   2762   1.6       tv main ()
   2763   1.6       tv {
   2764   1.6       tv if ((size_t *) 0)
   2765   1.6       tv   return 0;
   2766   1.6       tv if (sizeof (size_t))
   2767   1.6       tv   return 0;
   2768   1.6       tv   ;
   2769   1.6       tv   return 0;
   2770   1.6       tv }
   2771   1.6       tv _ACEOF
   2772   1.6       tv rm -f conftest.$ac_objext
   2773  1.45      jmc if { (eval echo "$as_me:2773: \"$ac_compile\"") >&5
   2774   1.6       tv   (eval $ac_compile) 2>&5
   2775   1.6       tv   ac_status=$?
   2776  1.45      jmc   echo "$as_me:2776: \$? = $ac_status" >&5
   2777   1.6       tv   (exit $ac_status); } &&
   2778   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   2779  1.45      jmc   { (eval echo "$as_me:2779: \"$ac_try\"") >&5
   2780   1.6       tv   (eval $ac_try) 2>&5
   2781   1.6       tv   ac_status=$?
   2782  1.45      jmc   echo "$as_me:2782: \$? = $ac_status" >&5
   2783   1.6       tv   (exit $ac_status); }; }; then
   2784   1.6       tv   ac_cv_type_size_t=yes
   2785   1.6       tv else
   2786   1.6       tv   echo "$as_me: failed program was:" >&5
   2787  1.43      dbj cat conftest.$ac_ext >&5
   2788   1.6       tv ac_cv_type_size_t=no
   2789   1.6       tv fi
   2790   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2791   1.6       tv fi
   2792  1.45      jmc echo "$as_me:2792: result: $ac_cv_type_size_t" >&5
   2793   1.6       tv echo "${ECHO_T}$ac_cv_type_size_t" >&6
   2794   1.6       tv if test $ac_cv_type_size_t = yes; then
   2795   1.6       tv   :
   2796   1.6       tv else
   2797   1.6       tv 
   2798  1.43      dbj cat >>confdefs.h <<EOF
   2799   1.6       tv #define size_t unsigned
   2800  1.43      dbj EOF
   2801   1.6       tv 
   2802   1.6       tv fi
   2803   1.6       tv 
   2804  1.45      jmc echo "$as_me:2804: checking for id_t" >&5
   2805   1.6       tv echo $ECHO_N "checking for id_t... $ECHO_C" >&6
   2806   1.6       tv if test "${ac_cv_type_id_t+set}" = set; then
   2807   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2808   1.6       tv else
   2809   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2810  1.45      jmc #line 2810 "configure"
   2811  1.43      dbj #include "confdefs.h"
   2812   1.6       tv $ac_includes_default
   2813   1.6       tv int
   2814   1.6       tv main ()
   2815   1.6       tv {
   2816   1.6       tv if ((id_t *) 0)
   2817   1.6       tv   return 0;
   2818   1.6       tv if (sizeof (id_t))
   2819   1.6       tv   return 0;
   2820   1.6       tv   ;
   2821   1.6       tv   return 0;
   2822   1.6       tv }
   2823   1.6       tv _ACEOF
   2824   1.6       tv rm -f conftest.$ac_objext
   2825  1.45      jmc if { (eval echo "$as_me:2825: \"$ac_compile\"") >&5
   2826   1.6       tv   (eval $ac_compile) 2>&5
   2827   1.6       tv   ac_status=$?
   2828  1.45      jmc   echo "$as_me:2828: \$? = $ac_status" >&5
   2829   1.6       tv   (exit $ac_status); } &&
   2830   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   2831  1.45      jmc   { (eval echo "$as_me:2831: \"$ac_try\"") >&5
   2832   1.6       tv   (eval $ac_try) 2>&5
   2833   1.6       tv   ac_status=$?
   2834  1.45      jmc   echo "$as_me:2834: \$? = $ac_status" >&5
   2835   1.6       tv   (exit $ac_status); }; }; then
   2836   1.6       tv   ac_cv_type_id_t=yes
   2837   1.6       tv else
   2838   1.6       tv   echo "$as_me: failed program was:" >&5
   2839  1.43      dbj cat conftest.$ac_ext >&5
   2840   1.6       tv ac_cv_type_id_t=no
   2841   1.6       tv fi
   2842   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2843   1.6       tv fi
   2844  1.45      jmc echo "$as_me:2844: result: $ac_cv_type_id_t" >&5
   2845   1.6       tv echo "${ECHO_T}$ac_cv_type_id_t" >&6
   2846   1.6       tv if test $ac_cv_type_id_t = yes; then
   2847   1.6       tv 
   2848  1.43      dbj cat >>confdefs.h <<EOF
   2849   1.6       tv #define HAVE_ID_T 1
   2850  1.43      dbj EOF
   2851   1.6       tv 
   2852   1.6       tv fi
   2853  1.45      jmc echo "$as_me:2853: checking for long long" >&5
   2854   1.6       tv echo $ECHO_N "checking for long long... $ECHO_C" >&6
   2855   1.6       tv if test "${ac_cv_type_long_long+set}" = set; then
   2856   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   2857   1.6       tv else
   2858   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   2859  1.45      jmc #line 2859 "configure"
   2860  1.43      dbj #include "confdefs.h"
   2861   1.6       tv $ac_includes_default
   2862   1.6       tv int
   2863   1.6       tv main ()
   2864   1.6       tv {
   2865   1.6       tv if ((long long *) 0)
   2866   1.6       tv   return 0;
   2867   1.6       tv if (sizeof (long long))
   2868   1.6       tv   return 0;
   2869   1.6       tv   ;
   2870   1.6       tv   return 0;
   2871   1.6       tv }
   2872   1.6       tv _ACEOF
   2873   1.6       tv rm -f conftest.$ac_objext
   2874  1.45      jmc if { (eval echo "$as_me:2874: \"$ac_compile\"") >&5
   2875   1.6       tv   (eval $ac_compile) 2>&5
   2876   1.6       tv   ac_status=$?
   2877  1.45      jmc   echo "$as_me:2877: \$? = $ac_status" >&5
   2878   1.6       tv   (exit $ac_status); } &&
   2879   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   2880  1.45      jmc   { (eval echo "$as_me:2880: \"$ac_try\"") >&5
   2881   1.6       tv   (eval $ac_try) 2>&5
   2882   1.6       tv   ac_status=$?
   2883  1.45      jmc   echo "$as_me:2883: \$? = $ac_status" >&5
   2884   1.6       tv   (exit $ac_status); }; }; then
   2885   1.6       tv   ac_cv_type_long_long=yes
   2886   1.6       tv else
   2887   1.6       tv   echo "$as_me: failed program was:" >&5
   2888  1.43      dbj cat conftest.$ac_ext >&5
   2889   1.6       tv ac_cv_type_long_long=no
   2890   1.6       tv fi
   2891   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   2892   1.6       tv fi
   2893  1.45      jmc echo "$as_me:2893: result: $ac_cv_type_long_long" >&5
   2894   1.6       tv echo "${ECHO_T}$ac_cv_type_long_long" >&6
   2895   1.6       tv if test $ac_cv_type_long_long = yes; then
   2896   1.6       tv 
   2897  1.43      dbj cat >>confdefs.h <<EOF
   2898   1.6       tv #define HAVE_LONG_LONG 1
   2899  1.43      dbj EOF
   2900   1.6       tv 
   2901   1.6       tv fi
   2902  1.45      jmc echo "$as_me:2902: checking for u_long" >&5
   2903  1.38    fredb echo $ECHO_N "checking for u_long... $ECHO_C" >&6
   2904  1.38    fredb if test "${ac_cv_type_u_long+set}" = set; then
   2905  1.38    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   2906  1.38    fredb else
   2907  1.38    fredb   cat >conftest.$ac_ext <<_ACEOF
   2908  1.45      jmc #line 2908 "configure"
   2909  1.43      dbj #include "confdefs.h"
   2910  1.38    fredb $ac_includes_default
   2911  1.38    fredb int
   2912  1.38    fredb main ()
   2913  1.38    fredb {
   2914  1.38    fredb if ((u_long *) 0)
   2915  1.38    fredb   return 0;
   2916  1.38    fredb if (sizeof (u_long))
   2917  1.38    fredb   return 0;
   2918  1.38    fredb   ;
   2919  1.38    fredb   return 0;
   2920  1.38    fredb }
   2921  1.38    fredb _ACEOF
   2922  1.38    fredb rm -f conftest.$ac_objext
   2923  1.45      jmc if { (eval echo "$as_me:2923: \"$ac_compile\"") >&5
   2924  1.38    fredb   (eval $ac_compile) 2>&5
   2925  1.38    fredb   ac_status=$?
   2926  1.45      jmc   echo "$as_me:2926: \$? = $ac_status" >&5
   2927  1.38    fredb   (exit $ac_status); } &&
   2928  1.38    fredb          { ac_try='test -s conftest.$ac_objext'
   2929  1.45      jmc   { (eval echo "$as_me:2929: \"$ac_try\"") >&5
   2930  1.38    fredb   (eval $ac_try) 2>&5
   2931  1.38    fredb   ac_status=$?
   2932  1.45      jmc   echo "$as_me:2932: \$? = $ac_status" >&5
   2933  1.38    fredb   (exit $ac_status); }; }; then
   2934  1.38    fredb   ac_cv_type_u_long=yes
   2935  1.38    fredb else
   2936  1.38    fredb   echo "$as_me: failed program was:" >&5
   2937  1.43      dbj cat conftest.$ac_ext >&5
   2938  1.38    fredb ac_cv_type_u_long=no
   2939  1.38    fredb fi
   2940  1.38    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   2941  1.38    fredb fi
   2942  1.45      jmc echo "$as_me:2942: result: $ac_cv_type_u_long" >&5
   2943  1.38    fredb echo "${ECHO_T}$ac_cv_type_u_long" >&6
   2944  1.38    fredb if test $ac_cv_type_u_long = yes; then
   2945  1.38    fredb 
   2946  1.43      dbj cat >>confdefs.h <<EOF
   2947  1.38    fredb #define HAVE_U_LONG 1
   2948  1.43      dbj EOF
   2949  1.39    fredb 
   2950  1.38    fredb fi
   2951  1.45      jmc echo "$as_me:2951: checking for u_char" >&5
   2952  1.45      jmc echo $ECHO_N "checking for u_char... $ECHO_C" >&6
   2953  1.45      jmc if test "${ac_cv_type_u_char+set}" = set; then
   2954  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   2955  1.45      jmc else
   2956  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   2957  1.45      jmc #line 2957 "configure"
   2958  1.45      jmc #include "confdefs.h"
   2959  1.45      jmc $ac_includes_default
   2960  1.45      jmc int
   2961  1.45      jmc main ()
   2962  1.45      jmc {
   2963  1.45      jmc if ((u_char *) 0)
   2964  1.45      jmc   return 0;
   2965  1.45      jmc if (sizeof (u_char))
   2966  1.45      jmc   return 0;
   2967  1.45      jmc   ;
   2968  1.45      jmc   return 0;
   2969  1.45      jmc }
   2970  1.45      jmc _ACEOF
   2971  1.45      jmc rm -f conftest.$ac_objext
   2972  1.45      jmc if { (eval echo "$as_me:2972: \"$ac_compile\"") >&5
   2973  1.45      jmc   (eval $ac_compile) 2>&5
   2974  1.45      jmc   ac_status=$?
   2975  1.45      jmc   echo "$as_me:2975: \$? = $ac_status" >&5
   2976  1.45      jmc   (exit $ac_status); } &&
   2977  1.45      jmc          { ac_try='test -s conftest.$ac_objext'
   2978  1.45      jmc   { (eval echo "$as_me:2978: \"$ac_try\"") >&5
   2979  1.45      jmc   (eval $ac_try) 2>&5
   2980  1.45      jmc   ac_status=$?
   2981  1.45      jmc   echo "$as_me:2981: \$? = $ac_status" >&5
   2982  1.45      jmc   (exit $ac_status); }; }; then
   2983  1.45      jmc   ac_cv_type_u_char=yes
   2984  1.45      jmc else
   2985  1.45      jmc   echo "$as_me: failed program was:" >&5
   2986  1.45      jmc cat conftest.$ac_ext >&5
   2987  1.45      jmc ac_cv_type_u_char=no
   2988  1.45      jmc fi
   2989  1.45      jmc rm -f conftest.$ac_objext conftest.$ac_ext
   2990  1.45      jmc fi
   2991  1.45      jmc echo "$as_me:2991: result: $ac_cv_type_u_char" >&5
   2992  1.45      jmc echo "${ECHO_T}$ac_cv_type_u_char" >&6
   2993  1.45      jmc if test $ac_cv_type_u_char = yes; then
   2994  1.45      jmc 
   2995  1.45      jmc cat >>confdefs.h <<EOF
   2996  1.45      jmc #define HAVE_U_CHAR 1
   2997  1.45      jmc EOF
   2998  1.45      jmc 
   2999  1.45      jmc fi
   3000  1.45      jmc echo "$as_me:3000: checking for u_short" >&5
   3001  1.45      jmc echo $ECHO_N "checking for u_short... $ECHO_C" >&6
   3002  1.45      jmc if test "${ac_cv_type_u_short+set}" = set; then
   3003  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   3004  1.45      jmc else
   3005  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   3006  1.45      jmc #line 3006 "configure"
   3007  1.45      jmc #include "confdefs.h"
   3008  1.45      jmc $ac_includes_default
   3009  1.45      jmc int
   3010  1.45      jmc main ()
   3011  1.45      jmc {
   3012  1.45      jmc if ((u_short *) 0)
   3013  1.45      jmc   return 0;
   3014  1.45      jmc if (sizeof (u_short))
   3015  1.45      jmc   return 0;
   3016  1.45      jmc   ;
   3017  1.45      jmc   return 0;
   3018  1.45      jmc }
   3019  1.45      jmc _ACEOF
   3020  1.45      jmc rm -f conftest.$ac_objext
   3021  1.45      jmc if { (eval echo "$as_me:3021: \"$ac_compile\"") >&5
   3022  1.45      jmc   (eval $ac_compile) 2>&5
   3023  1.45      jmc   ac_status=$?
   3024  1.45      jmc   echo "$as_me:3024: \$? = $ac_status" >&5
   3025  1.45      jmc   (exit $ac_status); } &&
   3026  1.45      jmc          { ac_try='test -s conftest.$ac_objext'
   3027  1.45      jmc   { (eval echo "$as_me:3027: \"$ac_try\"") >&5
   3028  1.45      jmc   (eval $ac_try) 2>&5
   3029  1.45      jmc   ac_status=$?
   3030  1.45      jmc   echo "$as_me:3030: \$? = $ac_status" >&5
   3031  1.45      jmc   (exit $ac_status); }; }; then
   3032  1.45      jmc   ac_cv_type_u_short=yes
   3033  1.45      jmc else
   3034  1.45      jmc   echo "$as_me: failed program was:" >&5
   3035  1.45      jmc cat conftest.$ac_ext >&5
   3036  1.45      jmc ac_cv_type_u_short=no
   3037  1.45      jmc fi
   3038  1.45      jmc rm -f conftest.$ac_objext conftest.$ac_ext
   3039  1.45      jmc fi
   3040  1.45      jmc echo "$as_me:3040: result: $ac_cv_type_u_short" >&5
   3041  1.45      jmc echo "${ECHO_T}$ac_cv_type_u_short" >&6
   3042  1.45      jmc if test $ac_cv_type_u_short = yes; then
   3043  1.45      jmc 
   3044  1.45      jmc cat >>confdefs.h <<EOF
   3045  1.45      jmc #define HAVE_U_SHORT 1
   3046  1.45      jmc EOF
   3047  1.45      jmc 
   3048  1.45      jmc fi
   3049  1.45      jmc echo "$as_me:3049: checking for u_int" >&5
   3050  1.45      jmc echo $ECHO_N "checking for u_int... $ECHO_C" >&6
   3051  1.45      jmc if test "${ac_cv_type_u_int+set}" = set; then
   3052  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   3053  1.45      jmc else
   3054  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   3055  1.45      jmc #line 3055 "configure"
   3056  1.45      jmc #include "confdefs.h"
   3057  1.45      jmc $ac_includes_default
   3058  1.45      jmc int
   3059  1.45      jmc main ()
   3060  1.45      jmc {
   3061  1.45      jmc if ((u_int *) 0)
   3062  1.45      jmc   return 0;
   3063  1.45      jmc if (sizeof (u_int))
   3064  1.45      jmc   return 0;
   3065  1.45      jmc   ;
   3066  1.45      jmc   return 0;
   3067  1.45      jmc }
   3068  1.45      jmc _ACEOF
   3069  1.45      jmc rm -f conftest.$ac_objext
   3070  1.45      jmc if { (eval echo "$as_me:3070: \"$ac_compile\"") >&5
   3071  1.45      jmc   (eval $ac_compile) 2>&5
   3072  1.45      jmc   ac_status=$?
   3073  1.45      jmc   echo "$as_me:3073: \$? = $ac_status" >&5
   3074  1.45      jmc   (exit $ac_status); } &&
   3075  1.45      jmc          { ac_try='test -s conftest.$ac_objext'
   3076  1.45      jmc   { (eval echo "$as_me:3076: \"$ac_try\"") >&5
   3077  1.45      jmc   (eval $ac_try) 2>&5
   3078  1.45      jmc   ac_status=$?
   3079  1.45      jmc   echo "$as_me:3079: \$? = $ac_status" >&5
   3080  1.45      jmc   (exit $ac_status); }; }; then
   3081  1.45      jmc   ac_cv_type_u_int=yes
   3082  1.45      jmc else
   3083  1.45      jmc   echo "$as_me: failed program was:" >&5
   3084  1.45      jmc cat conftest.$ac_ext >&5
   3085  1.45      jmc ac_cv_type_u_int=no
   3086  1.45      jmc fi
   3087  1.45      jmc rm -f conftest.$ac_objext conftest.$ac_ext
   3088  1.45      jmc fi
   3089  1.45      jmc echo "$as_me:3089: result: $ac_cv_type_u_int" >&5
   3090  1.45      jmc echo "${ECHO_T}$ac_cv_type_u_int" >&6
   3091  1.45      jmc if test $ac_cv_type_u_int = yes; then
   3092  1.45      jmc 
   3093  1.45      jmc cat >>confdefs.h <<EOF
   3094  1.45      jmc #define HAVE_U_INT 1
   3095  1.45      jmc EOF
   3096  1.45      jmc 
   3097  1.45      jmc fi
   3098  1.45      jmc echo "$as_me:3098: checking for u_quad_t" >&5
   3099   1.7       tv echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
   3100   1.7       tv if test "${ac_cv_type_u_quad_t+set}" = set; then
   3101   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3102   1.7       tv else
   3103   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   3104  1.45      jmc #line 3104 "configure"
   3105  1.43      dbj #include "confdefs.h"
   3106   1.7       tv $ac_includes_default
   3107   1.7       tv int
   3108   1.7       tv main ()
   3109   1.7       tv {
   3110   1.7       tv if ((u_quad_t *) 0)
   3111   1.7       tv   return 0;
   3112   1.7       tv if (sizeof (u_quad_t))
   3113   1.7       tv   return 0;
   3114   1.7       tv   ;
   3115   1.7       tv   return 0;
   3116   1.7       tv }
   3117   1.7       tv _ACEOF
   3118   1.7       tv rm -f conftest.$ac_objext
   3119  1.45      jmc if { (eval echo "$as_me:3119: \"$ac_compile\"") >&5
   3120   1.7       tv   (eval $ac_compile) 2>&5
   3121   1.7       tv   ac_status=$?
   3122  1.45      jmc   echo "$as_me:3122: \$? = $ac_status" >&5
   3123   1.7       tv   (exit $ac_status); } &&
   3124   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   3125  1.45      jmc   { (eval echo "$as_me:3125: \"$ac_try\"") >&5
   3126   1.7       tv   (eval $ac_try) 2>&5
   3127   1.7       tv   ac_status=$?
   3128  1.45      jmc   echo "$as_me:3128: \$? = $ac_status" >&5
   3129   1.7       tv   (exit $ac_status); }; }; then
   3130   1.7       tv   ac_cv_type_u_quad_t=yes
   3131   1.7       tv else
   3132   1.7       tv   echo "$as_me: failed program was:" >&5
   3133  1.43      dbj cat conftest.$ac_ext >&5
   3134   1.7       tv ac_cv_type_u_quad_t=no
   3135   1.7       tv fi
   3136   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3137   1.7       tv fi
   3138  1.45      jmc echo "$as_me:3138: result: $ac_cv_type_u_quad_t" >&5
   3139   1.7       tv echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
   3140   1.7       tv if test $ac_cv_type_u_quad_t = yes; then
   3141   1.7       tv 
   3142  1.43      dbj cat >>confdefs.h <<EOF
   3143   1.7       tv #define HAVE_U_QUAD_T 1
   3144  1.43      dbj EOF
   3145   1.7       tv 
   3146   1.7       tv fi
   3147  1.35  thorpej 
   3148  1.45      jmc echo "$as_me:3148: checking for socklen_t" >&5
   3149  1.34  thorpej echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
   3150  1.34  thorpej if test "${ac_cv_type_socklen_t+set}" = set; then
   3151  1.34  thorpej   echo $ECHO_N "(cached) $ECHO_C" >&6
   3152  1.34  thorpej else
   3153  1.34  thorpej   cat >conftest.$ac_ext <<_ACEOF
   3154  1.45      jmc #line 3154 "configure"
   3155  1.43      dbj #include "confdefs.h"
   3156  1.35  thorpej #include <sys/types.h>
   3157  1.35  thorpej #include <sys/socket.h>
   3158  1.35  thorpej 
   3159  1.34  thorpej int
   3160  1.34  thorpej main ()
   3161  1.34  thorpej {
   3162  1.34  thorpej if ((socklen_t *) 0)
   3163  1.34  thorpej   return 0;
   3164  1.34  thorpej if (sizeof (socklen_t))
   3165  1.34  thorpej   return 0;
   3166  1.34  thorpej   ;
   3167  1.34  thorpej   return 0;
   3168  1.34  thorpej }
   3169  1.34  thorpej _ACEOF
   3170  1.34  thorpej rm -f conftest.$ac_objext
   3171  1.45      jmc if { (eval echo "$as_me:3171: \"$ac_compile\"") >&5
   3172  1.34  thorpej   (eval $ac_compile) 2>&5
   3173  1.34  thorpej   ac_status=$?
   3174  1.45      jmc   echo "$as_me:3174: \$? = $ac_status" >&5
   3175  1.34  thorpej   (exit $ac_status); } &&
   3176  1.34  thorpej          { ac_try='test -s conftest.$ac_objext'
   3177  1.45      jmc   { (eval echo "$as_me:3177: \"$ac_try\"") >&5
   3178  1.34  thorpej   (eval $ac_try) 2>&5
   3179  1.34  thorpej   ac_status=$?
   3180  1.45      jmc   echo "$as_me:3180: \$? = $ac_status" >&5
   3181  1.34  thorpej   (exit $ac_status); }; }; then
   3182  1.34  thorpej   ac_cv_type_socklen_t=yes
   3183  1.34  thorpej else
   3184  1.34  thorpej   echo "$as_me: failed program was:" >&5
   3185  1.43      dbj cat conftest.$ac_ext >&5
   3186  1.34  thorpej ac_cv_type_socklen_t=no
   3187  1.34  thorpej fi
   3188  1.34  thorpej rm -f conftest.$ac_objext conftest.$ac_ext
   3189  1.34  thorpej fi
   3190  1.45      jmc echo "$as_me:3190: result: $ac_cv_type_socklen_t" >&5
   3191  1.34  thorpej echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
   3192  1.34  thorpej if test $ac_cv_type_socklen_t = yes; then
   3193  1.43      dbj   cat >>confdefs.h <<\EOF
   3194  1.34  thorpej #define HAVE_SOCKLEN_T 1
   3195  1.43      dbj EOF
   3196  1.34  thorpej 
   3197  1.34  thorpej fi
   3198  1.34  thorpej 
   3199  1.45      jmc 	echo "$as_me:3199: checking for uint8_t" >&5
   3200   1.9       tv echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   3201   1.9       tv if test "${ac_cv_type_uint8_t+set}" = set; then
   3202   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3203   1.6       tv else
   3204   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   3205  1.45      jmc #line 3205 "configure"
   3206  1.43      dbj #include "confdefs.h"
   3207   1.6       tv $ac_includes_default
   3208   1.6       tv int
   3209   1.6       tv main ()
   3210   1.6       tv {
   3211   1.9       tv if ((uint8_t *) 0)
   3212   1.6       tv   return 0;
   3213   1.9       tv if (sizeof (uint8_t))
   3214   1.6       tv   return 0;
   3215   1.6       tv   ;
   3216   1.6       tv   return 0;
   3217   1.6       tv }
   3218   1.6       tv _ACEOF
   3219   1.6       tv rm -f conftest.$ac_objext
   3220  1.45      jmc if { (eval echo "$as_me:3220: \"$ac_compile\"") >&5
   3221   1.6       tv   (eval $ac_compile) 2>&5
   3222   1.6       tv   ac_status=$?
   3223  1.45      jmc   echo "$as_me:3223: \$? = $ac_status" >&5
   3224   1.6       tv   (exit $ac_status); } &&
   3225   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3226  1.45      jmc   { (eval echo "$as_me:3226: \"$ac_try\"") >&5
   3227   1.6       tv   (eval $ac_try) 2>&5
   3228   1.6       tv   ac_status=$?
   3229  1.45      jmc   echo "$as_me:3229: \$? = $ac_status" >&5
   3230   1.6       tv   (exit $ac_status); }; }; then
   3231   1.9       tv   ac_cv_type_uint8_t=yes
   3232   1.9       tv else
   3233   1.9       tv   echo "$as_me: failed program was:" >&5
   3234  1.43      dbj cat conftest.$ac_ext >&5
   3235   1.9       tv ac_cv_type_uint8_t=no
   3236   1.9       tv fi
   3237   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3238   1.9       tv fi
   3239  1.45      jmc echo "$as_me:3239: result: $ac_cv_type_uint8_t" >&5
   3240   1.9       tv echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   3241   1.9       tv if test $ac_cv_type_uint8_t = yes; then
   3242   1.9       tv   :
   3243   1.9       tv else
   3244   1.9       tv 
   3245  1.45      jmc 		echo "$as_me:3245: checking for u_int8_t" >&5
   3246   1.9       tv echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   3247   1.9       tv if test "${ac_cv_type_u_int8_t+set}" = set; then
   3248   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3249   1.9       tv else
   3250   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3251  1.45      jmc #line 3251 "configure"
   3252  1.43      dbj #include "confdefs.h"
   3253   1.9       tv $ac_includes_default
   3254   1.9       tv int
   3255   1.9       tv main ()
   3256   1.9       tv {
   3257   1.9       tv if ((u_int8_t *) 0)
   3258   1.9       tv   return 0;
   3259   1.9       tv if (sizeof (u_int8_t))
   3260   1.9       tv   return 0;
   3261   1.9       tv   ;
   3262   1.9       tv   return 0;
   3263   1.9       tv }
   3264   1.9       tv _ACEOF
   3265   1.9       tv rm -f conftest.$ac_objext
   3266  1.45      jmc if { (eval echo "$as_me:3266: \"$ac_compile\"") >&5
   3267   1.9       tv   (eval $ac_compile) 2>&5
   3268   1.9       tv   ac_status=$?
   3269  1.45      jmc   echo "$as_me:3269: \$? = $ac_status" >&5
   3270   1.9       tv   (exit $ac_status); } &&
   3271   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3272  1.45      jmc   { (eval echo "$as_me:3272: \"$ac_try\"") >&5
   3273   1.9       tv   (eval $ac_try) 2>&5
   3274   1.9       tv   ac_status=$?
   3275  1.45      jmc   echo "$as_me:3275: \$? = $ac_status" >&5
   3276   1.9       tv   (exit $ac_status); }; }; then
   3277   1.6       tv   ac_cv_type_u_int8_t=yes
   3278   1.6       tv else
   3279   1.6       tv   echo "$as_me: failed program was:" >&5
   3280  1.43      dbj cat conftest.$ac_ext >&5
   3281   1.6       tv ac_cv_type_u_int8_t=no
   3282   1.6       tv fi
   3283   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3284   1.6       tv fi
   3285  1.45      jmc echo "$as_me:3285: result: $ac_cv_type_u_int8_t" >&5
   3286   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   3287   1.9       tv if test $ac_cv_type_u_int8_t = yes; then
   3288  1.43      dbj   cat >>confdefs.h <<\EOF
   3289   1.9       tv #define uint8_t u_int8_t
   3290  1.43      dbj EOF
   3291   1.9       tv 
   3292   1.9       tv else
   3293  1.45      jmc   { { echo "$as_me:3293: error: cannot find a suitable type for uint8_t" >&5
   3294   1.9       tv echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
   3295   1.9       tv    { (exit 1); exit 1; }; }
   3296   1.9       tv fi
   3297   1.9       tv 
   3298   1.9       tv fi
   3299   1.9       tv 
   3300  1.45      jmc 	echo "$as_me:3300: checking for u_int8_t" >&5
   3301   1.9       tv echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   3302   1.9       tv if test "${ac_cv_type_u_int8_t+set}" = set; then
   3303   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3304   1.9       tv else
   3305   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3306  1.45      jmc #line 3306 "configure"
   3307  1.43      dbj #include "confdefs.h"
   3308   1.9       tv $ac_includes_default
   3309   1.9       tv int
   3310   1.9       tv main ()
   3311   1.9       tv {
   3312   1.9       tv if ((u_int8_t *) 0)
   3313   1.9       tv   return 0;
   3314   1.9       tv if (sizeof (u_int8_t))
   3315   1.9       tv   return 0;
   3316   1.9       tv   ;
   3317   1.9       tv   return 0;
   3318   1.9       tv }
   3319   1.9       tv _ACEOF
   3320   1.9       tv rm -f conftest.$ac_objext
   3321  1.45      jmc if { (eval echo "$as_me:3321: \"$ac_compile\"") >&5
   3322   1.9       tv   (eval $ac_compile) 2>&5
   3323   1.9       tv   ac_status=$?
   3324  1.45      jmc   echo "$as_me:3324: \$? = $ac_status" >&5
   3325   1.9       tv   (exit $ac_status); } &&
   3326   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3327  1.45      jmc   { (eval echo "$as_me:3327: \"$ac_try\"") >&5
   3328   1.9       tv   (eval $ac_try) 2>&5
   3329   1.9       tv   ac_status=$?
   3330  1.45      jmc   echo "$as_me:3330: \$? = $ac_status" >&5
   3331   1.9       tv   (exit $ac_status); }; }; then
   3332   1.9       tv   ac_cv_type_u_int8_t=yes
   3333   1.9       tv else
   3334   1.9       tv   echo "$as_me: failed program was:" >&5
   3335  1.43      dbj cat conftest.$ac_ext >&5
   3336   1.9       tv ac_cv_type_u_int8_t=no
   3337   1.9       tv fi
   3338   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3339   1.9       tv fi
   3340  1.45      jmc echo "$as_me:3340: result: $ac_cv_type_u_int8_t" >&5
   3341   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   3342   1.6       tv if test $ac_cv_type_u_int8_t = yes; then
   3343   1.6       tv   :
   3344   1.6       tv else
   3345   1.6       tv 
   3346  1.45      jmc 		echo "$as_me:3346: checking for uint8_t" >&5
   3347   1.6       tv echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   3348   1.6       tv if test "${ac_cv_type_uint8_t+set}" = set; then
   3349   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3350   1.6       tv else
   3351   1.6       tv   cat >conftest.$ac_ext <<_ACEOF
   3352  1.45      jmc #line 3352 "configure"
   3353  1.43      dbj #include "confdefs.h"
   3354   1.6       tv $ac_includes_default
   3355   1.6       tv int
   3356   1.6       tv main ()
   3357   1.6       tv {
   3358   1.6       tv if ((uint8_t *) 0)
   3359   1.6       tv   return 0;
   3360   1.6       tv if (sizeof (uint8_t))
   3361   1.6       tv   return 0;
   3362   1.6       tv   ;
   3363   1.6       tv   return 0;
   3364   1.6       tv }
   3365   1.6       tv _ACEOF
   3366   1.6       tv rm -f conftest.$ac_objext
   3367  1.45      jmc if { (eval echo "$as_me:3367: \"$ac_compile\"") >&5
   3368   1.6       tv   (eval $ac_compile) 2>&5
   3369   1.6       tv   ac_status=$?
   3370  1.45      jmc   echo "$as_me:3370: \$? = $ac_status" >&5
   3371   1.6       tv   (exit $ac_status); } &&
   3372   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3373  1.45      jmc   { (eval echo "$as_me:3373: \"$ac_try\"") >&5
   3374   1.6       tv   (eval $ac_try) 2>&5
   3375   1.6       tv   ac_status=$?
   3376  1.45      jmc   echo "$as_me:3376: \$? = $ac_status" >&5
   3377   1.6       tv   (exit $ac_status); }; }; then
   3378   1.6       tv   ac_cv_type_uint8_t=yes
   3379   1.4       tv else
   3380   1.4       tv   echo "$as_me: failed program was:" >&5
   3381  1.43      dbj cat conftest.$ac_ext >&5
   3382   1.6       tv ac_cv_type_uint8_t=no
   3383   1.4       tv fi
   3384   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3385   1.4       tv fi
   3386  1.45      jmc echo "$as_me:3386: result: $ac_cv_type_uint8_t" >&5
   3387   1.6       tv echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   3388   1.6       tv if test $ac_cv_type_uint8_t = yes; then
   3389  1.43      dbj   cat >>confdefs.h <<\EOF
   3390   1.6       tv #define u_int8_t uint8_t
   3391  1.43      dbj EOF
   3392   1.4       tv 
   3393   1.6       tv else
   3394  1.45      jmc   { { echo "$as_me:3394: error: cannot find a suitable type for u_int8_t" >&5
   3395   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
   3396   1.6       tv    { (exit 1); exit 1; }; }
   3397   1.6       tv fi
   3398   1.6       tv 
   3399   1.4       tv fi
   3400   1.4       tv 
   3401  1.45      jmc 	echo "$as_me:3401: checking for uint16_t" >&5
   3402   1.9       tv echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   3403   1.9       tv if test "${ac_cv_type_uint16_t+set}" = set; then
   3404   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3405   1.9       tv else
   3406   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3407  1.45      jmc #line 3407 "configure"
   3408  1.43      dbj #include "confdefs.h"
   3409   1.9       tv $ac_includes_default
   3410   1.9       tv int
   3411   1.9       tv main ()
   3412   1.9       tv {
   3413   1.9       tv if ((uint16_t *) 0)
   3414   1.9       tv   return 0;
   3415   1.9       tv if (sizeof (uint16_t))
   3416   1.9       tv   return 0;
   3417   1.9       tv   ;
   3418   1.9       tv   return 0;
   3419   1.9       tv }
   3420   1.9       tv _ACEOF
   3421   1.9       tv rm -f conftest.$ac_objext
   3422  1.45      jmc if { (eval echo "$as_me:3422: \"$ac_compile\"") >&5
   3423   1.9       tv   (eval $ac_compile) 2>&5
   3424   1.9       tv   ac_status=$?
   3425  1.45      jmc   echo "$as_me:3425: \$? = $ac_status" >&5
   3426   1.9       tv   (exit $ac_status); } &&
   3427   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3428  1.45      jmc   { (eval echo "$as_me:3428: \"$ac_try\"") >&5
   3429   1.9       tv   (eval $ac_try) 2>&5
   3430   1.9       tv   ac_status=$?
   3431  1.45      jmc   echo "$as_me:3431: \$? = $ac_status" >&5
   3432   1.9       tv   (exit $ac_status); }; }; then
   3433   1.9       tv   ac_cv_type_uint16_t=yes
   3434   1.9       tv else
   3435   1.9       tv   echo "$as_me: failed program was:" >&5
   3436  1.43      dbj cat conftest.$ac_ext >&5
   3437   1.9       tv ac_cv_type_uint16_t=no
   3438   1.9       tv fi
   3439   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3440   1.9       tv fi
   3441  1.45      jmc echo "$as_me:3441: result: $ac_cv_type_uint16_t" >&5
   3442   1.9       tv echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   3443   1.9       tv if test $ac_cv_type_uint16_t = yes; then
   3444   1.9       tv   :
   3445   1.9       tv else
   3446   1.9       tv 
   3447  1.45      jmc 		echo "$as_me:3447: checking for u_int16_t" >&5
   3448   1.9       tv echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   3449   1.9       tv if test "${ac_cv_type_u_int16_t+set}" = set; then
   3450   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3451   1.9       tv else
   3452   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3453  1.45      jmc #line 3453 "configure"
   3454  1.43      dbj #include "confdefs.h"
   3455   1.9       tv $ac_includes_default
   3456   1.9       tv int
   3457   1.9       tv main ()
   3458   1.9       tv {
   3459   1.9       tv if ((u_int16_t *) 0)
   3460   1.9       tv   return 0;
   3461   1.9       tv if (sizeof (u_int16_t))
   3462   1.9       tv   return 0;
   3463   1.9       tv   ;
   3464   1.9       tv   return 0;
   3465   1.9       tv }
   3466   1.9       tv _ACEOF
   3467   1.9       tv rm -f conftest.$ac_objext
   3468  1.45      jmc if { (eval echo "$as_me:3468: \"$ac_compile\"") >&5
   3469   1.9       tv   (eval $ac_compile) 2>&5
   3470   1.9       tv   ac_status=$?
   3471  1.45      jmc   echo "$as_me:3471: \$? = $ac_status" >&5
   3472   1.9       tv   (exit $ac_status); } &&
   3473   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3474  1.45      jmc   { (eval echo "$as_me:3474: \"$ac_try\"") >&5
   3475   1.9       tv   (eval $ac_try) 2>&5
   3476   1.9       tv   ac_status=$?
   3477  1.45      jmc   echo "$as_me:3477: \$? = $ac_status" >&5
   3478   1.9       tv   (exit $ac_status); }; }; then
   3479   1.9       tv   ac_cv_type_u_int16_t=yes
   3480   1.9       tv else
   3481   1.9       tv   echo "$as_me: failed program was:" >&5
   3482  1.43      dbj cat conftest.$ac_ext >&5
   3483   1.9       tv ac_cv_type_u_int16_t=no
   3484   1.9       tv fi
   3485   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3486   1.9       tv fi
   3487  1.45      jmc echo "$as_me:3487: result: $ac_cv_type_u_int16_t" >&5
   3488   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   3489   1.9       tv if test $ac_cv_type_u_int16_t = yes; then
   3490  1.43      dbj   cat >>confdefs.h <<\EOF
   3491   1.9       tv #define uint16_t u_int16_t
   3492  1.43      dbj EOF
   3493   1.9       tv 
   3494   1.9       tv else
   3495  1.45      jmc   { { echo "$as_me:3495: error: cannot find a suitable type for uint16_t" >&5
   3496   1.9       tv echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
   3497   1.9       tv    { (exit 1); exit 1; }; }
   3498   1.9       tv fi
   3499   1.9       tv 
   3500   1.9       tv fi
   3501   1.9       tv 
   3502  1.45      jmc 	echo "$as_me:3502: checking for u_int16_t" >&5
   3503   1.6       tv echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   3504   1.6       tv if test "${ac_cv_type_u_int16_t+set}" = set; then
   3505   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3506   1.1       tv else
   3507   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3508  1.45      jmc #line 3508 "configure"
   3509  1.43      dbj #include "confdefs.h"
   3510   1.6       tv $ac_includes_default
   3511   1.6       tv int
   3512   1.6       tv main ()
   3513   1.6       tv {
   3514   1.6       tv if ((u_int16_t *) 0)
   3515   1.6       tv   return 0;
   3516   1.6       tv if (sizeof (u_int16_t))
   3517   1.6       tv   return 0;
   3518   1.6       tv   ;
   3519   1.6       tv   return 0;
   3520   1.6       tv }
   3521   1.1       tv _ACEOF
   3522   1.6       tv rm -f conftest.$ac_objext
   3523  1.45      jmc if { (eval echo "$as_me:3523: \"$ac_compile\"") >&5
   3524   1.6       tv   (eval $ac_compile) 2>&5
   3525   1.6       tv   ac_status=$?
   3526  1.45      jmc   echo "$as_me:3526: \$? = $ac_status" >&5
   3527   1.6       tv   (exit $ac_status); } &&
   3528   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3529  1.45      jmc   { (eval echo "$as_me:3529: \"$ac_try\"") >&5
   3530   1.6       tv   (eval $ac_try) 2>&5
   3531   1.1       tv   ac_status=$?
   3532  1.45      jmc   echo "$as_me:3532: \$? = $ac_status" >&5
   3533   1.6       tv   (exit $ac_status); }; }; then
   3534   1.6       tv   ac_cv_type_u_int16_t=yes
   3535   1.1       tv else
   3536   1.6       tv   echo "$as_me: failed program was:" >&5
   3537  1.43      dbj cat conftest.$ac_ext >&5
   3538   1.6       tv ac_cv_type_u_int16_t=no
   3539   1.6       tv fi
   3540   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3541   1.1       tv fi
   3542  1.45      jmc echo "$as_me:3542: result: $ac_cv_type_u_int16_t" >&5
   3543   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   3544   1.6       tv if test $ac_cv_type_u_int16_t = yes; then
   3545   1.6       tv   :
   3546   1.1       tv else
   3547   1.1       tv 
   3548  1.45      jmc 		echo "$as_me:3548: checking for uint16_t" >&5
   3549   1.6       tv echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   3550   1.6       tv if test "${ac_cv_type_uint16_t+set}" = set; then
   3551   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3552   1.6       tv else
   3553   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3554  1.45      jmc #line 3554 "configure"
   3555  1.43      dbj #include "confdefs.h"
   3556   1.6       tv $ac_includes_default
   3557   1.6       tv int
   3558   1.6       tv main ()
   3559   1.6       tv {
   3560   1.6       tv if ((uint16_t *) 0)
   3561   1.6       tv   return 0;
   3562   1.6       tv if (sizeof (uint16_t))
   3563   1.6       tv   return 0;
   3564   1.6       tv   ;
   3565   1.6       tv   return 0;
   3566   1.6       tv }
   3567   1.1       tv _ACEOF
   3568   1.6       tv rm -f conftest.$ac_objext
   3569  1.45      jmc if { (eval echo "$as_me:3569: \"$ac_compile\"") >&5
   3570   1.6       tv   (eval $ac_compile) 2>&5
   3571   1.6       tv   ac_status=$?
   3572  1.45      jmc   echo "$as_me:3572: \$? = $ac_status" >&5
   3573   1.6       tv   (exit $ac_status); } &&
   3574   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3575  1.45      jmc   { (eval echo "$as_me:3575: \"$ac_try\"") >&5
   3576   1.6       tv   (eval $ac_try) 2>&5
   3577   1.6       tv   ac_status=$?
   3578  1.45      jmc   echo "$as_me:3578: \$? = $ac_status" >&5
   3579   1.6       tv   (exit $ac_status); }; }; then
   3580   1.6       tv   ac_cv_type_uint16_t=yes
   3581   1.1       tv else
   3582   1.6       tv   echo "$as_me: failed program was:" >&5
   3583  1.43      dbj cat conftest.$ac_ext >&5
   3584   1.6       tv ac_cv_type_uint16_t=no
   3585   1.1       tv fi
   3586   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3587   1.1       tv fi
   3588  1.45      jmc echo "$as_me:3588: result: $ac_cv_type_uint16_t" >&5
   3589   1.6       tv echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   3590   1.6       tv if test $ac_cv_type_uint16_t = yes; then
   3591  1.43      dbj   cat >>confdefs.h <<\EOF
   3592   1.6       tv #define u_int16_t uint16_t
   3593  1.43      dbj EOF
   3594   1.1       tv 
   3595   1.1       tv else
   3596  1.45      jmc   { { echo "$as_me:3596: error: cannot find a suitable type for u_int16_t" >&5
   3597   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
   3598   1.6       tv    { (exit 1); exit 1; }; }
   3599   1.1       tv fi
   3600   1.1       tv 
   3601   1.1       tv fi
   3602   1.1       tv 
   3603  1.45      jmc 	echo "$as_me:3603: checking for uint32_t" >&5
   3604   1.9       tv echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   3605   1.9       tv if test "${ac_cv_type_uint32_t+set}" = set; then
   3606   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3607   1.9       tv else
   3608   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3609  1.45      jmc #line 3609 "configure"
   3610  1.43      dbj #include "confdefs.h"
   3611   1.9       tv $ac_includes_default
   3612   1.9       tv int
   3613   1.9       tv main ()
   3614   1.9       tv {
   3615   1.9       tv if ((uint32_t *) 0)
   3616   1.9       tv   return 0;
   3617   1.9       tv if (sizeof (uint32_t))
   3618   1.9       tv   return 0;
   3619   1.9       tv   ;
   3620   1.9       tv   return 0;
   3621   1.9       tv }
   3622   1.9       tv _ACEOF
   3623   1.9       tv rm -f conftest.$ac_objext
   3624  1.45      jmc if { (eval echo "$as_me:3624: \"$ac_compile\"") >&5
   3625   1.9       tv   (eval $ac_compile) 2>&5
   3626   1.9       tv   ac_status=$?
   3627  1.45      jmc   echo "$as_me:3627: \$? = $ac_status" >&5
   3628   1.9       tv   (exit $ac_status); } &&
   3629   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3630  1.45      jmc   { (eval echo "$as_me:3630: \"$ac_try\"") >&5
   3631   1.9       tv   (eval $ac_try) 2>&5
   3632   1.9       tv   ac_status=$?
   3633  1.45      jmc   echo "$as_me:3633: \$? = $ac_status" >&5
   3634   1.9       tv   (exit $ac_status); }; }; then
   3635   1.9       tv   ac_cv_type_uint32_t=yes
   3636   1.9       tv else
   3637   1.9       tv   echo "$as_me: failed program was:" >&5
   3638  1.43      dbj cat conftest.$ac_ext >&5
   3639   1.9       tv ac_cv_type_uint32_t=no
   3640   1.9       tv fi
   3641   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3642   1.9       tv fi
   3643  1.45      jmc echo "$as_me:3643: result: $ac_cv_type_uint32_t" >&5
   3644   1.9       tv echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   3645   1.9       tv if test $ac_cv_type_uint32_t = yes; then
   3646   1.9       tv   :
   3647   1.9       tv else
   3648   1.9       tv 
   3649  1.45      jmc 		echo "$as_me:3649: checking for u_int32_t" >&5
   3650   1.6       tv echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   3651   1.6       tv if test "${ac_cv_type_u_int32_t+set}" = set; then
   3652   1.6       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3653   1.1       tv else
   3654   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3655  1.45      jmc #line 3655 "configure"
   3656  1.43      dbj #include "confdefs.h"
   3657   1.9       tv $ac_includes_default
   3658   1.9       tv int
   3659   1.9       tv main ()
   3660   1.9       tv {
   3661   1.9       tv if ((u_int32_t *) 0)
   3662   1.9       tv   return 0;
   3663   1.9       tv if (sizeof (u_int32_t))
   3664   1.9       tv   return 0;
   3665   1.9       tv   ;
   3666   1.9       tv   return 0;
   3667   1.9       tv }
   3668   1.9       tv _ACEOF
   3669   1.9       tv rm -f conftest.$ac_objext
   3670  1.45      jmc if { (eval echo "$as_me:3670: \"$ac_compile\"") >&5
   3671   1.9       tv   (eval $ac_compile) 2>&5
   3672   1.9       tv   ac_status=$?
   3673  1.45      jmc   echo "$as_me:3673: \$? = $ac_status" >&5
   3674   1.9       tv   (exit $ac_status); } &&
   3675   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3676  1.45      jmc   { (eval echo "$as_me:3676: \"$ac_try\"") >&5
   3677   1.9       tv   (eval $ac_try) 2>&5
   3678   1.9       tv   ac_status=$?
   3679  1.45      jmc   echo "$as_me:3679: \$? = $ac_status" >&5
   3680   1.9       tv   (exit $ac_status); }; }; then
   3681   1.9       tv   ac_cv_type_u_int32_t=yes
   3682   1.9       tv else
   3683   1.9       tv   echo "$as_me: failed program was:" >&5
   3684  1.43      dbj cat conftest.$ac_ext >&5
   3685   1.9       tv ac_cv_type_u_int32_t=no
   3686   1.9       tv fi
   3687   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3688   1.9       tv fi
   3689  1.45      jmc echo "$as_me:3689: result: $ac_cv_type_u_int32_t" >&5
   3690   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   3691   1.9       tv if test $ac_cv_type_u_int32_t = yes; then
   3692  1.43      dbj   cat >>confdefs.h <<\EOF
   3693   1.9       tv #define uint32_t u_int32_t
   3694  1.43      dbj EOF
   3695   1.9       tv 
   3696   1.9       tv else
   3697  1.45      jmc   { { echo "$as_me:3697: error: cannot find a suitable type for uint32_t" >&5
   3698   1.9       tv echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
   3699   1.9       tv    { (exit 1); exit 1; }; }
   3700   1.9       tv fi
   3701   1.9       tv 
   3702   1.9       tv fi
   3703   1.9       tv 
   3704  1.45      jmc 	echo "$as_me:3704: checking for u_int32_t" >&5
   3705   1.9       tv echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   3706   1.9       tv if test "${ac_cv_type_u_int32_t+set}" = set; then
   3707   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3708   1.9       tv else
   3709   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3710  1.45      jmc #line 3710 "configure"
   3711  1.43      dbj #include "confdefs.h"
   3712   1.6       tv $ac_includes_default
   3713   1.1       tv int
   3714   1.1       tv main ()
   3715   1.1       tv {
   3716   1.6       tv if ((u_int32_t *) 0)
   3717   1.6       tv   return 0;
   3718   1.6       tv if (sizeof (u_int32_t))
   3719   1.6       tv   return 0;
   3720   1.6       tv   ;
   3721   1.6       tv   return 0;
   3722   1.1       tv }
   3723   1.1       tv _ACEOF
   3724   1.6       tv rm -f conftest.$ac_objext
   3725  1.45      jmc if { (eval echo "$as_me:3725: \"$ac_compile\"") >&5
   3726   1.6       tv   (eval $ac_compile) 2>&5
   3727   1.1       tv   ac_status=$?
   3728  1.45      jmc   echo "$as_me:3728: \$? = $ac_status" >&5
   3729   1.6       tv   (exit $ac_status); } &&
   3730   1.6       tv          { ac_try='test -s conftest.$ac_objext'
   3731  1.45      jmc   { (eval echo "$as_me:3731: \"$ac_try\"") >&5
   3732   1.1       tv   (eval $ac_try) 2>&5
   3733   1.1       tv   ac_status=$?
   3734  1.45      jmc   echo "$as_me:3734: \$? = $ac_status" >&5
   3735   1.1       tv   (exit $ac_status); }; }; then
   3736   1.6       tv   ac_cv_type_u_int32_t=yes
   3737   1.1       tv else
   3738   1.6       tv   echo "$as_me: failed program was:" >&5
   3739  1.43      dbj cat conftest.$ac_ext >&5
   3740   1.6       tv ac_cv_type_u_int32_t=no
   3741   1.1       tv fi
   3742   1.6       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3743   1.1       tv fi
   3744  1.45      jmc echo "$as_me:3744: result: $ac_cv_type_u_int32_t" >&5
   3745   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   3746   1.6       tv if test $ac_cv_type_u_int32_t = yes; then
   3747   1.6       tv   :
   3748   1.6       tv else
   3749   1.1       tv 
   3750  1.45      jmc 		echo "$as_me:3750: checking for uint32_t" >&5
   3751   1.6       tv echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   3752   1.6       tv if test "${ac_cv_type_uint32_t+set}" = set; then
   3753   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3754   1.1       tv else
   3755   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3756  1.45      jmc #line 3756 "configure"
   3757  1.43      dbj #include "confdefs.h"
   3758   1.1       tv $ac_includes_default
   3759   1.6       tv int
   3760   1.6       tv main ()
   3761   1.6       tv {
   3762   1.6       tv if ((uint32_t *) 0)
   3763   1.6       tv   return 0;
   3764   1.6       tv if (sizeof (uint32_t))
   3765   1.6       tv   return 0;
   3766   1.6       tv   ;
   3767   1.6       tv   return 0;
   3768   1.6       tv }
   3769   1.1       tv _ACEOF
   3770   1.1       tv rm -f conftest.$ac_objext
   3771  1.45      jmc if { (eval echo "$as_me:3771: \"$ac_compile\"") >&5
   3772   1.1       tv   (eval $ac_compile) 2>&5
   3773   1.1       tv   ac_status=$?
   3774  1.45      jmc   echo "$as_me:3774: \$? = $ac_status" >&5
   3775   1.1       tv   (exit $ac_status); } &&
   3776   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   3777  1.45      jmc   { (eval echo "$as_me:3777: \"$ac_try\"") >&5
   3778   1.1       tv   (eval $ac_try) 2>&5
   3779   1.1       tv   ac_status=$?
   3780  1.45      jmc   echo "$as_me:3780: \$? = $ac_status" >&5
   3781   1.1       tv   (exit $ac_status); }; }; then
   3782   1.6       tv   ac_cv_type_uint32_t=yes
   3783   1.1       tv else
   3784   1.1       tv   echo "$as_me: failed program was:" >&5
   3785  1.43      dbj cat conftest.$ac_ext >&5
   3786   1.6       tv ac_cv_type_uint32_t=no
   3787   1.1       tv fi
   3788   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3789   1.1       tv fi
   3790  1.45      jmc echo "$as_me:3790: result: $ac_cv_type_uint32_t" >&5
   3791   1.6       tv echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   3792   1.6       tv if test $ac_cv_type_uint32_t = yes; then
   3793  1.43      dbj   cat >>confdefs.h <<\EOF
   3794   1.6       tv #define u_int32_t uint32_t
   3795  1.43      dbj EOF
   3796   1.1       tv 
   3797   1.6       tv else
   3798  1.45      jmc   { { echo "$as_me:3798: error: cannot find a suitable type for u_int32_t" >&5
   3799   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
   3800   1.6       tv    { (exit 1); exit 1; }; }
   3801   1.6       tv fi
   3802   1.6       tv 
   3803   1.1       tv fi
   3804   1.1       tv 
   3805  1.45      jmc 	echo "$as_me:3805: checking for uint64_t" >&5
   3806   1.9       tv echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   3807   1.9       tv if test "${ac_cv_type_uint64_t+set}" = set; then
   3808   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3809   1.9       tv else
   3810   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3811  1.45      jmc #line 3811 "configure"
   3812  1.43      dbj #include "confdefs.h"
   3813   1.9       tv $ac_includes_default
   3814   1.9       tv int
   3815   1.9       tv main ()
   3816   1.9       tv {
   3817   1.9       tv if ((uint64_t *) 0)
   3818   1.9       tv   return 0;
   3819   1.9       tv if (sizeof (uint64_t))
   3820   1.9       tv   return 0;
   3821   1.9       tv   ;
   3822   1.9       tv   return 0;
   3823   1.9       tv }
   3824   1.9       tv _ACEOF
   3825   1.9       tv rm -f conftest.$ac_objext
   3826  1.45      jmc if { (eval echo "$as_me:3826: \"$ac_compile\"") >&5
   3827   1.9       tv   (eval $ac_compile) 2>&5
   3828   1.9       tv   ac_status=$?
   3829  1.45      jmc   echo "$as_me:3829: \$? = $ac_status" >&5
   3830   1.9       tv   (exit $ac_status); } &&
   3831   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3832  1.45      jmc   { (eval echo "$as_me:3832: \"$ac_try\"") >&5
   3833   1.9       tv   (eval $ac_try) 2>&5
   3834   1.9       tv   ac_status=$?
   3835  1.45      jmc   echo "$as_me:3835: \$? = $ac_status" >&5
   3836   1.9       tv   (exit $ac_status); }; }; then
   3837   1.9       tv   ac_cv_type_uint64_t=yes
   3838   1.9       tv else
   3839   1.9       tv   echo "$as_me: failed program was:" >&5
   3840  1.43      dbj cat conftest.$ac_ext >&5
   3841   1.9       tv ac_cv_type_uint64_t=no
   3842   1.9       tv fi
   3843   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3844   1.9       tv fi
   3845  1.45      jmc echo "$as_me:3845: result: $ac_cv_type_uint64_t" >&5
   3846   1.9       tv echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   3847   1.9       tv if test $ac_cv_type_uint64_t = yes; then
   3848   1.9       tv   :
   3849   1.9       tv else
   3850   1.9       tv 
   3851  1.45      jmc 		echo "$as_me:3851: checking for u_int64_t" >&5
   3852   1.9       tv echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   3853   1.9       tv if test "${ac_cv_type_u_int64_t+set}" = set; then
   3854   1.9       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3855   1.9       tv else
   3856   1.9       tv   cat >conftest.$ac_ext <<_ACEOF
   3857  1.45      jmc #line 3857 "configure"
   3858  1.43      dbj #include "confdefs.h"
   3859   1.9       tv $ac_includes_default
   3860   1.9       tv int
   3861   1.9       tv main ()
   3862   1.9       tv {
   3863   1.9       tv if ((u_int64_t *) 0)
   3864   1.9       tv   return 0;
   3865   1.9       tv if (sizeof (u_int64_t))
   3866   1.9       tv   return 0;
   3867   1.9       tv   ;
   3868   1.9       tv   return 0;
   3869   1.9       tv }
   3870   1.9       tv _ACEOF
   3871   1.9       tv rm -f conftest.$ac_objext
   3872  1.45      jmc if { (eval echo "$as_me:3872: \"$ac_compile\"") >&5
   3873   1.9       tv   (eval $ac_compile) 2>&5
   3874   1.9       tv   ac_status=$?
   3875  1.45      jmc   echo "$as_me:3875: \$? = $ac_status" >&5
   3876   1.9       tv   (exit $ac_status); } &&
   3877   1.9       tv          { ac_try='test -s conftest.$ac_objext'
   3878  1.45      jmc   { (eval echo "$as_me:3878: \"$ac_try\"") >&5
   3879   1.9       tv   (eval $ac_try) 2>&5
   3880   1.9       tv   ac_status=$?
   3881  1.45      jmc   echo "$as_me:3881: \$? = $ac_status" >&5
   3882   1.9       tv   (exit $ac_status); }; }; then
   3883   1.9       tv   ac_cv_type_u_int64_t=yes
   3884   1.9       tv else
   3885   1.9       tv   echo "$as_me: failed program was:" >&5
   3886  1.43      dbj cat conftest.$ac_ext >&5
   3887   1.9       tv ac_cv_type_u_int64_t=no
   3888   1.9       tv fi
   3889   1.9       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3890   1.9       tv fi
   3891  1.45      jmc echo "$as_me:3891: result: $ac_cv_type_u_int64_t" >&5
   3892   1.9       tv echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   3893   1.9       tv if test $ac_cv_type_u_int64_t = yes; then
   3894  1.43      dbj   cat >>confdefs.h <<\EOF
   3895   1.9       tv #define uint64_t u_int64_t
   3896  1.43      dbj EOF
   3897   1.9       tv 
   3898   1.9       tv else
   3899  1.45      jmc   { { echo "$as_me:3899: error: cannot find a suitable type for uint64_t" >&5
   3900   1.9       tv echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
   3901   1.9       tv    { (exit 1); exit 1; }; }
   3902   1.9       tv fi
   3903   1.9       tv 
   3904   1.9       tv fi
   3905   1.9       tv 
   3906  1.45      jmc 	echo "$as_me:3906: checking for u_int64_t" >&5
   3907   1.6       tv echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   3908   1.6       tv if test "${ac_cv_type_u_int64_t+set}" = set; then
   3909   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3910   1.1       tv else
   3911   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3912  1.45      jmc #line 3912 "configure"
   3913  1.43      dbj #include "confdefs.h"
   3914   1.1       tv $ac_includes_default
   3915   1.1       tv int
   3916   1.1       tv main ()
   3917   1.1       tv {
   3918   1.6       tv if ((u_int64_t *) 0)
   3919   1.1       tv   return 0;
   3920   1.6       tv if (sizeof (u_int64_t))
   3921   1.1       tv   return 0;
   3922   1.1       tv   ;
   3923   1.1       tv   return 0;
   3924   1.1       tv }
   3925   1.1       tv _ACEOF
   3926   1.1       tv rm -f conftest.$ac_objext
   3927  1.45      jmc if { (eval echo "$as_me:3927: \"$ac_compile\"") >&5
   3928   1.1       tv   (eval $ac_compile) 2>&5
   3929   1.1       tv   ac_status=$?
   3930  1.45      jmc   echo "$as_me:3930: \$? = $ac_status" >&5
   3931   1.1       tv   (exit $ac_status); } &&
   3932   1.1       tv          { ac_try='test -s conftest.$ac_objext'
   3933  1.45      jmc   { (eval echo "$as_me:3933: \"$ac_try\"") >&5
   3934   1.1       tv   (eval $ac_try) 2>&5
   3935   1.1       tv   ac_status=$?
   3936  1.45      jmc   echo "$as_me:3936: \$? = $ac_status" >&5
   3937   1.1       tv   (exit $ac_status); }; }; then
   3938   1.6       tv   ac_cv_type_u_int64_t=yes
   3939   1.1       tv else
   3940   1.1       tv   echo "$as_me: failed program was:" >&5
   3941  1.43      dbj cat conftest.$ac_ext >&5
   3942   1.6       tv ac_cv_type_u_int64_t=no
   3943   1.1       tv fi
   3944   1.1       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3945   1.1       tv fi
   3946  1.45      jmc echo "$as_me:3946: result: $ac_cv_type_u_int64_t" >&5
   3947   1.6       tv echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   3948   1.6       tv if test $ac_cv_type_u_int64_t = yes; then
   3949   1.1       tv   :
   3950   1.1       tv else
   3951   1.1       tv 
   3952  1.45      jmc 		echo "$as_me:3952: checking for uint64_t" >&5
   3953   1.6       tv echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   3954   1.6       tv if test "${ac_cv_type_uint64_t+set}" = set; then
   3955   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   3956   1.1       tv else
   3957   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   3958  1.45      jmc #line 3958 "configure"
   3959  1.43      dbj #include "confdefs.h"
   3960   1.4       tv $ac_includes_default
   3961   1.4       tv int
   3962   1.4       tv main ()
   3963   1.4       tv {
   3964   1.6       tv if ((uint64_t *) 0)
   3965   1.4       tv   return 0;
   3966   1.6       tv if (sizeof (uint64_t))
   3967   1.4       tv   return 0;
   3968   1.4       tv   ;
   3969   1.4       tv   return 0;
   3970   1.4       tv }
   3971   1.1       tv _ACEOF
   3972   1.4       tv rm -f conftest.$ac_objext
   3973  1.45      jmc if { (eval echo "$as_me:3973: \"$ac_compile\"") >&5
   3974   1.4       tv   (eval $ac_compile) 2>&5
   3975   1.4       tv   ac_status=$?
   3976  1.45      jmc   echo "$as_me:3976: \$? = $ac_status" >&5
   3977   1.4       tv   (exit $ac_status); } &&
   3978   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   3979  1.45      jmc   { (eval echo "$as_me:3979: \"$ac_try\"") >&5
   3980   1.4       tv   (eval $ac_try) 2>&5
   3981   1.4       tv   ac_status=$?
   3982  1.45      jmc   echo "$as_me:3982: \$? = $ac_status" >&5
   3983   1.4       tv   (exit $ac_status); }; }; then
   3984   1.6       tv   ac_cv_type_uint64_t=yes
   3985   1.4       tv else
   3986   1.4       tv   echo "$as_me: failed program was:" >&5
   3987  1.43      dbj cat conftest.$ac_ext >&5
   3988   1.6       tv ac_cv_type_uint64_t=no
   3989   1.4       tv fi
   3990   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   3991   1.4       tv fi
   3992  1.45      jmc echo "$as_me:3992: result: $ac_cv_type_uint64_t" >&5
   3993   1.6       tv echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   3994   1.6       tv if test $ac_cv_type_uint64_t = yes; then
   3995  1.43      dbj   cat >>confdefs.h <<\EOF
   3996   1.6       tv #define u_int64_t uint64_t
   3997  1.43      dbj EOF
   3998   1.4       tv 
   3999   1.6       tv else
   4000  1.45      jmc   { { echo "$as_me:4000: error: cannot find a suitable type for u_int64_t" >&5
   4001   1.6       tv echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
   4002   1.6       tv    { (exit 1); exit 1; }; }
   4003   1.6       tv fi
   4004   1.4       tv 
   4005   1.4       tv fi
   4006   1.4       tv 
   4007   1.4       tv # Struct members.
   4008  1.45      jmc echo "$as_me:4008: checking for DIR.dd_fd" >&5
   4009   1.7       tv echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
   4010   1.7       tv if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
   4011   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4012   1.7       tv else
   4013   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   4014  1.45      jmc #line 4014 "configure"
   4015  1.43      dbj #include "confdefs.h"
   4016  1.32  thorpej #include <sys/types.h>
   4017   1.7       tv #include <dirent.h>
   4018   1.7       tv 
   4019   1.7       tv int
   4020   1.7       tv main ()
   4021   1.7       tv {
   4022   1.7       tv static DIR ac_aggr;
   4023   1.7       tv if (ac_aggr.dd_fd)
   4024   1.7       tv return 0;
   4025   1.7       tv   ;
   4026   1.7       tv   return 0;
   4027   1.7       tv }
   4028   1.7       tv _ACEOF
   4029   1.7       tv rm -f conftest.$ac_objext
   4030  1.45      jmc if { (eval echo "$as_me:4030: \"$ac_compile\"") >&5
   4031   1.7       tv   (eval $ac_compile) 2>&5
   4032   1.7       tv   ac_status=$?
   4033  1.45      jmc   echo "$as_me:4033: \$? = $ac_status" >&5
   4034   1.7       tv   (exit $ac_status); } &&
   4035   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   4036  1.45      jmc   { (eval echo "$as_me:4036: \"$ac_try\"") >&5
   4037   1.7       tv   (eval $ac_try) 2>&5
   4038   1.7       tv   ac_status=$?
   4039  1.45      jmc   echo "$as_me:4039: \$? = $ac_status" >&5
   4040   1.7       tv   (exit $ac_status); }; }; then
   4041   1.7       tv   ac_cv_member_DIR_dd_fd=yes
   4042   1.7       tv else
   4043   1.7       tv   echo "$as_me: failed program was:" >&5
   4044  1.43      dbj cat conftest.$ac_ext >&5
   4045   1.7       tv ac_cv_member_DIR_dd_fd=no
   4046   1.7       tv fi
   4047   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4048   1.7       tv fi
   4049  1.45      jmc echo "$as_me:4049: result: $ac_cv_member_DIR_dd_fd" >&5
   4050   1.7       tv echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
   4051   1.7       tv if test $ac_cv_member_DIR_dd_fd = yes; then
   4052   1.7       tv 
   4053  1.43      dbj cat >>confdefs.h <<EOF
   4054   1.7       tv #define HAVE_DIR_DD_FD 1
   4055  1.43      dbj EOF
   4056   1.7       tv 
   4057   1.7       tv fi
   4058  1.45      jmc echo "$as_me:4058: checking for struct dirent.d_namlen" >&5
   4059   1.8       tv echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
   4060   1.8       tv if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
   4061   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4062   1.8       tv else
   4063   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   4064  1.45      jmc #line 4064 "configure"
   4065  1.43      dbj #include "confdefs.h"
   4066  1.32  thorpej #include <sys/types.h>
   4067   1.8       tv #include <dirent.h>
   4068   1.8       tv 
   4069   1.8       tv int
   4070   1.8       tv main ()
   4071   1.8       tv {
   4072   1.8       tv static struct dirent ac_aggr;
   4073   1.8       tv if (ac_aggr.d_namlen)
   4074   1.8       tv return 0;
   4075   1.8       tv   ;
   4076   1.8       tv   return 0;
   4077   1.8       tv }
   4078   1.8       tv _ACEOF
   4079   1.8       tv rm -f conftest.$ac_objext
   4080  1.45      jmc if { (eval echo "$as_me:4080: \"$ac_compile\"") >&5
   4081   1.8       tv   (eval $ac_compile) 2>&5
   4082   1.8       tv   ac_status=$?
   4083  1.45      jmc   echo "$as_me:4083: \$? = $ac_status" >&5
   4084   1.8       tv   (exit $ac_status); } &&
   4085   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   4086  1.45      jmc   { (eval echo "$as_me:4086: \"$ac_try\"") >&5
   4087   1.8       tv   (eval $ac_try) 2>&5
   4088   1.8       tv   ac_status=$?
   4089  1.45      jmc   echo "$as_me:4089: \$? = $ac_status" >&5
   4090   1.8       tv   (exit $ac_status); }; }; then
   4091   1.8       tv   ac_cv_member_struct_dirent_d_namlen=yes
   4092   1.8       tv else
   4093   1.8       tv   echo "$as_me: failed program was:" >&5
   4094  1.43      dbj cat conftest.$ac_ext >&5
   4095   1.8       tv ac_cv_member_struct_dirent_d_namlen=no
   4096   1.8       tv fi
   4097   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4098   1.8       tv fi
   4099  1.45      jmc echo "$as_me:4099: result: $ac_cv_member_struct_dirent_d_namlen" >&5
   4100   1.8       tv echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
   4101   1.8       tv if test $ac_cv_member_struct_dirent_d_namlen = yes; then
   4102   1.8       tv 
   4103  1.43      dbj cat >>confdefs.h <<EOF
   4104  1.39    fredb #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
   4105  1.43      dbj EOF
   4106  1.39    fredb 
   4107  1.39    fredb fi
   4108  1.39    fredb 
   4109  1.45      jmc echo "$as_me:4109: checking for struct stat.st_flags" >&5
   4110  1.39    fredb echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
   4111  1.39    fredb if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
   4112  1.39    fredb   echo $ECHO_N "(cached) $ECHO_C" >&6
   4113  1.39    fredb else
   4114  1.39    fredb   cat >conftest.$ac_ext <<_ACEOF
   4115  1.45      jmc #line 4115 "configure"
   4116  1.43      dbj #include "confdefs.h"
   4117   1.4       tv #include <sys/stat.h>
   4118   1.4       tv 
   4119   1.4       tv int
   4120   1.4       tv main ()
   4121   1.4       tv {
   4122   1.4       tv static struct stat ac_aggr;
   4123  1.43      dbj if (ac_aggr.st_flags)
   4124   1.4       tv return 0;
   4125   1.4       tv   ;
   4126   1.4       tv   return 0;
   4127   1.4       tv }
   4128   1.4       tv _ACEOF
   4129   1.4       tv rm -f conftest.$ac_objext
   4130  1.45      jmc if { (eval echo "$as_me:4130: \"$ac_compile\"") >&5
   4131   1.4       tv   (eval $ac_compile) 2>&5
   4132   1.4       tv   ac_status=$?
   4133  1.45      jmc   echo "$as_me:4133: \$? = $ac_status" >&5
   4134   1.4       tv   (exit $ac_status); } &&
   4135   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   4136  1.45      jmc   { (eval echo "$as_me:4136: \"$ac_try\"") >&5
   4137   1.4       tv   (eval $ac_try) 2>&5
   4138   1.4       tv   ac_status=$?
   4139  1.45      jmc   echo "$as_me:4139: \$? = $ac_status" >&5
   4140   1.4       tv   (exit $ac_status); }; }; then
   4141  1.43      dbj   ac_cv_member_struct_stat_st_flags=yes
   4142   1.4       tv else
   4143   1.4       tv   echo "$as_me: failed program was:" >&5
   4144  1.43      dbj cat conftest.$ac_ext >&5
   4145  1.43      dbj ac_cv_member_struct_stat_st_flags=no
   4146  1.39    fredb fi
   4147  1.39    fredb rm -f conftest.$ac_objext conftest.$ac_ext
   4148   1.4       tv fi
   4149  1.45      jmc echo "$as_me:4149: result: $ac_cv_member_struct_stat_st_flags" >&5
   4150  1.43      dbj echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
   4151  1.43      dbj if test $ac_cv_member_struct_stat_st_flags = yes; then
   4152   1.4       tv 
   4153  1.43      dbj cat >>confdefs.h <<EOF
   4154  1.43      dbj #define HAVE_STRUCT_STAT_ST_FLAGS 1
   4155  1.43      dbj EOF
   4156   1.4       tv 
   4157   1.4       tv fi
   4158  1.45      jmc echo "$as_me:4158: checking for struct stat.st_gen" >&5
   4159  1.43      dbj echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
   4160  1.43      dbj if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
   4161  1.40   atatat   echo $ECHO_N "(cached) $ECHO_C" >&6
   4162  1.40   atatat else
   4163  1.40   atatat   cat >conftest.$ac_ext <<_ACEOF
   4164  1.45      jmc #line 4164 "configure"
   4165  1.43      dbj #include "confdefs.h"
   4166  1.40   atatat #include <sys/stat.h>
   4167  1.40   atatat 
   4168  1.40   atatat int
   4169  1.40   atatat main ()
   4170  1.40   atatat {
   4171  1.40   atatat static struct stat ac_aggr;
   4172  1.43      dbj if (ac_aggr.st_gen)
   4173  1.40   atatat return 0;
   4174  1.40   atatat   ;
   4175  1.40   atatat   return 0;
   4176  1.40   atatat }
   4177  1.40   atatat _ACEOF
   4178  1.40   atatat rm -f conftest.$ac_objext
   4179  1.45      jmc if { (eval echo "$as_me:4179: \"$ac_compile\"") >&5
   4180  1.40   atatat   (eval $ac_compile) 2>&5
   4181  1.40   atatat   ac_status=$?
   4182  1.45      jmc   echo "$as_me:4182: \$? = $ac_status" >&5
   4183  1.40   atatat   (exit $ac_status); } &&
   4184  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   4185  1.45      jmc   { (eval echo "$as_me:4185: \"$ac_try\"") >&5
   4186  1.40   atatat   (eval $ac_try) 2>&5
   4187  1.40   atatat   ac_status=$?
   4188  1.45      jmc   echo "$as_me:4188: \$? = $ac_status" >&5
   4189  1.40   atatat   (exit $ac_status); }; }; then
   4190  1.43      dbj   ac_cv_member_struct_stat_st_gen=yes
   4191  1.40   atatat else
   4192  1.40   atatat   echo "$as_me: failed program was:" >&5
   4193  1.43      dbj cat conftest.$ac_ext >&5
   4194  1.43      dbj ac_cv_member_struct_stat_st_gen=no
   4195  1.43      dbj fi
   4196  1.43      dbj rm -f conftest.$ac_objext conftest.$ac_ext
   4197  1.43      dbj fi
   4198  1.45      jmc echo "$as_me:4198: result: $ac_cv_member_struct_stat_st_gen" >&5
   4199  1.43      dbj echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
   4200  1.43      dbj if test $ac_cv_member_struct_stat_st_gen = yes; then
   4201  1.43      dbj 
   4202  1.43      dbj cat >>confdefs.h <<EOF
   4203  1.43      dbj #define HAVE_STRUCT_STAT_ST_GEN 1
   4204  1.43      dbj EOF
   4205  1.40   atatat 
   4206  1.43      dbj fi
   4207  1.45      jmc echo "$as_me:4207: checking for struct stat.st_birthtime" >&5
   4208  1.43      dbj echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
   4209  1.43      dbj if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
   4210  1.43      dbj   echo $ECHO_N "(cached) $ECHO_C" >&6
   4211  1.43      dbj else
   4212  1.43      dbj   cat >conftest.$ac_ext <<_ACEOF
   4213  1.45      jmc #line 4213 "configure"
   4214  1.43      dbj #include "confdefs.h"
   4215  1.40   atatat #include <sys/stat.h>
   4216  1.40   atatat 
   4217  1.40   atatat int
   4218  1.40   atatat main ()
   4219  1.40   atatat {
   4220  1.40   atatat static struct stat ac_aggr;
   4221  1.43      dbj if (ac_aggr.st_birthtime)
   4222  1.40   atatat return 0;
   4223  1.40   atatat   ;
   4224  1.40   atatat   return 0;
   4225  1.40   atatat }
   4226  1.40   atatat _ACEOF
   4227  1.40   atatat rm -f conftest.$ac_objext
   4228  1.45      jmc if { (eval echo "$as_me:4228: \"$ac_compile\"") >&5
   4229  1.40   atatat   (eval $ac_compile) 2>&5
   4230  1.40   atatat   ac_status=$?
   4231  1.45      jmc   echo "$as_me:4231: \$? = $ac_status" >&5
   4232  1.40   atatat   (exit $ac_status); } &&
   4233  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   4234  1.45      jmc   { (eval echo "$as_me:4234: \"$ac_try\"") >&5
   4235  1.40   atatat   (eval $ac_try) 2>&5
   4236  1.40   atatat   ac_status=$?
   4237  1.45      jmc   echo "$as_me:4237: \$? = $ac_status" >&5
   4238  1.40   atatat   (exit $ac_status); }; }; then
   4239  1.40   atatat   ac_cv_member_struct_stat_st_birthtime=yes
   4240  1.40   atatat else
   4241  1.40   atatat   echo "$as_me: failed program was:" >&5
   4242  1.43      dbj cat conftest.$ac_ext >&5
   4243  1.40   atatat ac_cv_member_struct_stat_st_birthtime=no
   4244  1.40   atatat fi
   4245  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   4246  1.40   atatat fi
   4247  1.45      jmc echo "$as_me:4247: result: $ac_cv_member_struct_stat_st_birthtime" >&5
   4248  1.40   atatat echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
   4249  1.40   atatat if test $ac_cv_member_struct_stat_st_birthtime = yes; then
   4250  1.40   atatat 
   4251  1.43      dbj cat >>confdefs.h <<EOF
   4252  1.40   atatat #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
   4253  1.43      dbj EOF
   4254  1.40   atatat 
   4255  1.40   atatat fi
   4256  1.45      jmc echo "$as_me:4256: checking for struct stat.st_atim" >&5
   4257  1.40   atatat echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
   4258  1.40   atatat if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
   4259  1.40   atatat   echo $ECHO_N "(cached) $ECHO_C" >&6
   4260  1.40   atatat else
   4261  1.40   atatat   cat >conftest.$ac_ext <<_ACEOF
   4262  1.45      jmc #line 4262 "configure"
   4263  1.43      dbj #include "confdefs.h"
   4264  1.40   atatat #include <sys/stat.h>
   4265  1.40   atatat 
   4266  1.40   atatat int
   4267  1.40   atatat main ()
   4268  1.40   atatat {
   4269  1.40   atatat static struct stat ac_aggr;
   4270  1.40   atatat if (ac_aggr.st_atim)
   4271  1.40   atatat return 0;
   4272  1.40   atatat   ;
   4273  1.40   atatat   return 0;
   4274  1.40   atatat }
   4275  1.40   atatat _ACEOF
   4276  1.40   atatat rm -f conftest.$ac_objext
   4277  1.45      jmc if { (eval echo "$as_me:4277: \"$ac_compile\"") >&5
   4278  1.40   atatat   (eval $ac_compile) 2>&5
   4279  1.40   atatat   ac_status=$?
   4280  1.45      jmc   echo "$as_me:4280: \$? = $ac_status" >&5
   4281  1.40   atatat   (exit $ac_status); } &&
   4282  1.40   atatat          { ac_try='test -s conftest.$ac_objext'
   4283  1.45      jmc   { (eval echo "$as_me:4283: \"$ac_try\"") >&5
   4284  1.40   atatat   (eval $ac_try) 2>&5
   4285  1.40   atatat   ac_status=$?
   4286  1.45      jmc   echo "$as_me:4286: \$? = $ac_status" >&5
   4287  1.40   atatat   (exit $ac_status); }; }; then
   4288  1.40   atatat   ac_cv_member_struct_stat_st_atim=yes
   4289  1.40   atatat else
   4290  1.40   atatat   echo "$as_me: failed program was:" >&5
   4291  1.43      dbj cat conftest.$ac_ext >&5
   4292  1.40   atatat ac_cv_member_struct_stat_st_atim=no
   4293  1.40   atatat fi
   4294  1.40   atatat rm -f conftest.$ac_objext conftest.$ac_ext
   4295  1.40   atatat fi
   4296  1.45      jmc echo "$as_me:4296: result: $ac_cv_member_struct_stat_st_atim" >&5
   4297  1.40   atatat echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
   4298  1.40   atatat if test $ac_cv_member_struct_stat_st_atim = yes; then
   4299  1.40   atatat 
   4300  1.43      dbj cat >>confdefs.h <<EOF
   4301  1.40   atatat #define HAVE_STRUCT_STAT_ST_ATIM 1
   4302  1.43      dbj EOF
   4303  1.40   atatat 
   4304  1.40   atatat fi
   4305  1.45      jmc echo "$as_me:4305: checking for struct stat.st_mtimensec" >&5
   4306  1.39    fredb echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
   4307  1.39    fredb if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
   4308   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4309   1.7       tv else
   4310   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   4311  1.45      jmc #line 4311 "configure"
   4312  1.43      dbj #include "confdefs.h"
   4313   1.7       tv #include <sys/stat.h>
   4314   1.7       tv 
   4315   1.7       tv int
   4316   1.7       tv main ()
   4317   1.7       tv {
   4318   1.7       tv static struct stat ac_aggr;
   4319  1.39    fredb if (ac_aggr.st_mtimensec)
   4320   1.7       tv return 0;
   4321   1.7       tv   ;
   4322   1.7       tv   return 0;
   4323   1.7       tv }
   4324   1.7       tv _ACEOF
   4325   1.7       tv rm -f conftest.$ac_objext
   4326  1.45      jmc if { (eval echo "$as_me:4326: \"$ac_compile\"") >&5
   4327   1.7       tv   (eval $ac_compile) 2>&5
   4328   1.7       tv   ac_status=$?
   4329  1.45      jmc   echo "$as_me:4329: \$? = $ac_status" >&5
   4330   1.7       tv   (exit $ac_status); } &&
   4331   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   4332  1.45      jmc   { (eval echo "$as_me:4332: \"$ac_try\"") >&5
   4333   1.7       tv   (eval $ac_try) 2>&5
   4334   1.7       tv   ac_status=$?
   4335  1.45      jmc   echo "$as_me:4335: \$? = $ac_status" >&5
   4336   1.7       tv   (exit $ac_status); }; }; then
   4337   1.7       tv   ac_cv_member_struct_stat_st_mtimensec=yes
   4338   1.7       tv else
   4339   1.7       tv   echo "$as_me: failed program was:" >&5
   4340  1.43      dbj cat conftest.$ac_ext >&5
   4341   1.7       tv ac_cv_member_struct_stat_st_mtimensec=no
   4342   1.7       tv fi
   4343   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4344   1.7       tv fi
   4345  1.45      jmc echo "$as_me:4345: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
   4346   1.7       tv echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
   4347   1.7       tv if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
   4348   1.7       tv 
   4349  1.43      dbj cat >>confdefs.h <<EOF
   4350   1.7       tv #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   4351  1.43      dbj EOF
   4352   1.7       tv 
   4353   1.7       tv fi
   4354   1.4       tv 
   4355  1.47      dbj echo "$as_me:4355: checking for struct statvfs.f_iosize" >&5
   4356  1.47      dbj echo $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
   4357  1.47      dbj if test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
   4358  1.47      dbj   echo $ECHO_N "(cached) $ECHO_C" >&6
   4359  1.47      dbj else
   4360  1.47      dbj   cat >conftest.$ac_ext <<_ACEOF
   4361  1.47      dbj #line 4361 "configure"
   4362  1.47      dbj #include "confdefs.h"
   4363  1.47      dbj #include <sys/statvfs.h>
   4364  1.47      dbj 
   4365  1.47      dbj int
   4366  1.47      dbj main ()
   4367  1.47      dbj {
   4368  1.47      dbj static struct statvfs ac_aggr;
   4369  1.47      dbj if (ac_aggr.f_iosize)
   4370  1.47      dbj return 0;
   4371  1.47      dbj   ;
   4372  1.47      dbj   return 0;
   4373  1.47      dbj }
   4374  1.47      dbj _ACEOF
   4375  1.47      dbj rm -f conftest.$ac_objext
   4376  1.47      dbj if { (eval echo "$as_me:4376: \"$ac_compile\"") >&5
   4377  1.47      dbj   (eval $ac_compile) 2>&5
   4378  1.47      dbj   ac_status=$?
   4379  1.47      dbj   echo "$as_me:4379: \$? = $ac_status" >&5
   4380  1.47      dbj   (exit $ac_status); } &&
   4381  1.47      dbj          { ac_try='test -s conftest.$ac_objext'
   4382  1.47      dbj   { (eval echo "$as_me:4382: \"$ac_try\"") >&5
   4383  1.47      dbj   (eval $ac_try) 2>&5
   4384  1.47      dbj   ac_status=$?
   4385  1.47      dbj   echo "$as_me:4385: \$? = $ac_status" >&5
   4386  1.47      dbj   (exit $ac_status); }; }; then
   4387  1.47      dbj   ac_cv_member_struct_statvfs_f_iosize=yes
   4388  1.47      dbj else
   4389  1.47      dbj   echo "$as_me: failed program was:" >&5
   4390  1.47      dbj cat conftest.$ac_ext >&5
   4391  1.47      dbj ac_cv_member_struct_statvfs_f_iosize=no
   4392  1.47      dbj fi
   4393  1.47      dbj rm -f conftest.$ac_objext conftest.$ac_ext
   4394  1.47      dbj fi
   4395  1.47      dbj echo "$as_me:4395: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
   4396  1.47      dbj echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
   4397  1.47      dbj if test $ac_cv_member_struct_statvfs_f_iosize = yes; then
   4398  1.47      dbj 
   4399  1.47      dbj cat >>confdefs.h <<EOF
   4400  1.47      dbj #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
   4401  1.47      dbj EOF
   4402  1.47      dbj 
   4403  1.47      dbj fi
   4404  1.47      dbj 
   4405   1.4       tv # Global variable decls.
   4406  1.47      dbj echo "$as_me:4406: checking whether optind is declared" >&5
   4407   1.7       tv echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
   4408   1.7       tv if test "${ac_cv_have_decl_optind+set}" = set; then
   4409   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4410   1.7       tv else
   4411   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   4412  1.47      dbj #line 4412 "configure"
   4413  1.43      dbj #include "confdefs.h"
   4414   1.7       tv 
   4415   1.7       tv #include <stdio.h>
   4416   1.7       tv #include <stdlib.h>
   4417   1.7       tv #include <unistd.h>
   4418   1.7       tv 
   4419   1.7       tv int
   4420   1.7       tv main ()
   4421   1.7       tv {
   4422   1.7       tv #ifndef optind
   4423   1.7       tv   char *p = (char *) optind;
   4424   1.7       tv #endif
   4425   1.7       tv 
   4426   1.7       tv   ;
   4427   1.7       tv   return 0;
   4428   1.7       tv }
   4429   1.7       tv _ACEOF
   4430   1.7       tv rm -f conftest.$ac_objext
   4431  1.47      dbj if { (eval echo "$as_me:4431: \"$ac_compile\"") >&5
   4432   1.7       tv   (eval $ac_compile) 2>&5
   4433   1.7       tv   ac_status=$?
   4434  1.47      dbj   echo "$as_me:4434: \$? = $ac_status" >&5
   4435   1.7       tv   (exit $ac_status); } &&
   4436   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   4437  1.47      dbj   { (eval echo "$as_me:4437: \"$ac_try\"") >&5
   4438   1.7       tv   (eval $ac_try) 2>&5
   4439   1.7       tv   ac_status=$?
   4440  1.47      dbj   echo "$as_me:4440: \$? = $ac_status" >&5
   4441   1.7       tv   (exit $ac_status); }; }; then
   4442   1.7       tv   ac_cv_have_decl_optind=yes
   4443   1.7       tv else
   4444   1.7       tv   echo "$as_me: failed program was:" >&5
   4445  1.43      dbj cat conftest.$ac_ext >&5
   4446   1.7       tv ac_cv_have_decl_optind=no
   4447   1.7       tv fi
   4448   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4449   1.7       tv fi
   4450  1.47      dbj echo "$as_me:4450: result: $ac_cv_have_decl_optind" >&5
   4451   1.7       tv echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
   4452   1.7       tv if test $ac_cv_have_decl_optind = yes; then
   4453   1.7       tv 
   4454  1.43      dbj cat >>confdefs.h <<EOF
   4455   1.7       tv #define HAVE_DECL_OPTIND 1
   4456  1.43      dbj EOF
   4457   1.7       tv 
   4458   1.7       tv else
   4459  1.43      dbj   cat >>confdefs.h <<EOF
   4460   1.7       tv #define HAVE_DECL_OPTIND 0
   4461  1.43      dbj EOF
   4462   1.7       tv 
   4463   1.7       tv fi
   4464  1.47      dbj echo "$as_me:4464: checking whether optreset is declared" >&5
   4465   1.7       tv echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   4466   1.7       tv if test "${ac_cv_have_decl_optreset+set}" = set; then
   4467   1.7       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4468   1.7       tv else
   4469   1.7       tv   cat >conftest.$ac_ext <<_ACEOF
   4470  1.47      dbj #line 4470 "configure"
   4471  1.43      dbj #include "confdefs.h"
   4472   1.7       tv 
   4473   1.7       tv #include <stdio.h>
   4474   1.7       tv #include <stdlib.h>
   4475   1.7       tv #include <unistd.h>
   4476   1.7       tv 
   4477   1.7       tv int
   4478   1.7       tv main ()
   4479   1.7       tv {
   4480   1.7       tv #ifndef optreset
   4481   1.7       tv   char *p = (char *) optreset;
   4482   1.7       tv #endif
   4483   1.7       tv 
   4484   1.7       tv   ;
   4485   1.7       tv   return 0;
   4486   1.7       tv }
   4487   1.7       tv _ACEOF
   4488   1.7       tv rm -f conftest.$ac_objext
   4489  1.47      dbj if { (eval echo "$as_me:4489: \"$ac_compile\"") >&5
   4490   1.7       tv   (eval $ac_compile) 2>&5
   4491   1.7       tv   ac_status=$?
   4492  1.47      dbj   echo "$as_me:4492: \$? = $ac_status" >&5
   4493   1.7       tv   (exit $ac_status); } &&
   4494   1.7       tv          { ac_try='test -s conftest.$ac_objext'
   4495  1.47      dbj   { (eval echo "$as_me:4495: \"$ac_try\"") >&5
   4496   1.7       tv   (eval $ac_try) 2>&5
   4497   1.7       tv   ac_status=$?
   4498  1.47      dbj   echo "$as_me:4498: \$? = $ac_status" >&5
   4499   1.7       tv   (exit $ac_status); }; }; then
   4500   1.7       tv   ac_cv_have_decl_optreset=yes
   4501   1.7       tv else
   4502   1.7       tv   echo "$as_me: failed program was:" >&5
   4503  1.43      dbj cat conftest.$ac_ext >&5
   4504   1.7       tv ac_cv_have_decl_optreset=no
   4505   1.7       tv fi
   4506   1.7       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4507   1.7       tv fi
   4508  1.47      dbj echo "$as_me:4508: result: $ac_cv_have_decl_optreset" >&5
   4509   1.7       tv echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   4510   1.7       tv if test $ac_cv_have_decl_optreset = yes; then
   4511   1.7       tv 
   4512  1.43      dbj cat >>confdefs.h <<EOF
   4513   1.7       tv #define HAVE_DECL_OPTRESET 1
   4514  1.43      dbj EOF
   4515   1.7       tv 
   4516   1.7       tv else
   4517  1.43      dbj   cat >>confdefs.h <<EOF
   4518   1.7       tv #define HAVE_DECL_OPTRESET 0
   4519  1.43      dbj EOF
   4520   1.7       tv 
   4521   1.7       tv fi
   4522   1.7       tv 
   4523  1.47      dbj echo "$as_me:4523: checking whether sys_signame is declared" >&5
   4524   1.4       tv echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
   4525   1.4       tv if test "${ac_cv_have_decl_sys_signame+set}" = set; then
   4526   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   4527   1.4       tv else
   4528   1.4       tv   cat >conftest.$ac_ext <<_ACEOF
   4529  1.47      dbj #line 4529 "configure"
   4530  1.43      dbj #include "confdefs.h"
   4531   1.4       tv #include <signal.h>
   4532   1.4       tv 
   4533   1.4       tv int
   4534   1.4       tv main ()
   4535   1.4       tv {
   4536   1.4       tv #ifndef sys_signame
   4537   1.4       tv   char *p = (char *) sys_signame;
   4538   1.4       tv #endif
   4539   1.4       tv 
   4540   1.4       tv   ;
   4541   1.4       tv   return 0;
   4542   1.4       tv }
   4543   1.4       tv _ACEOF
   4544   1.4       tv rm -f conftest.$ac_objext
   4545  1.47      dbj if { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
   4546   1.4       tv   (eval $ac_compile) 2>&5
   4547   1.4       tv   ac_status=$?
   4548  1.47      dbj   echo "$as_me:4548: \$? = $ac_status" >&5
   4549   1.4       tv   (exit $ac_status); } &&
   4550   1.4       tv          { ac_try='test -s conftest.$ac_objext'
   4551  1.47      dbj   { (eval echo "$as_me:4551: \"$ac_try\"") >&5
   4552   1.4       tv   (eval $ac_try) 2>&5
   4553   1.4       tv   ac_status=$?
   4554  1.47      dbj   echo "$as_me:4554: \$? = $ac_status" >&5
   4555   1.4       tv   (exit $ac_status); }; }; then
   4556   1.4       tv   ac_cv_have_decl_sys_signame=yes
   4557   1.4       tv else
   4558   1.4       tv   echo "$as_me: failed program was:" >&5
   4559  1.43      dbj cat conftest.$ac_ext >&5
   4560   1.4       tv ac_cv_have_decl_sys_signame=no
   4561   1.4       tv fi
   4562   1.4       tv rm -f conftest.$ac_objext conftest.$ac_ext
   4563   1.4       tv fi
   4564  1.47      dbj echo "$as_me:4564: result: $ac_cv_have_decl_sys_signame" >&5
   4565   1.4       tv echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
   4566   1.4       tv if test $ac_cv_have_decl_sys_signame = yes; then
   4567   1.4       tv 
   4568  1.43      dbj cat >>confdefs.h <<EOF
   4569   1.4       tv #define HAVE_DECL_SYS_SIGNAME 1
   4570  1.43      dbj EOF
   4571   1.4       tv 
   4572   1.4       tv else
   4573  1.43      dbj   cat >>confdefs.h <<EOF
   4574   1.4       tv #define HAVE_DECL_SYS_SIGNAME 0
   4575  1.43      dbj EOF
   4576   1.4       tv 
   4577   1.4       tv fi
   4578   1.4       tv 
   4579   1.4       tv # Library functions (where a .h check isn't enough).
   4580  1.19    bjh21 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   4581  1.19    bjh21 # for constant arguments.  Useless!
   4582  1.47      dbj echo "$as_me:4582: checking for working alloca.h" >&5
   4583  1.19    bjh21 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   4584  1.19    bjh21 if test "${ac_cv_working_alloca_h+set}" = set; then
   4585  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   4586  1.19    bjh21 else
   4587  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   4588  1.47      dbj #line 4588 "configure"
   4589  1.43      dbj #include "confdefs.h"
   4590  1.19    bjh21 #include <alloca.h>
   4591  1.19    bjh21 int
   4592  1.19    bjh21 main ()
   4593  1.19    bjh21 {
   4594  1.19    bjh21 char *p = (char *) alloca (2 * sizeof (int));
   4595  1.19    bjh21   ;
   4596  1.19    bjh21   return 0;
   4597  1.19    bjh21 }
   4598  1.19    bjh21 _ACEOF
   4599  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   4600  1.47      dbj if { (eval echo "$as_me:4600: \"$ac_link\"") >&5
   4601  1.19    bjh21   (eval $ac_link) 2>&5
   4602  1.19    bjh21   ac_status=$?
   4603  1.47      dbj   echo "$as_me:4603: \$? = $ac_status" >&5
   4604  1.19    bjh21   (exit $ac_status); } &&
   4605  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   4606  1.47      dbj   { (eval echo "$as_me:4606: \"$ac_try\"") >&5
   4607  1.19    bjh21   (eval $ac_try) 2>&5
   4608  1.19    bjh21   ac_status=$?
   4609  1.47      dbj   echo "$as_me:4609: \$? = $ac_status" >&5
   4610  1.19    bjh21   (exit $ac_status); }; }; then
   4611  1.19    bjh21   ac_cv_working_alloca_h=yes
   4612  1.19    bjh21 else
   4613  1.19    bjh21   echo "$as_me: failed program was:" >&5
   4614  1.43      dbj cat conftest.$ac_ext >&5
   4615  1.19    bjh21 ac_cv_working_alloca_h=no
   4616  1.19    bjh21 fi
   4617  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4618  1.19    bjh21 fi
   4619  1.47      dbj echo "$as_me:4619: result: $ac_cv_working_alloca_h" >&5
   4620  1.19    bjh21 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   4621  1.19    bjh21 if test $ac_cv_working_alloca_h = yes; then
   4622  1.19    bjh21 
   4623  1.43      dbj cat >>confdefs.h <<\EOF
   4624  1.19    bjh21 #define HAVE_ALLOCA_H 1
   4625  1.43      dbj EOF
   4626  1.19    bjh21 
   4627  1.19    bjh21 fi
   4628  1.19    bjh21 
   4629  1.47      dbj echo "$as_me:4629: checking for alloca" >&5
   4630  1.19    bjh21 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   4631  1.19    bjh21 if test "${ac_cv_func_alloca_works+set}" = set; then
   4632  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   4633  1.19    bjh21 else
   4634  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   4635  1.47      dbj #line 4635 "configure"
   4636  1.43      dbj #include "confdefs.h"
   4637  1.19    bjh21 #ifdef __GNUC__
   4638  1.19    bjh21 # define alloca __builtin_alloca
   4639  1.19    bjh21 #else
   4640  1.19    bjh21 # ifdef _MSC_VER
   4641  1.19    bjh21 #  include <malloc.h>
   4642  1.19    bjh21 #  define alloca _alloca
   4643  1.19    bjh21 # else
   4644  1.19    bjh21 #  if HAVE_ALLOCA_H
   4645  1.19    bjh21 #   include <alloca.h>
   4646  1.19    bjh21 #  else
   4647  1.19    bjh21 #   ifdef _AIX
   4648  1.19    bjh21  #pragma alloca
   4649  1.19    bjh21 #   else
   4650  1.19    bjh21 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   4651  1.19    bjh21 char *alloca ();
   4652  1.19    bjh21 #    endif
   4653  1.19    bjh21 #   endif
   4654  1.19    bjh21 #  endif
   4655  1.19    bjh21 # endif
   4656  1.19    bjh21 #endif
   4657  1.19    bjh21 
   4658  1.19    bjh21 int
   4659  1.19    bjh21 main ()
   4660  1.19    bjh21 {
   4661  1.19    bjh21 char *p = (char *) alloca (1);
   4662  1.19    bjh21   ;
   4663  1.19    bjh21   return 0;
   4664  1.19    bjh21 }
   4665  1.19    bjh21 _ACEOF
   4666  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   4667  1.47      dbj if { (eval echo "$as_me:4667: \"$ac_link\"") >&5
   4668  1.19    bjh21   (eval $ac_link) 2>&5
   4669  1.19    bjh21   ac_status=$?
   4670  1.47      dbj   echo "$as_me:4670: \$? = $ac_status" >&5
   4671  1.19    bjh21   (exit $ac_status); } &&
   4672  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   4673  1.47      dbj   { (eval echo "$as_me:4673: \"$ac_try\"") >&5
   4674  1.19    bjh21   (eval $ac_try) 2>&5
   4675  1.19    bjh21   ac_status=$?
   4676  1.47      dbj   echo "$as_me:4676: \$? = $ac_status" >&5
   4677  1.19    bjh21   (exit $ac_status); }; }; then
   4678  1.19    bjh21   ac_cv_func_alloca_works=yes
   4679  1.19    bjh21 else
   4680  1.19    bjh21   echo "$as_me: failed program was:" >&5
   4681  1.43      dbj cat conftest.$ac_ext >&5
   4682  1.19    bjh21 ac_cv_func_alloca_works=no
   4683  1.19    bjh21 fi
   4684  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4685  1.19    bjh21 fi
   4686  1.47      dbj echo "$as_me:4686: result: $ac_cv_func_alloca_works" >&5
   4687  1.19    bjh21 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   4688  1.19    bjh21 
   4689  1.19    bjh21 if test $ac_cv_func_alloca_works = yes; then
   4690  1.19    bjh21 
   4691  1.43      dbj cat >>confdefs.h <<\EOF
   4692  1.19    bjh21 #define HAVE_ALLOCA 1
   4693  1.43      dbj EOF
   4694  1.19    bjh21 
   4695  1.19    bjh21 else
   4696  1.19    bjh21   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   4697  1.19    bjh21 # that cause trouble.  Some versions do not even contain alloca or
   4698  1.19    bjh21 # contain a buggy version.  If you still want to use their alloca,
   4699  1.19    bjh21 # use ar to extract alloca.o from them instead of compiling alloca.c.
   4700  1.19    bjh21 
   4701  1.19    bjh21 ALLOCA=alloca.$ac_objext
   4702  1.19    bjh21 
   4703  1.43      dbj cat >>confdefs.h <<\EOF
   4704  1.19    bjh21 #define C_ALLOCA 1
   4705  1.43      dbj EOF
   4706  1.39    fredb 
   4707  1.47      dbj echo "$as_me:4707: checking whether \`alloca.c' needs Cray hooks" >&5
   4708  1.19    bjh21 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   4709  1.19    bjh21 if test "${ac_cv_os_cray+set}" = set; then
   4710  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   4711  1.19    bjh21 else
   4712  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   4713  1.47      dbj #line 4713 "configure"
   4714  1.43      dbj #include "confdefs.h"
   4715  1.19    bjh21 #if defined(CRAY) && ! defined(CRAY2)
   4716  1.19    bjh21 webecray
   4717  1.19    bjh21 #else
   4718  1.19    bjh21 wenotbecray
   4719  1.19    bjh21 #endif
   4720  1.19    bjh21 
   4721  1.19    bjh21 _ACEOF
   4722  1.19    bjh21 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4723  1.43      dbj   egrep "webecray" >/dev/null 2>&1; then
   4724  1.19    bjh21   ac_cv_os_cray=yes
   4725  1.19    bjh21 else
   4726  1.19    bjh21   ac_cv_os_cray=no
   4727  1.19    bjh21 fi
   4728  1.19    bjh21 rm -f conftest*
   4729  1.19    bjh21 
   4730  1.19    bjh21 fi
   4731  1.47      dbj echo "$as_me:4731: result: $ac_cv_os_cray" >&5
   4732  1.19    bjh21 echo "${ECHO_T}$ac_cv_os_cray" >&6
   4733  1.19    bjh21 if test $ac_cv_os_cray = yes; then
   4734  1.19    bjh21   for ac_func in _getb67 GETB67 getb67; do
   4735  1.19    bjh21     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4736  1.47      dbj echo "$as_me:4736: checking for $ac_func" >&5
   4737  1.19    bjh21 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4738  1.19    bjh21 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4739  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   4740  1.19    bjh21 else
   4741  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   4742  1.47      dbj #line 4742 "configure"
   4743  1.43      dbj #include "confdefs.h"
   4744  1.19    bjh21 /* System header to define __stub macros and hopefully few prototypes,
   4745  1.43      dbj     which can conflict with char $ac_func (); below.  */
   4746  1.43      dbj #include <assert.h>
   4747  1.19    bjh21 /* Override any gcc2 internal prototype to avoid an error.  */
   4748  1.19    bjh21 #ifdef __cplusplus
   4749  1.19    bjh21 extern "C"
   4750  1.19    bjh21 #endif
   4751  1.19    bjh21 /* We use char because int might match the return type of a gcc2
   4752  1.19    bjh21    builtin and then its argument prototype would still apply.  */
   4753  1.19    bjh21 char $ac_func ();
   4754  1.43      dbj char (*f) ();
   4755  1.43      dbj 
   4756  1.43      dbj int
   4757  1.43      dbj main ()
   4758  1.43      dbj {
   4759  1.19    bjh21 /* The GNU C library defines this for functions which it implements
   4760  1.19    bjh21     to always fail with ENOSYS.  Some functions are actually named
   4761  1.19    bjh21     something starting with __ and the normal name is an alias.  */
   4762  1.19    bjh21 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4763  1.19    bjh21 choke me
   4764  1.19    bjh21 #else
   4765  1.43      dbj f = $ac_func;
   4766  1.19    bjh21 #endif
   4767  1.19    bjh21 
   4768  1.19    bjh21   ;
   4769  1.19    bjh21   return 0;
   4770  1.19    bjh21 }
   4771  1.19    bjh21 _ACEOF
   4772  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext
   4773  1.47      dbj if { (eval echo "$as_me:4773: \"$ac_link\"") >&5
   4774  1.19    bjh21   (eval $ac_link) 2>&5
   4775  1.19    bjh21   ac_status=$?
   4776  1.47      dbj   echo "$as_me:4776: \$? = $ac_status" >&5
   4777  1.19    bjh21   (exit $ac_status); } &&
   4778  1.19    bjh21          { ac_try='test -s conftest$ac_exeext'
   4779  1.47      dbj   { (eval echo "$as_me:4779: \"$ac_try\"") >&5
   4780  1.19    bjh21   (eval $ac_try) 2>&5
   4781  1.19    bjh21   ac_status=$?
   4782  1.47      dbj   echo "$as_me:4782: \$? = $ac_status" >&5
   4783  1.19    bjh21   (exit $ac_status); }; }; then
   4784  1.19    bjh21   eval "$as_ac_var=yes"
   4785  1.19    bjh21 else
   4786  1.19    bjh21   echo "$as_me: failed program was:" >&5
   4787  1.43      dbj cat conftest.$ac_ext >&5
   4788  1.19    bjh21 eval "$as_ac_var=no"
   4789  1.19    bjh21 fi
   4790  1.19    bjh21 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4791  1.19    bjh21 fi
   4792  1.47      dbj echo "$as_me:4792: result: `eval echo '${'$as_ac_var'}'`" >&5
   4793  1.19    bjh21 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4794  1.19    bjh21 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4795  1.19    bjh21 
   4796  1.43      dbj cat >>confdefs.h <<EOF
   4797  1.19    bjh21 #define CRAY_STACKSEG_END $ac_func
   4798  1.43      dbj EOF
   4799  1.19    bjh21 
   4800  1.19    bjh21     break
   4801  1.19    bjh21 fi
   4802  1.19    bjh21 
   4803  1.19    bjh21   done
   4804  1.19    bjh21 fi
   4805  1.19    bjh21 
   4806  1.47      dbj echo "$as_me:4806: checking stack direction for C alloca" >&5
   4807  1.19    bjh21 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   4808  1.19    bjh21 if test "${ac_cv_c_stack_direction+set}" = set; then
   4809  1.19    bjh21   echo $ECHO_N "(cached) $ECHO_C" >&6
   4810  1.19    bjh21 else
   4811  1.19    bjh21   if test "$cross_compiling" = yes; then
   4812  1.19    bjh21   ac_cv_c_stack_direction=0
   4813  1.19    bjh21 else
   4814  1.19    bjh21   cat >conftest.$ac_ext <<_ACEOF
   4815  1.47      dbj #line 4815 "configure"
   4816  1.43      dbj #include "confdefs.h"
   4817  1.19    bjh21 int
   4818  1.19    bjh21 find_stack_direction ()
   4819  1.19    bjh21 {
   4820  1.19    bjh21   static char *addr = 0;
   4821  1.19    bjh21   auto char dummy;
   4822  1.19    bjh21   if (addr == 0)
   4823  1.19    bjh21     {
   4824  1.19    bjh21       addr = &dummy;
   4825  1.19    bjh21       return find_stack_direction ();
   4826  1.19    bjh21     }
   4827  1.19    bjh21   else
   4828  1.19    bjh21     return (&dummy > addr) ? 1 : -1;
   4829  1.19    bjh21 }
   4830  1.19    bjh21 
   4831  1.43      dbj int
   4832  1.43      dbj main ()
   4833  1.43      dbj {
   4834  1.43      dbj   exit (find_stack_direction () < 0);
   4835  1.43      dbj }
   4836  1.43      dbj _ACEOF
   4837  1.43      dbj rm -f conftest$ac_exeext
   4838  1.47      dbj if { (eval echo "$as_me:4838: \"$ac_link\"") >&5
   4839  1.43      dbj   (eval $ac_link) 2>&5
   4840  1.43      dbj   ac_status=$?
   4841  1.47      dbj   echo "$as_me:4841: \$? = $ac_status" >&5
   4842  1.43      dbj   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4843  1.47      dbj   { (eval echo "$as_me:4843: \"$ac_try\"") >&5
   4844  1.43      dbj   (eval $ac_try) 2>&5
   4845  1.43      dbj   ac_status=$?
   4846  1.47      dbj   echo "$as_me:4846: \$? = $ac_status" >&5
   4847  1.43      dbj   (exit $ac_status); }; }; then
   4848  1.43      dbj   ac_cv_c_stack_direction=1
   4849  1.43      dbj else
   4850  1.43      dbj   echo "$as_me: program exited with status $ac_status" >&5
   4851  1.43      dbj echo "$as_me: failed program was:" >&5
   4852  1.43      dbj cat conftest.$ac_ext >&5
   4853  1.43      dbj ac_cv_c_stack_direction=-1
   4854  1.43      dbj fi
   4855  1.43      dbj rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4856  1.43      dbj fi
   4857  1.43      dbj fi
   4858  1.47      dbj echo "$as_me:4858: result: $ac_cv_c_stack_direction" >&5
   4859  1.43      dbj echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   4860  1.39    fredb 
   4861  1.43      dbj cat >>confdefs.h <<EOF
   4862  1.43      dbj #define STACK_DIRECTION $ac_cv_c_stack_direction
   4863  1.43      dbj EOF
   4864  1.39    fredb 
   4865  1.43      dbj fi
   4866  1.40   atatat 
   4867  1.40   atatat for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
   4868  1.44  thorpej 	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
   4869  1.26    lukem 	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
   4870  1.36  thorpej 	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
   4871  1.36  thorpej 	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
   4872  1.29    lukem 	strsuftoll strtoll \
   4873  1.23  thorpej 	user_from_uid vasprintf vasnprintf vsnprintf
   4874   1.1       tv do
   4875   1.1       tv as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4876  1.47      dbj echo "$as_me:4876: checking for $ac_func" >&5
   4877  1.45      jmc echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4878  1.45      jmc if eval "test \"\${$as_ac_var+set}\" = set"; then
   4879  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   4880  1.45      jmc else
   4881  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   4882  1.47      dbj #line 4882 "configure"
   4883  1.45      jmc #include "confdefs.h"
   4884  1.45      jmc /* System header to define __stub macros and hopefully few prototypes,
   4885  1.45      jmc     which can conflict with char $ac_func (); below.  */
   4886  1.45      jmc #include <assert.h>
   4887  1.45      jmc /* Override any gcc2 internal prototype to avoid an error.  */
   4888  1.45      jmc #ifdef __cplusplus
   4889  1.45      jmc extern "C"
   4890  1.45      jmc #endif
   4891  1.45      jmc /* We use char because int might match the return type of a gcc2
   4892  1.45      jmc    builtin and then its argument prototype would still apply.  */
   4893  1.45      jmc char $ac_func ();
   4894  1.45      jmc char (*f) ();
   4895  1.45      jmc 
   4896  1.45      jmc int
   4897  1.45      jmc main ()
   4898  1.45      jmc {
   4899  1.45      jmc /* The GNU C library defines this for functions which it implements
   4900  1.45      jmc     to always fail with ENOSYS.  Some functions are actually named
   4901  1.45      jmc     something starting with __ and the normal name is an alias.  */
   4902  1.45      jmc #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4903  1.45      jmc choke me
   4904  1.45      jmc #else
   4905  1.45      jmc f = $ac_func;
   4906  1.45      jmc #endif
   4907  1.45      jmc 
   4908  1.45      jmc   ;
   4909  1.45      jmc   return 0;
   4910  1.45      jmc }
   4911  1.45      jmc _ACEOF
   4912  1.45      jmc rm -f conftest.$ac_objext conftest$ac_exeext
   4913  1.47      dbj if { (eval echo "$as_me:4913: \"$ac_link\"") >&5
   4914  1.45      jmc   (eval $ac_link) 2>&5
   4915  1.45      jmc   ac_status=$?
   4916  1.47      dbj   echo "$as_me:4916: \$? = $ac_status" >&5
   4917  1.45      jmc   (exit $ac_status); } &&
   4918  1.45      jmc          { ac_try='test -s conftest$ac_exeext'
   4919  1.47      dbj   { (eval echo "$as_me:4919: \"$ac_try\"") >&5
   4920  1.45      jmc   (eval $ac_try) 2>&5
   4921  1.45      jmc   ac_status=$?
   4922  1.47      dbj   echo "$as_me:4922: \$? = $ac_status" >&5
   4923  1.45      jmc   (exit $ac_status); }; }; then
   4924  1.45      jmc   eval "$as_ac_var=yes"
   4925  1.45      jmc else
   4926  1.45      jmc   echo "$as_me: failed program was:" >&5
   4927  1.45      jmc cat conftest.$ac_ext >&5
   4928  1.45      jmc eval "$as_ac_var=no"
   4929  1.45      jmc fi
   4930  1.45      jmc rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4931  1.45      jmc fi
   4932  1.47      dbj echo "$as_me:4932: result: `eval echo '${'$as_ac_var'}'`" >&5
   4933  1.45      jmc echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4934  1.45      jmc if test `eval echo '${'$as_ac_var'}'` = yes; then
   4935  1.45      jmc   cat >>confdefs.h <<EOF
   4936  1.45      jmc #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4937  1.45      jmc EOF
   4938  1.45      jmc 
   4939  1.45      jmc fi
   4940  1.45      jmc done
   4941  1.45      jmc 
   4942  1.45      jmc for ac_func in htobe16, htobe32, htobe64, htole16, htole32, htole64, be16toh, be32toh, be64toh, le16toh, le32toh, le64toh
   4943  1.45      jmc do
   4944  1.45      jmc as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4945  1.47      dbj echo "$as_me:4945: checking for $ac_func" >&5
   4946  1.45      jmc echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4947  1.45      jmc if eval "test \"\${$as_ac_var+set}\" = set"; then
   4948  1.45      jmc   echo $ECHO_N "(cached) $ECHO_C" >&6
   4949  1.45      jmc else
   4950  1.45      jmc   cat >conftest.$ac_ext <<_ACEOF
   4951  1.47      dbj #line 4951 "configure"
   4952  1.45      jmc #include "confdefs.h"
   4953  1.45      jmc /* System header to define __stub macros and hopefully few prototypes,
   4954  1.45      jmc     which can conflict with char $ac_func (); below.  */
   4955  1.45      jmc #include <assert.h>
   4956  1.45      jmc /* Override any gcc2 internal prototype to avoid an error.  */
   4957  1.45      jmc #ifdef __cplusplus
   4958  1.45      jmc extern "C"
   4959  1.45      jmc #endif
   4960  1.45      jmc /* We use char because int might match the return type of a gcc2
   4961  1.45      jmc    builtin and then its argument prototype would still apply.  */
   4962  1.45      jmc char $ac_func ();
   4963  1.45      jmc char (*f) ();
   4964  1.45      jmc 
   4965  1.45      jmc int
   4966  1.45      jmc main ()
   4967  1.45      jmc {
   4968  1.45      jmc /* The GNU C library defines this for functions which it implements
   4969  1.45      jmc     to always fail with ENOSYS.  Some functions are actually named
   4970  1.45      jmc     something starting with __ and the normal name is an alias.  */
   4971  1.45      jmc #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4972  1.45      jmc choke me
   4973  1.45      jmc #else
   4974  1.45      jmc f = $ac_func;
   4975  1.45      jmc #endif
   4976  1.45      jmc 
   4977  1.45      jmc   ;
   4978  1.45      jmc   return 0;
   4979  1.45      jmc }
   4980  1.45      jmc _ACEOF
   4981  1.45      jmc rm -f conftest.$ac_objext conftest$ac_exeext
   4982  1.47      dbj if { (eval echo "$as_me:4982: \"$ac_link\"") >&5
   4983  1.45      jmc   (eval $ac_link) 2>&5
   4984  1.45      jmc   ac_status=$?
   4985  1.47      dbj   echo "$as_me:4985: \$? = $ac_status" >&5
   4986  1.45      jmc   (exit $ac_status); } &&
   4987  1.45      jmc          { ac_try='test -s conftest$ac_exeext'
   4988  1.47      dbj   { (eval echo "$as_me:4988: \"$ac_try\"") >&5
   4989  1.45      jmc   (eval $ac_try) 2>&5
   4990  1.45      jmc   ac_status=$?
   4991  1.47      dbj   echo "$as_me:4991: \$? = $ac_status" >&5
   4992  1.45      jmc   (exit $ac_status); }; }; then
   4993  1.45      jmc   eval "$as_ac_var=yes"
   4994  1.45      jmc else
   4995  1.45      jmc   echo "$as_me: failed program was:" >&5
   4996  1.45      jmc cat conftest.$ac_ext >&5
   4997  1.45      jmc eval "$as_ac_var=no"
   4998  1.45      jmc fi
   4999  1.45      jmc rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5000  1.45      jmc fi
   5001  1.47      dbj echo "$as_me:5001: result: `eval echo '${'$as_ac_var'}'`" >&5
   5002  1.45      jmc echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5003  1.45      jmc if test `eval echo '${'$as_ac_var'}'` = yes; then
   5004  1.45      jmc   cat >>confdefs.h <<EOF
   5005  1.45      jmc #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5006  1.45      jmc EOF
   5007  1.45      jmc 
   5008  1.45      jmc fi
   5009  1.45      jmc done
   5010  1.45      jmc 
   5011  1.45      jmc for ac_func in bswap16, bswap32, bswap64
   5012  1.45      jmc do
   5013  1.45      jmc as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5014  1.47      dbj echo "$as_me:5014: checking for $ac_func" >&5
   5015   1.1       tv echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5016   1.1       tv if eval "test \"\${$as_ac_var+set}\" = set"; then
   5017   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5018   1.1       tv else
   5019   1.1       tv   cat >conftest.$ac_ext <<_ACEOF
   5020  1.47      dbj #line 5020 "configure"
   5021  1.43      dbj #include "confdefs.h"
   5022  1.39    fredb /* System header to define __stub macros and hopefully few prototypes,
   5023  1.43      dbj     which can conflict with char $ac_func (); below.  */
   5024  1.43      dbj #include <assert.h>
   5025   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   5026   1.1       tv #ifdef __cplusplus
   5027   1.1       tv extern "C"
   5028   1.1       tv #endif
   5029   1.1       tv /* We use char because int might match the return type of a gcc2
   5030   1.1       tv    builtin and then its argument prototype would still apply.  */
   5031   1.1       tv char $ac_func ();
   5032  1.43      dbj char (*f) ();
   5033  1.43      dbj 
   5034  1.43      dbj int
   5035  1.43      dbj main ()
   5036  1.43      dbj {
   5037   1.1       tv /* The GNU C library defines this for functions which it implements
   5038   1.1       tv     to always fail with ENOSYS.  Some functions are actually named
   5039   1.1       tv     something starting with __ and the normal name is an alias.  */
   5040   1.1       tv #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5041   1.1       tv choke me
   5042   1.1       tv #else
   5043  1.43      dbj f = $ac_func;
   5044   1.1       tv #endif
   5045   1.1       tv 
   5046   1.1       tv   ;
   5047   1.1       tv   return 0;
   5048   1.1       tv }
   5049   1.1       tv _ACEOF
   5050   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   5051  1.47      dbj if { (eval echo "$as_me:5051: \"$ac_link\"") >&5
   5052   1.1       tv   (eval $ac_link) 2>&5
   5053   1.1       tv   ac_status=$?
   5054  1.47      dbj   echo "$as_me:5054: \$? = $ac_status" >&5
   5055   1.1       tv   (exit $ac_status); } &&
   5056   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   5057  1.47      dbj   { (eval echo "$as_me:5057: \"$ac_try\"") >&5
   5058   1.1       tv   (eval $ac_try) 2>&5
   5059   1.1       tv   ac_status=$?
   5060  1.47      dbj   echo "$as_me:5060: \$? = $ac_status" >&5
   5061   1.1       tv   (exit $ac_status); }; }; then
   5062   1.1       tv   eval "$as_ac_var=yes"
   5063   1.1       tv else
   5064   1.1       tv   echo "$as_me: failed program was:" >&5
   5065  1.43      dbj cat conftest.$ac_ext >&5
   5066   1.1       tv eval "$as_ac_var=no"
   5067   1.1       tv fi
   5068   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5069   1.1       tv fi
   5070  1.47      dbj echo "$as_me:5070: result: `eval echo '${'$as_ac_var'}'`" >&5
   5071   1.1       tv echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5072   1.1       tv if test `eval echo '${'$as_ac_var'}'` = yes; then
   5073  1.43      dbj   cat >>confdefs.h <<EOF
   5074   1.1       tv #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5075  1.43      dbj EOF
   5076   1.1       tv 
   5077   1.1       tv fi
   5078   1.1       tv done
   5079   1.1       tv 
   5080  1.47      dbj echo "$as_me:5080: checking whether setgroupent is declared" >&5
   5081   1.8       tv echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   5082   1.8       tv if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   5083   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5084   1.8       tv else
   5085   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   5086  1.47      dbj #line 5086 "configure"
   5087  1.43      dbj #include "confdefs.h"
   5088   1.8       tv 
   5089  1.33  thorpej #include <sys/types.h>
   5090   1.8       tv #include <grp.h>
   5091   1.8       tv #include <pwd.h>
   5092   1.8       tv 
   5093   1.8       tv int
   5094   1.8       tv main ()
   5095   1.8       tv {
   5096   1.8       tv #ifndef setgroupent
   5097   1.8       tv   char *p = (char *) setgroupent;
   5098   1.8       tv #endif
   5099   1.8       tv 
   5100   1.8       tv   ;
   5101   1.8       tv   return 0;
   5102   1.8       tv }
   5103   1.8       tv _ACEOF
   5104   1.8       tv rm -f conftest.$ac_objext
   5105  1.47      dbj if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
   5106   1.8       tv   (eval $ac_compile) 2>&5
   5107   1.8       tv   ac_status=$?
   5108  1.47      dbj   echo "$as_me:5108: \$? = $ac_status" >&5
   5109   1.8       tv   (exit $ac_status); } &&
   5110   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   5111  1.47      dbj   { (eval echo "$as_me:5111: \"$ac_try\"") >&5
   5112   1.8       tv   (eval $ac_try) 2>&5
   5113   1.8       tv   ac_status=$?
   5114  1.47      dbj   echo "$as_me:5114: \$? = $ac_status" >&5
   5115   1.8       tv   (exit $ac_status); }; }; then
   5116   1.8       tv   ac_cv_have_decl_setgroupent=yes
   5117   1.8       tv else
   5118   1.8       tv   echo "$as_me: failed program was:" >&5
   5119  1.43      dbj cat conftest.$ac_ext >&5
   5120   1.8       tv ac_cv_have_decl_setgroupent=no
   5121   1.8       tv fi
   5122   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5123   1.8       tv fi
   5124  1.47      dbj echo "$as_me:5124: result: $ac_cv_have_decl_setgroupent" >&5
   5125   1.8       tv echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   5126   1.8       tv if test $ac_cv_have_decl_setgroupent = yes; then
   5127   1.8       tv 
   5128  1.43      dbj cat >>confdefs.h <<EOF
   5129   1.8       tv #define HAVE_DECL_SETGROUPENT 1
   5130  1.43      dbj EOF
   5131   1.8       tv 
   5132   1.8       tv else
   5133  1.43      dbj   cat >>confdefs.h <<EOF
   5134   1.8       tv #define HAVE_DECL_SETGROUPENT 0
   5135  1.43      dbj EOF
   5136   1.8       tv 
   5137   1.8       tv fi
   5138  1.47      dbj echo "$as_me:5138: checking whether setpassent is declared" >&5
   5139   1.8       tv echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   5140   1.8       tv if test "${ac_cv_have_decl_setpassent+set}" = set; then
   5141   1.8       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5142   1.8       tv else
   5143   1.8       tv   cat >conftest.$ac_ext <<_ACEOF
   5144  1.47      dbj #line 5144 "configure"
   5145  1.43      dbj #include "confdefs.h"
   5146   1.8       tv 
   5147  1.33  thorpej #include <sys/types.h>
   5148   1.8       tv #include <grp.h>
   5149   1.8       tv #include <pwd.h>
   5150   1.8       tv 
   5151   1.8       tv int
   5152   1.8       tv main ()
   5153   1.8       tv {
   5154   1.8       tv #ifndef setpassent
   5155   1.8       tv   char *p = (char *) setpassent;
   5156   1.8       tv #endif
   5157   1.8       tv 
   5158   1.8       tv   ;
   5159   1.8       tv   return 0;
   5160   1.8       tv }
   5161   1.8       tv _ACEOF
   5162   1.8       tv rm -f conftest.$ac_objext
   5163  1.47      dbj if { (eval echo "$as_me:5163: \"$ac_compile\"") >&5
   5164   1.8       tv   (eval $ac_compile) 2>&5
   5165   1.8       tv   ac_status=$?
   5166  1.47      dbj   echo "$as_me:5166: \$? = $ac_status" >&5
   5167   1.8       tv   (exit $ac_status); } &&
   5168   1.8       tv          { ac_try='test -s conftest.$ac_objext'
   5169  1.47      dbj   { (eval echo "$as_me:5169: \"$ac_try\"") >&5
   5170   1.8       tv   (eval $ac_try) 2>&5
   5171   1.8       tv   ac_status=$?
   5172  1.47      dbj   echo "$as_me:5172: \$? = $ac_status" >&5
   5173   1.8       tv   (exit $ac_status); }; }; then
   5174   1.8       tv   ac_cv_have_decl_setpassent=yes
   5175   1.8       tv else
   5176   1.8       tv   echo "$as_me: failed program was:" >&5
   5177  1.43      dbj cat conftest.$ac_ext >&5
   5178   1.8       tv ac_cv_have_decl_setpassent=no
   5179   1.8       tv fi
   5180   1.8       tv rm -f conftest.$ac_objext conftest.$ac_ext
   5181   1.8       tv fi
   5182  1.47      dbj echo "$as_me:5182: result: $ac_cv_have_decl_setpassent" >&5
   5183   1.8       tv echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   5184   1.8       tv if test $ac_cv_have_decl_setpassent = yes; then
   5185   1.8       tv 
   5186  1.43      dbj cat >>confdefs.h <<EOF
   5187   1.8       tv #define HAVE_DECL_SETPASSENT 1
   5188  1.43      dbj EOF
   5189   1.8       tv 
   5190   1.8       tv else
   5191  1.43      dbj   cat >>confdefs.h <<EOF
   5192   1.8       tv #define HAVE_DECL_SETPASSENT 0
   5193  1.43      dbj EOF
   5194   1.8       tv 
   5195   1.8       tv fi
   5196   1.8       tv 
   5197   1.4       tv # regcomp() and regexec() are also names of functions in the old V8
   5198   1.4       tv # regexp package.  To avoid them, we need to find out who has regfree().
   5199   1.4       tv 
   5200  1.47      dbj echo "$as_me:5200: checking for regfree in -lregex" >&5
   5201   1.4       tv echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   5202   1.4       tv if test "${ac_cv_lib_regex_regfree+set}" = set; then
   5203   1.4       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5204   1.4       tv else
   5205   1.4       tv   ac_check_lib_save_LIBS=$LIBS
   5206   1.4       tv LIBS="-lregex  $LIBS"
   5207   1.4       tv cat >conftest.$ac_ext <<_ACEOF
   5208  1.47      dbj #line 5208 "configure"
   5209  1.43      dbj #include "confdefs.h"
   5210   1.4       tv 
   5211   1.4       tv /* Override any gcc2 internal prototype to avoid an error.  */
   5212   1.4       tv #ifdef __cplusplus
   5213   1.4       tv extern "C"
   5214   1.4       tv #endif
   5215   1.4       tv /* We use char because int might match the return type of a gcc2
   5216   1.4       tv    builtin and then its argument prototype would still apply.  */
   5217   1.4       tv char regfree ();
   5218   1.4       tv int
   5219   1.4       tv main ()
   5220   1.4       tv {
   5221   1.4       tv regfree ();
   5222   1.4       tv   ;
   5223   1.4       tv   return 0;
   5224   1.4       tv }
   5225   1.4       tv _ACEOF
   5226   1.4       tv rm -f conftest.$ac_objext conftest$ac_exeext
   5227  1.47      dbj if { (eval echo "$as_me:5227: \"$ac_link\"") >&5
   5228   1.4       tv   (eval $ac_link) 2>&5
   5229   1.4       tv   ac_status=$?
   5230  1.47      dbj   echo "$as_me:5230: \$? = $ac_status" >&5
   5231   1.4       tv   (exit $ac_status); } &&
   5232   1.4       tv          { ac_try='test -s conftest$ac_exeext'
   5233  1.47      dbj   { (eval echo "$as_me:5233: \"$ac_try\"") >&5
   5234   1.4       tv   (eval $ac_try) 2>&5
   5235   1.4       tv   ac_status=$?
   5236  1.47      dbj   echo "$as_me:5236: \$? = $ac_status" >&5
   5237   1.4       tv   (exit $ac_status); }; }; then
   5238   1.4       tv   ac_cv_lib_regex_regfree=yes
   5239   1.4       tv else
   5240   1.4       tv   echo "$as_me: failed program was:" >&5
   5241  1.43      dbj cat conftest.$ac_ext >&5
   5242   1.4       tv ac_cv_lib_regex_regfree=no
   5243   1.4       tv fi
   5244   1.4       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5245   1.4       tv LIBS=$ac_check_lib_save_LIBS
   5246   1.4       tv fi
   5247  1.47      dbj echo "$as_me:5247: result: $ac_cv_lib_regex_regfree" >&5
   5248   1.4       tv echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   5249   1.4       tv if test $ac_cv_lib_regex_regfree = yes; then
   5250  1.43      dbj   cat >>confdefs.h <<EOF
   5251   1.4       tv #define HAVE_LIBREGEX 1
   5252  1.43      dbj EOF
   5253   1.4       tv 
   5254   1.4       tv   LIBS="-lregex $LIBS"
   5255   1.4       tv 
   5256   1.4       tv fi
   5257   1.4       tv 
   5258  1.47      dbj echo "$as_me:5258: checking for library containing regfree" >&5
   5259   1.4       tv echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   5260   1.4       tv if test "${ac_cv_search_regfree+set}" = set; then
   5261   1.1       tv   echo $ECHO_N "(cached) $ECHO_C" >&6
   5262   1.1       tv else
   5263   1.1       tv   ac_func_search_save_LIBS=$LIBS
   5264   1.4       tv ac_cv_search_regfree=no
   5265   1.1       tv cat >conftest.$ac_ext <<_ACEOF
   5266  1.47      dbj #line 5266 "configure"
   5267  1.43      dbj #include "confdefs.h"
   5268   1.1       tv 
   5269   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   5270   1.1       tv #ifdef __cplusplus
   5271   1.1       tv extern "C"
   5272   1.1       tv #endif
   5273   1.1       tv /* We use char because int might match the return type of a gcc2
   5274   1.1       tv    builtin and then its argument prototype would still apply.  */
   5275   1.4       tv char regfree ();
   5276   1.1       tv int
   5277   1.1       tv main ()
   5278   1.1       tv {
   5279   1.4       tv regfree ();
   5280   1.1       tv   ;
   5281   1.1       tv   return 0;
   5282   1.1       tv }
   5283   1.1       tv _ACEOF
   5284   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   5285  1.47      dbj if { (eval echo "$as_me:5285: \"$ac_link\"") >&5
   5286   1.1       tv   (eval $ac_link) 2>&5
   5287   1.1       tv   ac_status=$?
   5288  1.47      dbj   echo "$as_me:5288: \$? = $ac_status" >&5
   5289   1.1       tv   (exit $ac_status); } &&
   5290   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   5291  1.47      dbj   { (eval echo "$as_me:5291: \"$ac_try\"") >&5
   5292   1.1       tv   (eval $ac_try) 2>&5
   5293   1.1       tv   ac_status=$?
   5294  1.47      dbj   echo "$as_me:5294: \$? = $ac_status" >&5
   5295   1.1       tv   (exit $ac_status); }; }; then
   5296   1.4       tv   ac_cv_search_regfree="none required"
   5297   1.1       tv else
   5298   1.1       tv   echo "$as_me: failed program was:" >&5
   5299  1.43      dbj cat conftest.$ac_ext >&5
   5300   1.1       tv fi
   5301   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5302   1.4       tv if test "$ac_cv_search_regfree" = no; then
   5303   1.4       tv   for ac_lib in rx posix; do
   5304   1.1       tv     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5305   1.1       tv     cat >conftest.$ac_ext <<_ACEOF
   5306  1.47      dbj #line 5306 "configure"
   5307  1.43      dbj #include "confdefs.h"
   5308   1.1       tv 
   5309   1.1       tv /* Override any gcc2 internal prototype to avoid an error.  */
   5310   1.1       tv #ifdef __cplusplus
   5311   1.1       tv extern "C"
   5312   1.1       tv #endif
   5313   1.1       tv /* We use char because int might match the return type of a gcc2
   5314   1.1       tv    builtin and then its argument prototype would still apply.  */
   5315   1.4       tv char regfree ();
   5316   1.1       tv int
   5317   1.1       tv main ()
   5318   1.1       tv {
   5319   1.4       tv regfree ();
   5320   1.1       tv   ;
   5321   1.1       tv   return 0;
   5322   1.1       tv }
   5323   1.1       tv _ACEOF
   5324   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext
   5325  1.47      dbj if { (eval echo "$as_me:5325: \"$ac_link\"") >&5
   5326   1.1       tv   (eval $ac_link) 2>&5
   5327   1.1       tv   ac_status=$?
   5328  1.47      dbj   echo "$as_me:5328: \$? = $ac_status" >&5
   5329   1.1       tv   (exit $ac_status); } &&
   5330   1.1       tv          { ac_try='test -s conftest$ac_exeext'
   5331  1.47      dbj   { (eval echo "$as_me:5331: \"$ac_try\"") >&5
   5332   1.1       tv   (eval $ac_try) 2>&5
   5333   1.1       tv   ac_status=$?
   5334  1.47      dbj   echo "$as_me:5334: \$? = $ac_status" >&5
   5335   1.1       tv   (exit $ac_status); }; }; then
   5336   1.4       tv   ac_cv_search_regfree="-l$ac_lib"
   5337   1.1       tv break
   5338   1.1       tv else
   5339   1.1       tv   echo "$as_me: failed program was:" >&5
   5340  1.43      dbj cat conftest.$ac_ext >&5
   5341   1.1       tv fi
   5342   1.1       tv rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5343   1.1       tv   done
   5344   1.1       tv fi
   5345   1.1       tv LIBS=$ac_func_search_save_LIBS
   5346   1.1       tv fi
   5347  1.47      dbj echo "$as_me:5347: result: $ac_cv_search_regfree" >&5
   5348   1.4       tv echo "${ECHO_T}$ac_cv_search_regfree" >&6
   5349   1.4       tv if test "$ac_cv_search_regfree" != no; then
   5350   1.4       tv   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   5351   1.1       tv 
   5352   1.1       tv fi
   5353   1.1       tv 
   5354   1.1       tv cat >confcache <<\_ACEOF
   5355   1.1       tv # This file is a shell script that caches the results of configure
   5356   1.1       tv # tests run on this system so they can be shared between configure
   5357   1.1       tv # scripts and configure runs, see configure's option --config-cache.
   5358   1.1       tv # It is not useful on other systems.  If it contains results you don't
   5359   1.1       tv # want to keep, you may remove or edit it.
   5360   1.1       tv #
   5361   1.1       tv # config.status only pays attention to the cache file if you give it
   5362   1.1       tv # the --recheck option to rerun configure.
   5363   1.1       tv #
   5364  1.43      dbj # `ac_cv_env_foo' variables (set or unset) will be overriden when
   5365   1.1       tv # loading this file, other *unset* `ac_cv_foo' will be assigned the
   5366   1.1       tv # following values.
   5367   1.1       tv 
   5368   1.1       tv _ACEOF
   5369   1.1       tv 
   5370   1.1       tv # The following way of writing the cache mishandles newlines in values,
   5371   1.1       tv # but we know of no workaround that is simple, portable, and efficient.
   5372   1.1       tv # So, don't put newlines in cache variables' values.
   5373   1.1       tv # Ultrix sh set writes to stderr and can't be redirected directly,
   5374   1.1       tv # and sets the high bit in the cache file unless we assign to the vars.
   5375   1.1       tv {
   5376   1.1       tv   (set) 2>&1 |
   5377   1.1       tv     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   5378   1.1       tv     *ac_space=\ *)
   5379   1.1       tv       # `set' does not quote correctly, so add quotes (double-quote
   5380   1.1       tv       # substitution turns \\\\ into \\, and sed turns \\ into \).
   5381   1.1       tv       sed -n \
   5382   1.1       tv         "s/'/'\\\\''/g;
   5383   1.1       tv     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   5384   1.1       tv       ;;
   5385   1.1       tv     *)
   5386   1.1       tv       # `set' quotes correctly as required by POSIX, so do not add quotes.
   5387   1.1       tv       sed -n \
   5388   1.1       tv         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   5389   1.1       tv       ;;
   5390   1.1       tv     esac;
   5391   1.1       tv } |
   5392   1.1       tv   sed '
   5393   1.1       tv      t clear
   5394   1.1       tv      : clear
   5395   1.1       tv      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   5396   1.1       tv      t end
   5397   1.1       tv      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   5398   1.1       tv      : end' >>confcache
   5399  1.43      dbj if cmp -s $cache_file confcache; then :; else
   5400   1.1       tv   if test -w $cache_file; then
   5401   1.1       tv     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   5402   1.1       tv     cat confcache >$cache_file
   5403   1.1       tv   else
   5404   1.1       tv     echo "not updating unwritable cache $cache_file"
   5405   1.1       tv   fi
   5406   1.1       tv fi
   5407   1.1       tv rm -f confcache
   5408   1.1       tv 
   5409   1.1       tv test "x$prefix" = xNONE && prefix=$ac_default_prefix
   5410   1.1       tv # Let make expand exec_prefix.
   5411   1.1       tv test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   5412   1.1       tv 
   5413   1.1       tv # VPATH may cause trouble with some makes, so we remove $(srcdir),
   5414   1.1       tv # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   5415   1.1       tv # trailing colons and then remove the whole line if VPATH becomes empty
   5416   1.1       tv # (actually we leave an empty line to preserve line numbers).
   5417   1.1       tv if test "x$srcdir" = x.; then
   5418   1.1       tv   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   5419   1.1       tv s/:*\$(srcdir):*/:/;
   5420   1.1       tv s/:*\${srcdir}:*/:/;
   5421   1.1       tv s/:*@srcdir@:*/:/;
   5422   1.1       tv s/^\([^=]*=[ 	]*\):*/\1/;
   5423   1.1       tv s/:*$//;
   5424   1.1       tv s/^[^=]*=[ 	]*$//;
   5425   1.1       tv }'
   5426   1.1       tv fi
   5427   1.1       tv 
   5428   1.1       tv DEFS=-DHAVE_CONFIG_H
   5429   1.1       tv 
   5430   1.1       tv : ${CONFIG_STATUS=./config.status}
   5431   1.1       tv ac_clean_files_save=$ac_clean_files
   5432   1.1       tv ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   5433  1.47      dbj { echo "$as_me:5433: creating $CONFIG_STATUS" >&5
   5434   1.1       tv echo "$as_me: creating $CONFIG_STATUS" >&6;}
   5435   1.1       tv cat >$CONFIG_STATUS <<_ACEOF
   5436   1.1       tv #! $SHELL
   5437  1.43      dbj # Generated automatically by configure.
   5438   1.1       tv # Run this file to recreate the current configuration.
   5439   1.1       tv # Compiler output produced by configure, useful for debugging
   5440   1.1       tv # configure, is in config.log if it exists.
   5441   1.1       tv 
   5442   1.1       tv debug=false
   5443   1.1       tv SHELL=\${CONFIG_SHELL-$SHELL}
   5444  1.43      dbj ac_cs_invocation="\$0 \$@"
   5445  1.43      dbj 
   5446   1.1       tv _ACEOF
   5447   1.1       tv 
   5448   1.1       tv cat >>$CONFIG_STATUS <<\_ACEOF
   5449   1.1       tv # Be Bourne compatible
   5450   1.1       tv if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   5451   1.1       tv   emulate sh
   5452   1.1       tv   NULLCMD=:
   5453   1.1       tv elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   5454   1.1       tv   set -o posix
   5455   1.1       tv fi
   5456   1.1       tv 
   5457   1.1       tv # Name of the executable.
   5458  1.43      dbj as_me=`echo "$0" |sed 's,.*[\\/],,'`
   5459   1.1       tv 
   5460   1.1       tv if expr a : '\(a\)' >/dev/null 2>&1; then
   5461   1.1       tv   as_expr=expr
   5462   1.1       tv else
   5463   1.1       tv   as_expr=false
   5464   1.1       tv fi
   5465   1.1       tv 
   5466   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
   5467   1.1       tv echo >conf$$.file
   5468   1.1       tv if ln -s conf$$.file conf$$ 2>/dev/null; then
   5469   1.1       tv   # We could just check for DJGPP; but this test a) works b) is more generic
   5470   1.1       tv   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   5471   1.1       tv   if test -f conf$$.exe; then
   5472   1.1       tv     # Don't use ln at all; we don't have any links
   5473   1.1       tv     as_ln_s='cp -p'
   5474   1.1       tv   else
   5475   1.1       tv     as_ln_s='ln -s'
   5476   1.1       tv   fi
   5477   1.1       tv elif ln conf$$.file conf$$ 2>/dev/null; then
   5478   1.1       tv   as_ln_s=ln
   5479   1.1       tv else
   5480   1.1       tv   as_ln_s='cp -p'
   5481   1.1       tv fi
   5482   1.1       tv rm -f conf$$ conf$$.exe conf$$.file
   5483   1.1       tv 
   5484  1.43      dbj as_executable_p="test -f"
   5485  1.43      dbj 
   5486  1.43      dbj # Support unset when possible.
   5487  1.43      dbj if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   5488  1.43      dbj   as_unset=unset
   5489  1.39    fredb else
   5490  1.43      dbj   as_unset=false
   5491  1.39    fredb fi
   5492  1.39    fredb 
   5493  1.43      dbj # NLS nuisances.
   5494  1.43      dbj $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   5495  1.43      dbj $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   5496  1.43      dbj $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   5497  1.43      dbj $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   5498  1.43      dbj $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   5499  1.43      dbj $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   5500  1.43      dbj $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   5501  1.43      dbj $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   5502   1.1       tv 
   5503   1.1       tv # IFS
   5504   1.1       tv # We need space, tab and new line, in precisely that order.
   5505   1.1       tv as_nl='
   5506   1.1       tv '
   5507   1.1       tv IFS=" 	$as_nl"
   5508   1.1       tv 
   5509   1.1       tv # CDPATH.
   5510  1.43      dbj $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   5511   1.1       tv 
   5512   1.1       tv exec 6>&1
   5513   1.1       tv 
   5514   1.1       tv _ACEOF
   5515   1.1       tv 
   5516   1.1       tv # Files that config.status was made for.
   5517   1.1       tv if test -n "$ac_config_files"; then
   5518   1.1       tv   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   5519   1.1       tv fi
   5520   1.1       tv 
   5521   1.1       tv if test -n "$ac_config_headers"; then
   5522   1.1       tv   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   5523   1.1       tv fi
   5524   1.1       tv 
   5525   1.1       tv if test -n "$ac_config_links"; then
   5526   1.1       tv   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   5527   1.1       tv fi
   5528   1.1       tv 
   5529   1.1       tv if test -n "$ac_config_commands"; then
   5530   1.1       tv   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   5531   1.1       tv fi
   5532   1.1       tv 
   5533  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5534   1.1       tv 
   5535   1.1       tv ac_cs_usage="\
   5536   1.1       tv \`$as_me' instantiates files from templates according to the
   5537   1.1       tv current configuration.
   5538   1.1       tv 
   5539   1.1       tv Usage: $0 [OPTIONS] [FILE]...
   5540   1.1       tv 
   5541   1.1       tv   -h, --help       print this help, then exit
   5542   1.1       tv   -V, --version    print version number, then exit
   5543   1.1       tv   -d, --debug      don't remove temporary files
   5544   1.1       tv       --recheck    update $as_me by reconfiguring in the same conditions
   5545   1.1       tv   --file=FILE[:TEMPLATE]
   5546   1.1       tv                    instantiate the configuration file FILE
   5547   1.1       tv   --header=FILE[:TEMPLATE]
   5548   1.1       tv                    instantiate the configuration header FILE
   5549   1.1       tv 
   5550   1.1       tv Configuration files:
   5551   1.1       tv $config_files
   5552   1.1       tv 
   5553   1.1       tv Configuration headers:
   5554   1.1       tv $config_headers
   5555   1.1       tv 
   5556   1.1       tv Report bugs to <bug-autoconf@gnu.org>."
   5557  1.43      dbj EOF
   5558   1.1       tv 
   5559  1.43      dbj cat >>$CONFIG_STATUS <<EOF
   5560   1.1       tv ac_cs_version="\\
   5561   1.1       tv libnbcompat config.status noversion
   5562  1.43      dbj configured by $0, generated by GNU Autoconf 2.52,
   5563   1.1       tv   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   5564   1.1       tv 
   5565   1.1       tv Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   5566   1.1       tv Free Software Foundation, Inc.
   5567   1.1       tv This config.status script is free software; the Free Software Foundation
   5568   1.1       tv gives unlimited permission to copy, distribute and modify it."
   5569   1.1       tv srcdir=$srcdir
   5570  1.43      dbj EOF
   5571   1.1       tv 
   5572  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5573   1.1       tv # If no file are specified by the user, then we need to provide default
   5574   1.1       tv # value.  By we need to know if files were specified by the user.
   5575   1.1       tv ac_need_defaults=:
   5576   1.1       tv while test $# != 0
   5577   1.1       tv do
   5578   1.1       tv   case $1 in
   5579   1.1       tv   --*=*)
   5580   1.1       tv     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   5581   1.1       tv     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   5582  1.43      dbj     shift
   5583  1.43      dbj     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
   5584  1.43      dbj     shift
   5585   1.1       tv     ;;
   5586  1.43      dbj   -*);;
   5587   1.1       tv   *) # This is not an option, so the user has probably given explicit
   5588   1.1       tv      # arguments.
   5589   1.1       tv      ac_need_defaults=false;;
   5590   1.1       tv   esac
   5591   1.1       tv 
   5592  1.43      dbj   case $1 in
   5593   1.1       tv   # Handling of the options.
   5594  1.43      dbj EOF
   5595  1.43      dbj cat >>$CONFIG_STATUS <<EOF
   5596   1.1       tv   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   5597  1.43      dbj     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
   5598  1.43      dbj     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
   5599  1.43      dbj EOF
   5600  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5601   1.1       tv   --version | --vers* | -V )
   5602   1.1       tv     echo "$ac_cs_version"; exit 0 ;;
   5603   1.1       tv   --he | --h)
   5604   1.1       tv     # Conflict between --help and --header
   5605  1.47      dbj     { { echo "$as_me:5605: error: ambiguous option: $1
   5606   1.1       tv Try \`$0 --help' for more information." >&5
   5607   1.1       tv echo "$as_me: error: ambiguous option: $1
   5608   1.1       tv Try \`$0 --help' for more information." >&2;}
   5609   1.1       tv    { (exit 1); exit 1; }; };;
   5610   1.1       tv   --help | --hel | -h )
   5611   1.1       tv     echo "$ac_cs_usage"; exit 0 ;;
   5612   1.1       tv   --debug | --d* | -d )
   5613   1.1       tv     debug=: ;;
   5614   1.1       tv   --file | --fil | --fi | --f )
   5615  1.43      dbj     shift
   5616  1.43      dbj     CONFIG_FILES="$CONFIG_FILES $1"
   5617   1.1       tv     ac_need_defaults=false;;
   5618   1.1       tv   --header | --heade | --head | --hea )
   5619  1.43      dbj     shift
   5620  1.43      dbj     CONFIG_HEADERS="$CONFIG_HEADERS $1"
   5621   1.1       tv     ac_need_defaults=false;;
   5622   1.1       tv 
   5623   1.1       tv   # This is an error.
   5624  1.47      dbj   -*) { { echo "$as_me:5624: error: unrecognized option: $1
   5625   1.1       tv Try \`$0 --help' for more information." >&5
   5626   1.1       tv echo "$as_me: error: unrecognized option: $1
   5627   1.1       tv Try \`$0 --help' for more information." >&2;}
   5628   1.1       tv    { (exit 1); exit 1; }; } ;;
   5629   1.1       tv 
   5630   1.1       tv   *) ac_config_targets="$ac_config_targets $1" ;;
   5631   1.1       tv 
   5632   1.1       tv   esac
   5633   1.1       tv   shift
   5634   1.1       tv done
   5635   1.1       tv 
   5636  1.43      dbj exec 5>>config.log
   5637  1.43      dbj cat >&5 << _ACEOF
   5638   1.1       tv 
   5639  1.43      dbj ## ----------------------- ##
   5640  1.43      dbj ## Running config.status.  ##
   5641  1.43      dbj ## ----------------------- ##
   5642   1.1       tv 
   5643  1.43      dbj This file was extended by $as_me (libnbcompat noversion) 2.52, executed with
   5644  1.43      dbj   CONFIG_FILES    = $CONFIG_FILES
   5645  1.43      dbj   CONFIG_HEADERS  = $CONFIG_HEADERS
   5646  1.43      dbj   CONFIG_LINKS    = $CONFIG_LINKS
   5647  1.43      dbj   CONFIG_COMMANDS = $CONFIG_COMMANDS
   5648  1.43      dbj   > $ac_cs_invocation
   5649  1.43      dbj on `(hostname || uname -n) 2>/dev/null | sed 1q`
   5650   1.1       tv 
   5651   1.1       tv _ACEOF
   5652  1.43      dbj EOF
   5653   1.1       tv 
   5654  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5655   1.1       tv for ac_config_target in $ac_config_targets
   5656   1.1       tv do
   5657   1.1       tv   case "$ac_config_target" in
   5658   1.1       tv   # Handling of arguments.
   5659   1.1       tv   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   5660  1.42    lukem   "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   5661  1.47      dbj   *) { { echo "$as_me:5661: error: invalid argument: $ac_config_target" >&5
   5662   1.1       tv echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   5663   1.1       tv    { (exit 1); exit 1; }; };;
   5664   1.1       tv   esac
   5665   1.1       tv done
   5666   1.1       tv 
   5667   1.1       tv # If the user did not use the arguments to specify the items to instantiate,
   5668   1.1       tv # then the envvar interface is used.  Set only those that are not.
   5669   1.1       tv # We use the long form for the default assignment because of an extremely
   5670   1.1       tv # bizarre bug on SunOS 4.1.3.
   5671   1.1       tv if $ac_need_defaults; then
   5672   1.1       tv   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   5673   1.1       tv   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   5674   1.1       tv fi
   5675   1.1       tv 
   5676   1.1       tv # Create a temporary directory, and hook for its removal unless debugging.
   5677   1.1       tv $debug ||
   5678   1.1       tv {
   5679   1.1       tv   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   5680   1.1       tv   trap '{ (exit 1); exit 1; }' 1 2 13 15
   5681   1.1       tv }
   5682   1.1       tv 
   5683   1.1       tv # Create a (secure) tmp directory for tmp files.
   5684  1.43      dbj : ${TMPDIR=/tmp}
   5685   1.1       tv {
   5686  1.43      dbj   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
   5687   1.1       tv   test -n "$tmp" && test -d "$tmp"
   5688   1.1       tv }  ||
   5689   1.1       tv {
   5690  1.43      dbj   tmp=$TMPDIR/cs$$-$RANDOM
   5691   1.1       tv   (umask 077 && mkdir $tmp)
   5692   1.1       tv } ||
   5693   1.1       tv {
   5694  1.43      dbj    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   5695   1.1       tv    { (exit 1); exit 1; }
   5696   1.1       tv }
   5697   1.1       tv 
   5698  1.43      dbj EOF
   5699   1.1       tv 
   5700  1.43      dbj cat >>$CONFIG_STATUS <<EOF
   5701   1.1       tv 
   5702   1.1       tv #
   5703   1.1       tv # CONFIG_FILES section.
   5704   1.1       tv #
   5705   1.1       tv 
   5706   1.1       tv # No need to generate the scripts if there are no CONFIG_FILES.
   5707   1.1       tv # This happens for instance when ./config.status config.h
   5708   1.1       tv if test -n "\$CONFIG_FILES"; then
   5709   1.1       tv   # Protect against being on the right side of a sed subst in config.status.
   5710   1.1       tv   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   5711   1.1       tv    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   5712   1.1       tv s,@SHELL@,$SHELL,;t t
   5713   1.1       tv s,@exec_prefix@,$exec_prefix,;t t
   5714   1.1       tv s,@prefix@,$prefix,;t t
   5715   1.1       tv s,@program_transform_name@,$program_transform_name,;t t
   5716   1.1       tv s,@bindir@,$bindir,;t t
   5717   1.1       tv s,@sbindir@,$sbindir,;t t
   5718   1.1       tv s,@libexecdir@,$libexecdir,;t t
   5719   1.1       tv s,@datadir@,$datadir,;t t
   5720   1.1       tv s,@sysconfdir@,$sysconfdir,;t t
   5721   1.1       tv s,@sharedstatedir@,$sharedstatedir,;t t
   5722   1.1       tv s,@localstatedir@,$localstatedir,;t t
   5723   1.1       tv s,@libdir@,$libdir,;t t
   5724   1.1       tv s,@includedir@,$includedir,;t t
   5725   1.1       tv s,@oldincludedir@,$oldincludedir,;t t
   5726   1.1       tv s,@infodir@,$infodir,;t t
   5727   1.1       tv s,@mandir@,$mandir,;t t
   5728  1.43      dbj s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   5729  1.43      dbj s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   5730  1.43      dbj s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   5731  1.43      dbj s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   5732  1.43      dbj s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   5733   1.1       tv s,@build_alias@,$build_alias,;t t
   5734   1.1       tv s,@host_alias@,$host_alias,;t t
   5735   1.1       tv s,@target_alias@,$target_alias,;t t
   5736   1.1       tv s,@ECHO_C@,$ECHO_C,;t t
   5737   1.1       tv s,@ECHO_N@,$ECHO_N,;t t
   5738   1.1       tv s,@ECHO_T@,$ECHO_T,;t t
   5739  1.43      dbj s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   5740  1.43      dbj s,@DEFS@,$DEFS,;t t
   5741   1.1       tv s,@LIBS@,$LIBS,;t t
   5742   1.1       tv s,@CC@,$CC,;t t
   5743   1.1       tv s,@CFLAGS@,$CFLAGS,;t t
   5744   1.1       tv s,@LDFLAGS@,$LDFLAGS,;t t
   5745   1.1       tv s,@CPPFLAGS@,$CPPFLAGS,;t t
   5746   1.1       tv s,@ac_ct_CC@,$ac_ct_CC,;t t
   5747   1.1       tv s,@EXEEXT@,$EXEEXT,;t t
   5748   1.1       tv s,@OBJEXT@,$OBJEXT,;t t
   5749   1.1       tv s,@CPP@,$CPP,;t t
   5750  1.45      jmc s,@BSHELL@,$BSHELL,;t t
   5751  1.19    bjh21 s,@ALLOCA@,$ALLOCA,;t t
   5752   1.1       tv CEOF
   5753   1.1       tv 
   5754  1.43      dbj EOF
   5755   1.1       tv 
   5756  1.43      dbj   cat >>$CONFIG_STATUS <<\EOF
   5757   1.1       tv   # Split the substitutions into bite-sized pieces for seds with
   5758   1.1       tv   # small command number limits, like on Digital OSF/1 and HP-UX.
   5759   1.1       tv   ac_max_sed_lines=48
   5760   1.1       tv   ac_sed_frag=1 # Number of current file.
   5761   1.1       tv   ac_beg=1 # First line for current file.
   5762   1.1       tv   ac_end=$ac_max_sed_lines # Line after last line for current file.
   5763   1.1       tv   ac_more_lines=:
   5764   1.1       tv   ac_sed_cmds=
   5765   1.1       tv   while $ac_more_lines; do
   5766   1.1       tv     if test $ac_beg -gt 1; then
   5767   1.1       tv       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   5768   1.1       tv     else
   5769   1.1       tv       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   5770   1.1       tv     fi
   5771   1.1       tv     if test ! -s $tmp/subs.frag; then
   5772   1.1       tv       ac_more_lines=false
   5773   1.1       tv     else
   5774   1.1       tv       # The purpose of the label and of the branching condition is to
   5775   1.1       tv       # speed up the sed processing (if there are no `@' at all, there
   5776   1.1       tv       # is no need to browse any of the substitutions).
   5777   1.1       tv       # These are the two extra sed commands mentioned above.
   5778   1.1       tv       (echo ':t
   5779   1.1       tv   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   5780   1.1       tv       if test -z "$ac_sed_cmds"; then
   5781   1.1       tv   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   5782   1.1       tv       else
   5783   1.1       tv   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   5784   1.1       tv       fi
   5785   1.1       tv       ac_sed_frag=`expr $ac_sed_frag + 1`
   5786   1.1       tv       ac_beg=$ac_end
   5787   1.1       tv       ac_end=`expr $ac_end + $ac_max_sed_lines`
   5788   1.1       tv     fi
   5789   1.1       tv   done
   5790   1.1       tv   if test -z "$ac_sed_cmds"; then
   5791   1.1       tv     ac_sed_cmds=cat
   5792   1.1       tv   fi
   5793   1.1       tv fi # test -n "$CONFIG_FILES"
   5794   1.1       tv 
   5795  1.43      dbj EOF
   5796  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5797   1.1       tv for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   5798   1.1       tv   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   5799   1.1       tv   case $ac_file in
   5800   1.1       tv   - | *:- | *:-:* ) # input from stdin
   5801   1.1       tv         cat >$tmp/stdin
   5802   1.1       tv         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   5803   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   5804   1.1       tv   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   5805   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   5806   1.1       tv   * )   ac_file_in=$ac_file.in ;;
   5807   1.1       tv   esac
   5808   1.1       tv 
   5809   1.1       tv   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   5810  1.43      dbj   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5811   1.1       tv          X"$ac_file" : 'X\(//\)[^/]' \| \
   5812   1.1       tv          X"$ac_file" : 'X\(//\)$' \| \
   5813   1.1       tv          X"$ac_file" : 'X\(/\)' \| \
   5814   1.1       tv          .     : '\(.\)' 2>/dev/null ||
   5815   1.1       tv echo X"$ac_file" |
   5816   1.1       tv     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   5817   1.1       tv   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   5818   1.1       tv   	  /^X\(\/\/\)$/{ s//\1/; q; }
   5819   1.1       tv   	  /^X\(\/\).*/{ s//\1/; q; }
   5820   1.1       tv   	  s/.*/./; q'`
   5821  1.43      dbj   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   5822  1.43      dbj     { case "$ac_dir" in
   5823  1.43      dbj   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   5824  1.43      dbj   *)                      as_incr_dir=.;;
   5825   1.1       tv esac
   5826  1.43      dbj as_dummy="$ac_dir"
   5827  1.43      dbj for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   5828  1.43      dbj   case $as_mkdir_dir in
   5829  1.43      dbj     # Skip DOS drivespec
   5830  1.43      dbj     ?:) as_incr_dir=$as_mkdir_dir ;;
   5831  1.43      dbj     *)
   5832  1.43      dbj       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   5833  1.43      dbj       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   5834  1.43      dbj     ;;
   5835  1.43      dbj   esac
   5836  1.43      dbj done; }
   5837   1.1       tv 
   5838  1.43      dbj     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
   5839  1.43      dbj     # A "../" for each directory in $ac_dir_suffix.
   5840  1.43      dbj     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   5841  1.43      dbj   else
   5842  1.43      dbj     ac_dir_suffix= ac_dots=
   5843  1.43      dbj   fi
   5844   1.1       tv 
   5845  1.43      dbj   case $srcdir in
   5846  1.43      dbj   .)  ac_srcdir=.
   5847  1.43      dbj       if test -z "$ac_dots"; then
   5848  1.43      dbj          ac_top_srcdir=.
   5849  1.43      dbj       else
   5850  1.43      dbj          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
   5851  1.43      dbj       fi ;;
   5852  1.43      dbj   [\\/]* | ?:[\\/]* )
   5853  1.43      dbj       ac_srcdir=$srcdir$ac_dir_suffix;
   5854  1.43      dbj       ac_top_srcdir=$srcdir ;;
   5855  1.43      dbj   *) # Relative path.
   5856  1.43      dbj     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
   5857  1.43      dbj     ac_top_srcdir=$ac_dots$srcdir ;;
   5858  1.43      dbj   esac
   5859   1.1       tv 
   5860   1.1       tv   if test x"$ac_file" != x-; then
   5861  1.47      dbj     { echo "$as_me:5861: creating $ac_file" >&5
   5862   1.1       tv echo "$as_me: creating $ac_file" >&6;}
   5863   1.1       tv     rm -f "$ac_file"
   5864   1.1       tv   fi
   5865   1.1       tv   # Let's still pretend it is `configure' which instantiates (i.e., don't
   5866   1.1       tv   # use $as_me), people would be surprised to read:
   5867  1.43      dbj   #    /* config.h.  Generated automatically by config.status.  */
   5868  1.43      dbj   configure_input="Generated automatically from `echo $ac_file_in |
   5869  1.43      dbj                                                  sed 's,.*/,,'` by configure."
   5870   1.1       tv 
   5871   1.1       tv   # First look for the input files in the build tree, otherwise in the
   5872   1.1       tv   # src tree.
   5873   1.1       tv   ac_file_inputs=`IFS=:
   5874   1.1       tv     for f in $ac_file_in; do
   5875   1.1       tv       case $f in
   5876   1.1       tv       -) echo $tmp/stdin ;;
   5877   1.1       tv       [\\/$]*)
   5878   1.1       tv          # Absolute (can't be DOS-style, as IFS=:)
   5879  1.47      dbj          test -f "$f" || { { echo "$as_me:5879: error: cannot find input file: $f" >&5
   5880   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   5881   1.1       tv    { (exit 1); exit 1; }; }
   5882   1.1       tv          echo $f;;
   5883   1.1       tv       *) # Relative
   5884   1.1       tv          if test -f "$f"; then
   5885   1.1       tv            # Build tree
   5886   1.1       tv            echo $f
   5887   1.1       tv          elif test -f "$srcdir/$f"; then
   5888   1.1       tv            # Source tree
   5889   1.1       tv            echo $srcdir/$f
   5890   1.1       tv          else
   5891   1.1       tv            # /dev/null tree
   5892  1.47      dbj            { { echo "$as_me:5892: error: cannot find input file: $f" >&5
   5893   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   5894   1.1       tv    { (exit 1); exit 1; }; }
   5895   1.1       tv          fi;;
   5896   1.1       tv       esac
   5897   1.1       tv     done` || { (exit 1); exit 1; }
   5898  1.43      dbj EOF
   5899  1.43      dbj cat >>$CONFIG_STATUS <<EOF
   5900   1.1       tv   sed "$ac_vpsub
   5901   1.1       tv $extrasub
   5902  1.43      dbj EOF
   5903  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5904   1.1       tv :t
   5905   1.1       tv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   5906   1.1       tv s,@configure_input@,$configure_input,;t t
   5907   1.1       tv s,@srcdir@,$ac_srcdir,;t t
   5908   1.1       tv s,@top_srcdir@,$ac_top_srcdir,;t t
   5909   1.1       tv " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   5910   1.1       tv   rm -f $tmp/stdin
   5911   1.1       tv   if test x"$ac_file" != x-; then
   5912   1.1       tv     mv $tmp/out $ac_file
   5913   1.1       tv   else
   5914   1.1       tv     cat $tmp/out
   5915   1.1       tv     rm -f $tmp/out
   5916   1.1       tv   fi
   5917   1.1       tv 
   5918   1.1       tv done
   5919  1.43      dbj EOF
   5920  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   5921   1.1       tv 
   5922   1.1       tv #
   5923   1.1       tv # CONFIG_HEADER section.
   5924   1.1       tv #
   5925   1.1       tv 
   5926   1.1       tv # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   5927   1.1       tv # NAME is the cpp macro being defined and VALUE is the value it is being given.
   5928   1.1       tv #
   5929   1.1       tv # ac_d sets the value in "#define NAME VALUE" lines.
   5930   1.1       tv ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
   5931   1.1       tv ac_dB='[ 	].*$,\1#\2'
   5932   1.1       tv ac_dC=' '
   5933   1.1       tv ac_dD=',;t'
   5934   1.1       tv # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   5935   1.1       tv ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   5936   1.1       tv ac_uB='$,\1#\2define\3'
   5937   1.1       tv ac_uC=' '
   5938   1.1       tv ac_uD=',;t'
   5939   1.1       tv 
   5940   1.1       tv for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   5941   1.1       tv   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   5942   1.1       tv   case $ac_file in
   5943   1.1       tv   - | *:- | *:-:* ) # input from stdin
   5944   1.1       tv         cat >$tmp/stdin
   5945   1.1       tv         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   5946   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   5947   1.1       tv   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   5948   1.1       tv         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   5949   1.1       tv   * )   ac_file_in=$ac_file.in ;;
   5950   1.1       tv   esac
   5951   1.1       tv 
   5952  1.47      dbj   test x"$ac_file" != x- && { echo "$as_me:5952: creating $ac_file" >&5
   5953   1.1       tv echo "$as_me: creating $ac_file" >&6;}
   5954   1.1       tv 
   5955   1.1       tv   # First look for the input files in the build tree, otherwise in the
   5956   1.1       tv   # src tree.
   5957   1.1       tv   ac_file_inputs=`IFS=:
   5958   1.1       tv     for f in $ac_file_in; do
   5959   1.1       tv       case $f in
   5960   1.1       tv       -) echo $tmp/stdin ;;
   5961   1.1       tv       [\\/$]*)
   5962   1.1       tv          # Absolute (can't be DOS-style, as IFS=:)
   5963  1.47      dbj          test -f "$f" || { { echo "$as_me:5963: error: cannot find input file: $f" >&5
   5964   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   5965   1.1       tv    { (exit 1); exit 1; }; }
   5966   1.1       tv          echo $f;;
   5967   1.1       tv       *) # Relative
   5968   1.1       tv          if test -f "$f"; then
   5969   1.1       tv            # Build tree
   5970   1.1       tv            echo $f
   5971   1.1       tv          elif test -f "$srcdir/$f"; then
   5972   1.1       tv            # Source tree
   5973   1.1       tv            echo $srcdir/$f
   5974   1.1       tv          else
   5975   1.1       tv            # /dev/null tree
   5976  1.47      dbj            { { echo "$as_me:5976: error: cannot find input file: $f" >&5
   5977   1.1       tv echo "$as_me: error: cannot find input file: $f" >&2;}
   5978   1.1       tv    { (exit 1); exit 1; }; }
   5979   1.1       tv          fi;;
   5980   1.1       tv       esac
   5981   1.1       tv     done` || { (exit 1); exit 1; }
   5982   1.1       tv   # Remove the trailing spaces.
   5983   1.1       tv   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
   5984   1.1       tv 
   5985  1.43      dbj EOF
   5986   1.1       tv 
   5987   1.1       tv # Transform confdefs.h into two sed scripts, `conftest.defines' and
   5988   1.1       tv # `conftest.undefs', that substitutes the proper values into
   5989   1.1       tv # config.h.in to produce config.h.  The first handles `#define'
   5990   1.1       tv # templates, and the second `#undef' templates.
   5991   1.1       tv # And first: Protect against being on the right side of a sed subst in
   5992   1.1       tv # config.status.  Protect against being in an unquoted here document
   5993   1.1       tv # in config.status.
   5994   1.1       tv rm -f conftest.defines conftest.undefs
   5995   1.1       tv # Using a here document instead of a string reduces the quoting nightmare.
   5996   1.1       tv # Putting comments in sed scripts is not portable.
   5997   1.1       tv #
   5998   1.1       tv # `end' is used to avoid that the second main sed command (meant for
   5999   1.1       tv # 0-ary CPP macros) applies to n-ary macro definitions.
   6000   1.1       tv # See the Autoconf documentation for `clear'.
   6001  1.43      dbj cat >confdef2sed.sed <<\EOF
   6002   1.1       tv s/[\\&,]/\\&/g
   6003   1.1       tv s,[\\$`],\\&,g
   6004   1.1       tv t clear
   6005   1.1       tv : clear
   6006  1.43      dbj s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
   6007   1.1       tv t end
   6008   1.1       tv s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   6009   1.1       tv : end
   6010  1.43      dbj EOF
   6011   1.1       tv # If some macros were called several times there might be several times
   6012   1.1       tv # the same #defines, which is useless.  Nevertheless, we may not want to
   6013   1.1       tv # sort them, since we want the *last* AC-DEFINE to be honored.
   6014   1.1       tv uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   6015   1.1       tv sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   6016   1.1       tv rm -f confdef2sed.sed
   6017   1.1       tv 
   6018   1.1       tv # This sed command replaces #undef with comments.  This is necessary, for
   6019   1.1       tv # example, in the case of _POSIX_SOURCE, which is predefined and required
   6020   1.1       tv # on some systems where configure will not decide to define it.
   6021  1.43      dbj cat >>conftest.undefs <<\EOF
   6022   1.1       tv s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   6023  1.43      dbj EOF
   6024   1.1       tv 
   6025   1.1       tv # Break up conftest.defines because some shells have a limit on the size
   6026   1.1       tv # of here documents, and old seds have small limits too (100 cmds).
   6027   1.1       tv echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   6028  1.43      dbj echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   6029   1.1       tv echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   6030   1.1       tv echo '  :' >>$CONFIG_STATUS
   6031   1.1       tv rm -f conftest.tail
   6032   1.1       tv while grep . conftest.defines >/dev/null
   6033   1.1       tv do
   6034   1.1       tv   # Write a limited-size here document to $tmp/defines.sed.
   6035   1.1       tv   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   6036   1.1       tv   # Speed up: don't consider the non `#define' lines.
   6037   1.1       tv   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
   6038   1.1       tv   # Work around the forget-to-reset-the-flag bug.
   6039   1.1       tv   echo 't clr' >>$CONFIG_STATUS
   6040   1.1       tv   echo ': clr' >>$CONFIG_STATUS
   6041   1.1       tv   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   6042   1.1       tv   echo 'CEOF
   6043   1.1       tv   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   6044   1.1       tv   rm -f $tmp/in
   6045   1.1       tv   mv $tmp/out $tmp/in
   6046   1.1       tv ' >>$CONFIG_STATUS
   6047   1.1       tv   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   6048   1.1       tv   rm -f conftest.defines
   6049   1.1       tv   mv conftest.tail conftest.defines
   6050   1.1       tv done
   6051   1.1       tv rm -f conftest.defines
   6052  1.43      dbj echo '  fi # egrep' >>$CONFIG_STATUS
   6053   1.1       tv echo >>$CONFIG_STATUS
   6054   1.1       tv 
   6055   1.1       tv # Break up conftest.undefs because some shells have a limit on the size
   6056   1.1       tv # of here documents, and old seds have small limits too (100 cmds).
   6057   1.1       tv echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   6058   1.1       tv rm -f conftest.tail
   6059   1.1       tv while grep . conftest.undefs >/dev/null
   6060   1.1       tv do
   6061   1.1       tv   # Write a limited-size here document to $tmp/undefs.sed.
   6062   1.1       tv   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   6063   1.1       tv   # Speed up: don't consider the non `#undef'
   6064   1.1       tv   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
   6065   1.1       tv   # Work around the forget-to-reset-the-flag bug.
   6066   1.1       tv   echo 't clr' >>$CONFIG_STATUS
   6067   1.1       tv   echo ': clr' >>$CONFIG_STATUS
   6068   1.1       tv   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   6069   1.1       tv   echo 'CEOF
   6070   1.1       tv   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   6071   1.1       tv   rm -f $tmp/in
   6072   1.1       tv   mv $tmp/out $tmp/in
   6073   1.1       tv ' >>$CONFIG_STATUS
   6074   1.1       tv   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   6075   1.1       tv   rm -f conftest.undefs
   6076   1.1       tv   mv conftest.tail conftest.undefs
   6077   1.1       tv done
   6078   1.1       tv rm -f conftest.undefs
   6079   1.1       tv 
   6080  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   6081   1.1       tv   # Let's still pretend it is `configure' which instantiates (i.e., don't
   6082   1.1       tv   # use $as_me), people would be surprised to read:
   6083  1.43      dbj   #    /* config.h.  Generated automatically by config.status.  */
   6084   1.1       tv   if test x"$ac_file" = x-; then
   6085  1.43      dbj     echo "/* Generated automatically by configure.  */" >$tmp/config.h
   6086   1.1       tv   else
   6087  1.43      dbj     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
   6088   1.1       tv   fi
   6089   1.1       tv   cat $tmp/in >>$tmp/config.h
   6090   1.1       tv   rm -f $tmp/in
   6091   1.1       tv   if test x"$ac_file" != x-; then
   6092  1.43      dbj     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
   6093  1.47      dbj       { echo "$as_me:6093: $ac_file is unchanged" >&5
   6094   1.1       tv echo "$as_me: $ac_file is unchanged" >&6;}
   6095   1.1       tv     else
   6096  1.43      dbj       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6097   1.1       tv          X"$ac_file" : 'X\(//\)[^/]' \| \
   6098   1.1       tv          X"$ac_file" : 'X\(//\)$' \| \
   6099   1.1       tv          X"$ac_file" : 'X\(/\)' \| \
   6100   1.1       tv          .     : '\(.\)' 2>/dev/null ||
   6101   1.1       tv echo X"$ac_file" |
   6102   1.1       tv     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   6103   1.1       tv   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   6104   1.1       tv   	  /^X\(\/\/\)$/{ s//\1/; q; }
   6105   1.1       tv   	  /^X\(\/\).*/{ s//\1/; q; }
   6106   1.1       tv   	  s/.*/./; q'`
   6107  1.43      dbj       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   6108  1.43      dbj         { case "$ac_dir" in
   6109  1.43      dbj   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   6110  1.43      dbj   *)                      as_incr_dir=.;;
   6111  1.43      dbj esac
   6112  1.43      dbj as_dummy="$ac_dir"
   6113  1.43      dbj for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   6114  1.43      dbj   case $as_mkdir_dir in
   6115  1.43      dbj     # Skip DOS drivespec
   6116  1.43      dbj     ?:) as_incr_dir=$as_mkdir_dir ;;
   6117  1.43      dbj     *)
   6118  1.43      dbj       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   6119  1.43      dbj       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   6120  1.43      dbj     ;;
   6121  1.43      dbj   esac
   6122  1.43      dbj done; }
   6123   1.1       tv 
   6124  1.43      dbj       fi
   6125   1.1       tv       rm -f $ac_file
   6126   1.1       tv       mv $tmp/config.h $ac_file
   6127   1.1       tv     fi
   6128   1.1       tv   else
   6129   1.1       tv     cat $tmp/config.h
   6130   1.1       tv     rm -f $tmp/config.h
   6131   1.1       tv   fi
   6132   1.1       tv done
   6133  1.43      dbj EOF
   6134   1.1       tv 
   6135  1.43      dbj cat >>$CONFIG_STATUS <<\EOF
   6136   1.1       tv 
   6137   1.1       tv { (exit 0); exit 0; }
   6138  1.43      dbj EOF
   6139   1.1       tv chmod +x $CONFIG_STATUS
   6140   1.1       tv ac_clean_files=$ac_clean_files_save
   6141   1.1       tv 
   6142   1.1       tv # configure is writing to config.log, and then calls config.status.
   6143   1.1       tv # config.status does its own redirection, appending to config.log.
   6144   1.1       tv # Unfortunately, on DOS this fails, as config.log is still kept open
   6145   1.1       tv # by configure, so config.status won't be able to write to it; its
   6146   1.1       tv # output is simply discarded.  So we exec the FD to /dev/null,
   6147   1.1       tv # effectively closing config.log, so it can be properly (re)opened and
   6148   1.1       tv # appended to by config.status.  When coming back to configure, we
   6149   1.1       tv # need to make the FD available again.
   6150   1.1       tv if test "$no_create" != yes; then
   6151   1.1       tv   ac_cs_success=:
   6152   1.1       tv   exec 5>/dev/null
   6153  1.43      dbj   $SHELL $CONFIG_STATUS || ac_cs_success=false
   6154   1.1       tv   exec 5>>config.log
   6155   1.1       tv   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   6156   1.1       tv   # would make configure fail if this is the last instruction.
   6157   1.1       tv   $ac_cs_success || { (exit 1); exit 1; }
   6158   1.1       tv fi
   6159   1.1       tv 
   6160