Home | History | Annotate | Line # | Download | only in compat
configure revision 1.54
      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 htobe16 is declared" >&5
   7662 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
   7663 if test "${ac_cv_have_decl_htobe16+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 
   7673 #include <sys/types.h>
   7674 
   7675 
   7676 int
   7677 main ()
   7678 {
   7679 #ifndef htobe16
   7680   char *p = (char *) htobe16;
   7681 #endif
   7682 
   7683   ;
   7684   return 0;
   7685 }
   7686 _ACEOF
   7687 rm -f conftest.$ac_objext
   7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7689   (eval $ac_compile) 2>conftest.er1
   7690   ac_status=$?
   7691   grep -v '^ *+' conftest.er1 >conftest.err
   7692   rm -f conftest.er1
   7693   cat conftest.err >&5
   7694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7695   (exit $ac_status); } &&
   7696 	 { ac_try='test -z "$ac_c_werror_flag"
   7697 			 || test ! -s conftest.err'
   7698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7699   (eval $ac_try) 2>&5
   7700   ac_status=$?
   7701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7702   (exit $ac_status); }; } &&
   7703 	 { ac_try='test -s conftest.$ac_objext'
   7704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7705   (eval $ac_try) 2>&5
   7706   ac_status=$?
   7707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7708   (exit $ac_status); }; }; then
   7709   ac_cv_have_decl_htobe16=yes
   7710 else
   7711   echo "$as_me: failed program was:" >&5
   7712 sed 's/^/| /' conftest.$ac_ext >&5
   7713 
   7714 ac_cv_have_decl_htobe16=no
   7715 fi
   7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7717 fi
   7718 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe16" >&5
   7719 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
   7720 if test $ac_cv_have_decl_htobe16 = yes; then
   7721 
   7722 cat >>confdefs.h <<_ACEOF
   7723 #define HAVE_DECL_HTOBE16 1
   7724 _ACEOF
   7725 
   7726 
   7727 else
   7728   cat >>confdefs.h <<_ACEOF
   7729 #define HAVE_DECL_HTOBE16 0
   7730 _ACEOF
   7731 
   7732 
   7733 fi
   7734 echo "$as_me:$LINENO: checking whether htobe32 is declared" >&5
   7735 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
   7736 if test "${ac_cv_have_decl_htobe32+set}" = set; then
   7737   echo $ECHO_N "(cached) $ECHO_C" >&6
   7738 else
   7739   cat >conftest.$ac_ext <<_ACEOF
   7740 /* confdefs.h.  */
   7741 _ACEOF
   7742 cat confdefs.h >>conftest.$ac_ext
   7743 cat >>conftest.$ac_ext <<_ACEOF
   7744 /* end confdefs.h.  */
   7745 
   7746 #include <sys/types.h>
   7747 
   7748 
   7749 int
   7750 main ()
   7751 {
   7752 #ifndef htobe32
   7753   char *p = (char *) htobe32;
   7754 #endif
   7755 
   7756   ;
   7757   return 0;
   7758 }
   7759 _ACEOF
   7760 rm -f conftest.$ac_objext
   7761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7762   (eval $ac_compile) 2>conftest.er1
   7763   ac_status=$?
   7764   grep -v '^ *+' conftest.er1 >conftest.err
   7765   rm -f conftest.er1
   7766   cat conftest.err >&5
   7767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7768   (exit $ac_status); } &&
   7769 	 { ac_try='test -z "$ac_c_werror_flag"
   7770 			 || test ! -s conftest.err'
   7771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7772   (eval $ac_try) 2>&5
   7773   ac_status=$?
   7774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7775   (exit $ac_status); }; } &&
   7776 	 { ac_try='test -s conftest.$ac_objext'
   7777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7778   (eval $ac_try) 2>&5
   7779   ac_status=$?
   7780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7781   (exit $ac_status); }; }; then
   7782   ac_cv_have_decl_htobe32=yes
   7783 else
   7784   echo "$as_me: failed program was:" >&5
   7785 sed 's/^/| /' conftest.$ac_ext >&5
   7786 
   7787 ac_cv_have_decl_htobe32=no
   7788 fi
   7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7790 fi
   7791 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe32" >&5
   7792 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
   7793 if test $ac_cv_have_decl_htobe32 = yes; then
   7794 
   7795 cat >>confdefs.h <<_ACEOF
   7796 #define HAVE_DECL_HTOBE32 1
   7797 _ACEOF
   7798 
   7799 
   7800 else
   7801   cat >>confdefs.h <<_ACEOF
   7802 #define HAVE_DECL_HTOBE32 0
   7803 _ACEOF
   7804 
   7805 
   7806 fi
   7807 echo "$as_me:$LINENO: checking whether htobe64 is declared" >&5
   7808 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
   7809 if test "${ac_cv_have_decl_htobe64+set}" = set; then
   7810   echo $ECHO_N "(cached) $ECHO_C" >&6
   7811 else
   7812   cat >conftest.$ac_ext <<_ACEOF
   7813 /* confdefs.h.  */
   7814 _ACEOF
   7815 cat confdefs.h >>conftest.$ac_ext
   7816 cat >>conftest.$ac_ext <<_ACEOF
   7817 /* end confdefs.h.  */
   7818 
   7819 #include <sys/types.h>
   7820 
   7821 
   7822 int
   7823 main ()
   7824 {
   7825 #ifndef htobe64
   7826   char *p = (char *) htobe64;
   7827 #endif
   7828 
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 rm -f conftest.$ac_objext
   7834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7835   (eval $ac_compile) 2>conftest.er1
   7836   ac_status=$?
   7837   grep -v '^ *+' conftest.er1 >conftest.err
   7838   rm -f conftest.er1
   7839   cat conftest.err >&5
   7840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7841   (exit $ac_status); } &&
   7842 	 { ac_try='test -z "$ac_c_werror_flag"
   7843 			 || test ! -s conftest.err'
   7844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7845   (eval $ac_try) 2>&5
   7846   ac_status=$?
   7847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7848   (exit $ac_status); }; } &&
   7849 	 { ac_try='test -s conftest.$ac_objext'
   7850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7851   (eval $ac_try) 2>&5
   7852   ac_status=$?
   7853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7854   (exit $ac_status); }; }; then
   7855   ac_cv_have_decl_htobe64=yes
   7856 else
   7857   echo "$as_me: failed program was:" >&5
   7858 sed 's/^/| /' conftest.$ac_ext >&5
   7859 
   7860 ac_cv_have_decl_htobe64=no
   7861 fi
   7862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7863 fi
   7864 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htobe64" >&5
   7865 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
   7866 if test $ac_cv_have_decl_htobe64 = yes; then
   7867 
   7868 cat >>confdefs.h <<_ACEOF
   7869 #define HAVE_DECL_HTOBE64 1
   7870 _ACEOF
   7871 
   7872 
   7873 else
   7874   cat >>confdefs.h <<_ACEOF
   7875 #define HAVE_DECL_HTOBE64 0
   7876 _ACEOF
   7877 
   7878 
   7879 fi
   7880 echo "$as_me:$LINENO: checking whether htole16 is declared" >&5
   7881 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
   7882 if test "${ac_cv_have_decl_htole16+set}" = set; then
   7883   echo $ECHO_N "(cached) $ECHO_C" >&6
   7884 else
   7885   cat >conftest.$ac_ext <<_ACEOF
   7886 /* confdefs.h.  */
   7887 _ACEOF
   7888 cat confdefs.h >>conftest.$ac_ext
   7889 cat >>conftest.$ac_ext <<_ACEOF
   7890 /* end confdefs.h.  */
   7891 
   7892 #include <sys/types.h>
   7893 
   7894 
   7895 int
   7896 main ()
   7897 {
   7898 #ifndef htole16
   7899   char *p = (char *) htole16;
   7900 #endif
   7901 
   7902   ;
   7903   return 0;
   7904 }
   7905 _ACEOF
   7906 rm -f conftest.$ac_objext
   7907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7908   (eval $ac_compile) 2>conftest.er1
   7909   ac_status=$?
   7910   grep -v '^ *+' conftest.er1 >conftest.err
   7911   rm -f conftest.er1
   7912   cat conftest.err >&5
   7913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7914   (exit $ac_status); } &&
   7915 	 { ac_try='test -z "$ac_c_werror_flag"
   7916 			 || test ! -s conftest.err'
   7917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7918   (eval $ac_try) 2>&5
   7919   ac_status=$?
   7920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7921   (exit $ac_status); }; } &&
   7922 	 { ac_try='test -s conftest.$ac_objext'
   7923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7924   (eval $ac_try) 2>&5
   7925   ac_status=$?
   7926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7927   (exit $ac_status); }; }; then
   7928   ac_cv_have_decl_htole16=yes
   7929 else
   7930   echo "$as_me: failed program was:" >&5
   7931 sed 's/^/| /' conftest.$ac_ext >&5
   7932 
   7933 ac_cv_have_decl_htole16=no
   7934 fi
   7935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7936 fi
   7937 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole16" >&5
   7938 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
   7939 if test $ac_cv_have_decl_htole16 = yes; then
   7940 
   7941 cat >>confdefs.h <<_ACEOF
   7942 #define HAVE_DECL_HTOLE16 1
   7943 _ACEOF
   7944 
   7945 
   7946 else
   7947   cat >>confdefs.h <<_ACEOF
   7948 #define HAVE_DECL_HTOLE16 0
   7949 _ACEOF
   7950 
   7951 
   7952 fi
   7953 echo "$as_me:$LINENO: checking whether htole32 is declared" >&5
   7954 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
   7955 if test "${ac_cv_have_decl_htole32+set}" = set; then
   7956   echo $ECHO_N "(cached) $ECHO_C" >&6
   7957 else
   7958   cat >conftest.$ac_ext <<_ACEOF
   7959 /* confdefs.h.  */
   7960 _ACEOF
   7961 cat confdefs.h >>conftest.$ac_ext
   7962 cat >>conftest.$ac_ext <<_ACEOF
   7963 /* end confdefs.h.  */
   7964 
   7965 #include <sys/types.h>
   7966 
   7967 
   7968 int
   7969 main ()
   7970 {
   7971 #ifndef htole32
   7972   char *p = (char *) htole32;
   7973 #endif
   7974 
   7975   ;
   7976   return 0;
   7977 }
   7978 _ACEOF
   7979 rm -f conftest.$ac_objext
   7980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7981   (eval $ac_compile) 2>conftest.er1
   7982   ac_status=$?
   7983   grep -v '^ *+' conftest.er1 >conftest.err
   7984   rm -f conftest.er1
   7985   cat conftest.err >&5
   7986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7987   (exit $ac_status); } &&
   7988 	 { ac_try='test -z "$ac_c_werror_flag"
   7989 			 || test ! -s conftest.err'
   7990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7991   (eval $ac_try) 2>&5
   7992   ac_status=$?
   7993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7994   (exit $ac_status); }; } &&
   7995 	 { ac_try='test -s conftest.$ac_objext'
   7996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7997   (eval $ac_try) 2>&5
   7998   ac_status=$?
   7999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8000   (exit $ac_status); }; }; then
   8001   ac_cv_have_decl_htole32=yes
   8002 else
   8003   echo "$as_me: failed program was:" >&5
   8004 sed 's/^/| /' conftest.$ac_ext >&5
   8005 
   8006 ac_cv_have_decl_htole32=no
   8007 fi
   8008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8009 fi
   8010 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5
   8011 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
   8012 if test $ac_cv_have_decl_htole32 = yes; then
   8013 
   8014 cat >>confdefs.h <<_ACEOF
   8015 #define HAVE_DECL_HTOLE32 1
   8016 _ACEOF
   8017 
   8018 
   8019 else
   8020   cat >>confdefs.h <<_ACEOF
   8021 #define HAVE_DECL_HTOLE32 0
   8022 _ACEOF
   8023 
   8024 
   8025 fi
   8026 echo "$as_me:$LINENO: checking whether htole64 is declared" >&5
   8027 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
   8028 if test "${ac_cv_have_decl_htole64+set}" = set; then
   8029   echo $ECHO_N "(cached) $ECHO_C" >&6
   8030 else
   8031   cat >conftest.$ac_ext <<_ACEOF
   8032 /* confdefs.h.  */
   8033 _ACEOF
   8034 cat confdefs.h >>conftest.$ac_ext
   8035 cat >>conftest.$ac_ext <<_ACEOF
   8036 /* end confdefs.h.  */
   8037 
   8038 #include <sys/types.h>
   8039 
   8040 
   8041 int
   8042 main ()
   8043 {
   8044 #ifndef htole64
   8045   char *p = (char *) htole64;
   8046 #endif
   8047 
   8048   ;
   8049   return 0;
   8050 }
   8051 _ACEOF
   8052 rm -f conftest.$ac_objext
   8053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8054   (eval $ac_compile) 2>conftest.er1
   8055   ac_status=$?
   8056   grep -v '^ *+' conftest.er1 >conftest.err
   8057   rm -f conftest.er1
   8058   cat conftest.err >&5
   8059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8060   (exit $ac_status); } &&
   8061 	 { ac_try='test -z "$ac_c_werror_flag"
   8062 			 || test ! -s conftest.err'
   8063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8064   (eval $ac_try) 2>&5
   8065   ac_status=$?
   8066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8067   (exit $ac_status); }; } &&
   8068 	 { ac_try='test -s conftest.$ac_objext'
   8069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8070   (eval $ac_try) 2>&5
   8071   ac_status=$?
   8072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8073   (exit $ac_status); }; }; then
   8074   ac_cv_have_decl_htole64=yes
   8075 else
   8076   echo "$as_me: failed program was:" >&5
   8077 sed 's/^/| /' conftest.$ac_ext >&5
   8078 
   8079 ac_cv_have_decl_htole64=no
   8080 fi
   8081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8082 fi
   8083 echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole64" >&5
   8084 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
   8085 if test $ac_cv_have_decl_htole64 = yes; then
   8086 
   8087 cat >>confdefs.h <<_ACEOF
   8088 #define HAVE_DECL_HTOLE64 1
   8089 _ACEOF
   8090 
   8091 
   8092 else
   8093   cat >>confdefs.h <<_ACEOF
   8094 #define HAVE_DECL_HTOLE64 0
   8095 _ACEOF
   8096 
   8097 
   8098 fi
   8099 echo "$as_me:$LINENO: checking whether be16toh is declared" >&5
   8100 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
   8101 if test "${ac_cv_have_decl_be16toh+set}" = set; then
   8102   echo $ECHO_N "(cached) $ECHO_C" >&6
   8103 else
   8104   cat >conftest.$ac_ext <<_ACEOF
   8105 /* confdefs.h.  */
   8106 _ACEOF
   8107 cat confdefs.h >>conftest.$ac_ext
   8108 cat >>conftest.$ac_ext <<_ACEOF
   8109 /* end confdefs.h.  */
   8110 
   8111 #include <sys/types.h>
   8112 
   8113 
   8114 int
   8115 main ()
   8116 {
   8117 #ifndef be16toh
   8118   char *p = (char *) be16toh;
   8119 #endif
   8120 
   8121   ;
   8122   return 0;
   8123 }
   8124 _ACEOF
   8125 rm -f conftest.$ac_objext
   8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8127   (eval $ac_compile) 2>conftest.er1
   8128   ac_status=$?
   8129   grep -v '^ *+' conftest.er1 >conftest.err
   8130   rm -f conftest.er1
   8131   cat conftest.err >&5
   8132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8133   (exit $ac_status); } &&
   8134 	 { ac_try='test -z "$ac_c_werror_flag"
   8135 			 || test ! -s conftest.err'
   8136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8137   (eval $ac_try) 2>&5
   8138   ac_status=$?
   8139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8140   (exit $ac_status); }; } &&
   8141 	 { ac_try='test -s conftest.$ac_objext'
   8142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8143   (eval $ac_try) 2>&5
   8144   ac_status=$?
   8145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8146   (exit $ac_status); }; }; then
   8147   ac_cv_have_decl_be16toh=yes
   8148 else
   8149   echo "$as_me: failed program was:" >&5
   8150 sed 's/^/| /' conftest.$ac_ext >&5
   8151 
   8152 ac_cv_have_decl_be16toh=no
   8153 fi
   8154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8155 fi
   8156 echo "$as_me:$LINENO: result: $ac_cv_have_decl_be16toh" >&5
   8157 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
   8158 if test $ac_cv_have_decl_be16toh = yes; then
   8159 
   8160 cat >>confdefs.h <<_ACEOF
   8161 #define HAVE_DECL_BE16TOH 1
   8162 _ACEOF
   8163 
   8164 
   8165 else
   8166   cat >>confdefs.h <<_ACEOF
   8167 #define HAVE_DECL_BE16TOH 0
   8168 _ACEOF
   8169 
   8170 
   8171 fi
   8172 echo "$as_me:$LINENO: checking whether be32toh is declared" >&5
   8173 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
   8174 if test "${ac_cv_have_decl_be32toh+set}" = set; then
   8175   echo $ECHO_N "(cached) $ECHO_C" >&6
   8176 else
   8177   cat >conftest.$ac_ext <<_ACEOF
   8178 /* confdefs.h.  */
   8179 _ACEOF
   8180 cat confdefs.h >>conftest.$ac_ext
   8181 cat >>conftest.$ac_ext <<_ACEOF
   8182 /* end confdefs.h.  */
   8183 
   8184 #include <sys/types.h>
   8185 
   8186 
   8187 int
   8188 main ()
   8189 {
   8190 #ifndef be32toh
   8191   char *p = (char *) be32toh;
   8192 #endif
   8193 
   8194   ;
   8195   return 0;
   8196 }
   8197 _ACEOF
   8198 rm -f conftest.$ac_objext
   8199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8200   (eval $ac_compile) 2>conftest.er1
   8201   ac_status=$?
   8202   grep -v '^ *+' conftest.er1 >conftest.err
   8203   rm -f conftest.er1
   8204   cat conftest.err >&5
   8205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8206   (exit $ac_status); } &&
   8207 	 { ac_try='test -z "$ac_c_werror_flag"
   8208 			 || test ! -s conftest.err'
   8209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8210   (eval $ac_try) 2>&5
   8211   ac_status=$?
   8212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8213   (exit $ac_status); }; } &&
   8214 	 { ac_try='test -s conftest.$ac_objext'
   8215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8216   (eval $ac_try) 2>&5
   8217   ac_status=$?
   8218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8219   (exit $ac_status); }; }; then
   8220   ac_cv_have_decl_be32toh=yes
   8221 else
   8222   echo "$as_me: failed program was:" >&5
   8223 sed 's/^/| /' conftest.$ac_ext >&5
   8224 
   8225 ac_cv_have_decl_be32toh=no
   8226 fi
   8227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8228 fi
   8229 echo "$as_me:$LINENO: result: $ac_cv_have_decl_be32toh" >&5
   8230 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
   8231 if test $ac_cv_have_decl_be32toh = yes; then
   8232 
   8233 cat >>confdefs.h <<_ACEOF
   8234 #define HAVE_DECL_BE32TOH 1
   8235 _ACEOF
   8236 
   8237 
   8238 else
   8239   cat >>confdefs.h <<_ACEOF
   8240 #define HAVE_DECL_BE32TOH 0
   8241 _ACEOF
   8242 
   8243 
   8244 fi
   8245 echo "$as_me:$LINENO: checking whether be64toh is declared" >&5
   8246 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
   8247 if test "${ac_cv_have_decl_be64toh+set}" = set; then
   8248   echo $ECHO_N "(cached) $ECHO_C" >&6
   8249 else
   8250   cat >conftest.$ac_ext <<_ACEOF
   8251 /* confdefs.h.  */
   8252 _ACEOF
   8253 cat confdefs.h >>conftest.$ac_ext
   8254 cat >>conftest.$ac_ext <<_ACEOF
   8255 /* end confdefs.h.  */
   8256 
   8257 #include <sys/types.h>
   8258 
   8259 
   8260 int
   8261 main ()
   8262 {
   8263 #ifndef be64toh
   8264   char *p = (char *) be64toh;
   8265 #endif
   8266 
   8267   ;
   8268   return 0;
   8269 }
   8270 _ACEOF
   8271 rm -f conftest.$ac_objext
   8272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8273   (eval $ac_compile) 2>conftest.er1
   8274   ac_status=$?
   8275   grep -v '^ *+' conftest.er1 >conftest.err
   8276   rm -f conftest.er1
   8277   cat conftest.err >&5
   8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8279   (exit $ac_status); } &&
   8280 	 { ac_try='test -z "$ac_c_werror_flag"
   8281 			 || test ! -s conftest.err'
   8282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8283   (eval $ac_try) 2>&5
   8284   ac_status=$?
   8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8286   (exit $ac_status); }; } &&
   8287 	 { ac_try='test -s conftest.$ac_objext'
   8288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8289   (eval $ac_try) 2>&5
   8290   ac_status=$?
   8291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8292   (exit $ac_status); }; }; then
   8293   ac_cv_have_decl_be64toh=yes
   8294 else
   8295   echo "$as_me: failed program was:" >&5
   8296 sed 's/^/| /' conftest.$ac_ext >&5
   8297 
   8298 ac_cv_have_decl_be64toh=no
   8299 fi
   8300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8301 fi
   8302 echo "$as_me:$LINENO: result: $ac_cv_have_decl_be64toh" >&5
   8303 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
   8304 if test $ac_cv_have_decl_be64toh = yes; then
   8305 
   8306 cat >>confdefs.h <<_ACEOF
   8307 #define HAVE_DECL_BE64TOH 1
   8308 _ACEOF
   8309 
   8310 
   8311 else
   8312   cat >>confdefs.h <<_ACEOF
   8313 #define HAVE_DECL_BE64TOH 0
   8314 _ACEOF
   8315 
   8316 
   8317 fi
   8318 echo "$as_me:$LINENO: checking whether le16toh is declared" >&5
   8319 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
   8320 if test "${ac_cv_have_decl_le16toh+set}" = set; then
   8321   echo $ECHO_N "(cached) $ECHO_C" >&6
   8322 else
   8323   cat >conftest.$ac_ext <<_ACEOF
   8324 /* confdefs.h.  */
   8325 _ACEOF
   8326 cat confdefs.h >>conftest.$ac_ext
   8327 cat >>conftest.$ac_ext <<_ACEOF
   8328 /* end confdefs.h.  */
   8329 
   8330 #include <sys/types.h>
   8331 
   8332 
   8333 int
   8334 main ()
   8335 {
   8336 #ifndef le16toh
   8337   char *p = (char *) le16toh;
   8338 #endif
   8339 
   8340   ;
   8341   return 0;
   8342 }
   8343 _ACEOF
   8344 rm -f conftest.$ac_objext
   8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8346   (eval $ac_compile) 2>conftest.er1
   8347   ac_status=$?
   8348   grep -v '^ *+' conftest.er1 >conftest.err
   8349   rm -f conftest.er1
   8350   cat conftest.err >&5
   8351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8352   (exit $ac_status); } &&
   8353 	 { ac_try='test -z "$ac_c_werror_flag"
   8354 			 || test ! -s conftest.err'
   8355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8356   (eval $ac_try) 2>&5
   8357   ac_status=$?
   8358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8359   (exit $ac_status); }; } &&
   8360 	 { ac_try='test -s conftest.$ac_objext'
   8361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8362   (eval $ac_try) 2>&5
   8363   ac_status=$?
   8364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8365   (exit $ac_status); }; }; then
   8366   ac_cv_have_decl_le16toh=yes
   8367 else
   8368   echo "$as_me: failed program was:" >&5
   8369 sed 's/^/| /' conftest.$ac_ext >&5
   8370 
   8371 ac_cv_have_decl_le16toh=no
   8372 fi
   8373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8374 fi
   8375 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le16toh" >&5
   8376 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
   8377 if test $ac_cv_have_decl_le16toh = yes; then
   8378 
   8379 cat >>confdefs.h <<_ACEOF
   8380 #define HAVE_DECL_LE16TOH 1
   8381 _ACEOF
   8382 
   8383 
   8384 else
   8385   cat >>confdefs.h <<_ACEOF
   8386 #define HAVE_DECL_LE16TOH 0
   8387 _ACEOF
   8388 
   8389 
   8390 fi
   8391 echo "$as_me:$LINENO: checking whether le32toh is declared" >&5
   8392 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
   8393 if test "${ac_cv_have_decl_le32toh+set}" = set; then
   8394   echo $ECHO_N "(cached) $ECHO_C" >&6
   8395 else
   8396   cat >conftest.$ac_ext <<_ACEOF
   8397 /* confdefs.h.  */
   8398 _ACEOF
   8399 cat confdefs.h >>conftest.$ac_ext
   8400 cat >>conftest.$ac_ext <<_ACEOF
   8401 /* end confdefs.h.  */
   8402 
   8403 #include <sys/types.h>
   8404 
   8405 
   8406 int
   8407 main ()
   8408 {
   8409 #ifndef le32toh
   8410   char *p = (char *) le32toh;
   8411 #endif
   8412 
   8413   ;
   8414   return 0;
   8415 }
   8416 _ACEOF
   8417 rm -f conftest.$ac_objext
   8418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8419   (eval $ac_compile) 2>conftest.er1
   8420   ac_status=$?
   8421   grep -v '^ *+' conftest.er1 >conftest.err
   8422   rm -f conftest.er1
   8423   cat conftest.err >&5
   8424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8425   (exit $ac_status); } &&
   8426 	 { ac_try='test -z "$ac_c_werror_flag"
   8427 			 || test ! -s conftest.err'
   8428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8429   (eval $ac_try) 2>&5
   8430   ac_status=$?
   8431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8432   (exit $ac_status); }; } &&
   8433 	 { ac_try='test -s conftest.$ac_objext'
   8434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8435   (eval $ac_try) 2>&5
   8436   ac_status=$?
   8437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8438   (exit $ac_status); }; }; then
   8439   ac_cv_have_decl_le32toh=yes
   8440 else
   8441   echo "$as_me: failed program was:" >&5
   8442 sed 's/^/| /' conftest.$ac_ext >&5
   8443 
   8444 ac_cv_have_decl_le32toh=no
   8445 fi
   8446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8447 fi
   8448 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le32toh" >&5
   8449 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
   8450 if test $ac_cv_have_decl_le32toh = yes; then
   8451 
   8452 cat >>confdefs.h <<_ACEOF
   8453 #define HAVE_DECL_LE32TOH 1
   8454 _ACEOF
   8455 
   8456 
   8457 else
   8458   cat >>confdefs.h <<_ACEOF
   8459 #define HAVE_DECL_LE32TOH 0
   8460 _ACEOF
   8461 
   8462 
   8463 fi
   8464 echo "$as_me:$LINENO: checking whether le64toh is declared" >&5
   8465 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
   8466 if test "${ac_cv_have_decl_le64toh+set}" = set; then
   8467   echo $ECHO_N "(cached) $ECHO_C" >&6
   8468 else
   8469   cat >conftest.$ac_ext <<_ACEOF
   8470 /* confdefs.h.  */
   8471 _ACEOF
   8472 cat confdefs.h >>conftest.$ac_ext
   8473 cat >>conftest.$ac_ext <<_ACEOF
   8474 /* end confdefs.h.  */
   8475 
   8476 #include <sys/types.h>
   8477 
   8478 
   8479 int
   8480 main ()
   8481 {
   8482 #ifndef le64toh
   8483   char *p = (char *) le64toh;
   8484 #endif
   8485 
   8486   ;
   8487   return 0;
   8488 }
   8489 _ACEOF
   8490 rm -f conftest.$ac_objext
   8491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8492   (eval $ac_compile) 2>conftest.er1
   8493   ac_status=$?
   8494   grep -v '^ *+' conftest.er1 >conftest.err
   8495   rm -f conftest.er1
   8496   cat conftest.err >&5
   8497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8498   (exit $ac_status); } &&
   8499 	 { ac_try='test -z "$ac_c_werror_flag"
   8500 			 || test ! -s conftest.err'
   8501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8502   (eval $ac_try) 2>&5
   8503   ac_status=$?
   8504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8505   (exit $ac_status); }; } &&
   8506 	 { ac_try='test -s conftest.$ac_objext'
   8507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8508   (eval $ac_try) 2>&5
   8509   ac_status=$?
   8510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8511   (exit $ac_status); }; }; then
   8512   ac_cv_have_decl_le64toh=yes
   8513 else
   8514   echo "$as_me: failed program was:" >&5
   8515 sed 's/^/| /' conftest.$ac_ext >&5
   8516 
   8517 ac_cv_have_decl_le64toh=no
   8518 fi
   8519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8520 fi
   8521 echo "$as_me:$LINENO: result: $ac_cv_have_decl_le64toh" >&5
   8522 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
   8523 if test $ac_cv_have_decl_le64toh = yes; then
   8524 
   8525 cat >>confdefs.h <<_ACEOF
   8526 #define HAVE_DECL_LE64TOH 1
   8527 _ACEOF
   8528 
   8529 
   8530 else
   8531   cat >>confdefs.h <<_ACEOF
   8532 #define HAVE_DECL_LE64TOH 0
   8533 _ACEOF
   8534 
   8535 
   8536 fi
   8537 
   8538 
   8539 
   8540 echo "$as_me:$LINENO: checking whether bswap16 is declared" >&5
   8541 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
   8542 if test "${ac_cv_have_decl_bswap16+set}" = set; then
   8543   echo $ECHO_N "(cached) $ECHO_C" >&6
   8544 else
   8545   cat >conftest.$ac_ext <<_ACEOF
   8546 /* confdefs.h.  */
   8547 _ACEOF
   8548 cat confdefs.h >>conftest.$ac_ext
   8549 cat >>conftest.$ac_ext <<_ACEOF
   8550 /* end confdefs.h.  */
   8551 
   8552 #include <machine/bswap.h>
   8553 
   8554 
   8555 int
   8556 main ()
   8557 {
   8558 #ifndef bswap16
   8559   char *p = (char *) bswap16;
   8560 #endif
   8561 
   8562   ;
   8563   return 0;
   8564 }
   8565 _ACEOF
   8566 rm -f conftest.$ac_objext
   8567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8568   (eval $ac_compile) 2>conftest.er1
   8569   ac_status=$?
   8570   grep -v '^ *+' conftest.er1 >conftest.err
   8571   rm -f conftest.er1
   8572   cat conftest.err >&5
   8573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8574   (exit $ac_status); } &&
   8575 	 { ac_try='test -z "$ac_c_werror_flag"
   8576 			 || test ! -s conftest.err'
   8577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8578   (eval $ac_try) 2>&5
   8579   ac_status=$?
   8580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8581   (exit $ac_status); }; } &&
   8582 	 { ac_try='test -s conftest.$ac_objext'
   8583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8584   (eval $ac_try) 2>&5
   8585   ac_status=$?
   8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8587   (exit $ac_status); }; }; then
   8588   ac_cv_have_decl_bswap16=yes
   8589 else
   8590   echo "$as_me: failed program was:" >&5
   8591 sed 's/^/| /' conftest.$ac_ext >&5
   8592 
   8593 ac_cv_have_decl_bswap16=no
   8594 fi
   8595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8596 fi
   8597 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap16" >&5
   8598 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
   8599 if test $ac_cv_have_decl_bswap16 = yes; then
   8600 
   8601 cat >>confdefs.h <<_ACEOF
   8602 #define HAVE_DECL_BSWAP16 1
   8603 _ACEOF
   8604 
   8605 
   8606 else
   8607   cat >>confdefs.h <<_ACEOF
   8608 #define HAVE_DECL_BSWAP16 0
   8609 _ACEOF
   8610 
   8611 
   8612 fi
   8613 echo "$as_me:$LINENO: checking whether bswap32 is declared" >&5
   8614 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
   8615 if test "${ac_cv_have_decl_bswap32+set}" = set; then
   8616   echo $ECHO_N "(cached) $ECHO_C" >&6
   8617 else
   8618   cat >conftest.$ac_ext <<_ACEOF
   8619 /* confdefs.h.  */
   8620 _ACEOF
   8621 cat confdefs.h >>conftest.$ac_ext
   8622 cat >>conftest.$ac_ext <<_ACEOF
   8623 /* end confdefs.h.  */
   8624 
   8625 #include <machine/bswap.h>
   8626 
   8627 
   8628 int
   8629 main ()
   8630 {
   8631 #ifndef bswap32
   8632   char *p = (char *) bswap32;
   8633 #endif
   8634 
   8635   ;
   8636   return 0;
   8637 }
   8638 _ACEOF
   8639 rm -f conftest.$ac_objext
   8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8641   (eval $ac_compile) 2>conftest.er1
   8642   ac_status=$?
   8643   grep -v '^ *+' conftest.er1 >conftest.err
   8644   rm -f conftest.er1
   8645   cat conftest.err >&5
   8646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8647   (exit $ac_status); } &&
   8648 	 { ac_try='test -z "$ac_c_werror_flag"
   8649 			 || test ! -s conftest.err'
   8650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8651   (eval $ac_try) 2>&5
   8652   ac_status=$?
   8653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8654   (exit $ac_status); }; } &&
   8655 	 { ac_try='test -s conftest.$ac_objext'
   8656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8657   (eval $ac_try) 2>&5
   8658   ac_status=$?
   8659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8660   (exit $ac_status); }; }; then
   8661   ac_cv_have_decl_bswap32=yes
   8662 else
   8663   echo "$as_me: failed program was:" >&5
   8664 sed 's/^/| /' conftest.$ac_ext >&5
   8665 
   8666 ac_cv_have_decl_bswap32=no
   8667 fi
   8668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8669 fi
   8670 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap32" >&5
   8671 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
   8672 if test $ac_cv_have_decl_bswap32 = yes; then
   8673 
   8674 cat >>confdefs.h <<_ACEOF
   8675 #define HAVE_DECL_BSWAP32 1
   8676 _ACEOF
   8677 
   8678 
   8679 else
   8680   cat >>confdefs.h <<_ACEOF
   8681 #define HAVE_DECL_BSWAP32 0
   8682 _ACEOF
   8683 
   8684 
   8685 fi
   8686 echo "$as_me:$LINENO: checking whether bswap64 is declared" >&5
   8687 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
   8688 if test "${ac_cv_have_decl_bswap64+set}" = set; then
   8689   echo $ECHO_N "(cached) $ECHO_C" >&6
   8690 else
   8691   cat >conftest.$ac_ext <<_ACEOF
   8692 /* confdefs.h.  */
   8693 _ACEOF
   8694 cat confdefs.h >>conftest.$ac_ext
   8695 cat >>conftest.$ac_ext <<_ACEOF
   8696 /* end confdefs.h.  */
   8697 
   8698 #include <machine/bswap.h>
   8699 
   8700 
   8701 int
   8702 main ()
   8703 {
   8704 #ifndef bswap64
   8705   char *p = (char *) bswap64;
   8706 #endif
   8707 
   8708   ;
   8709   return 0;
   8710 }
   8711 _ACEOF
   8712 rm -f conftest.$ac_objext
   8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8714   (eval $ac_compile) 2>conftest.er1
   8715   ac_status=$?
   8716   grep -v '^ *+' conftest.er1 >conftest.err
   8717   rm -f conftest.er1
   8718   cat conftest.err >&5
   8719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8720   (exit $ac_status); } &&
   8721 	 { ac_try='test -z "$ac_c_werror_flag"
   8722 			 || test ! -s conftest.err'
   8723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8724   (eval $ac_try) 2>&5
   8725   ac_status=$?
   8726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8727   (exit $ac_status); }; } &&
   8728 	 { ac_try='test -s conftest.$ac_objext'
   8729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8730   (eval $ac_try) 2>&5
   8731   ac_status=$?
   8732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8733   (exit $ac_status); }; }; then
   8734   ac_cv_have_decl_bswap64=yes
   8735 else
   8736   echo "$as_me: failed program was:" >&5
   8737 sed 's/^/| /' conftest.$ac_ext >&5
   8738 
   8739 ac_cv_have_decl_bswap64=no
   8740 fi
   8741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bswap64" >&5
   8744 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
   8745 if test $ac_cv_have_decl_bswap64 = yes; then
   8746 
   8747 cat >>confdefs.h <<_ACEOF
   8748 #define HAVE_DECL_BSWAP64 1
   8749 _ACEOF
   8750 
   8751 
   8752 else
   8753   cat >>confdefs.h <<_ACEOF
   8754 #define HAVE_DECL_BSWAP64 0
   8755 _ACEOF
   8756 
   8757 
   8758 fi
   8759 
   8760 
   8761 
   8762 echo "$as_me:$LINENO: checking whether fstatvfs is declared" >&5
   8763 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
   8764 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then
   8765   echo $ECHO_N "(cached) $ECHO_C" >&6
   8766 else
   8767   cat >conftest.$ac_ext <<_ACEOF
   8768 /* confdefs.h.  */
   8769 _ACEOF
   8770 cat confdefs.h >>conftest.$ac_ext
   8771 cat >>conftest.$ac_ext <<_ACEOF
   8772 /* end confdefs.h.  */
   8773 
   8774 #include <sys/statvfs.h>
   8775 
   8776 
   8777 int
   8778 main ()
   8779 {
   8780 #ifndef fstatvfs
   8781   char *p = (char *) fstatvfs;
   8782 #endif
   8783 
   8784   ;
   8785   return 0;
   8786 }
   8787 _ACEOF
   8788 rm -f conftest.$ac_objext
   8789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8790   (eval $ac_compile) 2>conftest.er1
   8791   ac_status=$?
   8792   grep -v '^ *+' conftest.er1 >conftest.err
   8793   rm -f conftest.er1
   8794   cat conftest.err >&5
   8795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8796   (exit $ac_status); } &&
   8797 	 { ac_try='test -z "$ac_c_werror_flag"
   8798 			 || test ! -s conftest.err'
   8799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8800   (eval $ac_try) 2>&5
   8801   ac_status=$?
   8802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8803   (exit $ac_status); }; } &&
   8804 	 { ac_try='test -s conftest.$ac_objext'
   8805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8806   (eval $ac_try) 2>&5
   8807   ac_status=$?
   8808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8809   (exit $ac_status); }; }; then
   8810   ac_cv_have_decl_fstatvfs=yes
   8811 else
   8812   echo "$as_me: failed program was:" >&5
   8813 sed 's/^/| /' conftest.$ac_ext >&5
   8814 
   8815 ac_cv_have_decl_fstatvfs=no
   8816 fi
   8817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8818 fi
   8819 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fstatvfs" >&5
   8820 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
   8821 if test $ac_cv_have_decl_fstatvfs = yes; then
   8822 
   8823 cat >>confdefs.h <<_ACEOF
   8824 #define HAVE_DECL_FSTATVFS 1
   8825 _ACEOF
   8826 
   8827 
   8828 else
   8829   cat >>confdefs.h <<_ACEOF
   8830 #define HAVE_DECL_FSTATVFS 0
   8831 _ACEOF
   8832 
   8833 
   8834 fi
   8835 
   8836 
   8837 
   8838 echo "$as_me:$LINENO: checking whether setgroupent is declared" >&5
   8839 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   8840 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   8841   echo $ECHO_N "(cached) $ECHO_C" >&6
   8842 else
   8843   cat >conftest.$ac_ext <<_ACEOF
   8844 /* confdefs.h.  */
   8845 _ACEOF
   8846 cat confdefs.h >>conftest.$ac_ext
   8847 cat >>conftest.$ac_ext <<_ACEOF
   8848 /* end confdefs.h.  */
   8849 
   8850 #include <sys/types.h>
   8851 #include <grp.h>
   8852 #include <pwd.h>
   8853 
   8854 
   8855 int
   8856 main ()
   8857 {
   8858 #ifndef setgroupent
   8859   char *p = (char *) setgroupent;
   8860 #endif
   8861 
   8862   ;
   8863   return 0;
   8864 }
   8865 _ACEOF
   8866 rm -f conftest.$ac_objext
   8867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8868   (eval $ac_compile) 2>conftest.er1
   8869   ac_status=$?
   8870   grep -v '^ *+' conftest.er1 >conftest.err
   8871   rm -f conftest.er1
   8872   cat conftest.err >&5
   8873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8874   (exit $ac_status); } &&
   8875 	 { ac_try='test -z "$ac_c_werror_flag"
   8876 			 || test ! -s conftest.err'
   8877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8878   (eval $ac_try) 2>&5
   8879   ac_status=$?
   8880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8881   (exit $ac_status); }; } &&
   8882 	 { ac_try='test -s conftest.$ac_objext'
   8883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8884   (eval $ac_try) 2>&5
   8885   ac_status=$?
   8886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8887   (exit $ac_status); }; }; then
   8888   ac_cv_have_decl_setgroupent=yes
   8889 else
   8890   echo "$as_me: failed program was:" >&5
   8891 sed 's/^/| /' conftest.$ac_ext >&5
   8892 
   8893 ac_cv_have_decl_setgroupent=no
   8894 fi
   8895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8896 fi
   8897 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
   8898 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   8899 if test $ac_cv_have_decl_setgroupent = yes; then
   8900 
   8901 cat >>confdefs.h <<_ACEOF
   8902 #define HAVE_DECL_SETGROUPENT 1
   8903 _ACEOF
   8904 
   8905 
   8906 else
   8907   cat >>confdefs.h <<_ACEOF
   8908 #define HAVE_DECL_SETGROUPENT 0
   8909 _ACEOF
   8910 
   8911 
   8912 fi
   8913 echo "$as_me:$LINENO: checking whether setpassent is declared" >&5
   8914 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   8915 if test "${ac_cv_have_decl_setpassent+set}" = set; then
   8916   echo $ECHO_N "(cached) $ECHO_C" >&6
   8917 else
   8918   cat >conftest.$ac_ext <<_ACEOF
   8919 /* confdefs.h.  */
   8920 _ACEOF
   8921 cat confdefs.h >>conftest.$ac_ext
   8922 cat >>conftest.$ac_ext <<_ACEOF
   8923 /* end confdefs.h.  */
   8924 
   8925 #include <sys/types.h>
   8926 #include <grp.h>
   8927 #include <pwd.h>
   8928 
   8929 
   8930 int
   8931 main ()
   8932 {
   8933 #ifndef setpassent
   8934   char *p = (char *) setpassent;
   8935 #endif
   8936 
   8937   ;
   8938   return 0;
   8939 }
   8940 _ACEOF
   8941 rm -f conftest.$ac_objext
   8942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8943   (eval $ac_compile) 2>conftest.er1
   8944   ac_status=$?
   8945   grep -v '^ *+' conftest.er1 >conftest.err
   8946   rm -f conftest.er1
   8947   cat conftest.err >&5
   8948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8949   (exit $ac_status); } &&
   8950 	 { ac_try='test -z "$ac_c_werror_flag"
   8951 			 || test ! -s conftest.err'
   8952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8953   (eval $ac_try) 2>&5
   8954   ac_status=$?
   8955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8956   (exit $ac_status); }; } &&
   8957 	 { ac_try='test -s conftest.$ac_objext'
   8958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8959   (eval $ac_try) 2>&5
   8960   ac_status=$?
   8961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8962   (exit $ac_status); }; }; then
   8963   ac_cv_have_decl_setpassent=yes
   8964 else
   8965   echo "$as_me: failed program was:" >&5
   8966 sed 's/^/| /' conftest.$ac_ext >&5
   8967 
   8968 ac_cv_have_decl_setpassent=no
   8969 fi
   8970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8971 fi
   8972 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
   8973 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   8974 if test $ac_cv_have_decl_setpassent = yes; then
   8975 
   8976 cat >>confdefs.h <<_ACEOF
   8977 #define HAVE_DECL_SETPASSENT 1
   8978 _ACEOF
   8979 
   8980 
   8981 else
   8982   cat >>confdefs.h <<_ACEOF
   8983 #define HAVE_DECL_SETPASSENT 0
   8984 _ACEOF
   8985 
   8986 
   8987 fi
   8988 
   8989 
   8990 
   8991 # regcomp() and regexec() are also names of functions in the old V8
   8992 # regexp package.  To avoid them, we need to find out who has regfree().
   8993 
   8994 
   8995 echo "$as_me:$LINENO: checking for regfree in -lregex" >&5
   8996 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   8997 if test "${ac_cv_lib_regex_regfree+set}" = set; then
   8998   echo $ECHO_N "(cached) $ECHO_C" >&6
   8999 else
   9000   ac_check_lib_save_LIBS=$LIBS
   9001 LIBS="-lregex  $LIBS"
   9002 cat >conftest.$ac_ext <<_ACEOF
   9003 /* confdefs.h.  */
   9004 _ACEOF
   9005 cat confdefs.h >>conftest.$ac_ext
   9006 cat >>conftest.$ac_ext <<_ACEOF
   9007 /* end confdefs.h.  */
   9008 
   9009 /* Override any gcc2 internal prototype to avoid an error.  */
   9010 #ifdef __cplusplus
   9011 extern "C"
   9012 #endif
   9013 /* We use char because int might match the return type of a gcc2
   9014    builtin and then its argument prototype would still apply.  */
   9015 char regfree ();
   9016 int
   9017 main ()
   9018 {
   9019 regfree ();
   9020   ;
   9021   return 0;
   9022 }
   9023 _ACEOF
   9024 rm -f conftest.$ac_objext conftest$ac_exeext
   9025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9026   (eval $ac_link) 2>conftest.er1
   9027   ac_status=$?
   9028   grep -v '^ *+' conftest.er1 >conftest.err
   9029   rm -f conftest.er1
   9030   cat conftest.err >&5
   9031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9032   (exit $ac_status); } &&
   9033 	 { ac_try='test -z "$ac_c_werror_flag"
   9034 			 || test ! -s conftest.err'
   9035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9036   (eval $ac_try) 2>&5
   9037   ac_status=$?
   9038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9039   (exit $ac_status); }; } &&
   9040 	 { ac_try='test -s conftest$ac_exeext'
   9041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9042   (eval $ac_try) 2>&5
   9043   ac_status=$?
   9044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9045   (exit $ac_status); }; }; then
   9046   ac_cv_lib_regex_regfree=yes
   9047 else
   9048   echo "$as_me: failed program was:" >&5
   9049 sed 's/^/| /' conftest.$ac_ext >&5
   9050 
   9051 ac_cv_lib_regex_regfree=no
   9052 fi
   9053 rm -f conftest.err conftest.$ac_objext \
   9054       conftest$ac_exeext conftest.$ac_ext
   9055 LIBS=$ac_check_lib_save_LIBS
   9056 fi
   9057 echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
   9058 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   9059 if test $ac_cv_lib_regex_regfree = yes; then
   9060   cat >>confdefs.h <<_ACEOF
   9061 #define HAVE_LIBREGEX 1
   9062 _ACEOF
   9063 
   9064   LIBS="-lregex $LIBS"
   9065 
   9066 fi
   9067 
   9068 echo "$as_me:$LINENO: checking for library containing regfree" >&5
   9069 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   9070 if test "${ac_cv_search_regfree+set}" = set; then
   9071   echo $ECHO_N "(cached) $ECHO_C" >&6
   9072 else
   9073   ac_func_search_save_LIBS=$LIBS
   9074 ac_cv_search_regfree=no
   9075 cat >conftest.$ac_ext <<_ACEOF
   9076 /* confdefs.h.  */
   9077 _ACEOF
   9078 cat confdefs.h >>conftest.$ac_ext
   9079 cat >>conftest.$ac_ext <<_ACEOF
   9080 /* end confdefs.h.  */
   9081 
   9082 /* Override any gcc2 internal prototype to avoid an error.  */
   9083 #ifdef __cplusplus
   9084 extern "C"
   9085 #endif
   9086 /* We use char because int might match the return type of a gcc2
   9087    builtin and then its argument prototype would still apply.  */
   9088 char regfree ();
   9089 int
   9090 main ()
   9091 {
   9092 regfree ();
   9093   ;
   9094   return 0;
   9095 }
   9096 _ACEOF
   9097 rm -f conftest.$ac_objext conftest$ac_exeext
   9098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9099   (eval $ac_link) 2>conftest.er1
   9100   ac_status=$?
   9101   grep -v '^ *+' conftest.er1 >conftest.err
   9102   rm -f conftest.er1
   9103   cat conftest.err >&5
   9104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9105   (exit $ac_status); } &&
   9106 	 { ac_try='test -z "$ac_c_werror_flag"
   9107 			 || test ! -s conftest.err'
   9108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9109   (eval $ac_try) 2>&5
   9110   ac_status=$?
   9111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9112   (exit $ac_status); }; } &&
   9113 	 { ac_try='test -s conftest$ac_exeext'
   9114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9115   (eval $ac_try) 2>&5
   9116   ac_status=$?
   9117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9118   (exit $ac_status); }; }; then
   9119   ac_cv_search_regfree="none required"
   9120 else
   9121   echo "$as_me: failed program was:" >&5
   9122 sed 's/^/| /' conftest.$ac_ext >&5
   9123 
   9124 fi
   9125 rm -f conftest.err conftest.$ac_objext \
   9126       conftest$ac_exeext conftest.$ac_ext
   9127 if test "$ac_cv_search_regfree" = no; then
   9128   for ac_lib in rx posix; do
   9129     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   9130     cat >conftest.$ac_ext <<_ACEOF
   9131 /* confdefs.h.  */
   9132 _ACEOF
   9133 cat confdefs.h >>conftest.$ac_ext
   9134 cat >>conftest.$ac_ext <<_ACEOF
   9135 /* end confdefs.h.  */
   9136 
   9137 /* Override any gcc2 internal prototype to avoid an error.  */
   9138 #ifdef __cplusplus
   9139 extern "C"
   9140 #endif
   9141 /* We use char because int might match the return type of a gcc2
   9142    builtin and then its argument prototype would still apply.  */
   9143 char regfree ();
   9144 int
   9145 main ()
   9146 {
   9147 regfree ();
   9148   ;
   9149   return 0;
   9150 }
   9151 _ACEOF
   9152 rm -f conftest.$ac_objext conftest$ac_exeext
   9153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9154   (eval $ac_link) 2>conftest.er1
   9155   ac_status=$?
   9156   grep -v '^ *+' conftest.er1 >conftest.err
   9157   rm -f conftest.er1
   9158   cat conftest.err >&5
   9159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9160   (exit $ac_status); } &&
   9161 	 { ac_try='test -z "$ac_c_werror_flag"
   9162 			 || test ! -s conftest.err'
   9163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9164   (eval $ac_try) 2>&5
   9165   ac_status=$?
   9166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9167   (exit $ac_status); }; } &&
   9168 	 { ac_try='test -s conftest$ac_exeext'
   9169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9170   (eval $ac_try) 2>&5
   9171   ac_status=$?
   9172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9173   (exit $ac_status); }; }; then
   9174   ac_cv_search_regfree="-l$ac_lib"
   9175 break
   9176 else
   9177   echo "$as_me: failed program was:" >&5
   9178 sed 's/^/| /' conftest.$ac_ext >&5
   9179 
   9180 fi
   9181 rm -f conftest.err conftest.$ac_objext \
   9182       conftest$ac_exeext conftest.$ac_ext
   9183   done
   9184 fi
   9185 LIBS=$ac_func_search_save_LIBS
   9186 fi
   9187 echo "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
   9188 echo "${ECHO_T}$ac_cv_search_regfree" >&6
   9189 if test "$ac_cv_search_regfree" != no; then
   9190   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   9191 
   9192 fi
   9193 
   9194 
   9195 cat >confcache <<\_ACEOF
   9196 # This file is a shell script that caches the results of configure
   9197 # tests run on this system so they can be shared between configure
   9198 # scripts and configure runs, see configure's option --config-cache.
   9199 # It is not useful on other systems.  If it contains results you don't
   9200 # want to keep, you may remove or edit it.
   9201 #
   9202 # config.status only pays attention to the cache file if you give it
   9203 # the --recheck option to rerun configure.
   9204 #
   9205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   9206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   9207 # following values.
   9208 
   9209 _ACEOF
   9210 
   9211 # The following way of writing the cache mishandles newlines in values,
   9212 # but we know of no workaround that is simple, portable, and efficient.
   9213 # So, don't put newlines in cache variables' values.
   9214 # Ultrix sh set writes to stderr and can't be redirected directly,
   9215 # and sets the high bit in the cache file unless we assign to the vars.
   9216 {
   9217   (set) 2>&1 |
   9218     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   9219     *ac_space=\ *)
   9220       # `set' does not quote correctly, so add quotes (double-quote
   9221       # substitution turns \\\\ into \\, and sed turns \\ into \).
   9222       sed -n \
   9223 	"s/'/'\\\\''/g;
   9224 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   9225       ;;
   9226     *)
   9227       # `set' quotes correctly as required by POSIX, so do not add quotes.
   9228       sed -n \
   9229 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   9230       ;;
   9231     esac;
   9232 } |
   9233   sed '
   9234      t clear
   9235      : clear
   9236      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   9237      t end
   9238      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   9239      : end' >>confcache
   9240 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   9241   if test -w $cache_file; then
   9242     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   9243     cat confcache >$cache_file
   9244   else
   9245     echo "not updating unwritable cache $cache_file"
   9246   fi
   9247 fi
   9248 rm -f confcache
   9249 
   9250 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   9251 # Let make expand exec_prefix.
   9252 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   9253 
   9254 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   9255 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   9256 # trailing colons and then remove the whole line if VPATH becomes empty
   9257 # (actually we leave an empty line to preserve line numbers).
   9258 if test "x$srcdir" = x.; then
   9259   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   9260 s/:*\$(srcdir):*/:/;
   9261 s/:*\${srcdir}:*/:/;
   9262 s/:*@srcdir@:*/:/;
   9263 s/^\([^=]*=[	 ]*\):*/\1/;
   9264 s/:*$//;
   9265 s/^[^=]*=[	 ]*$//;
   9266 }'
   9267 fi
   9268 
   9269 DEFS=-DHAVE_CONFIG_H
   9270 
   9271 ac_libobjs=
   9272 ac_ltlibobjs=
   9273 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   9274   # 1. Remove the extension, and $U if already installed.
   9275   ac_i=`echo "$ac_i" |
   9276 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   9277   # 2. Add them.
   9278   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   9279   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   9280 done
   9281 LIBOBJS=$ac_libobjs
   9282 
   9283 LTLIBOBJS=$ac_ltlibobjs
   9284 
   9285 
   9286 
   9287 : ${CONFIG_STATUS=./config.status}
   9288 ac_clean_files_save=$ac_clean_files
   9289 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   9290 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   9291 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   9292 cat >$CONFIG_STATUS <<_ACEOF
   9293 #! $SHELL
   9294 # Generated by $as_me.
   9295 # Run this file to recreate the current configuration.
   9296 # Compiler output produced by configure, useful for debugging
   9297 # configure, is in config.log if it exists.
   9298 
   9299 debug=false
   9300 ac_cs_recheck=false
   9301 ac_cs_silent=false
   9302 SHELL=\${CONFIG_SHELL-$SHELL}
   9303 _ACEOF
   9304 
   9305 cat >>$CONFIG_STATUS <<\_ACEOF
   9306 ## --------------------- ##
   9307 ## M4sh Initialization.  ##
   9308 ## --------------------- ##
   9309 
   9310 # Be Bourne compatible
   9311 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   9312   emulate sh
   9313   NULLCMD=:
   9314   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   9315   # is contrary to our usage.  Disable this feature.
   9316   alias -g '${1+"$@"}'='"$@"'
   9317 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   9318   set -o posix
   9319 fi
   9320 DUALCASE=1; export DUALCASE # for MKS sh
   9321 
   9322 # Support unset when possible.
   9323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9324   as_unset=unset
   9325 else
   9326   as_unset=false
   9327 fi
   9328 
   9329 
   9330 # Work around bugs in pre-3.0 UWIN ksh.
   9331 $as_unset ENV MAIL MAILPATH
   9332 PS1='$ '
   9333 PS2='> '
   9334 PS4='+ '
   9335 
   9336 # NLS nuisances.
   9337 for as_var in \
   9338   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   9339   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   9340   LC_TELEPHONE LC_TIME
   9341 do
   9342   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   9343     eval $as_var=C; export $as_var
   9344   else
   9345     $as_unset $as_var
   9346   fi
   9347 done
   9348 
   9349 # Required to use basename.
   9350 if expr a : '\(a\)' >/dev/null 2>&1; then
   9351   as_expr=expr
   9352 else
   9353   as_expr=false
   9354 fi
   9355 
   9356 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   9357   as_basename=basename
   9358 else
   9359   as_basename=false
   9360 fi
   9361 
   9362 
   9363 # Name of the executable.
   9364 as_me=`$as_basename "$0" ||
   9365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   9366 	 X"$0" : 'X\(//\)$' \| \
   9367 	 X"$0" : 'X\(/\)$' \| \
   9368 	 .     : '\(.\)' 2>/dev/null ||
   9369 echo X/"$0" |
   9370     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   9371   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   9372   	  /^X\/\(\/\).*/{ s//\1/; q; }
   9373   	  s/.*/./; q'`
   9374 
   9375 
   9376 # PATH needs CR, and LINENO needs CR and PATH.
   9377 # Avoid depending upon Character Ranges.
   9378 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   9379 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   9380 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   9381 as_cr_digits='0123456789'
   9382 as_cr_alnum=$as_cr_Letters$as_cr_digits
   9383 
   9384 # The user is always right.
   9385 if test "${PATH_SEPARATOR+set}" != set; then
   9386   echo "#! /bin/sh" >conf$$.sh
   9387   echo  "exit 0"   >>conf$$.sh
   9388   chmod +x conf$$.sh
   9389   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9390     PATH_SEPARATOR=';'
   9391   else
   9392     PATH_SEPARATOR=:
   9393   fi
   9394   rm -f conf$$.sh
   9395 fi
   9396 
   9397 
   9398   as_lineno_1=$LINENO
   9399   as_lineno_2=$LINENO
   9400   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9401   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9402   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   9403   # Find who we are.  Look in the path if we contain no path at all
   9404   # relative or not.
   9405   case $0 in
   9406     *[\\/]* ) as_myself=$0 ;;
   9407     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9408 for as_dir in $PATH
   9409 do
   9410   IFS=$as_save_IFS
   9411   test -z "$as_dir" && as_dir=.
   9412   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   9413 done
   9414 
   9415        ;;
   9416   esac
   9417   # We did not find ourselves, most probably we were run as `sh COMMAND'
   9418   # in which case we are not to be found in the path.
   9419   if test "x$as_myself" = x; then
   9420     as_myself=$0
   9421   fi
   9422   if test ! -f "$as_myself"; then
   9423     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   9424 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   9425    { (exit 1); exit 1; }; }
   9426   fi
   9427   case $CONFIG_SHELL in
   9428   '')
   9429     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9430 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   9431 do
   9432   IFS=$as_save_IFS
   9433   test -z "$as_dir" && as_dir=.
   9434   for as_base in sh bash ksh sh5; do
   9435 	 case $as_dir in
   9436 	 /*)
   9437 	   if ("$as_dir/$as_base" -c '
   9438   as_lineno_1=$LINENO
   9439   as_lineno_2=$LINENO
   9440   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   9441   test "x$as_lineno_1" != "x$as_lineno_2" &&
   9442   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   9443 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   9444 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   9445 	     CONFIG_SHELL=$as_dir/$as_base
   9446 	     export CONFIG_SHELL
   9447 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   9448 	   fi;;
   9449 	 esac
   9450        done
   9451 done
   9452 ;;
   9453   esac
   9454 
   9455   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   9456   # uniformly replaced by the line number.  The first 'sed' inserts a
   9457   # line-number line before each line; the second 'sed' does the real
   9458   # work.  The second script uses 'N' to pair each line-number line
   9459   # with the numbered line, and appends trailing '-' during
   9460   # substitution so that $LINENO is not a special case at line end.
   9461   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   9462   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   9463   sed '=' <$as_myself |
   9464     sed '
   9465       N
   9466       s,$,-,
   9467       : loop
   9468       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   9469       t loop
   9470       s,-$,,
   9471       s,^['$as_cr_digits']*\n,,
   9472     ' >$as_me.lineno &&
   9473   chmod +x $as_me.lineno ||
   9474     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   9475 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   9476    { (exit 1); exit 1; }; }
   9477 
   9478   # Don't try to exec as it changes $[0], causing all sort of problems
   9479   # (the dirname of $[0] is not the place where we might find the
   9480   # original and so on.  Autoconf is especially sensible to this).
   9481   . ./$as_me.lineno
   9482   # Exit status is that of the last command.
   9483   exit
   9484 }
   9485 
   9486 
   9487 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   9488   *c*,-n*) ECHO_N= ECHO_C='
   9489 ' ECHO_T='	' ;;
   9490   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   9491   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   9492 esac
   9493 
   9494 if expr a : '\(a\)' >/dev/null 2>&1; then
   9495   as_expr=expr
   9496 else
   9497   as_expr=false
   9498 fi
   9499 
   9500 rm -f conf$$ conf$$.exe conf$$.file
   9501 echo >conf$$.file
   9502 if ln -s conf$$.file conf$$ 2>/dev/null; then
   9503   # We could just check for DJGPP; but this test a) works b) is more generic
   9504   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   9505   if test -f conf$$.exe; then
   9506     # Don't use ln at all; we don't have any links
   9507     as_ln_s='cp -p'
   9508   else
   9509     as_ln_s='ln -s'
   9510   fi
   9511 elif ln conf$$.file conf$$ 2>/dev/null; then
   9512   as_ln_s=ln
   9513 else
   9514   as_ln_s='cp -p'
   9515 fi
   9516 rm -f conf$$ conf$$.exe conf$$.file
   9517 
   9518 if mkdir -p . 2>/dev/null; then
   9519   as_mkdir_p=:
   9520 else
   9521   test -d ./-p && rmdir ./-p
   9522   as_mkdir_p=false
   9523 fi
   9524 
   9525 as_executable_p="test -f"
   9526 
   9527 # Sed expression to map a string onto a valid CPP name.
   9528 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   9529 
   9530 # Sed expression to map a string onto a valid variable name.
   9531 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   9532 
   9533 
   9534 # IFS
   9535 # We need space, tab and new line, in precisely that order.
   9536 as_nl='
   9537 '
   9538 IFS=" 	$as_nl"
   9539 
   9540 # CDPATH.
   9541 $as_unset CDPATH
   9542 
   9543 exec 6>&1
   9544 
   9545 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   9546 # report actual input values of CONFIG_FILES etc. instead of their
   9547 # values after options handling.  Logging --version etc. is OK.
   9548 exec 5>>config.log
   9549 {
   9550   echo
   9551   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   9552 ## Running $as_me. ##
   9553 _ASBOX
   9554 } >&5
   9555 cat >&5 <<_CSEOF
   9556 
   9557 This file was extended by libnbcompat $as_me noversion, which was
   9558 generated by GNU Autoconf 2.59.  Invocation command line was
   9559 
   9560   CONFIG_FILES    = $CONFIG_FILES
   9561   CONFIG_HEADERS  = $CONFIG_HEADERS
   9562   CONFIG_LINKS    = $CONFIG_LINKS
   9563   CONFIG_COMMANDS = $CONFIG_COMMANDS
   9564   $ $0 $@
   9565 
   9566 _CSEOF
   9567 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   9568 echo >&5
   9569 _ACEOF
   9570 
   9571 # Files that config.status was made for.
   9572 if test -n "$ac_config_files"; then
   9573   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   9574 fi
   9575 
   9576 if test -n "$ac_config_headers"; then
   9577   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   9578 fi
   9579 
   9580 if test -n "$ac_config_links"; then
   9581   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   9582 fi
   9583 
   9584 if test -n "$ac_config_commands"; then
   9585   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   9586 fi
   9587 
   9588 cat >>$CONFIG_STATUS <<\_ACEOF
   9589 
   9590 ac_cs_usage="\
   9591 \`$as_me' instantiates files from templates according to the
   9592 current configuration.
   9593 
   9594 Usage: $0 [OPTIONS] [FILE]...
   9595 
   9596   -h, --help       print this help, then exit
   9597   -V, --version    print version number, then exit
   9598   -q, --quiet      do not print progress messages
   9599   -d, --debug      don't remove temporary files
   9600       --recheck    update $as_me by reconfiguring in the same conditions
   9601   --file=FILE[:TEMPLATE]
   9602 		   instantiate the configuration file FILE
   9603   --header=FILE[:TEMPLATE]
   9604 		   instantiate the configuration header FILE
   9605 
   9606 Configuration files:
   9607 $config_files
   9608 
   9609 Configuration headers:
   9610 $config_headers
   9611 
   9612 Report bugs to <bug-autoconf@gnu.org>."
   9613 _ACEOF
   9614 
   9615 cat >>$CONFIG_STATUS <<_ACEOF
   9616 ac_cs_version="\\
   9617 libnbcompat config.status noversion
   9618 configured by $0, generated by GNU Autoconf 2.59,
   9619   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   9620 
   9621 Copyright (C) 2003 Free Software Foundation, Inc.
   9622 This config.status script is free software; the Free Software Foundation
   9623 gives unlimited permission to copy, distribute and modify it."
   9624 srcdir=$srcdir
   9625 _ACEOF
   9626 
   9627 cat >>$CONFIG_STATUS <<\_ACEOF
   9628 # If no file are specified by the user, then we need to provide default
   9629 # value.  By we need to know if files were specified by the user.
   9630 ac_need_defaults=:
   9631 while test $# != 0
   9632 do
   9633   case $1 in
   9634   --*=*)
   9635     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   9636     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   9637     ac_shift=:
   9638     ;;
   9639   -*)
   9640     ac_option=$1
   9641     ac_optarg=$2
   9642     ac_shift=shift
   9643     ;;
   9644   *) # This is not an option, so the user has probably given explicit
   9645      # arguments.
   9646      ac_option=$1
   9647      ac_need_defaults=false;;
   9648   esac
   9649 
   9650   case $ac_option in
   9651   # Handling of the options.
   9652 _ACEOF
   9653 cat >>$CONFIG_STATUS <<\_ACEOF
   9654   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   9655     ac_cs_recheck=: ;;
   9656   --version | --vers* | -V )
   9657     echo "$ac_cs_version"; exit 0 ;;
   9658   --he | --h)
   9659     # Conflict between --help and --header
   9660     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   9661 Try \`$0 --help' for more information." >&5
   9662 echo "$as_me: error: ambiguous option: $1
   9663 Try \`$0 --help' for more information." >&2;}
   9664    { (exit 1); exit 1; }; };;
   9665   --help | --hel | -h )
   9666     echo "$ac_cs_usage"; exit 0 ;;
   9667   --debug | --d* | -d )
   9668     debug=: ;;
   9669   --file | --fil | --fi | --f )
   9670     $ac_shift
   9671     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   9672     ac_need_defaults=false;;
   9673   --header | --heade | --head | --hea )
   9674     $ac_shift
   9675     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   9676     ac_need_defaults=false;;
   9677   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   9678   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   9679     ac_cs_silent=: ;;
   9680 
   9681   # This is an error.
   9682   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   9683 Try \`$0 --help' for more information." >&5
   9684 echo "$as_me: error: unrecognized option: $1
   9685 Try \`$0 --help' for more information." >&2;}
   9686    { (exit 1); exit 1; }; } ;;
   9687 
   9688   *) ac_config_targets="$ac_config_targets $1" ;;
   9689 
   9690   esac
   9691   shift
   9692 done
   9693 
   9694 ac_configure_extra_args=
   9695 
   9696 if $ac_cs_silent; then
   9697   exec 6>/dev/null
   9698   ac_configure_extra_args="$ac_configure_extra_args --silent"
   9699 fi
   9700 
   9701 _ACEOF
   9702 cat >>$CONFIG_STATUS <<_ACEOF
   9703 if \$ac_cs_recheck; then
   9704   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   9705   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   9706 fi
   9707 
   9708 _ACEOF
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 cat >>$CONFIG_STATUS <<\_ACEOF
   9715 for ac_config_target in $ac_config_targets
   9716 do
   9717   case "$ac_config_target" in
   9718   # Handling of arguments.
   9719   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   9720   "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   9721   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   9722 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   9723    { (exit 1); exit 1; }; };;
   9724   esac
   9725 done
   9726 
   9727 # If the user did not use the arguments to specify the items to instantiate,
   9728 # then the envvar interface is used.  Set only those that are not.
   9729 # We use the long form for the default assignment because of an extremely
   9730 # bizarre bug on SunOS 4.1.3.
   9731 if $ac_need_defaults; then
   9732   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   9733   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   9734 fi
   9735 
   9736 # Have a temporary directory for convenience.  Make it in the build tree
   9737 # simply because there is no reason to put it here, and in addition,
   9738 # creating and moving files from /tmp can sometimes cause problems.
   9739 # Create a temporary directory, and hook for its removal unless debugging.
   9740 $debug ||
   9741 {
   9742   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   9743   trap '{ (exit 1); exit 1; }' 1 2 13 15
   9744 }
   9745 
   9746 # Create a (secure) tmp directory for tmp files.
   9747 
   9748 {
   9749   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   9750   test -n "$tmp" && test -d "$tmp"
   9751 }  ||
   9752 {
   9753   tmp=./confstat$$-$RANDOM
   9754   (umask 077 && mkdir $tmp)
   9755 } ||
   9756 {
   9757    echo "$me: cannot create a temporary directory in ." >&2
   9758    { (exit 1); exit 1; }
   9759 }
   9760 
   9761 _ACEOF
   9762 
   9763 cat >>$CONFIG_STATUS <<_ACEOF
   9764 
   9765 #
   9766 # CONFIG_FILES section.
   9767 #
   9768 
   9769 # No need to generate the scripts if there are no CONFIG_FILES.
   9770 # This happens for instance when ./config.status config.h
   9771 if test -n "\$CONFIG_FILES"; then
   9772   # Protect against being on the right side of a sed subst in config.status.
   9773   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   9774    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   9775 s,@SHELL@,$SHELL,;t t
   9776 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   9777 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   9778 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   9779 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   9780 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   9781 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   9782 s,@exec_prefix@,$exec_prefix,;t t
   9783 s,@prefix@,$prefix,;t t
   9784 s,@program_transform_name@,$program_transform_name,;t t
   9785 s,@bindir@,$bindir,;t t
   9786 s,@sbindir@,$sbindir,;t t
   9787 s,@libexecdir@,$libexecdir,;t t
   9788 s,@datadir@,$datadir,;t t
   9789 s,@sysconfdir@,$sysconfdir,;t t
   9790 s,@sharedstatedir@,$sharedstatedir,;t t
   9791 s,@localstatedir@,$localstatedir,;t t
   9792 s,@libdir@,$libdir,;t t
   9793 s,@includedir@,$includedir,;t t
   9794 s,@oldincludedir@,$oldincludedir,;t t
   9795 s,@infodir@,$infodir,;t t
   9796 s,@mandir@,$mandir,;t t
   9797 s,@build_alias@,$build_alias,;t t
   9798 s,@host_alias@,$host_alias,;t t
   9799 s,@target_alias@,$target_alias,;t t
   9800 s,@DEFS@,$DEFS,;t t
   9801 s,@ECHO_C@,$ECHO_C,;t t
   9802 s,@ECHO_N@,$ECHO_N,;t t
   9803 s,@ECHO_T@,$ECHO_T,;t t
   9804 s,@LIBS@,$LIBS,;t t
   9805 s,@CC@,$CC,;t t
   9806 s,@CFLAGS@,$CFLAGS,;t t
   9807 s,@LDFLAGS@,$LDFLAGS,;t t
   9808 s,@CPPFLAGS@,$CPPFLAGS,;t t
   9809 s,@ac_ct_CC@,$ac_ct_CC,;t t
   9810 s,@EXEEXT@,$EXEEXT,;t t
   9811 s,@OBJEXT@,$OBJEXT,;t t
   9812 s,@CPP@,$CPP,;t t
   9813 s,@EGREP@,$EGREP,;t t
   9814 s,@BSHELL@,$BSHELL,;t t
   9815 s,@ALLOCA@,$ALLOCA,;t t
   9816 s,@LIBOBJS@,$LIBOBJS,;t t
   9817 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   9818 CEOF
   9819 
   9820 _ACEOF
   9821 
   9822   cat >>$CONFIG_STATUS <<\_ACEOF
   9823   # Split the substitutions into bite-sized pieces for seds with
   9824   # small command number limits, like on Digital OSF/1 and HP-UX.
   9825   ac_max_sed_lines=48
   9826   ac_sed_frag=1 # Number of current file.
   9827   ac_beg=1 # First line for current file.
   9828   ac_end=$ac_max_sed_lines # Line after last line for current file.
   9829   ac_more_lines=:
   9830   ac_sed_cmds=
   9831   while $ac_more_lines; do
   9832     if test $ac_beg -gt 1; then
   9833       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   9834     else
   9835       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   9836     fi
   9837     if test ! -s $tmp/subs.frag; then
   9838       ac_more_lines=false
   9839     else
   9840       # The purpose of the label and of the branching condition is to
   9841       # speed up the sed processing (if there are no `@' at all, there
   9842       # is no need to browse any of the substitutions).
   9843       # These are the two extra sed commands mentioned above.
   9844       (echo ':t
   9845   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   9846       if test -z "$ac_sed_cmds"; then
   9847 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   9848       else
   9849 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   9850       fi
   9851       ac_sed_frag=`expr $ac_sed_frag + 1`
   9852       ac_beg=$ac_end
   9853       ac_end=`expr $ac_end + $ac_max_sed_lines`
   9854     fi
   9855   done
   9856   if test -z "$ac_sed_cmds"; then
   9857     ac_sed_cmds=cat
   9858   fi
   9859 fi # test -n "$CONFIG_FILES"
   9860 
   9861 _ACEOF
   9862 cat >>$CONFIG_STATUS <<\_ACEOF
   9863 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   9864   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   9865   case $ac_file in
   9866   - | *:- | *:-:* ) # input from stdin
   9867 	cat >$tmp/stdin
   9868 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   9869 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   9870   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   9871 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   9872   * )   ac_file_in=$ac_file.in ;;
   9873   esac
   9874 
   9875   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   9876   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   9877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   9878 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   9879 	 X"$ac_file" : 'X\(//\)$' \| \
   9880 	 X"$ac_file" : 'X\(/\)' \| \
   9881 	 .     : '\(.\)' 2>/dev/null ||
   9882 echo X"$ac_file" |
   9883     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   9884   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   9885   	  /^X\(\/\/\)$/{ s//\1/; q; }
   9886   	  /^X\(\/\).*/{ s//\1/; q; }
   9887   	  s/.*/./; q'`
   9888   { if $as_mkdir_p; then
   9889     mkdir -p "$ac_dir"
   9890   else
   9891     as_dir="$ac_dir"
   9892     as_dirs=
   9893     while test ! -d "$as_dir"; do
   9894       as_dirs="$as_dir $as_dirs"
   9895       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   9896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   9897 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   9898 	 X"$as_dir" : 'X\(//\)$' \| \
   9899 	 X"$as_dir" : 'X\(/\)' \| \
   9900 	 .     : '\(.\)' 2>/dev/null ||
   9901 echo X"$as_dir" |
   9902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   9903   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   9904   	  /^X\(\/\/\)$/{ s//\1/; q; }
   9905   	  /^X\(\/\).*/{ s//\1/; q; }
   9906   	  s/.*/./; q'`
   9907     done
   9908     test ! -n "$as_dirs" || mkdir $as_dirs
   9909   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   9910 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   9911    { (exit 1); exit 1; }; }; }
   9912 
   9913   ac_builddir=.
   9914 
   9915 if test "$ac_dir" != .; then
   9916   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   9917   # A "../" for each directory in $ac_dir_suffix.
   9918   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   9919 else
   9920   ac_dir_suffix= ac_top_builddir=
   9921 fi
   9922 
   9923 case $srcdir in
   9924   .)  # No --srcdir option.  We are building in place.
   9925     ac_srcdir=.
   9926     if test -z "$ac_top_builddir"; then
   9927        ac_top_srcdir=.
   9928     else
   9929        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   9930     fi ;;
   9931   [\\/]* | ?:[\\/]* )  # Absolute path.
   9932     ac_srcdir=$srcdir$ac_dir_suffix;
   9933     ac_top_srcdir=$srcdir ;;
   9934   *) # Relative path.
   9935     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   9936     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   9937 esac
   9938 
   9939 # Do not use `cd foo && pwd` to compute absolute paths, because
   9940 # the directories may not exist.
   9941 case `pwd` in
   9942 .) ac_abs_builddir="$ac_dir";;
   9943 *)
   9944   case "$ac_dir" in
   9945   .) ac_abs_builddir=`pwd`;;
   9946   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   9947   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   9948   esac;;
   9949 esac
   9950 case $ac_abs_builddir in
   9951 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   9952 *)
   9953   case ${ac_top_builddir}. in
   9954   .) ac_abs_top_builddir=$ac_abs_builddir;;
   9955   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   9956   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   9957   esac;;
   9958 esac
   9959 case $ac_abs_builddir in
   9960 .) ac_abs_srcdir=$ac_srcdir;;
   9961 *)
   9962   case $ac_srcdir in
   9963   .) ac_abs_srcdir=$ac_abs_builddir;;
   9964   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   9965   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   9966   esac;;
   9967 esac
   9968 case $ac_abs_builddir in
   9969 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   9970 *)
   9971   case $ac_top_srcdir in
   9972   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   9973   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   9974   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   9975   esac;;
   9976 esac
   9977 
   9978 
   9979 
   9980   if test x"$ac_file" != x-; then
   9981     { echo "$as_me:$LINENO: creating $ac_file" >&5
   9982 echo "$as_me: creating $ac_file" >&6;}
   9983     rm -f "$ac_file"
   9984   fi
   9985   # Let's still pretend it is `configure' which instantiates (i.e., don't
   9986   # use $as_me), people would be surprised to read:
   9987   #    /* config.h.  Generated by config.status.  */
   9988   if test x"$ac_file" = x-; then
   9989     configure_input=
   9990   else
   9991     configure_input="$ac_file.  "
   9992   fi
   9993   configure_input=$configure_input"Generated from `echo $ac_file_in |
   9994 				     sed 's,.*/,,'` by configure."
   9995 
   9996   # First look for the input files in the build tree, otherwise in the
   9997   # src tree.
   9998   ac_file_inputs=`IFS=:
   9999     for f in $ac_file_in; do
   10000       case $f in
   10001       -) echo $tmp/stdin ;;
   10002       [\\/$]*)
   10003 	 # Absolute (can't be DOS-style, as IFS=:)
   10004 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10005 echo "$as_me: error: cannot find input file: $f" >&2;}
   10006    { (exit 1); exit 1; }; }
   10007 	 echo "$f";;
   10008       *) # Relative
   10009 	 if test -f "$f"; then
   10010 	   # Build tree
   10011 	   echo "$f"
   10012 	 elif test -f "$srcdir/$f"; then
   10013 	   # Source tree
   10014 	   echo "$srcdir/$f"
   10015 	 else
   10016 	   # /dev/null tree
   10017 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10018 echo "$as_me: error: cannot find input file: $f" >&2;}
   10019    { (exit 1); exit 1; }; }
   10020 	 fi;;
   10021       esac
   10022     done` || { (exit 1); exit 1; }
   10023 _ACEOF
   10024 cat >>$CONFIG_STATUS <<_ACEOF
   10025   sed "$ac_vpsub
   10026 $extrasub
   10027 _ACEOF
   10028 cat >>$CONFIG_STATUS <<\_ACEOF
   10029 :t
   10030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   10031 s,@configure_input@,$configure_input,;t t
   10032 s,@srcdir@,$ac_srcdir,;t t
   10033 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   10034 s,@top_srcdir@,$ac_top_srcdir,;t t
   10035 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   10036 s,@builddir@,$ac_builddir,;t t
   10037 s,@abs_builddir@,$ac_abs_builddir,;t t
   10038 s,@top_builddir@,$ac_top_builddir,;t t
   10039 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   10040 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   10041   rm -f $tmp/stdin
   10042   if test x"$ac_file" != x-; then
   10043     mv $tmp/out $ac_file
   10044   else
   10045     cat $tmp/out
   10046     rm -f $tmp/out
   10047   fi
   10048 
   10049 done
   10050 _ACEOF
   10051 cat >>$CONFIG_STATUS <<\_ACEOF
   10052 
   10053 #
   10054 # CONFIG_HEADER section.
   10055 #
   10056 
   10057 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   10058 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   10059 #
   10060 # ac_d sets the value in "#define NAME VALUE" lines.
   10061 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   10062 ac_dB='[	 ].*$,\1#\2'
   10063 ac_dC=' '
   10064 ac_dD=',;t'
   10065 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   10066 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   10067 ac_uB='$,\1#\2define\3'
   10068 ac_uC=' '
   10069 ac_uD=',;t'
   10070 
   10071 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   10072   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   10073   case $ac_file in
   10074   - | *:- | *:-:* ) # input from stdin
   10075 	cat >$tmp/stdin
   10076 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10077 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10078   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   10079 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   10080   * )   ac_file_in=$ac_file.in ;;
   10081   esac
   10082 
   10083   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   10084 echo "$as_me: creating $ac_file" >&6;}
   10085 
   10086   # First look for the input files in the build tree, otherwise in the
   10087   # src tree.
   10088   ac_file_inputs=`IFS=:
   10089     for f in $ac_file_in; do
   10090       case $f in
   10091       -) echo $tmp/stdin ;;
   10092       [\\/$]*)
   10093 	 # Absolute (can't be DOS-style, as IFS=:)
   10094 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10095 echo "$as_me: error: cannot find input file: $f" >&2;}
   10096    { (exit 1); exit 1; }; }
   10097 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   10098 	 echo "$f";;
   10099       *) # Relative
   10100 	 if test -f "$f"; then
   10101 	   # Build tree
   10102 	   echo "$f"
   10103 	 elif test -f "$srcdir/$f"; then
   10104 	   # Source tree
   10105 	   echo "$srcdir/$f"
   10106 	 else
   10107 	   # /dev/null tree
   10108 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   10109 echo "$as_me: error: cannot find input file: $f" >&2;}
   10110    { (exit 1); exit 1; }; }
   10111 	 fi;;
   10112       esac
   10113     done` || { (exit 1); exit 1; }
   10114   # Remove the trailing spaces.
   10115   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   10116 
   10117 _ACEOF
   10118 
   10119 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   10120 # `conftest.undefs', that substitutes the proper values into
   10121 # config.h.in to produce config.h.  The first handles `#define'
   10122 # templates, and the second `#undef' templates.
   10123 # And first: Protect against being on the right side of a sed subst in
   10124 # config.status.  Protect against being in an unquoted here document
   10125 # in config.status.
   10126 rm -f conftest.defines conftest.undefs
   10127 # Using a here document instead of a string reduces the quoting nightmare.
   10128 # Putting comments in sed scripts is not portable.
   10129 #
   10130 # `end' is used to avoid that the second main sed command (meant for
   10131 # 0-ary CPP macros) applies to n-ary macro definitions.
   10132 # See the Autoconf documentation for `clear'.
   10133 cat >confdef2sed.sed <<\_ACEOF
   10134 s/[\\&,]/\\&/g
   10135 s,[\\$`],\\&,g
   10136 t clear
   10137 : clear
   10138 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   10139 t end
   10140 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   10141 : end
   10142 _ACEOF
   10143 # If some macros were called several times there might be several times
   10144 # the same #defines, which is useless.  Nevertheless, we may not want to
   10145 # sort them, since we want the *last* AC-DEFINE to be honored.
   10146 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   10147 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   10148 rm -f confdef2sed.sed
   10149 
   10150 # This sed command replaces #undef with comments.  This is necessary, for
   10151 # example, in the case of _POSIX_SOURCE, which is predefined and required
   10152 # on some systems where configure will not decide to define it.
   10153 cat >>conftest.undefs <<\_ACEOF
   10154 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   10155 _ACEOF
   10156 
   10157 # Break up conftest.defines because some shells have a limit on the size
   10158 # of here documents, and old seds have small limits too (100 cmds).
   10159 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   10160 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   10161 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   10162 echo '  :' >>$CONFIG_STATUS
   10163 rm -f conftest.tail
   10164 while grep . conftest.defines >/dev/null
   10165 do
   10166   # Write a limited-size here document to $tmp/defines.sed.
   10167   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   10168   # Speed up: don't consider the non `#define' lines.
   10169   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   10170   # Work around the forget-to-reset-the-flag bug.
   10171   echo 't clr' >>$CONFIG_STATUS
   10172   echo ': clr' >>$CONFIG_STATUS
   10173   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   10174   echo 'CEOF
   10175   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   10176   rm -f $tmp/in
   10177   mv $tmp/out $tmp/in
   10178 ' >>$CONFIG_STATUS
   10179   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   10180   rm -f conftest.defines
   10181   mv conftest.tail conftest.defines
   10182 done
   10183 rm -f conftest.defines
   10184 echo '  fi # grep' >>$CONFIG_STATUS
   10185 echo >>$CONFIG_STATUS
   10186 
   10187 # Break up conftest.undefs because some shells have a limit on the size
   10188 # of here documents, and old seds have small limits too (100 cmds).
   10189 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   10190 rm -f conftest.tail
   10191 while grep . conftest.undefs >/dev/null
   10192 do
   10193   # Write a limited-size here document to $tmp/undefs.sed.
   10194   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   10195   # Speed up: don't consider the non `#undef'
   10196   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   10197   # Work around the forget-to-reset-the-flag bug.
   10198   echo 't clr' >>$CONFIG_STATUS
   10199   echo ': clr' >>$CONFIG_STATUS
   10200   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   10201   echo 'CEOF
   10202   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   10203   rm -f $tmp/in
   10204   mv $tmp/out $tmp/in
   10205 ' >>$CONFIG_STATUS
   10206   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   10207   rm -f conftest.undefs
   10208   mv conftest.tail conftest.undefs
   10209 done
   10210 rm -f conftest.undefs
   10211 
   10212 cat >>$CONFIG_STATUS <<\_ACEOF
   10213   # Let's still pretend it is `configure' which instantiates (i.e., don't
   10214   # use $as_me), people would be surprised to read:
   10215   #    /* config.h.  Generated by config.status.  */
   10216   if test x"$ac_file" = x-; then
   10217     echo "/* Generated by configure.  */" >$tmp/config.h
   10218   else
   10219     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   10220   fi
   10221   cat $tmp/in >>$tmp/config.h
   10222   rm -f $tmp/in
   10223   if test x"$ac_file" != x-; then
   10224     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   10225       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   10226 echo "$as_me: $ac_file is unchanged" >&6;}
   10227     else
   10228       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   10229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10230 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10231 	 X"$ac_file" : 'X\(//\)$' \| \
   10232 	 X"$ac_file" : 'X\(/\)' \| \
   10233 	 .     : '\(.\)' 2>/dev/null ||
   10234 echo X"$ac_file" |
   10235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10236   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10237   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10238   	  /^X\(\/\).*/{ s//\1/; q; }
   10239   	  s/.*/./; q'`
   10240       { if $as_mkdir_p; then
   10241     mkdir -p "$ac_dir"
   10242   else
   10243     as_dir="$ac_dir"
   10244     as_dirs=
   10245     while test ! -d "$as_dir"; do
   10246       as_dirs="$as_dir $as_dirs"
   10247       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10249 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10250 	 X"$as_dir" : 'X\(//\)$' \| \
   10251 	 X"$as_dir" : 'X\(/\)' \| \
   10252 	 .     : '\(.\)' 2>/dev/null ||
   10253 echo X"$as_dir" |
   10254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10255   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10256   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10257   	  /^X\(\/\).*/{ s//\1/; q; }
   10258   	  s/.*/./; q'`
   10259     done
   10260     test ! -n "$as_dirs" || mkdir $as_dirs
   10261   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   10262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   10263    { (exit 1); exit 1; }; }; }
   10264 
   10265       rm -f $ac_file
   10266       mv $tmp/config.h $ac_file
   10267     fi
   10268   else
   10269     cat $tmp/config.h
   10270     rm -f $tmp/config.h
   10271   fi
   10272 done
   10273 _ACEOF
   10274 
   10275 cat >>$CONFIG_STATUS <<\_ACEOF
   10276 
   10277 { (exit 0); exit 0; }
   10278 _ACEOF
   10279 chmod +x $CONFIG_STATUS
   10280 ac_clean_files=$ac_clean_files_save
   10281 
   10282 
   10283 # configure is writing to config.log, and then calls config.status.
   10284 # config.status does its own redirection, appending to config.log.
   10285 # Unfortunately, on DOS this fails, as config.log is still kept open
   10286 # by configure, so config.status won't be able to write to it; its
   10287 # output is simply discarded.  So we exec the FD to /dev/null,
   10288 # effectively closing config.log, so it can be properly (re)opened and
   10289 # appended to by config.status.  When coming back to configure, we
   10290 # need to make the FD available again.
   10291 if test "$no_create" != yes; then
   10292   ac_cs_success=:
   10293   ac_config_status_args=
   10294   test "$silent" = yes &&
   10295     ac_config_status_args="$ac_config_status_args --quiet"
   10296   exec 5>/dev/null
   10297   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   10298   exec 5>>config.log
   10299   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   10300   # would make configure fail if this is the last instruction.
   10301   $ac_cs_success || { (exit 1); exit 1; }
   10302 fi
   10303 
   10304