Home | History | Annotate | Line # | Download | only in compat
configure revision 1.63
      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 # Autoheader header and footer
    968 
    969 # AC_NETBSD
    970 
    971 ac_ext=c
    972 ac_cpp='$CPP $CPPFLAGS'
    973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    976 if test -n "$ac_tool_prefix"; then
    977   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    979 echo "$as_me:979: checking for $ac_word" >&5
    980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    981 if test "${ac_cv_prog_CC+set}" = set; then
    982   echo $ECHO_N "(cached) $ECHO_C" >&6
    983 else
    984   if test -n "$CC"; then
    985   ac_cv_prog_CC="$CC" # Let the user override the test.
    986 else
    987   ac_save_IFS=$IFS; IFS=$ac_path_separator
    988 ac_dummy="$PATH"
    989 for ac_dir in $ac_dummy; do
    990   IFS=$ac_save_IFS
    991   test -z "$ac_dir" && ac_dir=.
    992   $as_executable_p "$ac_dir/$ac_word" || continue
    993 ac_cv_prog_CC="${ac_tool_prefix}gcc"
    994 echo "$as_me:994: found $ac_dir/$ac_word" >&5
    995 break
    996 done
    997 
    998 fi
    999 fi
   1000 CC=$ac_cv_prog_CC
   1001 if test -n "$CC"; then
   1002   echo "$as_me:1002: result: $CC" >&5
   1003 echo "${ECHO_T}$CC" >&6
   1004 else
   1005   echo "$as_me:1005: result: no" >&5
   1006 echo "${ECHO_T}no" >&6
   1007 fi
   1008 
   1009 fi
   1010 if test -z "$ac_cv_prog_CC"; then
   1011   ac_ct_CC=$CC
   1012   # Extract the first word of "gcc", so it can be a program name with args.
   1013 set dummy gcc; ac_word=$2
   1014 echo "$as_me:1014: checking for $ac_word" >&5
   1015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1017   echo $ECHO_N "(cached) $ECHO_C" >&6
   1018 else
   1019   if test -n "$ac_ct_CC"; then
   1020   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1021 else
   1022   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1023 ac_dummy="$PATH"
   1024 for ac_dir in $ac_dummy; do
   1025   IFS=$ac_save_IFS
   1026   test -z "$ac_dir" && ac_dir=.
   1027   $as_executable_p "$ac_dir/$ac_word" || continue
   1028 ac_cv_prog_ac_ct_CC="gcc"
   1029 echo "$as_me:1029: found $ac_dir/$ac_word" >&5
   1030 break
   1031 done
   1032 
   1033 fi
   1034 fi
   1035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1036 if test -n "$ac_ct_CC"; then
   1037   echo "$as_me:1037: result: $ac_ct_CC" >&5
   1038 echo "${ECHO_T}$ac_ct_CC" >&6
   1039 else
   1040   echo "$as_me:1040: result: no" >&5
   1041 echo "${ECHO_T}no" >&6
   1042 fi
   1043 
   1044   CC=$ac_ct_CC
   1045 else
   1046   CC="$ac_cv_prog_CC"
   1047 fi
   1048 
   1049 if test -z "$CC"; then
   1050   if test -n "$ac_tool_prefix"; then
   1051   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1052 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1053 echo "$as_me:1053: checking for $ac_word" >&5
   1054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1055 if test "${ac_cv_prog_CC+set}" = set; then
   1056   echo $ECHO_N "(cached) $ECHO_C" >&6
   1057 else
   1058   if test -n "$CC"; then
   1059   ac_cv_prog_CC="$CC" # Let the user override the test.
   1060 else
   1061   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1062 ac_dummy="$PATH"
   1063 for ac_dir in $ac_dummy; do
   1064   IFS=$ac_save_IFS
   1065   test -z "$ac_dir" && ac_dir=.
   1066   $as_executable_p "$ac_dir/$ac_word" || continue
   1067 ac_cv_prog_CC="${ac_tool_prefix}cc"
   1068 echo "$as_me:1068: found $ac_dir/$ac_word" >&5
   1069 break
   1070 done
   1071 
   1072 fi
   1073 fi
   1074 CC=$ac_cv_prog_CC
   1075 if test -n "$CC"; then
   1076   echo "$as_me:1076: result: $CC" >&5
   1077 echo "${ECHO_T}$CC" >&6
   1078 else
   1079   echo "$as_me:1079: result: no" >&5
   1080 echo "${ECHO_T}no" >&6
   1081 fi
   1082 
   1083 fi
   1084 if test -z "$ac_cv_prog_CC"; then
   1085   ac_ct_CC=$CC
   1086   # Extract the first word of "cc", so it can be a program name with args.
   1087 set dummy cc; ac_word=$2
   1088 echo "$as_me:1088: checking for $ac_word" >&5
   1089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1091   echo $ECHO_N "(cached) $ECHO_C" >&6
   1092 else
   1093   if test -n "$ac_ct_CC"; then
   1094   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1095 else
   1096   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1097 ac_dummy="$PATH"
   1098 for ac_dir in $ac_dummy; do
   1099   IFS=$ac_save_IFS
   1100   test -z "$ac_dir" && ac_dir=.
   1101   $as_executable_p "$ac_dir/$ac_word" || continue
   1102 ac_cv_prog_ac_ct_CC="cc"
   1103 echo "$as_me:1103: found $ac_dir/$ac_word" >&5
   1104 break
   1105 done
   1106 
   1107 fi
   1108 fi
   1109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1110 if test -n "$ac_ct_CC"; then
   1111   echo "$as_me:1111: result: $ac_ct_CC" >&5
   1112 echo "${ECHO_T}$ac_ct_CC" >&6
   1113 else
   1114   echo "$as_me:1114: result: no" >&5
   1115 echo "${ECHO_T}no" >&6
   1116 fi
   1117 
   1118   CC=$ac_ct_CC
   1119 else
   1120   CC="$ac_cv_prog_CC"
   1121 fi
   1122 
   1123 fi
   1124 if test -z "$CC"; then
   1125   # Extract the first word of "cc", so it can be a program name with args.
   1126 set dummy cc; ac_word=$2
   1127 echo "$as_me:1127: checking for $ac_word" >&5
   1128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1129 if test "${ac_cv_prog_CC+set}" = set; then
   1130   echo $ECHO_N "(cached) $ECHO_C" >&6
   1131 else
   1132   if test -n "$CC"; then
   1133   ac_cv_prog_CC="$CC" # Let the user override the test.
   1134 else
   1135   ac_prog_rejected=no
   1136   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1137 ac_dummy="$PATH"
   1138 for ac_dir in $ac_dummy; do
   1139   IFS=$ac_save_IFS
   1140   test -z "$ac_dir" && ac_dir=.
   1141   $as_executable_p "$ac_dir/$ac_word" || continue
   1142 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
   1143   ac_prog_rejected=yes
   1144   continue
   1145 fi
   1146 ac_cv_prog_CC="cc"
   1147 echo "$as_me:1147: found $ac_dir/$ac_word" >&5
   1148 break
   1149 done
   1150 
   1151 if test $ac_prog_rejected = yes; then
   1152   # We found a bogon in the path, so make sure we never use it.
   1153   set dummy $ac_cv_prog_CC
   1154   shift
   1155   if test $# != 0; then
   1156     # We chose a different compiler from the bogus one.
   1157     # However, it has the same basename, so the bogon will be chosen
   1158     # first if we set CC to just the basename; use the full file name.
   1159     shift
   1160     set dummy "$ac_dir/$ac_word" ${1+"$@"}
   1161     shift
   1162     ac_cv_prog_CC="$@"
   1163   fi
   1164 fi
   1165 fi
   1166 fi
   1167 CC=$ac_cv_prog_CC
   1168 if test -n "$CC"; then
   1169   echo "$as_me:1169: result: $CC" >&5
   1170 echo "${ECHO_T}$CC" >&6
   1171 else
   1172   echo "$as_me:1172: result: no" >&5
   1173 echo "${ECHO_T}no" >&6
   1174 fi
   1175 
   1176 fi
   1177 if test -z "$CC"; then
   1178   if test -n "$ac_tool_prefix"; then
   1179   for ac_prog in cl
   1180   do
   1181     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1183 echo "$as_me:1183: checking for $ac_word" >&5
   1184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1185 if test "${ac_cv_prog_CC+set}" = set; then
   1186   echo $ECHO_N "(cached) $ECHO_C" >&6
   1187 else
   1188   if test -n "$CC"; then
   1189   ac_cv_prog_CC="$CC" # Let the user override the test.
   1190 else
   1191   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1192 ac_dummy="$PATH"
   1193 for ac_dir in $ac_dummy; do
   1194   IFS=$ac_save_IFS
   1195   test -z "$ac_dir" && ac_dir=.
   1196   $as_executable_p "$ac_dir/$ac_word" || continue
   1197 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1198 echo "$as_me:1198: found $ac_dir/$ac_word" >&5
   1199 break
   1200 done
   1201 
   1202 fi
   1203 fi
   1204 CC=$ac_cv_prog_CC
   1205 if test -n "$CC"; then
   1206   echo "$as_me:1206: result: $CC" >&5
   1207 echo "${ECHO_T}$CC" >&6
   1208 else
   1209   echo "$as_me:1209: result: no" >&5
   1210 echo "${ECHO_T}no" >&6
   1211 fi
   1212 
   1213     test -n "$CC" && break
   1214   done
   1215 fi
   1216 if test -z "$CC"; then
   1217   ac_ct_CC=$CC
   1218   for ac_prog in cl
   1219 do
   1220   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1221 set dummy $ac_prog; ac_word=$2
   1222 echo "$as_me:1222: checking for $ac_word" >&5
   1223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1225   echo $ECHO_N "(cached) $ECHO_C" >&6
   1226 else
   1227   if test -n "$ac_ct_CC"; then
   1228   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1229 else
   1230   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1231 ac_dummy="$PATH"
   1232 for ac_dir in $ac_dummy; do
   1233   IFS=$ac_save_IFS
   1234   test -z "$ac_dir" && ac_dir=.
   1235   $as_executable_p "$ac_dir/$ac_word" || continue
   1236 ac_cv_prog_ac_ct_CC="$ac_prog"
   1237 echo "$as_me:1237: found $ac_dir/$ac_word" >&5
   1238 break
   1239 done
   1240 
   1241 fi
   1242 fi
   1243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1244 if test -n "$ac_ct_CC"; then
   1245   echo "$as_me:1245: result: $ac_ct_CC" >&5
   1246 echo "${ECHO_T}$ac_ct_CC" >&6
   1247 else
   1248   echo "$as_me:1248: result: no" >&5
   1249 echo "${ECHO_T}no" >&6
   1250 fi
   1251 
   1252   test -n "$ac_ct_CC" && break
   1253 done
   1254 
   1255   CC=$ac_ct_CC
   1256 fi
   1257 
   1258 fi
   1259 
   1260 test -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
   1261 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   1262    { (exit 1); exit 1; }; }
   1263 
   1264 # Provide some information about the compiler.
   1265 echo "$as_me:1265:" \
   1266      "checking for C compiler version" >&5
   1267 ac_compiler=`set X $ac_compile; echo $2`
   1268 { (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
   1269   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1270   ac_status=$?
   1271   echo "$as_me:1271: \$? = $ac_status" >&5
   1272   (exit $ac_status); }
   1273 { (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
   1274   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1275   ac_status=$?
   1276   echo "$as_me:1276: \$? = $ac_status" >&5
   1277   (exit $ac_status); }
   1278 { (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
   1279   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1280   ac_status=$?
   1281   echo "$as_me:1281: \$? = $ac_status" >&5
   1282   (exit $ac_status); }
   1283 
   1284 cat >conftest.$ac_ext <<_ACEOF
   1285 #line 1285 "configure"
   1286 #include "confdefs.h"
   1287 
   1288 int
   1289 main ()
   1290 {
   1291 
   1292   ;
   1293   return 0;
   1294 }
   1295 _ACEOF
   1296 ac_clean_files_save=$ac_clean_files
   1297 ac_clean_files="$ac_clean_files a.out a.exe"
   1298 # Try to create an executable without -o first, disregard a.out.
   1299 # It will help us diagnose broken compilers, and finding out an intuition
   1300 # of exeext.
   1301 echo "$as_me:1301: checking for C compiler default output" >&5
   1302 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   1303 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1304 if { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
   1305   (eval $ac_link_default) 2>&5
   1306   ac_status=$?
   1307   echo "$as_me:1307: \$? = $ac_status" >&5
   1308   (exit $ac_status); }; then
   1309   # Find the output, starting from the most likely.  This scheme is
   1310 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1311 # resort.
   1312 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
   1313                 ls a.out conftest 2>/dev/null;
   1314                 ls a.* conftest.* 2>/dev/null`; do
   1315   case $ac_file in
   1316     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1317     a.out ) # We found the default executable, but exeext='' is most
   1318             # certainly right.
   1319             break;;
   1320     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1321           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
   1322           export ac_cv_exeext
   1323           break;;
   1324     * ) break;;
   1325   esac
   1326 done
   1327 else
   1328   echo "$as_me: failed program was:" >&5
   1329 cat conftest.$ac_ext >&5
   1330 { { echo "$as_me:1330: error: C compiler cannot create executables" >&5
   1331 echo "$as_me: error: C compiler cannot create executables" >&2;}
   1332    { (exit 77); exit 77; }; }
   1333 fi
   1334 
   1335 ac_exeext=$ac_cv_exeext
   1336 echo "$as_me:1336: result: $ac_file" >&5
   1337 echo "${ECHO_T}$ac_file" >&6
   1338 
   1339 # Check the compiler produces executables we can run.  If not, either
   1340 # the compiler is broken, or we cross compile.
   1341 echo "$as_me:1341: checking whether the C compiler works" >&5
   1342 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1343 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1344 # If not cross compiling, check that we can run a simple program.
   1345 if test "$cross_compiling" != yes; then
   1346   if { ac_try='./$ac_file'
   1347   { (eval echo "$as_me:1347: \"$ac_try\"") >&5
   1348   (eval $ac_try) 2>&5
   1349   ac_status=$?
   1350   echo "$as_me:1350: \$? = $ac_status" >&5
   1351   (exit $ac_status); }; }; then
   1352     cross_compiling=no
   1353   else
   1354     if test "$cross_compiling" = maybe; then
   1355 	cross_compiling=yes
   1356     else
   1357 	{ { echo "$as_me:1357: error: cannot run C compiled programs.
   1358 If you meant to cross compile, use \`--host'." >&5
   1359 echo "$as_me: error: cannot run C compiled programs.
   1360 If you meant to cross compile, use \`--host'." >&2;}
   1361    { (exit 1); exit 1; }; }
   1362     fi
   1363   fi
   1364 fi
   1365 echo "$as_me:1365: result: yes" >&5
   1366 echo "${ECHO_T}yes" >&6
   1367 
   1368 rm -f a.out a.exe conftest$ac_cv_exeext
   1369 ac_clean_files=$ac_clean_files_save
   1370 # Check the compiler produces executables we can run.  If not, either
   1371 # the compiler is broken, or we cross compile.
   1372 echo "$as_me:1372: checking whether we are cross compiling" >&5
   1373 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1374 echo "$as_me:1374: result: $cross_compiling" >&5
   1375 echo "${ECHO_T}$cross_compiling" >&6
   1376 
   1377 echo "$as_me:1377: checking for executable suffix" >&5
   1378 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
   1379 if { (eval echo "$as_me:1379: \"$ac_link\"") >&5
   1380   (eval $ac_link) 2>&5
   1381   ac_status=$?
   1382   echo "$as_me:1382: \$? = $ac_status" >&5
   1383   (exit $ac_status); }; then
   1384   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1385 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1386 # work properly (i.e., refer to `conftest.exe'), while it won't with
   1387 # `rm'.
   1388 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   1389   case $ac_file in
   1390     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1391     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1392           export ac_cv_exeext
   1393           break;;
   1394     * ) break;;
   1395   esac
   1396 done
   1397 else
   1398   { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
   1399 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
   1400    { (exit 1); exit 1; }; }
   1401 fi
   1402 
   1403 rm -f conftest$ac_cv_exeext
   1404 echo "$as_me:1404: result: $ac_cv_exeext" >&5
   1405 echo "${ECHO_T}$ac_cv_exeext" >&6
   1406 
   1407 rm -f conftest.$ac_ext
   1408 EXEEXT=$ac_cv_exeext
   1409 ac_exeext=$EXEEXT
   1410 echo "$as_me:1410: checking for object suffix" >&5
   1411 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
   1412 if test "${ac_cv_objext+set}" = set; then
   1413   echo $ECHO_N "(cached) $ECHO_C" >&6
   1414 else
   1415   cat >conftest.$ac_ext <<_ACEOF
   1416 #line 1416 "configure"
   1417 #include "confdefs.h"
   1418 
   1419 int
   1420 main ()
   1421 {
   1422 
   1423   ;
   1424   return 0;
   1425 }
   1426 _ACEOF
   1427 rm -f conftest.o conftest.obj
   1428 if { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
   1429   (eval $ac_compile) 2>&5
   1430   ac_status=$?
   1431   echo "$as_me:1431: \$? = $ac_status" >&5
   1432   (exit $ac_status); }; then
   1433   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1434   case $ac_file in
   1435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
   1436     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1437        break;;
   1438   esac
   1439 done
   1440 else
   1441   echo "$as_me: failed program was:" >&5
   1442 cat conftest.$ac_ext >&5
   1443 { { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
   1444 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
   1445    { (exit 1); exit 1; }; }
   1446 fi
   1447 
   1448 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1449 fi
   1450 echo "$as_me:1450: result: $ac_cv_objext" >&5
   1451 echo "${ECHO_T}$ac_cv_objext" >&6
   1452 OBJEXT=$ac_cv_objext
   1453 ac_objext=$OBJEXT
   1454 echo "$as_me:1454: checking whether we are using the GNU C compiler" >&5
   1455 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1456 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1457   echo $ECHO_N "(cached) $ECHO_C" >&6
   1458 else
   1459   cat >conftest.$ac_ext <<_ACEOF
   1460 #line 1460 "configure"
   1461 #include "confdefs.h"
   1462 
   1463 int
   1464 main ()
   1465 {
   1466 #ifndef __GNUC__
   1467        choke me
   1468 #endif
   1469 
   1470   ;
   1471   return 0;
   1472 }
   1473 _ACEOF
   1474 rm -f conftest.$ac_objext
   1475 if { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
   1476   (eval $ac_compile) 2>&5
   1477   ac_status=$?
   1478   echo "$as_me:1478: \$? = $ac_status" >&5
   1479   (exit $ac_status); } &&
   1480          { ac_try='test -s conftest.$ac_objext'
   1481   { (eval echo "$as_me:1481: \"$ac_try\"") >&5
   1482   (eval $ac_try) 2>&5
   1483   ac_status=$?
   1484   echo "$as_me:1484: \$? = $ac_status" >&5
   1485   (exit $ac_status); }; }; then
   1486   ac_compiler_gnu=yes
   1487 else
   1488   echo "$as_me: failed program was:" >&5
   1489 cat conftest.$ac_ext >&5
   1490 ac_compiler_gnu=no
   1491 fi
   1492 rm -f conftest.$ac_objext conftest.$ac_ext
   1493 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1494 
   1495 fi
   1496 echo "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
   1497 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1498 GCC=`test $ac_compiler_gnu = yes && echo yes`
   1499 ac_test_CFLAGS=${CFLAGS+set}
   1500 ac_save_CFLAGS=$CFLAGS
   1501 CFLAGS="-g"
   1502 echo "$as_me:1502: checking whether $CC accepts -g" >&5
   1503 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1504 if test "${ac_cv_prog_cc_g+set}" = set; then
   1505   echo $ECHO_N "(cached) $ECHO_C" >&6
   1506 else
   1507   cat >conftest.$ac_ext <<_ACEOF
   1508 #line 1508 "configure"
   1509 #include "confdefs.h"
   1510 
   1511 int
   1512 main ()
   1513 {
   1514 
   1515   ;
   1516   return 0;
   1517 }
   1518 _ACEOF
   1519 rm -f conftest.$ac_objext
   1520 if { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
   1521   (eval $ac_compile) 2>&5
   1522   ac_status=$?
   1523   echo "$as_me:1523: \$? = $ac_status" >&5
   1524   (exit $ac_status); } &&
   1525          { ac_try='test -s conftest.$ac_objext'
   1526   { (eval echo "$as_me:1526: \"$ac_try\"") >&5
   1527   (eval $ac_try) 2>&5
   1528   ac_status=$?
   1529   echo "$as_me:1529: \$? = $ac_status" >&5
   1530   (exit $ac_status); }; }; then
   1531   ac_cv_prog_cc_g=yes
   1532 else
   1533   echo "$as_me: failed program was:" >&5
   1534 cat conftest.$ac_ext >&5
   1535 ac_cv_prog_cc_g=no
   1536 fi
   1537 rm -f conftest.$ac_objext conftest.$ac_ext
   1538 fi
   1539 echo "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
   1540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1541 if test "$ac_test_CFLAGS" = set; then
   1542   CFLAGS=$ac_save_CFLAGS
   1543 elif test $ac_cv_prog_cc_g = yes; then
   1544   if test "$GCC" = yes; then
   1545     CFLAGS="-g -O2"
   1546   else
   1547     CFLAGS="-g"
   1548   fi
   1549 else
   1550   if test "$GCC" = yes; then
   1551     CFLAGS="-O2"
   1552   else
   1553     CFLAGS=
   1554   fi
   1555 fi
   1556 # Some people use a C++ compiler to compile C.  Since we use `exit',
   1557 # in C++ we need to declare it.  In case someone uses the same compiler
   1558 # for both compiling C and C++ we need to have the C++ compiler decide
   1559 # the declaration of exit, since it's the most demanding environment.
   1560 cat >conftest.$ac_ext <<_ACEOF
   1561 #ifndef __cplusplus
   1562   choke me
   1563 #endif
   1564 _ACEOF
   1565 rm -f conftest.$ac_objext
   1566 if { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
   1567   (eval $ac_compile) 2>&5
   1568   ac_status=$?
   1569   echo "$as_me:1569: \$? = $ac_status" >&5
   1570   (exit $ac_status); } &&
   1571          { ac_try='test -s conftest.$ac_objext'
   1572   { (eval echo "$as_me:1572: \"$ac_try\"") >&5
   1573   (eval $ac_try) 2>&5
   1574   ac_status=$?
   1575   echo "$as_me:1575: \$? = $ac_status" >&5
   1576   (exit $ac_status); }; }; then
   1577   for ac_declaration in \
   1578    ''\
   1579    '#include <stdlib.h>' \
   1580    'extern "C" void std::exit (int) throw (); using std::exit;' \
   1581    'extern "C" void std::exit (int); using std::exit;' \
   1582    'extern "C" void exit (int) throw ();' \
   1583    'extern "C" void exit (int);' \
   1584    'void exit (int);'
   1585 do
   1586   cat >conftest.$ac_ext <<_ACEOF
   1587 #line 1587 "configure"
   1588 #include "confdefs.h"
   1589 #include <stdlib.h>
   1590 $ac_declaration
   1591 int
   1592 main ()
   1593 {
   1594 exit (42);
   1595   ;
   1596   return 0;
   1597 }
   1598 _ACEOF
   1599 rm -f conftest.$ac_objext
   1600 if { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
   1601   (eval $ac_compile) 2>&5
   1602   ac_status=$?
   1603   echo "$as_me:1603: \$? = $ac_status" >&5
   1604   (exit $ac_status); } &&
   1605          { ac_try='test -s conftest.$ac_objext'
   1606   { (eval echo "$as_me:1606: \"$ac_try\"") >&5
   1607   (eval $ac_try) 2>&5
   1608   ac_status=$?
   1609   echo "$as_me:1609: \$? = $ac_status" >&5
   1610   (exit $ac_status); }; }; then
   1611   :
   1612 else
   1613   echo "$as_me: failed program was:" >&5
   1614 cat conftest.$ac_ext >&5
   1615 continue
   1616 fi
   1617 rm -f conftest.$ac_objext conftest.$ac_ext
   1618   cat >conftest.$ac_ext <<_ACEOF
   1619 #line 1619 "configure"
   1620 #include "confdefs.h"
   1621 $ac_declaration
   1622 int
   1623 main ()
   1624 {
   1625 exit (42);
   1626   ;
   1627   return 0;
   1628 }
   1629 _ACEOF
   1630 rm -f conftest.$ac_objext
   1631 if { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
   1632   (eval $ac_compile) 2>&5
   1633   ac_status=$?
   1634   echo "$as_me:1634: \$? = $ac_status" >&5
   1635   (exit $ac_status); } &&
   1636          { ac_try='test -s conftest.$ac_objext'
   1637   { (eval echo "$as_me:1637: \"$ac_try\"") >&5
   1638   (eval $ac_try) 2>&5
   1639   ac_status=$?
   1640   echo "$as_me:1640: \$? = $ac_status" >&5
   1641   (exit $ac_status); }; }; then
   1642   break
   1643 else
   1644   echo "$as_me: failed program was:" >&5
   1645 cat conftest.$ac_ext >&5
   1646 fi
   1647 rm -f conftest.$ac_objext conftest.$ac_ext
   1648 done
   1649 rm -f conftest*
   1650 if test -n "$ac_declaration"; then
   1651   echo '#ifdef __cplusplus' >>confdefs.h
   1652   echo $ac_declaration      >>confdefs.h
   1653   echo '#endif'             >>confdefs.h
   1654 fi
   1655 
   1656 else
   1657   echo "$as_me: failed program was:" >&5
   1658 cat conftest.$ac_ext >&5
   1659 fi
   1660 rm -f conftest.$ac_objext conftest.$ac_ext
   1661 ac_ext=c
   1662 ac_cpp='$CPP $CPPFLAGS'
   1663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1666 
   1667 ac_ext=c
   1668 ac_cpp='$CPP $CPPFLAGS'
   1669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1672 echo "$as_me:1672: checking how to run the C preprocessor" >&5
   1673 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   1674 # On Suns, sometimes $CPP names a directory.
   1675 if test -n "$CPP" && test -d "$CPP"; then
   1676   CPP=
   1677 fi
   1678 if test -z "$CPP"; then
   1679   if test "${ac_cv_prog_CPP+set}" = set; then
   1680   echo $ECHO_N "(cached) $ECHO_C" >&6
   1681 else
   1682       # Double quotes because CPP needs to be expanded
   1683     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   1684     do
   1685       ac_preproc_ok=false
   1686 for ac_c_preproc_warn_flag in '' yes
   1687 do
   1688   # Use a header file that comes with gcc, so configuring glibc
   1689   # with a fresh cross-compiler works.
   1690   # On the NeXT, cc -E runs the code through the compiler's parser,
   1691   # not just through cpp. "Syntax error" is here to catch this case.
   1692   cat >conftest.$ac_ext <<_ACEOF
   1693 #line 1693 "configure"
   1694 #include "confdefs.h"
   1695 #include <assert.h>
   1696                      Syntax error
   1697 _ACEOF
   1698 if { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
   1699   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1700   ac_status=$?
   1701   egrep -v '^ *\+' conftest.er1 >conftest.err
   1702   rm -f conftest.er1
   1703   cat conftest.err >&5
   1704   echo "$as_me:1704: \$? = $ac_status" >&5
   1705   (exit $ac_status); } >/dev/null; then
   1706   if test -s conftest.err; then
   1707     ac_cpp_err=$ac_c_preproc_warn_flag
   1708   else
   1709     ac_cpp_err=
   1710   fi
   1711 else
   1712   ac_cpp_err=yes
   1713 fi
   1714 if test -z "$ac_cpp_err"; then
   1715   :
   1716 else
   1717   echo "$as_me: failed program was:" >&5
   1718   cat conftest.$ac_ext >&5
   1719   # Broken: fails on valid input.
   1720 continue
   1721 fi
   1722 rm -f conftest.err conftest.$ac_ext
   1723 
   1724   # OK, works on sane cases.  Now check whether non-existent headers
   1725   # can be detected and how.
   1726   cat >conftest.$ac_ext <<_ACEOF
   1727 #line 1727 "configure"
   1728 #include "confdefs.h"
   1729 #include <ac_nonexistent.h>
   1730 _ACEOF
   1731 if { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
   1732   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1733   ac_status=$?
   1734   egrep -v '^ *\+' conftest.er1 >conftest.err
   1735   rm -f conftest.er1
   1736   cat conftest.err >&5
   1737   echo "$as_me:1737: \$? = $ac_status" >&5
   1738   (exit $ac_status); } >/dev/null; then
   1739   if test -s conftest.err; then
   1740     ac_cpp_err=$ac_c_preproc_warn_flag
   1741   else
   1742     ac_cpp_err=
   1743   fi
   1744 else
   1745   ac_cpp_err=yes
   1746 fi
   1747 if test -z "$ac_cpp_err"; then
   1748   # Broken: success on invalid input.
   1749 continue
   1750 else
   1751   echo "$as_me: failed program was:" >&5
   1752   cat conftest.$ac_ext >&5
   1753   # Passes both tests.
   1754 ac_preproc_ok=:
   1755 break
   1756 fi
   1757 rm -f conftest.err conftest.$ac_ext
   1758 
   1759 done
   1760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1761 rm -f conftest.err conftest.$ac_ext
   1762 if $ac_preproc_ok; then
   1763   break
   1764 fi
   1765 
   1766     done
   1767     ac_cv_prog_CPP=$CPP
   1768 
   1769 fi
   1770   CPP=$ac_cv_prog_CPP
   1771 else
   1772   ac_cv_prog_CPP=$CPP
   1773 fi
   1774 echo "$as_me:1774: result: $CPP" >&5
   1775 echo "${ECHO_T}$CPP" >&6
   1776 ac_preproc_ok=false
   1777 for ac_c_preproc_warn_flag in '' yes
   1778 do
   1779   # Use a header file that comes with gcc, so configuring glibc
   1780   # with a fresh cross-compiler works.
   1781   # On the NeXT, cc -E runs the code through the compiler's parser,
   1782   # not just through cpp. "Syntax error" is here to catch this case.
   1783   cat >conftest.$ac_ext <<_ACEOF
   1784 #line 1784 "configure"
   1785 #include "confdefs.h"
   1786 #include <assert.h>
   1787                      Syntax error
   1788 _ACEOF
   1789 if { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
   1790   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1791   ac_status=$?
   1792   egrep -v '^ *\+' conftest.er1 >conftest.err
   1793   rm -f conftest.er1
   1794   cat conftest.err >&5
   1795   echo "$as_me:1795: \$? = $ac_status" >&5
   1796   (exit $ac_status); } >/dev/null; then
   1797   if test -s conftest.err; then
   1798     ac_cpp_err=$ac_c_preproc_warn_flag
   1799   else
   1800     ac_cpp_err=
   1801   fi
   1802 else
   1803   ac_cpp_err=yes
   1804 fi
   1805 if test -z "$ac_cpp_err"; then
   1806   :
   1807 else
   1808   echo "$as_me: failed program was:" >&5
   1809   cat conftest.$ac_ext >&5
   1810   # Broken: fails on valid input.
   1811 continue
   1812 fi
   1813 rm -f conftest.err conftest.$ac_ext
   1814 
   1815   # OK, works on sane cases.  Now check whether non-existent headers
   1816   # can be detected and how.
   1817   cat >conftest.$ac_ext <<_ACEOF
   1818 #line 1818 "configure"
   1819 #include "confdefs.h"
   1820 #include <ac_nonexistent.h>
   1821 _ACEOF
   1822 if { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
   1823   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   1824   ac_status=$?
   1825   egrep -v '^ *\+' conftest.er1 >conftest.err
   1826   rm -f conftest.er1
   1827   cat conftest.err >&5
   1828   echo "$as_me:1828: \$? = $ac_status" >&5
   1829   (exit $ac_status); } >/dev/null; then
   1830   if test -s conftest.err; then
   1831     ac_cpp_err=$ac_c_preproc_warn_flag
   1832   else
   1833     ac_cpp_err=
   1834   fi
   1835 else
   1836   ac_cpp_err=yes
   1837 fi
   1838 if test -z "$ac_cpp_err"; then
   1839   # Broken: success on invalid input.
   1840 continue
   1841 else
   1842   echo "$as_me: failed program was:" >&5
   1843   cat conftest.$ac_ext >&5
   1844   # Passes both tests.
   1845 ac_preproc_ok=:
   1846 break
   1847 fi
   1848 rm -f conftest.err conftest.$ac_ext
   1849 
   1850 done
   1851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1852 rm -f conftest.err conftest.$ac_ext
   1853 if $ac_preproc_ok; then
   1854   :
   1855 else
   1856   { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
   1857 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
   1858    { (exit 1); exit 1; }; }
   1859 fi
   1860 
   1861 ac_ext=c
   1862 ac_cpp='$CPP $CPPFLAGS'
   1863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1866 
   1867             echo "$as_me:1867: checking for NetBSD" >&5
   1868 echo $ECHO_N "checking for NetBSD... $ECHO_C" >&6
   1869       cat >conftest.$ac_ext <<_ACEOF
   1870 #line 1870 "configure"
   1871 #include "confdefs.h"
   1872 #ifdef __NetBSD__
   1873 	yes
   1874 	#endif
   1875 
   1876 _ACEOF
   1877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   1878   egrep "yes" >/dev/null 2>&1; then
   1879   echo "$as_me:1879: result: yes" >&5
   1880 echo "${ECHO_T}yes" >&6
   1881 
   1882 cat >>confdefs.h <<\EOF
   1883 #define _POSIX_SOURCE 1
   1884 EOF
   1885 
   1886 cat >>confdefs.h <<\EOF
   1887 #define _POSIX_C_SOURCE 200112L
   1888 EOF
   1889 
   1890 cat >>confdefs.h <<\EOF
   1891 #define _XOPEN_SOURCE 600
   1892 EOF
   1893 
   1894 else
   1895   echo "$as_me:1895: result: no" >&5
   1896 echo "${ECHO_T}no" >&6
   1897 fi
   1898 rm -f conftest*
   1899 
   1900 # Extract the first word of "sh", so it can be a program name with args.
   1901 set dummy sh; ac_word=$2
   1902 echo "$as_me:1902: checking for $ac_word" >&5
   1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1904 if test "${ac_cv_path_BSHELL+set}" = set; then
   1905   echo $ECHO_N "(cached) $ECHO_C" >&6
   1906 else
   1907   case $BSHELL in
   1908   [\\/]* | ?:[\\/]*)
   1909   ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
   1910   ;;
   1911   *)
   1912   ac_save_IFS=$IFS; IFS=$ac_path_separator
   1913 ac_dummy="$PATH"
   1914 for ac_dir in $ac_dummy; do
   1915   IFS=$ac_save_IFS
   1916   test -z "$ac_dir" && ac_dir=.
   1917   if $as_executable_p "$ac_dir/$ac_word"; then
   1918    ac_cv_path_BSHELL="$ac_dir/$ac_word"
   1919    echo "$as_me:1919: found $ac_dir/$ac_word" >&5
   1920    break
   1921 fi
   1922 done
   1923 
   1924   ;;
   1925 esac
   1926 fi
   1927 BSHELL=$ac_cv_path_BSHELL
   1928 
   1929 if test -n "$BSHELL"; then
   1930   echo "$as_me:1930: result: $BSHELL" >&5
   1931 echo "${ECHO_T}$BSHELL" >&6
   1932 else
   1933   echo "$as_me:1933: result: no" >&5
   1934 echo "${ECHO_T}no" >&6
   1935 fi
   1936 
   1937 if test x"$BSHELL" = x; then
   1938 	{ { echo "$as_me:1938: error: sh must be somewhere on \$PATH" >&5
   1939 echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
   1940    { (exit 1); exit 1; }; }
   1941 fi
   1942 
   1943 cat >>confdefs.h <<EOF
   1944 #define PATH_BSHELL "$BSHELL"
   1945 EOF
   1946 
   1947 echo "$as_me:1947: checking whether byte ordering is bigendian" >&5
   1948 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   1949 if test "${ac_cv_c_bigendian+set}" = set; then
   1950   echo $ECHO_N "(cached) $ECHO_C" >&6
   1951 else
   1952   ac_cv_c_bigendian=unknown
   1953 # See if sys/param.h defines the BYTE_ORDER macro.
   1954 cat >conftest.$ac_ext <<_ACEOF
   1955 #line 1955 "configure"
   1956 #include "confdefs.h"
   1957 #include <sys/types.h>
   1958 #include <sys/param.h>
   1959 
   1960 int
   1961 main ()
   1962 {
   1963 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
   1964  bogus endian macros
   1965 #endif
   1966 
   1967   ;
   1968   return 0;
   1969 }
   1970 _ACEOF
   1971 rm -f conftest.$ac_objext
   1972 if { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
   1973   (eval $ac_compile) 2>&5
   1974   ac_status=$?
   1975   echo "$as_me:1975: \$? = $ac_status" >&5
   1976   (exit $ac_status); } &&
   1977          { ac_try='test -s conftest.$ac_objext'
   1978   { (eval echo "$as_me:1978: \"$ac_try\"") >&5
   1979   (eval $ac_try) 2>&5
   1980   ac_status=$?
   1981   echo "$as_me:1981: \$? = $ac_status" >&5
   1982   (exit $ac_status); }; }; then
   1983   # It does; now see whether it defined to BIG_ENDIAN or not.
   1984 cat >conftest.$ac_ext <<_ACEOF
   1985 #line 1985 "configure"
   1986 #include "confdefs.h"
   1987 #include <sys/types.h>
   1988 #include <sys/param.h>
   1989 
   1990 int
   1991 main ()
   1992 {
   1993 #if BYTE_ORDER != BIG_ENDIAN
   1994  not big endian
   1995 #endif
   1996 
   1997   ;
   1998   return 0;
   1999 }
   2000 _ACEOF
   2001 rm -f conftest.$ac_objext
   2002 if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
   2003   (eval $ac_compile) 2>&5
   2004   ac_status=$?
   2005   echo "$as_me:2005: \$? = $ac_status" >&5
   2006   (exit $ac_status); } &&
   2007          { ac_try='test -s conftest.$ac_objext'
   2008   { (eval echo "$as_me:2008: \"$ac_try\"") >&5
   2009   (eval $ac_try) 2>&5
   2010   ac_status=$?
   2011   echo "$as_me:2011: \$? = $ac_status" >&5
   2012   (exit $ac_status); }; }; then
   2013   ac_cv_c_bigendian=yes
   2014 else
   2015   echo "$as_me: failed program was:" >&5
   2016 cat conftest.$ac_ext >&5
   2017 ac_cv_c_bigendian=no
   2018 fi
   2019 rm -f conftest.$ac_objext conftest.$ac_ext
   2020 else
   2021   echo "$as_me: failed program was:" >&5
   2022 cat conftest.$ac_ext >&5
   2023 fi
   2024 rm -f conftest.$ac_objext conftest.$ac_ext
   2025 if test $ac_cv_c_bigendian = unknown; then
   2026 if test "$cross_compiling" = yes; then
   2027   { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
   2028 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
   2029    { (exit 1); exit 1; }; }
   2030 else
   2031   cat >conftest.$ac_ext <<_ACEOF
   2032 #line 2032 "configure"
   2033 #include "confdefs.h"
   2034 int
   2035 main ()
   2036 {
   2037   /* Are we little or big endian?  From Harbison&Steele.  */
   2038   union
   2039   {
   2040     long l;
   2041     char c[sizeof (long)];
   2042   } u;
   2043   u.l = 1;
   2044   exit (u.c[sizeof (long) - 1] == 1);
   2045 }
   2046 _ACEOF
   2047 rm -f conftest$ac_exeext
   2048 if { (eval echo "$as_me:2048: \"$ac_link\"") >&5
   2049   (eval $ac_link) 2>&5
   2050   ac_status=$?
   2051   echo "$as_me:2051: \$? = $ac_status" >&5
   2052   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2053   { (eval echo "$as_me:2053: \"$ac_try\"") >&5
   2054   (eval $ac_try) 2>&5
   2055   ac_status=$?
   2056   echo "$as_me:2056: \$? = $ac_status" >&5
   2057   (exit $ac_status); }; }; then
   2058   ac_cv_c_bigendian=no
   2059 else
   2060   echo "$as_me: program exited with status $ac_status" >&5
   2061 echo "$as_me: failed program was:" >&5
   2062 cat conftest.$ac_ext >&5
   2063 ac_cv_c_bigendian=yes
   2064 fi
   2065 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2066 fi
   2067 fi
   2068 fi
   2069 echo "$as_me:2069: result: $ac_cv_c_bigendian" >&5
   2070 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   2071 if test $ac_cv_c_bigendian = yes; then
   2072 
   2073 cat >>confdefs.h <<\EOF
   2074 #define WORDS_BIGENDIAN 1
   2075 EOF
   2076 
   2077 fi
   2078 
   2079 echo "$as_me:2079: checking for ANSI C header files" >&5
   2080 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   2081 if test "${ac_cv_header_stdc+set}" = set; then
   2082   echo $ECHO_N "(cached) $ECHO_C" >&6
   2083 else
   2084   cat >conftest.$ac_ext <<_ACEOF
   2085 #line 2085 "configure"
   2086 #include "confdefs.h"
   2087 #include <stdlib.h>
   2088 #include <stdarg.h>
   2089 #include <string.h>
   2090 #include <float.h>
   2091 
   2092 _ACEOF
   2093 if { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
   2094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2095   ac_status=$?
   2096   egrep -v '^ *\+' conftest.er1 >conftest.err
   2097   rm -f conftest.er1
   2098   cat conftest.err >&5
   2099   echo "$as_me:2099: \$? = $ac_status" >&5
   2100   (exit $ac_status); } >/dev/null; then
   2101   if test -s conftest.err; then
   2102     ac_cpp_err=$ac_c_preproc_warn_flag
   2103   else
   2104     ac_cpp_err=
   2105   fi
   2106 else
   2107   ac_cpp_err=yes
   2108 fi
   2109 if test -z "$ac_cpp_err"; then
   2110   ac_cv_header_stdc=yes
   2111 else
   2112   echo "$as_me: failed program was:" >&5
   2113   cat conftest.$ac_ext >&5
   2114   ac_cv_header_stdc=no
   2115 fi
   2116 rm -f conftest.err conftest.$ac_ext
   2117 
   2118 if test $ac_cv_header_stdc = yes; then
   2119   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   2120   cat >conftest.$ac_ext <<_ACEOF
   2121 #line 2121 "configure"
   2122 #include "confdefs.h"
   2123 #include <string.h>
   2124 
   2125 _ACEOF
   2126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2127   egrep "memchr" >/dev/null 2>&1; then
   2128   :
   2129 else
   2130   ac_cv_header_stdc=no
   2131 fi
   2132 rm -f conftest*
   2133 
   2134 fi
   2135 
   2136 if test $ac_cv_header_stdc = yes; then
   2137   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   2138   cat >conftest.$ac_ext <<_ACEOF
   2139 #line 2139 "configure"
   2140 #include "confdefs.h"
   2141 #include <stdlib.h>
   2142 
   2143 _ACEOF
   2144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2145   egrep "free" >/dev/null 2>&1; then
   2146   :
   2147 else
   2148   ac_cv_header_stdc=no
   2149 fi
   2150 rm -f conftest*
   2151 
   2152 fi
   2153 
   2154 if test $ac_cv_header_stdc = yes; then
   2155   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   2156   if test "$cross_compiling" = yes; then
   2157   :
   2158 else
   2159   cat >conftest.$ac_ext <<_ACEOF
   2160 #line 2160 "configure"
   2161 #include "confdefs.h"
   2162 #include <ctype.h>
   2163 #if ((' ' & 0x0FF) == 0x020)
   2164 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   2165 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   2166 #else
   2167 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
   2168                      || ('j' <= (c) && (c) <= 'r') \
   2169                      || ('s' <= (c) && (c) <= 'z'))
   2170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   2171 #endif
   2172 
   2173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   2174 int
   2175 main ()
   2176 {
   2177   int i;
   2178   for (i = 0; i < 256; i++)
   2179     if (XOR (islower (i), ISLOWER (i))
   2180         || toupper (i) != TOUPPER (i))
   2181       exit(2);
   2182   exit (0);
   2183 }
   2184 _ACEOF
   2185 rm -f conftest$ac_exeext
   2186 if { (eval echo "$as_me:2186: \"$ac_link\"") >&5
   2187   (eval $ac_link) 2>&5
   2188   ac_status=$?
   2189   echo "$as_me:2189: \$? = $ac_status" >&5
   2190   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2191   { (eval echo "$as_me:2191: \"$ac_try\"") >&5
   2192   (eval $ac_try) 2>&5
   2193   ac_status=$?
   2194   echo "$as_me:2194: \$? = $ac_status" >&5
   2195   (exit $ac_status); }; }; then
   2196   :
   2197 else
   2198   echo "$as_me: program exited with status $ac_status" >&5
   2199 echo "$as_me: failed program was:" >&5
   2200 cat conftest.$ac_ext >&5
   2201 ac_cv_header_stdc=no
   2202 fi
   2203 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2204 fi
   2205 fi
   2206 fi
   2207 echo "$as_me:2207: result: $ac_cv_header_stdc" >&5
   2208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   2209 if test $ac_cv_header_stdc = yes; then
   2210 
   2211 cat >>confdefs.h <<\EOF
   2212 #define STDC_HEADERS 1
   2213 EOF
   2214 
   2215 fi
   2216 
   2217 # Confirm existence of zlib.  (This is available as a default install
   2218 # option on many OS's; this could be added as a reachover build in the
   2219 # future.)
   2220 echo "$as_me:2220: checking for zlib.h" >&5
   2221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   2222 if test "${ac_cv_header_zlib_h+set}" = set; then
   2223   echo $ECHO_N "(cached) $ECHO_C" >&6
   2224 else
   2225   cat >conftest.$ac_ext <<_ACEOF
   2226 #line 2226 "configure"
   2227 #include "confdefs.h"
   2228 #include <zlib.h>
   2229 _ACEOF
   2230 if { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
   2231   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2232   ac_status=$?
   2233   egrep -v '^ *\+' conftest.er1 >conftest.err
   2234   rm -f conftest.er1
   2235   cat conftest.err >&5
   2236   echo "$as_me:2236: \$? = $ac_status" >&5
   2237   (exit $ac_status); } >/dev/null; then
   2238   if test -s conftest.err; then
   2239     ac_cpp_err=$ac_c_preproc_warn_flag
   2240   else
   2241     ac_cpp_err=
   2242   fi
   2243 else
   2244   ac_cpp_err=yes
   2245 fi
   2246 if test -z "$ac_cpp_err"; then
   2247   ac_cv_header_zlib_h=yes
   2248 else
   2249   echo "$as_me: failed program was:" >&5
   2250   cat conftest.$ac_ext >&5
   2251   ac_cv_header_zlib_h=no
   2252 fi
   2253 rm -f conftest.err conftest.$ac_ext
   2254 fi
   2255 echo "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
   2256 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   2257 if test $ac_cv_header_zlib_h = yes; then
   2258   :
   2259 else
   2260   { { echo "$as_me:2260: error: zlib must be installed in a compiler-visible path" >&5
   2261 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   2262    { (exit 1); exit 1; }; }
   2263 fi
   2264 
   2265 echo "$as_me:2265: checking for gzdopen in -lz" >&5
   2266 echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
   2267 if test "${ac_cv_lib_z_gzdopen+set}" = set; then
   2268   echo $ECHO_N "(cached) $ECHO_C" >&6
   2269 else
   2270   ac_check_lib_save_LIBS=$LIBS
   2271 LIBS="-lz  $LIBS"
   2272 cat >conftest.$ac_ext <<_ACEOF
   2273 #line 2273 "configure"
   2274 #include "confdefs.h"
   2275 
   2276 /* Override any gcc2 internal prototype to avoid an error.  */
   2277 #ifdef __cplusplus
   2278 extern "C"
   2279 #endif
   2280 /* We use char because int might match the return type of a gcc2
   2281    builtin and then its argument prototype would still apply.  */
   2282 char gzdopen ();
   2283 int
   2284 main ()
   2285 {
   2286 gzdopen ();
   2287   ;
   2288   return 0;
   2289 }
   2290 _ACEOF
   2291 rm -f conftest.$ac_objext conftest$ac_exeext
   2292 if { (eval echo "$as_me:2292: \"$ac_link\"") >&5
   2293   (eval $ac_link) 2>&5
   2294   ac_status=$?
   2295   echo "$as_me:2295: \$? = $ac_status" >&5
   2296   (exit $ac_status); } &&
   2297          { ac_try='test -s conftest$ac_exeext'
   2298   { (eval echo "$as_me:2298: \"$ac_try\"") >&5
   2299   (eval $ac_try) 2>&5
   2300   ac_status=$?
   2301   echo "$as_me:2301: \$? = $ac_status" >&5
   2302   (exit $ac_status); }; }; then
   2303   ac_cv_lib_z_gzdopen=yes
   2304 else
   2305   echo "$as_me: failed program was:" >&5
   2306 cat conftest.$ac_ext >&5
   2307 ac_cv_lib_z_gzdopen=no
   2308 fi
   2309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2310 LIBS=$ac_check_lib_save_LIBS
   2311 fi
   2312 echo "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
   2313 echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
   2314 if test $ac_cv_lib_z_gzdopen = yes; then
   2315   cat >>confdefs.h <<EOF
   2316 #define HAVE_LIBZ 1
   2317 EOF
   2318 
   2319   LIBS="-lz $LIBS"
   2320 
   2321 else
   2322   { { echo "$as_me:2322: error: zlib must be installed in a compiler-visible path" >&5
   2323 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   2324    { (exit 1); exit 1; }; }
   2325 fi
   2326 
   2327 # Make sure certain required headers are available.
   2328 # These are not necessarily required by the code, but they are not
   2329 # currently conditionalized.
   2330 
   2331 for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
   2332 	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
   2333 	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
   2334 	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
   2335 	termios.h unistd.h
   2336 do
   2337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2338 echo "$as_me:2338: checking for $ac_header" >&5
   2339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2341   echo $ECHO_N "(cached) $ECHO_C" >&6
   2342 else
   2343   cat >conftest.$ac_ext <<_ACEOF
   2344 #line 2344 "configure"
   2345 #include "confdefs.h"
   2346 #include <$ac_header>
   2347 _ACEOF
   2348 if { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
   2349   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2350   ac_status=$?
   2351   egrep -v '^ *\+' conftest.er1 >conftest.err
   2352   rm -f conftest.er1
   2353   cat conftest.err >&5
   2354   echo "$as_me:2354: \$? = $ac_status" >&5
   2355   (exit $ac_status); } >/dev/null; then
   2356   if test -s conftest.err; then
   2357     ac_cpp_err=$ac_c_preproc_warn_flag
   2358   else
   2359     ac_cpp_err=
   2360   fi
   2361 else
   2362   ac_cpp_err=yes
   2363 fi
   2364 if test -z "$ac_cpp_err"; then
   2365   eval "$as_ac_Header=yes"
   2366 else
   2367   echo "$as_me: failed program was:" >&5
   2368   cat conftest.$ac_ext >&5
   2369   eval "$as_ac_Header=no"
   2370 fi
   2371 rm -f conftest.err conftest.$ac_ext
   2372 fi
   2373 echo "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2376   cat >>confdefs.h <<EOF
   2377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2378 EOF
   2379 
   2380 else
   2381   { { echo "$as_me:2381: error: standard system header file not found" >&5
   2382 echo "$as_me: error: standard system header file not found" >&2;}
   2383    { (exit 1); exit 1; }; }
   2384 fi
   2385 done
   2386 
   2387 # Find headers that may not be available.
   2388 
   2389 ac_header_dirent=no
   2390 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   2391   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   2392 echo "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
   2393 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   2394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2395   echo $ECHO_N "(cached) $ECHO_C" >&6
   2396 else
   2397   cat >conftest.$ac_ext <<_ACEOF
   2398 #line 2398 "configure"
   2399 #include "confdefs.h"
   2400 #include <sys/types.h>
   2401 #include <$ac_hdr>
   2402 
   2403 int
   2404 main ()
   2405 {
   2406 if ((DIR *) 0)
   2407 return 0;
   2408   ;
   2409   return 0;
   2410 }
   2411 _ACEOF
   2412 rm -f conftest.$ac_objext
   2413 if { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
   2414   (eval $ac_compile) 2>&5
   2415   ac_status=$?
   2416   echo "$as_me:2416: \$? = $ac_status" >&5
   2417   (exit $ac_status); } &&
   2418          { ac_try='test -s conftest.$ac_objext'
   2419   { (eval echo "$as_me:2419: \"$ac_try\"") >&5
   2420   (eval $ac_try) 2>&5
   2421   ac_status=$?
   2422   echo "$as_me:2422: \$? = $ac_status" >&5
   2423   (exit $ac_status); }; }; then
   2424   eval "$as_ac_Header=yes"
   2425 else
   2426   echo "$as_me: failed program was:" >&5
   2427 cat conftest.$ac_ext >&5
   2428 eval "$as_ac_Header=no"
   2429 fi
   2430 rm -f conftest.$ac_objext conftest.$ac_ext
   2431 fi
   2432 echo "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2435   cat >>confdefs.h <<EOF
   2436 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   2437 EOF
   2438 
   2439 ac_header_dirent=$ac_hdr; break
   2440 fi
   2441 
   2442 done
   2443 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   2444 if test $ac_header_dirent = dirent.h; then
   2445   echo "$as_me:2445: checking for opendir in -ldir" >&5
   2446 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
   2447 if test "${ac_cv_lib_dir_opendir+set}" = set; then
   2448   echo $ECHO_N "(cached) $ECHO_C" >&6
   2449 else
   2450   ac_check_lib_save_LIBS=$LIBS
   2451 LIBS="-ldir  $LIBS"
   2452 cat >conftest.$ac_ext <<_ACEOF
   2453 #line 2453 "configure"
   2454 #include "confdefs.h"
   2455 
   2456 /* Override any gcc2 internal prototype to avoid an error.  */
   2457 #ifdef __cplusplus
   2458 extern "C"
   2459 #endif
   2460 /* We use char because int might match the return type of a gcc2
   2461    builtin and then its argument prototype would still apply.  */
   2462 char opendir ();
   2463 int
   2464 main ()
   2465 {
   2466 opendir ();
   2467   ;
   2468   return 0;
   2469 }
   2470 _ACEOF
   2471 rm -f conftest.$ac_objext conftest$ac_exeext
   2472 if { (eval echo "$as_me:2472: \"$ac_link\"") >&5
   2473   (eval $ac_link) 2>&5
   2474   ac_status=$?
   2475   echo "$as_me:2475: \$? = $ac_status" >&5
   2476   (exit $ac_status); } &&
   2477          { ac_try='test -s conftest$ac_exeext'
   2478   { (eval echo "$as_me:2478: \"$ac_try\"") >&5
   2479   (eval $ac_try) 2>&5
   2480   ac_status=$?
   2481   echo "$as_me:2481: \$? = $ac_status" >&5
   2482   (exit $ac_status); }; }; then
   2483   ac_cv_lib_dir_opendir=yes
   2484 else
   2485   echo "$as_me: failed program was:" >&5
   2486 cat conftest.$ac_ext >&5
   2487 ac_cv_lib_dir_opendir=no
   2488 fi
   2489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2490 LIBS=$ac_check_lib_save_LIBS
   2491 fi
   2492 echo "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
   2493 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
   2494 if test $ac_cv_lib_dir_opendir = yes; then
   2495   LIBS="$LIBS -ldir"
   2496 fi
   2497 
   2498 else
   2499   echo "$as_me:2499: checking for opendir in -lx" >&5
   2500 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
   2501 if test "${ac_cv_lib_x_opendir+set}" = set; then
   2502   echo $ECHO_N "(cached) $ECHO_C" >&6
   2503 else
   2504   ac_check_lib_save_LIBS=$LIBS
   2505 LIBS="-lx  $LIBS"
   2506 cat >conftest.$ac_ext <<_ACEOF
   2507 #line 2507 "configure"
   2508 #include "confdefs.h"
   2509 
   2510 /* Override any gcc2 internal prototype to avoid an error.  */
   2511 #ifdef __cplusplus
   2512 extern "C"
   2513 #endif
   2514 /* We use char because int might match the return type of a gcc2
   2515    builtin and then its argument prototype would still apply.  */
   2516 char opendir ();
   2517 int
   2518 main ()
   2519 {
   2520 opendir ();
   2521   ;
   2522   return 0;
   2523 }
   2524 _ACEOF
   2525 rm -f conftest.$ac_objext conftest$ac_exeext
   2526 if { (eval echo "$as_me:2526: \"$ac_link\"") >&5
   2527   (eval $ac_link) 2>&5
   2528   ac_status=$?
   2529   echo "$as_me:2529: \$? = $ac_status" >&5
   2530   (exit $ac_status); } &&
   2531          { ac_try='test -s conftest$ac_exeext'
   2532   { (eval echo "$as_me:2532: \"$ac_try\"") >&5
   2533   (eval $ac_try) 2>&5
   2534   ac_status=$?
   2535   echo "$as_me:2535: \$? = $ac_status" >&5
   2536   (exit $ac_status); }; }; then
   2537   ac_cv_lib_x_opendir=yes
   2538 else
   2539   echo "$as_me: failed program was:" >&5
   2540 cat conftest.$ac_ext >&5
   2541 ac_cv_lib_x_opendir=no
   2542 fi
   2543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   2544 LIBS=$ac_check_lib_save_LIBS
   2545 fi
   2546 echo "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
   2547 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
   2548 if test $ac_cv_lib_x_opendir = yes; then
   2549   LIBS="$LIBS -lx"
   2550 fi
   2551 
   2552 fi
   2553 
   2554 for ac_header in sys/sysmacros.h sys/syslimits.h \
   2555 	getopt.h features.h malloc.h sys/poll.h stddef.h
   2556 do
   2557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2558 echo "$as_me:2558: checking for $ac_header" >&5
   2559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2561   echo $ECHO_N "(cached) $ECHO_C" >&6
   2562 else
   2563   cat >conftest.$ac_ext <<_ACEOF
   2564 #line 2564 "configure"
   2565 #include "confdefs.h"
   2566 #include <$ac_header>
   2567 _ACEOF
   2568 if { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
   2569   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2570   ac_status=$?
   2571   egrep -v '^ *\+' conftest.er1 >conftest.err
   2572   rm -f conftest.er1
   2573   cat conftest.err >&5
   2574   echo "$as_me:2574: \$? = $ac_status" >&5
   2575   (exit $ac_status); } >/dev/null; then
   2576   if test -s conftest.err; then
   2577     ac_cpp_err=$ac_c_preproc_warn_flag
   2578   else
   2579     ac_cpp_err=
   2580   fi
   2581 else
   2582   ac_cpp_err=yes
   2583 fi
   2584 if test -z "$ac_cpp_err"; then
   2585   eval "$as_ac_Header=yes"
   2586 else
   2587   echo "$as_me: failed program was:" >&5
   2588   cat conftest.$ac_ext >&5
   2589   eval "$as_ac_Header=no"
   2590 fi
   2591 rm -f conftest.err conftest.$ac_ext
   2592 fi
   2593 echo "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2596   cat >>confdefs.h <<EOF
   2597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2598 EOF
   2599 
   2600 fi
   2601 done
   2602 
   2603 for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
   2604 	sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
   2605 do
   2606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2607 echo "$as_me:2607: checking for $ac_header" >&5
   2608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2610   echo $ECHO_N "(cached) $ECHO_C" >&6
   2611 else
   2612   cat >conftest.$ac_ext <<_ACEOF
   2613 #line 2613 "configure"
   2614 #include "confdefs.h"
   2615 #include <$ac_header>
   2616 _ACEOF
   2617 if { (eval echo "$as_me:2617: \"$ac_cpp conftest.$ac_ext\"") >&5
   2618   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2619   ac_status=$?
   2620   egrep -v '^ *\+' conftest.er1 >conftest.err
   2621   rm -f conftest.er1
   2622   cat conftest.err >&5
   2623   echo "$as_me:2623: \$? = $ac_status" >&5
   2624   (exit $ac_status); } >/dev/null; then
   2625   if test -s conftest.err; then
   2626     ac_cpp_err=$ac_c_preproc_warn_flag
   2627   else
   2628     ac_cpp_err=
   2629   fi
   2630 else
   2631   ac_cpp_err=yes
   2632 fi
   2633 if test -z "$ac_cpp_err"; then
   2634   eval "$as_ac_Header=yes"
   2635 else
   2636   echo "$as_me: failed program was:" >&5
   2637   cat conftest.$ac_ext >&5
   2638   eval "$as_ac_Header=no"
   2639 fi
   2640 rm -f conftest.err conftest.$ac_ext
   2641 fi
   2642 echo "$as_me:2642: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2645   cat >>confdefs.h <<EOF
   2646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2647 EOF
   2648 
   2649 else
   2650   test -f include/$ac_header || touch include/$ac_header
   2651 fi
   2652 done
   2653 
   2654 for ac_header in rpc/types.h netconfig.h
   2655 do
   2656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2657 echo "$as_me:2657: checking for $ac_header" >&5
   2658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2660   echo $ECHO_N "(cached) $ECHO_C" >&6
   2661 else
   2662   cat >conftest.$ac_ext <<_ACEOF
   2663 #line 2663 "configure"
   2664 #include "confdefs.h"
   2665 #include <$ac_header>
   2666 _ACEOF
   2667 if { (eval echo "$as_me:2667: \"$ac_cpp conftest.$ac_ext\"") >&5
   2668   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2669   ac_status=$?
   2670   egrep -v '^ *\+' conftest.er1 >conftest.err
   2671   rm -f conftest.er1
   2672   cat conftest.err >&5
   2673   echo "$as_me:2673: \$? = $ac_status" >&5
   2674   (exit $ac_status); } >/dev/null; then
   2675   if test -s conftest.err; then
   2676     ac_cpp_err=$ac_c_preproc_warn_flag
   2677   else
   2678     ac_cpp_err=
   2679   fi
   2680 else
   2681   ac_cpp_err=yes
   2682 fi
   2683 if test -z "$ac_cpp_err"; then
   2684   eval "$as_ac_Header=yes"
   2685 else
   2686   echo "$as_me: failed program was:" >&5
   2687   cat conftest.$ac_ext >&5
   2688   eval "$as_ac_Header=no"
   2689 fi
   2690 rm -f conftest.err conftest.$ac_ext
   2691 fi
   2692 echo "$as_me:2692: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2695   cat >>confdefs.h <<EOF
   2696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2697 EOF
   2698 
   2699 else
   2700   echo '#include "nbtool_config.h"' >include/$ac_header.new
   2701 	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
   2702 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   2703 		rm -f include/$ac_header.new
   2704 	else
   2705 		mv -f include/$ac_header.new include/$ac_header
   2706 	fi
   2707 fi
   2708 done
   2709 
   2710 # Typedefs.
   2711 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   2712 
   2713 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   2714                   inttypes.h stdint.h unistd.h
   2715 do
   2716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2717 echo "$as_me:2717: checking for $ac_header" >&5
   2718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2720   echo $ECHO_N "(cached) $ECHO_C" >&6
   2721 else
   2722   cat >conftest.$ac_ext <<_ACEOF
   2723 #line 2723 "configure"
   2724 #include "confdefs.h"
   2725 $ac_includes_default
   2726 #include <$ac_header>
   2727 _ACEOF
   2728 rm -f conftest.$ac_objext
   2729 if { (eval echo "$as_me:2729: \"$ac_compile\"") >&5
   2730   (eval $ac_compile) 2>&5
   2731   ac_status=$?
   2732   echo "$as_me:2732: \$? = $ac_status" >&5
   2733   (exit $ac_status); } &&
   2734          { ac_try='test -s conftest.$ac_objext'
   2735   { (eval echo "$as_me:2735: \"$ac_try\"") >&5
   2736   (eval $ac_try) 2>&5
   2737   ac_status=$?
   2738   echo "$as_me:2738: \$? = $ac_status" >&5
   2739   (exit $ac_status); }; }; then
   2740   eval "$as_ac_Header=yes"
   2741 else
   2742   echo "$as_me: failed program was:" >&5
   2743 cat conftest.$ac_ext >&5
   2744 eval "$as_ac_Header=no"
   2745 fi
   2746 rm -f conftest.$ac_objext conftest.$ac_ext
   2747 fi
   2748 echo "$as_me:2748: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2751   cat >>confdefs.h <<EOF
   2752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   2753 EOF
   2754 
   2755 fi
   2756 done
   2757 
   2758 echo "$as_me:2758: checking for size_t" >&5
   2759 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   2760 if test "${ac_cv_type_size_t+set}" = set; then
   2761   echo $ECHO_N "(cached) $ECHO_C" >&6
   2762 else
   2763   cat >conftest.$ac_ext <<_ACEOF
   2764 #line 2764 "configure"
   2765 #include "confdefs.h"
   2766 $ac_includes_default
   2767 int
   2768 main ()
   2769 {
   2770 if ((size_t *) 0)
   2771   return 0;
   2772 if (sizeof (size_t))
   2773   return 0;
   2774   ;
   2775   return 0;
   2776 }
   2777 _ACEOF
   2778 rm -f conftest.$ac_objext
   2779 if { (eval echo "$as_me:2779: \"$ac_compile\"") >&5
   2780   (eval $ac_compile) 2>&5
   2781   ac_status=$?
   2782   echo "$as_me:2782: \$? = $ac_status" >&5
   2783   (exit $ac_status); } &&
   2784          { ac_try='test -s conftest.$ac_objext'
   2785   { (eval echo "$as_me:2785: \"$ac_try\"") >&5
   2786   (eval $ac_try) 2>&5
   2787   ac_status=$?
   2788   echo "$as_me:2788: \$? = $ac_status" >&5
   2789   (exit $ac_status); }; }; then
   2790   ac_cv_type_size_t=yes
   2791 else
   2792   echo "$as_me: failed program was:" >&5
   2793 cat conftest.$ac_ext >&5
   2794 ac_cv_type_size_t=no
   2795 fi
   2796 rm -f conftest.$ac_objext conftest.$ac_ext
   2797 fi
   2798 echo "$as_me:2798: result: $ac_cv_type_size_t" >&5
   2799 echo "${ECHO_T}$ac_cv_type_size_t" >&6
   2800 if test $ac_cv_type_size_t = yes; then
   2801   :
   2802 else
   2803 
   2804 cat >>confdefs.h <<EOF
   2805 #define size_t unsigned
   2806 EOF
   2807 
   2808 fi
   2809 
   2810 echo "$as_me:2810: checking for id_t" >&5
   2811 echo $ECHO_N "checking for id_t... $ECHO_C" >&6
   2812 if test "${ac_cv_type_id_t+set}" = set; then
   2813   echo $ECHO_N "(cached) $ECHO_C" >&6
   2814 else
   2815   cat >conftest.$ac_ext <<_ACEOF
   2816 #line 2816 "configure"
   2817 #include "confdefs.h"
   2818 $ac_includes_default
   2819 int
   2820 main ()
   2821 {
   2822 if ((id_t *) 0)
   2823   return 0;
   2824 if (sizeof (id_t))
   2825   return 0;
   2826   ;
   2827   return 0;
   2828 }
   2829 _ACEOF
   2830 rm -f conftest.$ac_objext
   2831 if { (eval echo "$as_me:2831: \"$ac_compile\"") >&5
   2832   (eval $ac_compile) 2>&5
   2833   ac_status=$?
   2834   echo "$as_me:2834: \$? = $ac_status" >&5
   2835   (exit $ac_status); } &&
   2836          { ac_try='test -s conftest.$ac_objext'
   2837   { (eval echo "$as_me:2837: \"$ac_try\"") >&5
   2838   (eval $ac_try) 2>&5
   2839   ac_status=$?
   2840   echo "$as_me:2840: \$? = $ac_status" >&5
   2841   (exit $ac_status); }; }; then
   2842   ac_cv_type_id_t=yes
   2843 else
   2844   echo "$as_me: failed program was:" >&5
   2845 cat conftest.$ac_ext >&5
   2846 ac_cv_type_id_t=no
   2847 fi
   2848 rm -f conftest.$ac_objext conftest.$ac_ext
   2849 fi
   2850 echo "$as_me:2850: result: $ac_cv_type_id_t" >&5
   2851 echo "${ECHO_T}$ac_cv_type_id_t" >&6
   2852 if test $ac_cv_type_id_t = yes; then
   2853 
   2854 cat >>confdefs.h <<EOF
   2855 #define HAVE_ID_T 1
   2856 EOF
   2857 
   2858 fi
   2859 echo "$as_me:2859: checking for long long" >&5
   2860 echo $ECHO_N "checking for long long... $ECHO_C" >&6
   2861 if test "${ac_cv_type_long_long+set}" = set; then
   2862   echo $ECHO_N "(cached) $ECHO_C" >&6
   2863 else
   2864   cat >conftest.$ac_ext <<_ACEOF
   2865 #line 2865 "configure"
   2866 #include "confdefs.h"
   2867 $ac_includes_default
   2868 int
   2869 main ()
   2870 {
   2871 if ((long long *) 0)
   2872   return 0;
   2873 if (sizeof (long long))
   2874   return 0;
   2875   ;
   2876   return 0;
   2877 }
   2878 _ACEOF
   2879 rm -f conftest.$ac_objext
   2880 if { (eval echo "$as_me:2880: \"$ac_compile\"") >&5
   2881   (eval $ac_compile) 2>&5
   2882   ac_status=$?
   2883   echo "$as_me:2883: \$? = $ac_status" >&5
   2884   (exit $ac_status); } &&
   2885          { ac_try='test -s conftest.$ac_objext'
   2886   { (eval echo "$as_me:2886: \"$ac_try\"") >&5
   2887   (eval $ac_try) 2>&5
   2888   ac_status=$?
   2889   echo "$as_me:2889: \$? = $ac_status" >&5
   2890   (exit $ac_status); }; }; then
   2891   ac_cv_type_long_long=yes
   2892 else
   2893   echo "$as_me: failed program was:" >&5
   2894 cat conftest.$ac_ext >&5
   2895 ac_cv_type_long_long=no
   2896 fi
   2897 rm -f conftest.$ac_objext conftest.$ac_ext
   2898 fi
   2899 echo "$as_me:2899: result: $ac_cv_type_long_long" >&5
   2900 echo "${ECHO_T}$ac_cv_type_long_long" >&6
   2901 if test $ac_cv_type_long_long = yes; then
   2902 
   2903 cat >>confdefs.h <<EOF
   2904 #define HAVE_LONG_LONG 1
   2905 EOF
   2906 
   2907 fi
   2908 echo "$as_me:2908: checking for u_long" >&5
   2909 echo $ECHO_N "checking for u_long... $ECHO_C" >&6
   2910 if test "${ac_cv_type_u_long+set}" = set; then
   2911   echo $ECHO_N "(cached) $ECHO_C" >&6
   2912 else
   2913   cat >conftest.$ac_ext <<_ACEOF
   2914 #line 2914 "configure"
   2915 #include "confdefs.h"
   2916 $ac_includes_default
   2917 int
   2918 main ()
   2919 {
   2920 if ((u_long *) 0)
   2921   return 0;
   2922 if (sizeof (u_long))
   2923   return 0;
   2924   ;
   2925   return 0;
   2926 }
   2927 _ACEOF
   2928 rm -f conftest.$ac_objext
   2929 if { (eval echo "$as_me:2929: \"$ac_compile\"") >&5
   2930   (eval $ac_compile) 2>&5
   2931   ac_status=$?
   2932   echo "$as_me:2932: \$? = $ac_status" >&5
   2933   (exit $ac_status); } &&
   2934          { ac_try='test -s conftest.$ac_objext'
   2935   { (eval echo "$as_me:2935: \"$ac_try\"") >&5
   2936   (eval $ac_try) 2>&5
   2937   ac_status=$?
   2938   echo "$as_me:2938: \$? = $ac_status" >&5
   2939   (exit $ac_status); }; }; then
   2940   ac_cv_type_u_long=yes
   2941 else
   2942   echo "$as_me: failed program was:" >&5
   2943 cat conftest.$ac_ext >&5
   2944 ac_cv_type_u_long=no
   2945 fi
   2946 rm -f conftest.$ac_objext conftest.$ac_ext
   2947 fi
   2948 echo "$as_me:2948: result: $ac_cv_type_u_long" >&5
   2949 echo "${ECHO_T}$ac_cv_type_u_long" >&6
   2950 if test $ac_cv_type_u_long = yes; then
   2951 
   2952 cat >>confdefs.h <<EOF
   2953 #define HAVE_U_LONG 1
   2954 EOF
   2955 
   2956 fi
   2957 echo "$as_me:2957: checking for u_char" >&5
   2958 echo $ECHO_N "checking for u_char... $ECHO_C" >&6
   2959 if test "${ac_cv_type_u_char+set}" = set; then
   2960   echo $ECHO_N "(cached) $ECHO_C" >&6
   2961 else
   2962   cat >conftest.$ac_ext <<_ACEOF
   2963 #line 2963 "configure"
   2964 #include "confdefs.h"
   2965 $ac_includes_default
   2966 int
   2967 main ()
   2968 {
   2969 if ((u_char *) 0)
   2970   return 0;
   2971 if (sizeof (u_char))
   2972   return 0;
   2973   ;
   2974   return 0;
   2975 }
   2976 _ACEOF
   2977 rm -f conftest.$ac_objext
   2978 if { (eval echo "$as_me:2978: \"$ac_compile\"") >&5
   2979   (eval $ac_compile) 2>&5
   2980   ac_status=$?
   2981   echo "$as_me:2981: \$? = $ac_status" >&5
   2982   (exit $ac_status); } &&
   2983          { ac_try='test -s conftest.$ac_objext'
   2984   { (eval echo "$as_me:2984: \"$ac_try\"") >&5
   2985   (eval $ac_try) 2>&5
   2986   ac_status=$?
   2987   echo "$as_me:2987: \$? = $ac_status" >&5
   2988   (exit $ac_status); }; }; then
   2989   ac_cv_type_u_char=yes
   2990 else
   2991   echo "$as_me: failed program was:" >&5
   2992 cat conftest.$ac_ext >&5
   2993 ac_cv_type_u_char=no
   2994 fi
   2995 rm -f conftest.$ac_objext conftest.$ac_ext
   2996 fi
   2997 echo "$as_me:2997: result: $ac_cv_type_u_char" >&5
   2998 echo "${ECHO_T}$ac_cv_type_u_char" >&6
   2999 if test $ac_cv_type_u_char = yes; then
   3000 
   3001 cat >>confdefs.h <<EOF
   3002 #define HAVE_U_CHAR 1
   3003 EOF
   3004 
   3005 fi
   3006 echo "$as_me:3006: checking for u_short" >&5
   3007 echo $ECHO_N "checking for u_short... $ECHO_C" >&6
   3008 if test "${ac_cv_type_u_short+set}" = set; then
   3009   echo $ECHO_N "(cached) $ECHO_C" >&6
   3010 else
   3011   cat >conftest.$ac_ext <<_ACEOF
   3012 #line 3012 "configure"
   3013 #include "confdefs.h"
   3014 $ac_includes_default
   3015 int
   3016 main ()
   3017 {
   3018 if ((u_short *) 0)
   3019   return 0;
   3020 if (sizeof (u_short))
   3021   return 0;
   3022   ;
   3023   return 0;
   3024 }
   3025 _ACEOF
   3026 rm -f conftest.$ac_objext
   3027 if { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
   3028   (eval $ac_compile) 2>&5
   3029   ac_status=$?
   3030   echo "$as_me:3030: \$? = $ac_status" >&5
   3031   (exit $ac_status); } &&
   3032          { ac_try='test -s conftest.$ac_objext'
   3033   { (eval echo "$as_me:3033: \"$ac_try\"") >&5
   3034   (eval $ac_try) 2>&5
   3035   ac_status=$?
   3036   echo "$as_me:3036: \$? = $ac_status" >&5
   3037   (exit $ac_status); }; }; then
   3038   ac_cv_type_u_short=yes
   3039 else
   3040   echo "$as_me: failed program was:" >&5
   3041 cat conftest.$ac_ext >&5
   3042 ac_cv_type_u_short=no
   3043 fi
   3044 rm -f conftest.$ac_objext conftest.$ac_ext
   3045 fi
   3046 echo "$as_me:3046: result: $ac_cv_type_u_short" >&5
   3047 echo "${ECHO_T}$ac_cv_type_u_short" >&6
   3048 if test $ac_cv_type_u_short = yes; then
   3049 
   3050 cat >>confdefs.h <<EOF
   3051 #define HAVE_U_SHORT 1
   3052 EOF
   3053 
   3054 fi
   3055 echo "$as_me:3055: checking for u_int" >&5
   3056 echo $ECHO_N "checking for u_int... $ECHO_C" >&6
   3057 if test "${ac_cv_type_u_int+set}" = set; then
   3058   echo $ECHO_N "(cached) $ECHO_C" >&6
   3059 else
   3060   cat >conftest.$ac_ext <<_ACEOF
   3061 #line 3061 "configure"
   3062 #include "confdefs.h"
   3063 $ac_includes_default
   3064 int
   3065 main ()
   3066 {
   3067 if ((u_int *) 0)
   3068   return 0;
   3069 if (sizeof (u_int))
   3070   return 0;
   3071   ;
   3072   return 0;
   3073 }
   3074 _ACEOF
   3075 rm -f conftest.$ac_objext
   3076 if { (eval echo "$as_me:3076: \"$ac_compile\"") >&5
   3077   (eval $ac_compile) 2>&5
   3078   ac_status=$?
   3079   echo "$as_me:3079: \$? = $ac_status" >&5
   3080   (exit $ac_status); } &&
   3081          { ac_try='test -s conftest.$ac_objext'
   3082   { (eval echo "$as_me:3082: \"$ac_try\"") >&5
   3083   (eval $ac_try) 2>&5
   3084   ac_status=$?
   3085   echo "$as_me:3085: \$? = $ac_status" >&5
   3086   (exit $ac_status); }; }; then
   3087   ac_cv_type_u_int=yes
   3088 else
   3089   echo "$as_me: failed program was:" >&5
   3090 cat conftest.$ac_ext >&5
   3091 ac_cv_type_u_int=no
   3092 fi
   3093 rm -f conftest.$ac_objext conftest.$ac_ext
   3094 fi
   3095 echo "$as_me:3095: result: $ac_cv_type_u_int" >&5
   3096 echo "${ECHO_T}$ac_cv_type_u_int" >&6
   3097 if test $ac_cv_type_u_int = yes; then
   3098 
   3099 cat >>confdefs.h <<EOF
   3100 #define HAVE_U_INT 1
   3101 EOF
   3102 
   3103 fi
   3104 echo "$as_me:3104: checking for u_quad_t" >&5
   3105 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
   3106 if test "${ac_cv_type_u_quad_t+set}" = set; then
   3107   echo $ECHO_N "(cached) $ECHO_C" >&6
   3108 else
   3109   cat >conftest.$ac_ext <<_ACEOF
   3110 #line 3110 "configure"
   3111 #include "confdefs.h"
   3112 $ac_includes_default
   3113 int
   3114 main ()
   3115 {
   3116 if ((u_quad_t *) 0)
   3117   return 0;
   3118 if (sizeof (u_quad_t))
   3119   return 0;
   3120   ;
   3121   return 0;
   3122 }
   3123 _ACEOF
   3124 rm -f conftest.$ac_objext
   3125 if { (eval echo "$as_me:3125: \"$ac_compile\"") >&5
   3126   (eval $ac_compile) 2>&5
   3127   ac_status=$?
   3128   echo "$as_me:3128: \$? = $ac_status" >&5
   3129   (exit $ac_status); } &&
   3130          { ac_try='test -s conftest.$ac_objext'
   3131   { (eval echo "$as_me:3131: \"$ac_try\"") >&5
   3132   (eval $ac_try) 2>&5
   3133   ac_status=$?
   3134   echo "$as_me:3134: \$? = $ac_status" >&5
   3135   (exit $ac_status); }; }; then
   3136   ac_cv_type_u_quad_t=yes
   3137 else
   3138   echo "$as_me: failed program was:" >&5
   3139 cat conftest.$ac_ext >&5
   3140 ac_cv_type_u_quad_t=no
   3141 fi
   3142 rm -f conftest.$ac_objext conftest.$ac_ext
   3143 fi
   3144 echo "$as_me:3144: result: $ac_cv_type_u_quad_t" >&5
   3145 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
   3146 if test $ac_cv_type_u_quad_t = yes; then
   3147 
   3148 cat >>confdefs.h <<EOF
   3149 #define HAVE_U_QUAD_T 1
   3150 EOF
   3151 
   3152 fi
   3153 
   3154 echo "$as_me:3154: checking for socklen_t" >&5
   3155 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
   3156 if test "${ac_cv_type_socklen_t+set}" = set; then
   3157   echo $ECHO_N "(cached) $ECHO_C" >&6
   3158 else
   3159   cat >conftest.$ac_ext <<_ACEOF
   3160 #line 3160 "configure"
   3161 #include "confdefs.h"
   3162 #include <sys/types.h>
   3163 #include <sys/socket.h>
   3164 
   3165 int
   3166 main ()
   3167 {
   3168 if ((socklen_t *) 0)
   3169   return 0;
   3170 if (sizeof (socklen_t))
   3171   return 0;
   3172   ;
   3173   return 0;
   3174 }
   3175 _ACEOF
   3176 rm -f conftest.$ac_objext
   3177 if { (eval echo "$as_me:3177: \"$ac_compile\"") >&5
   3178   (eval $ac_compile) 2>&5
   3179   ac_status=$?
   3180   echo "$as_me:3180: \$? = $ac_status" >&5
   3181   (exit $ac_status); } &&
   3182          { ac_try='test -s conftest.$ac_objext'
   3183   { (eval echo "$as_me:3183: \"$ac_try\"") >&5
   3184   (eval $ac_try) 2>&5
   3185   ac_status=$?
   3186   echo "$as_me:3186: \$? = $ac_status" >&5
   3187   (exit $ac_status); }; }; then
   3188   ac_cv_type_socklen_t=yes
   3189 else
   3190   echo "$as_me: failed program was:" >&5
   3191 cat conftest.$ac_ext >&5
   3192 ac_cv_type_socklen_t=no
   3193 fi
   3194 rm -f conftest.$ac_objext conftest.$ac_ext
   3195 fi
   3196 echo "$as_me:3196: result: $ac_cv_type_socklen_t" >&5
   3197 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
   3198 if test $ac_cv_type_socklen_t = yes; then
   3199 
   3200 cat >>confdefs.h <<\EOF
   3201 #define HAVE_SOCKLEN_T 1
   3202 EOF
   3203 
   3204 fi
   3205 
   3206 	echo "$as_me:3206: checking for uint8_t" >&5
   3207 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   3208 if test "${ac_cv_type_uint8_t+set}" = set; then
   3209   echo $ECHO_N "(cached) $ECHO_C" >&6
   3210 else
   3211   cat >conftest.$ac_ext <<_ACEOF
   3212 #line 3212 "configure"
   3213 #include "confdefs.h"
   3214 $ac_includes_default
   3215 int
   3216 main ()
   3217 {
   3218 if ((uint8_t *) 0)
   3219   return 0;
   3220 if (sizeof (uint8_t))
   3221   return 0;
   3222   ;
   3223   return 0;
   3224 }
   3225 _ACEOF
   3226 rm -f conftest.$ac_objext
   3227 if { (eval echo "$as_me:3227: \"$ac_compile\"") >&5
   3228   (eval $ac_compile) 2>&5
   3229   ac_status=$?
   3230   echo "$as_me:3230: \$? = $ac_status" >&5
   3231   (exit $ac_status); } &&
   3232          { ac_try='test -s conftest.$ac_objext'
   3233   { (eval echo "$as_me:3233: \"$ac_try\"") >&5
   3234   (eval $ac_try) 2>&5
   3235   ac_status=$?
   3236   echo "$as_me:3236: \$? = $ac_status" >&5
   3237   (exit $ac_status); }; }; then
   3238   ac_cv_type_uint8_t=yes
   3239 else
   3240   echo "$as_me: failed program was:" >&5
   3241 cat conftest.$ac_ext >&5
   3242 ac_cv_type_uint8_t=no
   3243 fi
   3244 rm -f conftest.$ac_objext conftest.$ac_ext
   3245 fi
   3246 echo "$as_me:3246: result: $ac_cv_type_uint8_t" >&5
   3247 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   3248 if test $ac_cv_type_uint8_t = yes; then
   3249   :
   3250 else
   3251 
   3252 		echo "$as_me:3252: checking for u_int8_t" >&5
   3253 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   3254 if test "${ac_cv_type_u_int8_t+set}" = set; then
   3255   echo $ECHO_N "(cached) $ECHO_C" >&6
   3256 else
   3257   cat >conftest.$ac_ext <<_ACEOF
   3258 #line 3258 "configure"
   3259 #include "confdefs.h"
   3260 $ac_includes_default
   3261 int
   3262 main ()
   3263 {
   3264 if ((u_int8_t *) 0)
   3265   return 0;
   3266 if (sizeof (u_int8_t))
   3267   return 0;
   3268   ;
   3269   return 0;
   3270 }
   3271 _ACEOF
   3272 rm -f conftest.$ac_objext
   3273 if { (eval echo "$as_me:3273: \"$ac_compile\"") >&5
   3274   (eval $ac_compile) 2>&5
   3275   ac_status=$?
   3276   echo "$as_me:3276: \$? = $ac_status" >&5
   3277   (exit $ac_status); } &&
   3278          { ac_try='test -s conftest.$ac_objext'
   3279   { (eval echo "$as_me:3279: \"$ac_try\"") >&5
   3280   (eval $ac_try) 2>&5
   3281   ac_status=$?
   3282   echo "$as_me:3282: \$? = $ac_status" >&5
   3283   (exit $ac_status); }; }; then
   3284   ac_cv_type_u_int8_t=yes
   3285 else
   3286   echo "$as_me: failed program was:" >&5
   3287 cat conftest.$ac_ext >&5
   3288 ac_cv_type_u_int8_t=no
   3289 fi
   3290 rm -f conftest.$ac_objext conftest.$ac_ext
   3291 fi
   3292 echo "$as_me:3292: result: $ac_cv_type_u_int8_t" >&5
   3293 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   3294 if test $ac_cv_type_u_int8_t = yes; then
   3295 
   3296 cat >>confdefs.h <<\EOF
   3297 #define uint8_t u_int8_t
   3298 EOF
   3299 
   3300 else
   3301   { { echo "$as_me:3301: error: cannot find a suitable type for uint8_t" >&5
   3302 echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
   3303    { (exit 1); exit 1; }; }
   3304 fi
   3305 
   3306 fi
   3307 
   3308 	echo "$as_me:3308: checking for u_int8_t" >&5
   3309 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   3310 if test "${ac_cv_type_u_int8_t+set}" = set; then
   3311   echo $ECHO_N "(cached) $ECHO_C" >&6
   3312 else
   3313   cat >conftest.$ac_ext <<_ACEOF
   3314 #line 3314 "configure"
   3315 #include "confdefs.h"
   3316 $ac_includes_default
   3317 int
   3318 main ()
   3319 {
   3320 if ((u_int8_t *) 0)
   3321   return 0;
   3322 if (sizeof (u_int8_t))
   3323   return 0;
   3324   ;
   3325   return 0;
   3326 }
   3327 _ACEOF
   3328 rm -f conftest.$ac_objext
   3329 if { (eval echo "$as_me:3329: \"$ac_compile\"") >&5
   3330   (eval $ac_compile) 2>&5
   3331   ac_status=$?
   3332   echo "$as_me:3332: \$? = $ac_status" >&5
   3333   (exit $ac_status); } &&
   3334          { ac_try='test -s conftest.$ac_objext'
   3335   { (eval echo "$as_me:3335: \"$ac_try\"") >&5
   3336   (eval $ac_try) 2>&5
   3337   ac_status=$?
   3338   echo "$as_me:3338: \$? = $ac_status" >&5
   3339   (exit $ac_status); }; }; then
   3340   ac_cv_type_u_int8_t=yes
   3341 else
   3342   echo "$as_me: failed program was:" >&5
   3343 cat conftest.$ac_ext >&5
   3344 ac_cv_type_u_int8_t=no
   3345 fi
   3346 rm -f conftest.$ac_objext conftest.$ac_ext
   3347 fi
   3348 echo "$as_me:3348: result: $ac_cv_type_u_int8_t" >&5
   3349 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   3350 if test $ac_cv_type_u_int8_t = yes; then
   3351   :
   3352 else
   3353 
   3354 		echo "$as_me:3354: checking for uint8_t" >&5
   3355 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   3356 if test "${ac_cv_type_uint8_t+set}" = set; then
   3357   echo $ECHO_N "(cached) $ECHO_C" >&6
   3358 else
   3359   cat >conftest.$ac_ext <<_ACEOF
   3360 #line 3360 "configure"
   3361 #include "confdefs.h"
   3362 $ac_includes_default
   3363 int
   3364 main ()
   3365 {
   3366 if ((uint8_t *) 0)
   3367   return 0;
   3368 if (sizeof (uint8_t))
   3369   return 0;
   3370   ;
   3371   return 0;
   3372 }
   3373 _ACEOF
   3374 rm -f conftest.$ac_objext
   3375 if { (eval echo "$as_me:3375: \"$ac_compile\"") >&5
   3376   (eval $ac_compile) 2>&5
   3377   ac_status=$?
   3378   echo "$as_me:3378: \$? = $ac_status" >&5
   3379   (exit $ac_status); } &&
   3380          { ac_try='test -s conftest.$ac_objext'
   3381   { (eval echo "$as_me:3381: \"$ac_try\"") >&5
   3382   (eval $ac_try) 2>&5
   3383   ac_status=$?
   3384   echo "$as_me:3384: \$? = $ac_status" >&5
   3385   (exit $ac_status); }; }; then
   3386   ac_cv_type_uint8_t=yes
   3387 else
   3388   echo "$as_me: failed program was:" >&5
   3389 cat conftest.$ac_ext >&5
   3390 ac_cv_type_uint8_t=no
   3391 fi
   3392 rm -f conftest.$ac_objext conftest.$ac_ext
   3393 fi
   3394 echo "$as_me:3394: result: $ac_cv_type_uint8_t" >&5
   3395 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   3396 if test $ac_cv_type_uint8_t = yes; then
   3397 
   3398 cat >>confdefs.h <<\EOF
   3399 #define u_int8_t uint8_t
   3400 EOF
   3401 
   3402 else
   3403   { { echo "$as_me:3403: error: cannot find a suitable type for u_int8_t" >&5
   3404 echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
   3405    { (exit 1); exit 1; }; }
   3406 fi
   3407 
   3408 fi
   3409 
   3410 	echo "$as_me:3410: checking for uint16_t" >&5
   3411 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   3412 if test "${ac_cv_type_uint16_t+set}" = set; then
   3413   echo $ECHO_N "(cached) $ECHO_C" >&6
   3414 else
   3415   cat >conftest.$ac_ext <<_ACEOF
   3416 #line 3416 "configure"
   3417 #include "confdefs.h"
   3418 $ac_includes_default
   3419 int
   3420 main ()
   3421 {
   3422 if ((uint16_t *) 0)
   3423   return 0;
   3424 if (sizeof (uint16_t))
   3425   return 0;
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 rm -f conftest.$ac_objext
   3431 if { (eval echo "$as_me:3431: \"$ac_compile\"") >&5
   3432   (eval $ac_compile) 2>&5
   3433   ac_status=$?
   3434   echo "$as_me:3434: \$? = $ac_status" >&5
   3435   (exit $ac_status); } &&
   3436          { ac_try='test -s conftest.$ac_objext'
   3437   { (eval echo "$as_me:3437: \"$ac_try\"") >&5
   3438   (eval $ac_try) 2>&5
   3439   ac_status=$?
   3440   echo "$as_me:3440: \$? = $ac_status" >&5
   3441   (exit $ac_status); }; }; then
   3442   ac_cv_type_uint16_t=yes
   3443 else
   3444   echo "$as_me: failed program was:" >&5
   3445 cat conftest.$ac_ext >&5
   3446 ac_cv_type_uint16_t=no
   3447 fi
   3448 rm -f conftest.$ac_objext conftest.$ac_ext
   3449 fi
   3450 echo "$as_me:3450: result: $ac_cv_type_uint16_t" >&5
   3451 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   3452 if test $ac_cv_type_uint16_t = yes; then
   3453   :
   3454 else
   3455 
   3456 		echo "$as_me:3456: checking for u_int16_t" >&5
   3457 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   3458 if test "${ac_cv_type_u_int16_t+set}" = set; then
   3459   echo $ECHO_N "(cached) $ECHO_C" >&6
   3460 else
   3461   cat >conftest.$ac_ext <<_ACEOF
   3462 #line 3462 "configure"
   3463 #include "confdefs.h"
   3464 $ac_includes_default
   3465 int
   3466 main ()
   3467 {
   3468 if ((u_int16_t *) 0)
   3469   return 0;
   3470 if (sizeof (u_int16_t))
   3471   return 0;
   3472   ;
   3473   return 0;
   3474 }
   3475 _ACEOF
   3476 rm -f conftest.$ac_objext
   3477 if { (eval echo "$as_me:3477: \"$ac_compile\"") >&5
   3478   (eval $ac_compile) 2>&5
   3479   ac_status=$?
   3480   echo "$as_me:3480: \$? = $ac_status" >&5
   3481   (exit $ac_status); } &&
   3482          { ac_try='test -s conftest.$ac_objext'
   3483   { (eval echo "$as_me:3483: \"$ac_try\"") >&5
   3484   (eval $ac_try) 2>&5
   3485   ac_status=$?
   3486   echo "$as_me:3486: \$? = $ac_status" >&5
   3487   (exit $ac_status); }; }; then
   3488   ac_cv_type_u_int16_t=yes
   3489 else
   3490   echo "$as_me: failed program was:" >&5
   3491 cat conftest.$ac_ext >&5
   3492 ac_cv_type_u_int16_t=no
   3493 fi
   3494 rm -f conftest.$ac_objext conftest.$ac_ext
   3495 fi
   3496 echo "$as_me:3496: result: $ac_cv_type_u_int16_t" >&5
   3497 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   3498 if test $ac_cv_type_u_int16_t = yes; then
   3499 
   3500 cat >>confdefs.h <<\EOF
   3501 #define uint16_t u_int16_t
   3502 EOF
   3503 
   3504 else
   3505   { { echo "$as_me:3505: error: cannot find a suitable type for uint16_t" >&5
   3506 echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
   3507    { (exit 1); exit 1; }; }
   3508 fi
   3509 
   3510 fi
   3511 
   3512 	echo "$as_me:3512: checking for u_int16_t" >&5
   3513 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   3514 if test "${ac_cv_type_u_int16_t+set}" = set; then
   3515   echo $ECHO_N "(cached) $ECHO_C" >&6
   3516 else
   3517   cat >conftest.$ac_ext <<_ACEOF
   3518 #line 3518 "configure"
   3519 #include "confdefs.h"
   3520 $ac_includes_default
   3521 int
   3522 main ()
   3523 {
   3524 if ((u_int16_t *) 0)
   3525   return 0;
   3526 if (sizeof (u_int16_t))
   3527   return 0;
   3528   ;
   3529   return 0;
   3530 }
   3531 _ACEOF
   3532 rm -f conftest.$ac_objext
   3533 if { (eval echo "$as_me:3533: \"$ac_compile\"") >&5
   3534   (eval $ac_compile) 2>&5
   3535   ac_status=$?
   3536   echo "$as_me:3536: \$? = $ac_status" >&5
   3537   (exit $ac_status); } &&
   3538          { ac_try='test -s conftest.$ac_objext'
   3539   { (eval echo "$as_me:3539: \"$ac_try\"") >&5
   3540   (eval $ac_try) 2>&5
   3541   ac_status=$?
   3542   echo "$as_me:3542: \$? = $ac_status" >&5
   3543   (exit $ac_status); }; }; then
   3544   ac_cv_type_u_int16_t=yes
   3545 else
   3546   echo "$as_me: failed program was:" >&5
   3547 cat conftest.$ac_ext >&5
   3548 ac_cv_type_u_int16_t=no
   3549 fi
   3550 rm -f conftest.$ac_objext conftest.$ac_ext
   3551 fi
   3552 echo "$as_me:3552: result: $ac_cv_type_u_int16_t" >&5
   3553 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   3554 if test $ac_cv_type_u_int16_t = yes; then
   3555   :
   3556 else
   3557 
   3558 		echo "$as_me:3558: checking for uint16_t" >&5
   3559 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   3560 if test "${ac_cv_type_uint16_t+set}" = set; then
   3561   echo $ECHO_N "(cached) $ECHO_C" >&6
   3562 else
   3563   cat >conftest.$ac_ext <<_ACEOF
   3564 #line 3564 "configure"
   3565 #include "confdefs.h"
   3566 $ac_includes_default
   3567 int
   3568 main ()
   3569 {
   3570 if ((uint16_t *) 0)
   3571   return 0;
   3572 if (sizeof (uint16_t))
   3573   return 0;
   3574   ;
   3575   return 0;
   3576 }
   3577 _ACEOF
   3578 rm -f conftest.$ac_objext
   3579 if { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
   3580   (eval $ac_compile) 2>&5
   3581   ac_status=$?
   3582   echo "$as_me:3582: \$? = $ac_status" >&5
   3583   (exit $ac_status); } &&
   3584          { ac_try='test -s conftest.$ac_objext'
   3585   { (eval echo "$as_me:3585: \"$ac_try\"") >&5
   3586   (eval $ac_try) 2>&5
   3587   ac_status=$?
   3588   echo "$as_me:3588: \$? = $ac_status" >&5
   3589   (exit $ac_status); }; }; then
   3590   ac_cv_type_uint16_t=yes
   3591 else
   3592   echo "$as_me: failed program was:" >&5
   3593 cat conftest.$ac_ext >&5
   3594 ac_cv_type_uint16_t=no
   3595 fi
   3596 rm -f conftest.$ac_objext conftest.$ac_ext
   3597 fi
   3598 echo "$as_me:3598: result: $ac_cv_type_uint16_t" >&5
   3599 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   3600 if test $ac_cv_type_uint16_t = yes; then
   3601 
   3602 cat >>confdefs.h <<\EOF
   3603 #define u_int16_t uint16_t
   3604 EOF
   3605 
   3606 else
   3607   { { echo "$as_me:3607: error: cannot find a suitable type for u_int16_t" >&5
   3608 echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
   3609    { (exit 1); exit 1; }; }
   3610 fi
   3611 
   3612 fi
   3613 
   3614 	echo "$as_me:3614: checking for uint32_t" >&5
   3615 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   3616 if test "${ac_cv_type_uint32_t+set}" = set; then
   3617   echo $ECHO_N "(cached) $ECHO_C" >&6
   3618 else
   3619   cat >conftest.$ac_ext <<_ACEOF
   3620 #line 3620 "configure"
   3621 #include "confdefs.h"
   3622 $ac_includes_default
   3623 int
   3624 main ()
   3625 {
   3626 if ((uint32_t *) 0)
   3627   return 0;
   3628 if (sizeof (uint32_t))
   3629   return 0;
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 rm -f conftest.$ac_objext
   3635 if { (eval echo "$as_me:3635: \"$ac_compile\"") >&5
   3636   (eval $ac_compile) 2>&5
   3637   ac_status=$?
   3638   echo "$as_me:3638: \$? = $ac_status" >&5
   3639   (exit $ac_status); } &&
   3640          { ac_try='test -s conftest.$ac_objext'
   3641   { (eval echo "$as_me:3641: \"$ac_try\"") >&5
   3642   (eval $ac_try) 2>&5
   3643   ac_status=$?
   3644   echo "$as_me:3644: \$? = $ac_status" >&5
   3645   (exit $ac_status); }; }; then
   3646   ac_cv_type_uint32_t=yes
   3647 else
   3648   echo "$as_me: failed program was:" >&5
   3649 cat conftest.$ac_ext >&5
   3650 ac_cv_type_uint32_t=no
   3651 fi
   3652 rm -f conftest.$ac_objext conftest.$ac_ext
   3653 fi
   3654 echo "$as_me:3654: result: $ac_cv_type_uint32_t" >&5
   3655 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   3656 if test $ac_cv_type_uint32_t = yes; then
   3657   :
   3658 else
   3659 
   3660 		echo "$as_me:3660: checking for u_int32_t" >&5
   3661 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   3662 if test "${ac_cv_type_u_int32_t+set}" = set; then
   3663   echo $ECHO_N "(cached) $ECHO_C" >&6
   3664 else
   3665   cat >conftest.$ac_ext <<_ACEOF
   3666 #line 3666 "configure"
   3667 #include "confdefs.h"
   3668 $ac_includes_default
   3669 int
   3670 main ()
   3671 {
   3672 if ((u_int32_t *) 0)
   3673   return 0;
   3674 if (sizeof (u_int32_t))
   3675   return 0;
   3676   ;
   3677   return 0;
   3678 }
   3679 _ACEOF
   3680 rm -f conftest.$ac_objext
   3681 if { (eval echo "$as_me:3681: \"$ac_compile\"") >&5
   3682   (eval $ac_compile) 2>&5
   3683   ac_status=$?
   3684   echo "$as_me:3684: \$? = $ac_status" >&5
   3685   (exit $ac_status); } &&
   3686          { ac_try='test -s conftest.$ac_objext'
   3687   { (eval echo "$as_me:3687: \"$ac_try\"") >&5
   3688   (eval $ac_try) 2>&5
   3689   ac_status=$?
   3690   echo "$as_me:3690: \$? = $ac_status" >&5
   3691   (exit $ac_status); }; }; then
   3692   ac_cv_type_u_int32_t=yes
   3693 else
   3694   echo "$as_me: failed program was:" >&5
   3695 cat conftest.$ac_ext >&5
   3696 ac_cv_type_u_int32_t=no
   3697 fi
   3698 rm -f conftest.$ac_objext conftest.$ac_ext
   3699 fi
   3700 echo "$as_me:3700: result: $ac_cv_type_u_int32_t" >&5
   3701 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   3702 if test $ac_cv_type_u_int32_t = yes; then
   3703 
   3704 cat >>confdefs.h <<\EOF
   3705 #define uint32_t u_int32_t
   3706 EOF
   3707 
   3708 else
   3709   { { echo "$as_me:3709: error: cannot find a suitable type for uint32_t" >&5
   3710 echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
   3711    { (exit 1); exit 1; }; }
   3712 fi
   3713 
   3714 fi
   3715 
   3716 	echo "$as_me:3716: checking for u_int32_t" >&5
   3717 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   3718 if test "${ac_cv_type_u_int32_t+set}" = set; then
   3719   echo $ECHO_N "(cached) $ECHO_C" >&6
   3720 else
   3721   cat >conftest.$ac_ext <<_ACEOF
   3722 #line 3722 "configure"
   3723 #include "confdefs.h"
   3724 $ac_includes_default
   3725 int
   3726 main ()
   3727 {
   3728 if ((u_int32_t *) 0)
   3729   return 0;
   3730 if (sizeof (u_int32_t))
   3731   return 0;
   3732   ;
   3733   return 0;
   3734 }
   3735 _ACEOF
   3736 rm -f conftest.$ac_objext
   3737 if { (eval echo "$as_me:3737: \"$ac_compile\"") >&5
   3738   (eval $ac_compile) 2>&5
   3739   ac_status=$?
   3740   echo "$as_me:3740: \$? = $ac_status" >&5
   3741   (exit $ac_status); } &&
   3742          { ac_try='test -s conftest.$ac_objext'
   3743   { (eval echo "$as_me:3743: \"$ac_try\"") >&5
   3744   (eval $ac_try) 2>&5
   3745   ac_status=$?
   3746   echo "$as_me:3746: \$? = $ac_status" >&5
   3747   (exit $ac_status); }; }; then
   3748   ac_cv_type_u_int32_t=yes
   3749 else
   3750   echo "$as_me: failed program was:" >&5
   3751 cat conftest.$ac_ext >&5
   3752 ac_cv_type_u_int32_t=no
   3753 fi
   3754 rm -f conftest.$ac_objext conftest.$ac_ext
   3755 fi
   3756 echo "$as_me:3756: result: $ac_cv_type_u_int32_t" >&5
   3757 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   3758 if test $ac_cv_type_u_int32_t = yes; then
   3759   :
   3760 else
   3761 
   3762 		echo "$as_me:3762: checking for uint32_t" >&5
   3763 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   3764 if test "${ac_cv_type_uint32_t+set}" = set; then
   3765   echo $ECHO_N "(cached) $ECHO_C" >&6
   3766 else
   3767   cat >conftest.$ac_ext <<_ACEOF
   3768 #line 3768 "configure"
   3769 #include "confdefs.h"
   3770 $ac_includes_default
   3771 int
   3772 main ()
   3773 {
   3774 if ((uint32_t *) 0)
   3775   return 0;
   3776 if (sizeof (uint32_t))
   3777   return 0;
   3778   ;
   3779   return 0;
   3780 }
   3781 _ACEOF
   3782 rm -f conftest.$ac_objext
   3783 if { (eval echo "$as_me:3783: \"$ac_compile\"") >&5
   3784   (eval $ac_compile) 2>&5
   3785   ac_status=$?
   3786   echo "$as_me:3786: \$? = $ac_status" >&5
   3787   (exit $ac_status); } &&
   3788          { ac_try='test -s conftest.$ac_objext'
   3789   { (eval echo "$as_me:3789: \"$ac_try\"") >&5
   3790   (eval $ac_try) 2>&5
   3791   ac_status=$?
   3792   echo "$as_me:3792: \$? = $ac_status" >&5
   3793   (exit $ac_status); }; }; then
   3794   ac_cv_type_uint32_t=yes
   3795 else
   3796   echo "$as_me: failed program was:" >&5
   3797 cat conftest.$ac_ext >&5
   3798 ac_cv_type_uint32_t=no
   3799 fi
   3800 rm -f conftest.$ac_objext conftest.$ac_ext
   3801 fi
   3802 echo "$as_me:3802: result: $ac_cv_type_uint32_t" >&5
   3803 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   3804 if test $ac_cv_type_uint32_t = yes; then
   3805 
   3806 cat >>confdefs.h <<\EOF
   3807 #define u_int32_t uint32_t
   3808 EOF
   3809 
   3810 else
   3811   { { echo "$as_me:3811: error: cannot find a suitable type for u_int32_t" >&5
   3812 echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
   3813    { (exit 1); exit 1; }; }
   3814 fi
   3815 
   3816 fi
   3817 
   3818 	echo "$as_me:3818: checking for uint64_t" >&5
   3819 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   3820 if test "${ac_cv_type_uint64_t+set}" = set; then
   3821   echo $ECHO_N "(cached) $ECHO_C" >&6
   3822 else
   3823   cat >conftest.$ac_ext <<_ACEOF
   3824 #line 3824 "configure"
   3825 #include "confdefs.h"
   3826 $ac_includes_default
   3827 int
   3828 main ()
   3829 {
   3830 if ((uint64_t *) 0)
   3831   return 0;
   3832 if (sizeof (uint64_t))
   3833   return 0;
   3834   ;
   3835   return 0;
   3836 }
   3837 _ACEOF
   3838 rm -f conftest.$ac_objext
   3839 if { (eval echo "$as_me:3839: \"$ac_compile\"") >&5
   3840   (eval $ac_compile) 2>&5
   3841   ac_status=$?
   3842   echo "$as_me:3842: \$? = $ac_status" >&5
   3843   (exit $ac_status); } &&
   3844          { ac_try='test -s conftest.$ac_objext'
   3845   { (eval echo "$as_me:3845: \"$ac_try\"") >&5
   3846   (eval $ac_try) 2>&5
   3847   ac_status=$?
   3848   echo "$as_me:3848: \$? = $ac_status" >&5
   3849   (exit $ac_status); }; }; then
   3850   ac_cv_type_uint64_t=yes
   3851 else
   3852   echo "$as_me: failed program was:" >&5
   3853 cat conftest.$ac_ext >&5
   3854 ac_cv_type_uint64_t=no
   3855 fi
   3856 rm -f conftest.$ac_objext conftest.$ac_ext
   3857 fi
   3858 echo "$as_me:3858: result: $ac_cv_type_uint64_t" >&5
   3859 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   3860 if test $ac_cv_type_uint64_t = yes; then
   3861   :
   3862 else
   3863 
   3864 		echo "$as_me:3864: checking for u_int64_t" >&5
   3865 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   3866 if test "${ac_cv_type_u_int64_t+set}" = set; then
   3867   echo $ECHO_N "(cached) $ECHO_C" >&6
   3868 else
   3869   cat >conftest.$ac_ext <<_ACEOF
   3870 #line 3870 "configure"
   3871 #include "confdefs.h"
   3872 $ac_includes_default
   3873 int
   3874 main ()
   3875 {
   3876 if ((u_int64_t *) 0)
   3877   return 0;
   3878 if (sizeof (u_int64_t))
   3879   return 0;
   3880   ;
   3881   return 0;
   3882 }
   3883 _ACEOF
   3884 rm -f conftest.$ac_objext
   3885 if { (eval echo "$as_me:3885: \"$ac_compile\"") >&5
   3886   (eval $ac_compile) 2>&5
   3887   ac_status=$?
   3888   echo "$as_me:3888: \$? = $ac_status" >&5
   3889   (exit $ac_status); } &&
   3890          { ac_try='test -s conftest.$ac_objext'
   3891   { (eval echo "$as_me:3891: \"$ac_try\"") >&5
   3892   (eval $ac_try) 2>&5
   3893   ac_status=$?
   3894   echo "$as_me:3894: \$? = $ac_status" >&5
   3895   (exit $ac_status); }; }; then
   3896   ac_cv_type_u_int64_t=yes
   3897 else
   3898   echo "$as_me: failed program was:" >&5
   3899 cat conftest.$ac_ext >&5
   3900 ac_cv_type_u_int64_t=no
   3901 fi
   3902 rm -f conftest.$ac_objext conftest.$ac_ext
   3903 fi
   3904 echo "$as_me:3904: result: $ac_cv_type_u_int64_t" >&5
   3905 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   3906 if test $ac_cv_type_u_int64_t = yes; then
   3907 
   3908 cat >>confdefs.h <<\EOF
   3909 #define uint64_t u_int64_t
   3910 EOF
   3911 
   3912 else
   3913   { { echo "$as_me:3913: error: cannot find a suitable type for uint64_t" >&5
   3914 echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
   3915    { (exit 1); exit 1; }; }
   3916 fi
   3917 
   3918 fi
   3919 
   3920 	echo "$as_me:3920: checking for u_int64_t" >&5
   3921 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   3922 if test "${ac_cv_type_u_int64_t+set}" = set; then
   3923   echo $ECHO_N "(cached) $ECHO_C" >&6
   3924 else
   3925   cat >conftest.$ac_ext <<_ACEOF
   3926 #line 3926 "configure"
   3927 #include "confdefs.h"
   3928 $ac_includes_default
   3929 int
   3930 main ()
   3931 {
   3932 if ((u_int64_t *) 0)
   3933   return 0;
   3934 if (sizeof (u_int64_t))
   3935   return 0;
   3936   ;
   3937   return 0;
   3938 }
   3939 _ACEOF
   3940 rm -f conftest.$ac_objext
   3941 if { (eval echo "$as_me:3941: \"$ac_compile\"") >&5
   3942   (eval $ac_compile) 2>&5
   3943   ac_status=$?
   3944   echo "$as_me:3944: \$? = $ac_status" >&5
   3945   (exit $ac_status); } &&
   3946          { ac_try='test -s conftest.$ac_objext'
   3947   { (eval echo "$as_me:3947: \"$ac_try\"") >&5
   3948   (eval $ac_try) 2>&5
   3949   ac_status=$?
   3950   echo "$as_me:3950: \$? = $ac_status" >&5
   3951   (exit $ac_status); }; }; then
   3952   ac_cv_type_u_int64_t=yes
   3953 else
   3954   echo "$as_me: failed program was:" >&5
   3955 cat conftest.$ac_ext >&5
   3956 ac_cv_type_u_int64_t=no
   3957 fi
   3958 rm -f conftest.$ac_objext conftest.$ac_ext
   3959 fi
   3960 echo "$as_me:3960: result: $ac_cv_type_u_int64_t" >&5
   3961 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   3962 if test $ac_cv_type_u_int64_t = yes; then
   3963   :
   3964 else
   3965 
   3966 		echo "$as_me:3966: checking for uint64_t" >&5
   3967 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   3968 if test "${ac_cv_type_uint64_t+set}" = set; then
   3969   echo $ECHO_N "(cached) $ECHO_C" >&6
   3970 else
   3971   cat >conftest.$ac_ext <<_ACEOF
   3972 #line 3972 "configure"
   3973 #include "confdefs.h"
   3974 $ac_includes_default
   3975 int
   3976 main ()
   3977 {
   3978 if ((uint64_t *) 0)
   3979   return 0;
   3980 if (sizeof (uint64_t))
   3981   return 0;
   3982   ;
   3983   return 0;
   3984 }
   3985 _ACEOF
   3986 rm -f conftest.$ac_objext
   3987 if { (eval echo "$as_me:3987: \"$ac_compile\"") >&5
   3988   (eval $ac_compile) 2>&5
   3989   ac_status=$?
   3990   echo "$as_me:3990: \$? = $ac_status" >&5
   3991   (exit $ac_status); } &&
   3992          { ac_try='test -s conftest.$ac_objext'
   3993   { (eval echo "$as_me:3993: \"$ac_try\"") >&5
   3994   (eval $ac_try) 2>&5
   3995   ac_status=$?
   3996   echo "$as_me:3996: \$? = $ac_status" >&5
   3997   (exit $ac_status); }; }; then
   3998   ac_cv_type_uint64_t=yes
   3999 else
   4000   echo "$as_me: failed program was:" >&5
   4001 cat conftest.$ac_ext >&5
   4002 ac_cv_type_uint64_t=no
   4003 fi
   4004 rm -f conftest.$ac_objext conftest.$ac_ext
   4005 fi
   4006 echo "$as_me:4006: result: $ac_cv_type_uint64_t" >&5
   4007 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   4008 if test $ac_cv_type_uint64_t = yes; then
   4009 
   4010 cat >>confdefs.h <<\EOF
   4011 #define u_int64_t uint64_t
   4012 EOF
   4013 
   4014 else
   4015   { { echo "$as_me:4015: error: cannot find a suitable type for u_int64_t" >&5
   4016 echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
   4017    { (exit 1); exit 1; }; }
   4018 fi
   4019 
   4020 fi
   4021 
   4022 # Struct members.
   4023 echo "$as_me:4023: checking for DIR.dd_fd" >&5
   4024 echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
   4025 if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
   4026   echo $ECHO_N "(cached) $ECHO_C" >&6
   4027 else
   4028   cat >conftest.$ac_ext <<_ACEOF
   4029 #line 4029 "configure"
   4030 #include "confdefs.h"
   4031 #include <sys/types.h>
   4032 #include <dirent.h>
   4033 
   4034 int
   4035 main ()
   4036 {
   4037 static DIR ac_aggr;
   4038 if (ac_aggr.dd_fd)
   4039 return 0;
   4040   ;
   4041   return 0;
   4042 }
   4043 _ACEOF
   4044 rm -f conftest.$ac_objext
   4045 if { (eval echo "$as_me:4045: \"$ac_compile\"") >&5
   4046   (eval $ac_compile) 2>&5
   4047   ac_status=$?
   4048   echo "$as_me:4048: \$? = $ac_status" >&5
   4049   (exit $ac_status); } &&
   4050          { ac_try='test -s conftest.$ac_objext'
   4051   { (eval echo "$as_me:4051: \"$ac_try\"") >&5
   4052   (eval $ac_try) 2>&5
   4053   ac_status=$?
   4054   echo "$as_me:4054: \$? = $ac_status" >&5
   4055   (exit $ac_status); }; }; then
   4056   ac_cv_member_DIR_dd_fd=yes
   4057 else
   4058   echo "$as_me: failed program was:" >&5
   4059 cat conftest.$ac_ext >&5
   4060 ac_cv_member_DIR_dd_fd=no
   4061 fi
   4062 rm -f conftest.$ac_objext conftest.$ac_ext
   4063 fi
   4064 echo "$as_me:4064: result: $ac_cv_member_DIR_dd_fd" >&5
   4065 echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
   4066 if test $ac_cv_member_DIR_dd_fd = yes; then
   4067 
   4068 cat >>confdefs.h <<EOF
   4069 #define HAVE_DIR_DD_FD 1
   4070 EOF
   4071 
   4072 fi
   4073 echo "$as_me:4073: checking for DIR.__dd_fd" >&5
   4074 echo $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
   4075 if test "${ac_cv_member_DIR___dd_fd+set}" = set; then
   4076   echo $ECHO_N "(cached) $ECHO_C" >&6
   4077 else
   4078   cat >conftest.$ac_ext <<_ACEOF
   4079 #line 4079 "configure"
   4080 #include "confdefs.h"
   4081 #include <sys/types.h>
   4082 #include <dirent.h>
   4083 
   4084 int
   4085 main ()
   4086 {
   4087 static DIR ac_aggr;
   4088 if (ac_aggr.__dd_fd)
   4089 return 0;
   4090   ;
   4091   return 0;
   4092 }
   4093 _ACEOF
   4094 rm -f conftest.$ac_objext
   4095 if { (eval echo "$as_me:4095: \"$ac_compile\"") >&5
   4096   (eval $ac_compile) 2>&5
   4097   ac_status=$?
   4098   echo "$as_me:4098: \$? = $ac_status" >&5
   4099   (exit $ac_status); } &&
   4100          { ac_try='test -s conftest.$ac_objext'
   4101   { (eval echo "$as_me:4101: \"$ac_try\"") >&5
   4102   (eval $ac_try) 2>&5
   4103   ac_status=$?
   4104   echo "$as_me:4104: \$? = $ac_status" >&5
   4105   (exit $ac_status); }; }; then
   4106   ac_cv_member_DIR___dd_fd=yes
   4107 else
   4108   echo "$as_me: failed program was:" >&5
   4109 cat conftest.$ac_ext >&5
   4110 ac_cv_member_DIR___dd_fd=no
   4111 fi
   4112 rm -f conftest.$ac_objext conftest.$ac_ext
   4113 fi
   4114 echo "$as_me:4114: result: $ac_cv_member_DIR___dd_fd" >&5
   4115 echo "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
   4116 if test $ac_cv_member_DIR___dd_fd = yes; then
   4117 
   4118 cat >>confdefs.h <<EOF
   4119 #define HAVE_DIR___DD_FD 1
   4120 EOF
   4121 
   4122 fi
   4123 echo "$as_me:4123: checking for struct dirent.d_namlen" >&5
   4124 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
   4125 if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
   4126   echo $ECHO_N "(cached) $ECHO_C" >&6
   4127 else
   4128   cat >conftest.$ac_ext <<_ACEOF
   4129 #line 4129 "configure"
   4130 #include "confdefs.h"
   4131 #include <sys/types.h>
   4132 #include <dirent.h>
   4133 
   4134 int
   4135 main ()
   4136 {
   4137 static struct dirent ac_aggr;
   4138 if (ac_aggr.d_namlen)
   4139 return 0;
   4140   ;
   4141   return 0;
   4142 }
   4143 _ACEOF
   4144 rm -f conftest.$ac_objext
   4145 if { (eval echo "$as_me:4145: \"$ac_compile\"") >&5
   4146   (eval $ac_compile) 2>&5
   4147   ac_status=$?
   4148   echo "$as_me:4148: \$? = $ac_status" >&5
   4149   (exit $ac_status); } &&
   4150          { ac_try='test -s conftest.$ac_objext'
   4151   { (eval echo "$as_me:4151: \"$ac_try\"") >&5
   4152   (eval $ac_try) 2>&5
   4153   ac_status=$?
   4154   echo "$as_me:4154: \$? = $ac_status" >&5
   4155   (exit $ac_status); }; }; then
   4156   ac_cv_member_struct_dirent_d_namlen=yes
   4157 else
   4158   echo "$as_me: failed program was:" >&5
   4159 cat conftest.$ac_ext >&5
   4160 ac_cv_member_struct_dirent_d_namlen=no
   4161 fi
   4162 rm -f conftest.$ac_objext conftest.$ac_ext
   4163 fi
   4164 echo "$as_me:4164: result: $ac_cv_member_struct_dirent_d_namlen" >&5
   4165 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
   4166 if test $ac_cv_member_struct_dirent_d_namlen = yes; then
   4167 
   4168 cat >>confdefs.h <<EOF
   4169 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
   4170 EOF
   4171 
   4172 fi
   4173 
   4174 echo "$as_me:4174: checking for struct stat.st_flags" >&5
   4175 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
   4176 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
   4177   echo $ECHO_N "(cached) $ECHO_C" >&6
   4178 else
   4179   cat >conftest.$ac_ext <<_ACEOF
   4180 #line 4180 "configure"
   4181 #include "confdefs.h"
   4182 #include <sys/stat.h>
   4183 
   4184 int
   4185 main ()
   4186 {
   4187 static struct stat ac_aggr;
   4188 if (ac_aggr.st_flags)
   4189 return 0;
   4190   ;
   4191   return 0;
   4192 }
   4193 _ACEOF
   4194 rm -f conftest.$ac_objext
   4195 if { (eval echo "$as_me:4195: \"$ac_compile\"") >&5
   4196   (eval $ac_compile) 2>&5
   4197   ac_status=$?
   4198   echo "$as_me:4198: \$? = $ac_status" >&5
   4199   (exit $ac_status); } &&
   4200          { ac_try='test -s conftest.$ac_objext'
   4201   { (eval echo "$as_me:4201: \"$ac_try\"") >&5
   4202   (eval $ac_try) 2>&5
   4203   ac_status=$?
   4204   echo "$as_me:4204: \$? = $ac_status" >&5
   4205   (exit $ac_status); }; }; then
   4206   ac_cv_member_struct_stat_st_flags=yes
   4207 else
   4208   echo "$as_me: failed program was:" >&5
   4209 cat conftest.$ac_ext >&5
   4210 ac_cv_member_struct_stat_st_flags=no
   4211 fi
   4212 rm -f conftest.$ac_objext conftest.$ac_ext
   4213 fi
   4214 echo "$as_me:4214: result: $ac_cv_member_struct_stat_st_flags" >&5
   4215 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
   4216 if test $ac_cv_member_struct_stat_st_flags = yes; then
   4217 
   4218 cat >>confdefs.h <<EOF
   4219 #define HAVE_STRUCT_STAT_ST_FLAGS 1
   4220 EOF
   4221 
   4222 fi
   4223 echo "$as_me:4223: checking for struct stat.st_gen" >&5
   4224 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
   4225 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
   4226   echo $ECHO_N "(cached) $ECHO_C" >&6
   4227 else
   4228   cat >conftest.$ac_ext <<_ACEOF
   4229 #line 4229 "configure"
   4230 #include "confdefs.h"
   4231 #include <sys/stat.h>
   4232 
   4233 int
   4234 main ()
   4235 {
   4236 static struct stat ac_aggr;
   4237 if (ac_aggr.st_gen)
   4238 return 0;
   4239   ;
   4240   return 0;
   4241 }
   4242 _ACEOF
   4243 rm -f conftest.$ac_objext
   4244 if { (eval echo "$as_me:4244: \"$ac_compile\"") >&5
   4245   (eval $ac_compile) 2>&5
   4246   ac_status=$?
   4247   echo "$as_me:4247: \$? = $ac_status" >&5
   4248   (exit $ac_status); } &&
   4249          { ac_try='test -s conftest.$ac_objext'
   4250   { (eval echo "$as_me:4250: \"$ac_try\"") >&5
   4251   (eval $ac_try) 2>&5
   4252   ac_status=$?
   4253   echo "$as_me:4253: \$? = $ac_status" >&5
   4254   (exit $ac_status); }; }; then
   4255   ac_cv_member_struct_stat_st_gen=yes
   4256 else
   4257   echo "$as_me: failed program was:" >&5
   4258 cat conftest.$ac_ext >&5
   4259 ac_cv_member_struct_stat_st_gen=no
   4260 fi
   4261 rm -f conftest.$ac_objext conftest.$ac_ext
   4262 fi
   4263 echo "$as_me:4263: result: $ac_cv_member_struct_stat_st_gen" >&5
   4264 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
   4265 if test $ac_cv_member_struct_stat_st_gen = yes; then
   4266 
   4267 cat >>confdefs.h <<EOF
   4268 #define HAVE_STRUCT_STAT_ST_GEN 1
   4269 EOF
   4270 
   4271 fi
   4272 echo "$as_me:4272: checking for struct stat.st_birthtime" >&5
   4273 echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
   4274 if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
   4275   echo $ECHO_N "(cached) $ECHO_C" >&6
   4276 else
   4277   cat >conftest.$ac_ext <<_ACEOF
   4278 #line 4278 "configure"
   4279 #include "confdefs.h"
   4280 #include <sys/stat.h>
   4281 
   4282 int
   4283 main ()
   4284 {
   4285 static struct stat ac_aggr;
   4286 if (ac_aggr.st_birthtime)
   4287 return 0;
   4288   ;
   4289   return 0;
   4290 }
   4291 _ACEOF
   4292 rm -f conftest.$ac_objext
   4293 if { (eval echo "$as_me:4293: \"$ac_compile\"") >&5
   4294   (eval $ac_compile) 2>&5
   4295   ac_status=$?
   4296   echo "$as_me:4296: \$? = $ac_status" >&5
   4297   (exit $ac_status); } &&
   4298          { ac_try='test -s conftest.$ac_objext'
   4299   { (eval echo "$as_me:4299: \"$ac_try\"") >&5
   4300   (eval $ac_try) 2>&5
   4301   ac_status=$?
   4302   echo "$as_me:4302: \$? = $ac_status" >&5
   4303   (exit $ac_status); }; }; then
   4304   ac_cv_member_struct_stat_st_birthtime=yes
   4305 else
   4306   echo "$as_me: failed program was:" >&5
   4307 cat conftest.$ac_ext >&5
   4308 ac_cv_member_struct_stat_st_birthtime=no
   4309 fi
   4310 rm -f conftest.$ac_objext conftest.$ac_ext
   4311 fi
   4312 echo "$as_me:4312: result: $ac_cv_member_struct_stat_st_birthtime" >&5
   4313 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
   4314 if test $ac_cv_member_struct_stat_st_birthtime = yes; then
   4315 
   4316 cat >>confdefs.h <<EOF
   4317 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
   4318 EOF
   4319 
   4320 fi
   4321 echo "$as_me:4321: checking for struct stat.st_birthtimensec" >&5
   4322 echo $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
   4323 if test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
   4324   echo $ECHO_N "(cached) $ECHO_C" >&6
   4325 else
   4326   cat >conftest.$ac_ext <<_ACEOF
   4327 #line 4327 "configure"
   4328 #include "confdefs.h"
   4329 #include <sys/stat.h>
   4330 
   4331 int
   4332 main ()
   4333 {
   4334 static struct stat ac_aggr;
   4335 if (ac_aggr.st_birthtimensec)
   4336 return 0;
   4337   ;
   4338   return 0;
   4339 }
   4340 _ACEOF
   4341 rm -f conftest.$ac_objext
   4342 if { (eval echo "$as_me:4342: \"$ac_compile\"") >&5
   4343   (eval $ac_compile) 2>&5
   4344   ac_status=$?
   4345   echo "$as_me:4345: \$? = $ac_status" >&5
   4346   (exit $ac_status); } &&
   4347          { ac_try='test -s conftest.$ac_objext'
   4348   { (eval echo "$as_me:4348: \"$ac_try\"") >&5
   4349   (eval $ac_try) 2>&5
   4350   ac_status=$?
   4351   echo "$as_me:4351: \$? = $ac_status" >&5
   4352   (exit $ac_status); }; }; then
   4353   ac_cv_member_struct_stat_st_birthtimensec=yes
   4354 else
   4355   echo "$as_me: failed program was:" >&5
   4356 cat conftest.$ac_ext >&5
   4357 ac_cv_member_struct_stat_st_birthtimensec=no
   4358 fi
   4359 rm -f conftest.$ac_objext conftest.$ac_ext
   4360 fi
   4361 echo "$as_me:4361: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
   4362 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
   4363 if test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
   4364 
   4365 cat >>confdefs.h <<EOF
   4366 #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
   4367 EOF
   4368 
   4369 fi
   4370 echo "$as_me:4370: checking for struct stat.st_atim" >&5
   4371 echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
   4372 if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
   4373   echo $ECHO_N "(cached) $ECHO_C" >&6
   4374 else
   4375   cat >conftest.$ac_ext <<_ACEOF
   4376 #line 4376 "configure"
   4377 #include "confdefs.h"
   4378 #include <sys/stat.h>
   4379 
   4380 int
   4381 main ()
   4382 {
   4383 static struct stat ac_aggr;
   4384 if (ac_aggr.st_atim)
   4385 return 0;
   4386   ;
   4387   return 0;
   4388 }
   4389 _ACEOF
   4390 rm -f conftest.$ac_objext
   4391 if { (eval echo "$as_me:4391: \"$ac_compile\"") >&5
   4392   (eval $ac_compile) 2>&5
   4393   ac_status=$?
   4394   echo "$as_me:4394: \$? = $ac_status" >&5
   4395   (exit $ac_status); } &&
   4396          { ac_try='test -s conftest.$ac_objext'
   4397   { (eval echo "$as_me:4397: \"$ac_try\"") >&5
   4398   (eval $ac_try) 2>&5
   4399   ac_status=$?
   4400   echo "$as_me:4400: \$? = $ac_status" >&5
   4401   (exit $ac_status); }; }; then
   4402   ac_cv_member_struct_stat_st_atim=yes
   4403 else
   4404   echo "$as_me: failed program was:" >&5
   4405 cat conftest.$ac_ext >&5
   4406 ac_cv_member_struct_stat_st_atim=no
   4407 fi
   4408 rm -f conftest.$ac_objext conftest.$ac_ext
   4409 fi
   4410 echo "$as_me:4410: result: $ac_cv_member_struct_stat_st_atim" >&5
   4411 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
   4412 if test $ac_cv_member_struct_stat_st_atim = yes; then
   4413 
   4414 cat >>confdefs.h <<EOF
   4415 #define HAVE_STRUCT_STAT_ST_ATIM 1
   4416 EOF
   4417 
   4418 fi
   4419 echo "$as_me:4419: checking for struct stat.st_mtimensec" >&5
   4420 echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
   4421 if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
   4422   echo $ECHO_N "(cached) $ECHO_C" >&6
   4423 else
   4424   cat >conftest.$ac_ext <<_ACEOF
   4425 #line 4425 "configure"
   4426 #include "confdefs.h"
   4427 #include <sys/stat.h>
   4428 
   4429 int
   4430 main ()
   4431 {
   4432 static struct stat ac_aggr;
   4433 if (ac_aggr.st_mtimensec)
   4434 return 0;
   4435   ;
   4436   return 0;
   4437 }
   4438 _ACEOF
   4439 rm -f conftest.$ac_objext
   4440 if { (eval echo "$as_me:4440: \"$ac_compile\"") >&5
   4441   (eval $ac_compile) 2>&5
   4442   ac_status=$?
   4443   echo "$as_me:4443: \$? = $ac_status" >&5
   4444   (exit $ac_status); } &&
   4445          { ac_try='test -s conftest.$ac_objext'
   4446   { (eval echo "$as_me:4446: \"$ac_try\"") >&5
   4447   (eval $ac_try) 2>&5
   4448   ac_status=$?
   4449   echo "$as_me:4449: \$? = $ac_status" >&5
   4450   (exit $ac_status); }; }; then
   4451   ac_cv_member_struct_stat_st_mtimensec=yes
   4452 else
   4453   echo "$as_me: failed program was:" >&5
   4454 cat conftest.$ac_ext >&5
   4455 ac_cv_member_struct_stat_st_mtimensec=no
   4456 fi
   4457 rm -f conftest.$ac_objext conftest.$ac_ext
   4458 fi
   4459 echo "$as_me:4459: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
   4460 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
   4461 if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
   4462 
   4463 cat >>confdefs.h <<EOF
   4464 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   4465 EOF
   4466 
   4467 fi
   4468 
   4469 echo "$as_me:4469: checking for struct statvfs.f_iosize" >&5
   4470 echo $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
   4471 if test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
   4472   echo $ECHO_N "(cached) $ECHO_C" >&6
   4473 else
   4474   cat >conftest.$ac_ext <<_ACEOF
   4475 #line 4475 "configure"
   4476 #include "confdefs.h"
   4477 #include <sys/statvfs.h>
   4478 
   4479 int
   4480 main ()
   4481 {
   4482 static struct statvfs ac_aggr;
   4483 if (ac_aggr.f_iosize)
   4484 return 0;
   4485   ;
   4486   return 0;
   4487 }
   4488 _ACEOF
   4489 rm -f conftest.$ac_objext
   4490 if { (eval echo "$as_me:4490: \"$ac_compile\"") >&5
   4491   (eval $ac_compile) 2>&5
   4492   ac_status=$?
   4493   echo "$as_me:4493: \$? = $ac_status" >&5
   4494   (exit $ac_status); } &&
   4495          { ac_try='test -s conftest.$ac_objext'
   4496   { (eval echo "$as_me:4496: \"$ac_try\"") >&5
   4497   (eval $ac_try) 2>&5
   4498   ac_status=$?
   4499   echo "$as_me:4499: \$? = $ac_status" >&5
   4500   (exit $ac_status); }; }; then
   4501   ac_cv_member_struct_statvfs_f_iosize=yes
   4502 else
   4503   echo "$as_me: failed program was:" >&5
   4504 cat conftest.$ac_ext >&5
   4505 ac_cv_member_struct_statvfs_f_iosize=no
   4506 fi
   4507 rm -f conftest.$ac_objext conftest.$ac_ext
   4508 fi
   4509 echo "$as_me:4509: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
   4510 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
   4511 if test $ac_cv_member_struct_statvfs_f_iosize = yes; then
   4512 
   4513 cat >>confdefs.h <<EOF
   4514 #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
   4515 EOF
   4516 
   4517 fi
   4518 
   4519 # Global variable decls.
   4520 echo "$as_me:4520: checking whether optind is declared" >&5
   4521 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
   4522 if test "${ac_cv_have_decl_optind+set}" = set; then
   4523   echo $ECHO_N "(cached) $ECHO_C" >&6
   4524 else
   4525   cat >conftest.$ac_ext <<_ACEOF
   4526 #line 4526 "configure"
   4527 #include "confdefs.h"
   4528 
   4529 #include <stdio.h>
   4530 #include <stdlib.h>
   4531 #include <unistd.h>
   4532 
   4533 int
   4534 main ()
   4535 {
   4536 #ifndef optind
   4537   char *p = (char *) optind;
   4538 #endif
   4539 
   4540   ;
   4541   return 0;
   4542 }
   4543 _ACEOF
   4544 rm -f conftest.$ac_objext
   4545 if { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
   4546   (eval $ac_compile) 2>&5
   4547   ac_status=$?
   4548   echo "$as_me:4548: \$? = $ac_status" >&5
   4549   (exit $ac_status); } &&
   4550          { ac_try='test -s conftest.$ac_objext'
   4551   { (eval echo "$as_me:4551: \"$ac_try\"") >&5
   4552   (eval $ac_try) 2>&5
   4553   ac_status=$?
   4554   echo "$as_me:4554: \$? = $ac_status" >&5
   4555   (exit $ac_status); }; }; then
   4556   ac_cv_have_decl_optind=yes
   4557 else
   4558   echo "$as_me: failed program was:" >&5
   4559 cat conftest.$ac_ext >&5
   4560 ac_cv_have_decl_optind=no
   4561 fi
   4562 rm -f conftest.$ac_objext conftest.$ac_ext
   4563 fi
   4564 echo "$as_me:4564: result: $ac_cv_have_decl_optind" >&5
   4565 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
   4566 if test $ac_cv_have_decl_optind = yes; then
   4567 
   4568 cat >>confdefs.h <<EOF
   4569 #define HAVE_DECL_OPTIND 1
   4570 EOF
   4571 
   4572 else
   4573   cat >>confdefs.h <<EOF
   4574 #define HAVE_DECL_OPTIND 0
   4575 EOF
   4576 
   4577 fi
   4578 echo "$as_me:4578: checking whether optreset is declared" >&5
   4579 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   4580 if test "${ac_cv_have_decl_optreset+set}" = set; then
   4581   echo $ECHO_N "(cached) $ECHO_C" >&6
   4582 else
   4583   cat >conftest.$ac_ext <<_ACEOF
   4584 #line 4584 "configure"
   4585 #include "confdefs.h"
   4586 
   4587 #include <stdio.h>
   4588 #include <stdlib.h>
   4589 #include <unistd.h>
   4590 
   4591 int
   4592 main ()
   4593 {
   4594 #ifndef optreset
   4595   char *p = (char *) optreset;
   4596 #endif
   4597 
   4598   ;
   4599   return 0;
   4600 }
   4601 _ACEOF
   4602 rm -f conftest.$ac_objext
   4603 if { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
   4604   (eval $ac_compile) 2>&5
   4605   ac_status=$?
   4606   echo "$as_me:4606: \$? = $ac_status" >&5
   4607   (exit $ac_status); } &&
   4608          { ac_try='test -s conftest.$ac_objext'
   4609   { (eval echo "$as_me:4609: \"$ac_try\"") >&5
   4610   (eval $ac_try) 2>&5
   4611   ac_status=$?
   4612   echo "$as_me:4612: \$? = $ac_status" >&5
   4613   (exit $ac_status); }; }; then
   4614   ac_cv_have_decl_optreset=yes
   4615 else
   4616   echo "$as_me: failed program was:" >&5
   4617 cat conftest.$ac_ext >&5
   4618 ac_cv_have_decl_optreset=no
   4619 fi
   4620 rm -f conftest.$ac_objext conftest.$ac_ext
   4621 fi
   4622 echo "$as_me:4622: result: $ac_cv_have_decl_optreset" >&5
   4623 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   4624 if test $ac_cv_have_decl_optreset = yes; then
   4625 
   4626 cat >>confdefs.h <<EOF
   4627 #define HAVE_DECL_OPTRESET 1
   4628 EOF
   4629 
   4630 else
   4631   cat >>confdefs.h <<EOF
   4632 #define HAVE_DECL_OPTRESET 0
   4633 EOF
   4634 
   4635 fi
   4636 
   4637 echo "$as_me:4637: checking whether sys_signame is declared" >&5
   4638 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
   4639 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
   4640   echo $ECHO_N "(cached) $ECHO_C" >&6
   4641 else
   4642   cat >conftest.$ac_ext <<_ACEOF
   4643 #line 4643 "configure"
   4644 #include "confdefs.h"
   4645 #include <signal.h>
   4646 
   4647 int
   4648 main ()
   4649 {
   4650 #ifndef sys_signame
   4651   char *p = (char *) sys_signame;
   4652 #endif
   4653 
   4654   ;
   4655   return 0;
   4656 }
   4657 _ACEOF
   4658 rm -f conftest.$ac_objext
   4659 if { (eval echo "$as_me:4659: \"$ac_compile\"") >&5
   4660   (eval $ac_compile) 2>&5
   4661   ac_status=$?
   4662   echo "$as_me:4662: \$? = $ac_status" >&5
   4663   (exit $ac_status); } &&
   4664          { ac_try='test -s conftest.$ac_objext'
   4665   { (eval echo "$as_me:4665: \"$ac_try\"") >&5
   4666   (eval $ac_try) 2>&5
   4667   ac_status=$?
   4668   echo "$as_me:4668: \$? = $ac_status" >&5
   4669   (exit $ac_status); }; }; then
   4670   ac_cv_have_decl_sys_signame=yes
   4671 else
   4672   echo "$as_me: failed program was:" >&5
   4673 cat conftest.$ac_ext >&5
   4674 ac_cv_have_decl_sys_signame=no
   4675 fi
   4676 rm -f conftest.$ac_objext conftest.$ac_ext
   4677 fi
   4678 echo "$as_me:4678: result: $ac_cv_have_decl_sys_signame" >&5
   4679 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
   4680 if test $ac_cv_have_decl_sys_signame = yes; then
   4681 
   4682 cat >>confdefs.h <<EOF
   4683 #define HAVE_DECL_SYS_SIGNAME 1
   4684 EOF
   4685 
   4686 else
   4687   cat >>confdefs.h <<EOF
   4688 #define HAVE_DECL_SYS_SIGNAME 0
   4689 EOF
   4690 
   4691 fi
   4692 
   4693 # Library functions (where a .h check isn't enough).
   4694 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   4695 # for constant arguments.  Useless!
   4696 echo "$as_me:4696: checking for working alloca.h" >&5
   4697 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   4698 if test "${ac_cv_working_alloca_h+set}" = set; then
   4699   echo $ECHO_N "(cached) $ECHO_C" >&6
   4700 else
   4701   cat >conftest.$ac_ext <<_ACEOF
   4702 #line 4702 "configure"
   4703 #include "confdefs.h"
   4704 #include <alloca.h>
   4705 int
   4706 main ()
   4707 {
   4708 char *p = (char *) alloca (2 * sizeof (int));
   4709   ;
   4710   return 0;
   4711 }
   4712 _ACEOF
   4713 rm -f conftest.$ac_objext conftest$ac_exeext
   4714 if { (eval echo "$as_me:4714: \"$ac_link\"") >&5
   4715   (eval $ac_link) 2>&5
   4716   ac_status=$?
   4717   echo "$as_me:4717: \$? = $ac_status" >&5
   4718   (exit $ac_status); } &&
   4719          { ac_try='test -s conftest$ac_exeext'
   4720   { (eval echo "$as_me:4720: \"$ac_try\"") >&5
   4721   (eval $ac_try) 2>&5
   4722   ac_status=$?
   4723   echo "$as_me:4723: \$? = $ac_status" >&5
   4724   (exit $ac_status); }; }; then
   4725   ac_cv_working_alloca_h=yes
   4726 else
   4727   echo "$as_me: failed program was:" >&5
   4728 cat conftest.$ac_ext >&5
   4729 ac_cv_working_alloca_h=no
   4730 fi
   4731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4732 fi
   4733 echo "$as_me:4733: result: $ac_cv_working_alloca_h" >&5
   4734 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   4735 if test $ac_cv_working_alloca_h = yes; then
   4736 
   4737 cat >>confdefs.h <<\EOF
   4738 #define HAVE_ALLOCA_H 1
   4739 EOF
   4740 
   4741 fi
   4742 
   4743 echo "$as_me:4743: checking for alloca" >&5
   4744 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   4745 if test "${ac_cv_func_alloca_works+set}" = set; then
   4746   echo $ECHO_N "(cached) $ECHO_C" >&6
   4747 else
   4748   cat >conftest.$ac_ext <<_ACEOF
   4749 #line 4749 "configure"
   4750 #include "confdefs.h"
   4751 #ifdef __GNUC__
   4752 # define alloca __builtin_alloca
   4753 #else
   4754 # ifdef _MSC_VER
   4755 #  include <malloc.h>
   4756 #  define alloca _alloca
   4757 # else
   4758 #  if HAVE_ALLOCA_H
   4759 #   include <alloca.h>
   4760 #  else
   4761 #   ifdef _AIX
   4762  #pragma alloca
   4763 #   else
   4764 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   4765 char *alloca ();
   4766 #    endif
   4767 #   endif
   4768 #  endif
   4769 # endif
   4770 #endif
   4771 
   4772 int
   4773 main ()
   4774 {
   4775 char *p = (char *) alloca (1);
   4776   ;
   4777   return 0;
   4778 }
   4779 _ACEOF
   4780 rm -f conftest.$ac_objext conftest$ac_exeext
   4781 if { (eval echo "$as_me:4781: \"$ac_link\"") >&5
   4782   (eval $ac_link) 2>&5
   4783   ac_status=$?
   4784   echo "$as_me:4784: \$? = $ac_status" >&5
   4785   (exit $ac_status); } &&
   4786          { ac_try='test -s conftest$ac_exeext'
   4787   { (eval echo "$as_me:4787: \"$ac_try\"") >&5
   4788   (eval $ac_try) 2>&5
   4789   ac_status=$?
   4790   echo "$as_me:4790: \$? = $ac_status" >&5
   4791   (exit $ac_status); }; }; then
   4792   ac_cv_func_alloca_works=yes
   4793 else
   4794   echo "$as_me: failed program was:" >&5
   4795 cat conftest.$ac_ext >&5
   4796 ac_cv_func_alloca_works=no
   4797 fi
   4798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4799 fi
   4800 echo "$as_me:4800: result: $ac_cv_func_alloca_works" >&5
   4801 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   4802 
   4803 if test $ac_cv_func_alloca_works = yes; then
   4804 
   4805 cat >>confdefs.h <<\EOF
   4806 #define HAVE_ALLOCA 1
   4807 EOF
   4808 
   4809 else
   4810   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   4811 # that cause trouble.  Some versions do not even contain alloca or
   4812 # contain a buggy version.  If you still want to use their alloca,
   4813 # use ar to extract alloca.o from them instead of compiling alloca.c.
   4814 
   4815 ALLOCA=alloca.$ac_objext
   4816 
   4817 cat >>confdefs.h <<\EOF
   4818 #define C_ALLOCA 1
   4819 EOF
   4820 
   4821 echo "$as_me:4821: checking whether \`alloca.c' needs Cray hooks" >&5
   4822 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   4823 if test "${ac_cv_os_cray+set}" = set; then
   4824   echo $ECHO_N "(cached) $ECHO_C" >&6
   4825 else
   4826   cat >conftest.$ac_ext <<_ACEOF
   4827 #line 4827 "configure"
   4828 #include "confdefs.h"
   4829 #if defined(CRAY) && ! defined(CRAY2)
   4830 webecray
   4831 #else
   4832 wenotbecray
   4833 #endif
   4834 
   4835 _ACEOF
   4836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4837   egrep "webecray" >/dev/null 2>&1; then
   4838   ac_cv_os_cray=yes
   4839 else
   4840   ac_cv_os_cray=no
   4841 fi
   4842 rm -f conftest*
   4843 
   4844 fi
   4845 echo "$as_me:4845: result: $ac_cv_os_cray" >&5
   4846 echo "${ECHO_T}$ac_cv_os_cray" >&6
   4847 if test $ac_cv_os_cray = yes; then
   4848   for ac_func in _getb67 GETB67 getb67; do
   4849     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4850 echo "$as_me:4850: checking for $ac_func" >&5
   4851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4852 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4853   echo $ECHO_N "(cached) $ECHO_C" >&6
   4854 else
   4855   cat >conftest.$ac_ext <<_ACEOF
   4856 #line 4856 "configure"
   4857 #include "confdefs.h"
   4858 /* System header to define __stub macros and hopefully few prototypes,
   4859     which can conflict with char $ac_func (); below.  */
   4860 #include <assert.h>
   4861 /* Override any gcc2 internal prototype to avoid an error.  */
   4862 #ifdef __cplusplus
   4863 extern "C"
   4864 #endif
   4865 /* We use char because int might match the return type of a gcc2
   4866    builtin and then its argument prototype would still apply.  */
   4867 char $ac_func ();
   4868 char (*f) ();
   4869 
   4870 int
   4871 main ()
   4872 {
   4873 /* The GNU C library defines this for functions which it implements
   4874     to always fail with ENOSYS.  Some functions are actually named
   4875     something starting with __ and the normal name is an alias.  */
   4876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4877 choke me
   4878 #else
   4879 f = $ac_func;
   4880 #endif
   4881 
   4882   ;
   4883   return 0;
   4884 }
   4885 _ACEOF
   4886 rm -f conftest.$ac_objext 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); } &&
   4892          { ac_try='test -s conftest$ac_exeext'
   4893   { (eval echo "$as_me:4893: \"$ac_try\"") >&5
   4894   (eval $ac_try) 2>&5
   4895   ac_status=$?
   4896   echo "$as_me:4896: \$? = $ac_status" >&5
   4897   (exit $ac_status); }; }; then
   4898   eval "$as_ac_var=yes"
   4899 else
   4900   echo "$as_me: failed program was:" >&5
   4901 cat conftest.$ac_ext >&5
   4902 eval "$as_ac_var=no"
   4903 fi
   4904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   4905 fi
   4906 echo "$as_me:4906: result: `eval echo '${'$as_ac_var'}'`" >&5
   4907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4908 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4909 
   4910 cat >>confdefs.h <<EOF
   4911 #define CRAY_STACKSEG_END $ac_func
   4912 EOF
   4913 
   4914     break
   4915 fi
   4916 
   4917   done
   4918 fi
   4919 
   4920 echo "$as_me:4920: checking stack direction for C alloca" >&5
   4921 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   4922 if test "${ac_cv_c_stack_direction+set}" = set; then
   4923   echo $ECHO_N "(cached) $ECHO_C" >&6
   4924 else
   4925   if test "$cross_compiling" = yes; then
   4926   ac_cv_c_stack_direction=0
   4927 else
   4928   cat >conftest.$ac_ext <<_ACEOF
   4929 #line 4929 "configure"
   4930 #include "confdefs.h"
   4931 int
   4932 find_stack_direction ()
   4933 {
   4934   static char *addr = 0;
   4935   auto char dummy;
   4936   if (addr == 0)
   4937     {
   4938       addr = &dummy;
   4939       return find_stack_direction ();
   4940     }
   4941   else
   4942     return (&dummy > addr) ? 1 : -1;
   4943 }
   4944 
   4945 int
   4946 main ()
   4947 {
   4948   exit (find_stack_direction () < 0);
   4949 }
   4950 _ACEOF
   4951 rm -f conftest$ac_exeext
   4952 if { (eval echo "$as_me:4952: \"$ac_link\"") >&5
   4953   (eval $ac_link) 2>&5
   4954   ac_status=$?
   4955   echo "$as_me:4955: \$? = $ac_status" >&5
   4956   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4957   { (eval echo "$as_me:4957: \"$ac_try\"") >&5
   4958   (eval $ac_try) 2>&5
   4959   ac_status=$?
   4960   echo "$as_me:4960: \$? = $ac_status" >&5
   4961   (exit $ac_status); }; }; then
   4962   ac_cv_c_stack_direction=1
   4963 else
   4964   echo "$as_me: program exited with status $ac_status" >&5
   4965 echo "$as_me: failed program was:" >&5
   4966 cat conftest.$ac_ext >&5
   4967 ac_cv_c_stack_direction=-1
   4968 fi
   4969 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4970 fi
   4971 fi
   4972 echo "$as_me:4972: result: $ac_cv_c_stack_direction" >&5
   4973 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   4974 
   4975 cat >>confdefs.h <<EOF
   4976 #define STACK_DIRECTION $ac_cv_c_stack_direction
   4977 EOF
   4978 
   4979 fi
   4980 
   4981 for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
   4982 	esetfunc fgetln flock fparseln futimes getopt getopt_long \
   4983 	group_from_gid \
   4984 	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
   4985 	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
   4986 	setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \
   4987 	strndup strsep strsuftoll strtoll \
   4988 	user_from_uid vasprintf vasnprintf vsnprintf
   4989 do
   4990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4991 echo "$as_me:4991: checking for $ac_func" >&5
   4992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4993 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4994   echo $ECHO_N "(cached) $ECHO_C" >&6
   4995 else
   4996   cat >conftest.$ac_ext <<_ACEOF
   4997 #line 4997 "configure"
   4998 #include "confdefs.h"
   4999 /* System header to define __stub macros and hopefully few prototypes,
   5000     which can conflict with char $ac_func (); below.  */
   5001 #include <assert.h>
   5002 /* Override any gcc2 internal prototype to avoid an error.  */
   5003 #ifdef __cplusplus
   5004 extern "C"
   5005 #endif
   5006 /* We use char because int might match the return type of a gcc2
   5007    builtin and then its argument prototype would still apply.  */
   5008 char $ac_func ();
   5009 char (*f) ();
   5010 
   5011 int
   5012 main ()
   5013 {
   5014 /* The GNU C library defines this for functions which it implements
   5015     to always fail with ENOSYS.  Some functions are actually named
   5016     something starting with __ and the normal name is an alias.  */
   5017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5018 choke me
   5019 #else
   5020 f = $ac_func;
   5021 #endif
   5022 
   5023   ;
   5024   return 0;
   5025 }
   5026 _ACEOF
   5027 rm -f conftest.$ac_objext conftest$ac_exeext
   5028 if { (eval echo "$as_me:5028: \"$ac_link\"") >&5
   5029   (eval $ac_link) 2>&5
   5030   ac_status=$?
   5031   echo "$as_me:5031: \$? = $ac_status" >&5
   5032   (exit $ac_status); } &&
   5033          { ac_try='test -s conftest$ac_exeext'
   5034   { (eval echo "$as_me:5034: \"$ac_try\"") >&5
   5035   (eval $ac_try) 2>&5
   5036   ac_status=$?
   5037   echo "$as_me:5037: \$? = $ac_status" >&5
   5038   (exit $ac_status); }; }; then
   5039   eval "$as_ac_var=yes"
   5040 else
   5041   echo "$as_me: failed program was:" >&5
   5042 cat conftest.$ac_ext >&5
   5043 eval "$as_ac_var=no"
   5044 fi
   5045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   5046 fi
   5047 echo "$as_me:5047: result: `eval echo '${'$as_ac_var'}'`" >&5
   5048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5049 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5050   cat >>confdefs.h <<EOF
   5051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5052 EOF
   5053 
   5054 fi
   5055 done
   5056 
   5057 echo "$as_me:5057: checking whether strsuftoll is declared" >&5
   5058 echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
   5059 if test "${ac_cv_have_decl_strsuftoll+set}" = set; then
   5060   echo $ECHO_N "(cached) $ECHO_C" >&6
   5061 else
   5062   cat >conftest.$ac_ext <<_ACEOF
   5063 #line 5063 "configure"
   5064 #include "confdefs.h"
   5065 #include <stdlib.h>
   5066 
   5067 int
   5068 main ()
   5069 {
   5070 #ifndef strsuftoll
   5071   char *p = (char *) strsuftoll;
   5072 #endif
   5073 
   5074   ;
   5075   return 0;
   5076 }
   5077 _ACEOF
   5078 rm -f conftest.$ac_objext
   5079 if { (eval echo "$as_me:5079: \"$ac_compile\"") >&5
   5080   (eval $ac_compile) 2>&5
   5081   ac_status=$?
   5082   echo "$as_me:5082: \$? = $ac_status" >&5
   5083   (exit $ac_status); } &&
   5084          { ac_try='test -s conftest.$ac_objext'
   5085   { (eval echo "$as_me:5085: \"$ac_try\"") >&5
   5086   (eval $ac_try) 2>&5
   5087   ac_status=$?
   5088   echo "$as_me:5088: \$? = $ac_status" >&5
   5089   (exit $ac_status); }; }; then
   5090   ac_cv_have_decl_strsuftoll=yes
   5091 else
   5092   echo "$as_me: failed program was:" >&5
   5093 cat conftest.$ac_ext >&5
   5094 ac_cv_have_decl_strsuftoll=no
   5095 fi
   5096 rm -f conftest.$ac_objext conftest.$ac_ext
   5097 fi
   5098 echo "$as_me:5098: result: $ac_cv_have_decl_strsuftoll" >&5
   5099 echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
   5100 if test $ac_cv_have_decl_strsuftoll = yes; then
   5101 
   5102 cat >>confdefs.h <<EOF
   5103 #define HAVE_DECL_STRSUFTOLL 1
   5104 EOF
   5105 
   5106 else
   5107   cat >>confdefs.h <<EOF
   5108 #define HAVE_DECL_STRSUFTOLL 0
   5109 EOF
   5110 
   5111 fi
   5112 
   5113 echo "$as_me:5113: checking whether htobe16 is declared" >&5
   5114 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
   5115 if test "${ac_cv_have_decl_htobe16+set}" = set; then
   5116   echo $ECHO_N "(cached) $ECHO_C" >&6
   5117 else
   5118   cat >conftest.$ac_ext <<_ACEOF
   5119 #line 5119 "configure"
   5120 #include "confdefs.h"
   5121 #include <sys/types.h>
   5122 
   5123 int
   5124 main ()
   5125 {
   5126 #ifndef htobe16
   5127   char *p = (char *) htobe16;
   5128 #endif
   5129 
   5130   ;
   5131   return 0;
   5132 }
   5133 _ACEOF
   5134 rm -f conftest.$ac_objext
   5135 if { (eval echo "$as_me:5135: \"$ac_compile\"") >&5
   5136   (eval $ac_compile) 2>&5
   5137   ac_status=$?
   5138   echo "$as_me:5138: \$? = $ac_status" >&5
   5139   (exit $ac_status); } &&
   5140          { ac_try='test -s conftest.$ac_objext'
   5141   { (eval echo "$as_me:5141: \"$ac_try\"") >&5
   5142   (eval $ac_try) 2>&5
   5143   ac_status=$?
   5144   echo "$as_me:5144: \$? = $ac_status" >&5
   5145   (exit $ac_status); }; }; then
   5146   ac_cv_have_decl_htobe16=yes
   5147 else
   5148   echo "$as_me: failed program was:" >&5
   5149 cat conftest.$ac_ext >&5
   5150 ac_cv_have_decl_htobe16=no
   5151 fi
   5152 rm -f conftest.$ac_objext conftest.$ac_ext
   5153 fi
   5154 echo "$as_me:5154: result: $ac_cv_have_decl_htobe16" >&5
   5155 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
   5156 if test $ac_cv_have_decl_htobe16 = yes; then
   5157 
   5158 cat >>confdefs.h <<EOF
   5159 #define HAVE_DECL_HTOBE16 1
   5160 EOF
   5161 
   5162 else
   5163   cat >>confdefs.h <<EOF
   5164 #define HAVE_DECL_HTOBE16 0
   5165 EOF
   5166 
   5167 fi
   5168 echo "$as_me:5168: checking whether htobe32 is declared" >&5
   5169 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
   5170 if test "${ac_cv_have_decl_htobe32+set}" = set; then
   5171   echo $ECHO_N "(cached) $ECHO_C" >&6
   5172 else
   5173   cat >conftest.$ac_ext <<_ACEOF
   5174 #line 5174 "configure"
   5175 #include "confdefs.h"
   5176 #include <sys/types.h>
   5177 
   5178 int
   5179 main ()
   5180 {
   5181 #ifndef htobe32
   5182   char *p = (char *) htobe32;
   5183 #endif
   5184 
   5185   ;
   5186   return 0;
   5187 }
   5188 _ACEOF
   5189 rm -f conftest.$ac_objext
   5190 if { (eval echo "$as_me:5190: \"$ac_compile\"") >&5
   5191   (eval $ac_compile) 2>&5
   5192   ac_status=$?
   5193   echo "$as_me:5193: \$? = $ac_status" >&5
   5194   (exit $ac_status); } &&
   5195          { ac_try='test -s conftest.$ac_objext'
   5196   { (eval echo "$as_me:5196: \"$ac_try\"") >&5
   5197   (eval $ac_try) 2>&5
   5198   ac_status=$?
   5199   echo "$as_me:5199: \$? = $ac_status" >&5
   5200   (exit $ac_status); }; }; then
   5201   ac_cv_have_decl_htobe32=yes
   5202 else
   5203   echo "$as_me: failed program was:" >&5
   5204 cat conftest.$ac_ext >&5
   5205 ac_cv_have_decl_htobe32=no
   5206 fi
   5207 rm -f conftest.$ac_objext conftest.$ac_ext
   5208 fi
   5209 echo "$as_me:5209: result: $ac_cv_have_decl_htobe32" >&5
   5210 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
   5211 if test $ac_cv_have_decl_htobe32 = yes; then
   5212 
   5213 cat >>confdefs.h <<EOF
   5214 #define HAVE_DECL_HTOBE32 1
   5215 EOF
   5216 
   5217 else
   5218   cat >>confdefs.h <<EOF
   5219 #define HAVE_DECL_HTOBE32 0
   5220 EOF
   5221 
   5222 fi
   5223 echo "$as_me:5223: checking whether htobe64 is declared" >&5
   5224 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
   5225 if test "${ac_cv_have_decl_htobe64+set}" = set; then
   5226   echo $ECHO_N "(cached) $ECHO_C" >&6
   5227 else
   5228   cat >conftest.$ac_ext <<_ACEOF
   5229 #line 5229 "configure"
   5230 #include "confdefs.h"
   5231 #include <sys/types.h>
   5232 
   5233 int
   5234 main ()
   5235 {
   5236 #ifndef htobe64
   5237   char *p = (char *) htobe64;
   5238 #endif
   5239 
   5240   ;
   5241   return 0;
   5242 }
   5243 _ACEOF
   5244 rm -f conftest.$ac_objext
   5245 if { (eval echo "$as_me:5245: \"$ac_compile\"") >&5
   5246   (eval $ac_compile) 2>&5
   5247   ac_status=$?
   5248   echo "$as_me:5248: \$? = $ac_status" >&5
   5249   (exit $ac_status); } &&
   5250          { ac_try='test -s conftest.$ac_objext'
   5251   { (eval echo "$as_me:5251: \"$ac_try\"") >&5
   5252   (eval $ac_try) 2>&5
   5253   ac_status=$?
   5254   echo "$as_me:5254: \$? = $ac_status" >&5
   5255   (exit $ac_status); }; }; then
   5256   ac_cv_have_decl_htobe64=yes
   5257 else
   5258   echo "$as_me: failed program was:" >&5
   5259 cat conftest.$ac_ext >&5
   5260 ac_cv_have_decl_htobe64=no
   5261 fi
   5262 rm -f conftest.$ac_objext conftest.$ac_ext
   5263 fi
   5264 echo "$as_me:5264: result: $ac_cv_have_decl_htobe64" >&5
   5265 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
   5266 if test $ac_cv_have_decl_htobe64 = yes; then
   5267 
   5268 cat >>confdefs.h <<EOF
   5269 #define HAVE_DECL_HTOBE64 1
   5270 EOF
   5271 
   5272 else
   5273   cat >>confdefs.h <<EOF
   5274 #define HAVE_DECL_HTOBE64 0
   5275 EOF
   5276 
   5277 fi
   5278 echo "$as_me:5278: checking whether htole16 is declared" >&5
   5279 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
   5280 if test "${ac_cv_have_decl_htole16+set}" = set; then
   5281   echo $ECHO_N "(cached) $ECHO_C" >&6
   5282 else
   5283   cat >conftest.$ac_ext <<_ACEOF
   5284 #line 5284 "configure"
   5285 #include "confdefs.h"
   5286 #include <sys/types.h>
   5287 
   5288 int
   5289 main ()
   5290 {
   5291 #ifndef htole16
   5292   char *p = (char *) htole16;
   5293 #endif
   5294 
   5295   ;
   5296   return 0;
   5297 }
   5298 _ACEOF
   5299 rm -f conftest.$ac_objext
   5300 if { (eval echo "$as_me:5300: \"$ac_compile\"") >&5
   5301   (eval $ac_compile) 2>&5
   5302   ac_status=$?
   5303   echo "$as_me:5303: \$? = $ac_status" >&5
   5304   (exit $ac_status); } &&
   5305          { ac_try='test -s conftest.$ac_objext'
   5306   { (eval echo "$as_me:5306: \"$ac_try\"") >&5
   5307   (eval $ac_try) 2>&5
   5308   ac_status=$?
   5309   echo "$as_me:5309: \$? = $ac_status" >&5
   5310   (exit $ac_status); }; }; then
   5311   ac_cv_have_decl_htole16=yes
   5312 else
   5313   echo "$as_me: failed program was:" >&5
   5314 cat conftest.$ac_ext >&5
   5315 ac_cv_have_decl_htole16=no
   5316 fi
   5317 rm -f conftest.$ac_objext conftest.$ac_ext
   5318 fi
   5319 echo "$as_me:5319: result: $ac_cv_have_decl_htole16" >&5
   5320 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
   5321 if test $ac_cv_have_decl_htole16 = yes; then
   5322 
   5323 cat >>confdefs.h <<EOF
   5324 #define HAVE_DECL_HTOLE16 1
   5325 EOF
   5326 
   5327 else
   5328   cat >>confdefs.h <<EOF
   5329 #define HAVE_DECL_HTOLE16 0
   5330 EOF
   5331 
   5332 fi
   5333 echo "$as_me:5333: checking whether htole32 is declared" >&5
   5334 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
   5335 if test "${ac_cv_have_decl_htole32+set}" = set; then
   5336   echo $ECHO_N "(cached) $ECHO_C" >&6
   5337 else
   5338   cat >conftest.$ac_ext <<_ACEOF
   5339 #line 5339 "configure"
   5340 #include "confdefs.h"
   5341 #include <sys/types.h>
   5342 
   5343 int
   5344 main ()
   5345 {
   5346 #ifndef htole32
   5347   char *p = (char *) htole32;
   5348 #endif
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 rm -f conftest.$ac_objext
   5355 if { (eval echo "$as_me:5355: \"$ac_compile\"") >&5
   5356   (eval $ac_compile) 2>&5
   5357   ac_status=$?
   5358   echo "$as_me:5358: \$? = $ac_status" >&5
   5359   (exit $ac_status); } &&
   5360          { ac_try='test -s conftest.$ac_objext'
   5361   { (eval echo "$as_me:5361: \"$ac_try\"") >&5
   5362   (eval $ac_try) 2>&5
   5363   ac_status=$?
   5364   echo "$as_me:5364: \$? = $ac_status" >&5
   5365   (exit $ac_status); }; }; then
   5366   ac_cv_have_decl_htole32=yes
   5367 else
   5368   echo "$as_me: failed program was:" >&5
   5369 cat conftest.$ac_ext >&5
   5370 ac_cv_have_decl_htole32=no
   5371 fi
   5372 rm -f conftest.$ac_objext conftest.$ac_ext
   5373 fi
   5374 echo "$as_me:5374: result: $ac_cv_have_decl_htole32" >&5
   5375 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
   5376 if test $ac_cv_have_decl_htole32 = yes; then
   5377 
   5378 cat >>confdefs.h <<EOF
   5379 #define HAVE_DECL_HTOLE32 1
   5380 EOF
   5381 
   5382 else
   5383   cat >>confdefs.h <<EOF
   5384 #define HAVE_DECL_HTOLE32 0
   5385 EOF
   5386 
   5387 fi
   5388 echo "$as_me:5388: checking whether htole64 is declared" >&5
   5389 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
   5390 if test "${ac_cv_have_decl_htole64+set}" = set; then
   5391   echo $ECHO_N "(cached) $ECHO_C" >&6
   5392 else
   5393   cat >conftest.$ac_ext <<_ACEOF
   5394 #line 5394 "configure"
   5395 #include "confdefs.h"
   5396 #include <sys/types.h>
   5397 
   5398 int
   5399 main ()
   5400 {
   5401 #ifndef htole64
   5402   char *p = (char *) htole64;
   5403 #endif
   5404 
   5405   ;
   5406   return 0;
   5407 }
   5408 _ACEOF
   5409 rm -f conftest.$ac_objext
   5410 if { (eval echo "$as_me:5410: \"$ac_compile\"") >&5
   5411   (eval $ac_compile) 2>&5
   5412   ac_status=$?
   5413   echo "$as_me:5413: \$? = $ac_status" >&5
   5414   (exit $ac_status); } &&
   5415          { ac_try='test -s conftest.$ac_objext'
   5416   { (eval echo "$as_me:5416: \"$ac_try\"") >&5
   5417   (eval $ac_try) 2>&5
   5418   ac_status=$?
   5419   echo "$as_me:5419: \$? = $ac_status" >&5
   5420   (exit $ac_status); }; }; then
   5421   ac_cv_have_decl_htole64=yes
   5422 else
   5423   echo "$as_me: failed program was:" >&5
   5424 cat conftest.$ac_ext >&5
   5425 ac_cv_have_decl_htole64=no
   5426 fi
   5427 rm -f conftest.$ac_objext conftest.$ac_ext
   5428 fi
   5429 echo "$as_me:5429: result: $ac_cv_have_decl_htole64" >&5
   5430 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
   5431 if test $ac_cv_have_decl_htole64 = yes; then
   5432 
   5433 cat >>confdefs.h <<EOF
   5434 #define HAVE_DECL_HTOLE64 1
   5435 EOF
   5436 
   5437 else
   5438   cat >>confdefs.h <<EOF
   5439 #define HAVE_DECL_HTOLE64 0
   5440 EOF
   5441 
   5442 fi
   5443 echo "$as_me:5443: checking whether be16toh is declared" >&5
   5444 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
   5445 if test "${ac_cv_have_decl_be16toh+set}" = set; then
   5446   echo $ECHO_N "(cached) $ECHO_C" >&6
   5447 else
   5448   cat >conftest.$ac_ext <<_ACEOF
   5449 #line 5449 "configure"
   5450 #include "confdefs.h"
   5451 #include <sys/types.h>
   5452 
   5453 int
   5454 main ()
   5455 {
   5456 #ifndef be16toh
   5457   char *p = (char *) be16toh;
   5458 #endif
   5459 
   5460   ;
   5461   return 0;
   5462 }
   5463 _ACEOF
   5464 rm -f conftest.$ac_objext
   5465 if { (eval echo "$as_me:5465: \"$ac_compile\"") >&5
   5466   (eval $ac_compile) 2>&5
   5467   ac_status=$?
   5468   echo "$as_me:5468: \$? = $ac_status" >&5
   5469   (exit $ac_status); } &&
   5470          { ac_try='test -s conftest.$ac_objext'
   5471   { (eval echo "$as_me:5471: \"$ac_try\"") >&5
   5472   (eval $ac_try) 2>&5
   5473   ac_status=$?
   5474   echo "$as_me:5474: \$? = $ac_status" >&5
   5475   (exit $ac_status); }; }; then
   5476   ac_cv_have_decl_be16toh=yes
   5477 else
   5478   echo "$as_me: failed program was:" >&5
   5479 cat conftest.$ac_ext >&5
   5480 ac_cv_have_decl_be16toh=no
   5481 fi
   5482 rm -f conftest.$ac_objext conftest.$ac_ext
   5483 fi
   5484 echo "$as_me:5484: result: $ac_cv_have_decl_be16toh" >&5
   5485 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
   5486 if test $ac_cv_have_decl_be16toh = yes; then
   5487 
   5488 cat >>confdefs.h <<EOF
   5489 #define HAVE_DECL_BE16TOH 1
   5490 EOF
   5491 
   5492 else
   5493   cat >>confdefs.h <<EOF
   5494 #define HAVE_DECL_BE16TOH 0
   5495 EOF
   5496 
   5497 fi
   5498 echo "$as_me:5498: checking whether be32toh is declared" >&5
   5499 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
   5500 if test "${ac_cv_have_decl_be32toh+set}" = set; then
   5501   echo $ECHO_N "(cached) $ECHO_C" >&6
   5502 else
   5503   cat >conftest.$ac_ext <<_ACEOF
   5504 #line 5504 "configure"
   5505 #include "confdefs.h"
   5506 #include <sys/types.h>
   5507 
   5508 int
   5509 main ()
   5510 {
   5511 #ifndef be32toh
   5512   char *p = (char *) be32toh;
   5513 #endif
   5514 
   5515   ;
   5516   return 0;
   5517 }
   5518 _ACEOF
   5519 rm -f conftest.$ac_objext
   5520 if { (eval echo "$as_me:5520: \"$ac_compile\"") >&5
   5521   (eval $ac_compile) 2>&5
   5522   ac_status=$?
   5523   echo "$as_me:5523: \$? = $ac_status" >&5
   5524   (exit $ac_status); } &&
   5525          { ac_try='test -s conftest.$ac_objext'
   5526   { (eval echo "$as_me:5526: \"$ac_try\"") >&5
   5527   (eval $ac_try) 2>&5
   5528   ac_status=$?
   5529   echo "$as_me:5529: \$? = $ac_status" >&5
   5530   (exit $ac_status); }; }; then
   5531   ac_cv_have_decl_be32toh=yes
   5532 else
   5533   echo "$as_me: failed program was:" >&5
   5534 cat conftest.$ac_ext >&5
   5535 ac_cv_have_decl_be32toh=no
   5536 fi
   5537 rm -f conftest.$ac_objext conftest.$ac_ext
   5538 fi
   5539 echo "$as_me:5539: result: $ac_cv_have_decl_be32toh" >&5
   5540 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
   5541 if test $ac_cv_have_decl_be32toh = yes; then
   5542 
   5543 cat >>confdefs.h <<EOF
   5544 #define HAVE_DECL_BE32TOH 1
   5545 EOF
   5546 
   5547 else
   5548   cat >>confdefs.h <<EOF
   5549 #define HAVE_DECL_BE32TOH 0
   5550 EOF
   5551 
   5552 fi
   5553 echo "$as_me:5553: checking whether be64toh is declared" >&5
   5554 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
   5555 if test "${ac_cv_have_decl_be64toh+set}" = set; then
   5556   echo $ECHO_N "(cached) $ECHO_C" >&6
   5557 else
   5558   cat >conftest.$ac_ext <<_ACEOF
   5559 #line 5559 "configure"
   5560 #include "confdefs.h"
   5561 #include <sys/types.h>
   5562 
   5563 int
   5564 main ()
   5565 {
   5566 #ifndef be64toh
   5567   char *p = (char *) be64toh;
   5568 #endif
   5569 
   5570   ;
   5571   return 0;
   5572 }
   5573 _ACEOF
   5574 rm -f conftest.$ac_objext
   5575 if { (eval echo "$as_me:5575: \"$ac_compile\"") >&5
   5576   (eval $ac_compile) 2>&5
   5577   ac_status=$?
   5578   echo "$as_me:5578: \$? = $ac_status" >&5
   5579   (exit $ac_status); } &&
   5580          { ac_try='test -s conftest.$ac_objext'
   5581   { (eval echo "$as_me:5581: \"$ac_try\"") >&5
   5582   (eval $ac_try) 2>&5
   5583   ac_status=$?
   5584   echo "$as_me:5584: \$? = $ac_status" >&5
   5585   (exit $ac_status); }; }; then
   5586   ac_cv_have_decl_be64toh=yes
   5587 else
   5588   echo "$as_me: failed program was:" >&5
   5589 cat conftest.$ac_ext >&5
   5590 ac_cv_have_decl_be64toh=no
   5591 fi
   5592 rm -f conftest.$ac_objext conftest.$ac_ext
   5593 fi
   5594 echo "$as_me:5594: result: $ac_cv_have_decl_be64toh" >&5
   5595 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
   5596 if test $ac_cv_have_decl_be64toh = yes; then
   5597 
   5598 cat >>confdefs.h <<EOF
   5599 #define HAVE_DECL_BE64TOH 1
   5600 EOF
   5601 
   5602 else
   5603   cat >>confdefs.h <<EOF
   5604 #define HAVE_DECL_BE64TOH 0
   5605 EOF
   5606 
   5607 fi
   5608 echo "$as_me:5608: checking whether le16toh is declared" >&5
   5609 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
   5610 if test "${ac_cv_have_decl_le16toh+set}" = set; then
   5611   echo $ECHO_N "(cached) $ECHO_C" >&6
   5612 else
   5613   cat >conftest.$ac_ext <<_ACEOF
   5614 #line 5614 "configure"
   5615 #include "confdefs.h"
   5616 #include <sys/types.h>
   5617 
   5618 int
   5619 main ()
   5620 {
   5621 #ifndef le16toh
   5622   char *p = (char *) le16toh;
   5623 #endif
   5624 
   5625   ;
   5626   return 0;
   5627 }
   5628 _ACEOF
   5629 rm -f conftest.$ac_objext
   5630 if { (eval echo "$as_me:5630: \"$ac_compile\"") >&5
   5631   (eval $ac_compile) 2>&5
   5632   ac_status=$?
   5633   echo "$as_me:5633: \$? = $ac_status" >&5
   5634   (exit $ac_status); } &&
   5635          { ac_try='test -s conftest.$ac_objext'
   5636   { (eval echo "$as_me:5636: \"$ac_try\"") >&5
   5637   (eval $ac_try) 2>&5
   5638   ac_status=$?
   5639   echo "$as_me:5639: \$? = $ac_status" >&5
   5640   (exit $ac_status); }; }; then
   5641   ac_cv_have_decl_le16toh=yes
   5642 else
   5643   echo "$as_me: failed program was:" >&5
   5644 cat conftest.$ac_ext >&5
   5645 ac_cv_have_decl_le16toh=no
   5646 fi
   5647 rm -f conftest.$ac_objext conftest.$ac_ext
   5648 fi
   5649 echo "$as_me:5649: result: $ac_cv_have_decl_le16toh" >&5
   5650 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
   5651 if test $ac_cv_have_decl_le16toh = yes; then
   5652 
   5653 cat >>confdefs.h <<EOF
   5654 #define HAVE_DECL_LE16TOH 1
   5655 EOF
   5656 
   5657 else
   5658   cat >>confdefs.h <<EOF
   5659 #define HAVE_DECL_LE16TOH 0
   5660 EOF
   5661 
   5662 fi
   5663 echo "$as_me:5663: checking whether le32toh is declared" >&5
   5664 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
   5665 if test "${ac_cv_have_decl_le32toh+set}" = set; then
   5666   echo $ECHO_N "(cached) $ECHO_C" >&6
   5667 else
   5668   cat >conftest.$ac_ext <<_ACEOF
   5669 #line 5669 "configure"
   5670 #include "confdefs.h"
   5671 #include <sys/types.h>
   5672 
   5673 int
   5674 main ()
   5675 {
   5676 #ifndef le32toh
   5677   char *p = (char *) le32toh;
   5678 #endif
   5679 
   5680   ;
   5681   return 0;
   5682 }
   5683 _ACEOF
   5684 rm -f conftest.$ac_objext
   5685 if { (eval echo "$as_me:5685: \"$ac_compile\"") >&5
   5686   (eval $ac_compile) 2>&5
   5687   ac_status=$?
   5688   echo "$as_me:5688: \$? = $ac_status" >&5
   5689   (exit $ac_status); } &&
   5690          { ac_try='test -s conftest.$ac_objext'
   5691   { (eval echo "$as_me:5691: \"$ac_try\"") >&5
   5692   (eval $ac_try) 2>&5
   5693   ac_status=$?
   5694   echo "$as_me:5694: \$? = $ac_status" >&5
   5695   (exit $ac_status); }; }; then
   5696   ac_cv_have_decl_le32toh=yes
   5697 else
   5698   echo "$as_me: failed program was:" >&5
   5699 cat conftest.$ac_ext >&5
   5700 ac_cv_have_decl_le32toh=no
   5701 fi
   5702 rm -f conftest.$ac_objext conftest.$ac_ext
   5703 fi
   5704 echo "$as_me:5704: result: $ac_cv_have_decl_le32toh" >&5
   5705 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
   5706 if test $ac_cv_have_decl_le32toh = yes; then
   5707 
   5708 cat >>confdefs.h <<EOF
   5709 #define HAVE_DECL_LE32TOH 1
   5710 EOF
   5711 
   5712 else
   5713   cat >>confdefs.h <<EOF
   5714 #define HAVE_DECL_LE32TOH 0
   5715 EOF
   5716 
   5717 fi
   5718 echo "$as_me:5718: checking whether le64toh is declared" >&5
   5719 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
   5720 if test "${ac_cv_have_decl_le64toh+set}" = set; then
   5721   echo $ECHO_N "(cached) $ECHO_C" >&6
   5722 else
   5723   cat >conftest.$ac_ext <<_ACEOF
   5724 #line 5724 "configure"
   5725 #include "confdefs.h"
   5726 #include <sys/types.h>
   5727 
   5728 int
   5729 main ()
   5730 {
   5731 #ifndef le64toh
   5732   char *p = (char *) le64toh;
   5733 #endif
   5734 
   5735   ;
   5736   return 0;
   5737 }
   5738 _ACEOF
   5739 rm -f conftest.$ac_objext
   5740 if { (eval echo "$as_me:5740: \"$ac_compile\"") >&5
   5741   (eval $ac_compile) 2>&5
   5742   ac_status=$?
   5743   echo "$as_me:5743: \$? = $ac_status" >&5
   5744   (exit $ac_status); } &&
   5745          { ac_try='test -s conftest.$ac_objext'
   5746   { (eval echo "$as_me:5746: \"$ac_try\"") >&5
   5747   (eval $ac_try) 2>&5
   5748   ac_status=$?
   5749   echo "$as_me:5749: \$? = $ac_status" >&5
   5750   (exit $ac_status); }; }; then
   5751   ac_cv_have_decl_le64toh=yes
   5752 else
   5753   echo "$as_me: failed program was:" >&5
   5754 cat conftest.$ac_ext >&5
   5755 ac_cv_have_decl_le64toh=no
   5756 fi
   5757 rm -f conftest.$ac_objext conftest.$ac_ext
   5758 fi
   5759 echo "$as_me:5759: result: $ac_cv_have_decl_le64toh" >&5
   5760 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
   5761 if test $ac_cv_have_decl_le64toh = yes; then
   5762 
   5763 cat >>confdefs.h <<EOF
   5764 #define HAVE_DECL_LE64TOH 1
   5765 EOF
   5766 
   5767 else
   5768   cat >>confdefs.h <<EOF
   5769 #define HAVE_DECL_LE64TOH 0
   5770 EOF
   5771 
   5772 fi
   5773 
   5774 echo "$as_me:5774: checking whether bswap16 is declared" >&5
   5775 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
   5776 if test "${ac_cv_have_decl_bswap16+set}" = set; then
   5777   echo $ECHO_N "(cached) $ECHO_C" >&6
   5778 else
   5779   cat >conftest.$ac_ext <<_ACEOF
   5780 #line 5780 "configure"
   5781 #include "confdefs.h"
   5782 #include <machine/bswap.h>
   5783 
   5784 int
   5785 main ()
   5786 {
   5787 #ifndef bswap16
   5788   char *p = (char *) bswap16;
   5789 #endif
   5790 
   5791   ;
   5792   return 0;
   5793 }
   5794 _ACEOF
   5795 rm -f conftest.$ac_objext
   5796 if { (eval echo "$as_me:5796: \"$ac_compile\"") >&5
   5797   (eval $ac_compile) 2>&5
   5798   ac_status=$?
   5799   echo "$as_me:5799: \$? = $ac_status" >&5
   5800   (exit $ac_status); } &&
   5801          { ac_try='test -s conftest.$ac_objext'
   5802   { (eval echo "$as_me:5802: \"$ac_try\"") >&5
   5803   (eval $ac_try) 2>&5
   5804   ac_status=$?
   5805   echo "$as_me:5805: \$? = $ac_status" >&5
   5806   (exit $ac_status); }; }; then
   5807   ac_cv_have_decl_bswap16=yes
   5808 else
   5809   echo "$as_me: failed program was:" >&5
   5810 cat conftest.$ac_ext >&5
   5811 ac_cv_have_decl_bswap16=no
   5812 fi
   5813 rm -f conftest.$ac_objext conftest.$ac_ext
   5814 fi
   5815 echo "$as_me:5815: result: $ac_cv_have_decl_bswap16" >&5
   5816 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
   5817 if test $ac_cv_have_decl_bswap16 = yes; then
   5818 
   5819 cat >>confdefs.h <<EOF
   5820 #define HAVE_DECL_BSWAP16 1
   5821 EOF
   5822 
   5823 else
   5824   cat >>confdefs.h <<EOF
   5825 #define HAVE_DECL_BSWAP16 0
   5826 EOF
   5827 
   5828 fi
   5829 echo "$as_me:5829: checking whether bswap32 is declared" >&5
   5830 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
   5831 if test "${ac_cv_have_decl_bswap32+set}" = set; then
   5832   echo $ECHO_N "(cached) $ECHO_C" >&6
   5833 else
   5834   cat >conftest.$ac_ext <<_ACEOF
   5835 #line 5835 "configure"
   5836 #include "confdefs.h"
   5837 #include <machine/bswap.h>
   5838 
   5839 int
   5840 main ()
   5841 {
   5842 #ifndef bswap32
   5843   char *p = (char *) bswap32;
   5844 #endif
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 rm -f conftest.$ac_objext
   5851 if { (eval echo "$as_me:5851: \"$ac_compile\"") >&5
   5852   (eval $ac_compile) 2>&5
   5853   ac_status=$?
   5854   echo "$as_me:5854: \$? = $ac_status" >&5
   5855   (exit $ac_status); } &&
   5856          { ac_try='test -s conftest.$ac_objext'
   5857   { (eval echo "$as_me:5857: \"$ac_try\"") >&5
   5858   (eval $ac_try) 2>&5
   5859   ac_status=$?
   5860   echo "$as_me:5860: \$? = $ac_status" >&5
   5861   (exit $ac_status); }; }; then
   5862   ac_cv_have_decl_bswap32=yes
   5863 else
   5864   echo "$as_me: failed program was:" >&5
   5865 cat conftest.$ac_ext >&5
   5866 ac_cv_have_decl_bswap32=no
   5867 fi
   5868 rm -f conftest.$ac_objext conftest.$ac_ext
   5869 fi
   5870 echo "$as_me:5870: result: $ac_cv_have_decl_bswap32" >&5
   5871 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
   5872 if test $ac_cv_have_decl_bswap32 = yes; then
   5873 
   5874 cat >>confdefs.h <<EOF
   5875 #define HAVE_DECL_BSWAP32 1
   5876 EOF
   5877 
   5878 else
   5879   cat >>confdefs.h <<EOF
   5880 #define HAVE_DECL_BSWAP32 0
   5881 EOF
   5882 
   5883 fi
   5884 echo "$as_me:5884: checking whether bswap64 is declared" >&5
   5885 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
   5886 if test "${ac_cv_have_decl_bswap64+set}" = set; then
   5887   echo $ECHO_N "(cached) $ECHO_C" >&6
   5888 else
   5889   cat >conftest.$ac_ext <<_ACEOF
   5890 #line 5890 "configure"
   5891 #include "confdefs.h"
   5892 #include <machine/bswap.h>
   5893 
   5894 int
   5895 main ()
   5896 {
   5897 #ifndef bswap64
   5898   char *p = (char *) bswap64;
   5899 #endif
   5900 
   5901   ;
   5902   return 0;
   5903 }
   5904 _ACEOF
   5905 rm -f conftest.$ac_objext
   5906 if { (eval echo "$as_me:5906: \"$ac_compile\"") >&5
   5907   (eval $ac_compile) 2>&5
   5908   ac_status=$?
   5909   echo "$as_me:5909: \$? = $ac_status" >&5
   5910   (exit $ac_status); } &&
   5911          { ac_try='test -s conftest.$ac_objext'
   5912   { (eval echo "$as_me:5912: \"$ac_try\"") >&5
   5913   (eval $ac_try) 2>&5
   5914   ac_status=$?
   5915   echo "$as_me:5915: \$? = $ac_status" >&5
   5916   (exit $ac_status); }; }; then
   5917   ac_cv_have_decl_bswap64=yes
   5918 else
   5919   echo "$as_me: failed program was:" >&5
   5920 cat conftest.$ac_ext >&5
   5921 ac_cv_have_decl_bswap64=no
   5922 fi
   5923 rm -f conftest.$ac_objext conftest.$ac_ext
   5924 fi
   5925 echo "$as_me:5925: result: $ac_cv_have_decl_bswap64" >&5
   5926 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
   5927 if test $ac_cv_have_decl_bswap64 = yes; then
   5928 
   5929 cat >>confdefs.h <<EOF
   5930 #define HAVE_DECL_BSWAP64 1
   5931 EOF
   5932 
   5933 else
   5934   cat >>confdefs.h <<EOF
   5935 #define HAVE_DECL_BSWAP64 0
   5936 EOF
   5937 
   5938 fi
   5939 
   5940 echo "$as_me:5940: checking whether be16enc is declared" >&5
   5941 echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
   5942 if test "${ac_cv_have_decl_be16enc+set}" = set; then
   5943   echo $ECHO_N "(cached) $ECHO_C" >&6
   5944 else
   5945   cat >conftest.$ac_ext <<_ACEOF
   5946 #line 5946 "configure"
   5947 #include "confdefs.h"
   5948 #include <sys/endian.h>
   5949 
   5950 int
   5951 main ()
   5952 {
   5953 #ifndef be16enc
   5954   char *p = (char *) be16enc;
   5955 #endif
   5956 
   5957   ;
   5958   return 0;
   5959 }
   5960 _ACEOF
   5961 rm -f conftest.$ac_objext
   5962 if { (eval echo "$as_me:5962: \"$ac_compile\"") >&5
   5963   (eval $ac_compile) 2>&5
   5964   ac_status=$?
   5965   echo "$as_me:5965: \$? = $ac_status" >&5
   5966   (exit $ac_status); } &&
   5967          { ac_try='test -s conftest.$ac_objext'
   5968   { (eval echo "$as_me:5968: \"$ac_try\"") >&5
   5969   (eval $ac_try) 2>&5
   5970   ac_status=$?
   5971   echo "$as_me:5971: \$? = $ac_status" >&5
   5972   (exit $ac_status); }; }; then
   5973   ac_cv_have_decl_be16enc=yes
   5974 else
   5975   echo "$as_me: failed program was:" >&5
   5976 cat conftest.$ac_ext >&5
   5977 ac_cv_have_decl_be16enc=no
   5978 fi
   5979 rm -f conftest.$ac_objext conftest.$ac_ext
   5980 fi
   5981 echo "$as_me:5981: result: $ac_cv_have_decl_be16enc" >&5
   5982 echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
   5983 if test $ac_cv_have_decl_be16enc = yes; then
   5984 
   5985 cat >>confdefs.h <<EOF
   5986 #define HAVE_DECL_BE16ENC 1
   5987 EOF
   5988 
   5989 else
   5990   cat >>confdefs.h <<EOF
   5991 #define HAVE_DECL_BE16ENC 0
   5992 EOF
   5993 
   5994 fi
   5995 echo "$as_me:5995: checking whether le16enc is declared" >&5
   5996 echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
   5997 if test "${ac_cv_have_decl_le16enc+set}" = set; then
   5998   echo $ECHO_N "(cached) $ECHO_C" >&6
   5999 else
   6000   cat >conftest.$ac_ext <<_ACEOF
   6001 #line 6001 "configure"
   6002 #include "confdefs.h"
   6003 #include <sys/endian.h>
   6004 
   6005 int
   6006 main ()
   6007 {
   6008 #ifndef le16enc
   6009   char *p = (char *) le16enc;
   6010 #endif
   6011 
   6012   ;
   6013   return 0;
   6014 }
   6015 _ACEOF
   6016 rm -f conftest.$ac_objext
   6017 if { (eval echo "$as_me:6017: \"$ac_compile\"") >&5
   6018   (eval $ac_compile) 2>&5
   6019   ac_status=$?
   6020   echo "$as_me:6020: \$? = $ac_status" >&5
   6021   (exit $ac_status); } &&
   6022          { ac_try='test -s conftest.$ac_objext'
   6023   { (eval echo "$as_me:6023: \"$ac_try\"") >&5
   6024   (eval $ac_try) 2>&5
   6025   ac_status=$?
   6026   echo "$as_me:6026: \$? = $ac_status" >&5
   6027   (exit $ac_status); }; }; then
   6028   ac_cv_have_decl_le16enc=yes
   6029 else
   6030   echo "$as_me: failed program was:" >&5
   6031 cat conftest.$ac_ext >&5
   6032 ac_cv_have_decl_le16enc=no
   6033 fi
   6034 rm -f conftest.$ac_objext conftest.$ac_ext
   6035 fi
   6036 echo "$as_me:6036: result: $ac_cv_have_decl_le16enc" >&5
   6037 echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
   6038 if test $ac_cv_have_decl_le16enc = yes; then
   6039 
   6040 cat >>confdefs.h <<EOF
   6041 #define HAVE_DECL_LE16ENC 1
   6042 EOF
   6043 
   6044 else
   6045   cat >>confdefs.h <<EOF
   6046 #define HAVE_DECL_LE16ENC 0
   6047 EOF
   6048 
   6049 fi
   6050 echo "$as_me:6050: checking whether be16dec is declared" >&5
   6051 echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
   6052 if test "${ac_cv_have_decl_be16dec+set}" = set; then
   6053   echo $ECHO_N "(cached) $ECHO_C" >&6
   6054 else
   6055   cat >conftest.$ac_ext <<_ACEOF
   6056 #line 6056 "configure"
   6057 #include "confdefs.h"
   6058 #include <sys/endian.h>
   6059 
   6060 int
   6061 main ()
   6062 {
   6063 #ifndef be16dec
   6064   char *p = (char *) be16dec;
   6065 #endif
   6066 
   6067   ;
   6068   return 0;
   6069 }
   6070 _ACEOF
   6071 rm -f conftest.$ac_objext
   6072 if { (eval echo "$as_me:6072: \"$ac_compile\"") >&5
   6073   (eval $ac_compile) 2>&5
   6074   ac_status=$?
   6075   echo "$as_me:6075: \$? = $ac_status" >&5
   6076   (exit $ac_status); } &&
   6077          { ac_try='test -s conftest.$ac_objext'
   6078   { (eval echo "$as_me:6078: \"$ac_try\"") >&5
   6079   (eval $ac_try) 2>&5
   6080   ac_status=$?
   6081   echo "$as_me:6081: \$? = $ac_status" >&5
   6082   (exit $ac_status); }; }; then
   6083   ac_cv_have_decl_be16dec=yes
   6084 else
   6085   echo "$as_me: failed program was:" >&5
   6086 cat conftest.$ac_ext >&5
   6087 ac_cv_have_decl_be16dec=no
   6088 fi
   6089 rm -f conftest.$ac_objext conftest.$ac_ext
   6090 fi
   6091 echo "$as_me:6091: result: $ac_cv_have_decl_be16dec" >&5
   6092 echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
   6093 if test $ac_cv_have_decl_be16dec = yes; then
   6094 
   6095 cat >>confdefs.h <<EOF
   6096 #define HAVE_DECL_BE16DEC 1
   6097 EOF
   6098 
   6099 else
   6100   cat >>confdefs.h <<EOF
   6101 #define HAVE_DECL_BE16DEC 0
   6102 EOF
   6103 
   6104 fi
   6105 echo "$as_me:6105: checking whether le16dec is declared" >&5
   6106 echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
   6107 if test "${ac_cv_have_decl_le16dec+set}" = set; then
   6108   echo $ECHO_N "(cached) $ECHO_C" >&6
   6109 else
   6110   cat >conftest.$ac_ext <<_ACEOF
   6111 #line 6111 "configure"
   6112 #include "confdefs.h"
   6113 #include <sys/endian.h>
   6114 
   6115 int
   6116 main ()
   6117 {
   6118 #ifndef le16dec
   6119   char *p = (char *) le16dec;
   6120 #endif
   6121 
   6122   ;
   6123   return 0;
   6124 }
   6125 _ACEOF
   6126 rm -f conftest.$ac_objext
   6127 if { (eval echo "$as_me:6127: \"$ac_compile\"") >&5
   6128   (eval $ac_compile) 2>&5
   6129   ac_status=$?
   6130   echo "$as_me:6130: \$? = $ac_status" >&5
   6131   (exit $ac_status); } &&
   6132          { ac_try='test -s conftest.$ac_objext'
   6133   { (eval echo "$as_me:6133: \"$ac_try\"") >&5
   6134   (eval $ac_try) 2>&5
   6135   ac_status=$?
   6136   echo "$as_me:6136: \$? = $ac_status" >&5
   6137   (exit $ac_status); }; }; then
   6138   ac_cv_have_decl_le16dec=yes
   6139 else
   6140   echo "$as_me: failed program was:" >&5
   6141 cat conftest.$ac_ext >&5
   6142 ac_cv_have_decl_le16dec=no
   6143 fi
   6144 rm -f conftest.$ac_objext conftest.$ac_ext
   6145 fi
   6146 echo "$as_me:6146: result: $ac_cv_have_decl_le16dec" >&5
   6147 echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
   6148 if test $ac_cv_have_decl_le16dec = yes; then
   6149 
   6150 cat >>confdefs.h <<EOF
   6151 #define HAVE_DECL_LE16DEC 1
   6152 EOF
   6153 
   6154 else
   6155   cat >>confdefs.h <<EOF
   6156 #define HAVE_DECL_LE16DEC 0
   6157 EOF
   6158 
   6159 fi
   6160 echo "$as_me:6160: checking whether be32enc is declared" >&5
   6161 echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
   6162 if test "${ac_cv_have_decl_be32enc+set}" = set; then
   6163   echo $ECHO_N "(cached) $ECHO_C" >&6
   6164 else
   6165   cat >conftest.$ac_ext <<_ACEOF
   6166 #line 6166 "configure"
   6167 #include "confdefs.h"
   6168 #include <sys/endian.h>
   6169 
   6170 int
   6171 main ()
   6172 {
   6173 #ifndef be32enc
   6174   char *p = (char *) be32enc;
   6175 #endif
   6176 
   6177   ;
   6178   return 0;
   6179 }
   6180 _ACEOF
   6181 rm -f conftest.$ac_objext
   6182 if { (eval echo "$as_me:6182: \"$ac_compile\"") >&5
   6183   (eval $ac_compile) 2>&5
   6184   ac_status=$?
   6185   echo "$as_me:6185: \$? = $ac_status" >&5
   6186   (exit $ac_status); } &&
   6187          { ac_try='test -s conftest.$ac_objext'
   6188   { (eval echo "$as_me:6188: \"$ac_try\"") >&5
   6189   (eval $ac_try) 2>&5
   6190   ac_status=$?
   6191   echo "$as_me:6191: \$? = $ac_status" >&5
   6192   (exit $ac_status); }; }; then
   6193   ac_cv_have_decl_be32enc=yes
   6194 else
   6195   echo "$as_me: failed program was:" >&5
   6196 cat conftest.$ac_ext >&5
   6197 ac_cv_have_decl_be32enc=no
   6198 fi
   6199 rm -f conftest.$ac_objext conftest.$ac_ext
   6200 fi
   6201 echo "$as_me:6201: result: $ac_cv_have_decl_be32enc" >&5
   6202 echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
   6203 if test $ac_cv_have_decl_be32enc = yes; then
   6204 
   6205 cat >>confdefs.h <<EOF
   6206 #define HAVE_DECL_BE32ENC 1
   6207 EOF
   6208 
   6209 else
   6210   cat >>confdefs.h <<EOF
   6211 #define HAVE_DECL_BE32ENC 0
   6212 EOF
   6213 
   6214 fi
   6215 echo "$as_me:6215: checking whether le32enc is declared" >&5
   6216 echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
   6217 if test "${ac_cv_have_decl_le32enc+set}" = set; then
   6218   echo $ECHO_N "(cached) $ECHO_C" >&6
   6219 else
   6220   cat >conftest.$ac_ext <<_ACEOF
   6221 #line 6221 "configure"
   6222 #include "confdefs.h"
   6223 #include <sys/endian.h>
   6224 
   6225 int
   6226 main ()
   6227 {
   6228 #ifndef le32enc
   6229   char *p = (char *) le32enc;
   6230 #endif
   6231 
   6232   ;
   6233   return 0;
   6234 }
   6235 _ACEOF
   6236 rm -f conftest.$ac_objext
   6237 if { (eval echo "$as_me:6237: \"$ac_compile\"") >&5
   6238   (eval $ac_compile) 2>&5
   6239   ac_status=$?
   6240   echo "$as_me:6240: \$? = $ac_status" >&5
   6241   (exit $ac_status); } &&
   6242          { ac_try='test -s conftest.$ac_objext'
   6243   { (eval echo "$as_me:6243: \"$ac_try\"") >&5
   6244   (eval $ac_try) 2>&5
   6245   ac_status=$?
   6246   echo "$as_me:6246: \$? = $ac_status" >&5
   6247   (exit $ac_status); }; }; then
   6248   ac_cv_have_decl_le32enc=yes
   6249 else
   6250   echo "$as_me: failed program was:" >&5
   6251 cat conftest.$ac_ext >&5
   6252 ac_cv_have_decl_le32enc=no
   6253 fi
   6254 rm -f conftest.$ac_objext conftest.$ac_ext
   6255 fi
   6256 echo "$as_me:6256: result: $ac_cv_have_decl_le32enc" >&5
   6257 echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
   6258 if test $ac_cv_have_decl_le32enc = yes; then
   6259 
   6260 cat >>confdefs.h <<EOF
   6261 #define HAVE_DECL_LE32ENC 1
   6262 EOF
   6263 
   6264 else
   6265   cat >>confdefs.h <<EOF
   6266 #define HAVE_DECL_LE32ENC 0
   6267 EOF
   6268 
   6269 fi
   6270 echo "$as_me:6270: checking whether be32dec is declared" >&5
   6271 echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
   6272 if test "${ac_cv_have_decl_be32dec+set}" = set; then
   6273   echo $ECHO_N "(cached) $ECHO_C" >&6
   6274 else
   6275   cat >conftest.$ac_ext <<_ACEOF
   6276 #line 6276 "configure"
   6277 #include "confdefs.h"
   6278 #include <sys/endian.h>
   6279 
   6280 int
   6281 main ()
   6282 {
   6283 #ifndef be32dec
   6284   char *p = (char *) be32dec;
   6285 #endif
   6286 
   6287   ;
   6288   return 0;
   6289 }
   6290 _ACEOF
   6291 rm -f conftest.$ac_objext
   6292 if { (eval echo "$as_me:6292: \"$ac_compile\"") >&5
   6293   (eval $ac_compile) 2>&5
   6294   ac_status=$?
   6295   echo "$as_me:6295: \$? = $ac_status" >&5
   6296   (exit $ac_status); } &&
   6297          { ac_try='test -s conftest.$ac_objext'
   6298   { (eval echo "$as_me:6298: \"$ac_try\"") >&5
   6299   (eval $ac_try) 2>&5
   6300   ac_status=$?
   6301   echo "$as_me:6301: \$? = $ac_status" >&5
   6302   (exit $ac_status); }; }; then
   6303   ac_cv_have_decl_be32dec=yes
   6304 else
   6305   echo "$as_me: failed program was:" >&5
   6306 cat conftest.$ac_ext >&5
   6307 ac_cv_have_decl_be32dec=no
   6308 fi
   6309 rm -f conftest.$ac_objext conftest.$ac_ext
   6310 fi
   6311 echo "$as_me:6311: result: $ac_cv_have_decl_be32dec" >&5
   6312 echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
   6313 if test $ac_cv_have_decl_be32dec = yes; then
   6314 
   6315 cat >>confdefs.h <<EOF
   6316 #define HAVE_DECL_BE32DEC 1
   6317 EOF
   6318 
   6319 else
   6320   cat >>confdefs.h <<EOF
   6321 #define HAVE_DECL_BE32DEC 0
   6322 EOF
   6323 
   6324 fi
   6325 echo "$as_me:6325: checking whether le32dec is declared" >&5
   6326 echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
   6327 if test "${ac_cv_have_decl_le32dec+set}" = set; then
   6328   echo $ECHO_N "(cached) $ECHO_C" >&6
   6329 else
   6330   cat >conftest.$ac_ext <<_ACEOF
   6331 #line 6331 "configure"
   6332 #include "confdefs.h"
   6333 #include <sys/endian.h>
   6334 
   6335 int
   6336 main ()
   6337 {
   6338 #ifndef le32dec
   6339   char *p = (char *) le32dec;
   6340 #endif
   6341 
   6342   ;
   6343   return 0;
   6344 }
   6345 _ACEOF
   6346 rm -f conftest.$ac_objext
   6347 if { (eval echo "$as_me:6347: \"$ac_compile\"") >&5
   6348   (eval $ac_compile) 2>&5
   6349   ac_status=$?
   6350   echo "$as_me:6350: \$? = $ac_status" >&5
   6351   (exit $ac_status); } &&
   6352          { ac_try='test -s conftest.$ac_objext'
   6353   { (eval echo "$as_me:6353: \"$ac_try\"") >&5
   6354   (eval $ac_try) 2>&5
   6355   ac_status=$?
   6356   echo "$as_me:6356: \$? = $ac_status" >&5
   6357   (exit $ac_status); }; }; then
   6358   ac_cv_have_decl_le32dec=yes
   6359 else
   6360   echo "$as_me: failed program was:" >&5
   6361 cat conftest.$ac_ext >&5
   6362 ac_cv_have_decl_le32dec=no
   6363 fi
   6364 rm -f conftest.$ac_objext conftest.$ac_ext
   6365 fi
   6366 echo "$as_me:6366: result: $ac_cv_have_decl_le32dec" >&5
   6367 echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
   6368 if test $ac_cv_have_decl_le32dec = yes; then
   6369 
   6370 cat >>confdefs.h <<EOF
   6371 #define HAVE_DECL_LE32DEC 1
   6372 EOF
   6373 
   6374 else
   6375   cat >>confdefs.h <<EOF
   6376 #define HAVE_DECL_LE32DEC 0
   6377 EOF
   6378 
   6379 fi
   6380 echo "$as_me:6380: checking whether be64enc is declared" >&5
   6381 echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
   6382 if test "${ac_cv_have_decl_be64enc+set}" = set; then
   6383   echo $ECHO_N "(cached) $ECHO_C" >&6
   6384 else
   6385   cat >conftest.$ac_ext <<_ACEOF
   6386 #line 6386 "configure"
   6387 #include "confdefs.h"
   6388 #include <sys/endian.h>
   6389 
   6390 int
   6391 main ()
   6392 {
   6393 #ifndef be64enc
   6394   char *p = (char *) be64enc;
   6395 #endif
   6396 
   6397   ;
   6398   return 0;
   6399 }
   6400 _ACEOF
   6401 rm -f conftest.$ac_objext
   6402 if { (eval echo "$as_me:6402: \"$ac_compile\"") >&5
   6403   (eval $ac_compile) 2>&5
   6404   ac_status=$?
   6405   echo "$as_me:6405: \$? = $ac_status" >&5
   6406   (exit $ac_status); } &&
   6407          { ac_try='test -s conftest.$ac_objext'
   6408   { (eval echo "$as_me:6408: \"$ac_try\"") >&5
   6409   (eval $ac_try) 2>&5
   6410   ac_status=$?
   6411   echo "$as_me:6411: \$? = $ac_status" >&5
   6412   (exit $ac_status); }; }; then
   6413   ac_cv_have_decl_be64enc=yes
   6414 else
   6415   echo "$as_me: failed program was:" >&5
   6416 cat conftest.$ac_ext >&5
   6417 ac_cv_have_decl_be64enc=no
   6418 fi
   6419 rm -f conftest.$ac_objext conftest.$ac_ext
   6420 fi
   6421 echo "$as_me:6421: result: $ac_cv_have_decl_be64enc" >&5
   6422 echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
   6423 if test $ac_cv_have_decl_be64enc = yes; then
   6424 
   6425 cat >>confdefs.h <<EOF
   6426 #define HAVE_DECL_BE64ENC 1
   6427 EOF
   6428 
   6429 else
   6430   cat >>confdefs.h <<EOF
   6431 #define HAVE_DECL_BE64ENC 0
   6432 EOF
   6433 
   6434 fi
   6435 echo "$as_me:6435: checking whether le64enc is declared" >&5
   6436 echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
   6437 if test "${ac_cv_have_decl_le64enc+set}" = set; then
   6438   echo $ECHO_N "(cached) $ECHO_C" >&6
   6439 else
   6440   cat >conftest.$ac_ext <<_ACEOF
   6441 #line 6441 "configure"
   6442 #include "confdefs.h"
   6443 #include <sys/endian.h>
   6444 
   6445 int
   6446 main ()
   6447 {
   6448 #ifndef le64enc
   6449   char *p = (char *) le64enc;
   6450 #endif
   6451 
   6452   ;
   6453   return 0;
   6454 }
   6455 _ACEOF
   6456 rm -f conftest.$ac_objext
   6457 if { (eval echo "$as_me:6457: \"$ac_compile\"") >&5
   6458   (eval $ac_compile) 2>&5
   6459   ac_status=$?
   6460   echo "$as_me:6460: \$? = $ac_status" >&5
   6461   (exit $ac_status); } &&
   6462          { ac_try='test -s conftest.$ac_objext'
   6463   { (eval echo "$as_me:6463: \"$ac_try\"") >&5
   6464   (eval $ac_try) 2>&5
   6465   ac_status=$?
   6466   echo "$as_me:6466: \$? = $ac_status" >&5
   6467   (exit $ac_status); }; }; then
   6468   ac_cv_have_decl_le64enc=yes
   6469 else
   6470   echo "$as_me: failed program was:" >&5
   6471 cat conftest.$ac_ext >&5
   6472 ac_cv_have_decl_le64enc=no
   6473 fi
   6474 rm -f conftest.$ac_objext conftest.$ac_ext
   6475 fi
   6476 echo "$as_me:6476: result: $ac_cv_have_decl_le64enc" >&5
   6477 echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
   6478 if test $ac_cv_have_decl_le64enc = yes; then
   6479 
   6480 cat >>confdefs.h <<EOF
   6481 #define HAVE_DECL_LE64ENC 1
   6482 EOF
   6483 
   6484 else
   6485   cat >>confdefs.h <<EOF
   6486 #define HAVE_DECL_LE64ENC 0
   6487 EOF
   6488 
   6489 fi
   6490 echo "$as_me:6490: checking whether be64dec is declared" >&5
   6491 echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
   6492 if test "${ac_cv_have_decl_be64dec+set}" = set; then
   6493   echo $ECHO_N "(cached) $ECHO_C" >&6
   6494 else
   6495   cat >conftest.$ac_ext <<_ACEOF
   6496 #line 6496 "configure"
   6497 #include "confdefs.h"
   6498 #include <sys/endian.h>
   6499 
   6500 int
   6501 main ()
   6502 {
   6503 #ifndef be64dec
   6504   char *p = (char *) be64dec;
   6505 #endif
   6506 
   6507   ;
   6508   return 0;
   6509 }
   6510 _ACEOF
   6511 rm -f conftest.$ac_objext
   6512 if { (eval echo "$as_me:6512: \"$ac_compile\"") >&5
   6513   (eval $ac_compile) 2>&5
   6514   ac_status=$?
   6515   echo "$as_me:6515: \$? = $ac_status" >&5
   6516   (exit $ac_status); } &&
   6517          { ac_try='test -s conftest.$ac_objext'
   6518   { (eval echo "$as_me:6518: \"$ac_try\"") >&5
   6519   (eval $ac_try) 2>&5
   6520   ac_status=$?
   6521   echo "$as_me:6521: \$? = $ac_status" >&5
   6522   (exit $ac_status); }; }; then
   6523   ac_cv_have_decl_be64dec=yes
   6524 else
   6525   echo "$as_me: failed program was:" >&5
   6526 cat conftest.$ac_ext >&5
   6527 ac_cv_have_decl_be64dec=no
   6528 fi
   6529 rm -f conftest.$ac_objext conftest.$ac_ext
   6530 fi
   6531 echo "$as_me:6531: result: $ac_cv_have_decl_be64dec" >&5
   6532 echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
   6533 if test $ac_cv_have_decl_be64dec = yes; then
   6534 
   6535 cat >>confdefs.h <<EOF
   6536 #define HAVE_DECL_BE64DEC 1
   6537 EOF
   6538 
   6539 else
   6540   cat >>confdefs.h <<EOF
   6541 #define HAVE_DECL_BE64DEC 0
   6542 EOF
   6543 
   6544 fi
   6545 echo "$as_me:6545: checking whether le64dec is declared" >&5
   6546 echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
   6547 if test "${ac_cv_have_decl_le64dec+set}" = set; then
   6548   echo $ECHO_N "(cached) $ECHO_C" >&6
   6549 else
   6550   cat >conftest.$ac_ext <<_ACEOF
   6551 #line 6551 "configure"
   6552 #include "confdefs.h"
   6553 #include <sys/endian.h>
   6554 
   6555 int
   6556 main ()
   6557 {
   6558 #ifndef le64dec
   6559   char *p = (char *) le64dec;
   6560 #endif
   6561 
   6562   ;
   6563   return 0;
   6564 }
   6565 _ACEOF
   6566 rm -f conftest.$ac_objext
   6567 if { (eval echo "$as_me:6567: \"$ac_compile\"") >&5
   6568   (eval $ac_compile) 2>&5
   6569   ac_status=$?
   6570   echo "$as_me:6570: \$? = $ac_status" >&5
   6571   (exit $ac_status); } &&
   6572          { ac_try='test -s conftest.$ac_objext'
   6573   { (eval echo "$as_me:6573: \"$ac_try\"") >&5
   6574   (eval $ac_try) 2>&5
   6575   ac_status=$?
   6576   echo "$as_me:6576: \$? = $ac_status" >&5
   6577   (exit $ac_status); }; }; then
   6578   ac_cv_have_decl_le64dec=yes
   6579 else
   6580   echo "$as_me: failed program was:" >&5
   6581 cat conftest.$ac_ext >&5
   6582 ac_cv_have_decl_le64dec=no
   6583 fi
   6584 rm -f conftest.$ac_objext conftest.$ac_ext
   6585 fi
   6586 echo "$as_me:6586: result: $ac_cv_have_decl_le64dec" >&5
   6587 echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
   6588 if test $ac_cv_have_decl_le64dec = yes; then
   6589 
   6590 cat >>confdefs.h <<EOF
   6591 #define HAVE_DECL_LE64DEC 1
   6592 EOF
   6593 
   6594 else
   6595   cat >>confdefs.h <<EOF
   6596 #define HAVE_DECL_LE64DEC 0
   6597 EOF
   6598 
   6599 fi
   6600 
   6601 echo "$as_me:6601: checking whether fstatvfs is declared" >&5
   6602 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
   6603 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then
   6604   echo $ECHO_N "(cached) $ECHO_C" >&6
   6605 else
   6606   cat >conftest.$ac_ext <<_ACEOF
   6607 #line 6607 "configure"
   6608 #include "confdefs.h"
   6609 #include <sys/statvfs.h>
   6610 
   6611 int
   6612 main ()
   6613 {
   6614 #ifndef fstatvfs
   6615   char *p = (char *) fstatvfs;
   6616 #endif
   6617 
   6618   ;
   6619   return 0;
   6620 }
   6621 _ACEOF
   6622 rm -f conftest.$ac_objext
   6623 if { (eval echo "$as_me:6623: \"$ac_compile\"") >&5
   6624   (eval $ac_compile) 2>&5
   6625   ac_status=$?
   6626   echo "$as_me:6626: \$? = $ac_status" >&5
   6627   (exit $ac_status); } &&
   6628          { ac_try='test -s conftest.$ac_objext'
   6629   { (eval echo "$as_me:6629: \"$ac_try\"") >&5
   6630   (eval $ac_try) 2>&5
   6631   ac_status=$?
   6632   echo "$as_me:6632: \$? = $ac_status" >&5
   6633   (exit $ac_status); }; }; then
   6634   ac_cv_have_decl_fstatvfs=yes
   6635 else
   6636   echo "$as_me: failed program was:" >&5
   6637 cat conftest.$ac_ext >&5
   6638 ac_cv_have_decl_fstatvfs=no
   6639 fi
   6640 rm -f conftest.$ac_objext conftest.$ac_ext
   6641 fi
   6642 echo "$as_me:6642: result: $ac_cv_have_decl_fstatvfs" >&5
   6643 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
   6644 if test $ac_cv_have_decl_fstatvfs = yes; then
   6645 
   6646 cat >>confdefs.h <<EOF
   6647 #define HAVE_DECL_FSTATVFS 1
   6648 EOF
   6649 
   6650 else
   6651   cat >>confdefs.h <<EOF
   6652 #define HAVE_DECL_FSTATVFS 0
   6653 EOF
   6654 
   6655 fi
   6656 
   6657 echo "$as_me:6657: checking whether setgroupent is declared" >&5
   6658 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   6659 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   6660   echo $ECHO_N "(cached) $ECHO_C" >&6
   6661 else
   6662   cat >conftest.$ac_ext <<_ACEOF
   6663 #line 6663 "configure"
   6664 #include "confdefs.h"
   6665 
   6666 #include <sys/types.h>
   6667 #include <grp.h>
   6668 #include <pwd.h>
   6669 
   6670 int
   6671 main ()
   6672 {
   6673 #ifndef setgroupent
   6674   char *p = (char *) setgroupent;
   6675 #endif
   6676 
   6677   ;
   6678   return 0;
   6679 }
   6680 _ACEOF
   6681 rm -f conftest.$ac_objext
   6682 if { (eval echo "$as_me:6682: \"$ac_compile\"") >&5
   6683   (eval $ac_compile) 2>&5
   6684   ac_status=$?
   6685   echo "$as_me:6685: \$? = $ac_status" >&5
   6686   (exit $ac_status); } &&
   6687          { ac_try='test -s conftest.$ac_objext'
   6688   { (eval echo "$as_me:6688: \"$ac_try\"") >&5
   6689   (eval $ac_try) 2>&5
   6690   ac_status=$?
   6691   echo "$as_me:6691: \$? = $ac_status" >&5
   6692   (exit $ac_status); }; }; then
   6693   ac_cv_have_decl_setgroupent=yes
   6694 else
   6695   echo "$as_me: failed program was:" >&5
   6696 cat conftest.$ac_ext >&5
   6697 ac_cv_have_decl_setgroupent=no
   6698 fi
   6699 rm -f conftest.$ac_objext conftest.$ac_ext
   6700 fi
   6701 echo "$as_me:6701: result: $ac_cv_have_decl_setgroupent" >&5
   6702 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   6703 if test $ac_cv_have_decl_setgroupent = yes; then
   6704 
   6705 cat >>confdefs.h <<EOF
   6706 #define HAVE_DECL_SETGROUPENT 1
   6707 EOF
   6708 
   6709 else
   6710   cat >>confdefs.h <<EOF
   6711 #define HAVE_DECL_SETGROUPENT 0
   6712 EOF
   6713 
   6714 fi
   6715 echo "$as_me:6715: checking whether setpassent is declared" >&5
   6716 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   6717 if test "${ac_cv_have_decl_setpassent+set}" = set; then
   6718   echo $ECHO_N "(cached) $ECHO_C" >&6
   6719 else
   6720   cat >conftest.$ac_ext <<_ACEOF
   6721 #line 6721 "configure"
   6722 #include "confdefs.h"
   6723 
   6724 #include <sys/types.h>
   6725 #include <grp.h>
   6726 #include <pwd.h>
   6727 
   6728 int
   6729 main ()
   6730 {
   6731 #ifndef setpassent
   6732   char *p = (char *) setpassent;
   6733 #endif
   6734 
   6735   ;
   6736   return 0;
   6737 }
   6738 _ACEOF
   6739 rm -f conftest.$ac_objext
   6740 if { (eval echo "$as_me:6740: \"$ac_compile\"") >&5
   6741   (eval $ac_compile) 2>&5
   6742   ac_status=$?
   6743   echo "$as_me:6743: \$? = $ac_status" >&5
   6744   (exit $ac_status); } &&
   6745          { ac_try='test -s conftest.$ac_objext'
   6746   { (eval echo "$as_me:6746: \"$ac_try\"") >&5
   6747   (eval $ac_try) 2>&5
   6748   ac_status=$?
   6749   echo "$as_me:6749: \$? = $ac_status" >&5
   6750   (exit $ac_status); }; }; then
   6751   ac_cv_have_decl_setpassent=yes
   6752 else
   6753   echo "$as_me: failed program was:" >&5
   6754 cat conftest.$ac_ext >&5
   6755 ac_cv_have_decl_setpassent=no
   6756 fi
   6757 rm -f conftest.$ac_objext conftest.$ac_ext
   6758 fi
   6759 echo "$as_me:6759: result: $ac_cv_have_decl_setpassent" >&5
   6760 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   6761 if test $ac_cv_have_decl_setpassent = yes; then
   6762 
   6763 cat >>confdefs.h <<EOF
   6764 #define HAVE_DECL_SETPASSENT 1
   6765 EOF
   6766 
   6767 else
   6768   cat >>confdefs.h <<EOF
   6769 #define HAVE_DECL_SETPASSENT 0
   6770 EOF
   6771 
   6772 fi
   6773 
   6774 # regcomp() and regexec() are also names of functions in the old V8
   6775 # regexp package.  To avoid them, we need to find out who has regfree().
   6776 
   6777 echo "$as_me:6777: checking for regfree in -lregex" >&5
   6778 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   6779 if test "${ac_cv_lib_regex_regfree+set}" = set; then
   6780   echo $ECHO_N "(cached) $ECHO_C" >&6
   6781 else
   6782   ac_check_lib_save_LIBS=$LIBS
   6783 LIBS="-lregex  $LIBS"
   6784 cat >conftest.$ac_ext <<_ACEOF
   6785 #line 6785 "configure"
   6786 #include "confdefs.h"
   6787 
   6788 /* Override any gcc2 internal prototype to avoid an error.  */
   6789 #ifdef __cplusplus
   6790 extern "C"
   6791 #endif
   6792 /* We use char because int might match the return type of a gcc2
   6793    builtin and then its argument prototype would still apply.  */
   6794 char regfree ();
   6795 int
   6796 main ()
   6797 {
   6798 regfree ();
   6799   ;
   6800   return 0;
   6801 }
   6802 _ACEOF
   6803 rm -f conftest.$ac_objext conftest$ac_exeext
   6804 if { (eval echo "$as_me:6804: \"$ac_link\"") >&5
   6805   (eval $ac_link) 2>&5
   6806   ac_status=$?
   6807   echo "$as_me:6807: \$? = $ac_status" >&5
   6808   (exit $ac_status); } &&
   6809          { ac_try='test -s conftest$ac_exeext'
   6810   { (eval echo "$as_me:6810: \"$ac_try\"") >&5
   6811   (eval $ac_try) 2>&5
   6812   ac_status=$?
   6813   echo "$as_me:6813: \$? = $ac_status" >&5
   6814   (exit $ac_status); }; }; then
   6815   ac_cv_lib_regex_regfree=yes
   6816 else
   6817   echo "$as_me: failed program was:" >&5
   6818 cat conftest.$ac_ext >&5
   6819 ac_cv_lib_regex_regfree=no
   6820 fi
   6821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6822 LIBS=$ac_check_lib_save_LIBS
   6823 fi
   6824 echo "$as_me:6824: result: $ac_cv_lib_regex_regfree" >&5
   6825 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   6826 if test $ac_cv_lib_regex_regfree = yes; then
   6827   cat >>confdefs.h <<EOF
   6828 #define HAVE_LIBREGEX 1
   6829 EOF
   6830 
   6831   LIBS="-lregex $LIBS"
   6832 
   6833 fi
   6834 
   6835 echo "$as_me:6835: checking for library containing regfree" >&5
   6836 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   6837 if test "${ac_cv_search_regfree+set}" = set; then
   6838   echo $ECHO_N "(cached) $ECHO_C" >&6
   6839 else
   6840   ac_func_search_save_LIBS=$LIBS
   6841 ac_cv_search_regfree=no
   6842 cat >conftest.$ac_ext <<_ACEOF
   6843 #line 6843 "configure"
   6844 #include "confdefs.h"
   6845 
   6846 /* Override any gcc2 internal prototype to avoid an error.  */
   6847 #ifdef __cplusplus
   6848 extern "C"
   6849 #endif
   6850 /* We use char because int might match the return type of a gcc2
   6851    builtin and then its argument prototype would still apply.  */
   6852 char regfree ();
   6853 int
   6854 main ()
   6855 {
   6856 regfree ();
   6857   ;
   6858   return 0;
   6859 }
   6860 _ACEOF
   6861 rm -f conftest.$ac_objext conftest$ac_exeext
   6862 if { (eval echo "$as_me:6862: \"$ac_link\"") >&5
   6863   (eval $ac_link) 2>&5
   6864   ac_status=$?
   6865   echo "$as_me:6865: \$? = $ac_status" >&5
   6866   (exit $ac_status); } &&
   6867          { ac_try='test -s conftest$ac_exeext'
   6868   { (eval echo "$as_me:6868: \"$ac_try\"") >&5
   6869   (eval $ac_try) 2>&5
   6870   ac_status=$?
   6871   echo "$as_me:6871: \$? = $ac_status" >&5
   6872   (exit $ac_status); }; }; then
   6873   ac_cv_search_regfree="none required"
   6874 else
   6875   echo "$as_me: failed program was:" >&5
   6876 cat conftest.$ac_ext >&5
   6877 fi
   6878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6879 if test "$ac_cv_search_regfree" = no; then
   6880   for ac_lib in rx posix; do
   6881     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6882     cat >conftest.$ac_ext <<_ACEOF
   6883 #line 6883 "configure"
   6884 #include "confdefs.h"
   6885 
   6886 /* Override any gcc2 internal prototype to avoid an error.  */
   6887 #ifdef __cplusplus
   6888 extern "C"
   6889 #endif
   6890 /* We use char because int might match the return type of a gcc2
   6891    builtin and then its argument prototype would still apply.  */
   6892 char regfree ();
   6893 int
   6894 main ()
   6895 {
   6896 regfree ();
   6897   ;
   6898   return 0;
   6899 }
   6900 _ACEOF
   6901 rm -f conftest.$ac_objext conftest$ac_exeext
   6902 if { (eval echo "$as_me:6902: \"$ac_link\"") >&5
   6903   (eval $ac_link) 2>&5
   6904   ac_status=$?
   6905   echo "$as_me:6905: \$? = $ac_status" >&5
   6906   (exit $ac_status); } &&
   6907          { ac_try='test -s conftest$ac_exeext'
   6908   { (eval echo "$as_me:6908: \"$ac_try\"") >&5
   6909   (eval $ac_try) 2>&5
   6910   ac_status=$?
   6911   echo "$as_me:6911: \$? = $ac_status" >&5
   6912   (exit $ac_status); }; }; then
   6913   ac_cv_search_regfree="-l$ac_lib"
   6914 break
   6915 else
   6916   echo "$as_me: failed program was:" >&5
   6917 cat conftest.$ac_ext >&5
   6918 fi
   6919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6920   done
   6921 fi
   6922 LIBS=$ac_func_search_save_LIBS
   6923 fi
   6924 echo "$as_me:6924: result: $ac_cv_search_regfree" >&5
   6925 echo "${ECHO_T}$ac_cv_search_regfree" >&6
   6926 if test "$ac_cv_search_regfree" != no; then
   6927   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   6928 
   6929 fi
   6930 
   6931 cat >confcache <<\_ACEOF
   6932 # This file is a shell script that caches the results of configure
   6933 # tests run on this system so they can be shared between configure
   6934 # scripts and configure runs, see configure's option --config-cache.
   6935 # It is not useful on other systems.  If it contains results you don't
   6936 # want to keep, you may remove or edit it.
   6937 #
   6938 # config.status only pays attention to the cache file if you give it
   6939 # the --recheck option to rerun configure.
   6940 #
   6941 # `ac_cv_env_foo' variables (set or unset) will be overriden when
   6942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6943 # following values.
   6944 
   6945 _ACEOF
   6946 
   6947 # The following way of writing the cache mishandles newlines in values,
   6948 # but we know of no workaround that is simple, portable, and efficient.
   6949 # So, don't put newlines in cache variables' values.
   6950 # Ultrix sh set writes to stderr and can't be redirected directly,
   6951 # and sets the high bit in the cache file unless we assign to the vars.
   6952 {
   6953   (set) 2>&1 |
   6954     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   6955     *ac_space=\ *)
   6956       # `set' does not quote correctly, so add quotes (double-quote
   6957       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6958       sed -n \
   6959         "s/'/'\\\\''/g;
   6960     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6961       ;;
   6962     *)
   6963       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6964       sed -n \
   6965         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   6966       ;;
   6967     esac;
   6968 } |
   6969   sed '
   6970      t clear
   6971      : clear
   6972      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6973      t end
   6974      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6975      : end' >>confcache
   6976 if cmp -s $cache_file confcache; then :; else
   6977   if test -w $cache_file; then
   6978     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   6979     cat confcache >$cache_file
   6980   else
   6981     echo "not updating unwritable cache $cache_file"
   6982   fi
   6983 fi
   6984 rm -f confcache
   6985 
   6986 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   6987 # Let make expand exec_prefix.
   6988 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   6989 
   6990 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6991 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6992 # trailing colons and then remove the whole line if VPATH becomes empty
   6993 # (actually we leave an empty line to preserve line numbers).
   6994 if test "x$srcdir" = x.; then
   6995   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   6996 s/:*\$(srcdir):*/:/;
   6997 s/:*\${srcdir}:*/:/;
   6998 s/:*@srcdir@:*/:/;
   6999 s/^\([^=]*=[ 	]*\):*/\1/;
   7000 s/:*$//;
   7001 s/^[^=]*=[ 	]*$//;
   7002 }'
   7003 fi
   7004 
   7005 DEFS=-DHAVE_CONFIG_H
   7006 
   7007 : ${CONFIG_STATUS=./config.status}
   7008 ac_clean_files_save=$ac_clean_files
   7009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7010 { echo "$as_me:7010: creating $CONFIG_STATUS" >&5
   7011 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7012 cat >$CONFIG_STATUS <<_ACEOF
   7013 #! $SHELL
   7014 # Generated automatically by configure.
   7015 # Run this file to recreate the current configuration.
   7016 # Compiler output produced by configure, useful for debugging
   7017 # configure, is in config.log if it exists.
   7018 
   7019 debug=false
   7020 SHELL=\${CONFIG_SHELL-$SHELL}
   7021 ac_cs_invocation="\$0 \$@"
   7022 
   7023 _ACEOF
   7024 
   7025 cat >>$CONFIG_STATUS <<\_ACEOF
   7026 # Be Bourne compatible
   7027 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   7028   emulate sh
   7029   NULLCMD=:
   7030 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   7031   set -o posix
   7032 fi
   7033 
   7034 # Name of the executable.
   7035 as_me=`echo "$0" |sed 's,.*[\\/],,'`
   7036 
   7037 if expr a : '\(a\)' >/dev/null 2>&1; then
   7038   as_expr=expr
   7039 else
   7040   as_expr=false
   7041 fi
   7042 
   7043 rm -f conf$$ conf$$.exe conf$$.file
   7044 echo >conf$$.file
   7045 if ln -s conf$$.file conf$$ 2>/dev/null; then
   7046   # We could just check for DJGPP; but this test a) works b) is more generic
   7047   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   7048   if test -f conf$$.exe; then
   7049     # Don't use ln at all; we don't have any links
   7050     as_ln_s='cp -p'
   7051   else
   7052     as_ln_s='ln -s'
   7053   fi
   7054 elif ln conf$$.file conf$$ 2>/dev/null; then
   7055   as_ln_s=ln
   7056 else
   7057   as_ln_s='cp -p'
   7058 fi
   7059 rm -f conf$$ conf$$.exe conf$$.file
   7060 
   7061 as_executable_p="test -f"
   7062 
   7063 # Support unset when possible.
   7064 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   7065   as_unset=unset
   7066 else
   7067   as_unset=false
   7068 fi
   7069 
   7070 # NLS nuisances.
   7071 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   7072 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   7073 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   7074 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   7075 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   7076 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   7077 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   7078 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   7079 
   7080 # IFS
   7081 # We need space, tab and new line, in precisely that order.
   7082 as_nl='
   7083 '
   7084 IFS=" 	$as_nl"
   7085 
   7086 # CDPATH.
   7087 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   7088 
   7089 exec 6>&1
   7090 
   7091 _ACEOF
   7092 
   7093 # Files that config.status was made for.
   7094 if test -n "$ac_config_files"; then
   7095   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   7096 fi
   7097 
   7098 if test -n "$ac_config_headers"; then
   7099   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   7100 fi
   7101 
   7102 if test -n "$ac_config_links"; then
   7103   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   7104 fi
   7105 
   7106 if test -n "$ac_config_commands"; then
   7107   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   7108 fi
   7109 
   7110 cat >>$CONFIG_STATUS <<\EOF
   7111 
   7112 ac_cs_usage="\
   7113 \`$as_me' instantiates files from templates according to the
   7114 current configuration.
   7115 
   7116 Usage: $0 [OPTIONS] [FILE]...
   7117 
   7118   -h, --help       print this help, then exit
   7119   -V, --version    print version number, then exit
   7120   -d, --debug      don't remove temporary files
   7121       --recheck    update $as_me by reconfiguring in the same conditions
   7122   --file=FILE[:TEMPLATE]
   7123                    instantiate the configuration file FILE
   7124   --header=FILE[:TEMPLATE]
   7125                    instantiate the configuration header FILE
   7126 
   7127 Configuration files:
   7128 $config_files
   7129 
   7130 Configuration headers:
   7131 $config_headers
   7132 
   7133 Report bugs to <bug-autoconf@gnu.org>."
   7134 EOF
   7135 
   7136 cat >>$CONFIG_STATUS <<EOF
   7137 ac_cs_version="\\
   7138 libnbcompat config.status noversion
   7139 configured by $0, generated by GNU Autoconf 2.52,
   7140   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   7141 
   7142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   7143 Free Software Foundation, Inc.
   7144 This config.status script is free software; the Free Software Foundation
   7145 gives unlimited permission to copy, distribute and modify it."
   7146 srcdir=$srcdir
   7147 EOF
   7148 
   7149 cat >>$CONFIG_STATUS <<\EOF
   7150 # If no file are specified by the user, then we need to provide default
   7151 # value.  By we need to know if files were specified by the user.
   7152 ac_need_defaults=:
   7153 while test $# != 0
   7154 do
   7155   case $1 in
   7156   --*=*)
   7157     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   7158     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   7159     shift
   7160     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
   7161     shift
   7162     ;;
   7163   -*);;
   7164   *) # This is not an option, so the user has probably given explicit
   7165      # arguments.
   7166      ac_need_defaults=false;;
   7167   esac
   7168 
   7169   case $1 in
   7170   # Handling of the options.
   7171 EOF
   7172 cat >>$CONFIG_STATUS <<EOF
   7173   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7174     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
   7175     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
   7176 EOF
   7177 cat >>$CONFIG_STATUS <<\EOF
   7178   --version | --vers* | -V )
   7179     echo "$ac_cs_version"; exit 0 ;;
   7180   --he | --h)
   7181     # Conflict between --help and --header
   7182     { { echo "$as_me:7182: error: ambiguous option: $1
   7183 Try \`$0 --help' for more information." >&5
   7184 echo "$as_me: error: ambiguous option: $1
   7185 Try \`$0 --help' for more information." >&2;}
   7186    { (exit 1); exit 1; }; };;
   7187   --help | --hel | -h )
   7188     echo "$ac_cs_usage"; exit 0 ;;
   7189   --debug | --d* | -d )
   7190     debug=: ;;
   7191   --file | --fil | --fi | --f )
   7192     shift
   7193     CONFIG_FILES="$CONFIG_FILES $1"
   7194     ac_need_defaults=false;;
   7195   --header | --heade | --head | --hea )
   7196     shift
   7197     CONFIG_HEADERS="$CONFIG_HEADERS $1"
   7198     ac_need_defaults=false;;
   7199 
   7200   # This is an error.
   7201   -*) { { echo "$as_me:7201: error: unrecognized option: $1
   7202 Try \`$0 --help' for more information." >&5
   7203 echo "$as_me: error: unrecognized option: $1
   7204 Try \`$0 --help' for more information." >&2;}
   7205    { (exit 1); exit 1; }; } ;;
   7206 
   7207   *) ac_config_targets="$ac_config_targets $1" ;;
   7208 
   7209   esac
   7210   shift
   7211 done
   7212 
   7213 exec 5>>config.log
   7214 cat >&5 << _ACEOF
   7215 
   7216 ## ----------------------- ##
   7217 ## Running config.status.  ##
   7218 ## ----------------------- ##
   7219 
   7220 This file was extended by $as_me (libnbcompat noversion) 2.52, executed with
   7221   CONFIG_FILES    = $CONFIG_FILES
   7222   CONFIG_HEADERS  = $CONFIG_HEADERS
   7223   CONFIG_LINKS    = $CONFIG_LINKS
   7224   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7225   > $ac_cs_invocation
   7226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   7227 
   7228 _ACEOF
   7229 EOF
   7230 
   7231 cat >>$CONFIG_STATUS <<\EOF
   7232 for ac_config_target in $ac_config_targets
   7233 do
   7234   case "$ac_config_target" in
   7235   # Handling of arguments.
   7236   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   7237   "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   7238   *) { { echo "$as_me:7238: error: invalid argument: $ac_config_target" >&5
   7239 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   7240    { (exit 1); exit 1; }; };;
   7241   esac
   7242 done
   7243 
   7244 # If the user did not use the arguments to specify the items to instantiate,
   7245 # then the envvar interface is used.  Set only those that are not.
   7246 # We use the long form for the default assignment because of an extremely
   7247 # bizarre bug on SunOS 4.1.3.
   7248 if $ac_need_defaults; then
   7249   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   7250   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   7251 fi
   7252 
   7253 # Create a temporary directory, and hook for its removal unless debugging.
   7254 $debug ||
   7255 {
   7256   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   7257   trap '{ (exit 1); exit 1; }' 1 2 13 15
   7258 }
   7259 
   7260 # Create a (secure) tmp directory for tmp files.
   7261 : ${TMPDIR=/tmp}
   7262 {
   7263   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
   7264   test -n "$tmp" && test -d "$tmp"
   7265 }  ||
   7266 {
   7267   tmp=$TMPDIR/cs$$-$RANDOM
   7268   (umask 077 && mkdir $tmp)
   7269 } ||
   7270 {
   7271    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   7272    { (exit 1); exit 1; }
   7273 }
   7274 
   7275 EOF
   7276 
   7277 cat >>$CONFIG_STATUS <<EOF
   7278 
   7279 #
   7280 # CONFIG_FILES section.
   7281 #
   7282 
   7283 # No need to generate the scripts if there are no CONFIG_FILES.
   7284 # This happens for instance when ./config.status config.h
   7285 if test -n "\$CONFIG_FILES"; then
   7286   # Protect against being on the right side of a sed subst in config.status.
   7287   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   7288    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   7289 s,@SHELL@,$SHELL,;t t
   7290 s,@exec_prefix@,$exec_prefix,;t t
   7291 s,@prefix@,$prefix,;t t
   7292 s,@program_transform_name@,$program_transform_name,;t t
   7293 s,@bindir@,$bindir,;t t
   7294 s,@sbindir@,$sbindir,;t t
   7295 s,@libexecdir@,$libexecdir,;t t
   7296 s,@datadir@,$datadir,;t t
   7297 s,@sysconfdir@,$sysconfdir,;t t
   7298 s,@sharedstatedir@,$sharedstatedir,;t t
   7299 s,@localstatedir@,$localstatedir,;t t
   7300 s,@libdir@,$libdir,;t t
   7301 s,@includedir@,$includedir,;t t
   7302 s,@oldincludedir@,$oldincludedir,;t t
   7303 s,@infodir@,$infodir,;t t
   7304 s,@mandir@,$mandir,;t t
   7305 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   7306 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   7307 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   7308 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   7309 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   7310 s,@build_alias@,$build_alias,;t t
   7311 s,@host_alias@,$host_alias,;t t
   7312 s,@target_alias@,$target_alias,;t t
   7313 s,@ECHO_C@,$ECHO_C,;t t
   7314 s,@ECHO_N@,$ECHO_N,;t t
   7315 s,@ECHO_T@,$ECHO_T,;t t
   7316 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   7317 s,@DEFS@,$DEFS,;t t
   7318 s,@LIBS@,$LIBS,;t t
   7319 s,@CC@,$CC,;t t
   7320 s,@CFLAGS@,$CFLAGS,;t t
   7321 s,@LDFLAGS@,$LDFLAGS,;t t
   7322 s,@CPPFLAGS@,$CPPFLAGS,;t t
   7323 s,@ac_ct_CC@,$ac_ct_CC,;t t
   7324 s,@EXEEXT@,$EXEEXT,;t t
   7325 s,@OBJEXT@,$OBJEXT,;t t
   7326 s,@CPP@,$CPP,;t t
   7327 s,@BSHELL@,$BSHELL,;t t
   7328 s,@ALLOCA@,$ALLOCA,;t t
   7329 CEOF
   7330 
   7331 EOF
   7332 
   7333   cat >>$CONFIG_STATUS <<\EOF
   7334   # Split the substitutions into bite-sized pieces for seds with
   7335   # small command number limits, like on Digital OSF/1 and HP-UX.
   7336   ac_max_sed_lines=48
   7337   ac_sed_frag=1 # Number of current file.
   7338   ac_beg=1 # First line for current file.
   7339   ac_end=$ac_max_sed_lines # Line after last line for current file.
   7340   ac_more_lines=:
   7341   ac_sed_cmds=
   7342   while $ac_more_lines; do
   7343     if test $ac_beg -gt 1; then
   7344       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7345     else
   7346       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7347     fi
   7348     if test ! -s $tmp/subs.frag; then
   7349       ac_more_lines=false
   7350     else
   7351       # The purpose of the label and of the branching condition is to
   7352       # speed up the sed processing (if there are no `@' at all, there
   7353       # is no need to browse any of the substitutions).
   7354       # These are the two extra sed commands mentioned above.
   7355       (echo ':t
   7356   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   7357       if test -z "$ac_sed_cmds"; then
   7358   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   7359       else
   7360   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   7361       fi
   7362       ac_sed_frag=`expr $ac_sed_frag + 1`
   7363       ac_beg=$ac_end
   7364       ac_end=`expr $ac_end + $ac_max_sed_lines`
   7365     fi
   7366   done
   7367   if test -z "$ac_sed_cmds"; then
   7368     ac_sed_cmds=cat
   7369   fi
   7370 fi # test -n "$CONFIG_FILES"
   7371 
   7372 EOF
   7373 cat >>$CONFIG_STATUS <<\EOF
   7374 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   7375   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7376   case $ac_file in
   7377   - | *:- | *:-:* ) # input from stdin
   7378         cat >$tmp/stdin
   7379         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7380         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7381   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7382         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7383   * )   ac_file_in=$ac_file.in ;;
   7384   esac
   7385 
   7386   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   7387   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7388          X"$ac_file" : 'X\(//\)[^/]' \| \
   7389          X"$ac_file" : 'X\(//\)$' \| \
   7390          X"$ac_file" : 'X\(/\)' \| \
   7391          .     : '\(.\)' 2>/dev/null ||
   7392 echo X"$ac_file" |
   7393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7394   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7395   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7396   	  /^X\(\/\).*/{ s//\1/; q; }
   7397   	  s/.*/./; q'`
   7398   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   7399     { case "$ac_dir" in
   7400   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   7401   *)                      as_incr_dir=.;;
   7402 esac
   7403 as_dummy="$ac_dir"
   7404 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   7405   case $as_mkdir_dir in
   7406     # Skip DOS drivespec
   7407     ?:) as_incr_dir=$as_mkdir_dir ;;
   7408     *)
   7409       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   7410       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   7411     ;;
   7412   esac
   7413 done; }
   7414 
   7415     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
   7416     # A "../" for each directory in $ac_dir_suffix.
   7417     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   7418   else
   7419     ac_dir_suffix= ac_dots=
   7420   fi
   7421 
   7422   case $srcdir in
   7423   .)  ac_srcdir=.
   7424       if test -z "$ac_dots"; then
   7425          ac_top_srcdir=.
   7426       else
   7427          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
   7428       fi ;;
   7429   [\\/]* | ?:[\\/]* )
   7430       ac_srcdir=$srcdir$ac_dir_suffix;
   7431       ac_top_srcdir=$srcdir ;;
   7432   *) # Relative path.
   7433     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
   7434     ac_top_srcdir=$ac_dots$srcdir ;;
   7435   esac
   7436 
   7437   if test x"$ac_file" != x-; then
   7438     { echo "$as_me:7438: creating $ac_file" >&5
   7439 echo "$as_me: creating $ac_file" >&6;}
   7440     rm -f "$ac_file"
   7441   fi
   7442   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7443   # use $as_me), people would be surprised to read:
   7444   #    /* config.h.  Generated automatically by config.status.  */
   7445   configure_input="Generated automatically from `echo $ac_file_in |
   7446                                                  sed 's,.*/,,'` by configure."
   7447 
   7448   # First look for the input files in the build tree, otherwise in the
   7449   # src tree.
   7450   ac_file_inputs=`IFS=:
   7451     for f in $ac_file_in; do
   7452       case $f in
   7453       -) echo $tmp/stdin ;;
   7454       [\\/$]*)
   7455          # Absolute (can't be DOS-style, as IFS=:)
   7456          test -f "$f" || { { echo "$as_me:7456: error: cannot find input file: $f" >&5
   7457 echo "$as_me: error: cannot find input file: $f" >&2;}
   7458    { (exit 1); exit 1; }; }
   7459          echo $f;;
   7460       *) # Relative
   7461          if test -f "$f"; then
   7462            # Build tree
   7463            echo $f
   7464          elif test -f "$srcdir/$f"; then
   7465            # Source tree
   7466            echo $srcdir/$f
   7467          else
   7468            # /dev/null tree
   7469            { { echo "$as_me:7469: error: cannot find input file: $f" >&5
   7470 echo "$as_me: error: cannot find input file: $f" >&2;}
   7471    { (exit 1); exit 1; }; }
   7472          fi;;
   7473       esac
   7474     done` || { (exit 1); exit 1; }
   7475 EOF
   7476 cat >>$CONFIG_STATUS <<EOF
   7477   sed "$ac_vpsub
   7478 $extrasub
   7479 EOF
   7480 cat >>$CONFIG_STATUS <<\EOF
   7481 :t
   7482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7483 s,@configure_input@,$configure_input,;t t
   7484 s,@srcdir@,$ac_srcdir,;t t
   7485 s,@top_srcdir@,$ac_top_srcdir,;t t
   7486 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   7487   rm -f $tmp/stdin
   7488   if test x"$ac_file" != x-; then
   7489     mv $tmp/out $ac_file
   7490   else
   7491     cat $tmp/out
   7492     rm -f $tmp/out
   7493   fi
   7494 
   7495 done
   7496 EOF
   7497 cat >>$CONFIG_STATUS <<\EOF
   7498 
   7499 #
   7500 # CONFIG_HEADER section.
   7501 #
   7502 
   7503 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   7504 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   7505 #
   7506 # ac_d sets the value in "#define NAME VALUE" lines.
   7507 ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
   7508 ac_dB='[ 	].*$,\1#\2'
   7509 ac_dC=' '
   7510 ac_dD=',;t'
   7511 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   7512 ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   7513 ac_uB='$,\1#\2define\3'
   7514 ac_uC=' '
   7515 ac_uD=',;t'
   7516 
   7517 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   7518   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7519   case $ac_file in
   7520   - | *:- | *:-:* ) # input from stdin
   7521         cat >$tmp/stdin
   7522         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7523         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7524   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7525         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7526   * )   ac_file_in=$ac_file.in ;;
   7527   esac
   7528 
   7529   test x"$ac_file" != x- && { echo "$as_me:7529: creating $ac_file" >&5
   7530 echo "$as_me: creating $ac_file" >&6;}
   7531 
   7532   # First look for the input files in the build tree, otherwise in the
   7533   # src tree.
   7534   ac_file_inputs=`IFS=:
   7535     for f in $ac_file_in; do
   7536       case $f in
   7537       -) echo $tmp/stdin ;;
   7538       [\\/$]*)
   7539          # Absolute (can't be DOS-style, as IFS=:)
   7540          test -f "$f" || { { echo "$as_me:7540: error: cannot find input file: $f" >&5
   7541 echo "$as_me: error: cannot find input file: $f" >&2;}
   7542    { (exit 1); exit 1; }; }
   7543          echo $f;;
   7544       *) # Relative
   7545          if test -f "$f"; then
   7546            # Build tree
   7547            echo $f
   7548          elif test -f "$srcdir/$f"; then
   7549            # Source tree
   7550            echo $srcdir/$f
   7551          else
   7552            # /dev/null tree
   7553            { { echo "$as_me:7553: error: cannot find input file: $f" >&5
   7554 echo "$as_me: error: cannot find input file: $f" >&2;}
   7555    { (exit 1); exit 1; }; }
   7556          fi;;
   7557       esac
   7558     done` || { (exit 1); exit 1; }
   7559   # Remove the trailing spaces.
   7560   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
   7561 
   7562 EOF
   7563 
   7564 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   7565 # `conftest.undefs', that substitutes the proper values into
   7566 # config.h.in to produce config.h.  The first handles `#define'
   7567 # templates, and the second `#undef' templates.
   7568 # And first: Protect against being on the right side of a sed subst in
   7569 # config.status.  Protect against being in an unquoted here document
   7570 # in config.status.
   7571 rm -f conftest.defines conftest.undefs
   7572 # Using a here document instead of a string reduces the quoting nightmare.
   7573 # Putting comments in sed scripts is not portable.
   7574 #
   7575 # `end' is used to avoid that the second main sed command (meant for
   7576 # 0-ary CPP macros) applies to n-ary macro definitions.
   7577 # See the Autoconf documentation for `clear'.
   7578 cat >confdef2sed.sed <<\EOF
   7579 s/[\\&,]/\\&/g
   7580 s,[\\$`],\\&,g
   7581 t clear
   7582 : clear
   7583 s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
   7584 t end
   7585 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   7586 : end
   7587 EOF
   7588 # If some macros were called several times there might be several times
   7589 # the same #defines, which is useless.  Nevertheless, we may not want to
   7590 # sort them, since we want the *last* AC-DEFINE to be honored.
   7591 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   7592 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   7593 rm -f confdef2sed.sed
   7594 
   7595 # This sed command replaces #undef with comments.  This is necessary, for
   7596 # example, in the case of _POSIX_SOURCE, which is predefined and required
   7597 # on some systems where configure will not decide to define it.
   7598 cat >>conftest.undefs <<\EOF
   7599 s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   7600 EOF
   7601 
   7602 # Break up conftest.defines because some shells have a limit on the size
   7603 # of here documents, and old seds have small limits too (100 cmds).
   7604 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   7605 echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   7606 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   7607 echo '  :' >>$CONFIG_STATUS
   7608 rm -f conftest.tail
   7609 while grep . conftest.defines >/dev/null
   7610 do
   7611   # Write a limited-size here document to $tmp/defines.sed.
   7612   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   7613   # Speed up: don't consider the non `#define' lines.
   7614   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
   7615   # Work around the forget-to-reset-the-flag bug.
   7616   echo 't clr' >>$CONFIG_STATUS
   7617   echo ': clr' >>$CONFIG_STATUS
   7618   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   7619   echo 'CEOF
   7620   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   7621   rm -f $tmp/in
   7622   mv $tmp/out $tmp/in
   7623 ' >>$CONFIG_STATUS
   7624   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   7625   rm -f conftest.defines
   7626   mv conftest.tail conftest.defines
   7627 done
   7628 rm -f conftest.defines
   7629 echo '  fi # egrep' >>$CONFIG_STATUS
   7630 echo >>$CONFIG_STATUS
   7631 
   7632 # Break up conftest.undefs because some shells have a limit on the size
   7633 # of here documents, and old seds have small limits too (100 cmds).
   7634 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   7635 rm -f conftest.tail
   7636 while grep . conftest.undefs >/dev/null
   7637 do
   7638   # Write a limited-size here document to $tmp/undefs.sed.
   7639   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   7640   # Speed up: don't consider the non `#undef'
   7641   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
   7642   # Work around the forget-to-reset-the-flag bug.
   7643   echo 't clr' >>$CONFIG_STATUS
   7644   echo ': clr' >>$CONFIG_STATUS
   7645   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   7646   echo 'CEOF
   7647   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   7648   rm -f $tmp/in
   7649   mv $tmp/out $tmp/in
   7650 ' >>$CONFIG_STATUS
   7651   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   7652   rm -f conftest.undefs
   7653   mv conftest.tail conftest.undefs
   7654 done
   7655 rm -f conftest.undefs
   7656 
   7657 cat >>$CONFIG_STATUS <<\EOF
   7658   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7659   # use $as_me), people would be surprised to read:
   7660   #    /* config.h.  Generated automatically by config.status.  */
   7661   if test x"$ac_file" = x-; then
   7662     echo "/* Generated automatically by configure.  */" >$tmp/config.h
   7663   else
   7664     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
   7665   fi
   7666   cat $tmp/in >>$tmp/config.h
   7667   rm -f $tmp/in
   7668   if test x"$ac_file" != x-; then
   7669     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
   7670       { echo "$as_me:7670: $ac_file is unchanged" >&5
   7671 echo "$as_me: $ac_file is unchanged" >&6;}
   7672     else
   7673       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7674          X"$ac_file" : 'X\(//\)[^/]' \| \
   7675          X"$ac_file" : 'X\(//\)$' \| \
   7676          X"$ac_file" : 'X\(/\)' \| \
   7677          .     : '\(.\)' 2>/dev/null ||
   7678 echo X"$ac_file" |
   7679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7680   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7681   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7682   	  /^X\(\/\).*/{ s//\1/; q; }
   7683   	  s/.*/./; q'`
   7684       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   7685         { case "$ac_dir" in
   7686   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
   7687   *)                      as_incr_dir=.;;
   7688 esac
   7689 as_dummy="$ac_dir"
   7690 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
   7691   case $as_mkdir_dir in
   7692     # Skip DOS drivespec
   7693     ?:) as_incr_dir=$as_mkdir_dir ;;
   7694     *)
   7695       as_incr_dir=$as_incr_dir/$as_mkdir_dir
   7696       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
   7697     ;;
   7698   esac
   7699 done; }
   7700 
   7701       fi
   7702       rm -f $ac_file
   7703       mv $tmp/config.h $ac_file
   7704     fi
   7705   else
   7706     cat $tmp/config.h
   7707     rm -f $tmp/config.h
   7708   fi
   7709 done
   7710 EOF
   7711 
   7712 cat >>$CONFIG_STATUS <<\EOF
   7713 
   7714 { (exit 0); exit 0; }
   7715 EOF
   7716 chmod +x $CONFIG_STATUS
   7717 ac_clean_files=$ac_clean_files_save
   7718 
   7719 # configure is writing to config.log, and then calls config.status.
   7720 # config.status does its own redirection, appending to config.log.
   7721 # Unfortunately, on DOS this fails, as config.log is still kept open
   7722 # by configure, so config.status won't be able to write to it; its
   7723 # output is simply discarded.  So we exec the FD to /dev/null,
   7724 # effectively closing config.log, so it can be properly (re)opened and
   7725 # appended to by config.status.  When coming back to configure, we
   7726 # need to make the FD available again.
   7727 if test "$no_create" != yes; then
   7728   ac_cs_success=:
   7729   exec 5>/dev/null
   7730   $SHELL $CONFIG_STATUS || ac_cs_success=false
   7731   exec 5>>config.log
   7732   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7733   # would make configure fail if this is the last instruction.
   7734   $ac_cs_success || { (exit 1); exit 1; }
   7735 fi
   7736 
   7737