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