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