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