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