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