Home | History | Annotate | Line # | Download | only in compat
configure revision 1.55
      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 
   2507 cat >>confdefs.h <<\_ACEOF
   2508 #define _POSIX_SOURCE 1
   2509 _ACEOF
   2510 
   2511 
   2512 cat >>confdefs.h <<\_ACEOF
   2513 #define _POSIX_C_SOURCE 200112L
   2514 _ACEOF
   2515 
   2516 
   2517 cat >>confdefs.h <<\_ACEOF
   2518 #define _XOPEN_SOURCE 600
   2519 _ACEOF
   2520 
   2521 else
   2522   echo "$as_me:$LINENO: result: no" >&5
   2523 echo "${ECHO_T}no" >&6
   2524 fi
   2525 rm -f conftest*
   2526 
   2527 
   2528 # Extract the first word of "sh", so it can be a program name with args.
   2529 set dummy sh; ac_word=$2
   2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2532 if test "${ac_cv_path_BSHELL+set}" = set; then
   2533   echo $ECHO_N "(cached) $ECHO_C" >&6
   2534 else
   2535   case $BSHELL in
   2536   [\\/]* | ?:[\\/]*)
   2537   ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
   2538   ;;
   2539   *)
   2540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2541 for as_dir in $PATH
   2542 do
   2543   IFS=$as_save_IFS
   2544   test -z "$as_dir" && as_dir=.
   2545   for ac_exec_ext in '' $ac_executable_extensions; do
   2546   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2547     ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
   2548     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2549     break 2
   2550   fi
   2551 done
   2552 done
   2553 
   2554   ;;
   2555 esac
   2556 fi
   2557 BSHELL=$ac_cv_path_BSHELL
   2558 
   2559 if test -n "$BSHELL"; then
   2560   echo "$as_me:$LINENO: result: $BSHELL" >&5
   2561 echo "${ECHO_T}$BSHELL" >&6
   2562 else
   2563   echo "$as_me:$LINENO: result: no" >&5
   2564 echo "${ECHO_T}no" >&6
   2565 fi
   2566 
   2567 if test x"$BSHELL" = x; then
   2568 	{ { echo "$as_me:$LINENO: error: sh must be somewhere on \$PATH" >&5
   2569 echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
   2570    { (exit 1); exit 1; }; }
   2571 fi
   2572 
   2573 cat >>confdefs.h <<_ACEOF
   2574 #define PATH_BSHELL "$BSHELL"
   2575 _ACEOF
   2576 
   2577 
   2578 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
   2579 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   2580 if test "${ac_cv_c_bigendian+set}" = set; then
   2581   echo $ECHO_N "(cached) $ECHO_C" >&6
   2582 else
   2583   # See if sys/param.h defines the BYTE_ORDER macro.
   2584 cat >conftest.$ac_ext <<_ACEOF
   2585 /* confdefs.h.  */
   2586 _ACEOF
   2587 cat confdefs.h >>conftest.$ac_ext
   2588 cat >>conftest.$ac_ext <<_ACEOF
   2589 /* end confdefs.h.  */
   2590 #include <sys/types.h>
   2591 #include <sys/param.h>
   2592 
   2593 int
   2594 main ()
   2595 {
   2596 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
   2597  bogus endian macros
   2598 #endif
   2599 
   2600   ;
   2601   return 0;
   2602 }
   2603 _ACEOF
   2604 rm -f conftest.$ac_objext
   2605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2606   (eval $ac_compile) 2>conftest.er1
   2607   ac_status=$?
   2608   grep -v '^ *+' conftest.er1 >conftest.err
   2609   rm -f conftest.er1
   2610   cat conftest.err >&5
   2611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2612   (exit $ac_status); } &&
   2613 	 { ac_try='test -z "$ac_c_werror_flag"
   2614 			 || test ! -s conftest.err'
   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); }; } &&
   2620 	 { ac_try='test -s conftest.$ac_objext'
   2621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2622   (eval $ac_try) 2>&5
   2623   ac_status=$?
   2624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2625   (exit $ac_status); }; }; then
   2626   # It does; now see whether it defined to BIG_ENDIAN or not.
   2627 cat >conftest.$ac_ext <<_ACEOF
   2628 /* confdefs.h.  */
   2629 _ACEOF
   2630 cat confdefs.h >>conftest.$ac_ext
   2631 cat >>conftest.$ac_ext <<_ACEOF
   2632 /* end confdefs.h.  */
   2633 #include <sys/types.h>
   2634 #include <sys/param.h>
   2635 
   2636 int
   2637 main ()
   2638 {
   2639 #if BYTE_ORDER != BIG_ENDIAN
   2640  not big endian
   2641 #endif
   2642 
   2643   ;
   2644   return 0;
   2645 }
   2646 _ACEOF
   2647 rm -f conftest.$ac_objext
   2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2649   (eval $ac_compile) 2>conftest.er1
   2650   ac_status=$?
   2651   grep -v '^ *+' conftest.er1 >conftest.err
   2652   rm -f conftest.er1
   2653   cat conftest.err >&5
   2654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2655   (exit $ac_status); } &&
   2656 	 { ac_try='test -z "$ac_c_werror_flag"
   2657 			 || test ! -s conftest.err'
   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); }; } &&
   2663 	 { ac_try='test -s conftest.$ac_objext'
   2664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2665   (eval $ac_try) 2>&5
   2666   ac_status=$?
   2667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2668   (exit $ac_status); }; }; then
   2669   ac_cv_c_bigendian=yes
   2670 else
   2671   echo "$as_me: failed program was:" >&5
   2672 sed 's/^/| /' conftest.$ac_ext >&5
   2673 
   2674 ac_cv_c_bigendian=no
   2675 fi
   2676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2677 else
   2678   echo "$as_me: failed program was:" >&5
   2679 sed 's/^/| /' conftest.$ac_ext >&5
   2680 
   2681 # It does not; compile a test program.
   2682 if test "$cross_compiling" = yes; then
   2683   # try to guess the endianness by grepping values into an object file
   2684   ac_cv_c_bigendian=unknown
   2685   cat >conftest.$ac_ext <<_ACEOF
   2686 /* confdefs.h.  */
   2687 _ACEOF
   2688 cat confdefs.h >>conftest.$ac_ext
   2689 cat >>conftest.$ac_ext <<_ACEOF
   2690 /* end confdefs.h.  */
   2691 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   2692 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   2693 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
   2694 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   2695 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   2696 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
   2697 int
   2698 main ()
   2699 {
   2700  _ascii (); _ebcdic ();
   2701   ;
   2702   return 0;
   2703 }
   2704 _ACEOF
   2705 rm -f conftest.$ac_objext
   2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2707   (eval $ac_compile) 2>conftest.er1
   2708   ac_status=$?
   2709   grep -v '^ *+' conftest.er1 >conftest.err
   2710   rm -f conftest.er1
   2711   cat conftest.err >&5
   2712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2713   (exit $ac_status); } &&
   2714 	 { ac_try='test -z "$ac_c_werror_flag"
   2715 			 || test ! -s conftest.err'
   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); }; } &&
   2721 	 { ac_try='test -s conftest.$ac_objext'
   2722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2723   (eval $ac_try) 2>&5
   2724   ac_status=$?
   2725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2726   (exit $ac_status); }; }; then
   2727   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
   2728   ac_cv_c_bigendian=yes
   2729 fi
   2730 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   2731   if test "$ac_cv_c_bigendian" = unknown; then
   2732     ac_cv_c_bigendian=no
   2733   else
   2734     # finding both strings is unlikely to happen, but who knows?
   2735     ac_cv_c_bigendian=unknown
   2736   fi
   2737 fi
   2738 else
   2739   echo "$as_me: failed program was:" >&5
   2740 sed 's/^/| /' conftest.$ac_ext >&5
   2741 
   2742 fi
   2743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2744 else
   2745   cat >conftest.$ac_ext <<_ACEOF
   2746 /* confdefs.h.  */
   2747 _ACEOF
   2748 cat confdefs.h >>conftest.$ac_ext
   2749 cat >>conftest.$ac_ext <<_ACEOF
   2750 /* end confdefs.h.  */
   2751 int
   2752 main ()
   2753 {
   2754   /* Are we little or big endian?  From Harbison&Steele.  */
   2755   union
   2756   {
   2757     long l;
   2758     char c[sizeof (long)];
   2759   } u;
   2760   u.l = 1;
   2761   exit (u.c[sizeof (long) - 1] == 1);
   2762 }
   2763 _ACEOF
   2764 rm -f conftest$ac_exeext
   2765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2766   (eval $ac_link) 2>&5
   2767   ac_status=$?
   2768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2769   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2771   (eval $ac_try) 2>&5
   2772   ac_status=$?
   2773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2774   (exit $ac_status); }; }; then
   2775   ac_cv_c_bigendian=no
   2776 else
   2777   echo "$as_me: program exited with status $ac_status" >&5
   2778 echo "$as_me: failed program was:" >&5
   2779 sed 's/^/| /' conftest.$ac_ext >&5
   2780 
   2781 ( exit $ac_status )
   2782 ac_cv_c_bigendian=yes
   2783 fi
   2784 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2785 fi
   2786 fi
   2787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2788 fi
   2789 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
   2790 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   2791 case $ac_cv_c_bigendian in
   2792   yes)
   2793 
   2794 cat >>confdefs.h <<\_ACEOF
   2795 #define WORDS_BIGENDIAN 1
   2796 _ACEOF
   2797  ;;
   2798   no)
   2799      ;;
   2800   *)
   2801     { { echo "$as_me:$LINENO: error: unknown endianness
   2802 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
   2803 echo "$as_me: error: unknown endianness
   2804 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   2805    { (exit 1); exit 1; }; } ;;
   2806 esac
   2807 
   2808 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   2809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   2810 if test "${ac_cv_header_stdc+set}" = set; then
   2811   echo $ECHO_N "(cached) $ECHO_C" >&6
   2812 else
   2813   cat >conftest.$ac_ext <<_ACEOF
   2814 /* confdefs.h.  */
   2815 _ACEOF
   2816 cat confdefs.h >>conftest.$ac_ext
   2817 cat >>conftest.$ac_ext <<_ACEOF
   2818 /* end confdefs.h.  */
   2819 #include <stdlib.h>
   2820 #include <stdarg.h>
   2821 #include <string.h>
   2822 #include <float.h>
   2823 
   2824 int
   2825 main ()
   2826 {
   2827 
   2828   ;
   2829   return 0;
   2830 }
   2831 _ACEOF
   2832 rm -f conftest.$ac_objext
   2833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2834   (eval $ac_compile) 2>conftest.er1
   2835   ac_status=$?
   2836   grep -v '^ *+' conftest.er1 >conftest.err
   2837   rm -f conftest.er1
   2838   cat conftest.err >&5
   2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2840   (exit $ac_status); } &&
   2841 	 { ac_try='test -z "$ac_c_werror_flag"
   2842 			 || test ! -s conftest.err'
   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); }; } &&
   2848 	 { ac_try='test -s conftest.$ac_objext'
   2849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2850   (eval $ac_try) 2>&5
   2851   ac_status=$?
   2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2853   (exit $ac_status); }; }; then
   2854   ac_cv_header_stdc=yes
   2855 else
   2856   echo "$as_me: failed program was:" >&5
   2857 sed 's/^/| /' conftest.$ac_ext >&5
   2858 
   2859 ac_cv_header_stdc=no
   2860 fi
   2861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2862 
   2863 if test $ac_cv_header_stdc = yes; then
   2864   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   2865   cat >conftest.$ac_ext <<_ACEOF
   2866 /* confdefs.h.  */
   2867 _ACEOF
   2868 cat confdefs.h >>conftest.$ac_ext
   2869 cat >>conftest.$ac_ext <<_ACEOF
   2870 /* end confdefs.h.  */
   2871 #include <string.h>
   2872 
   2873 _ACEOF
   2874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2875   $EGREP "memchr" >/dev/null 2>&1; then
   2876   :
   2877 else
   2878   ac_cv_header_stdc=no
   2879 fi
   2880 rm -f conftest*
   2881 
   2882 fi
   2883 
   2884 if test $ac_cv_header_stdc = yes; then
   2885   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   2886   cat >conftest.$ac_ext <<_ACEOF
   2887 /* confdefs.h.  */
   2888 _ACEOF
   2889 cat confdefs.h >>conftest.$ac_ext
   2890 cat >>conftest.$ac_ext <<_ACEOF
   2891 /* end confdefs.h.  */
   2892 #include <stdlib.h>
   2893 
   2894 _ACEOF
   2895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   2896   $EGREP "free" >/dev/null 2>&1; then
   2897   :
   2898 else
   2899   ac_cv_header_stdc=no
   2900 fi
   2901 rm -f conftest*
   2902 
   2903 fi
   2904 
   2905 if test $ac_cv_header_stdc = yes; then
   2906   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   2907   if test "$cross_compiling" = yes; then
   2908   :
   2909 else
   2910   cat >conftest.$ac_ext <<_ACEOF
   2911 /* confdefs.h.  */
   2912 _ACEOF
   2913 cat confdefs.h >>conftest.$ac_ext
   2914 cat >>conftest.$ac_ext <<_ACEOF
   2915 /* end confdefs.h.  */
   2916 #include <ctype.h>
   2917 #if ((' ' & 0x0FF) == 0x020)
   2918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   2919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   2920 #else
   2921 # define ISLOWER(c) \
   2922 		   (('a' <= (c) && (c) <= 'i') \
   2923 		     || ('j' <= (c) && (c) <= 'r') \
   2924 		     || ('s' <= (c) && (c) <= 'z'))
   2925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   2926 #endif
   2927 
   2928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   2929 int
   2930 main ()
   2931 {
   2932   int i;
   2933   for (i = 0; i < 256; i++)
   2934     if (XOR (islower (i), ISLOWER (i))
   2935 	|| toupper (i) != TOUPPER (i))
   2936       exit(2);
   2937   exit (0);
   2938 }
   2939 _ACEOF
   2940 rm -f conftest$ac_exeext
   2941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2942   (eval $ac_link) 2>&5
   2943   ac_status=$?
   2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2945   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   2946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2947   (eval $ac_try) 2>&5
   2948   ac_status=$?
   2949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2950   (exit $ac_status); }; }; then
   2951   :
   2952 else
   2953   echo "$as_me: program exited with status $ac_status" >&5
   2954 echo "$as_me: failed program was:" >&5
   2955 sed 's/^/| /' conftest.$ac_ext >&5
   2956 
   2957 ( exit $ac_status )
   2958 ac_cv_header_stdc=no
   2959 fi
   2960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   2961 fi
   2962 fi
   2963 fi
   2964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   2965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   2966 if test $ac_cv_header_stdc = yes; then
   2967 
   2968 cat >>confdefs.h <<\_ACEOF
   2969 #define STDC_HEADERS 1
   2970 _ACEOF
   2971 
   2972 fi
   2973 
   2974 
   2975 # Confirm existence of zlib.  (This is available as a default install
   2976 # option on many OS's; this could be added as a reachover build in the
   2977 # future.)
   2978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   2989 		  inttypes.h stdint.h unistd.h
   2990 do
   2991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   2992 echo "$as_me:$LINENO: checking for $ac_header" >&5
   2993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   2994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2995   echo $ECHO_N "(cached) $ECHO_C" >&6
   2996 else
   2997   cat >conftest.$ac_ext <<_ACEOF
   2998 /* confdefs.h.  */
   2999 _ACEOF
   3000 cat confdefs.h >>conftest.$ac_ext
   3001 cat >>conftest.$ac_ext <<_ACEOF
   3002 /* end confdefs.h.  */
   3003 $ac_includes_default
   3004 
   3005 #include <$ac_header>
   3006 _ACEOF
   3007 rm -f conftest.$ac_objext
   3008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3009   (eval $ac_compile) 2>conftest.er1
   3010   ac_status=$?
   3011   grep -v '^ *+' conftest.er1 >conftest.err
   3012   rm -f conftest.er1
   3013   cat conftest.err >&5
   3014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3015   (exit $ac_status); } &&
   3016 	 { ac_try='test -z "$ac_c_werror_flag"
   3017 			 || test ! -s conftest.err'
   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); }; } &&
   3023 	 { ac_try='test -s conftest.$ac_objext'
   3024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3025   (eval $ac_try) 2>&5
   3026   ac_status=$?
   3027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3028   (exit $ac_status); }; }; then
   3029   eval "$as_ac_Header=yes"
   3030 else
   3031   echo "$as_me: failed program was:" >&5
   3032 sed 's/^/| /' conftest.$ac_ext >&5
   3033 
   3034 eval "$as_ac_Header=no"
   3035 fi
   3036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3037 fi
   3038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3041   cat >>confdefs.h <<_ACEOF
   3042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3043 _ACEOF
   3044 
   3045 fi
   3046 
   3047 done
   3048 
   3049 
   3050 if test "${ac_cv_header_zlib_h+set}" = set; then
   3051   echo "$as_me:$LINENO: checking for zlib.h" >&5
   3052 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   3053 if test "${ac_cv_header_zlib_h+set}" = set; then
   3054   echo $ECHO_N "(cached) $ECHO_C" >&6
   3055 fi
   3056 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
   3057 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   3058 else
   3059   # Is the header compilable?
   3060 echo "$as_me:$LINENO: checking zlib.h usability" >&5
   3061 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
   3062 cat >conftest.$ac_ext <<_ACEOF
   3063 /* confdefs.h.  */
   3064 _ACEOF
   3065 cat confdefs.h >>conftest.$ac_ext
   3066 cat >>conftest.$ac_ext <<_ACEOF
   3067 /* end confdefs.h.  */
   3068 $ac_includes_default
   3069 #include <zlib.h>
   3070 _ACEOF
   3071 rm -f conftest.$ac_objext
   3072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3073   (eval $ac_compile) 2>conftest.er1
   3074   ac_status=$?
   3075   grep -v '^ *+' conftest.er1 >conftest.err
   3076   rm -f conftest.er1
   3077   cat conftest.err >&5
   3078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3079   (exit $ac_status); } &&
   3080 	 { ac_try='test -z "$ac_c_werror_flag"
   3081 			 || test ! -s conftest.err'
   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); }; } &&
   3087 	 { ac_try='test -s conftest.$ac_objext'
   3088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3089   (eval $ac_try) 2>&5
   3090   ac_status=$?
   3091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3092   (exit $ac_status); }; }; then
   3093   ac_header_compiler=yes
   3094 else
   3095   echo "$as_me: failed program was:" >&5
   3096 sed 's/^/| /' conftest.$ac_ext >&5
   3097 
   3098 ac_header_compiler=no
   3099 fi
   3100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3102 echo "${ECHO_T}$ac_header_compiler" >&6
   3103 
   3104 # Is the header present?
   3105 echo "$as_me:$LINENO: checking zlib.h presence" >&5
   3106 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
   3107 cat >conftest.$ac_ext <<_ACEOF
   3108 /* confdefs.h.  */
   3109 _ACEOF
   3110 cat confdefs.h >>conftest.$ac_ext
   3111 cat >>conftest.$ac_ext <<_ACEOF
   3112 /* end confdefs.h.  */
   3113 #include <zlib.h>
   3114 _ACEOF
   3115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3116   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3117   ac_status=$?
   3118   grep -v '^ *+' conftest.er1 >conftest.err
   3119   rm -f conftest.er1
   3120   cat conftest.err >&5
   3121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3122   (exit $ac_status); } >/dev/null; then
   3123   if test -s conftest.err; then
   3124     ac_cpp_err=$ac_c_preproc_warn_flag
   3125     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3126   else
   3127     ac_cpp_err=
   3128   fi
   3129 else
   3130   ac_cpp_err=yes
   3131 fi
   3132 if test -z "$ac_cpp_err"; then
   3133   ac_header_preproc=yes
   3134 else
   3135   echo "$as_me: failed program was:" >&5
   3136 sed 's/^/| /' conftest.$ac_ext >&5
   3137 
   3138   ac_header_preproc=no
   3139 fi
   3140 rm -f conftest.err conftest.$ac_ext
   3141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3142 echo "${ECHO_T}$ac_header_preproc" >&6
   3143 
   3144 # So?  What about this header?
   3145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3146   yes:no: )
   3147     { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
   3148 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3149     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
   3150 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
   3151     ac_header_preproc=yes
   3152     ;;
   3153   no:yes:* )
   3154     { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
   3155 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
   3156     { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
   3157 echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
   3158     { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
   3159 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
   3160     { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
   3161 echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   3162     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
   3163 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
   3164     { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
   3165 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
   3166     (
   3167       cat <<\_ASBOX
   3168 ## ---------------------------------------- ##
   3169 ## Report this to lib-bug-people (at] NetBSD.org ##
   3170 ## ---------------------------------------- ##
   3171 _ASBOX
   3172     ) |
   3173       sed "s/^/$as_me: WARNING:     /" >&2
   3174     ;;
   3175 esac
   3176 echo "$as_me:$LINENO: checking for zlib.h" >&5
   3177 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
   3178 if test "${ac_cv_header_zlib_h+set}" = set; then
   3179   echo $ECHO_N "(cached) $ECHO_C" >&6
   3180 else
   3181   ac_cv_header_zlib_h=$ac_header_preproc
   3182 fi
   3183 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
   3184 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
   3185 
   3186 fi
   3187 if test $ac_cv_header_zlib_h = yes; then
   3188   :
   3189 else
   3190   { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
   3191 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   3192    { (exit 1); exit 1; }; }
   3193 fi
   3194 
   3195 
   3196 
   3197 echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5
   3198 echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
   3199 if test "${ac_cv_lib_z_gzdopen+set}" = set; then
   3200   echo $ECHO_N "(cached) $ECHO_C" >&6
   3201 else
   3202   ac_check_lib_save_LIBS=$LIBS
   3203 LIBS="-lz  $LIBS"
   3204 cat >conftest.$ac_ext <<_ACEOF
   3205 /* confdefs.h.  */
   3206 _ACEOF
   3207 cat confdefs.h >>conftest.$ac_ext
   3208 cat >>conftest.$ac_ext <<_ACEOF
   3209 /* end confdefs.h.  */
   3210 
   3211 /* Override any gcc2 internal prototype to avoid an error.  */
   3212 #ifdef __cplusplus
   3213 extern "C"
   3214 #endif
   3215 /* We use char because int might match the return type of a gcc2
   3216    builtin and then its argument prototype would still apply.  */
   3217 char gzdopen ();
   3218 int
   3219 main ()
   3220 {
   3221 gzdopen ();
   3222   ;
   3223   return 0;
   3224 }
   3225 _ACEOF
   3226 rm -f conftest.$ac_objext conftest$ac_exeext
   3227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3228   (eval $ac_link) 2>conftest.er1
   3229   ac_status=$?
   3230   grep -v '^ *+' conftest.er1 >conftest.err
   3231   rm -f conftest.er1
   3232   cat conftest.err >&5
   3233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3234   (exit $ac_status); } &&
   3235 	 { ac_try='test -z "$ac_c_werror_flag"
   3236 			 || test ! -s conftest.err'
   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); }; } &&
   3242 	 { ac_try='test -s conftest$ac_exeext'
   3243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3244   (eval $ac_try) 2>&5
   3245   ac_status=$?
   3246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3247   (exit $ac_status); }; }; then
   3248   ac_cv_lib_z_gzdopen=yes
   3249 else
   3250   echo "$as_me: failed program was:" >&5
   3251 sed 's/^/| /' conftest.$ac_ext >&5
   3252 
   3253 ac_cv_lib_z_gzdopen=no
   3254 fi
   3255 rm -f conftest.err conftest.$ac_objext \
   3256       conftest$ac_exeext conftest.$ac_ext
   3257 LIBS=$ac_check_lib_save_LIBS
   3258 fi
   3259 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
   3260 echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
   3261 if test $ac_cv_lib_z_gzdopen = yes; then
   3262   cat >>confdefs.h <<_ACEOF
   3263 #define HAVE_LIBZ 1
   3264 _ACEOF
   3265 
   3266   LIBS="-lz $LIBS"
   3267 
   3268 else
   3269   { { echo "$as_me:$LINENO: error: zlib must be installed in a compiler-visible path" >&5
   3270 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
   3271    { (exit 1); exit 1; }; }
   3272 fi
   3273 
   3274 
   3275 # Make sure certain required headers are available.
   3276 # These are not necessarily required by the code, but they are not
   3277 # currently conditionalized.
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
   3305 	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
   3306 	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
   3307 	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
   3308 	termios.h unistd.h
   3309 do
   3310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3312   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3315   echo $ECHO_N "(cached) $ECHO_C" >&6
   3316 fi
   3317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3319 else
   3320   # Is the header compilable?
   3321 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3323 cat >conftest.$ac_ext <<_ACEOF
   3324 /* confdefs.h.  */
   3325 _ACEOF
   3326 cat confdefs.h >>conftest.$ac_ext
   3327 cat >>conftest.$ac_ext <<_ACEOF
   3328 /* end confdefs.h.  */
   3329 $ac_includes_default
   3330 #include <$ac_header>
   3331 _ACEOF
   3332 rm -f conftest.$ac_objext
   3333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3334   (eval $ac_compile) 2>conftest.er1
   3335   ac_status=$?
   3336   grep -v '^ *+' conftest.er1 >conftest.err
   3337   rm -f conftest.er1
   3338   cat conftest.err >&5
   3339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3340   (exit $ac_status); } &&
   3341 	 { ac_try='test -z "$ac_c_werror_flag"
   3342 			 || test ! -s conftest.err'
   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); }; } &&
   3348 	 { ac_try='test -s conftest.$ac_objext'
   3349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3350   (eval $ac_try) 2>&5
   3351   ac_status=$?
   3352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3353   (exit $ac_status); }; }; then
   3354   ac_header_compiler=yes
   3355 else
   3356   echo "$as_me: failed program was:" >&5
   3357 sed 's/^/| /' conftest.$ac_ext >&5
   3358 
   3359 ac_header_compiler=no
   3360 fi
   3361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3363 echo "${ECHO_T}$ac_header_compiler" >&6
   3364 
   3365 # Is the header present?
   3366 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3368 cat >conftest.$ac_ext <<_ACEOF
   3369 /* confdefs.h.  */
   3370 _ACEOF
   3371 cat confdefs.h >>conftest.$ac_ext
   3372 cat >>conftest.$ac_ext <<_ACEOF
   3373 /* end confdefs.h.  */
   3374 #include <$ac_header>
   3375 _ACEOF
   3376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3377   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3378   ac_status=$?
   3379   grep -v '^ *+' conftest.er1 >conftest.err
   3380   rm -f conftest.er1
   3381   cat conftest.err >&5
   3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3383   (exit $ac_status); } >/dev/null; then
   3384   if test -s conftest.err; then
   3385     ac_cpp_err=$ac_c_preproc_warn_flag
   3386     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3387   else
   3388     ac_cpp_err=
   3389   fi
   3390 else
   3391   ac_cpp_err=yes
   3392 fi
   3393 if test -z "$ac_cpp_err"; then
   3394   ac_header_preproc=yes
   3395 else
   3396   echo "$as_me: failed program was:" >&5
   3397 sed 's/^/| /' conftest.$ac_ext >&5
   3398 
   3399   ac_header_preproc=no
   3400 fi
   3401 rm -f conftest.err conftest.$ac_ext
   3402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3403 echo "${ECHO_T}$ac_header_preproc" >&6
   3404 
   3405 # So?  What about this header?
   3406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3407   yes:no: )
   3408     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3410     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   3411 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   3412     ac_header_preproc=yes
   3413     ;;
   3414   no:yes:* )
   3415     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3416 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3417     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   3418 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   3419     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   3420 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   3421     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   3422 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   3423     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3425     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   3426 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   3427     (
   3428       cat <<\_ASBOX
   3429 ## ---------------------------------------- ##
   3430 ## Report this to lib-bug-people (at] NetBSD.org ##
   3431 ## ---------------------------------------- ##
   3432 _ASBOX
   3433     ) |
   3434       sed "s/^/$as_me: WARNING:     /" >&2
   3435     ;;
   3436 esac
   3437 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3440   echo $ECHO_N "(cached) $ECHO_C" >&6
   3441 else
   3442   eval "$as_ac_Header=\$ac_header_preproc"
   3443 fi
   3444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3446 
   3447 fi
   3448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3449   cat >>confdefs.h <<_ACEOF
   3450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3451 _ACEOF
   3452 
   3453 else
   3454   { { echo "$as_me:$LINENO: error: standard system header file not found" >&5
   3455 echo "$as_me: error: standard system header file not found" >&2;}
   3456    { (exit 1); exit 1; }; }
   3457 fi
   3458 
   3459 done
   3460 
   3461 
   3462 # Find headers that may not be available.
   3463 
   3464 
   3465 
   3466 
   3467 
   3468 ac_header_dirent=no
   3469 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   3470   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   3471 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   3472 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   3473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3474   echo $ECHO_N "(cached) $ECHO_C" >&6
   3475 else
   3476   cat >conftest.$ac_ext <<_ACEOF
   3477 /* confdefs.h.  */
   3478 _ACEOF
   3479 cat confdefs.h >>conftest.$ac_ext
   3480 cat >>conftest.$ac_ext <<_ACEOF
   3481 /* end confdefs.h.  */
   3482 #include <sys/types.h>
   3483 #include <$ac_hdr>
   3484 
   3485 int
   3486 main ()
   3487 {
   3488 if ((DIR *) 0)
   3489 return 0;
   3490   ;
   3491   return 0;
   3492 }
   3493 _ACEOF
   3494 rm -f conftest.$ac_objext
   3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3496   (eval $ac_compile) 2>conftest.er1
   3497   ac_status=$?
   3498   grep -v '^ *+' conftest.er1 >conftest.err
   3499   rm -f conftest.er1
   3500   cat conftest.err >&5
   3501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3502   (exit $ac_status); } &&
   3503 	 { ac_try='test -z "$ac_c_werror_flag"
   3504 			 || test ! -s conftest.err'
   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); }; } &&
   3510 	 { ac_try='test -s conftest.$ac_objext'
   3511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3512   (eval $ac_try) 2>&5
   3513   ac_status=$?
   3514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3515   (exit $ac_status); }; }; then
   3516   eval "$as_ac_Header=yes"
   3517 else
   3518   echo "$as_me: failed program was:" >&5
   3519 sed 's/^/| /' conftest.$ac_ext >&5
   3520 
   3521 eval "$as_ac_Header=no"
   3522 fi
   3523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3524 fi
   3525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3528   cat >>confdefs.h <<_ACEOF
   3529 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   3530 _ACEOF
   3531 
   3532 ac_header_dirent=$ac_hdr; break
   3533 fi
   3534 
   3535 done
   3536 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   3537 if test $ac_header_dirent = dirent.h; then
   3538   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   3539 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   3540 if test "${ac_cv_search_opendir+set}" = set; then
   3541   echo $ECHO_N "(cached) $ECHO_C" >&6
   3542 else
   3543   ac_func_search_save_LIBS=$LIBS
   3544 ac_cv_search_opendir=no
   3545 cat >conftest.$ac_ext <<_ACEOF
   3546 /* confdefs.h.  */
   3547 _ACEOF
   3548 cat confdefs.h >>conftest.$ac_ext
   3549 cat >>conftest.$ac_ext <<_ACEOF
   3550 /* end confdefs.h.  */
   3551 
   3552 /* Override any gcc2 internal prototype to avoid an error.  */
   3553 #ifdef __cplusplus
   3554 extern "C"
   3555 #endif
   3556 /* We use char because int might match the return type of a gcc2
   3557    builtin and then its argument prototype would still apply.  */
   3558 char opendir ();
   3559 int
   3560 main ()
   3561 {
   3562 opendir ();
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 rm -f conftest.$ac_objext conftest$ac_exeext
   3568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3569   (eval $ac_link) 2>conftest.er1
   3570   ac_status=$?
   3571   grep -v '^ *+' conftest.er1 >conftest.err
   3572   rm -f conftest.er1
   3573   cat conftest.err >&5
   3574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3575   (exit $ac_status); } &&
   3576 	 { ac_try='test -z "$ac_c_werror_flag"
   3577 			 || test ! -s conftest.err'
   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); }; } &&
   3583 	 { ac_try='test -s conftest$ac_exeext'
   3584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3585   (eval $ac_try) 2>&5
   3586   ac_status=$?
   3587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3588   (exit $ac_status); }; }; then
   3589   ac_cv_search_opendir="none required"
   3590 else
   3591   echo "$as_me: failed program was:" >&5
   3592 sed 's/^/| /' conftest.$ac_ext >&5
   3593 
   3594 fi
   3595 rm -f conftest.err conftest.$ac_objext \
   3596       conftest$ac_exeext conftest.$ac_ext
   3597 if test "$ac_cv_search_opendir" = no; then
   3598   for ac_lib in dir; do
   3599     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3600     cat >conftest.$ac_ext <<_ACEOF
   3601 /* confdefs.h.  */
   3602 _ACEOF
   3603 cat confdefs.h >>conftest.$ac_ext
   3604 cat >>conftest.$ac_ext <<_ACEOF
   3605 /* end confdefs.h.  */
   3606 
   3607 /* Override any gcc2 internal prototype to avoid an error.  */
   3608 #ifdef __cplusplus
   3609 extern "C"
   3610 #endif
   3611 /* We use char because int might match the return type of a gcc2
   3612    builtin and then its argument prototype would still apply.  */
   3613 char opendir ();
   3614 int
   3615 main ()
   3616 {
   3617 opendir ();
   3618   ;
   3619   return 0;
   3620 }
   3621 _ACEOF
   3622 rm -f conftest.$ac_objext conftest$ac_exeext
   3623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3624   (eval $ac_link) 2>conftest.er1
   3625   ac_status=$?
   3626   grep -v '^ *+' conftest.er1 >conftest.err
   3627   rm -f conftest.er1
   3628   cat conftest.err >&5
   3629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3630   (exit $ac_status); } &&
   3631 	 { ac_try='test -z "$ac_c_werror_flag"
   3632 			 || test ! -s conftest.err'
   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); }; } &&
   3638 	 { ac_try='test -s conftest$ac_exeext'
   3639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3640   (eval $ac_try) 2>&5
   3641   ac_status=$?
   3642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3643   (exit $ac_status); }; }; then
   3644   ac_cv_search_opendir="-l$ac_lib"
   3645 break
   3646 else
   3647   echo "$as_me: failed program was:" >&5
   3648 sed 's/^/| /' conftest.$ac_ext >&5
   3649 
   3650 fi
   3651 rm -f conftest.err conftest.$ac_objext \
   3652       conftest$ac_exeext conftest.$ac_ext
   3653   done
   3654 fi
   3655 LIBS=$ac_func_search_save_LIBS
   3656 fi
   3657 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   3658 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   3659 if test "$ac_cv_search_opendir" != no; then
   3660   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   3661 
   3662 fi
   3663 
   3664 else
   3665   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   3666 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   3667 if test "${ac_cv_search_opendir+set}" = set; then
   3668   echo $ECHO_N "(cached) $ECHO_C" >&6
   3669 else
   3670   ac_func_search_save_LIBS=$LIBS
   3671 ac_cv_search_opendir=no
   3672 cat >conftest.$ac_ext <<_ACEOF
   3673 /* confdefs.h.  */
   3674 _ACEOF
   3675 cat confdefs.h >>conftest.$ac_ext
   3676 cat >>conftest.$ac_ext <<_ACEOF
   3677 /* end confdefs.h.  */
   3678 
   3679 /* Override any gcc2 internal prototype to avoid an error.  */
   3680 #ifdef __cplusplus
   3681 extern "C"
   3682 #endif
   3683 /* We use char because int might match the return type of a gcc2
   3684    builtin and then its argument prototype would still apply.  */
   3685 char opendir ();
   3686 int
   3687 main ()
   3688 {
   3689 opendir ();
   3690   ;
   3691   return 0;
   3692 }
   3693 _ACEOF
   3694 rm -f conftest.$ac_objext conftest$ac_exeext
   3695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3696   (eval $ac_link) 2>conftest.er1
   3697   ac_status=$?
   3698   grep -v '^ *+' conftest.er1 >conftest.err
   3699   rm -f conftest.er1
   3700   cat conftest.err >&5
   3701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3702   (exit $ac_status); } &&
   3703 	 { ac_try='test -z "$ac_c_werror_flag"
   3704 			 || test ! -s conftest.err'
   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); }; } &&
   3710 	 { ac_try='test -s conftest$ac_exeext'
   3711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3712   (eval $ac_try) 2>&5
   3713   ac_status=$?
   3714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3715   (exit $ac_status); }; }; then
   3716   ac_cv_search_opendir="none required"
   3717 else
   3718   echo "$as_me: failed program was:" >&5
   3719 sed 's/^/| /' conftest.$ac_ext >&5
   3720 
   3721 fi
   3722 rm -f conftest.err conftest.$ac_objext \
   3723       conftest$ac_exeext conftest.$ac_ext
   3724 if test "$ac_cv_search_opendir" = no; then
   3725   for ac_lib in x; do
   3726     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3727     cat >conftest.$ac_ext <<_ACEOF
   3728 /* confdefs.h.  */
   3729 _ACEOF
   3730 cat confdefs.h >>conftest.$ac_ext
   3731 cat >>conftest.$ac_ext <<_ACEOF
   3732 /* end confdefs.h.  */
   3733 
   3734 /* Override any gcc2 internal prototype to avoid an error.  */
   3735 #ifdef __cplusplus
   3736 extern "C"
   3737 #endif
   3738 /* We use char because int might match the return type of a gcc2
   3739    builtin and then its argument prototype would still apply.  */
   3740 char opendir ();
   3741 int
   3742 main ()
   3743 {
   3744 opendir ();
   3745   ;
   3746   return 0;
   3747 }
   3748 _ACEOF
   3749 rm -f conftest.$ac_objext conftest$ac_exeext
   3750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3751   (eval $ac_link) 2>conftest.er1
   3752   ac_status=$?
   3753   grep -v '^ *+' conftest.er1 >conftest.err
   3754   rm -f conftest.er1
   3755   cat conftest.err >&5
   3756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3757   (exit $ac_status); } &&
   3758 	 { ac_try='test -z "$ac_c_werror_flag"
   3759 			 || test ! -s conftest.err'
   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); }; } &&
   3765 	 { ac_try='test -s conftest$ac_exeext'
   3766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3767   (eval $ac_try) 2>&5
   3768   ac_status=$?
   3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3770   (exit $ac_status); }; }; then
   3771   ac_cv_search_opendir="-l$ac_lib"
   3772 break
   3773 else
   3774   echo "$as_me: failed program was:" >&5
   3775 sed 's/^/| /' conftest.$ac_ext >&5
   3776 
   3777 fi
   3778 rm -f conftest.err conftest.$ac_objext \
   3779       conftest$ac_exeext conftest.$ac_ext
   3780   done
   3781 fi
   3782 LIBS=$ac_func_search_save_LIBS
   3783 fi
   3784 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   3785 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   3786 if test "$ac_cv_search_opendir" != no; then
   3787   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   3788 
   3789 fi
   3790 
   3791 fi
   3792 
   3793 
   3794 
   3795 
   3796 
   3797 
   3798 
   3799 
   3800 for ac_header in sys/sysmacros.h sys/syslimits.h \
   3801 	getopt.h features.h malloc.h sys/poll.h stddef.h
   3802 do
   3803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3805   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3808   echo $ECHO_N "(cached) $ECHO_C" >&6
   3809 fi
   3810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3812 else
   3813   # Is the header compilable?
   3814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3816 cat >conftest.$ac_ext <<_ACEOF
   3817 /* confdefs.h.  */
   3818 _ACEOF
   3819 cat confdefs.h >>conftest.$ac_ext
   3820 cat >>conftest.$ac_ext <<_ACEOF
   3821 /* end confdefs.h.  */
   3822 $ac_includes_default
   3823 #include <$ac_header>
   3824 _ACEOF
   3825 rm -f conftest.$ac_objext
   3826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3827   (eval $ac_compile) 2>conftest.er1
   3828   ac_status=$?
   3829   grep -v '^ *+' conftest.er1 >conftest.err
   3830   rm -f conftest.er1
   3831   cat conftest.err >&5
   3832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3833   (exit $ac_status); } &&
   3834 	 { ac_try='test -z "$ac_c_werror_flag"
   3835 			 || test ! -s conftest.err'
   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); }; } &&
   3841 	 { ac_try='test -s conftest.$ac_objext'
   3842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3843   (eval $ac_try) 2>&5
   3844   ac_status=$?
   3845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3846   (exit $ac_status); }; }; then
   3847   ac_header_compiler=yes
   3848 else
   3849   echo "$as_me: failed program was:" >&5
   3850 sed 's/^/| /' conftest.$ac_ext >&5
   3851 
   3852 ac_header_compiler=no
   3853 fi
   3854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3856 echo "${ECHO_T}$ac_header_compiler" >&6
   3857 
   3858 # Is the header present?
   3859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3861 cat >conftest.$ac_ext <<_ACEOF
   3862 /* confdefs.h.  */
   3863 _ACEOF
   3864 cat confdefs.h >>conftest.$ac_ext
   3865 cat >>conftest.$ac_ext <<_ACEOF
   3866 /* end confdefs.h.  */
   3867 #include <$ac_header>
   3868 _ACEOF
   3869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3871   ac_status=$?
   3872   grep -v '^ *+' conftest.er1 >conftest.err
   3873   rm -f conftest.er1
   3874   cat conftest.err >&5
   3875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3876   (exit $ac_status); } >/dev/null; then
   3877   if test -s conftest.err; then
   3878     ac_cpp_err=$ac_c_preproc_warn_flag
   3879     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3880   else
   3881     ac_cpp_err=
   3882   fi
   3883 else
   3884   ac_cpp_err=yes
   3885 fi
   3886 if test -z "$ac_cpp_err"; then
   3887   ac_header_preproc=yes
   3888 else
   3889   echo "$as_me: failed program was:" >&5
   3890 sed 's/^/| /' conftest.$ac_ext >&5
   3891 
   3892   ac_header_preproc=no
   3893 fi
   3894 rm -f conftest.err conftest.$ac_ext
   3895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3896 echo "${ECHO_T}$ac_header_preproc" >&6
   3897 
   3898 # So?  What about this header?
   3899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3900   yes:no: )
   3901     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3903     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   3904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   3905     ac_header_preproc=yes
   3906     ;;
   3907   no:yes:* )
   3908     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3910     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   3911 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   3912     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   3913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   3914     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   3915 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   3916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3918     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   3919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   3920     (
   3921       cat <<\_ASBOX
   3922 ## ---------------------------------------- ##
   3923 ## Report this to lib-bug-people (at] NetBSD.org ##
   3924 ## ---------------------------------------- ##
   3925 _ASBOX
   3926     ) |
   3927       sed "s/^/$as_me: WARNING:     /" >&2
   3928     ;;
   3929 esac
   3930 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3933   echo $ECHO_N "(cached) $ECHO_C" >&6
   3934 else
   3935   eval "$as_ac_Header=\$ac_header_preproc"
   3936 fi
   3937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3939 
   3940 fi
   3941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3942   cat >>confdefs.h <<_ACEOF
   3943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3944 _ACEOF
   3945 
   3946 fi
   3947 
   3948 done
   3949 
   3950 
   3951 
   3952 
   3953 
   3954 
   3955 
   3956 
   3957 
   3958 
   3959 
   3960 
   3961 for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h sys/endian.h \
   3962 	sys/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h
   3963 do
   3964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3966   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3969   echo $ECHO_N "(cached) $ECHO_C" >&6
   3970 fi
   3971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3973 else
   3974   # Is the header compilable?
   3975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3977 cat >conftest.$ac_ext <<_ACEOF
   3978 /* confdefs.h.  */
   3979 _ACEOF
   3980 cat confdefs.h >>conftest.$ac_ext
   3981 cat >>conftest.$ac_ext <<_ACEOF
   3982 /* end confdefs.h.  */
   3983 $ac_includes_default
   3984 #include <$ac_header>
   3985 _ACEOF
   3986 rm -f conftest.$ac_objext
   3987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3988   (eval $ac_compile) 2>conftest.er1
   3989   ac_status=$?
   3990   grep -v '^ *+' conftest.er1 >conftest.err
   3991   rm -f conftest.er1
   3992   cat conftest.err >&5
   3993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3994   (exit $ac_status); } &&
   3995 	 { ac_try='test -z "$ac_c_werror_flag"
   3996 			 || test ! -s conftest.err'
   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); }; } &&
   4002 	 { ac_try='test -s conftest.$ac_objext'
   4003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4004   (eval $ac_try) 2>&5
   4005   ac_status=$?
   4006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4007   (exit $ac_status); }; }; then
   4008   ac_header_compiler=yes
   4009 else
   4010   echo "$as_me: failed program was:" >&5
   4011 sed 's/^/| /' conftest.$ac_ext >&5
   4012 
   4013 ac_header_compiler=no
   4014 fi
   4015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4017 echo "${ECHO_T}$ac_header_compiler" >&6
   4018 
   4019 # Is the header present?
   4020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4022 cat >conftest.$ac_ext <<_ACEOF
   4023 /* confdefs.h.  */
   4024 _ACEOF
   4025 cat confdefs.h >>conftest.$ac_ext
   4026 cat >>conftest.$ac_ext <<_ACEOF
   4027 /* end confdefs.h.  */
   4028 #include <$ac_header>
   4029 _ACEOF
   4030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4031   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4032   ac_status=$?
   4033   grep -v '^ *+' conftest.er1 >conftest.err
   4034   rm -f conftest.er1
   4035   cat conftest.err >&5
   4036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4037   (exit $ac_status); } >/dev/null; then
   4038   if test -s conftest.err; then
   4039     ac_cpp_err=$ac_c_preproc_warn_flag
   4040     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4041   else
   4042     ac_cpp_err=
   4043   fi
   4044 else
   4045   ac_cpp_err=yes
   4046 fi
   4047 if test -z "$ac_cpp_err"; then
   4048   ac_header_preproc=yes
   4049 else
   4050   echo "$as_me: failed program was:" >&5
   4051 sed 's/^/| /' conftest.$ac_ext >&5
   4052 
   4053   ac_header_preproc=no
   4054 fi
   4055 rm -f conftest.err conftest.$ac_ext
   4056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4057 echo "${ECHO_T}$ac_header_preproc" >&6
   4058 
   4059 # So?  What about this header?
   4060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4061   yes:no: )
   4062     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4064     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4066     ac_header_preproc=yes
   4067     ;;
   4068   no:yes:* )
   4069     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4071     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4072 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4073     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4075     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4076 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4077     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4079     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4081     (
   4082       cat <<\_ASBOX
   4083 ## ---------------------------------------- ##
   4084 ## Report this to lib-bug-people (at] NetBSD.org ##
   4085 ## ---------------------------------------- ##
   4086 _ASBOX
   4087     ) |
   4088       sed "s/^/$as_me: WARNING:     /" >&2
   4089     ;;
   4090 esac
   4091 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4094   echo $ECHO_N "(cached) $ECHO_C" >&6
   4095 else
   4096   eval "$as_ac_Header=\$ac_header_preproc"
   4097 fi
   4098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4100 
   4101 fi
   4102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4103   cat >>confdefs.h <<_ACEOF
   4104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4105 _ACEOF
   4106 
   4107 else
   4108   test -f include/$ac_header || touch include/$ac_header
   4109 fi
   4110 
   4111 done
   4112 
   4113 
   4114 
   4115 for ac_header in rpc/types.h netconfig.h
   4116 do
   4117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4119   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4122   echo $ECHO_N "(cached) $ECHO_C" >&6
   4123 fi
   4124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4126 else
   4127   # Is the header compilable?
   4128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4130 cat >conftest.$ac_ext <<_ACEOF
   4131 /* confdefs.h.  */
   4132 _ACEOF
   4133 cat confdefs.h >>conftest.$ac_ext
   4134 cat >>conftest.$ac_ext <<_ACEOF
   4135 /* end confdefs.h.  */
   4136 $ac_includes_default
   4137 #include <$ac_header>
   4138 _ACEOF
   4139 rm -f conftest.$ac_objext
   4140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4141   (eval $ac_compile) 2>conftest.er1
   4142   ac_status=$?
   4143   grep -v '^ *+' conftest.er1 >conftest.err
   4144   rm -f conftest.er1
   4145   cat conftest.err >&5
   4146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4147   (exit $ac_status); } &&
   4148 	 { ac_try='test -z "$ac_c_werror_flag"
   4149 			 || test ! -s conftest.err'
   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); }; } &&
   4155 	 { ac_try='test -s conftest.$ac_objext'
   4156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4157   (eval $ac_try) 2>&5
   4158   ac_status=$?
   4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4160   (exit $ac_status); }; }; then
   4161   ac_header_compiler=yes
   4162 else
   4163   echo "$as_me: failed program was:" >&5
   4164 sed 's/^/| /' conftest.$ac_ext >&5
   4165 
   4166 ac_header_compiler=no
   4167 fi
   4168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4170 echo "${ECHO_T}$ac_header_compiler" >&6
   4171 
   4172 # Is the header present?
   4173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4175 cat >conftest.$ac_ext <<_ACEOF
   4176 /* confdefs.h.  */
   4177 _ACEOF
   4178 cat confdefs.h >>conftest.$ac_ext
   4179 cat >>conftest.$ac_ext <<_ACEOF
   4180 /* end confdefs.h.  */
   4181 #include <$ac_header>
   4182 _ACEOF
   4183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4184   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4185   ac_status=$?
   4186   grep -v '^ *+' conftest.er1 >conftest.err
   4187   rm -f conftest.er1
   4188   cat conftest.err >&5
   4189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4190   (exit $ac_status); } >/dev/null; then
   4191   if test -s conftest.err; then
   4192     ac_cpp_err=$ac_c_preproc_warn_flag
   4193     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4194   else
   4195     ac_cpp_err=
   4196   fi
   4197 else
   4198   ac_cpp_err=yes
   4199 fi
   4200 if test -z "$ac_cpp_err"; then
   4201   ac_header_preproc=yes
   4202 else
   4203   echo "$as_me: failed program was:" >&5
   4204 sed 's/^/| /' conftest.$ac_ext >&5
   4205 
   4206   ac_header_preproc=no
   4207 fi
   4208 rm -f conftest.err conftest.$ac_ext
   4209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4210 echo "${ECHO_T}$ac_header_preproc" >&6
   4211 
   4212 # So?  What about this header?
   4213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4214   yes:no: )
   4215     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4217     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4219     ac_header_preproc=yes
   4220     ;;
   4221   no:yes:* )
   4222     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4224     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4225 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4226     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4228     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4229 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4230     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4232     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4234     (
   4235       cat <<\_ASBOX
   4236 ## ---------------------------------------- ##
   4237 ## Report this to lib-bug-people (at] NetBSD.org ##
   4238 ## ---------------------------------------- ##
   4239 _ASBOX
   4240     ) |
   4241       sed "s/^/$as_me: WARNING:     /" >&2
   4242     ;;
   4243 esac
   4244 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4247   echo $ECHO_N "(cached) $ECHO_C" >&6
   4248 else
   4249   eval "$as_ac_Header=\$ac_header_preproc"
   4250 fi
   4251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4253 
   4254 fi
   4255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4256   cat >>confdefs.h <<_ACEOF
   4257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4258 _ACEOF
   4259 
   4260 else
   4261   echo '#include "nbtool_config.h"' >include/$ac_header.new
   4262 	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
   4263 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   4264 		rm -f include/$ac_header.new
   4265 	else
   4266 		mv -f include/$ac_header.new include/$ac_header
   4267 	fi
   4268 fi
   4269 
   4270 done
   4271 
   4272 
   4273 # Typedefs.
   4274 echo "$as_me:$LINENO: checking for size_t" >&5
   4275 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   4276 if test "${ac_cv_type_size_t+set}" = set; then
   4277   echo $ECHO_N "(cached) $ECHO_C" >&6
   4278 else
   4279   cat >conftest.$ac_ext <<_ACEOF
   4280 /* confdefs.h.  */
   4281 _ACEOF
   4282 cat confdefs.h >>conftest.$ac_ext
   4283 cat >>conftest.$ac_ext <<_ACEOF
   4284 /* end confdefs.h.  */
   4285 $ac_includes_default
   4286 int
   4287 main ()
   4288 {
   4289 if ((size_t *) 0)
   4290   return 0;
   4291 if (sizeof (size_t))
   4292   return 0;
   4293   ;
   4294   return 0;
   4295 }
   4296 _ACEOF
   4297 rm -f conftest.$ac_objext
   4298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4299   (eval $ac_compile) 2>conftest.er1
   4300   ac_status=$?
   4301   grep -v '^ *+' conftest.er1 >conftest.err
   4302   rm -f conftest.er1
   4303   cat conftest.err >&5
   4304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4305   (exit $ac_status); } &&
   4306 	 { ac_try='test -z "$ac_c_werror_flag"
   4307 			 || test ! -s conftest.err'
   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); }; } &&
   4313 	 { ac_try='test -s conftest.$ac_objext'
   4314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4315   (eval $ac_try) 2>&5
   4316   ac_status=$?
   4317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4318   (exit $ac_status); }; }; then
   4319   ac_cv_type_size_t=yes
   4320 else
   4321   echo "$as_me: failed program was:" >&5
   4322 sed 's/^/| /' conftest.$ac_ext >&5
   4323 
   4324 ac_cv_type_size_t=no
   4325 fi
   4326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4327 fi
   4328 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   4329 echo "${ECHO_T}$ac_cv_type_size_t" >&6
   4330 if test $ac_cv_type_size_t = yes; then
   4331   :
   4332 else
   4333 
   4334 cat >>confdefs.h <<_ACEOF
   4335 #define size_t unsigned
   4336 _ACEOF
   4337 
   4338 fi
   4339 
   4340 echo "$as_me:$LINENO: checking for id_t" >&5
   4341 echo $ECHO_N "checking for id_t... $ECHO_C" >&6
   4342 if test "${ac_cv_type_id_t+set}" = set; then
   4343   echo $ECHO_N "(cached) $ECHO_C" >&6
   4344 else
   4345   cat >conftest.$ac_ext <<_ACEOF
   4346 /* confdefs.h.  */
   4347 _ACEOF
   4348 cat confdefs.h >>conftest.$ac_ext
   4349 cat >>conftest.$ac_ext <<_ACEOF
   4350 /* end confdefs.h.  */
   4351 $ac_includes_default
   4352 int
   4353 main ()
   4354 {
   4355 if ((id_t *) 0)
   4356   return 0;
   4357 if (sizeof (id_t))
   4358   return 0;
   4359   ;
   4360   return 0;
   4361 }
   4362 _ACEOF
   4363 rm -f conftest.$ac_objext
   4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4365   (eval $ac_compile) 2>conftest.er1
   4366   ac_status=$?
   4367   grep -v '^ *+' conftest.er1 >conftest.err
   4368   rm -f conftest.er1
   4369   cat conftest.err >&5
   4370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4371   (exit $ac_status); } &&
   4372 	 { ac_try='test -z "$ac_c_werror_flag"
   4373 			 || test ! -s conftest.err'
   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); }; } &&
   4379 	 { ac_try='test -s conftest.$ac_objext'
   4380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4381   (eval $ac_try) 2>&5
   4382   ac_status=$?
   4383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4384   (exit $ac_status); }; }; then
   4385   ac_cv_type_id_t=yes
   4386 else
   4387   echo "$as_me: failed program was:" >&5
   4388 sed 's/^/| /' conftest.$ac_ext >&5
   4389 
   4390 ac_cv_type_id_t=no
   4391 fi
   4392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4393 fi
   4394 echo "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
   4395 echo "${ECHO_T}$ac_cv_type_id_t" >&6
   4396 if test $ac_cv_type_id_t = yes; then
   4397 
   4398 cat >>confdefs.h <<_ACEOF
   4399 #define HAVE_ID_T 1
   4400 _ACEOF
   4401 
   4402 
   4403 fi
   4404 echo "$as_me:$LINENO: checking for long long" >&5
   4405 echo $ECHO_N "checking for long long... $ECHO_C" >&6
   4406 if test "${ac_cv_type_long_long+set}" = set; then
   4407   echo $ECHO_N "(cached) $ECHO_C" >&6
   4408 else
   4409   cat >conftest.$ac_ext <<_ACEOF
   4410 /* confdefs.h.  */
   4411 _ACEOF
   4412 cat confdefs.h >>conftest.$ac_ext
   4413 cat >>conftest.$ac_ext <<_ACEOF
   4414 /* end confdefs.h.  */
   4415 $ac_includes_default
   4416 int
   4417 main ()
   4418 {
   4419 if ((long long *) 0)
   4420   return 0;
   4421 if (sizeof (long long))
   4422   return 0;
   4423   ;
   4424   return 0;
   4425 }
   4426 _ACEOF
   4427 rm -f conftest.$ac_objext
   4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4429   (eval $ac_compile) 2>conftest.er1
   4430   ac_status=$?
   4431   grep -v '^ *+' conftest.er1 >conftest.err
   4432   rm -f conftest.er1
   4433   cat conftest.err >&5
   4434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4435   (exit $ac_status); } &&
   4436 	 { ac_try='test -z "$ac_c_werror_flag"
   4437 			 || test ! -s conftest.err'
   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); }; } &&
   4443 	 { ac_try='test -s conftest.$ac_objext'
   4444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4445   (eval $ac_try) 2>&5
   4446   ac_status=$?
   4447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4448   (exit $ac_status); }; }; then
   4449   ac_cv_type_long_long=yes
   4450 else
   4451   echo "$as_me: failed program was:" >&5
   4452 sed 's/^/| /' conftest.$ac_ext >&5
   4453 
   4454 ac_cv_type_long_long=no
   4455 fi
   4456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4457 fi
   4458 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
   4459 echo "${ECHO_T}$ac_cv_type_long_long" >&6
   4460 if test $ac_cv_type_long_long = yes; then
   4461 
   4462 cat >>confdefs.h <<_ACEOF
   4463 #define HAVE_LONG_LONG 1
   4464 _ACEOF
   4465 
   4466 
   4467 fi
   4468 echo "$as_me:$LINENO: checking for u_long" >&5
   4469 echo $ECHO_N "checking for u_long... $ECHO_C" >&6
   4470 if test "${ac_cv_type_u_long+set}" = set; then
   4471   echo $ECHO_N "(cached) $ECHO_C" >&6
   4472 else
   4473   cat >conftest.$ac_ext <<_ACEOF
   4474 /* confdefs.h.  */
   4475 _ACEOF
   4476 cat confdefs.h >>conftest.$ac_ext
   4477 cat >>conftest.$ac_ext <<_ACEOF
   4478 /* end confdefs.h.  */
   4479 $ac_includes_default
   4480 int
   4481 main ()
   4482 {
   4483 if ((u_long *) 0)
   4484   return 0;
   4485 if (sizeof (u_long))
   4486   return 0;
   4487   ;
   4488   return 0;
   4489 }
   4490 _ACEOF
   4491 rm -f conftest.$ac_objext
   4492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4493   (eval $ac_compile) 2>conftest.er1
   4494   ac_status=$?
   4495   grep -v '^ *+' conftest.er1 >conftest.err
   4496   rm -f conftest.er1
   4497   cat conftest.err >&5
   4498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4499   (exit $ac_status); } &&
   4500 	 { ac_try='test -z "$ac_c_werror_flag"
   4501 			 || test ! -s conftest.err'
   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); }; } &&
   4507 	 { ac_try='test -s conftest.$ac_objext'
   4508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4509   (eval $ac_try) 2>&5
   4510   ac_status=$?
   4511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4512   (exit $ac_status); }; }; then
   4513   ac_cv_type_u_long=yes
   4514 else
   4515   echo "$as_me: failed program was:" >&5
   4516 sed 's/^/| /' conftest.$ac_ext >&5
   4517 
   4518 ac_cv_type_u_long=no
   4519 fi
   4520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4521 fi
   4522 echo "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5
   4523 echo "${ECHO_T}$ac_cv_type_u_long" >&6
   4524 if test $ac_cv_type_u_long = yes; then
   4525 
   4526 cat >>confdefs.h <<_ACEOF
   4527 #define HAVE_U_LONG 1
   4528 _ACEOF
   4529 
   4530 
   4531 fi
   4532 echo "$as_me:$LINENO: checking for u_char" >&5
   4533 echo $ECHO_N "checking for u_char... $ECHO_C" >&6
   4534 if test "${ac_cv_type_u_char+set}" = set; then
   4535   echo $ECHO_N "(cached) $ECHO_C" >&6
   4536 else
   4537   cat >conftest.$ac_ext <<_ACEOF
   4538 /* confdefs.h.  */
   4539 _ACEOF
   4540 cat confdefs.h >>conftest.$ac_ext
   4541 cat >>conftest.$ac_ext <<_ACEOF
   4542 /* end confdefs.h.  */
   4543 $ac_includes_default
   4544 int
   4545 main ()
   4546 {
   4547 if ((u_char *) 0)
   4548   return 0;
   4549 if (sizeof (u_char))
   4550   return 0;
   4551   ;
   4552   return 0;
   4553 }
   4554 _ACEOF
   4555 rm -f conftest.$ac_objext
   4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4557   (eval $ac_compile) 2>conftest.er1
   4558   ac_status=$?
   4559   grep -v '^ *+' conftest.er1 >conftest.err
   4560   rm -f conftest.er1
   4561   cat conftest.err >&5
   4562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563   (exit $ac_status); } &&
   4564 	 { ac_try='test -z "$ac_c_werror_flag"
   4565 			 || test ! -s conftest.err'
   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); }; } &&
   4571 	 { ac_try='test -s conftest.$ac_objext'
   4572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4573   (eval $ac_try) 2>&5
   4574   ac_status=$?
   4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4576   (exit $ac_status); }; }; then
   4577   ac_cv_type_u_char=yes
   4578 else
   4579   echo "$as_me: failed program was:" >&5
   4580 sed 's/^/| /' conftest.$ac_ext >&5
   4581 
   4582 ac_cv_type_u_char=no
   4583 fi
   4584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4585 fi
   4586 echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5
   4587 echo "${ECHO_T}$ac_cv_type_u_char" >&6
   4588 if test $ac_cv_type_u_char = yes; then
   4589 
   4590 cat >>confdefs.h <<_ACEOF
   4591 #define HAVE_U_CHAR 1
   4592 _ACEOF
   4593 
   4594 
   4595 fi
   4596 echo "$as_me:$LINENO: checking for u_short" >&5
   4597 echo $ECHO_N "checking for u_short... $ECHO_C" >&6
   4598 if test "${ac_cv_type_u_short+set}" = set; then
   4599   echo $ECHO_N "(cached) $ECHO_C" >&6
   4600 else
   4601   cat >conftest.$ac_ext <<_ACEOF
   4602 /* confdefs.h.  */
   4603 _ACEOF
   4604 cat confdefs.h >>conftest.$ac_ext
   4605 cat >>conftest.$ac_ext <<_ACEOF
   4606 /* end confdefs.h.  */
   4607 $ac_includes_default
   4608 int
   4609 main ()
   4610 {
   4611 if ((u_short *) 0)
   4612   return 0;
   4613 if (sizeof (u_short))
   4614   return 0;
   4615   ;
   4616   return 0;
   4617 }
   4618 _ACEOF
   4619 rm -f conftest.$ac_objext
   4620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4621   (eval $ac_compile) 2>conftest.er1
   4622   ac_status=$?
   4623   grep -v '^ *+' conftest.er1 >conftest.err
   4624   rm -f conftest.er1
   4625   cat conftest.err >&5
   4626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4627   (exit $ac_status); } &&
   4628 	 { ac_try='test -z "$ac_c_werror_flag"
   4629 			 || test ! -s conftest.err'
   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); }; } &&
   4635 	 { ac_try='test -s conftest.$ac_objext'
   4636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4637   (eval $ac_try) 2>&5
   4638   ac_status=$?
   4639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4640   (exit $ac_status); }; }; then
   4641   ac_cv_type_u_short=yes
   4642 else
   4643   echo "$as_me: failed program was:" >&5
   4644 sed 's/^/| /' conftest.$ac_ext >&5
   4645 
   4646 ac_cv_type_u_short=no
   4647 fi
   4648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4649 fi
   4650 echo "$as_me:$LINENO: result: $ac_cv_type_u_short" >&5
   4651 echo "${ECHO_T}$ac_cv_type_u_short" >&6
   4652 if test $ac_cv_type_u_short = yes; then
   4653 
   4654 cat >>confdefs.h <<_ACEOF
   4655 #define HAVE_U_SHORT 1
   4656 _ACEOF
   4657 
   4658 
   4659 fi
   4660 echo "$as_me:$LINENO: checking for u_int" >&5
   4661 echo $ECHO_N "checking for u_int... $ECHO_C" >&6
   4662 if test "${ac_cv_type_u_int+set}" = set; then
   4663   echo $ECHO_N "(cached) $ECHO_C" >&6
   4664 else
   4665   cat >conftest.$ac_ext <<_ACEOF
   4666 /* confdefs.h.  */
   4667 _ACEOF
   4668 cat confdefs.h >>conftest.$ac_ext
   4669 cat >>conftest.$ac_ext <<_ACEOF
   4670 /* end confdefs.h.  */
   4671 $ac_includes_default
   4672 int
   4673 main ()
   4674 {
   4675 if ((u_int *) 0)
   4676   return 0;
   4677 if (sizeof (u_int))
   4678   return 0;
   4679   ;
   4680   return 0;
   4681 }
   4682 _ACEOF
   4683 rm -f conftest.$ac_objext
   4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4685   (eval $ac_compile) 2>conftest.er1
   4686   ac_status=$?
   4687   grep -v '^ *+' conftest.er1 >conftest.err
   4688   rm -f conftest.er1
   4689   cat conftest.err >&5
   4690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4691   (exit $ac_status); } &&
   4692 	 { ac_try='test -z "$ac_c_werror_flag"
   4693 			 || test ! -s conftest.err'
   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); }; } &&
   4699 	 { ac_try='test -s conftest.$ac_objext'
   4700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4701   (eval $ac_try) 2>&5
   4702   ac_status=$?
   4703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4704   (exit $ac_status); }; }; then
   4705   ac_cv_type_u_int=yes
   4706 else
   4707   echo "$as_me: failed program was:" >&5
   4708 sed 's/^/| /' conftest.$ac_ext >&5
   4709 
   4710 ac_cv_type_u_int=no
   4711 fi
   4712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4713 fi
   4714 echo "$as_me:$LINENO: result: $ac_cv_type_u_int" >&5
   4715 echo "${ECHO_T}$ac_cv_type_u_int" >&6
   4716 if test $ac_cv_type_u_int = yes; then
   4717 
   4718 cat >>confdefs.h <<_ACEOF
   4719 #define HAVE_U_INT 1
   4720 _ACEOF
   4721 
   4722 
   4723 fi
   4724 echo "$as_me:$LINENO: checking for u_quad_t" >&5
   4725 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
   4726 if test "${ac_cv_type_u_quad_t+set}" = set; then
   4727   echo $ECHO_N "(cached) $ECHO_C" >&6
   4728 else
   4729   cat >conftest.$ac_ext <<_ACEOF
   4730 /* confdefs.h.  */
   4731 _ACEOF
   4732 cat confdefs.h >>conftest.$ac_ext
   4733 cat >>conftest.$ac_ext <<_ACEOF
   4734 /* end confdefs.h.  */
   4735 $ac_includes_default
   4736 int
   4737 main ()
   4738 {
   4739 if ((u_quad_t *) 0)
   4740   return 0;
   4741 if (sizeof (u_quad_t))
   4742   return 0;
   4743   ;
   4744   return 0;
   4745 }
   4746 _ACEOF
   4747 rm -f conftest.$ac_objext
   4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4749   (eval $ac_compile) 2>conftest.er1
   4750   ac_status=$?
   4751   grep -v '^ *+' conftest.er1 >conftest.err
   4752   rm -f conftest.er1
   4753   cat conftest.err >&5
   4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4755   (exit $ac_status); } &&
   4756 	 { ac_try='test -z "$ac_c_werror_flag"
   4757 			 || test ! -s conftest.err'
   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); }; } &&
   4763 	 { ac_try='test -s conftest.$ac_objext'
   4764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4765   (eval $ac_try) 2>&5
   4766   ac_status=$?
   4767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4768   (exit $ac_status); }; }; then
   4769   ac_cv_type_u_quad_t=yes
   4770 else
   4771   echo "$as_me: failed program was:" >&5
   4772 sed 's/^/| /' conftest.$ac_ext >&5
   4773 
   4774 ac_cv_type_u_quad_t=no
   4775 fi
   4776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4777 fi
   4778 echo "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
   4779 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
   4780 if test $ac_cv_type_u_quad_t = yes; then
   4781 
   4782 cat >>confdefs.h <<_ACEOF
   4783 #define HAVE_U_QUAD_T 1
   4784 _ACEOF
   4785 
   4786 
   4787 fi
   4788 
   4789 echo "$as_me:$LINENO: checking for socklen_t" >&5
   4790 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
   4791 if test "${ac_cv_type_socklen_t+set}" = set; then
   4792   echo $ECHO_N "(cached) $ECHO_C" >&6
   4793 else
   4794   cat >conftest.$ac_ext <<_ACEOF
   4795 /* confdefs.h.  */
   4796 _ACEOF
   4797 cat confdefs.h >>conftest.$ac_ext
   4798 cat >>conftest.$ac_ext <<_ACEOF
   4799 /* end confdefs.h.  */
   4800 #include <sys/types.h>
   4801 #include <sys/socket.h>
   4802 
   4803 int
   4804 main ()
   4805 {
   4806 if ((socklen_t *) 0)
   4807   return 0;
   4808 if (sizeof (socklen_t))
   4809   return 0;
   4810   ;
   4811   return 0;
   4812 }
   4813 _ACEOF
   4814 rm -f conftest.$ac_objext
   4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4816   (eval $ac_compile) 2>conftest.er1
   4817   ac_status=$?
   4818   grep -v '^ *+' conftest.er1 >conftest.err
   4819   rm -f conftest.er1
   4820   cat conftest.err >&5
   4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4822   (exit $ac_status); } &&
   4823 	 { ac_try='test -z "$ac_c_werror_flag"
   4824 			 || test ! -s conftest.err'
   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); }; } &&
   4830 	 { ac_try='test -s conftest.$ac_objext'
   4831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4832   (eval $ac_try) 2>&5
   4833   ac_status=$?
   4834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4835   (exit $ac_status); }; }; then
   4836   ac_cv_type_socklen_t=yes
   4837 else
   4838   echo "$as_me: failed program was:" >&5
   4839 sed 's/^/| /' conftest.$ac_ext >&5
   4840 
   4841 ac_cv_type_socklen_t=no
   4842 fi
   4843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4844 fi
   4845 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   4846 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
   4847 if test $ac_cv_type_socklen_t = yes; then
   4848 
   4849 cat >>confdefs.h <<\_ACEOF
   4850 #define HAVE_SOCKLEN_T 1
   4851 _ACEOF
   4852 
   4853 fi
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 	echo "$as_me:$LINENO: checking for uint8_t" >&5
   4860 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   4861 if test "${ac_cv_type_uint8_t+set}" = set; then
   4862   echo $ECHO_N "(cached) $ECHO_C" >&6
   4863 else
   4864   cat >conftest.$ac_ext <<_ACEOF
   4865 /* confdefs.h.  */
   4866 _ACEOF
   4867 cat confdefs.h >>conftest.$ac_ext
   4868 cat >>conftest.$ac_ext <<_ACEOF
   4869 /* end confdefs.h.  */
   4870 $ac_includes_default
   4871 int
   4872 main ()
   4873 {
   4874 if ((uint8_t *) 0)
   4875   return 0;
   4876 if (sizeof (uint8_t))
   4877   return 0;
   4878   ;
   4879   return 0;
   4880 }
   4881 _ACEOF
   4882 rm -f conftest.$ac_objext
   4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4884   (eval $ac_compile) 2>conftest.er1
   4885   ac_status=$?
   4886   grep -v '^ *+' conftest.er1 >conftest.err
   4887   rm -f conftest.er1
   4888   cat conftest.err >&5
   4889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4890   (exit $ac_status); } &&
   4891 	 { ac_try='test -z "$ac_c_werror_flag"
   4892 			 || test ! -s conftest.err'
   4893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4894   (eval $ac_try) 2>&5
   4895   ac_status=$?
   4896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4897   (exit $ac_status); }; } &&
   4898 	 { ac_try='test -s conftest.$ac_objext'
   4899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4900   (eval $ac_try) 2>&5
   4901   ac_status=$?
   4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4903   (exit $ac_status); }; }; then
   4904   ac_cv_type_uint8_t=yes
   4905 else
   4906   echo "$as_me: failed program was:" >&5
   4907 sed 's/^/| /' conftest.$ac_ext >&5
   4908 
   4909 ac_cv_type_uint8_t=no
   4910 fi
   4911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4912 fi
   4913 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   4914 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   4915 if test $ac_cv_type_uint8_t = yes; then
   4916   :
   4917 else
   4918 
   4919 		echo "$as_me:$LINENO: checking for u_int8_t" >&5
   4920 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   4921 if test "${ac_cv_type_u_int8_t+set}" = set; then
   4922   echo $ECHO_N "(cached) $ECHO_C" >&6
   4923 else
   4924   cat >conftest.$ac_ext <<_ACEOF
   4925 /* confdefs.h.  */
   4926 _ACEOF
   4927 cat confdefs.h >>conftest.$ac_ext
   4928 cat >>conftest.$ac_ext <<_ACEOF
   4929 /* end confdefs.h.  */
   4930 $ac_includes_default
   4931 int
   4932 main ()
   4933 {
   4934 if ((u_int8_t *) 0)
   4935   return 0;
   4936 if (sizeof (u_int8_t))
   4937   return 0;
   4938   ;
   4939   return 0;
   4940 }
   4941 _ACEOF
   4942 rm -f conftest.$ac_objext
   4943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4944   (eval $ac_compile) 2>conftest.er1
   4945   ac_status=$?
   4946   grep -v '^ *+' conftest.er1 >conftest.err
   4947   rm -f conftest.er1
   4948   cat conftest.err >&5
   4949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4950   (exit $ac_status); } &&
   4951 	 { ac_try='test -z "$ac_c_werror_flag"
   4952 			 || test ! -s conftest.err'
   4953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4954   (eval $ac_try) 2>&5
   4955   ac_status=$?
   4956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4957   (exit $ac_status); }; } &&
   4958 	 { ac_try='test -s conftest.$ac_objext'
   4959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4960   (eval $ac_try) 2>&5
   4961   ac_status=$?
   4962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4963   (exit $ac_status); }; }; then
   4964   ac_cv_type_u_int8_t=yes
   4965 else
   4966   echo "$as_me: failed program was:" >&5
   4967 sed 's/^/| /' conftest.$ac_ext >&5
   4968 
   4969 ac_cv_type_u_int8_t=no
   4970 fi
   4971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4972 fi
   4973 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
   4974 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   4975 if test $ac_cv_type_u_int8_t = yes; then
   4976 
   4977 cat >>confdefs.h <<\_ACEOF
   4978 #define uint8_t u_int8_t
   4979 _ACEOF
   4980 
   4981 else
   4982   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint8_t" >&5
   4983 echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
   4984    { (exit 1); exit 1; }; }
   4985 fi
   4986 
   4987 
   4988 fi
   4989 
   4990 	echo "$as_me:$LINENO: checking for u_int8_t" >&5
   4991 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
   4992 if test "${ac_cv_type_u_int8_t+set}" = set; then
   4993   echo $ECHO_N "(cached) $ECHO_C" >&6
   4994 else
   4995   cat >conftest.$ac_ext <<_ACEOF
   4996 /* confdefs.h.  */
   4997 _ACEOF
   4998 cat confdefs.h >>conftest.$ac_ext
   4999 cat >>conftest.$ac_ext <<_ACEOF
   5000 /* end confdefs.h.  */
   5001 $ac_includes_default
   5002 int
   5003 main ()
   5004 {
   5005 if ((u_int8_t *) 0)
   5006   return 0;
   5007 if (sizeof (u_int8_t))
   5008   return 0;
   5009   ;
   5010   return 0;
   5011 }
   5012 _ACEOF
   5013 rm -f conftest.$ac_objext
   5014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5015   (eval $ac_compile) 2>conftest.er1
   5016   ac_status=$?
   5017   grep -v '^ *+' conftest.er1 >conftest.err
   5018   rm -f conftest.er1
   5019   cat conftest.err >&5
   5020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5021   (exit $ac_status); } &&
   5022 	 { ac_try='test -z "$ac_c_werror_flag"
   5023 			 || test ! -s conftest.err'
   5024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5025   (eval $ac_try) 2>&5
   5026   ac_status=$?
   5027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5028   (exit $ac_status); }; } &&
   5029 	 { ac_try='test -s conftest.$ac_objext'
   5030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5031   (eval $ac_try) 2>&5
   5032   ac_status=$?
   5033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5034   (exit $ac_status); }; }; then
   5035   ac_cv_type_u_int8_t=yes
   5036 else
   5037   echo "$as_me: failed program was:" >&5
   5038 sed 's/^/| /' conftest.$ac_ext >&5
   5039 
   5040 ac_cv_type_u_int8_t=no
   5041 fi
   5042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5043 fi
   5044 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
   5045 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
   5046 if test $ac_cv_type_u_int8_t = yes; then
   5047   :
   5048 else
   5049 
   5050 		echo "$as_me:$LINENO: checking for uint8_t" >&5
   5051 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
   5052 if test "${ac_cv_type_uint8_t+set}" = set; then
   5053   echo $ECHO_N "(cached) $ECHO_C" >&6
   5054 else
   5055   cat >conftest.$ac_ext <<_ACEOF
   5056 /* confdefs.h.  */
   5057 _ACEOF
   5058 cat confdefs.h >>conftest.$ac_ext
   5059 cat >>conftest.$ac_ext <<_ACEOF
   5060 /* end confdefs.h.  */
   5061 $ac_includes_default
   5062 int
   5063 main ()
   5064 {
   5065 if ((uint8_t *) 0)
   5066   return 0;
   5067 if (sizeof (uint8_t))
   5068   return 0;
   5069   ;
   5070   return 0;
   5071 }
   5072 _ACEOF
   5073 rm -f conftest.$ac_objext
   5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5075   (eval $ac_compile) 2>conftest.er1
   5076   ac_status=$?
   5077   grep -v '^ *+' conftest.er1 >conftest.err
   5078   rm -f conftest.er1
   5079   cat conftest.err >&5
   5080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5081   (exit $ac_status); } &&
   5082 	 { ac_try='test -z "$ac_c_werror_flag"
   5083 			 || test ! -s conftest.err'
   5084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5085   (eval $ac_try) 2>&5
   5086   ac_status=$?
   5087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5088   (exit $ac_status); }; } &&
   5089 	 { ac_try='test -s conftest.$ac_objext'
   5090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5091   (eval $ac_try) 2>&5
   5092   ac_status=$?
   5093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5094   (exit $ac_status); }; }; then
   5095   ac_cv_type_uint8_t=yes
   5096 else
   5097   echo "$as_me: failed program was:" >&5
   5098 sed 's/^/| /' conftest.$ac_ext >&5
   5099 
   5100 ac_cv_type_uint8_t=no
   5101 fi
   5102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5103 fi
   5104 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   5105 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
   5106 if test $ac_cv_type_uint8_t = yes; then
   5107 
   5108 cat >>confdefs.h <<\_ACEOF
   5109 #define u_int8_t uint8_t
   5110 _ACEOF
   5111 
   5112 else
   5113   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int8_t" >&5
   5114 echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
   5115    { (exit 1); exit 1; }; }
   5116 fi
   5117 
   5118 
   5119 fi
   5120 
   5121 
   5122 
   5123 	echo "$as_me:$LINENO: checking for uint16_t" >&5
   5124 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   5125 if test "${ac_cv_type_uint16_t+set}" = set; then
   5126   echo $ECHO_N "(cached) $ECHO_C" >&6
   5127 else
   5128   cat >conftest.$ac_ext <<_ACEOF
   5129 /* confdefs.h.  */
   5130 _ACEOF
   5131 cat confdefs.h >>conftest.$ac_ext
   5132 cat >>conftest.$ac_ext <<_ACEOF
   5133 /* end confdefs.h.  */
   5134 $ac_includes_default
   5135 int
   5136 main ()
   5137 {
   5138 if ((uint16_t *) 0)
   5139   return 0;
   5140 if (sizeof (uint16_t))
   5141   return 0;
   5142   ;
   5143   return 0;
   5144 }
   5145 _ACEOF
   5146 rm -f conftest.$ac_objext
   5147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5148   (eval $ac_compile) 2>conftest.er1
   5149   ac_status=$?
   5150   grep -v '^ *+' conftest.er1 >conftest.err
   5151   rm -f conftest.er1
   5152   cat conftest.err >&5
   5153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5154   (exit $ac_status); } &&
   5155 	 { ac_try='test -z "$ac_c_werror_flag"
   5156 			 || test ! -s conftest.err'
   5157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5158   (eval $ac_try) 2>&5
   5159   ac_status=$?
   5160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5161   (exit $ac_status); }; } &&
   5162 	 { ac_try='test -s conftest.$ac_objext'
   5163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5164   (eval $ac_try) 2>&5
   5165   ac_status=$?
   5166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5167   (exit $ac_status); }; }; then
   5168   ac_cv_type_uint16_t=yes
   5169 else
   5170   echo "$as_me: failed program was:" >&5
   5171 sed 's/^/| /' conftest.$ac_ext >&5
   5172 
   5173 ac_cv_type_uint16_t=no
   5174 fi
   5175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5176 fi
   5177 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   5178 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   5179 if test $ac_cv_type_uint16_t = yes; then
   5180   :
   5181 else
   5182 
   5183 		echo "$as_me:$LINENO: checking for u_int16_t" >&5
   5184 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   5185 if test "${ac_cv_type_u_int16_t+set}" = set; then
   5186   echo $ECHO_N "(cached) $ECHO_C" >&6
   5187 else
   5188   cat >conftest.$ac_ext <<_ACEOF
   5189 /* confdefs.h.  */
   5190 _ACEOF
   5191 cat confdefs.h >>conftest.$ac_ext
   5192 cat >>conftest.$ac_ext <<_ACEOF
   5193 /* end confdefs.h.  */
   5194 $ac_includes_default
   5195 int
   5196 main ()
   5197 {
   5198 if ((u_int16_t *) 0)
   5199   return 0;
   5200 if (sizeof (u_int16_t))
   5201   return 0;
   5202   ;
   5203   return 0;
   5204 }
   5205 _ACEOF
   5206 rm -f conftest.$ac_objext
   5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5208   (eval $ac_compile) 2>conftest.er1
   5209   ac_status=$?
   5210   grep -v '^ *+' conftest.er1 >conftest.err
   5211   rm -f conftest.er1
   5212   cat conftest.err >&5
   5213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5214   (exit $ac_status); } &&
   5215 	 { ac_try='test -z "$ac_c_werror_flag"
   5216 			 || test ! -s conftest.err'
   5217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5218   (eval $ac_try) 2>&5
   5219   ac_status=$?
   5220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5221   (exit $ac_status); }; } &&
   5222 	 { ac_try='test -s conftest.$ac_objext'
   5223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5224   (eval $ac_try) 2>&5
   5225   ac_status=$?
   5226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5227   (exit $ac_status); }; }; then
   5228   ac_cv_type_u_int16_t=yes
   5229 else
   5230   echo "$as_me: failed program was:" >&5
   5231 sed 's/^/| /' conftest.$ac_ext >&5
   5232 
   5233 ac_cv_type_u_int16_t=no
   5234 fi
   5235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5236 fi
   5237 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
   5238 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   5239 if test $ac_cv_type_u_int16_t = yes; then
   5240 
   5241 cat >>confdefs.h <<\_ACEOF
   5242 #define uint16_t u_int16_t
   5243 _ACEOF
   5244 
   5245 else
   5246   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint16_t" >&5
   5247 echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
   5248    { (exit 1); exit 1; }; }
   5249 fi
   5250 
   5251 
   5252 fi
   5253 
   5254 	echo "$as_me:$LINENO: checking for u_int16_t" >&5
   5255 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   5256 if test "${ac_cv_type_u_int16_t+set}" = set; then
   5257   echo $ECHO_N "(cached) $ECHO_C" >&6
   5258 else
   5259   cat >conftest.$ac_ext <<_ACEOF
   5260 /* confdefs.h.  */
   5261 _ACEOF
   5262 cat confdefs.h >>conftest.$ac_ext
   5263 cat >>conftest.$ac_ext <<_ACEOF
   5264 /* end confdefs.h.  */
   5265 $ac_includes_default
   5266 int
   5267 main ()
   5268 {
   5269 if ((u_int16_t *) 0)
   5270   return 0;
   5271 if (sizeof (u_int16_t))
   5272   return 0;
   5273   ;
   5274   return 0;
   5275 }
   5276 _ACEOF
   5277 rm -f conftest.$ac_objext
   5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5279   (eval $ac_compile) 2>conftest.er1
   5280   ac_status=$?
   5281   grep -v '^ *+' conftest.er1 >conftest.err
   5282   rm -f conftest.er1
   5283   cat conftest.err >&5
   5284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5285   (exit $ac_status); } &&
   5286 	 { ac_try='test -z "$ac_c_werror_flag"
   5287 			 || test ! -s conftest.err'
   5288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5289   (eval $ac_try) 2>&5
   5290   ac_status=$?
   5291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5292   (exit $ac_status); }; } &&
   5293 	 { ac_try='test -s conftest.$ac_objext'
   5294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5295   (eval $ac_try) 2>&5
   5296   ac_status=$?
   5297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5298   (exit $ac_status); }; }; then
   5299   ac_cv_type_u_int16_t=yes
   5300 else
   5301   echo "$as_me: failed program was:" >&5
   5302 sed 's/^/| /' conftest.$ac_ext >&5
   5303 
   5304 ac_cv_type_u_int16_t=no
   5305 fi
   5306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5307 fi
   5308 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
   5309 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   5310 if test $ac_cv_type_u_int16_t = yes; then
   5311   :
   5312 else
   5313 
   5314 		echo "$as_me:$LINENO: checking for uint16_t" >&5
   5315 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   5316 if test "${ac_cv_type_uint16_t+set}" = set; then
   5317   echo $ECHO_N "(cached) $ECHO_C" >&6
   5318 else
   5319   cat >conftest.$ac_ext <<_ACEOF
   5320 /* confdefs.h.  */
   5321 _ACEOF
   5322 cat confdefs.h >>conftest.$ac_ext
   5323 cat >>conftest.$ac_ext <<_ACEOF
   5324 /* end confdefs.h.  */
   5325 $ac_includes_default
   5326 int
   5327 main ()
   5328 {
   5329 if ((uint16_t *) 0)
   5330   return 0;
   5331 if (sizeof (uint16_t))
   5332   return 0;
   5333   ;
   5334   return 0;
   5335 }
   5336 _ACEOF
   5337 rm -f conftest.$ac_objext
   5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5339   (eval $ac_compile) 2>conftest.er1
   5340   ac_status=$?
   5341   grep -v '^ *+' conftest.er1 >conftest.err
   5342   rm -f conftest.er1
   5343   cat conftest.err >&5
   5344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5345   (exit $ac_status); } &&
   5346 	 { ac_try='test -z "$ac_c_werror_flag"
   5347 			 || test ! -s conftest.err'
   5348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5349   (eval $ac_try) 2>&5
   5350   ac_status=$?
   5351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5352   (exit $ac_status); }; } &&
   5353 	 { ac_try='test -s conftest.$ac_objext'
   5354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5355   (eval $ac_try) 2>&5
   5356   ac_status=$?
   5357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5358   (exit $ac_status); }; }; then
   5359   ac_cv_type_uint16_t=yes
   5360 else
   5361   echo "$as_me: failed program was:" >&5
   5362 sed 's/^/| /' conftest.$ac_ext >&5
   5363 
   5364 ac_cv_type_uint16_t=no
   5365 fi
   5366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5367 fi
   5368 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   5369 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   5370 if test $ac_cv_type_uint16_t = yes; then
   5371 
   5372 cat >>confdefs.h <<\_ACEOF
   5373 #define u_int16_t uint16_t
   5374 _ACEOF
   5375 
   5376 else
   5377   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int16_t" >&5
   5378 echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
   5379    { (exit 1); exit 1; }; }
   5380 fi
   5381 
   5382 
   5383 fi
   5384 
   5385 
   5386 
   5387 	echo "$as_me:$LINENO: checking for uint32_t" >&5
   5388 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   5389 if test "${ac_cv_type_uint32_t+set}" = set; then
   5390   echo $ECHO_N "(cached) $ECHO_C" >&6
   5391 else
   5392   cat >conftest.$ac_ext <<_ACEOF
   5393 /* confdefs.h.  */
   5394 _ACEOF
   5395 cat confdefs.h >>conftest.$ac_ext
   5396 cat >>conftest.$ac_ext <<_ACEOF
   5397 /* end confdefs.h.  */
   5398 $ac_includes_default
   5399 int
   5400 main ()
   5401 {
   5402 if ((uint32_t *) 0)
   5403   return 0;
   5404 if (sizeof (uint32_t))
   5405   return 0;
   5406   ;
   5407   return 0;
   5408 }
   5409 _ACEOF
   5410 rm -f conftest.$ac_objext
   5411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5412   (eval $ac_compile) 2>conftest.er1
   5413   ac_status=$?
   5414   grep -v '^ *+' conftest.er1 >conftest.err
   5415   rm -f conftest.er1
   5416   cat conftest.err >&5
   5417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5418   (exit $ac_status); } &&
   5419 	 { ac_try='test -z "$ac_c_werror_flag"
   5420 			 || test ! -s conftest.err'
   5421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5422   (eval $ac_try) 2>&5
   5423   ac_status=$?
   5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5425   (exit $ac_status); }; } &&
   5426 	 { ac_try='test -s conftest.$ac_objext'
   5427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5428   (eval $ac_try) 2>&5
   5429   ac_status=$?
   5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5431   (exit $ac_status); }; }; then
   5432   ac_cv_type_uint32_t=yes
   5433 else
   5434   echo "$as_me: failed program was:" >&5
   5435 sed 's/^/| /' conftest.$ac_ext >&5
   5436 
   5437 ac_cv_type_uint32_t=no
   5438 fi
   5439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5440 fi
   5441 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   5442 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   5443 if test $ac_cv_type_uint32_t = yes; then
   5444   :
   5445 else
   5446 
   5447 		echo "$as_me:$LINENO: checking for u_int32_t" >&5
   5448 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   5449 if test "${ac_cv_type_u_int32_t+set}" = set; then
   5450   echo $ECHO_N "(cached) $ECHO_C" >&6
   5451 else
   5452   cat >conftest.$ac_ext <<_ACEOF
   5453 /* confdefs.h.  */
   5454 _ACEOF
   5455 cat confdefs.h >>conftest.$ac_ext
   5456 cat >>conftest.$ac_ext <<_ACEOF
   5457 /* end confdefs.h.  */
   5458 $ac_includes_default
   5459 int
   5460 main ()
   5461 {
   5462 if ((u_int32_t *) 0)
   5463   return 0;
   5464 if (sizeof (u_int32_t))
   5465   return 0;
   5466   ;
   5467   return 0;
   5468 }
   5469 _ACEOF
   5470 rm -f conftest.$ac_objext
   5471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5472   (eval $ac_compile) 2>conftest.er1
   5473   ac_status=$?
   5474   grep -v '^ *+' conftest.er1 >conftest.err
   5475   rm -f conftest.er1
   5476   cat conftest.err >&5
   5477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5478   (exit $ac_status); } &&
   5479 	 { ac_try='test -z "$ac_c_werror_flag"
   5480 			 || test ! -s conftest.err'
   5481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5482   (eval $ac_try) 2>&5
   5483   ac_status=$?
   5484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5485   (exit $ac_status); }; } &&
   5486 	 { ac_try='test -s conftest.$ac_objext'
   5487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5488   (eval $ac_try) 2>&5
   5489   ac_status=$?
   5490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5491   (exit $ac_status); }; }; then
   5492   ac_cv_type_u_int32_t=yes
   5493 else
   5494   echo "$as_me: failed program was:" >&5
   5495 sed 's/^/| /' conftest.$ac_ext >&5
   5496 
   5497 ac_cv_type_u_int32_t=no
   5498 fi
   5499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5500 fi
   5501 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
   5502 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   5503 if test $ac_cv_type_u_int32_t = yes; then
   5504 
   5505 cat >>confdefs.h <<\_ACEOF
   5506 #define uint32_t u_int32_t
   5507 _ACEOF
   5508 
   5509 else
   5510   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint32_t" >&5
   5511 echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
   5512    { (exit 1); exit 1; }; }
   5513 fi
   5514 
   5515 
   5516 fi
   5517 
   5518 	echo "$as_me:$LINENO: checking for u_int32_t" >&5
   5519 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
   5520 if test "${ac_cv_type_u_int32_t+set}" = set; then
   5521   echo $ECHO_N "(cached) $ECHO_C" >&6
   5522 else
   5523   cat >conftest.$ac_ext <<_ACEOF
   5524 /* confdefs.h.  */
   5525 _ACEOF
   5526 cat confdefs.h >>conftest.$ac_ext
   5527 cat >>conftest.$ac_ext <<_ACEOF
   5528 /* end confdefs.h.  */
   5529 $ac_includes_default
   5530 int
   5531 main ()
   5532 {
   5533 if ((u_int32_t *) 0)
   5534   return 0;
   5535 if (sizeof (u_int32_t))
   5536   return 0;
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 rm -f conftest.$ac_objext
   5542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5543   (eval $ac_compile) 2>conftest.er1
   5544   ac_status=$?
   5545   grep -v '^ *+' conftest.er1 >conftest.err
   5546   rm -f conftest.er1
   5547   cat conftest.err >&5
   5548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5549   (exit $ac_status); } &&
   5550 	 { ac_try='test -z "$ac_c_werror_flag"
   5551 			 || test ! -s conftest.err'
   5552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5553   (eval $ac_try) 2>&5
   5554   ac_status=$?
   5555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5556   (exit $ac_status); }; } &&
   5557 	 { ac_try='test -s conftest.$ac_objext'
   5558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5559   (eval $ac_try) 2>&5
   5560   ac_status=$?
   5561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5562   (exit $ac_status); }; }; then
   5563   ac_cv_type_u_int32_t=yes
   5564 else
   5565   echo "$as_me: failed program was:" >&5
   5566 sed 's/^/| /' conftest.$ac_ext >&5
   5567 
   5568 ac_cv_type_u_int32_t=no
   5569 fi
   5570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5571 fi
   5572 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
   5573 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
   5574 if test $ac_cv_type_u_int32_t = yes; then
   5575   :
   5576 else
   5577 
   5578 		echo "$as_me:$LINENO: checking for uint32_t" >&5
   5579 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
   5580 if test "${ac_cv_type_uint32_t+set}" = set; then
   5581   echo $ECHO_N "(cached) $ECHO_C" >&6
   5582 else
   5583   cat >conftest.$ac_ext <<_ACEOF
   5584 /* confdefs.h.  */
   5585 _ACEOF
   5586 cat confdefs.h >>conftest.$ac_ext
   5587 cat >>conftest.$ac_ext <<_ACEOF
   5588 /* end confdefs.h.  */
   5589 $ac_includes_default
   5590 int
   5591 main ()
   5592 {
   5593 if ((uint32_t *) 0)
   5594   return 0;
   5595 if (sizeof (uint32_t))
   5596   return 0;
   5597   ;
   5598   return 0;
   5599 }
   5600 _ACEOF
   5601 rm -f conftest.$ac_objext
   5602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5603   (eval $ac_compile) 2>conftest.er1
   5604   ac_status=$?
   5605   grep -v '^ *+' conftest.er1 >conftest.err
   5606   rm -f conftest.er1
   5607   cat conftest.err >&5
   5608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5609   (exit $ac_status); } &&
   5610 	 { ac_try='test -z "$ac_c_werror_flag"
   5611 			 || test ! -s conftest.err'
   5612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5613   (eval $ac_try) 2>&5
   5614   ac_status=$?
   5615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5616   (exit $ac_status); }; } &&
   5617 	 { ac_try='test -s conftest.$ac_objext'
   5618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5619   (eval $ac_try) 2>&5
   5620   ac_status=$?
   5621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5622   (exit $ac_status); }; }; then
   5623   ac_cv_type_uint32_t=yes
   5624 else
   5625   echo "$as_me: failed program was:" >&5
   5626 sed 's/^/| /' conftest.$ac_ext >&5
   5627 
   5628 ac_cv_type_uint32_t=no
   5629 fi
   5630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5631 fi
   5632 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   5633 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
   5634 if test $ac_cv_type_uint32_t = yes; then
   5635 
   5636 cat >>confdefs.h <<\_ACEOF
   5637 #define u_int32_t uint32_t
   5638 _ACEOF
   5639 
   5640 else
   5641   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int32_t" >&5
   5642 echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
   5643    { (exit 1); exit 1; }; }
   5644 fi
   5645 
   5646 
   5647 fi
   5648 
   5649 
   5650 
   5651 	echo "$as_me:$LINENO: checking for uint64_t" >&5
   5652 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   5653 if test "${ac_cv_type_uint64_t+set}" = set; then
   5654   echo $ECHO_N "(cached) $ECHO_C" >&6
   5655 else
   5656   cat >conftest.$ac_ext <<_ACEOF
   5657 /* confdefs.h.  */
   5658 _ACEOF
   5659 cat confdefs.h >>conftest.$ac_ext
   5660 cat >>conftest.$ac_ext <<_ACEOF
   5661 /* end confdefs.h.  */
   5662 $ac_includes_default
   5663 int
   5664 main ()
   5665 {
   5666 if ((uint64_t *) 0)
   5667   return 0;
   5668 if (sizeof (uint64_t))
   5669   return 0;
   5670   ;
   5671   return 0;
   5672 }
   5673 _ACEOF
   5674 rm -f conftest.$ac_objext
   5675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5676   (eval $ac_compile) 2>conftest.er1
   5677   ac_status=$?
   5678   grep -v '^ *+' conftest.er1 >conftest.err
   5679   rm -f conftest.er1
   5680   cat conftest.err >&5
   5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5682   (exit $ac_status); } &&
   5683 	 { ac_try='test -z "$ac_c_werror_flag"
   5684 			 || test ! -s conftest.err'
   5685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5686   (eval $ac_try) 2>&5
   5687   ac_status=$?
   5688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5689   (exit $ac_status); }; } &&
   5690 	 { ac_try='test -s conftest.$ac_objext'
   5691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5692   (eval $ac_try) 2>&5
   5693   ac_status=$?
   5694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5695   (exit $ac_status); }; }; then
   5696   ac_cv_type_uint64_t=yes
   5697 else
   5698   echo "$as_me: failed program was:" >&5
   5699 sed 's/^/| /' conftest.$ac_ext >&5
   5700 
   5701 ac_cv_type_uint64_t=no
   5702 fi
   5703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5704 fi
   5705 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   5706 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   5707 if test $ac_cv_type_uint64_t = yes; then
   5708   :
   5709 else
   5710 
   5711 		echo "$as_me:$LINENO: checking for u_int64_t" >&5
   5712 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   5713 if test "${ac_cv_type_u_int64_t+set}" = set; then
   5714   echo $ECHO_N "(cached) $ECHO_C" >&6
   5715 else
   5716   cat >conftest.$ac_ext <<_ACEOF
   5717 /* confdefs.h.  */
   5718 _ACEOF
   5719 cat confdefs.h >>conftest.$ac_ext
   5720 cat >>conftest.$ac_ext <<_ACEOF
   5721 /* end confdefs.h.  */
   5722 $ac_includes_default
   5723 int
   5724 main ()
   5725 {
   5726 if ((u_int64_t *) 0)
   5727   return 0;
   5728 if (sizeof (u_int64_t))
   5729   return 0;
   5730   ;
   5731   return 0;
   5732 }
   5733 _ACEOF
   5734 rm -f conftest.$ac_objext
   5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5736   (eval $ac_compile) 2>conftest.er1
   5737   ac_status=$?
   5738   grep -v '^ *+' conftest.er1 >conftest.err
   5739   rm -f conftest.er1
   5740   cat conftest.err >&5
   5741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5742   (exit $ac_status); } &&
   5743 	 { ac_try='test -z "$ac_c_werror_flag"
   5744 			 || test ! -s conftest.err'
   5745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5746   (eval $ac_try) 2>&5
   5747   ac_status=$?
   5748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5749   (exit $ac_status); }; } &&
   5750 	 { ac_try='test -s conftest.$ac_objext'
   5751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5752   (eval $ac_try) 2>&5
   5753   ac_status=$?
   5754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5755   (exit $ac_status); }; }; then
   5756   ac_cv_type_u_int64_t=yes
   5757 else
   5758   echo "$as_me: failed program was:" >&5
   5759 sed 's/^/| /' conftest.$ac_ext >&5
   5760 
   5761 ac_cv_type_u_int64_t=no
   5762 fi
   5763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5764 fi
   5765 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
   5766 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   5767 if test $ac_cv_type_u_int64_t = yes; then
   5768 
   5769 cat >>confdefs.h <<\_ACEOF
   5770 #define uint64_t u_int64_t
   5771 _ACEOF
   5772 
   5773 else
   5774   { { echo "$as_me:$LINENO: error: cannot find a suitable type for uint64_t" >&5
   5775 echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
   5776    { (exit 1); exit 1; }; }
   5777 fi
   5778 
   5779 
   5780 fi
   5781 
   5782 	echo "$as_me:$LINENO: checking for u_int64_t" >&5
   5783 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
   5784 if test "${ac_cv_type_u_int64_t+set}" = set; then
   5785   echo $ECHO_N "(cached) $ECHO_C" >&6
   5786 else
   5787   cat >conftest.$ac_ext <<_ACEOF
   5788 /* confdefs.h.  */
   5789 _ACEOF
   5790 cat confdefs.h >>conftest.$ac_ext
   5791 cat >>conftest.$ac_ext <<_ACEOF
   5792 /* end confdefs.h.  */
   5793 $ac_includes_default
   5794 int
   5795 main ()
   5796 {
   5797 if ((u_int64_t *) 0)
   5798   return 0;
   5799 if (sizeof (u_int64_t))
   5800   return 0;
   5801   ;
   5802   return 0;
   5803 }
   5804 _ACEOF
   5805 rm -f conftest.$ac_objext
   5806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5807   (eval $ac_compile) 2>conftest.er1
   5808   ac_status=$?
   5809   grep -v '^ *+' conftest.er1 >conftest.err
   5810   rm -f conftest.er1
   5811   cat conftest.err >&5
   5812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5813   (exit $ac_status); } &&
   5814 	 { ac_try='test -z "$ac_c_werror_flag"
   5815 			 || test ! -s conftest.err'
   5816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5817   (eval $ac_try) 2>&5
   5818   ac_status=$?
   5819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5820   (exit $ac_status); }; } &&
   5821 	 { ac_try='test -s conftest.$ac_objext'
   5822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5823   (eval $ac_try) 2>&5
   5824   ac_status=$?
   5825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5826   (exit $ac_status); }; }; then
   5827   ac_cv_type_u_int64_t=yes
   5828 else
   5829   echo "$as_me: failed program was:" >&5
   5830 sed 's/^/| /' conftest.$ac_ext >&5
   5831 
   5832 ac_cv_type_u_int64_t=no
   5833 fi
   5834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5835 fi
   5836 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
   5837 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
   5838 if test $ac_cv_type_u_int64_t = yes; then
   5839   :
   5840 else
   5841 
   5842 		echo "$as_me:$LINENO: checking for uint64_t" >&5
   5843 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
   5844 if test "${ac_cv_type_uint64_t+set}" = set; then
   5845   echo $ECHO_N "(cached) $ECHO_C" >&6
   5846 else
   5847   cat >conftest.$ac_ext <<_ACEOF
   5848 /* confdefs.h.  */
   5849 _ACEOF
   5850 cat confdefs.h >>conftest.$ac_ext
   5851 cat >>conftest.$ac_ext <<_ACEOF
   5852 /* end confdefs.h.  */
   5853 $ac_includes_default
   5854 int
   5855 main ()
   5856 {
   5857 if ((uint64_t *) 0)
   5858   return 0;
   5859 if (sizeof (uint64_t))
   5860   return 0;
   5861   ;
   5862   return 0;
   5863 }
   5864 _ACEOF
   5865 rm -f conftest.$ac_objext
   5866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5867   (eval $ac_compile) 2>conftest.er1
   5868   ac_status=$?
   5869   grep -v '^ *+' conftest.er1 >conftest.err
   5870   rm -f conftest.er1
   5871   cat conftest.err >&5
   5872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5873   (exit $ac_status); } &&
   5874 	 { ac_try='test -z "$ac_c_werror_flag"
   5875 			 || test ! -s conftest.err'
   5876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5877   (eval $ac_try) 2>&5
   5878   ac_status=$?
   5879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5880   (exit $ac_status); }; } &&
   5881 	 { ac_try='test -s conftest.$ac_objext'
   5882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5883   (eval $ac_try) 2>&5
   5884   ac_status=$?
   5885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5886   (exit $ac_status); }; }; then
   5887   ac_cv_type_uint64_t=yes
   5888 else
   5889   echo "$as_me: failed program was:" >&5
   5890 sed 's/^/| /' conftest.$ac_ext >&5
   5891 
   5892 ac_cv_type_uint64_t=no
   5893 fi
   5894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5895 fi
   5896 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   5897 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
   5898 if test $ac_cv_type_uint64_t = yes; then
   5899 
   5900 cat >>confdefs.h <<\_ACEOF
   5901 #define u_int64_t uint64_t
   5902 _ACEOF
   5903 
   5904 else
   5905   { { echo "$as_me:$LINENO: error: cannot find a suitable type for u_int64_t" >&5
   5906 echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
   5907    { (exit 1); exit 1; }; }
   5908 fi
   5909 
   5910 
   5911 fi
   5912 
   5913 
   5914 
   5915 # Struct members.
   5916 echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5
   5917 echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
   5918 if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
   5919   echo $ECHO_N "(cached) $ECHO_C" >&6
   5920 else
   5921   cat >conftest.$ac_ext <<_ACEOF
   5922 /* confdefs.h.  */
   5923 _ACEOF
   5924 cat confdefs.h >>conftest.$ac_ext
   5925 cat >>conftest.$ac_ext <<_ACEOF
   5926 /* end confdefs.h.  */
   5927 #include <sys/types.h>
   5928 #include <dirent.h>
   5929 
   5930 int
   5931 main ()
   5932 {
   5933 static DIR ac_aggr;
   5934 if (ac_aggr.dd_fd)
   5935 return 0;
   5936   ;
   5937   return 0;
   5938 }
   5939 _ACEOF
   5940 rm -f conftest.$ac_objext
   5941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5942   (eval $ac_compile) 2>conftest.er1
   5943   ac_status=$?
   5944   grep -v '^ *+' conftest.er1 >conftest.err
   5945   rm -f conftest.er1
   5946   cat conftest.err >&5
   5947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5948   (exit $ac_status); } &&
   5949 	 { ac_try='test -z "$ac_c_werror_flag"
   5950 			 || test ! -s conftest.err'
   5951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5952   (eval $ac_try) 2>&5
   5953   ac_status=$?
   5954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5955   (exit $ac_status); }; } &&
   5956 	 { ac_try='test -s conftest.$ac_objext'
   5957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5958   (eval $ac_try) 2>&5
   5959   ac_status=$?
   5960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5961   (exit $ac_status); }; }; then
   5962   ac_cv_member_DIR_dd_fd=yes
   5963 else
   5964   echo "$as_me: failed program was:" >&5
   5965 sed 's/^/| /' conftest.$ac_ext >&5
   5966 
   5967 cat >conftest.$ac_ext <<_ACEOF
   5968 /* confdefs.h.  */
   5969 _ACEOF
   5970 cat confdefs.h >>conftest.$ac_ext
   5971 cat >>conftest.$ac_ext <<_ACEOF
   5972 /* end confdefs.h.  */
   5973 #include <sys/types.h>
   5974 #include <dirent.h>
   5975 
   5976 int
   5977 main ()
   5978 {
   5979 static DIR ac_aggr;
   5980 if (sizeof ac_aggr.dd_fd)
   5981 return 0;
   5982   ;
   5983   return 0;
   5984 }
   5985 _ACEOF
   5986 rm -f conftest.$ac_objext
   5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5988   (eval $ac_compile) 2>conftest.er1
   5989   ac_status=$?
   5990   grep -v '^ *+' conftest.er1 >conftest.err
   5991   rm -f conftest.er1
   5992   cat conftest.err >&5
   5993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5994   (exit $ac_status); } &&
   5995 	 { ac_try='test -z "$ac_c_werror_flag"
   5996 			 || test ! -s conftest.err'
   5997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5998   (eval $ac_try) 2>&5
   5999   ac_status=$?
   6000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6001   (exit $ac_status); }; } &&
   6002 	 { ac_try='test -s conftest.$ac_objext'
   6003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6004   (eval $ac_try) 2>&5
   6005   ac_status=$?
   6006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6007   (exit $ac_status); }; }; then
   6008   ac_cv_member_DIR_dd_fd=yes
   6009 else
   6010   echo "$as_me: failed program was:" >&5
   6011 sed 's/^/| /' conftest.$ac_ext >&5
   6012 
   6013 ac_cv_member_DIR_dd_fd=no
   6014 fi
   6015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6016 fi
   6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6018 fi
   6019 echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
   6020 echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
   6021 if test $ac_cv_member_DIR_dd_fd = yes; then
   6022 
   6023 cat >>confdefs.h <<_ACEOF
   6024 #define HAVE_DIR_DD_FD 1
   6025 _ACEOF
   6026 
   6027 
   6028 fi
   6029 echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5
   6030 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
   6031 if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
   6032   echo $ECHO_N "(cached) $ECHO_C" >&6
   6033 else
   6034   cat >conftest.$ac_ext <<_ACEOF
   6035 /* confdefs.h.  */
   6036 _ACEOF
   6037 cat confdefs.h >>conftest.$ac_ext
   6038 cat >>conftest.$ac_ext <<_ACEOF
   6039 /* end confdefs.h.  */
   6040 #include <sys/types.h>
   6041 #include <dirent.h>
   6042 
   6043 int
   6044 main ()
   6045 {
   6046 static struct dirent ac_aggr;
   6047 if (ac_aggr.d_namlen)
   6048 return 0;
   6049   ;
   6050   return 0;
   6051 }
   6052 _ACEOF
   6053 rm -f conftest.$ac_objext
   6054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6055   (eval $ac_compile) 2>conftest.er1
   6056   ac_status=$?
   6057   grep -v '^ *+' conftest.er1 >conftest.err
   6058   rm -f conftest.er1
   6059   cat conftest.err >&5
   6060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6061   (exit $ac_status); } &&
   6062 	 { ac_try='test -z "$ac_c_werror_flag"
   6063 			 || test ! -s conftest.err'
   6064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6065   (eval $ac_try) 2>&5
   6066   ac_status=$?
   6067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6068   (exit $ac_status); }; } &&
   6069 	 { ac_try='test -s conftest.$ac_objext'
   6070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6071   (eval $ac_try) 2>&5
   6072   ac_status=$?
   6073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6074   (exit $ac_status); }; }; then
   6075   ac_cv_member_struct_dirent_d_namlen=yes
   6076 else
   6077   echo "$as_me: failed program was:" >&5
   6078 sed 's/^/| /' conftest.$ac_ext >&5
   6079 
   6080 cat >conftest.$ac_ext <<_ACEOF
   6081 /* confdefs.h.  */
   6082 _ACEOF
   6083 cat confdefs.h >>conftest.$ac_ext
   6084 cat >>conftest.$ac_ext <<_ACEOF
   6085 /* end confdefs.h.  */
   6086 #include <sys/types.h>
   6087 #include <dirent.h>
   6088 
   6089 int
   6090 main ()
   6091 {
   6092 static struct dirent ac_aggr;
   6093 if (sizeof ac_aggr.d_namlen)
   6094 return 0;
   6095   ;
   6096   return 0;
   6097 }
   6098 _ACEOF
   6099 rm -f conftest.$ac_objext
   6100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6101   (eval $ac_compile) 2>conftest.er1
   6102   ac_status=$?
   6103   grep -v '^ *+' conftest.er1 >conftest.err
   6104   rm -f conftest.er1
   6105   cat conftest.err >&5
   6106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6107   (exit $ac_status); } &&
   6108 	 { ac_try='test -z "$ac_c_werror_flag"
   6109 			 || test ! -s conftest.err'
   6110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6111   (eval $ac_try) 2>&5
   6112   ac_status=$?
   6113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6114   (exit $ac_status); }; } &&
   6115 	 { ac_try='test -s conftest.$ac_objext'
   6116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6117   (eval $ac_try) 2>&5
   6118   ac_status=$?
   6119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6120   (exit $ac_status); }; }; then
   6121   ac_cv_member_struct_dirent_d_namlen=yes
   6122 else
   6123   echo "$as_me: failed program was:" >&5
   6124 sed 's/^/| /' conftest.$ac_ext >&5
   6125 
   6126 ac_cv_member_struct_dirent_d_namlen=no
   6127 fi
   6128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6129 fi
   6130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6131 fi
   6132 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5
   6133 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
   6134 if test $ac_cv_member_struct_dirent_d_namlen = yes; then
   6135 
   6136 cat >>confdefs.h <<_ACEOF
   6137 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
   6138 _ACEOF
   6139 
   6140 
   6141 fi
   6142 
   6143 echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
   6144 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
   6145 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
   6146   echo $ECHO_N "(cached) $ECHO_C" >&6
   6147 else
   6148   cat >conftest.$ac_ext <<_ACEOF
   6149 /* confdefs.h.  */
   6150 _ACEOF
   6151 cat confdefs.h >>conftest.$ac_ext
   6152 cat >>conftest.$ac_ext <<_ACEOF
   6153 /* end confdefs.h.  */
   6154 #include <sys/stat.h>
   6155 
   6156 int
   6157 main ()
   6158 {
   6159 static struct stat ac_aggr;
   6160 if (ac_aggr.st_flags)
   6161 return 0;
   6162   ;
   6163   return 0;
   6164 }
   6165 _ACEOF
   6166 rm -f conftest.$ac_objext
   6167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6168   (eval $ac_compile) 2>conftest.er1
   6169   ac_status=$?
   6170   grep -v '^ *+' conftest.er1 >conftest.err
   6171   rm -f conftest.er1
   6172   cat conftest.err >&5
   6173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6174   (exit $ac_status); } &&
   6175 	 { ac_try='test -z "$ac_c_werror_flag"
   6176 			 || test ! -s conftest.err'
   6177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6178   (eval $ac_try) 2>&5
   6179   ac_status=$?
   6180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6181   (exit $ac_status); }; } &&
   6182 	 { ac_try='test -s conftest.$ac_objext'
   6183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6184   (eval $ac_try) 2>&5
   6185   ac_status=$?
   6186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6187   (exit $ac_status); }; }; then
   6188   ac_cv_member_struct_stat_st_flags=yes
   6189 else
   6190   echo "$as_me: failed program was:" >&5
   6191 sed 's/^/| /' conftest.$ac_ext >&5
   6192 
   6193 cat >conftest.$ac_ext <<_ACEOF
   6194 /* confdefs.h.  */
   6195 _ACEOF
   6196 cat confdefs.h >>conftest.$ac_ext
   6197 cat >>conftest.$ac_ext <<_ACEOF
   6198 /* end confdefs.h.  */
   6199 #include <sys/stat.h>
   6200 
   6201 int
   6202 main ()
   6203 {
   6204 static struct stat ac_aggr;
   6205 if (sizeof ac_aggr.st_flags)
   6206 return 0;
   6207   ;
   6208   return 0;
   6209 }
   6210 _ACEOF
   6211 rm -f conftest.$ac_objext
   6212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6213   (eval $ac_compile) 2>conftest.er1
   6214   ac_status=$?
   6215   grep -v '^ *+' conftest.er1 >conftest.err
   6216   rm -f conftest.er1
   6217   cat conftest.err >&5
   6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6219   (exit $ac_status); } &&
   6220 	 { ac_try='test -z "$ac_c_werror_flag"
   6221 			 || test ! -s conftest.err'
   6222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6223   (eval $ac_try) 2>&5
   6224   ac_status=$?
   6225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6226   (exit $ac_status); }; } &&
   6227 	 { ac_try='test -s conftest.$ac_objext'
   6228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6229   (eval $ac_try) 2>&5
   6230   ac_status=$?
   6231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6232   (exit $ac_status); }; }; then
   6233   ac_cv_member_struct_stat_st_flags=yes
   6234 else
   6235   echo "$as_me: failed program was:" >&5
   6236 sed 's/^/| /' conftest.$ac_ext >&5
   6237 
   6238 ac_cv_member_struct_stat_st_flags=no
   6239 fi
   6240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6241 fi
   6242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6243 fi
   6244 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
   6245 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
   6246 if test $ac_cv_member_struct_stat_st_flags = yes; then
   6247 
   6248 cat >>confdefs.h <<_ACEOF
   6249 #define HAVE_STRUCT_STAT_ST_FLAGS 1
   6250 _ACEOF
   6251 
   6252 
   6253 fi
   6254 echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
   6255 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
   6256 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
   6257   echo $ECHO_N "(cached) $ECHO_C" >&6
   6258 else
   6259   cat >conftest.$ac_ext <<_ACEOF
   6260 /* confdefs.h.  */
   6261 _ACEOF
   6262 cat confdefs.h >>conftest.$ac_ext
   6263 cat >>conftest.$ac_ext <<_ACEOF
   6264 /* end confdefs.h.  */
   6265 #include <sys/stat.h>
   6266 
   6267 int
   6268 main ()
   6269 {
   6270 static struct stat ac_aggr;
   6271 if (ac_aggr.st_gen)
   6272 return 0;
   6273   ;
   6274   return 0;
   6275 }
   6276 _ACEOF
   6277 rm -f conftest.$ac_objext
   6278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6279   (eval $ac_compile) 2>conftest.er1
   6280   ac_status=$?
   6281   grep -v '^ *+' conftest.er1 >conftest.err
   6282   rm -f conftest.er1
   6283   cat conftest.err >&5
   6284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6285   (exit $ac_status); } &&
   6286 	 { ac_try='test -z "$ac_c_werror_flag"
   6287 			 || test ! -s conftest.err'
   6288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6289   (eval $ac_try) 2>&5
   6290   ac_status=$?
   6291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6292   (exit $ac_status); }; } &&
   6293 	 { ac_try='test -s conftest.$ac_objext'
   6294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6295   (eval $ac_try) 2>&5
   6296   ac_status=$?
   6297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6298   (exit $ac_status); }; }; then
   6299   ac_cv_member_struct_stat_st_gen=yes
   6300 else
   6301   echo "$as_me: failed program was:" >&5
   6302 sed 's/^/| /' conftest.$ac_ext >&5
   6303 
   6304 cat >conftest.$ac_ext <<_ACEOF
   6305 /* confdefs.h.  */
   6306 _ACEOF
   6307 cat confdefs.h >>conftest.$ac_ext
   6308 cat >>conftest.$ac_ext <<_ACEOF
   6309 /* end confdefs.h.  */
   6310 #include <sys/stat.h>
   6311 
   6312 int
   6313 main ()
   6314 {
   6315 static struct stat ac_aggr;
   6316 if (sizeof ac_aggr.st_gen)
   6317 return 0;
   6318   ;
   6319   return 0;
   6320 }
   6321 _ACEOF
   6322 rm -f conftest.$ac_objext
   6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6324   (eval $ac_compile) 2>conftest.er1
   6325   ac_status=$?
   6326   grep -v '^ *+' conftest.er1 >conftest.err
   6327   rm -f conftest.er1
   6328   cat conftest.err >&5
   6329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6330   (exit $ac_status); } &&
   6331 	 { ac_try='test -z "$ac_c_werror_flag"
   6332 			 || test ! -s conftest.err'
   6333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6334   (eval $ac_try) 2>&5
   6335   ac_status=$?
   6336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6337   (exit $ac_status); }; } &&
   6338 	 { ac_try='test -s conftest.$ac_objext'
   6339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6340   (eval $ac_try) 2>&5
   6341   ac_status=$?
   6342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6343   (exit $ac_status); }; }; then
   6344   ac_cv_member_struct_stat_st_gen=yes
   6345 else
   6346   echo "$as_me: failed program was:" >&5
   6347 sed 's/^/| /' conftest.$ac_ext >&5
   6348 
   6349 ac_cv_member_struct_stat_st_gen=no
   6350 fi
   6351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6352 fi
   6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6354 fi
   6355 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
   6356 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
   6357 if test $ac_cv_member_struct_stat_st_gen = yes; then
   6358 
   6359 cat >>confdefs.h <<_ACEOF
   6360 #define HAVE_STRUCT_STAT_ST_GEN 1
   6361 _ACEOF
   6362 
   6363 
   6364 fi
   6365 echo "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5
   6366 echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
   6367 if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
   6368   echo $ECHO_N "(cached) $ECHO_C" >&6
   6369 else
   6370   cat >conftest.$ac_ext <<_ACEOF
   6371 /* confdefs.h.  */
   6372 _ACEOF
   6373 cat confdefs.h >>conftest.$ac_ext
   6374 cat >>conftest.$ac_ext <<_ACEOF
   6375 /* end confdefs.h.  */
   6376 #include <sys/stat.h>
   6377 
   6378 int
   6379 main ()
   6380 {
   6381 static struct stat ac_aggr;
   6382 if (ac_aggr.st_birthtime)
   6383 return 0;
   6384   ;
   6385   return 0;
   6386 }
   6387 _ACEOF
   6388 rm -f conftest.$ac_objext
   6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6390   (eval $ac_compile) 2>conftest.er1
   6391   ac_status=$?
   6392   grep -v '^ *+' conftest.er1 >conftest.err
   6393   rm -f conftest.er1
   6394   cat conftest.err >&5
   6395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6396   (exit $ac_status); } &&
   6397 	 { ac_try='test -z "$ac_c_werror_flag"
   6398 			 || test ! -s conftest.err'
   6399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6400   (eval $ac_try) 2>&5
   6401   ac_status=$?
   6402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6403   (exit $ac_status); }; } &&
   6404 	 { ac_try='test -s conftest.$ac_objext'
   6405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6406   (eval $ac_try) 2>&5
   6407   ac_status=$?
   6408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6409   (exit $ac_status); }; }; then
   6410   ac_cv_member_struct_stat_st_birthtime=yes
   6411 else
   6412   echo "$as_me: failed program was:" >&5
   6413 sed 's/^/| /' conftest.$ac_ext >&5
   6414 
   6415 cat >conftest.$ac_ext <<_ACEOF
   6416 /* confdefs.h.  */
   6417 _ACEOF
   6418 cat confdefs.h >>conftest.$ac_ext
   6419 cat >>conftest.$ac_ext <<_ACEOF
   6420 /* end confdefs.h.  */
   6421 #include <sys/stat.h>
   6422 
   6423 int
   6424 main ()
   6425 {
   6426 static struct stat ac_aggr;
   6427 if (sizeof ac_aggr.st_birthtime)
   6428 return 0;
   6429   ;
   6430   return 0;
   6431 }
   6432 _ACEOF
   6433 rm -f conftest.$ac_objext
   6434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6435   (eval $ac_compile) 2>conftest.er1
   6436   ac_status=$?
   6437   grep -v '^ *+' conftest.er1 >conftest.err
   6438   rm -f conftest.er1
   6439   cat conftest.err >&5
   6440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6441   (exit $ac_status); } &&
   6442 	 { ac_try='test -z "$ac_c_werror_flag"
   6443 			 || test ! -s conftest.err'
   6444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6445   (eval $ac_try) 2>&5
   6446   ac_status=$?
   6447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6448   (exit $ac_status); }; } &&
   6449 	 { ac_try='test -s conftest.$ac_objext'
   6450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6451   (eval $ac_try) 2>&5
   6452   ac_status=$?
   6453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6454   (exit $ac_status); }; }; then
   6455   ac_cv_member_struct_stat_st_birthtime=yes
   6456 else
   6457   echo "$as_me: failed program was:" >&5
   6458 sed 's/^/| /' conftest.$ac_ext >&5
   6459 
   6460 ac_cv_member_struct_stat_st_birthtime=no
   6461 fi
   6462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6463 fi
   6464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6465 fi
   6466 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5
   6467 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
   6468 if test $ac_cv_member_struct_stat_st_birthtime = yes; then
   6469 
   6470 cat >>confdefs.h <<_ACEOF
   6471 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
   6472 _ACEOF
   6473 
   6474 
   6475 fi
   6476 echo "$as_me:$LINENO: checking for struct stat.st_birthtimensec" >&5
   6477 echo $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
   6478 if test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
   6479   echo $ECHO_N "(cached) $ECHO_C" >&6
   6480 else
   6481   cat >conftest.$ac_ext <<_ACEOF
   6482 /* confdefs.h.  */
   6483 _ACEOF
   6484 cat confdefs.h >>conftest.$ac_ext
   6485 cat >>conftest.$ac_ext <<_ACEOF
   6486 /* end confdefs.h.  */
   6487 #include <sys/stat.h>
   6488 
   6489 int
   6490 main ()
   6491 {
   6492 static struct stat ac_aggr;
   6493 if (ac_aggr.st_birthtimensec)
   6494 return 0;
   6495   ;
   6496   return 0;
   6497 }
   6498 _ACEOF
   6499 rm -f conftest.$ac_objext
   6500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6501   (eval $ac_compile) 2>conftest.er1
   6502   ac_status=$?
   6503   grep -v '^ *+' conftest.er1 >conftest.err
   6504   rm -f conftest.er1
   6505   cat conftest.err >&5
   6506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6507   (exit $ac_status); } &&
   6508 	 { ac_try='test -z "$ac_c_werror_flag"
   6509 			 || test ! -s conftest.err'
   6510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6511   (eval $ac_try) 2>&5
   6512   ac_status=$?
   6513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6514   (exit $ac_status); }; } &&
   6515 	 { ac_try='test -s conftest.$ac_objext'
   6516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6517   (eval $ac_try) 2>&5
   6518   ac_status=$?
   6519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6520   (exit $ac_status); }; }; then
   6521   ac_cv_member_struct_stat_st_birthtimensec=yes
   6522 else
   6523   echo "$as_me: failed program was:" >&5
   6524 sed 's/^/| /' conftest.$ac_ext >&5
   6525 
   6526 cat >conftest.$ac_ext <<_ACEOF
   6527 /* confdefs.h.  */
   6528 _ACEOF
   6529 cat confdefs.h >>conftest.$ac_ext
   6530 cat >>conftest.$ac_ext <<_ACEOF
   6531 /* end confdefs.h.  */
   6532 #include <sys/stat.h>
   6533 
   6534 int
   6535 main ()
   6536 {
   6537 static struct stat ac_aggr;
   6538 if (sizeof ac_aggr.st_birthtimensec)
   6539 return 0;
   6540   ;
   6541   return 0;
   6542 }
   6543 _ACEOF
   6544 rm -f conftest.$ac_objext
   6545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6546   (eval $ac_compile) 2>conftest.er1
   6547   ac_status=$?
   6548   grep -v '^ *+' conftest.er1 >conftest.err
   6549   rm -f conftest.er1
   6550   cat conftest.err >&5
   6551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6552   (exit $ac_status); } &&
   6553 	 { ac_try='test -z "$ac_c_werror_flag"
   6554 			 || test ! -s conftest.err'
   6555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6556   (eval $ac_try) 2>&5
   6557   ac_status=$?
   6558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6559   (exit $ac_status); }; } &&
   6560 	 { ac_try='test -s conftest.$ac_objext'
   6561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6562   (eval $ac_try) 2>&5
   6563   ac_status=$?
   6564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6565   (exit $ac_status); }; }; then
   6566   ac_cv_member_struct_stat_st_birthtimensec=yes
   6567 else
   6568   echo "$as_me: failed program was:" >&5
   6569 sed 's/^/| /' conftest.$ac_ext >&5
   6570 
   6571 ac_cv_member_struct_stat_st_birthtimensec=no
   6572 fi
   6573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6576 fi
   6577 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
   6578 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
   6579 if test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
   6580 
   6581 cat >>confdefs.h <<_ACEOF
   6582 #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
   6583 _ACEOF
   6584 
   6585 
   6586 fi
   6587 echo "$as_me:$LINENO: checking for struct stat.st_atim" >&5
   6588 echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
   6589 if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
   6590   echo $ECHO_N "(cached) $ECHO_C" >&6
   6591 else
   6592   cat >conftest.$ac_ext <<_ACEOF
   6593 /* confdefs.h.  */
   6594 _ACEOF
   6595 cat confdefs.h >>conftest.$ac_ext
   6596 cat >>conftest.$ac_ext <<_ACEOF
   6597 /* end confdefs.h.  */
   6598 #include <sys/stat.h>
   6599 
   6600 int
   6601 main ()
   6602 {
   6603 static struct stat ac_aggr;
   6604 if (ac_aggr.st_atim)
   6605 return 0;
   6606   ;
   6607   return 0;
   6608 }
   6609 _ACEOF
   6610 rm -f conftest.$ac_objext
   6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6612   (eval $ac_compile) 2>conftest.er1
   6613   ac_status=$?
   6614   grep -v '^ *+' conftest.er1 >conftest.err
   6615   rm -f conftest.er1
   6616   cat conftest.err >&5
   6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6618   (exit $ac_status); } &&
   6619 	 { ac_try='test -z "$ac_c_werror_flag"
   6620 			 || test ! -s conftest.err'
   6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6622   (eval $ac_try) 2>&5
   6623   ac_status=$?
   6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6625   (exit $ac_status); }; } &&
   6626 	 { ac_try='test -s conftest.$ac_objext'
   6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6628   (eval $ac_try) 2>&5
   6629   ac_status=$?
   6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6631   (exit $ac_status); }; }; then
   6632   ac_cv_member_struct_stat_st_atim=yes
   6633 else
   6634   echo "$as_me: failed program was:" >&5
   6635 sed 's/^/| /' conftest.$ac_ext >&5
   6636 
   6637 cat >conftest.$ac_ext <<_ACEOF
   6638 /* confdefs.h.  */
   6639 _ACEOF
   6640 cat confdefs.h >>conftest.$ac_ext
   6641 cat >>conftest.$ac_ext <<_ACEOF
   6642 /* end confdefs.h.  */
   6643 #include <sys/stat.h>
   6644 
   6645 int
   6646 main ()
   6647 {
   6648 static struct stat ac_aggr;
   6649 if (sizeof ac_aggr.st_atim)
   6650 return 0;
   6651   ;
   6652   return 0;
   6653 }
   6654 _ACEOF
   6655 rm -f conftest.$ac_objext
   6656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6657   (eval $ac_compile) 2>conftest.er1
   6658   ac_status=$?
   6659   grep -v '^ *+' conftest.er1 >conftest.err
   6660   rm -f conftest.er1
   6661   cat conftest.err >&5
   6662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6663   (exit $ac_status); } &&
   6664 	 { ac_try='test -z "$ac_c_werror_flag"
   6665 			 || test ! -s conftest.err'
   6666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6667   (eval $ac_try) 2>&5
   6668   ac_status=$?
   6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6670   (exit $ac_status); }; } &&
   6671 	 { ac_try='test -s conftest.$ac_objext'
   6672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6673   (eval $ac_try) 2>&5
   6674   ac_status=$?
   6675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6676   (exit $ac_status); }; }; then
   6677   ac_cv_member_struct_stat_st_atim=yes
   6678 else
   6679   echo "$as_me: failed program was:" >&5
   6680 sed 's/^/| /' conftest.$ac_ext >&5
   6681 
   6682 ac_cv_member_struct_stat_st_atim=no
   6683 fi
   6684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6685 fi
   6686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6687 fi
   6688 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
   6689 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
   6690 if test $ac_cv_member_struct_stat_st_atim = yes; then
   6691 
   6692 cat >>confdefs.h <<_ACEOF
   6693 #define HAVE_STRUCT_STAT_ST_ATIM 1
   6694 _ACEOF
   6695 
   6696 
   6697 fi
   6698 echo "$as_me:$LINENO: checking for struct stat.st_mtimensec" >&5
   6699 echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
   6700 if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
   6701   echo $ECHO_N "(cached) $ECHO_C" >&6
   6702 else
   6703   cat >conftest.$ac_ext <<_ACEOF
   6704 /* confdefs.h.  */
   6705 _ACEOF
   6706 cat confdefs.h >>conftest.$ac_ext
   6707 cat >>conftest.$ac_ext <<_ACEOF
   6708 /* end confdefs.h.  */
   6709 #include <sys/stat.h>
   6710 
   6711 int
   6712 main ()
   6713 {
   6714 static struct stat ac_aggr;
   6715 if (ac_aggr.st_mtimensec)
   6716 return 0;
   6717   ;
   6718   return 0;
   6719 }
   6720 _ACEOF
   6721 rm -f conftest.$ac_objext
   6722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6723   (eval $ac_compile) 2>conftest.er1
   6724   ac_status=$?
   6725   grep -v '^ *+' conftest.er1 >conftest.err
   6726   rm -f conftest.er1
   6727   cat conftest.err >&5
   6728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6729   (exit $ac_status); } &&
   6730 	 { ac_try='test -z "$ac_c_werror_flag"
   6731 			 || test ! -s conftest.err'
   6732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6733   (eval $ac_try) 2>&5
   6734   ac_status=$?
   6735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6736   (exit $ac_status); }; } &&
   6737 	 { ac_try='test -s conftest.$ac_objext'
   6738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6739   (eval $ac_try) 2>&5
   6740   ac_status=$?
   6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6742   (exit $ac_status); }; }; then
   6743   ac_cv_member_struct_stat_st_mtimensec=yes
   6744 else
   6745   echo "$as_me: failed program was:" >&5
   6746 sed 's/^/| /' conftest.$ac_ext >&5
   6747 
   6748 cat >conftest.$ac_ext <<_ACEOF
   6749 /* confdefs.h.  */
   6750 _ACEOF
   6751 cat confdefs.h >>conftest.$ac_ext
   6752 cat >>conftest.$ac_ext <<_ACEOF
   6753 /* end confdefs.h.  */
   6754 #include <sys/stat.h>
   6755 
   6756 int
   6757 main ()
   6758 {
   6759 static struct stat ac_aggr;
   6760 if (sizeof ac_aggr.st_mtimensec)
   6761 return 0;
   6762   ;
   6763   return 0;
   6764 }
   6765 _ACEOF
   6766 rm -f conftest.$ac_objext
   6767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6768   (eval $ac_compile) 2>conftest.er1
   6769   ac_status=$?
   6770   grep -v '^ *+' conftest.er1 >conftest.err
   6771   rm -f conftest.er1
   6772   cat conftest.err >&5
   6773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6774   (exit $ac_status); } &&
   6775 	 { ac_try='test -z "$ac_c_werror_flag"
   6776 			 || test ! -s conftest.err'
   6777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6778   (eval $ac_try) 2>&5
   6779   ac_status=$?
   6780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6781   (exit $ac_status); }; } &&
   6782 	 { ac_try='test -s conftest.$ac_objext'
   6783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6784   (eval $ac_try) 2>&5
   6785   ac_status=$?
   6786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6787   (exit $ac_status); }; }; then
   6788   ac_cv_member_struct_stat_st_mtimensec=yes
   6789 else
   6790   echo "$as_me: failed program was:" >&5
   6791 sed 's/^/| /' conftest.$ac_ext >&5
   6792 
   6793 ac_cv_member_struct_stat_st_mtimensec=no
   6794 fi
   6795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6796 fi
   6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6798 fi
   6799 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
   6800 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
   6801 if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
   6802 
   6803 cat >>confdefs.h <<_ACEOF
   6804 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   6805 _ACEOF
   6806 
   6807 
   6808 fi
   6809 
   6810 echo "$as_me:$LINENO: checking for struct statvfs.f_iosize" >&5
   6811 echo $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
   6812 if test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
   6813   echo $ECHO_N "(cached) $ECHO_C" >&6
   6814 else
   6815   cat >conftest.$ac_ext <<_ACEOF
   6816 /* confdefs.h.  */
   6817 _ACEOF
   6818 cat confdefs.h >>conftest.$ac_ext
   6819 cat >>conftest.$ac_ext <<_ACEOF
   6820 /* end confdefs.h.  */
   6821 #include <sys/statvfs.h>
   6822 
   6823 int
   6824 main ()
   6825 {
   6826 static struct statvfs ac_aggr;
   6827 if (ac_aggr.f_iosize)
   6828 return 0;
   6829   ;
   6830   return 0;
   6831 }
   6832 _ACEOF
   6833 rm -f conftest.$ac_objext
   6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6835   (eval $ac_compile) 2>conftest.er1
   6836   ac_status=$?
   6837   grep -v '^ *+' conftest.er1 >conftest.err
   6838   rm -f conftest.er1
   6839   cat conftest.err >&5
   6840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6841   (exit $ac_status); } &&
   6842 	 { ac_try='test -z "$ac_c_werror_flag"
   6843 			 || test ! -s conftest.err'
   6844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6845   (eval $ac_try) 2>&5
   6846   ac_status=$?
   6847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6848   (exit $ac_status); }; } &&
   6849 	 { ac_try='test -s conftest.$ac_objext'
   6850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6851   (eval $ac_try) 2>&5
   6852   ac_status=$?
   6853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6854   (exit $ac_status); }; }; then
   6855   ac_cv_member_struct_statvfs_f_iosize=yes
   6856 else
   6857   echo "$as_me: failed program was:" >&5
   6858 sed 's/^/| /' conftest.$ac_ext >&5
   6859 
   6860 cat >conftest.$ac_ext <<_ACEOF
   6861 /* confdefs.h.  */
   6862 _ACEOF
   6863 cat confdefs.h >>conftest.$ac_ext
   6864 cat >>conftest.$ac_ext <<_ACEOF
   6865 /* end confdefs.h.  */
   6866 #include <sys/statvfs.h>
   6867 
   6868 int
   6869 main ()
   6870 {
   6871 static struct statvfs ac_aggr;
   6872 if (sizeof ac_aggr.f_iosize)
   6873 return 0;
   6874   ;
   6875   return 0;
   6876 }
   6877 _ACEOF
   6878 rm -f conftest.$ac_objext
   6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6880   (eval $ac_compile) 2>conftest.er1
   6881   ac_status=$?
   6882   grep -v '^ *+' conftest.er1 >conftest.err
   6883   rm -f conftest.er1
   6884   cat conftest.err >&5
   6885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6886   (exit $ac_status); } &&
   6887 	 { ac_try='test -z "$ac_c_werror_flag"
   6888 			 || test ! -s conftest.err'
   6889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6890   (eval $ac_try) 2>&5
   6891   ac_status=$?
   6892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6893   (exit $ac_status); }; } &&
   6894 	 { ac_try='test -s conftest.$ac_objext'
   6895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6896   (eval $ac_try) 2>&5
   6897   ac_status=$?
   6898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6899   (exit $ac_status); }; }; then
   6900   ac_cv_member_struct_statvfs_f_iosize=yes
   6901 else
   6902   echo "$as_me: failed program was:" >&5
   6903 sed 's/^/| /' conftest.$ac_ext >&5
   6904 
   6905 ac_cv_member_struct_statvfs_f_iosize=no
   6906 fi
   6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6908 fi
   6909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6910 fi
   6911 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
   6912 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
   6913 if test $ac_cv_member_struct_statvfs_f_iosize = yes; then
   6914 
   6915 cat >>confdefs.h <<_ACEOF
   6916 #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
   6917 _ACEOF
   6918 
   6919 
   6920 fi
   6921 
   6922 
   6923 # Global variable decls.
   6924 echo "$as_me:$LINENO: checking whether optind is declared" >&5
   6925 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
   6926 if test "${ac_cv_have_decl_optind+set}" = set; then
   6927   echo $ECHO_N "(cached) $ECHO_C" >&6
   6928 else
   6929   cat >conftest.$ac_ext <<_ACEOF
   6930 /* confdefs.h.  */
   6931 _ACEOF
   6932 cat confdefs.h >>conftest.$ac_ext
   6933 cat >>conftest.$ac_ext <<_ACEOF
   6934 /* end confdefs.h.  */
   6935 
   6936 #include <stdio.h>
   6937 #include <stdlib.h>
   6938 #include <unistd.h>
   6939 
   6940 
   6941 int
   6942 main ()
   6943 {
   6944 #ifndef optind
   6945   char *p = (char *) optind;
   6946 #endif
   6947 
   6948   ;
   6949   return 0;
   6950 }
   6951 _ACEOF
   6952 rm -f conftest.$ac_objext
   6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6954   (eval $ac_compile) 2>conftest.er1
   6955   ac_status=$?
   6956   grep -v '^ *+' conftest.er1 >conftest.err
   6957   rm -f conftest.er1
   6958   cat conftest.err >&5
   6959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6960   (exit $ac_status); } &&
   6961 	 { ac_try='test -z "$ac_c_werror_flag"
   6962 			 || test ! -s conftest.err'
   6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6964   (eval $ac_try) 2>&5
   6965   ac_status=$?
   6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6967   (exit $ac_status); }; } &&
   6968 	 { ac_try='test -s conftest.$ac_objext'
   6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6970   (eval $ac_try) 2>&5
   6971   ac_status=$?
   6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6973   (exit $ac_status); }; }; then
   6974   ac_cv_have_decl_optind=yes
   6975 else
   6976   echo "$as_me: failed program was:" >&5
   6977 sed 's/^/| /' conftest.$ac_ext >&5
   6978 
   6979 ac_cv_have_decl_optind=no
   6980 fi
   6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6982 fi
   6983 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
   6984 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
   6985 if test $ac_cv_have_decl_optind = yes; then
   6986 
   6987 cat >>confdefs.h <<_ACEOF
   6988 #define HAVE_DECL_OPTIND 1
   6989 _ACEOF
   6990 
   6991 
   6992 else
   6993   cat >>confdefs.h <<_ACEOF
   6994 #define HAVE_DECL_OPTIND 0
   6995 _ACEOF
   6996 
   6997 
   6998 fi
   6999 echo "$as_me:$LINENO: checking whether optreset is declared" >&5
   7000 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   7001 if test "${ac_cv_have_decl_optreset+set}" = set; then
   7002   echo $ECHO_N "(cached) $ECHO_C" >&6
   7003 else
   7004   cat >conftest.$ac_ext <<_ACEOF
   7005 /* confdefs.h.  */
   7006 _ACEOF
   7007 cat confdefs.h >>conftest.$ac_ext
   7008 cat >>conftest.$ac_ext <<_ACEOF
   7009 /* end confdefs.h.  */
   7010 
   7011 #include <stdio.h>
   7012 #include <stdlib.h>
   7013 #include <unistd.h>
   7014 
   7015 
   7016 int
   7017 main ()
   7018 {
   7019 #ifndef optreset
   7020   char *p = (char *) optreset;
   7021 #endif
   7022 
   7023   ;
   7024   return 0;
   7025 }
   7026 _ACEOF
   7027 rm -f conftest.$ac_objext
   7028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7029   (eval $ac_compile) 2>conftest.er1
   7030   ac_status=$?
   7031   grep -v '^ *+' conftest.er1 >conftest.err
   7032   rm -f conftest.er1
   7033   cat conftest.err >&5
   7034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7035   (exit $ac_status); } &&
   7036 	 { ac_try='test -z "$ac_c_werror_flag"
   7037 			 || test ! -s conftest.err'
   7038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7039   (eval $ac_try) 2>&5
   7040   ac_status=$?
   7041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7042   (exit $ac_status); }; } &&
   7043 	 { ac_try='test -s conftest.$ac_objext'
   7044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7045   (eval $ac_try) 2>&5
   7046   ac_status=$?
   7047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7048   (exit $ac_status); }; }; then
   7049   ac_cv_have_decl_optreset=yes
   7050 else
   7051   echo "$as_me: failed program was:" >&5
   7052 sed 's/^/| /' conftest.$ac_ext >&5
   7053 
   7054 ac_cv_have_decl_optreset=no
   7055 fi
   7056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7057 fi
   7058 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
   7059 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   7060 if test $ac_cv_have_decl_optreset = yes; then
   7061 
   7062 cat >>confdefs.h <<_ACEOF
   7063 #define HAVE_DECL_OPTRESET 1
   7064 _ACEOF
   7065 
   7066 
   7067 else
   7068   cat >>confdefs.h <<_ACEOF
   7069 #define HAVE_DECL_OPTRESET 0
   7070 _ACEOF
   7071 
   7072 
   7073 fi
   7074 
   7075 
   7076 echo "$as_me:$LINENO: checking whether sys_signame is declared" >&5
   7077 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
   7078 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
   7079   echo $ECHO_N "(cached) $ECHO_C" >&6
   7080 else
   7081   cat >conftest.$ac_ext <<_ACEOF
   7082 /* confdefs.h.  */
   7083 _ACEOF
   7084 cat confdefs.h >>conftest.$ac_ext
   7085 cat >>conftest.$ac_ext <<_ACEOF
   7086 /* end confdefs.h.  */
   7087 #include <signal.h>
   7088 
   7089 int
   7090 main ()
   7091 {
   7092 #ifndef sys_signame
   7093   char *p = (char *) sys_signame;
   7094 #endif
   7095 
   7096   ;
   7097   return 0;
   7098 }
   7099 _ACEOF
   7100 rm -f conftest.$ac_objext
   7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7102   (eval $ac_compile) 2>conftest.er1
   7103   ac_status=$?
   7104   grep -v '^ *+' conftest.er1 >conftest.err
   7105   rm -f conftest.er1
   7106   cat conftest.err >&5
   7107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7108   (exit $ac_status); } &&
   7109 	 { ac_try='test -z "$ac_c_werror_flag"
   7110 			 || test ! -s conftest.err'
   7111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7112   (eval $ac_try) 2>&5
   7113   ac_status=$?
   7114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7115   (exit $ac_status); }; } &&
   7116 	 { ac_try='test -s conftest.$ac_objext'
   7117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7118   (eval $ac_try) 2>&5
   7119   ac_status=$?
   7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7121   (exit $ac_status); }; }; then
   7122   ac_cv_have_decl_sys_signame=yes
   7123 else
   7124   echo "$as_me: failed program was:" >&5
   7125 sed 's/^/| /' conftest.$ac_ext >&5
   7126 
   7127 ac_cv_have_decl_sys_signame=no
   7128 fi
   7129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7130 fi
   7131 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
   7132 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
   7133 if test $ac_cv_have_decl_sys_signame = yes; then
   7134 
   7135 cat >>confdefs.h <<_ACEOF
   7136 #define HAVE_DECL_SYS_SIGNAME 1
   7137 _ACEOF
   7138 
   7139 
   7140 else
   7141   cat >>confdefs.h <<_ACEOF
   7142 #define HAVE_DECL_SYS_SIGNAME 0
   7143 _ACEOF
   7144 
   7145 
   7146 fi
   7147 
   7148 
   7149 
   7150 # Library functions (where a .h check isn't enough).
   7151 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   7152 # for constant arguments.  Useless!
   7153 echo "$as_me:$LINENO: checking for working alloca.h" >&5
   7154 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   7155 if test "${ac_cv_working_alloca_h+set}" = set; then
   7156   echo $ECHO_N "(cached) $ECHO_C" >&6
   7157 else
   7158   cat >conftest.$ac_ext <<_ACEOF
   7159 /* confdefs.h.  */
   7160 _ACEOF
   7161 cat confdefs.h >>conftest.$ac_ext
   7162 cat >>conftest.$ac_ext <<_ACEOF
   7163 /* end confdefs.h.  */
   7164 #include <alloca.h>
   7165 int
   7166 main ()
   7167 {
   7168 char *p = (char *) alloca (2 * sizeof (int));
   7169   ;
   7170   return 0;
   7171 }
   7172 _ACEOF
   7173 rm -f conftest.$ac_objext conftest$ac_exeext
   7174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7175   (eval $ac_link) 2>conftest.er1
   7176   ac_status=$?
   7177   grep -v '^ *+' conftest.er1 >conftest.err
   7178   rm -f conftest.er1
   7179   cat conftest.err >&5
   7180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7181   (exit $ac_status); } &&
   7182 	 { ac_try='test -z "$ac_c_werror_flag"
   7183 			 || test ! -s conftest.err'
   7184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7185   (eval $ac_try) 2>&5
   7186   ac_status=$?
   7187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7188   (exit $ac_status); }; } &&
   7189 	 { ac_try='test -s conftest$ac_exeext'
   7190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7191   (eval $ac_try) 2>&5
   7192   ac_status=$?
   7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7194   (exit $ac_status); }; }; then
   7195   ac_cv_working_alloca_h=yes
   7196 else
   7197   echo "$as_me: failed program was:" >&5
   7198 sed 's/^/| /' conftest.$ac_ext >&5
   7199 
   7200 ac_cv_working_alloca_h=no
   7201 fi
   7202 rm -f conftest.err conftest.$ac_objext \
   7203       conftest$ac_exeext conftest.$ac_ext
   7204 fi
   7205 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   7206 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   7207 if test $ac_cv_working_alloca_h = yes; then
   7208 
   7209 cat >>confdefs.h <<\_ACEOF
   7210 #define HAVE_ALLOCA_H 1
   7211 _ACEOF
   7212 
   7213 fi
   7214 
   7215 echo "$as_me:$LINENO: checking for alloca" >&5
   7216 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   7217 if test "${ac_cv_func_alloca_works+set}" = set; then
   7218   echo $ECHO_N "(cached) $ECHO_C" >&6
   7219 else
   7220   cat >conftest.$ac_ext <<_ACEOF
   7221 /* confdefs.h.  */
   7222 _ACEOF
   7223 cat confdefs.h >>conftest.$ac_ext
   7224 cat >>conftest.$ac_ext <<_ACEOF
   7225 /* end confdefs.h.  */
   7226 #ifdef __GNUC__
   7227 # define alloca __builtin_alloca
   7228 #else
   7229 # ifdef _MSC_VER
   7230 #  include <malloc.h>
   7231 #  define alloca _alloca
   7232 # else
   7233 #  if HAVE_ALLOCA_H
   7234 #   include <alloca.h>
   7235 #  else
   7236 #   ifdef _AIX
   7237  #pragma alloca
   7238 #   else
   7239 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   7240 char *alloca ();
   7241 #    endif
   7242 #   endif
   7243 #  endif
   7244 # endif
   7245 #endif
   7246 
   7247 int
   7248 main ()
   7249 {
   7250 char *p = (char *) alloca (1);
   7251   ;
   7252   return 0;
   7253 }
   7254 _ACEOF
   7255 rm -f conftest.$ac_objext conftest$ac_exeext
   7256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7257   (eval $ac_link) 2>conftest.er1
   7258   ac_status=$?
   7259   grep -v '^ *+' conftest.er1 >conftest.err
   7260   rm -f conftest.er1
   7261   cat conftest.err >&5
   7262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7263   (exit $ac_status); } &&
   7264 	 { ac_try='test -z "$ac_c_werror_flag"
   7265 			 || test ! -s conftest.err'
   7266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7267   (eval $ac_try) 2>&5
   7268   ac_status=$?
   7269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7270   (exit $ac_status); }; } &&
   7271 	 { ac_try='test -s conftest$ac_exeext'
   7272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7273   (eval $ac_try) 2>&5
   7274   ac_status=$?
   7275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7276   (exit $ac_status); }; }; then
   7277   ac_cv_func_alloca_works=yes
   7278 else
   7279   echo "$as_me: failed program was:" >&5
   7280 sed 's/^/| /' conftest.$ac_ext >&5
   7281 
   7282 ac_cv_func_alloca_works=no
   7283 fi
   7284 rm -f conftest.err conftest.$ac_objext \
   7285       conftest$ac_exeext conftest.$ac_ext
   7286 fi
   7287 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   7288 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   7289 
   7290 if test $ac_cv_func_alloca_works = yes; then
   7291 
   7292 cat >>confdefs.h <<\_ACEOF
   7293 #define HAVE_ALLOCA 1
   7294 _ACEOF
   7295 
   7296 else
   7297   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   7298 # that cause trouble.  Some versions do not even contain alloca or
   7299 # contain a buggy version.  If you still want to use their alloca,
   7300 # use ar to extract alloca.o from them instead of compiling alloca.c.
   7301 
   7302 ALLOCA=alloca.$ac_objext
   7303 
   7304 cat >>confdefs.h <<\_ACEOF
   7305 #define C_ALLOCA 1
   7306 _ACEOF
   7307 
   7308 
   7309 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   7310 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   7311 if test "${ac_cv_os_cray+set}" = set; then
   7312   echo $ECHO_N "(cached) $ECHO_C" >&6
   7313 else
   7314   cat >conftest.$ac_ext <<_ACEOF
   7315 /* confdefs.h.  */
   7316 _ACEOF
   7317 cat confdefs.h >>conftest.$ac_ext
   7318 cat >>conftest.$ac_ext <<_ACEOF
   7319 /* end confdefs.h.  */
   7320 #if defined(CRAY) && ! defined(CRAY2)
   7321 webecray
   7322 #else
   7323 wenotbecray
   7324 #endif
   7325 
   7326 _ACEOF
   7327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7328   $EGREP "webecray" >/dev/null 2>&1; then
   7329   ac_cv_os_cray=yes
   7330 else
   7331   ac_cv_os_cray=no
   7332 fi
   7333 rm -f conftest*
   7334 
   7335 fi
   7336 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   7337 echo "${ECHO_T}$ac_cv_os_cray" >&6
   7338 if test $ac_cv_os_cray = yes; then
   7339   for ac_func in _getb67 GETB67 getb67; do
   7340     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7341 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7343 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7344   echo $ECHO_N "(cached) $ECHO_C" >&6
   7345 else
   7346   cat >conftest.$ac_ext <<_ACEOF
   7347 /* confdefs.h.  */
   7348 _ACEOF
   7349 cat confdefs.h >>conftest.$ac_ext
   7350 cat >>conftest.$ac_ext <<_ACEOF
   7351 /* end confdefs.h.  */
   7352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7353    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7354 #define $ac_func innocuous_$ac_func
   7355 
   7356 /* System header to define __stub macros and hopefully few prototypes,
   7357     which can conflict with char $ac_func (); below.
   7358     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7359     <limits.h> exists even on freestanding compilers.  */
   7360 
   7361 #ifdef __STDC__
   7362 # include <limits.h>
   7363 #else
   7364 # include <assert.h>
   7365 #endif
   7366 
   7367 #undef $ac_func
   7368 
   7369 /* Override any gcc2 internal prototype to avoid an error.  */
   7370 #ifdef __cplusplus
   7371 extern "C"
   7372 {
   7373 #endif
   7374 /* We use char because int might match the return type of a gcc2
   7375    builtin and then its argument prototype would still apply.  */
   7376 char $ac_func ();
   7377 /* The GNU C library defines this for functions which it implements
   7378     to always fail with ENOSYS.  Some functions are actually named
   7379     something starting with __ and the normal name is an alias.  */
   7380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7381 choke me
   7382 #else
   7383 char (*f) () = $ac_func;
   7384 #endif
   7385 #ifdef __cplusplus
   7386 }
   7387 #endif
   7388 
   7389 int
   7390 main ()
   7391 {
   7392 return f != $ac_func;
   7393   ;
   7394   return 0;
   7395 }
   7396 _ACEOF
   7397 rm -f conftest.$ac_objext conftest$ac_exeext
   7398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7399   (eval $ac_link) 2>conftest.er1
   7400   ac_status=$?
   7401   grep -v '^ *+' conftest.er1 >conftest.err
   7402   rm -f conftest.er1
   7403   cat conftest.err >&5
   7404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7405   (exit $ac_status); } &&
   7406 	 { ac_try='test -z "$ac_c_werror_flag"
   7407 			 || test ! -s conftest.err'
   7408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7409   (eval $ac_try) 2>&5
   7410   ac_status=$?
   7411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7412   (exit $ac_status); }; } &&
   7413 	 { ac_try='test -s conftest$ac_exeext'
   7414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7415   (eval $ac_try) 2>&5
   7416   ac_status=$?
   7417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7418   (exit $ac_status); }; }; then
   7419   eval "$as_ac_var=yes"
   7420 else
   7421   echo "$as_me: failed program was:" >&5
   7422 sed 's/^/| /' conftest.$ac_ext >&5
   7423 
   7424 eval "$as_ac_var=no"
   7425 fi
   7426 rm -f conftest.err conftest.$ac_objext \
   7427       conftest$ac_exeext conftest.$ac_ext
   7428 fi
   7429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7431 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7432 
   7433 cat >>confdefs.h <<_ACEOF
   7434 #define CRAY_STACKSEG_END $ac_func
   7435 _ACEOF
   7436 
   7437     break
   7438 fi
   7439 
   7440   done
   7441 fi
   7442 
   7443 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   7444 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   7445 if test "${ac_cv_c_stack_direction+set}" = set; then
   7446   echo $ECHO_N "(cached) $ECHO_C" >&6
   7447 else
   7448   if test "$cross_compiling" = yes; then
   7449   ac_cv_c_stack_direction=0
   7450 else
   7451   cat >conftest.$ac_ext <<_ACEOF
   7452 /* confdefs.h.  */
   7453 _ACEOF
   7454 cat confdefs.h >>conftest.$ac_ext
   7455 cat >>conftest.$ac_ext <<_ACEOF
   7456 /* end confdefs.h.  */
   7457 int
   7458 find_stack_direction ()
   7459 {
   7460   static char *addr = 0;
   7461   auto char dummy;
   7462   if (addr == 0)
   7463     {
   7464       addr = &dummy;
   7465       return find_stack_direction ();
   7466     }
   7467   else
   7468     return (&dummy > addr) ? 1 : -1;
   7469 }
   7470 
   7471 int
   7472 main ()
   7473 {
   7474   exit (find_stack_direction () < 0);
   7475 }
   7476 _ACEOF
   7477 rm -f conftest$ac_exeext
   7478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7479   (eval $ac_link) 2>&5
   7480   ac_status=$?
   7481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7482   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7484   (eval $ac_try) 2>&5
   7485   ac_status=$?
   7486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7487   (exit $ac_status); }; }; then
   7488   ac_cv_c_stack_direction=1
   7489 else
   7490   echo "$as_me: program exited with status $ac_status" >&5
   7491 echo "$as_me: failed program was:" >&5
   7492 sed 's/^/| /' conftest.$ac_ext >&5
   7493 
   7494 ( exit $ac_status )
   7495 ac_cv_c_stack_direction=-1
   7496 fi
   7497 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7498 fi
   7499 fi
   7500 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   7501 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   7502 
   7503 cat >>confdefs.h <<_ACEOF
   7504 #define STACK_DIRECTION $ac_cv_c_stack_direction
   7505 _ACEOF
   7506 
   7507 
   7508 fi
   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 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
   7554 	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
   7555 	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
   7556 	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
   7557 	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
   7558 	strsuftoll strtoll \
   7559 	user_from_uid vasprintf vasnprintf vsnprintf
   7560 do
   7561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7562 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7564 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7565   echo $ECHO_N "(cached) $ECHO_C" >&6
   7566 else
   7567   cat >conftest.$ac_ext <<_ACEOF
   7568 /* confdefs.h.  */
   7569 _ACEOF
   7570 cat confdefs.h >>conftest.$ac_ext
   7571 cat >>conftest.$ac_ext <<_ACEOF
   7572 /* end confdefs.h.  */
   7573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7575 #define $ac_func innocuous_$ac_func
   7576 
   7577 /* System header to define __stub macros and hopefully few prototypes,
   7578     which can conflict with char $ac_func (); below.
   7579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7580     <limits.h> exists even on freestanding compilers.  */
   7581 
   7582 #ifdef __STDC__
   7583 # include <limits.h>
   7584 #else
   7585 # include <assert.h>
   7586 #endif
   7587 
   7588 #undef $ac_func
   7589 
   7590 /* Override any gcc2 internal prototype to avoid an error.  */
   7591 #ifdef __cplusplus
   7592 extern "C"
   7593 {
   7594 #endif
   7595 /* We use char because int might match the return type of a gcc2
   7596    builtin and then its argument prototype would still apply.  */
   7597 char $ac_func ();
   7598 /* The GNU C library defines this for functions which it implements
   7599     to always fail with ENOSYS.  Some functions are actually named
   7600     something starting with __ and the normal name is an alias.  */
   7601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7602 choke me
   7603 #else
   7604 char (*f) () = $ac_func;
   7605 #endif
   7606 #ifdef __cplusplus
   7607 }
   7608 #endif
   7609 
   7610 int
   7611 main ()
   7612 {
   7613 return f != $ac_func;
   7614   ;
   7615   return 0;
   7616 }
   7617 _ACEOF
   7618 rm -f conftest.$ac_objext conftest$ac_exeext
   7619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7620   (eval $ac_link) 2>conftest.er1
   7621   ac_status=$?
   7622   grep -v '^ *+' conftest.er1 >conftest.err
   7623   rm -f conftest.er1
   7624   cat conftest.err >&5
   7625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7626   (exit $ac_status); } &&
   7627 	 { ac_try='test -z "$ac_c_werror_flag"
   7628 			 || test ! -s conftest.err'
   7629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7630   (eval $ac_try) 2>&5
   7631   ac_status=$?
   7632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7633   (exit $ac_status); }; } &&
   7634 	 { ac_try='test -s conftest$ac_exeext'
   7635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7636   (eval $ac_try) 2>&5
   7637   ac_status=$?
   7638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7639   (exit $ac_status); }; }; then
   7640   eval "$as_ac_var=yes"
   7641 else
   7642   echo "$as_me: failed program was:" >&5
   7643 sed 's/^/| /' conftest.$ac_ext >&5
   7644 
   7645 eval "$as_ac_var=no"
   7646 fi
   7647 rm -f conftest.err conftest.$ac_objext \
   7648       conftest$ac_exeext conftest.$ac_ext
   7649 fi
   7650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7652 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7653   cat >>confdefs.h <<_ACEOF
   7654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7655 _ACEOF
   7656 
   7657 fi
   7658 done
   7659 
   7660 
   7661 echo "$as_me:$LINENO: checking whether strsuftoll is declared" >&5
   7662 echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
   7663 if test "${ac_cv_have_decl_strsuftoll+set}" = set; then
   7664   echo $ECHO_N "(cached) $ECHO_C" >&6
   7665 else
   7666   cat >conftest.$ac_ext <<_ACEOF
   7667 /* confdefs.h.  */
   7668 _ACEOF
   7669 cat confdefs.h >>conftest.$ac_ext
   7670 cat >>conftest.$ac_ext <<_ACEOF
   7671 /* end confdefs.h.  */
   7672 #include <stdlib.h>
   7673 
   7674 int
   7675 main ()
   7676 {
   7677 #ifndef strsuftoll
   7678   char *p = (char *) strsuftoll;
   7679 #endif
   7680 
   7681   ;
   7682   return 0;
   7683 }
   7684 _ACEOF
   7685 rm -f conftest.$ac_objext
   7686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7687   (eval $ac_compile) 2>conftest.er1
   7688   ac_status=$?
   7689   grep -v '^ *+' conftest.er1 >conftest.err
   7690   rm -f conftest.er1
   7691   cat conftest.err >&5
   7692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7693   (exit $ac_status); } &&
   7694 	 { ac_try='test -z "$ac_c_werror_flag"
   7695 			 || test ! -s conftest.err'
   7696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7697   (eval $ac_try) 2>&5
   7698   ac_status=$?
   7699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7700   (exit $ac_status); }; } &&
   7701 	 { ac_try='test -s conftest.$ac_objext'
   7702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7703   (eval $ac_try) 2>&5
   7704   ac_status=$?
   7705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7706   (exit $ac_status); }; }; then
   7707   ac_cv_have_decl_strsuftoll=yes
   7708 else
   7709   echo "$as_me: failed program was:" >&5
   7710 sed 's/^/| /' conftest.$ac_ext >&5
   7711 
   7712 ac_cv_have_decl_strsuftoll=no
   7713 fi
   7714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7715 fi
   7716 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsuftoll" >&5
   7717 echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
   7718 if test $ac_cv_have_decl_strsuftoll = yes; then
   7719 
   7720 cat >>confdefs.h <<_ACEOF
   7721 #define HAVE_DECL_STRSUFTOLL 1
   7722 _ACEOF
   7723 
   7724 
   7725 else
   7726   cat >>confdefs.h <<_ACEOF
   7727 #define HAVE_DECL_STRSUFTOLL 0
   7728 _ACEOF
   7729 
   7730 
   7731 fi
   7732 
   7733 
   7734 
   7735 echo "$as_me:$LINENO: checking whether htobe16 is declared" >&5
   7736 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
   7737 if test "${ac_cv_have_decl_htobe16+set}" = set; then
   7738   echo $ECHO_N "(cached) $ECHO_C" >&6
   7739 else
   7740   cat >conftest.$ac_ext <<_ACEOF
   7741 /* confdefs.h.  */
   7742 _ACEOF
   7743 cat confdefs.h >>conftest.$ac_ext
   7744 cat >>conftest.$ac_ext <<_ACEOF
   7745 /* end confdefs.h.  */
   7746 #include <sys/types.h>
   7747 
   7748 int
   7749 main ()
   7750 {
   7751 #ifndef htobe16
   7752   char *p = (char *) htobe16;
   7753 #endif
   7754 
   7755   ;
   7756   return 0;
   7757 }
   7758 _ACEOF
   7759 rm -f conftest.$ac_objext
   7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7761   (eval $ac_compile) 2>conftest.er1
   7762   ac_status=$?
   7763   grep -v '^ *+' conftest.er1 >conftest.err
   7764   rm -f conftest.er1
   7765   cat conftest.err >&5
   7766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7767   (exit $ac_status); } &&
   7768 	 { ac_try='test -z "$ac_c_werror_flag"
   7769 			 || test ! -s conftest.err'
   7770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7771   (eval $ac_try) 2>&5
   7772   ac_status=$?
   7773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7774   (exit $ac_status); }; } &&
   7775 	 { ac_try='test -s conftest.$ac_objext'
   7776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7777   (eval $ac_try) 2>&5
   7778   ac_status=$?
   7779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7780   (exit $ac_status); }; }; then
   7781   ac_cv_have_decl_htobe16=yes
   7782 else
   7783   echo "$as_me: failed program was:" >&5
   7784 sed 's/^/| /' conftest.$ac_ext >&5
   7785 
   7786 ac_cv_have_decl_htobe16=no
   7787 fi
   7788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7789 fi
   7790 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5
   7791 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
   7792 if test $ac_cv_have_decl_htobe16 = yes; then
   7793 
   7794 cat >>confdefs.h <<_ACEOF
   7795 #define HAVE_DECL_HTOBE16 1
   7796 _ACEOF
   7797 
   7798 
   7799 else
   7800   cat >>confdefs.h <<_ACEOF
   7801 #define HAVE_DECL_HTOBE16 0
   7802 _ACEOF
   7803 
   7804 
   7805 fi
   7806 echo "$as_me:$LINENO: checking whether htobe32 is declared" >&5
   7807 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
   7808 if test "${ac_cv_have_decl_htobe32+set}" = set; then
   7809   echo $ECHO_N "(cached) $ECHO_C" >&6
   7810 else
   7811   cat >conftest.$ac_ext <<_ACEOF
   7812 /* confdefs.h.  */
   7813 _ACEOF
   7814 cat confdefs.h >>conftest.$ac_ext
   7815 cat >>conftest.$ac_ext <<_ACEOF
   7816 /* end confdefs.h.  */
   7817 #include <sys/types.h>
   7818 
   7819 int
   7820 main ()
   7821 {
   7822 #ifndef htobe32
   7823   char *p = (char *) htobe32;
   7824 #endif
   7825 
   7826   ;
   7827   return 0;
   7828 }
   7829 _ACEOF
   7830 rm -f conftest.$ac_objext
   7831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7832   (eval $ac_compile) 2>conftest.er1
   7833   ac_status=$?
   7834   grep -v '^ *+' conftest.er1 >conftest.err
   7835   rm -f conftest.er1
   7836   cat conftest.err >&5
   7837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7838   (exit $ac_status); } &&
   7839 	 { ac_try='test -z "$ac_c_werror_flag"
   7840 			 || test ! -s conftest.err'
   7841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7842   (eval $ac_try) 2>&5
   7843   ac_status=$?
   7844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7845   (exit $ac_status); }; } &&
   7846 	 { ac_try='test -s conftest.$ac_objext'
   7847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7848   (eval $ac_try) 2>&5
   7849   ac_status=$?
   7850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7851   (exit $ac_status); }; }; then
   7852   ac_cv_have_decl_htobe32=yes
   7853 else
   7854   echo "$as_me: failed program was:" >&5
   7855 sed 's/^/| /' conftest.$ac_ext >&5
   7856 
   7857 ac_cv_have_decl_htobe32=no
   7858 fi
   7859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7860 fi
   7861 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5
   7862 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
   7863 if test $ac_cv_have_decl_htobe32 = yes; then
   7864 
   7865 cat >>confdefs.h <<_ACEOF
   7866 #define HAVE_DECL_HTOBE32 1
   7867 _ACEOF
   7868 
   7869 
   7870 else
   7871   cat >>confdefs.h <<_ACEOF
   7872 #define HAVE_DECL_HTOBE32 0
   7873 _ACEOF
   7874 
   7875 
   7876 fi
   7877 echo "$as_me:$LINENO: checking whether htobe64 is declared" >&5
   7878 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
   7879 if test "${ac_cv_have_decl_htobe64+set}" = set; then
   7880   echo $ECHO_N "(cached) $ECHO_C" >&6
   7881 else
   7882   cat >conftest.$ac_ext <<_ACEOF
   7883 /* confdefs.h.  */
   7884 _ACEOF
   7885 cat confdefs.h >>conftest.$ac_ext
   7886 cat >>conftest.$ac_ext <<_ACEOF
   7887 /* end confdefs.h.  */
   7888 #include <sys/types.h>
   7889 
   7890 int
   7891 main ()
   7892 {
   7893 #ifndef htobe64
   7894   char *p = (char *) htobe64;
   7895 #endif
   7896 
   7897   ;
   7898   return 0;
   7899 }
   7900 _ACEOF
   7901 rm -f conftest.$ac_objext
   7902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7903   (eval $ac_compile) 2>conftest.er1
   7904   ac_status=$?
   7905   grep -v '^ *+' conftest.er1 >conftest.err
   7906   rm -f conftest.er1
   7907   cat conftest.err >&5
   7908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7909   (exit $ac_status); } &&
   7910 	 { ac_try='test -z "$ac_c_werror_flag"
   7911 			 || test ! -s conftest.err'
   7912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7913   (eval $ac_try) 2>&5
   7914   ac_status=$?
   7915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7916   (exit $ac_status); }; } &&
   7917 	 { ac_try='test -s conftest.$ac_objext'
   7918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7919   (eval $ac_try) 2>&5
   7920   ac_status=$?
   7921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7922   (exit $ac_status); }; }; then
   7923   ac_cv_have_decl_htobe64=yes
   7924 else
   7925   echo "$as_me: failed program was:" >&5
   7926 sed 's/^/| /' conftest.$ac_ext >&5
   7927 
   7928 ac_cv_have_decl_htobe64=no
   7929 fi
   7930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7931 fi
   7932 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5
   7933 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
   7934 if test $ac_cv_have_decl_htobe64 = yes; then
   7935 
   7936 cat >>confdefs.h <<_ACEOF
   7937 #define HAVE_DECL_HTOBE64 1
   7938 _ACEOF
   7939 
   7940 
   7941 else
   7942   cat >>confdefs.h <<_ACEOF
   7943 #define HAVE_DECL_HTOBE64 0
   7944 _ACEOF
   7945 
   7946 
   7947 fi
   7948 echo "$as_me:$LINENO: checking whether htole16 is declared" >&5
   7949 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
   7950 if test "${ac_cv_have_decl_htole16+set}" = set; then
   7951   echo $ECHO_N "(cached) $ECHO_C" >&6
   7952 else
   7953   cat >conftest.$ac_ext <<_ACEOF
   7954 /* confdefs.h.  */
   7955 _ACEOF
   7956 cat confdefs.h >>conftest.$ac_ext
   7957 cat >>conftest.$ac_ext <<_ACEOF
   7958 /* end confdefs.h.  */
   7959 #include <sys/types.h>
   7960 
   7961 int
   7962 main ()
   7963 {
   7964 #ifndef htole16
   7965   char *p = (char *) htole16;
   7966 #endif
   7967 
   7968   ;
   7969   return 0;
   7970 }
   7971 _ACEOF
   7972 rm -f conftest.$ac_objext
   7973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7974   (eval $ac_compile) 2>conftest.er1
   7975   ac_status=$?
   7976   grep -v '^ *+' conftest.er1 >conftest.err
   7977   rm -f conftest.er1
   7978   cat conftest.err >&5
   7979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7980   (exit $ac_status); } &&
   7981 	 { ac_try='test -z "$ac_c_werror_flag"
   7982 			 || test ! -s conftest.err'
   7983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7984   (eval $ac_try) 2>&5
   7985   ac_status=$?
   7986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7987   (exit $ac_status); }; } &&
   7988 	 { ac_try='test -s conftest.$ac_objext'
   7989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7990   (eval $ac_try) 2>&5
   7991   ac_status=$?
   7992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7993   (exit $ac_status); }; }; then
   7994   ac_cv_have_decl_htole16=yes
   7995 else
   7996   echo "$as_me: failed program was:" >&5
   7997 sed 's/^/| /' conftest.$ac_ext >&5
   7998 
   7999 ac_cv_have_decl_htole16=no
   8000 fi
   8001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8002 fi
   8003 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5
   8004 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
   8005 if test $ac_cv_have_decl_htole16 = yes; then
   8006 
   8007 cat >>confdefs.h <<_ACEOF
   8008 #define HAVE_DECL_HTOLE16 1
   8009 _ACEOF
   8010 
   8011 
   8012 else
   8013   cat >>confdefs.h <<_ACEOF
   8014 #define HAVE_DECL_HTOLE16 0
   8015 _ACEOF
   8016 
   8017 
   8018 fi
   8019 echo "$as_me:$LINENO: checking whether htole32 is declared" >&5
   8020 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
   8021 if test "${ac_cv_have_decl_htole32+set}" = set; then
   8022   echo $ECHO_N "(cached) $ECHO_C" >&6
   8023 else
   8024   cat >conftest.$ac_ext <<_ACEOF
   8025 /* confdefs.h.  */
   8026 _ACEOF
   8027 cat confdefs.h >>conftest.$ac_ext
   8028 cat >>conftest.$ac_ext <<_ACEOF
   8029 /* end confdefs.h.  */
   8030 #include <sys/types.h>
   8031 
   8032 int
   8033 main ()
   8034 {
   8035 #ifndef htole32
   8036   char *p = (char *) htole32;
   8037 #endif
   8038 
   8039   ;
   8040   return 0;
   8041 }
   8042 _ACEOF
   8043 rm -f conftest.$ac_objext
   8044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8045   (eval $ac_compile) 2>conftest.er1
   8046   ac_status=$?
   8047   grep -v '^ *+' conftest.er1 >conftest.err
   8048   rm -f conftest.er1
   8049   cat conftest.err >&5
   8050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8051   (exit $ac_status); } &&
   8052 	 { ac_try='test -z "$ac_c_werror_flag"
   8053 			 || test ! -s conftest.err'
   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); }; } &&
   8059 	 { ac_try='test -s conftest.$ac_objext'
   8060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8061   (eval $ac_try) 2>&5
   8062   ac_status=$?
   8063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8064   (exit $ac_status); }; }; then
   8065   ac_cv_have_decl_htole32=yes
   8066 else
   8067   echo "$as_me: failed program was:" >&5
   8068 sed 's/^/| /' conftest.$ac_ext >&5
   8069 
   8070 ac_cv_have_decl_htole32=no
   8071 fi
   8072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8073 fi
   8074 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5
   8075 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
   8076 if test $ac_cv_have_decl_htole32 = yes; then
   8077 
   8078 cat >>confdefs.h <<_ACEOF
   8079 #define HAVE_DECL_HTOLE32 1
   8080 _ACEOF
   8081 
   8082 
   8083 else
   8084   cat >>confdefs.h <<_ACEOF
   8085 #define HAVE_DECL_HTOLE32 0
   8086 _ACEOF
   8087 
   8088 
   8089 fi
   8090 echo "$as_me:$LINENO: checking whether htole64 is declared" >&5
   8091 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
   8092 if test "${ac_cv_have_decl_htole64+set}" = set; then
   8093   echo $ECHO_N "(cached) $ECHO_C" >&6
   8094 else
   8095   cat >conftest.$ac_ext <<_ACEOF
   8096 /* confdefs.h.  */
   8097 _ACEOF
   8098 cat confdefs.h >>conftest.$ac_ext
   8099 cat >>conftest.$ac_ext <<_ACEOF
   8100 /* end confdefs.h.  */
   8101 #include <sys/types.h>
   8102 
   8103 int
   8104 main ()
   8105 {
   8106 #ifndef htole64
   8107   char *p = (char *) htole64;
   8108 #endif
   8109 
   8110   ;
   8111   return 0;
   8112 }
   8113 _ACEOF
   8114 rm -f conftest.$ac_objext
   8115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8116   (eval $ac_compile) 2>conftest.er1
   8117   ac_status=$?
   8118   grep -v '^ *+' conftest.er1 >conftest.err
   8119   rm -f conftest.er1
   8120   cat conftest.err >&5
   8121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8122   (exit $ac_status); } &&
   8123 	 { ac_try='test -z "$ac_c_werror_flag"
   8124 			 || test ! -s conftest.err'
   8125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8126   (eval $ac_try) 2>&5
   8127   ac_status=$?
   8128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8129   (exit $ac_status); }; } &&
   8130 	 { ac_try='test -s conftest.$ac_objext'
   8131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8132   (eval $ac_try) 2>&5
   8133   ac_status=$?
   8134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8135   (exit $ac_status); }; }; then
   8136   ac_cv_have_decl_htole64=yes
   8137 else
   8138   echo "$as_me: failed program was:" >&5
   8139 sed 's/^/| /' conftest.$ac_ext >&5
   8140 
   8141 ac_cv_have_decl_htole64=no
   8142 fi
   8143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8144 fi
   8145 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5
   8146 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
   8147 if test $ac_cv_have_decl_htole64 = yes; then
   8148 
   8149 cat >>confdefs.h <<_ACEOF
   8150 #define HAVE_DECL_HTOLE64 1
   8151 _ACEOF
   8152 
   8153 
   8154 else
   8155   cat >>confdefs.h <<_ACEOF
   8156 #define HAVE_DECL_HTOLE64 0
   8157 _ACEOF
   8158 
   8159 
   8160 fi
   8161 echo "$as_me:$LINENO: checking whether be16toh is declared" >&5
   8162 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
   8163 if test "${ac_cv_have_decl_be16toh+set}" = set; then
   8164   echo $ECHO_N "(cached) $ECHO_C" >&6
   8165 else
   8166   cat >conftest.$ac_ext <<_ACEOF
   8167 /* confdefs.h.  */
   8168 _ACEOF
   8169 cat confdefs.h >>conftest.$ac_ext
   8170 cat >>conftest.$ac_ext <<_ACEOF
   8171 /* end confdefs.h.  */
   8172 #include <sys/types.h>
   8173 
   8174 int
   8175 main ()
   8176 {
   8177 #ifndef be16toh
   8178   char *p = (char *) be16toh;
   8179 #endif
   8180 
   8181   ;
   8182   return 0;
   8183 }
   8184 _ACEOF
   8185 rm -f conftest.$ac_objext
   8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8187   (eval $ac_compile) 2>conftest.er1
   8188   ac_status=$?
   8189   grep -v '^ *+' conftest.er1 >conftest.err
   8190   rm -f conftest.er1
   8191   cat conftest.err >&5
   8192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8193   (exit $ac_status); } &&
   8194 	 { ac_try='test -z "$ac_c_werror_flag"
   8195 			 || test ! -s conftest.err'
   8196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8197   (eval $ac_try) 2>&5
   8198   ac_status=$?
   8199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8200   (exit $ac_status); }; } &&
   8201 	 { ac_try='test -s conftest.$ac_objext'
   8202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8203   (eval $ac_try) 2>&5
   8204   ac_status=$?
   8205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8206   (exit $ac_status); }; }; then
   8207   ac_cv_have_decl_be16toh=yes
   8208 else
   8209   echo "$as_me: failed program was:" >&5
   8210 sed 's/^/| /' conftest.$ac_ext >&5
   8211 
   8212 ac_cv_have_decl_be16toh=no
   8213 fi
   8214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8215 fi
   8216 echo "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5
   8217 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
   8218 if test $ac_cv_have_decl_be16toh = yes; then
   8219 
   8220 cat >>confdefs.h <<_ACEOF
   8221 #define HAVE_DECL_BE16TOH 1
   8222 _ACEOF
   8223 
   8224 
   8225 else
   8226   cat >>confdefs.h <<_ACEOF
   8227 #define HAVE_DECL_BE16TOH 0
   8228 _ACEOF
   8229 
   8230 
   8231 fi
   8232 echo "$as_me:$LINENO: checking whether be32toh is declared" >&5
   8233 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
   8234 if test "${ac_cv_have_decl_be32toh+set}" = set; then
   8235   echo $ECHO_N "(cached) $ECHO_C" >&6
   8236 else
   8237   cat >conftest.$ac_ext <<_ACEOF
   8238 /* confdefs.h.  */
   8239 _ACEOF
   8240 cat confdefs.h >>conftest.$ac_ext
   8241 cat >>conftest.$ac_ext <<_ACEOF
   8242 /* end confdefs.h.  */
   8243 #include <sys/types.h>
   8244 
   8245 int
   8246 main ()
   8247 {
   8248 #ifndef be32toh
   8249   char *p = (char *) be32toh;
   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_be32toh=yes
   8279 else
   8280   echo "$as_me: failed program was:" >&5
   8281 sed 's/^/| /' conftest.$ac_ext >&5
   8282 
   8283 ac_cv_have_decl_be32toh=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_be32toh" >&5
   8288 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
   8289 if test $ac_cv_have_decl_be32toh = yes; then
   8290 
   8291 cat >>confdefs.h <<_ACEOF
   8292 #define HAVE_DECL_BE32TOH 1
   8293 _ACEOF
   8294 
   8295 
   8296 else
   8297   cat >>confdefs.h <<_ACEOF
   8298 #define HAVE_DECL_BE32TOH 0
   8299 _ACEOF
   8300 
   8301 
   8302 fi
   8303 echo "$as_me:$LINENO: checking whether be64toh is declared" >&5
   8304 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
   8305 if test "${ac_cv_have_decl_be64toh+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 #include <sys/types.h>
   8315 
   8316 int
   8317 main ()
   8318 {
   8319 #ifndef be64toh
   8320   char *p = (char *) be64toh;
   8321 #endif
   8322 
   8323   ;
   8324   return 0;
   8325 }
   8326 _ACEOF
   8327 rm -f conftest.$ac_objext
   8328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8329   (eval $ac_compile) 2>conftest.er1
   8330   ac_status=$?
   8331   grep -v '^ *+' conftest.er1 >conftest.err
   8332   rm -f conftest.er1
   8333   cat conftest.err >&5
   8334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8335   (exit $ac_status); } &&
   8336 	 { ac_try='test -z "$ac_c_werror_flag"
   8337 			 || test ! -s conftest.err'
   8338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8339   (eval $ac_try) 2>&5
   8340   ac_status=$?
   8341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8342   (exit $ac_status); }; } &&
   8343 	 { ac_try='test -s conftest.$ac_objext'
   8344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8345   (eval $ac_try) 2>&5
   8346   ac_status=$?
   8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8348   (exit $ac_status); }; }; then
   8349   ac_cv_have_decl_be64toh=yes
   8350 else
   8351   echo "$as_me: failed program was:" >&5
   8352 sed 's/^/| /' conftest.$ac_ext >&5
   8353 
   8354 ac_cv_have_decl_be64toh=no
   8355 fi
   8356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8357 fi
   8358 echo "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5
   8359 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
   8360 if test $ac_cv_have_decl_be64toh = yes; then
   8361 
   8362 cat >>confdefs.h <<_ACEOF
   8363 #define HAVE_DECL_BE64TOH 1
   8364 _ACEOF
   8365 
   8366 
   8367 else
   8368   cat >>confdefs.h <<_ACEOF
   8369 #define HAVE_DECL_BE64TOH 0
   8370 _ACEOF
   8371 
   8372 
   8373 fi
   8374 echo "$as_me:$LINENO: checking whether le16toh is declared" >&5
   8375 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
   8376 if test "${ac_cv_have_decl_le16toh+set}" = set; then
   8377   echo $ECHO_N "(cached) $ECHO_C" >&6
   8378 else
   8379   cat >conftest.$ac_ext <<_ACEOF
   8380 /* confdefs.h.  */
   8381 _ACEOF
   8382 cat confdefs.h >>conftest.$ac_ext
   8383 cat >>conftest.$ac_ext <<_ACEOF
   8384 /* end confdefs.h.  */
   8385 #include <sys/types.h>
   8386 
   8387 int
   8388 main ()
   8389 {
   8390 #ifndef le16toh
   8391   char *p = (char *) le16toh;
   8392 #endif
   8393 
   8394   ;
   8395   return 0;
   8396 }
   8397 _ACEOF
   8398 rm -f conftest.$ac_objext
   8399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8400   (eval $ac_compile) 2>conftest.er1
   8401   ac_status=$?
   8402   grep -v '^ *+' conftest.er1 >conftest.err
   8403   rm -f conftest.er1
   8404   cat conftest.err >&5
   8405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8406   (exit $ac_status); } &&
   8407 	 { ac_try='test -z "$ac_c_werror_flag"
   8408 			 || test ! -s conftest.err'
   8409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8410   (eval $ac_try) 2>&5
   8411   ac_status=$?
   8412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8413   (exit $ac_status); }; } &&
   8414 	 { ac_try='test -s conftest.$ac_objext'
   8415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8416   (eval $ac_try) 2>&5
   8417   ac_status=$?
   8418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8419   (exit $ac_status); }; }; then
   8420   ac_cv_have_decl_le16toh=yes
   8421 else
   8422   echo "$as_me: failed program was:" >&5
   8423 sed 's/^/| /' conftest.$ac_ext >&5
   8424 
   8425 ac_cv_have_decl_le16toh=no
   8426 fi
   8427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8428 fi
   8429 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5
   8430 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
   8431 if test $ac_cv_have_decl_le16toh = yes; then
   8432 
   8433 cat >>confdefs.h <<_ACEOF
   8434 #define HAVE_DECL_LE16TOH 1
   8435 _ACEOF
   8436 
   8437 
   8438 else
   8439   cat >>confdefs.h <<_ACEOF
   8440 #define HAVE_DECL_LE16TOH 0
   8441 _ACEOF
   8442 
   8443 
   8444 fi
   8445 echo "$as_me:$LINENO: checking whether le32toh is declared" >&5
   8446 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
   8447 if test "${ac_cv_have_decl_le32toh+set}" = set; then
   8448   echo $ECHO_N "(cached) $ECHO_C" >&6
   8449 else
   8450   cat >conftest.$ac_ext <<_ACEOF
   8451 /* confdefs.h.  */
   8452 _ACEOF
   8453 cat confdefs.h >>conftest.$ac_ext
   8454 cat >>conftest.$ac_ext <<_ACEOF
   8455 /* end confdefs.h.  */
   8456 #include <sys/types.h>
   8457 
   8458 int
   8459 main ()
   8460 {
   8461 #ifndef le32toh
   8462   char *p = (char *) le32toh;
   8463 #endif
   8464 
   8465   ;
   8466   return 0;
   8467 }
   8468 _ACEOF
   8469 rm -f conftest.$ac_objext
   8470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8471   (eval $ac_compile) 2>conftest.er1
   8472   ac_status=$?
   8473   grep -v '^ *+' conftest.er1 >conftest.err
   8474   rm -f conftest.er1
   8475   cat conftest.err >&5
   8476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8477   (exit $ac_status); } &&
   8478 	 { ac_try='test -z "$ac_c_werror_flag"
   8479 			 || test ! -s conftest.err'
   8480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8481   (eval $ac_try) 2>&5
   8482   ac_status=$?
   8483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8484   (exit $ac_status); }; } &&
   8485 	 { ac_try='test -s conftest.$ac_objext'
   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); }; }; then
   8491   ac_cv_have_decl_le32toh=yes
   8492 else
   8493   echo "$as_me: failed program was:" >&5
   8494 sed 's/^/| /' conftest.$ac_ext >&5
   8495 
   8496 ac_cv_have_decl_le32toh=no
   8497 fi
   8498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8499 fi
   8500 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5
   8501 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
   8502 if test $ac_cv_have_decl_le32toh = yes; then
   8503 
   8504 cat >>confdefs.h <<_ACEOF
   8505 #define HAVE_DECL_LE32TOH 1
   8506 _ACEOF
   8507 
   8508 
   8509 else
   8510   cat >>confdefs.h <<_ACEOF
   8511 #define HAVE_DECL_LE32TOH 0
   8512 _ACEOF
   8513 
   8514 
   8515 fi
   8516 echo "$as_me:$LINENO: checking whether le64toh is declared" >&5
   8517 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
   8518 if test "${ac_cv_have_decl_le64toh+set}" = set; then
   8519   echo $ECHO_N "(cached) $ECHO_C" >&6
   8520 else
   8521   cat >conftest.$ac_ext <<_ACEOF
   8522 /* confdefs.h.  */
   8523 _ACEOF
   8524 cat confdefs.h >>conftest.$ac_ext
   8525 cat >>conftest.$ac_ext <<_ACEOF
   8526 /* end confdefs.h.  */
   8527 #include <sys/types.h>
   8528 
   8529 int
   8530 main ()
   8531 {
   8532 #ifndef le64toh
   8533   char *p = (char *) le64toh;
   8534 #endif
   8535 
   8536   ;
   8537   return 0;
   8538 }
   8539 _ACEOF
   8540 rm -f conftest.$ac_objext
   8541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8542   (eval $ac_compile) 2>conftest.er1
   8543   ac_status=$?
   8544   grep -v '^ *+' conftest.er1 >conftest.err
   8545   rm -f conftest.er1
   8546   cat conftest.err >&5
   8547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8548   (exit $ac_status); } &&
   8549 	 { ac_try='test -z "$ac_c_werror_flag"
   8550 			 || test ! -s conftest.err'
   8551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8552   (eval $ac_try) 2>&5
   8553   ac_status=$?
   8554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8555   (exit $ac_status); }; } &&
   8556 	 { ac_try='test -s conftest.$ac_objext'
   8557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8558   (eval $ac_try) 2>&5
   8559   ac_status=$?
   8560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8561   (exit $ac_status); }; }; then
   8562   ac_cv_have_decl_le64toh=yes
   8563 else
   8564   echo "$as_me: failed program was:" >&5
   8565 sed 's/^/| /' conftest.$ac_ext >&5
   8566 
   8567 ac_cv_have_decl_le64toh=no
   8568 fi
   8569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8570 fi
   8571 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5
   8572 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
   8573 if test $ac_cv_have_decl_le64toh = yes; then
   8574 
   8575 cat >>confdefs.h <<_ACEOF
   8576 #define HAVE_DECL_LE64TOH 1
   8577 _ACEOF
   8578 
   8579 
   8580 else
   8581   cat >>confdefs.h <<_ACEOF
   8582 #define HAVE_DECL_LE64TOH 0
   8583 _ACEOF
   8584 
   8585 
   8586 fi
   8587 
   8588 
   8589 
   8590 echo "$as_me:$LINENO: checking whether bswap16 is declared" >&5
   8591 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
   8592 if test "${ac_cv_have_decl_bswap16+set}" = set; then
   8593   echo $ECHO_N "(cached) $ECHO_C" >&6
   8594 else
   8595   cat >conftest.$ac_ext <<_ACEOF
   8596 /* confdefs.h.  */
   8597 _ACEOF
   8598 cat confdefs.h >>conftest.$ac_ext
   8599 cat >>conftest.$ac_ext <<_ACEOF
   8600 /* end confdefs.h.  */
   8601 #include <machine/bswap.h>
   8602 
   8603 int
   8604 main ()
   8605 {
   8606 #ifndef bswap16
   8607   char *p = (char *) bswap16;
   8608 #endif
   8609 
   8610   ;
   8611   return 0;
   8612 }
   8613 _ACEOF
   8614 rm -f conftest.$ac_objext
   8615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8616   (eval $ac_compile) 2>conftest.er1
   8617   ac_status=$?
   8618   grep -v '^ *+' conftest.er1 >conftest.err
   8619   rm -f conftest.er1
   8620   cat conftest.err >&5
   8621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8622   (exit $ac_status); } &&
   8623 	 { ac_try='test -z "$ac_c_werror_flag"
   8624 			 || test ! -s conftest.err'
   8625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8626   (eval $ac_try) 2>&5
   8627   ac_status=$?
   8628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8629   (exit $ac_status); }; } &&
   8630 	 { ac_try='test -s conftest.$ac_objext'
   8631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8632   (eval $ac_try) 2>&5
   8633   ac_status=$?
   8634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8635   (exit $ac_status); }; }; then
   8636   ac_cv_have_decl_bswap16=yes
   8637 else
   8638   echo "$as_me: failed program was:" >&5
   8639 sed 's/^/| /' conftest.$ac_ext >&5
   8640 
   8641 ac_cv_have_decl_bswap16=no
   8642 fi
   8643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8644 fi
   8645 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5
   8646 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
   8647 if test $ac_cv_have_decl_bswap16 = yes; then
   8648 
   8649 cat >>confdefs.h <<_ACEOF
   8650 #define HAVE_DECL_BSWAP16 1
   8651 _ACEOF
   8652 
   8653 
   8654 else
   8655   cat >>confdefs.h <<_ACEOF
   8656 #define HAVE_DECL_BSWAP16 0
   8657 _ACEOF
   8658 
   8659 
   8660 fi
   8661 echo "$as_me:$LINENO: checking whether bswap32 is declared" >&5
   8662 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
   8663 if test "${ac_cv_have_decl_bswap32+set}" = set; then
   8664   echo $ECHO_N "(cached) $ECHO_C" >&6
   8665 else
   8666   cat >conftest.$ac_ext <<_ACEOF
   8667 /* confdefs.h.  */
   8668 _ACEOF
   8669 cat confdefs.h >>conftest.$ac_ext
   8670 cat >>conftest.$ac_ext <<_ACEOF
   8671 /* end confdefs.h.  */
   8672 #include <machine/bswap.h>
   8673 
   8674 int
   8675 main ()
   8676 {
   8677 #ifndef bswap32
   8678   char *p = (char *) bswap32;
   8679 #endif
   8680 
   8681   ;
   8682   return 0;
   8683 }
   8684 _ACEOF
   8685 rm -f conftest.$ac_objext
   8686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8687   (eval $ac_compile) 2>conftest.er1
   8688   ac_status=$?
   8689   grep -v '^ *+' conftest.er1 >conftest.err
   8690   rm -f conftest.er1
   8691   cat conftest.err >&5
   8692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8693   (exit $ac_status); } &&
   8694 	 { ac_try='test -z "$ac_c_werror_flag"
   8695 			 || test ! -s conftest.err'
   8696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8697   (eval $ac_try) 2>&5
   8698   ac_status=$?
   8699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8700   (exit $ac_status); }; } &&
   8701 	 { ac_try='test -s conftest.$ac_objext'
   8702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8703   (eval $ac_try) 2>&5
   8704   ac_status=$?
   8705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8706   (exit $ac_status); }; }; then
   8707   ac_cv_have_decl_bswap32=yes
   8708 else
   8709   echo "$as_me: failed program was:" >&5
   8710 sed 's/^/| /' conftest.$ac_ext >&5
   8711 
   8712 ac_cv_have_decl_bswap32=no
   8713 fi
   8714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8715 fi
   8716 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5
   8717 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
   8718 if test $ac_cv_have_decl_bswap32 = yes; then
   8719 
   8720 cat >>confdefs.h <<_ACEOF
   8721 #define HAVE_DECL_BSWAP32 1
   8722 _ACEOF
   8723 
   8724 
   8725 else
   8726   cat >>confdefs.h <<_ACEOF
   8727 #define HAVE_DECL_BSWAP32 0
   8728 _ACEOF
   8729 
   8730 
   8731 fi
   8732 echo "$as_me:$LINENO: checking whether bswap64 is declared" >&5
   8733 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
   8734 if test "${ac_cv_have_decl_bswap64+set}" = set; then
   8735   echo $ECHO_N "(cached) $ECHO_C" >&6
   8736 else
   8737   cat >conftest.$ac_ext <<_ACEOF
   8738 /* confdefs.h.  */
   8739 _ACEOF
   8740 cat confdefs.h >>conftest.$ac_ext
   8741 cat >>conftest.$ac_ext <<_ACEOF
   8742 /* end confdefs.h.  */
   8743 #include <machine/bswap.h>
   8744 
   8745 int
   8746 main ()
   8747 {
   8748 #ifndef bswap64
   8749   char *p = (char *) bswap64;
   8750 #endif
   8751 
   8752   ;
   8753   return 0;
   8754 }
   8755 _ACEOF
   8756 rm -f conftest.$ac_objext
   8757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8758   (eval $ac_compile) 2>conftest.er1
   8759   ac_status=$?
   8760   grep -v '^ *+' conftest.er1 >conftest.err
   8761   rm -f conftest.er1
   8762   cat conftest.err >&5
   8763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8764   (exit $ac_status); } &&
   8765 	 { ac_try='test -z "$ac_c_werror_flag"
   8766 			 || test ! -s conftest.err'
   8767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8768   (eval $ac_try) 2>&5
   8769   ac_status=$?
   8770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8771   (exit $ac_status); }; } &&
   8772 	 { ac_try='test -s conftest.$ac_objext'
   8773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8774   (eval $ac_try) 2>&5
   8775   ac_status=$?
   8776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8777   (exit $ac_status); }; }; then
   8778   ac_cv_have_decl_bswap64=yes
   8779 else
   8780   echo "$as_me: failed program was:" >&5
   8781 sed 's/^/| /' conftest.$ac_ext >&5
   8782 
   8783 ac_cv_have_decl_bswap64=no
   8784 fi
   8785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8786 fi
   8787 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5
   8788 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
   8789 if test $ac_cv_have_decl_bswap64 = yes; then
   8790 
   8791 cat >>confdefs.h <<_ACEOF
   8792 #define HAVE_DECL_BSWAP64 1
   8793 _ACEOF
   8794 
   8795 
   8796 else
   8797   cat >>confdefs.h <<_ACEOF
   8798 #define HAVE_DECL_BSWAP64 0
   8799 _ACEOF
   8800 
   8801 
   8802 fi
   8803 
   8804 
   8805 
   8806 echo "$as_me:$LINENO: checking whether fstatvfs is declared" >&5
   8807 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
   8808 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then
   8809   echo $ECHO_N "(cached) $ECHO_C" >&6
   8810 else
   8811   cat >conftest.$ac_ext <<_ACEOF
   8812 /* confdefs.h.  */
   8813 _ACEOF
   8814 cat confdefs.h >>conftest.$ac_ext
   8815 cat >>conftest.$ac_ext <<_ACEOF
   8816 /* end confdefs.h.  */
   8817 #include <sys/statvfs.h>
   8818 
   8819 int
   8820 main ()
   8821 {
   8822 #ifndef fstatvfs
   8823   char *p = (char *) fstatvfs;
   8824 #endif
   8825 
   8826   ;
   8827   return 0;
   8828 }
   8829 _ACEOF
   8830 rm -f conftest.$ac_objext
   8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8832   (eval $ac_compile) 2>conftest.er1
   8833   ac_status=$?
   8834   grep -v '^ *+' conftest.er1 >conftest.err
   8835   rm -f conftest.er1
   8836   cat conftest.err >&5
   8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8838   (exit $ac_status); } &&
   8839 	 { ac_try='test -z "$ac_c_werror_flag"
   8840 			 || test ! -s conftest.err'
   8841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8842   (eval $ac_try) 2>&5
   8843   ac_status=$?
   8844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8845   (exit $ac_status); }; } &&
   8846 	 { ac_try='test -s conftest.$ac_objext'
   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); }; }; then
   8852   ac_cv_have_decl_fstatvfs=yes
   8853 else
   8854   echo "$as_me: failed program was:" >&5
   8855 sed 's/^/| /' conftest.$ac_ext >&5
   8856 
   8857 ac_cv_have_decl_fstatvfs=no
   8858 fi
   8859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5
   8862 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
   8863 if test $ac_cv_have_decl_fstatvfs = yes; then
   8864 
   8865 cat >>confdefs.h <<_ACEOF
   8866 #define HAVE_DECL_FSTATVFS 1
   8867 _ACEOF
   8868 
   8869 
   8870 else
   8871   cat >>confdefs.h <<_ACEOF
   8872 #define HAVE_DECL_FSTATVFS 0
   8873 _ACEOF
   8874 
   8875 
   8876 fi
   8877 
   8878 
   8879 
   8880 echo "$as_me:$LINENO: checking whether setgroupent is declared" >&5
   8881 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   8882 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   8883   echo $ECHO_N "(cached) $ECHO_C" >&6
   8884 else
   8885   cat >conftest.$ac_ext <<_ACEOF
   8886 /* confdefs.h.  */
   8887 _ACEOF
   8888 cat confdefs.h >>conftest.$ac_ext
   8889 cat >>conftest.$ac_ext <<_ACEOF
   8890 /* end confdefs.h.  */
   8891 
   8892 #include <sys/types.h>
   8893 #include <grp.h>
   8894 #include <pwd.h>
   8895 
   8896 
   8897 int
   8898 main ()
   8899 {
   8900 #ifndef setgroupent
   8901   char *p = (char *) setgroupent;
   8902 #endif
   8903 
   8904   ;
   8905   return 0;
   8906 }
   8907 _ACEOF
   8908 rm -f conftest.$ac_objext
   8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8910   (eval $ac_compile) 2>conftest.er1
   8911   ac_status=$?
   8912   grep -v '^ *+' conftest.er1 >conftest.err
   8913   rm -f conftest.er1
   8914   cat conftest.err >&5
   8915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8916   (exit $ac_status); } &&
   8917 	 { ac_try='test -z "$ac_c_werror_flag"
   8918 			 || test ! -s conftest.err'
   8919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8920   (eval $ac_try) 2>&5
   8921   ac_status=$?
   8922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8923   (exit $ac_status); }; } &&
   8924 	 { ac_try='test -s conftest.$ac_objext'
   8925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8926   (eval $ac_try) 2>&5
   8927   ac_status=$?
   8928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8929   (exit $ac_status); }; }; then
   8930   ac_cv_have_decl_setgroupent=yes
   8931 else
   8932   echo "$as_me: failed program was:" >&5
   8933 sed 's/^/| /' conftest.$ac_ext >&5
   8934 
   8935 ac_cv_have_decl_setgroupent=no
   8936 fi
   8937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8938 fi
   8939 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
   8940 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   8941 if test $ac_cv_have_decl_setgroupent = yes; then
   8942 
   8943 cat >>confdefs.h <<_ACEOF
   8944 #define HAVE_DECL_SETGROUPENT 1
   8945 _ACEOF
   8946 
   8947 
   8948 else
   8949   cat >>confdefs.h <<_ACEOF
   8950 #define HAVE_DECL_SETGROUPENT 0
   8951 _ACEOF
   8952 
   8953 
   8954 fi
   8955 echo "$as_me:$LINENO: checking whether setpassent is declared" >&5
   8956 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   8957 if test "${ac_cv_have_decl_setpassent+set}" = set; then
   8958   echo $ECHO_N "(cached) $ECHO_C" >&6
   8959 else
   8960   cat >conftest.$ac_ext <<_ACEOF
   8961 /* confdefs.h.  */
   8962 _ACEOF
   8963 cat confdefs.h >>conftest.$ac_ext
   8964 cat >>conftest.$ac_ext <<_ACEOF
   8965 /* end confdefs.h.  */
   8966 
   8967 #include <sys/types.h>
   8968 #include <grp.h>
   8969 #include <pwd.h>
   8970 
   8971 
   8972 int
   8973 main ()
   8974 {
   8975 #ifndef setpassent
   8976   char *p = (char *) setpassent;
   8977 #endif
   8978 
   8979   ;
   8980   return 0;
   8981 }
   8982 _ACEOF
   8983 rm -f conftest.$ac_objext
   8984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8985   (eval $ac_compile) 2>conftest.er1
   8986   ac_status=$?
   8987   grep -v '^ *+' conftest.er1 >conftest.err
   8988   rm -f conftest.er1
   8989   cat conftest.err >&5
   8990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8991   (exit $ac_status); } &&
   8992 	 { ac_try='test -z "$ac_c_werror_flag"
   8993 			 || test ! -s conftest.err'
   8994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8995   (eval $ac_try) 2>&5
   8996   ac_status=$?
   8997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8998   (exit $ac_status); }; } &&
   8999 	 { ac_try='test -s conftest.$ac_objext'
   9000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9001   (eval $ac_try) 2>&5
   9002   ac_status=$?
   9003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9004   (exit $ac_status); }; }; then
   9005   ac_cv_have_decl_setpassent=yes
   9006 else
   9007   echo "$as_me: failed program was:" >&5
   9008 sed 's/^/| /' conftest.$ac_ext >&5
   9009 
   9010 ac_cv_have_decl_setpassent=no
   9011 fi
   9012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9013 fi
   9014 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
   9015 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   9016 if test $ac_cv_have_decl_setpassent = yes; then
   9017 
   9018 cat >>confdefs.h <<_ACEOF
   9019 #define HAVE_DECL_SETPASSENT 1
   9020 _ACEOF
   9021 
   9022 
   9023 else
   9024   cat >>confdefs.h <<_ACEOF
   9025 #define HAVE_DECL_SETPASSENT 0
   9026 _ACEOF
   9027 
   9028 
   9029 fi
   9030 
   9031 
   9032 
   9033 # regcomp() and regexec() are also names of functions in the old V8
   9034 # regexp package.  To avoid them, we need to find out who has regfree().
   9035 
   9036 
   9037 echo "$as_me:$LINENO: checking for regfree in -lregex" >&5
   9038 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   9039 if test "${ac_cv_lib_regex_regfree+set}" = set; then
   9040   echo $ECHO_N "(cached) $ECHO_C" >&6
   9041 else
   9042   ac_check_lib_save_LIBS=$LIBS
   9043 LIBS="-lregex  $LIBS"
   9044 cat >conftest.$ac_ext <<_ACEOF
   9045 /* confdefs.h.  */
   9046 _ACEOF
   9047 cat confdefs.h >>conftest.$ac_ext
   9048 cat >>conftest.$ac_ext <<_ACEOF
   9049 /* end confdefs.h.  */
   9050 
   9051 /* Override any gcc2 internal prototype to avoid an error.  */
   9052 #ifdef __cplusplus
   9053 extern "C"
   9054 #endif
   9055 /* We use char because int might match the return type of a gcc2
   9056    builtin and then its argument prototype would still apply.  */
   9057 char regfree ();
   9058 int
   9059 main ()
   9060 {
   9061 regfree ();
   9062   ;
   9063   return 0;
   9064 }
   9065 _ACEOF
   9066 rm -f conftest.$ac_objext conftest$ac_exeext
   9067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9068   (eval $ac_link) 2>conftest.er1
   9069   ac_status=$?
   9070   grep -v '^ *+' conftest.er1 >conftest.err
   9071   rm -f conftest.er1
   9072   cat conftest.err >&5
   9073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9074   (exit $ac_status); } &&
   9075 	 { ac_try='test -z "$ac_c_werror_flag"
   9076 			 || test ! -s conftest.err'
   9077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9078   (eval $ac_try) 2>&5
   9079   ac_status=$?
   9080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9081   (exit $ac_status); }; } &&
   9082 	 { ac_try='test -s conftest$ac_exeext'
   9083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9084   (eval $ac_try) 2>&5
   9085   ac_status=$?
   9086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9087   (exit $ac_status); }; }; then
   9088   ac_cv_lib_regex_regfree=yes
   9089 else
   9090   echo "$as_me: failed program was:" >&5
   9091 sed 's/^/| /' conftest.$ac_ext >&5
   9092 
   9093 ac_cv_lib_regex_regfree=no
   9094 fi
   9095 rm -f conftest.err conftest.$ac_objext \
   9096       conftest$ac_exeext conftest.$ac_ext
   9097 LIBS=$ac_check_lib_save_LIBS
   9098 fi
   9099 echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
   9100 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   9101 if test $ac_cv_lib_regex_regfree = yes; then
   9102   cat >>confdefs.h <<_ACEOF
   9103 #define HAVE_LIBREGEX 1
   9104 _ACEOF
   9105 
   9106   LIBS="-lregex $LIBS"
   9107 
   9108 fi
   9109 
   9110 echo "$as_me:$LINENO: checking for library containing regfree" >&5
   9111 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   9112 if test "${ac_cv_search_regfree+set}" = set; then
   9113   echo $ECHO_N "(cached) $ECHO_C" >&6
   9114 else
   9115   ac_func_search_save_LIBS=$LIBS
   9116 ac_cv_search_regfree=no
   9117 cat >conftest.$ac_ext <<_ACEOF
   9118 /* confdefs.h.  */
   9119 _ACEOF
   9120 cat confdefs.h >>conftest.$ac_ext
   9121 cat >>conftest.$ac_ext <<_ACEOF
   9122 /* end confdefs.h.  */
   9123 
   9124 /* Override any gcc2 internal prototype to avoid an error.  */
   9125 #ifdef __cplusplus
   9126 extern "C"
   9127 #endif
   9128 /* We use char because int might match the return type of a gcc2
   9129    builtin and then its argument prototype would still apply.  */
   9130 char regfree ();
   9131 int
   9132 main ()
   9133 {
   9134 regfree ();
   9135   ;
   9136   return 0;
   9137 }
   9138 _ACEOF
   9139 rm -f conftest.$ac_objext conftest$ac_exeext
   9140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9141   (eval $ac_link) 2>conftest.er1
   9142   ac_status=$?
   9143   grep -v '^ *+' conftest.er1 >conftest.err
   9144   rm -f conftest.er1
   9145   cat conftest.err >&5
   9146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9147   (exit $ac_status); } &&
   9148 	 { ac_try='test -z "$ac_c_werror_flag"
   9149 			 || test ! -s conftest.err'
   9150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9151   (eval $ac_try) 2>&5
   9152   ac_status=$?
   9153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9154   (exit $ac_status); }; } &&
   9155 	 { ac_try='test -s conftest$ac_exeext'
   9156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9157   (eval $ac_try) 2>&5
   9158   ac_status=$?
   9159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9160   (exit $ac_status); }; }; then
   9161   ac_cv_search_regfree="none required"
   9162 else
   9163   echo "$as_me: failed program was:" >&5
   9164 sed 's/^/| /' conftest.$ac_ext >&5
   9165 
   9166 fi
   9167 rm -f conftest.err conftest.$ac_objext \
   9168       conftest$ac_exeext conftest.$ac_ext
   9169 if test "$ac_cv_search_regfree" = no; then
   9170   for ac_lib in rx posix; do
   9171     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   9172     cat >conftest.$ac_ext <<_ACEOF
   9173 /* confdefs.h.  */
   9174 _ACEOF
   9175 cat confdefs.h >>conftest.$ac_ext
   9176 cat >>conftest.$ac_ext <<_ACEOF
   9177 /* end confdefs.h.  */
   9178 
   9179 /* Override any gcc2 internal prototype to avoid an error.  */
   9180 #ifdef __cplusplus
   9181 extern "C"
   9182 #endif
   9183 /* We use char because int might match the return type of a gcc2
   9184    builtin and then its argument prototype would still apply.  */
   9185 char regfree ();
   9186 int
   9187 main ()
   9188 {
   9189 regfree ();
   9190   ;
   9191   return 0;
   9192 }
   9193 _ACEOF
   9194 rm -f conftest.$ac_objext conftest$ac_exeext
   9195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9196   (eval $ac_link) 2>conftest.er1
   9197   ac_status=$?
   9198   grep -v '^ *+' conftest.er1 >conftest.err
   9199   rm -f conftest.er1
   9200   cat conftest.err >&5
   9201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9202   (exit $ac_status); } &&
   9203 	 { ac_try='test -z "$ac_c_werror_flag"
   9204 			 || test ! -s conftest.err'
   9205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9206   (eval $ac_try) 2>&5
   9207   ac_status=$?
   9208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9209   (exit $ac_status); }; } &&
   9210 	 { ac_try='test -s conftest$ac_exeext'
   9211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9212   (eval $ac_try) 2>&5
   9213   ac_status=$?
   9214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9215   (exit $ac_status); }; }; then
   9216   ac_cv_search_regfree="-l$ac_lib"
   9217 break
   9218 else
   9219   echo "$as_me: failed program was:" >&5
   9220 sed 's/^/| /' conftest.$ac_ext >&5
   9221 
   9222 fi
   9223 rm -f conftest.err conftest.$ac_objext \
   9224       conftest$ac_exeext conftest.$ac_ext
   9225   done
   9226 fi
   9227 LIBS=$ac_func_search_save_LIBS
   9228 fi
   9229 echo "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
   9230 echo "${ECHO_T}$ac_cv_search_regfree" >&6
   9231 if test "$ac_cv_search_regfree" != no; then
   9232   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   9233 
   9234 fi
   9235 
   9236 
   9237 cat >confcache <<\_ACEOF
   9238 # This file is a shell script that caches the results of configure
   9239 # tests run on this system so they can be shared between configure
   9240 # scripts and configure runs, see configure's option --config-cache.
   9241 # It is not useful on other systems.  If it contains results you don't
   9242 # want to keep, you may remove or edit it.
   9243 #
   9244 # config.status only pays attention to the cache file if you give it
   9245 # the --recheck option to rerun configure.
   9246 #
   9247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   9248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   9249 # following values.
   9250 
   9251 _ACEOF
   9252 
   9253 # The following way of writing the cache mishandles newlines in values,
   9254 # but we know of no workaround that is simple, portable, and efficient.
   9255 # So, don't put newlines in cache variables' values.
   9256 # Ultrix sh set writes to stderr and can't be redirected directly,
   9257 # and sets the high bit in the cache file unless we assign to the vars.
   9258 {
   9259   (set) 2>&1 |
   9260     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   9261     *ac_space=\ *)
   9262       # `set' does not quote correctly, so add quotes (double-quote
   9263       # substitution turns \\\\ into \\, and sed turns \\ into \).
   9264       sed -n \
   9265 	"s/'/'\\\\''/g;
   9266 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   9267       ;;
   9268     *)
   9269       # `set' quotes correctly as required by POSIX, so do not add quotes.
   9270       sed -n \
   9271 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   9272       ;;
   9273     esac;
   9274 } |
   9275   sed '
   9276      t clear
   9277      : clear
   9278      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   9279      t end
   9280      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   9281      : end' >>confcache
   9282 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   9283   if test -w $cache_file; then
   9284     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   9285     cat confcache >$cache_file
   9286   else
   9287     echo "not updating unwritable cache $cache_file"
   9288   fi
   9289 fi
   9290 rm -f confcache
   9291 
   9292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   9293 # Let make expand exec_prefix.
   9294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   9295 
   9296 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   9297 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   9298 # trailing colons and then remove the whole line if VPATH becomes empty
   9299 # (actually we leave an empty line to preserve line numbers).
   9300 if test "x$srcdir" = x.; then
   9301   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   9302 s/:*\$(srcdir):*/:/;
   9303 s/:*\${srcdir}:*/:/;
   9304 s/:*@srcdir@:*/:/;
   9305 s/^\([^=]*=[	 ]*\):*/\1/;
   9306 s/:*$//;
   9307 s/^[^=]*=[	 ]*$//;
   9308 }'
   9309 fi
   9310 
   9311 DEFS=-DHAVE_CONFIG_H
   9312 
   9313 ac_libobjs=
   9314 ac_ltlibobjs=
   9315 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   9316   # 1. Remove the extension, and $U if already installed.
   9317   ac_i=`echo "$ac_i" |
   9318 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   9319   # 2. Add them.
   9320   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   9321   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   9322 done
   9323 LIBOBJS=$ac_libobjs
   9324 
   9325 LTLIBOBJS=$ac_ltlibobjs
   9326 
   9327 
   9328 
   9329 : ${CONFIG_STATUS=./config.status}
   9330 ac_clean_files_save=$ac_clean_files
   9331 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   9332 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   9333 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   9334 cat >$CONFIG_STATUS <<_ACEOF
   9335 #! $SHELL
   9336 # Generated by $as_me.
   9337 # Run this file to recreate the current configuration.
   9338 # Compiler output produced by configure, useful for debugging
   9339 # configure, is in config.log if it exists.
   9340 
   9341 debug=false
   9342 ac_cs_recheck=false
   9343 ac_cs_silent=false
   9344 SHELL=\${CONFIG_SHELL-$SHELL}
   9345 _ACEOF
   9346 
   9347 cat >>$CONFIG_STATUS <<\_ACEOF
   9348 ## --------------------- ##
   9349 ## M4sh Initialization.  ##
   9350 ## --------------------- ##
   9351 
   9352 # Be Bourne compatible
   9353 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   9354   emulate sh
   9355   NULLCMD=:
   9356   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   9357   # is contrary to our usage.  Disable this feature.
   9358   alias -g '${1+"$@"}'='"$@"'
   9359 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   9360   set -o posix
   9361 fi
   9362 DUALCASE=1; export DUALCASE # for MKS sh
   9363 
   9364 # Support unset when possible.
   9365 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9366   as_unset=unset
   9367 else
   9368   as_unset=false
   9369 fi
   9370 
   9371 
   9372 # Work around bugs in pre-3.0 UWIN ksh.
   9373 $as_unset ENV MAIL MAILPATH
   9374 PS1='$ '
   9375 PS2='> '
   9376 PS4='+ '
   9377 
   9378 # NLS nuisances.
   9379 for as_var in \
   9380   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   9381   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   9382   LC_TELEPHONE LC_TIME
   9383 do
   9384   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   9385     eval $as_var=C; export $as_var
   9386   else
   9387     $as_unset $as_var
   9388   fi
   9389 done
   9390 
   9391 # Required to use basename.
   9392 if expr a : '\(a\)' >/dev/null 2>&1; then
   9393   as_expr=expr
   9394 else
   9395   as_expr=false
   9396 fi
   9397 
   9398 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   9399   as_basename=basename
   9400 else
   9401   as_basename=false
   9402 fi
   9403 
   9404 
   9405 # Name of the executable.
   9406 as_me=`$as_basename "$0" ||
   9407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   9408 	 X"$0" : 'X\(//\)$' \| \
   9409 	 X"$0" : 'X\(/\)$' \| \
   9410 	 .     : '\(.\)' 2>/dev/null ||
   9411 echo X/"$0" |
   9412     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   9413   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   9414   	  /^X\/\(\/\).*/{ s//\1/; q; }
   9415   	  s/.*/./; q'`
   9416 
   9417 
   9418 # PATH needs CR, and LINENO needs CR and PATH.
   9419 # Avoid depending upon Character Ranges.
   9420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   9421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   9422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   9423 as_cr_digits='0123456789'
   9424 as_cr_alnum=$as_cr_Letters$as_cr_digits
   9425 
   9426 # The user is always right.
   9427 if test "${PATH_SEPARATOR+set}" != set; then
   9428   echo "#! /bin/sh" >conf$$.sh
   9429   echo  "exit 0"   >>conf$$.sh
   9430   chmod +x conf$$.sh
   9431   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9432     PATH_SEPARATOR=';'
   9433   else
   9434     PATH_SEPARATOR=:
   9435   fi
   9436   rm -f conf$$.sh
   9437 fi
   9438 
   9439 
   9440   as_lineno_1=$LINENO
   9441   as_lineno_2=$LINENO
   9442   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9443   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9444   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   9445   # Find who we are.  Look in the path if we contain no path at all
   9446   # relative or not.
   9447   case $0 in
   9448     *[\\/]* ) as_myself=$0 ;;
   9449     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9450 for as_dir in $PATH
   9451 do
   9452   IFS=$as_save_IFS
   9453   test -z "$as_dir" && as_dir=.
   9454   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   9455 done
   9456 
   9457        ;;
   9458   esac
   9459   # We did not find ourselves, most probably we were run as `sh COMMAND'
   9460   # in which case we are not to be found in the path.
   9461   if test "x$as_myself" = x; then
   9462     as_myself=$0
   9463   fi
   9464   if test ! -f "$as_myself"; then
   9465     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   9466 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   9467    { (exit 1); exit 1; }; }
   9468   fi
   9469   case $CONFIG_SHELL in
   9470   '')
   9471     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9472 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   9473 do
   9474   IFS=$as_save_IFS
   9475   test -z "$as_dir" && as_dir=.
   9476   for as_base in sh bash ksh sh5; do
   9477 	 case $as_dir in
   9478 	 /*)
   9479 	   if ("$as_dir/$as_base" -c '
   9480   as_lineno_1=$LINENO
   9481   as_lineno_2=$LINENO
   9482   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9483   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9484   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   9485 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   9486 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   9487 	     CONFIG_SHELL=$as_dir/$as_base
   9488 	     export CONFIG_SHELL
   9489 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   9490 	   fi;;
   9491 	 esac
   9492        done
   9493 done
   9494 ;;
   9495   esac
   9496 
   9497   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   9498   # uniformly replaced by the line number.  The first 'sed' inserts a
   9499   # line-number line before each line; the second 'sed' does the real
   9500   # work.  The second script uses 'N' to pair each line-number line
   9501   # with the numbered line, and appends trailing '-' during
   9502   # substitution so that $LINENO is not a special case at line end.
   9503   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   9504   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   9505   sed '=' <$as_myself |
   9506     sed '
   9507       N
   9508       s,$,-,
   9509       : loop
   9510       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   9511       t loop
   9512       s,-$,,
   9513       s,^['$as_cr_digits']*\n,,
   9514     ' >$as_me.lineno &&
   9515   chmod +x $as_me.lineno ||
   9516     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   9517 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   9518    { (exit 1); exit 1; }; }
   9519 
   9520   # Don't try to exec as it changes $[0], causing all sort of problems
   9521   # (the dirname of $[0] is not the place where we might find the
   9522   # original and so on.  Autoconf is especially sensible to this).
   9523   . ./$as_me.lineno
   9524   # Exit status is that of the last command.
   9525   exit
   9526 }
   9527 
   9528 
   9529 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   9530   *c*,-n*) ECHO_N= ECHO_C='
   9531 ' ECHO_T='	' ;;
   9532   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   9533   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   9534 esac
   9535 
   9536 if expr a : '\(a\)' >/dev/null 2>&1; then
   9537   as_expr=expr
   9538 else
   9539   as_expr=false
   9540 fi
   9541 
   9542 rm -f conf$$ conf$$.exe conf$$.file
   9543 echo >conf$$.file
   9544 if ln -s conf$$.file conf$$ 2>/dev/null; then
   9545   # We could just check for DJGPP; but this test a) works b) is more generic
   9546   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   9547   if test -f conf$$.exe; then
   9548     # Don't use ln at all; we don't have any links
   9549     as_ln_s='cp -p'
   9550   else
   9551     as_ln_s='ln -s'
   9552   fi
   9553 elif ln conf$$.file conf$$ 2>/dev/null; then
   9554   as_ln_s=ln
   9555 else
   9556   as_ln_s='cp -p'
   9557 fi
   9558 rm -f conf$$ conf$$.exe conf$$.file
   9559 
   9560 if mkdir -p . 2>/dev/null; then
   9561   as_mkdir_p=:
   9562 else
   9563   test -d ./-p && rmdir ./-p
   9564   as_mkdir_p=false
   9565 fi
   9566 
   9567 as_executable_p="test -f"
   9568 
   9569 # Sed expression to map a string onto a valid CPP name.
   9570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   9571 
   9572 # Sed expression to map a string onto a valid variable name.
   9573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   9574 
   9575 
   9576 # IFS
   9577 # We need space, tab and new line, in precisely that order.
   9578 as_nl='
   9579 '
   9580 IFS=" 	$as_nl"
   9581 
   9582 # CDPATH.
   9583 $as_unset CDPATH
   9584 
   9585 exec 6>&1
   9586 
   9587 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   9588 # report actual input values of CONFIG_FILES etc. instead of their
   9589 # values after options handling.  Logging --version etc. is OK.
   9590 exec 5>>config.log
   9591 {
   9592   echo
   9593   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   9594 ## Running $as_me. ##
   9595 _ASBOX
   9596 } >&5
   9597 cat >&5 <<_CSEOF
   9598 
   9599 This file was extended by libnbcompat $as_me noversion, which was
   9600 generated by GNU Autoconf 2.59.  Invocation command line was
   9601 
   9602   CONFIG_FILES    = $CONFIG_FILES
   9603   CONFIG_HEADERS  = $CONFIG_HEADERS
   9604   CONFIG_LINKS    = $CONFIG_LINKS
   9605   CONFIG_COMMANDS = $CONFIG_COMMANDS
   9606   $ $0 $@
   9607 
   9608 _CSEOF
   9609 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   9610 echo >&5
   9611 _ACEOF
   9612 
   9613 # Files that config.status was made for.
   9614 if test -n "$ac_config_files"; then
   9615   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   9616 fi
   9617 
   9618 if test -n "$ac_config_headers"; then
   9619   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   9620 fi
   9621 
   9622 if test -n "$ac_config_links"; then
   9623   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   9624 fi
   9625 
   9626 if test -n "$ac_config_commands"; then
   9627   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   9628 fi
   9629 
   9630 cat >>$CONFIG_STATUS <<\_ACEOF
   9631 
   9632 ac_cs_usage="\
   9633 \`$as_me' instantiates files from templates according to the
   9634 current configuration.
   9635 
   9636 Usage: $0 [OPTIONS] [FILE]...
   9637 
   9638   -h, --help       print this help, then exit
   9639   -V, --version    print version number, then exit
   9640   -q, --quiet      do not print progress messages
   9641   -d, --debug      don't remove temporary files
   9642       --recheck    update $as_me by reconfiguring in the same conditions
   9643   --file=FILE[:TEMPLATE]
   9644 		   instantiate the configuration file FILE
   9645   --header=FILE[:TEMPLATE]
   9646 		   instantiate the configuration header FILE
   9647 
   9648 Configuration files:
   9649 $config_files
   9650 
   9651 Configuration headers:
   9652 $config_headers
   9653 
   9654 Report bugs to <bug-autoconf@gnu.org>."
   9655 _ACEOF
   9656 
   9657 cat >>$CONFIG_STATUS <<_ACEOF
   9658 ac_cs_version="\\
   9659 libnbcompat config.status noversion
   9660 configured by $0, generated by GNU Autoconf 2.59,
   9661   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   9662 
   9663 Copyright (C) 2003 Free Software Foundation, Inc.
   9664 This config.status script is free software; the Free Software Foundation
   9665 gives unlimited permission to copy, distribute and modify it."
   9666 srcdir=$srcdir
   9667 _ACEOF
   9668 
   9669 cat >>$CONFIG_STATUS <<\_ACEOF
   9670 # If no file are specified by the user, then we need to provide default
   9671 # value.  By we need to know if files were specified by the user.
   9672 ac_need_defaults=:
   9673 while test $# != 0
   9674 do
   9675   case $1 in
   9676   --*=*)
   9677     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   9678     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   9679     ac_shift=:
   9680     ;;
   9681   -*)
   9682     ac_option=$1
   9683     ac_optarg=$2
   9684     ac_shift=shift
   9685     ;;
   9686   *) # This is not an option, so the user has probably given explicit
   9687      # arguments.
   9688      ac_option=$1
   9689      ac_need_defaults=false;;
   9690   esac
   9691 
   9692   case $ac_option in
   9693   # Handling of the options.
   9694 _ACEOF
   9695 cat >>$CONFIG_STATUS <<\_ACEOF
   9696   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   9697     ac_cs_recheck=: ;;
   9698   --version | --vers* | -V )
   9699     echo "$ac_cs_version"; exit 0 ;;
   9700   --he | --h)
   9701     # Conflict between --help and --header
   9702     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   9703 Try \`$0 --help' for more information." >&5
   9704 echo "$as_me: error: ambiguous option: $1
   9705 Try \`$0 --help' for more information." >&2;}
   9706    { (exit 1); exit 1; }; };;
   9707   --help | --hel | -h )
   9708     echo "$ac_cs_usage"; exit 0 ;;
   9709   --debug | --d* | -d )
   9710     debug=: ;;
   9711   --file | --fil | --fi | --f )
   9712     $ac_shift
   9713     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   9714     ac_need_defaults=false;;
   9715   --header | --heade | --head | --hea )
   9716     $ac_shift
   9717     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   9718     ac_need_defaults=false;;
   9719   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   9720   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   9721     ac_cs_silent=: ;;
   9722 
   9723   # This is an error.
   9724   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   9725 Try \`$0 --help' for more information." >&5
   9726 echo "$as_me: error: unrecognized option: $1
   9727 Try \`$0 --help' for more information." >&2;}
   9728    { (exit 1); exit 1; }; } ;;
   9729 
   9730   *) ac_config_targets="$ac_config_targets $1" ;;
   9731 
   9732   esac
   9733   shift
   9734 done
   9735 
   9736 ac_configure_extra_args=
   9737 
   9738 if $ac_cs_silent; then
   9739   exec 6>/dev/null
   9740   ac_configure_extra_args="$ac_configure_extra_args --silent"
   9741 fi
   9742 
   9743 _ACEOF
   9744 cat >>$CONFIG_STATUS <<_ACEOF
   9745 if \$ac_cs_recheck; then
   9746   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   9747   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   9748 fi
   9749 
   9750 _ACEOF
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 cat >>$CONFIG_STATUS <<\_ACEOF
   9757 for ac_config_target in $ac_config_targets
   9758 do
   9759   case "$ac_config_target" in
   9760   # Handling of arguments.
   9761   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   9762   "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   9763   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   9764 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   9765    { (exit 1); exit 1; }; };;
   9766   esac
   9767 done
   9768 
   9769 # If the user did not use the arguments to specify the items to instantiate,
   9770 # then the envvar interface is used.  Set only those that are not.
   9771 # We use the long form for the default assignment because of an extremely
   9772 # bizarre bug on SunOS 4.1.3.
   9773 if $ac_need_defaults; then
   9774   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   9775   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   9776 fi
   9777 
   9778 # Have a temporary directory for convenience.  Make it in the build tree
   9779 # simply because there is no reason to put it here, and in addition,
   9780 # creating and moving files from /tmp can sometimes cause problems.
   9781 # Create a temporary directory, and hook for its removal unless debugging.
   9782 $debug ||
   9783 {
   9784   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   9785   trap '{ (exit 1); exit 1; }' 1 2 13 15
   9786 }
   9787 
   9788 # Create a (secure) tmp directory for tmp files.
   9789 
   9790 {
   9791   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   9792   test -n "$tmp" && test -d "$tmp"
   9793 }  ||
   9794 {
   9795   tmp=./confstat$$-$RANDOM
   9796   (umask 077 && mkdir $tmp)
   9797 } ||
   9798 {
   9799    echo "$me: cannot create a temporary directory in ." >&2
   9800    { (exit 1); exit 1; }
   9801 }
   9802 
   9803 _ACEOF
   9804 
   9805 cat >>$CONFIG_STATUS <<_ACEOF
   9806 
   9807 #
   9808 # CONFIG_FILES section.
   9809 #
   9810 
   9811 # No need to generate the scripts if there are no CONFIG_FILES.
   9812 # This happens for instance when ./config.status config.h
   9813 if test -n "\$CONFIG_FILES"; then
   9814   # Protect against being on the right side of a sed subst in config.status.
   9815   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   9816    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   9817 s,@SHELL@,$SHELL,;t t
   9818 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   9819 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   9820 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   9821 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   9822 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   9823 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   9824 s,@exec_prefix@,$exec_prefix,;t t
   9825 s,@prefix@,$prefix,;t t
   9826 s,@program_transform_name@,$program_transform_name,;t t
   9827 s,@bindir@,$bindir,;t t
   9828 s,@sbindir@,$sbindir,;t t
   9829 s,@libexecdir@,$libexecdir,;t t
   9830 s,@datadir@,$datadir,;t t
   9831 s,@sysconfdir@,$sysconfdir,;t t
   9832 s,@sharedstatedir@,$sharedstatedir,;t t
   9833 s,@localstatedir@,$localstatedir,;t t
   9834 s,@libdir@,$libdir,;t t
   9835 s,@includedir@,$includedir,;t t
   9836 s,@oldincludedir@,$oldincludedir,;t t
   9837 s,@infodir@,$infodir,;t t
   9838 s,@mandir@,$mandir,;t t
   9839 s,@build_alias@,$build_alias,;t t
   9840 s,@host_alias@,$host_alias,;t t
   9841 s,@target_alias@,$target_alias,;t t
   9842 s,@DEFS@,$DEFS,;t t
   9843 s,@ECHO_C@,$ECHO_C,;t t
   9844 s,@ECHO_N@,$ECHO_N,;t t
   9845 s,@ECHO_T@,$ECHO_T,;t t
   9846 s,@LIBS@,$LIBS,;t t
   9847 s,@CC@,$CC,;t t
   9848 s,@CFLAGS@,$CFLAGS,;t t
   9849 s,@LDFLAGS@,$LDFLAGS,;t t
   9850 s,@CPPFLAGS@,$CPPFLAGS,;t t
   9851 s,@ac_ct_CC@,$ac_ct_CC,;t t
   9852 s,@EXEEXT@,$EXEEXT,;t t
   9853 s,@OBJEXT@,$OBJEXT,;t t
   9854 s,@CPP@,$CPP,;t t
   9855 s,@EGREP@,$EGREP,;t t
   9856 s,@BSHELL@,$BSHELL,;t t
   9857 s,@ALLOCA@,$ALLOCA,;t t
   9858 s,@LIBOBJS@,$LIBOBJS,;t t
   9859 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   9860 CEOF
   9861 
   9862 _ACEOF
   9863 
   9864   cat >>$CONFIG_STATUS <<\_ACEOF
   9865   # Split the substitutions into bite-sized pieces for seds with
   9866   # small command number limits, like on Digital OSF/1 and HP-UX.
   9867   ac_max_sed_lines=48
   9868   ac_sed_frag=1 # Number of current file.
   9869   ac_beg=1 # First line for current file.
   9870   ac_end=$ac_max_sed_lines # Line after last line for current file.
   9871   ac_more_lines=:
   9872   ac_sed_cmds=
   9873   while $ac_more_lines; do
   9874     if test $ac_beg -gt 1; then
   9875       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   9876     else
   9877       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   9878     fi
   9879     if test ! -s $tmp/subs.frag; then
   9880       ac_more_lines=false
   9881     else
   9882       # The purpose of the label and of the branching condition is to
   9883       # speed up the sed processing (if there are no `@' at all, there
   9884       # is no need to browse any of the substitutions).
   9885       # These are the two extra sed commands mentioned above.
   9886       (echo ':t
   9887   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   9888       if test -z "$ac_sed_cmds"; then
   9889 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   9890       else
   9891 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   9892       fi
   9893       ac_sed_frag=`expr $ac_sed_frag + 1`
   9894       ac_beg=$ac_end
   9895       ac_end=`expr $ac_end + $ac_max_sed_lines`
   9896     fi
   9897   done
   9898   if test -z "$ac_sed_cmds"; then
   9899     ac_sed_cmds=cat
   9900   fi
   9901 fi # test -n "$CONFIG_FILES"
   9902 
   9903 _ACEOF
   9904 cat >>$CONFIG_STATUS <<\_ACEOF
   9905 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   9906   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   9907   case $ac_file in
   9908   - | *:- | *:-:* ) # input from stdin
   9909 	cat >$tmp/stdin
   9910 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   9911 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   9912   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   9913 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   9914   * )   ac_file_in=$ac_file.in ;;
   9915   esac
   9916 
   9917   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   9918   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   9919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   9920 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   9921 	 X"$ac_file" : 'X\(//\)$' \| \
   9922 	 X"$ac_file" : 'X\(/\)' \| \
   9923 	 .     : '\(.\)' 2>/dev/null ||
   9924 echo X"$ac_file" |
   9925     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   9926   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   9927   	  /^X\(\/\/\)$/{ s//\1/; q; }
   9928   	  /^X\(\/\).*/{ s//\1/; q; }
   9929   	  s/.*/./; q'`
   9930   { if $as_mkdir_p; then
   9931     mkdir -p "$ac_dir"
   9932   else
   9933     as_dir="$ac_dir"
   9934     as_dirs=
   9935     while test ! -d "$as_dir"; do
   9936       as_dirs="$as_dir $as_dirs"
   9937       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   9938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   9939 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   9940 	 X"$as_dir" : 'X\(//\)$' \| \
   9941 	 X"$as_dir" : 'X\(/\)' \| \
   9942 	 .     : '\(.\)' 2>/dev/null ||
   9943 echo X"$as_dir" |
   9944     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   9945   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   9946   	  /^X\(\/\/\)$/{ s//\1/; q; }
   9947   	  /^X\(\/\).*/{ s//\1/; q; }
   9948   	  s/.*/./; q'`
   9949     done
   9950     test ! -n "$as_dirs" || mkdir $as_dirs
   9951   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   9952 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   9953    { (exit 1); exit 1; }; }; }
   9954 
   9955   ac_builddir=.
   9956 
   9957 if test "$ac_dir" != .; then
   9958   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   9959   # A "../" for each directory in $ac_dir_suffix.
   9960   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   9961 else
   9962   ac_dir_suffix= ac_top_builddir=
   9963 fi
   9964 
   9965 case $srcdir in
   9966   .)  # No --srcdir option.  We are building in place.
   9967     ac_srcdir=.
   9968     if test -z "$ac_top_builddir"; then
   9969        ac_top_srcdir=.
   9970     else
   9971        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   9972     fi ;;
   9973   [\\/]* | ?:[\\/]* )  # Absolute path.
   9974     ac_srcdir=$srcdir$ac_dir_suffix;
   9975     ac_top_srcdir=$srcdir ;;
   9976   *) # Relative path.
   9977     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   9978     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   9979 esac
   9980 
   9981 # Do not use `cd foo && pwd` to compute absolute paths, because
   9982 # the directories may not exist.
   9983 case `pwd` in
   9984 .) ac_abs_builddir="$ac_dir";;
   9985 *)
   9986   case "$ac_dir" in
   9987   .) ac_abs_builddir=`pwd`;;
   9988   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   9989   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   9990   esac;;
   9991 esac
   9992 case $ac_abs_builddir in
   9993 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   9994 *)
   9995   case ${ac_top_builddir}. in
   9996   .) ac_abs_top_builddir=$ac_abs_builddir;;
   9997   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   9998   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   9999   esac;;
   10000 esac
   10001 case $ac_abs_builddir in
   10002 .) ac_abs_srcdir=$ac_srcdir;;
   10003 *)
   10004   case $ac_srcdir in
   10005   .) ac_abs_srcdir=$ac_abs_builddir;;
   10006   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   10007   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   10008   esac;;
   10009 esac
   10010 case $ac_abs_builddir in
   10011 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   10012 *)
   10013   case $ac_top_srcdir in
   10014   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   10015   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   10016   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   10017   esac;;
   10018 esac
   10019 
   10020 
   10021 
   10022   if test x"$ac_file" != x-; then
   10023     { echo "$as_me:$LINENO: creating $ac_file" >&5
   10024 echo "$as_me: creating $ac_file" >&6;}
   10025     rm -f "$ac_file"
   10026   fi
   10027   # Let's still pretend it is `configure' which instantiates (i.e., don't
   10028   # use $as_me), people would be surprised to read:
   10029   #    /* config.h.  Generated by config.status.  */
   10030   if test x"$ac_file" = x-; then
   10031     configure_input=
   10032   else
   10033     configure_input="$ac_file.  "
   10034   fi
   10035   configure_input=$configure_input"Generated from `echo $ac_file_in |
   10036 				     sed 's,.*/,,'` by configure."
   10037 
   10038   # First look for the input files in the build tree, otherwise in the
   10039   # src tree.
   10040   ac_file_inputs=`IFS=:
   10041     for f in $ac_file_in; do
   10042       case $f in
   10043       -) echo $tmp/stdin ;;
   10044       [\\/$]*)
   10045 	 # Absolute (can't be DOS-style, as IFS=:)
   10046 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10047 echo "$as_me: error: cannot find input file: $f" >&2;}
   10048    { (exit 1); exit 1; }; }
   10049 	 echo "$f";;
   10050       *) # Relative
   10051 	 if test -f "$f"; then
   10052 	   # Build tree
   10053 	   echo "$f"
   10054 	 elif test -f "$srcdir/$f"; then
   10055 	   # Source tree
   10056 	   echo "$srcdir/$f"
   10057 	 else
   10058 	   # /dev/null tree
   10059 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10060 echo "$as_me: error: cannot find input file: $f" >&2;}
   10061    { (exit 1); exit 1; }; }
   10062 	 fi;;
   10063       esac
   10064     done` || { (exit 1); exit 1; }
   10065 _ACEOF
   10066 cat >>$CONFIG_STATUS <<_ACEOF
   10067   sed "$ac_vpsub
   10068 $extrasub
   10069 _ACEOF
   10070 cat >>$CONFIG_STATUS <<\_ACEOF
   10071 :t
   10072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   10073 s,@configure_input@,$configure_input,;t t
   10074 s,@srcdir@,$ac_srcdir,;t t
   10075 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   10076 s,@top_srcdir@,$ac_top_srcdir,;t t
   10077 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   10078 s,@builddir@,$ac_builddir,;t t
   10079 s,@abs_builddir@,$ac_abs_builddir,;t t
   10080 s,@top_builddir@,$ac_top_builddir,;t t
   10081 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   10082 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   10083   rm -f $tmp/stdin
   10084   if test x"$ac_file" != x-; then
   10085     mv $tmp/out $ac_file
   10086   else
   10087     cat $tmp/out
   10088     rm -f $tmp/out
   10089   fi
   10090 
   10091 done
   10092 _ACEOF
   10093 cat >>$CONFIG_STATUS <<\_ACEOF
   10094 
   10095 #
   10096 # CONFIG_HEADER section.
   10097 #
   10098 
   10099 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   10100 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   10101 #
   10102 # ac_d sets the value in "#define NAME VALUE" lines.
   10103 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   10104 ac_dB='[	 ].*$,\1#\2'
   10105 ac_dC=' '
   10106 ac_dD=',;t'
   10107 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   10108 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   10109 ac_uB='$,\1#\2define\3'
   10110 ac_uC=' '
   10111 ac_uD=',;t'
   10112 
   10113 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   10114   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   10115   case $ac_file in
   10116   - | *:- | *:-:* ) # input from stdin
   10117 	cat >$tmp/stdin
   10118 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10119 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10120   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10121 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10122   * )   ac_file_in=$ac_file.in ;;
   10123   esac
   10124 
   10125   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   10126 echo "$as_me: creating $ac_file" >&6;}
   10127 
   10128   # First look for the input files in the build tree, otherwise in the
   10129   # src tree.
   10130   ac_file_inputs=`IFS=:
   10131     for f in $ac_file_in; do
   10132       case $f in
   10133       -) echo $tmp/stdin ;;
   10134       [\\/$]*)
   10135 	 # Absolute (can't be DOS-style, as IFS=:)
   10136 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10137 echo "$as_me: error: cannot find input file: $f" >&2;}
   10138    { (exit 1); exit 1; }; }
   10139 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   10140 	 echo "$f";;
   10141       *) # Relative
   10142 	 if test -f "$f"; then
   10143 	   # Build tree
   10144 	   echo "$f"
   10145 	 elif test -f "$srcdir/$f"; then
   10146 	   # Source tree
   10147 	   echo "$srcdir/$f"
   10148 	 else
   10149 	   # /dev/null tree
   10150 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10151 echo "$as_me: error: cannot find input file: $f" >&2;}
   10152    { (exit 1); exit 1; }; }
   10153 	 fi;;
   10154       esac
   10155     done` || { (exit 1); exit 1; }
   10156   # Remove the trailing spaces.
   10157   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   10158 
   10159 _ACEOF
   10160 
   10161 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   10162 # `conftest.undefs', that substitutes the proper values into
   10163 # config.h.in to produce config.h.  The first handles `#define'
   10164 # templates, and the second `#undef' templates.
   10165 # And first: Protect against being on the right side of a sed subst in
   10166 # config.status.  Protect against being in an unquoted here document
   10167 # in config.status.
   10168 rm -f conftest.defines conftest.undefs
   10169 # Using a here document instead of a string reduces the quoting nightmare.
   10170 # Putting comments in sed scripts is not portable.
   10171 #
   10172 # `end' is used to avoid that the second main sed command (meant for
   10173 # 0-ary CPP macros) applies to n-ary macro definitions.
   10174 # See the Autoconf documentation for `clear'.
   10175 cat >confdef2sed.sed <<\_ACEOF
   10176 s/[\\&,]/\\&/g
   10177 s,[\\$`],\\&,g
   10178 t clear
   10179 : clear
   10180 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   10181 t end
   10182 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   10183 : end
   10184 _ACEOF
   10185 # If some macros were called several times there might be several times
   10186 # the same #defines, which is useless.  Nevertheless, we may not want to
   10187 # sort them, since we want the *last* AC-DEFINE to be honored.
   10188 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   10189 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   10190 rm -f confdef2sed.sed
   10191 
   10192 # This sed command replaces #undef with comments.  This is necessary, for
   10193 # example, in the case of _POSIX_SOURCE, which is predefined and required
   10194 # on some systems where configure will not decide to define it.
   10195 cat >>conftest.undefs <<\_ACEOF
   10196 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   10197 _ACEOF
   10198 
   10199 # Break up conftest.defines because some shells have a limit on the size
   10200 # of here documents, and old seds have small limits too (100 cmds).
   10201 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   10202 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   10203 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   10204 echo '  :' >>$CONFIG_STATUS
   10205 rm -f conftest.tail
   10206 while grep . conftest.defines >/dev/null
   10207 do
   10208   # Write a limited-size here document to $tmp/defines.sed.
   10209   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   10210   # Speed up: don't consider the non `#define' lines.
   10211   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   10212   # Work around the forget-to-reset-the-flag bug.
   10213   echo 't clr' >>$CONFIG_STATUS
   10214   echo ': clr' >>$CONFIG_STATUS
   10215   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   10216   echo 'CEOF
   10217   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   10218   rm -f $tmp/in
   10219   mv $tmp/out $tmp/in
   10220 ' >>$CONFIG_STATUS
   10221   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   10222   rm -f conftest.defines
   10223   mv conftest.tail conftest.defines
   10224 done
   10225 rm -f conftest.defines
   10226 echo '  fi # grep' >>$CONFIG_STATUS
   10227 echo >>$CONFIG_STATUS
   10228 
   10229 # Break up conftest.undefs because some shells have a limit on the size
   10230 # of here documents, and old seds have small limits too (100 cmds).
   10231 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   10232 rm -f conftest.tail
   10233 while grep . conftest.undefs >/dev/null
   10234 do
   10235   # Write a limited-size here document to $tmp/undefs.sed.
   10236   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   10237   # Speed up: don't consider the non `#undef'
   10238   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   10239   # Work around the forget-to-reset-the-flag bug.
   10240   echo 't clr' >>$CONFIG_STATUS
   10241   echo ': clr' >>$CONFIG_STATUS
   10242   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   10243   echo 'CEOF
   10244   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   10245   rm -f $tmp/in
   10246   mv $tmp/out $tmp/in
   10247 ' >>$CONFIG_STATUS
   10248   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   10249   rm -f conftest.undefs
   10250   mv conftest.tail conftest.undefs
   10251 done
   10252 rm -f conftest.undefs
   10253 
   10254 cat >>$CONFIG_STATUS <<\_ACEOF
   10255   # Let's still pretend it is `configure' which instantiates (i.e., don't
   10256   # use $as_me), people would be surprised to read:
   10257   #    /* config.h.  Generated by config.status.  */
   10258   if test x"$ac_file" = x-; then
   10259     echo "/* Generated by configure.  */" >$tmp/config.h
   10260   else
   10261     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   10262   fi
   10263   cat $tmp/in >>$tmp/config.h
   10264   rm -f $tmp/in
   10265   if test x"$ac_file" != x-; then
   10266     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   10267       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   10268 echo "$as_me: $ac_file is unchanged" >&6;}
   10269     else
   10270       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   10271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10272 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10273 	 X"$ac_file" : 'X\(//\)$' \| \
   10274 	 X"$ac_file" : 'X\(/\)' \| \
   10275 	 .     : '\(.\)' 2>/dev/null ||
   10276 echo X"$ac_file" |
   10277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10278   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10279   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10280   	  /^X\(\/\).*/{ s//\1/; q; }
   10281   	  s/.*/./; q'`
   10282       { if $as_mkdir_p; then
   10283     mkdir -p "$ac_dir"
   10284   else
   10285     as_dir="$ac_dir"
   10286     as_dirs=
   10287     while test ! -d "$as_dir"; do
   10288       as_dirs="$as_dir $as_dirs"
   10289       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10291 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10292 	 X"$as_dir" : 'X\(//\)$' \| \
   10293 	 X"$as_dir" : 'X\(/\)' \| \
   10294 	 .     : '\(.\)' 2>/dev/null ||
   10295 echo X"$as_dir" |
   10296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10297   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10298   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10299   	  /^X\(\/\).*/{ s//\1/; q; }
   10300   	  s/.*/./; q'`
   10301     done
   10302     test ! -n "$as_dirs" || mkdir $as_dirs
   10303   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   10304 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   10305    { (exit 1); exit 1; }; }; }
   10306 
   10307       rm -f $ac_file
   10308       mv $tmp/config.h $ac_file
   10309     fi
   10310   else
   10311     cat $tmp/config.h
   10312     rm -f $tmp/config.h
   10313   fi
   10314 done
   10315 _ACEOF
   10316 
   10317 cat >>$CONFIG_STATUS <<\_ACEOF
   10318 
   10319 { (exit 0); exit 0; }
   10320 _ACEOF
   10321 chmod +x $CONFIG_STATUS
   10322 ac_clean_files=$ac_clean_files_save
   10323 
   10324 
   10325 # configure is writing to config.log, and then calls config.status.
   10326 # config.status does its own redirection, appending to config.log.
   10327 # Unfortunately, on DOS this fails, as config.log is still kept open
   10328 # by configure, so config.status won't be able to write to it; its
   10329 # output is simply discarded.  So we exec the FD to /dev/null,
   10330 # effectively closing config.log, so it can be properly (re)opened and
   10331 # appended to by config.status.  When coming back to configure, we
   10332 # need to make the FD available again.
   10333 if test "$no_create" != yes; then
   10334   ac_cs_success=:
   10335   ac_config_status_args=
   10336   test "$silent" = yes &&
   10337     ac_config_status_args="$ac_config_status_args --quiet"
   10338   exec 5>/dev/null
   10339   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   10340   exec 5>>config.log
   10341   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   10342   # would make configure fail if this is the last instruction.
   10343   $ac_cs_success || { (exit 1); exit 1; }
   10344 fi
   10345 
   10346