Home | History | Annotate | Line # | Download | only in compat
configure revision 1.39
      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_mtimensec" >&5
   5617 echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
   5618 if test "${ac_cv_member_struct_stat_st_mtimensec+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_mtimensec)
   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_mtimensec=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_mtimensec)
   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_mtimensec=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_mtimensec=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_mtimensec" >&5
   5700 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
   5701 if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
   5702 
   5703 cat >>confdefs.h <<_ACEOF
   5704 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   5705 _ACEOF
   5706 
   5707 
   5708 fi
   5709 
   5710 echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5
   5711 echo $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
   5712 if test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
   5713   echo $ECHO_N "(cached) $ECHO_C" >&6
   5714 else
   5715   cat >conftest.$ac_ext <<_ACEOF
   5716 #line $LINENO "configure"
   5717 /* confdefs.h.  */
   5718 _ACEOF
   5719 cat confdefs.h >>conftest.$ac_ext
   5720 cat >>conftest.$ac_ext <<_ACEOF
   5721 /* end confdefs.h.  */
   5722 #include <sys/mount.h>
   5723 
   5724 int
   5725 main ()
   5726 {
   5727 static struct statfs ac_aggr;
   5728 if (ac_aggr.f_iosize)
   5729 return 0;
   5730   ;
   5731   return 0;
   5732 }
   5733 _ACEOF
   5734 rm -f conftest.$ac_objext
   5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5736   (eval $ac_compile) 2>&5
   5737   ac_status=$?
   5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5739   (exit $ac_status); } &&
   5740          { ac_try='test -s conftest.$ac_objext'
   5741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5742   (eval $ac_try) 2>&5
   5743   ac_status=$?
   5744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5745   (exit $ac_status); }; }; then
   5746   ac_cv_member_struct_statfs_f_iosize=yes
   5747 else
   5748   echo "$as_me: failed program was:" >&5
   5749 sed 's/^/| /' conftest.$ac_ext >&5
   5750 
   5751 cat >conftest.$ac_ext <<_ACEOF
   5752 #line $LINENO "configure"
   5753 /* confdefs.h.  */
   5754 _ACEOF
   5755 cat confdefs.h >>conftest.$ac_ext
   5756 cat >>conftest.$ac_ext <<_ACEOF
   5757 /* end confdefs.h.  */
   5758 #include <sys/mount.h>
   5759 
   5760 int
   5761 main ()
   5762 {
   5763 static struct statfs ac_aggr;
   5764 if (sizeof ac_aggr.f_iosize)
   5765 return 0;
   5766   ;
   5767   return 0;
   5768 }
   5769 _ACEOF
   5770 rm -f conftest.$ac_objext
   5771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5772   (eval $ac_compile) 2>&5
   5773   ac_status=$?
   5774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5775   (exit $ac_status); } &&
   5776          { ac_try='test -s conftest.$ac_objext'
   5777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5778   (eval $ac_try) 2>&5
   5779   ac_status=$?
   5780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5781   (exit $ac_status); }; }; then
   5782   ac_cv_member_struct_statfs_f_iosize=yes
   5783 else
   5784   echo "$as_me: failed program was:" >&5
   5785 sed 's/^/| /' conftest.$ac_ext >&5
   5786 
   5787 ac_cv_member_struct_statfs_f_iosize=no
   5788 fi
   5789 rm -f conftest.$ac_objext conftest.$ac_ext
   5790 fi
   5791 rm -f conftest.$ac_objext conftest.$ac_ext
   5792 fi
   5793 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5
   5794 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
   5795 if test $ac_cv_member_struct_statfs_f_iosize = yes; then
   5796 
   5797 cat >>confdefs.h <<_ACEOF
   5798 #define HAVE_STRUCT_STATFS_F_IOSIZE 1
   5799 _ACEOF
   5800 
   5801 
   5802 fi
   5803 
   5804 
   5805 # Global variable decls.
   5806 echo "$as_me:$LINENO: checking whether optind is declared" >&5
   5807 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
   5808 if test "${ac_cv_have_decl_optind+set}" = set; then
   5809   echo $ECHO_N "(cached) $ECHO_C" >&6
   5810 else
   5811   cat >conftest.$ac_ext <<_ACEOF
   5812 #line $LINENO "configure"
   5813 /* confdefs.h.  */
   5814 _ACEOF
   5815 cat confdefs.h >>conftest.$ac_ext
   5816 cat >>conftest.$ac_ext <<_ACEOF
   5817 /* end confdefs.h.  */
   5818 
   5819 #include <stdio.h>
   5820 #include <stdlib.h>
   5821 #include <unistd.h>
   5822 
   5823 
   5824 int
   5825 main ()
   5826 {
   5827 #ifndef optind
   5828   char *p = (char *) optind;
   5829 #endif
   5830 
   5831   ;
   5832   return 0;
   5833 }
   5834 _ACEOF
   5835 rm -f conftest.$ac_objext
   5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5837   (eval $ac_compile) 2>&5
   5838   ac_status=$?
   5839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5840   (exit $ac_status); } &&
   5841          { ac_try='test -s conftest.$ac_objext'
   5842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5843   (eval $ac_try) 2>&5
   5844   ac_status=$?
   5845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5846   (exit $ac_status); }; }; then
   5847   ac_cv_have_decl_optind=yes
   5848 else
   5849   echo "$as_me: failed program was:" >&5
   5850 sed 's/^/| /' conftest.$ac_ext >&5
   5851 
   5852 ac_cv_have_decl_optind=no
   5853 fi
   5854 rm -f conftest.$ac_objext conftest.$ac_ext
   5855 fi
   5856 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
   5857 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
   5858 if test $ac_cv_have_decl_optind = yes; then
   5859 
   5860 cat >>confdefs.h <<_ACEOF
   5861 #define HAVE_DECL_OPTIND 1
   5862 _ACEOF
   5863 
   5864 
   5865 else
   5866   cat >>confdefs.h <<_ACEOF
   5867 #define HAVE_DECL_OPTIND 0
   5868 _ACEOF
   5869 
   5870 
   5871 fi
   5872 echo "$as_me:$LINENO: checking whether optreset is declared" >&5
   5873 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   5874 if test "${ac_cv_have_decl_optreset+set}" = set; then
   5875   echo $ECHO_N "(cached) $ECHO_C" >&6
   5876 else
   5877   cat >conftest.$ac_ext <<_ACEOF
   5878 #line $LINENO "configure"
   5879 /* confdefs.h.  */
   5880 _ACEOF
   5881 cat confdefs.h >>conftest.$ac_ext
   5882 cat >>conftest.$ac_ext <<_ACEOF
   5883 /* end confdefs.h.  */
   5884 
   5885 #include <stdio.h>
   5886 #include <stdlib.h>
   5887 #include <unistd.h>
   5888 
   5889 
   5890 int
   5891 main ()
   5892 {
   5893 #ifndef optreset
   5894   char *p = (char *) optreset;
   5895 #endif
   5896 
   5897   ;
   5898   return 0;
   5899 }
   5900 _ACEOF
   5901 rm -f conftest.$ac_objext
   5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5903   (eval $ac_compile) 2>&5
   5904   ac_status=$?
   5905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5906   (exit $ac_status); } &&
   5907          { ac_try='test -s conftest.$ac_objext'
   5908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5909   (eval $ac_try) 2>&5
   5910   ac_status=$?
   5911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5912   (exit $ac_status); }; }; then
   5913   ac_cv_have_decl_optreset=yes
   5914 else
   5915   echo "$as_me: failed program was:" >&5
   5916 sed 's/^/| /' conftest.$ac_ext >&5
   5917 
   5918 ac_cv_have_decl_optreset=no
   5919 fi
   5920 rm -f conftest.$ac_objext conftest.$ac_ext
   5921 fi
   5922 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
   5923 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   5924 if test $ac_cv_have_decl_optreset = yes; then
   5925 
   5926 cat >>confdefs.h <<_ACEOF
   5927 #define HAVE_DECL_OPTRESET 1
   5928 _ACEOF
   5929 
   5930 
   5931 else
   5932   cat >>confdefs.h <<_ACEOF
   5933 #define HAVE_DECL_OPTRESET 0
   5934 _ACEOF
   5935 
   5936 
   5937 fi
   5938 
   5939 
   5940 echo "$as_me:$LINENO: checking whether sys_signame is declared" >&5
   5941 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
   5942 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
   5943   echo $ECHO_N "(cached) $ECHO_C" >&6
   5944 else
   5945   cat >conftest.$ac_ext <<_ACEOF
   5946 #line $LINENO "configure"
   5947 /* confdefs.h.  */
   5948 _ACEOF
   5949 cat confdefs.h >>conftest.$ac_ext
   5950 cat >>conftest.$ac_ext <<_ACEOF
   5951 /* end confdefs.h.  */
   5952 #include <signal.h>
   5953 
   5954 int
   5955 main ()
   5956 {
   5957 #ifndef sys_signame
   5958   char *p = (char *) sys_signame;
   5959 #endif
   5960 
   5961   ;
   5962   return 0;
   5963 }
   5964 _ACEOF
   5965 rm -f conftest.$ac_objext
   5966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5967   (eval $ac_compile) 2>&5
   5968   ac_status=$?
   5969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5970   (exit $ac_status); } &&
   5971          { ac_try='test -s conftest.$ac_objext'
   5972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5973   (eval $ac_try) 2>&5
   5974   ac_status=$?
   5975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5976   (exit $ac_status); }; }; then
   5977   ac_cv_have_decl_sys_signame=yes
   5978 else
   5979   echo "$as_me: failed program was:" >&5
   5980 sed 's/^/| /' conftest.$ac_ext >&5
   5981 
   5982 ac_cv_have_decl_sys_signame=no
   5983 fi
   5984 rm -f conftest.$ac_objext conftest.$ac_ext
   5985 fi
   5986 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
   5987 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
   5988 if test $ac_cv_have_decl_sys_signame = yes; then
   5989 
   5990 cat >>confdefs.h <<_ACEOF
   5991 #define HAVE_DECL_SYS_SIGNAME 1
   5992 _ACEOF
   5993 
   5994 
   5995 else
   5996   cat >>confdefs.h <<_ACEOF
   5997 #define HAVE_DECL_SYS_SIGNAME 0
   5998 _ACEOF
   5999 
   6000 
   6001 fi
   6002 
   6003 
   6004 
   6005 # Library functions (where a .h check isn't enough).
   6006 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6007 # for constant arguments.  Useless!
   6008 echo "$as_me:$LINENO: checking for working alloca.h" >&5
   6009 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   6010 if test "${ac_cv_working_alloca_h+set}" = set; then
   6011   echo $ECHO_N "(cached) $ECHO_C" >&6
   6012 else
   6013   cat >conftest.$ac_ext <<_ACEOF
   6014 #line $LINENO "configure"
   6015 /* confdefs.h.  */
   6016 _ACEOF
   6017 cat confdefs.h >>conftest.$ac_ext
   6018 cat >>conftest.$ac_ext <<_ACEOF
   6019 /* end confdefs.h.  */
   6020 #include <alloca.h>
   6021 int
   6022 main ()
   6023 {
   6024 char *p = (char *) alloca (2 * sizeof (int));
   6025   ;
   6026   return 0;
   6027 }
   6028 _ACEOF
   6029 rm -f conftest.$ac_objext conftest$ac_exeext
   6030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6031   (eval $ac_link) 2>&5
   6032   ac_status=$?
   6033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6034   (exit $ac_status); } &&
   6035          { ac_try='test -s conftest$ac_exeext'
   6036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6037   (eval $ac_try) 2>&5
   6038   ac_status=$?
   6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6040   (exit $ac_status); }; }; then
   6041   ac_cv_working_alloca_h=yes
   6042 else
   6043   echo "$as_me: failed program was:" >&5
   6044 sed 's/^/| /' conftest.$ac_ext >&5
   6045 
   6046 ac_cv_working_alloca_h=no
   6047 fi
   6048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6049 fi
   6050 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   6051 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   6052 if test $ac_cv_working_alloca_h = yes; then
   6053 
   6054 cat >>confdefs.h <<\_ACEOF
   6055 #define HAVE_ALLOCA_H 1
   6056 _ACEOF
   6057 
   6058 fi
   6059 
   6060 echo "$as_me:$LINENO: checking for alloca" >&5
   6061 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   6062 if test "${ac_cv_func_alloca_works+set}" = set; then
   6063   echo $ECHO_N "(cached) $ECHO_C" >&6
   6064 else
   6065   cat >conftest.$ac_ext <<_ACEOF
   6066 #line $LINENO "configure"
   6067 /* confdefs.h.  */
   6068 _ACEOF
   6069 cat confdefs.h >>conftest.$ac_ext
   6070 cat >>conftest.$ac_ext <<_ACEOF
   6071 /* end confdefs.h.  */
   6072 #ifdef __GNUC__
   6073 # define alloca __builtin_alloca
   6074 #else
   6075 # ifdef _MSC_VER
   6076 #  include <malloc.h>
   6077 #  define alloca _alloca
   6078 # else
   6079 #  if HAVE_ALLOCA_H
   6080 #   include <alloca.h>
   6081 #  else
   6082 #   ifdef _AIX
   6083  #pragma alloca
   6084 #   else
   6085 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6086 char *alloca ();
   6087 #    endif
   6088 #   endif
   6089 #  endif
   6090 # endif
   6091 #endif
   6092 
   6093 int
   6094 main ()
   6095 {
   6096 char *p = (char *) alloca (1);
   6097   ;
   6098   return 0;
   6099 }
   6100 _ACEOF
   6101 rm -f conftest.$ac_objext conftest$ac_exeext
   6102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6103   (eval $ac_link) 2>&5
   6104   ac_status=$?
   6105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6106   (exit $ac_status); } &&
   6107          { ac_try='test -s conftest$ac_exeext'
   6108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6109   (eval $ac_try) 2>&5
   6110   ac_status=$?
   6111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6112   (exit $ac_status); }; }; then
   6113   ac_cv_func_alloca_works=yes
   6114 else
   6115   echo "$as_me: failed program was:" >&5
   6116 sed 's/^/| /' conftest.$ac_ext >&5
   6117 
   6118 ac_cv_func_alloca_works=no
   6119 fi
   6120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6121 fi
   6122 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   6123 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   6124 
   6125 if test $ac_cv_func_alloca_works = yes; then
   6126 
   6127 cat >>confdefs.h <<\_ACEOF
   6128 #define HAVE_ALLOCA 1
   6129 _ACEOF
   6130 
   6131 else
   6132   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6133 # that cause trouble.  Some versions do not even contain alloca or
   6134 # contain a buggy version.  If you still want to use their alloca,
   6135 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6136 
   6137 ALLOCA=alloca.$ac_objext
   6138 
   6139 cat >>confdefs.h <<\_ACEOF
   6140 #define C_ALLOCA 1
   6141 _ACEOF
   6142 
   6143 
   6144 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   6145 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   6146 if test "${ac_cv_os_cray+set}" = set; then
   6147   echo $ECHO_N "(cached) $ECHO_C" >&6
   6148 else
   6149   cat >conftest.$ac_ext <<_ACEOF
   6150 #line $LINENO "configure"
   6151 /* confdefs.h.  */
   6152 _ACEOF
   6153 cat confdefs.h >>conftest.$ac_ext
   6154 cat >>conftest.$ac_ext <<_ACEOF
   6155 /* end confdefs.h.  */
   6156 #if defined(CRAY) && ! defined(CRAY2)
   6157 webecray
   6158 #else
   6159 wenotbecray
   6160 #endif
   6161 
   6162 _ACEOF
   6163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6164   $EGREP "webecray" >/dev/null 2>&1; then
   6165   ac_cv_os_cray=yes
   6166 else
   6167   ac_cv_os_cray=no
   6168 fi
   6169 rm -f conftest*
   6170 
   6171 fi
   6172 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   6173 echo "${ECHO_T}$ac_cv_os_cray" >&6
   6174 if test $ac_cv_os_cray = yes; then
   6175   for ac_func in _getb67 GETB67 getb67; do
   6176     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6177 echo "$as_me:$LINENO: checking for $ac_func" >&5
   6178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6179 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6180   echo $ECHO_N "(cached) $ECHO_C" >&6
   6181 else
   6182   cat >conftest.$ac_ext <<_ACEOF
   6183 #line $LINENO "configure"
   6184 /* confdefs.h.  */
   6185 _ACEOF
   6186 cat confdefs.h >>conftest.$ac_ext
   6187 cat >>conftest.$ac_ext <<_ACEOF
   6188 /* end confdefs.h.  */
   6189 /* System header to define __stub macros and hopefully few prototypes,
   6190     which can conflict with char $ac_func (); below.
   6191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6192     <limits.h> exists even on freestanding compilers.  */
   6193 #ifdef __STDC__
   6194 # include <limits.h>
   6195 #else
   6196 # include <assert.h>
   6197 #endif
   6198 /* Override any gcc2 internal prototype to avoid an error.  */
   6199 #ifdef __cplusplus
   6200 extern "C"
   6201 {
   6202 #endif
   6203 /* We use char because int might match the return type of a gcc2
   6204    builtin and then its argument prototype would still apply.  */
   6205 char $ac_func ();
   6206 /* The GNU C library defines this for functions which it implements
   6207     to always fail with ENOSYS.  Some functions are actually named
   6208     something starting with __ and the normal name is an alias.  */
   6209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6210 choke me
   6211 #else
   6212 char (*f) () = $ac_func;
   6213 #endif
   6214 #ifdef __cplusplus
   6215 }
   6216 #endif
   6217 
   6218 int
   6219 main ()
   6220 {
   6221 return f != $ac_func;
   6222   ;
   6223   return 0;
   6224 }
   6225 _ACEOF
   6226 rm -f conftest.$ac_objext conftest$ac_exeext
   6227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6228   (eval $ac_link) 2>&5
   6229   ac_status=$?
   6230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6231   (exit $ac_status); } &&
   6232          { ac_try='test -s conftest$ac_exeext'
   6233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6234   (eval $ac_try) 2>&5
   6235   ac_status=$?
   6236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6237   (exit $ac_status); }; }; then
   6238   eval "$as_ac_var=yes"
   6239 else
   6240   echo "$as_me: failed program was:" >&5
   6241 sed 's/^/| /' conftest.$ac_ext >&5
   6242 
   6243 eval "$as_ac_var=no"
   6244 fi
   6245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6246 fi
   6247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6249 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6250 
   6251 cat >>confdefs.h <<_ACEOF
   6252 #define CRAY_STACKSEG_END $ac_func
   6253 _ACEOF
   6254 
   6255     break
   6256 fi
   6257 
   6258   done
   6259 fi
   6260 
   6261 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   6262 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   6263 if test "${ac_cv_c_stack_direction+set}" = set; then
   6264   echo $ECHO_N "(cached) $ECHO_C" >&6
   6265 else
   6266   if test "$cross_compiling" = yes; then
   6267   ac_cv_c_stack_direction=0
   6268 else
   6269   cat >conftest.$ac_ext <<_ACEOF
   6270 #line $LINENO "configure"
   6271 /* confdefs.h.  */
   6272 _ACEOF
   6273 cat confdefs.h >>conftest.$ac_ext
   6274 cat >>conftest.$ac_ext <<_ACEOF
   6275 /* end confdefs.h.  */
   6276 int
   6277 find_stack_direction ()
   6278 {
   6279   static char *addr = 0;
   6280   auto char dummy;
   6281   if (addr == 0)
   6282     {
   6283       addr = &dummy;
   6284       return find_stack_direction ();
   6285     }
   6286   else
   6287     return (&dummy > addr) ? 1 : -1;
   6288 }
   6289 
   6290 int
   6291 main ()
   6292 {
   6293   exit (find_stack_direction () < 0);
   6294 }
   6295 _ACEOF
   6296 rm -f conftest$ac_exeext
   6297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6298   (eval $ac_link) 2>&5
   6299   ac_status=$?
   6300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6301   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6303   (eval $ac_try) 2>&5
   6304   ac_status=$?
   6305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6306   (exit $ac_status); }; }; then
   6307   ac_cv_c_stack_direction=1
   6308 else
   6309   echo "$as_me: program exited with status $ac_status" >&5
   6310 echo "$as_me: failed program was:" >&5
   6311 sed 's/^/| /' conftest.$ac_ext >&5
   6312 
   6313 ( exit $ac_status )
   6314 ac_cv_c_stack_direction=-1
   6315 fi
   6316 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6317 fi
   6318 fi
   6319 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   6320 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   6321 
   6322 cat >>confdefs.h <<_ACEOF
   6323 #define STACK_DIRECTION $ac_cv_c_stack_direction
   6324 _ACEOF
   6325 
   6326 
   6327 fi
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 for ac_func in atoll asprintf asnprintf basename dirfd dirname \
   6370 	fgetln flock fparseln futimes getopt getopt_long \
   6371 	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
   6372 	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
   6373 	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
   6374 	strsuftoll strtoll \
   6375 	user_from_uid vasprintf vasnprintf vsnprintf
   6376 do
   6377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6378 echo "$as_me:$LINENO: checking for $ac_func" >&5
   6379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6380 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6381   echo $ECHO_N "(cached) $ECHO_C" >&6
   6382 else
   6383   cat >conftest.$ac_ext <<_ACEOF
   6384 #line $LINENO "configure"
   6385 /* confdefs.h.  */
   6386 _ACEOF
   6387 cat confdefs.h >>conftest.$ac_ext
   6388 cat >>conftest.$ac_ext <<_ACEOF
   6389 /* end confdefs.h.  */
   6390 /* System header to define __stub macros and hopefully few prototypes,
   6391     which can conflict with char $ac_func (); below.
   6392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6393     <limits.h> exists even on freestanding compilers.  */
   6394 #ifdef __STDC__
   6395 # include <limits.h>
   6396 #else
   6397 # include <assert.h>
   6398 #endif
   6399 /* Override any gcc2 internal prototype to avoid an error.  */
   6400 #ifdef __cplusplus
   6401 extern "C"
   6402 {
   6403 #endif
   6404 /* We use char because int might match the return type of a gcc2
   6405    builtin and then its argument prototype would still apply.  */
   6406 char $ac_func ();
   6407 /* The GNU C library defines this for functions which it implements
   6408     to always fail with ENOSYS.  Some functions are actually named
   6409     something starting with __ and the normal name is an alias.  */
   6410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6411 choke me
   6412 #else
   6413 char (*f) () = $ac_func;
   6414 #endif
   6415 #ifdef __cplusplus
   6416 }
   6417 #endif
   6418 
   6419 int
   6420 main ()
   6421 {
   6422 return f != $ac_func;
   6423   ;
   6424   return 0;
   6425 }
   6426 _ACEOF
   6427 rm -f conftest.$ac_objext conftest$ac_exeext
   6428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6429   (eval $ac_link) 2>&5
   6430   ac_status=$?
   6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6432   (exit $ac_status); } &&
   6433          { ac_try='test -s conftest$ac_exeext'
   6434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6435   (eval $ac_try) 2>&5
   6436   ac_status=$?
   6437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6438   (exit $ac_status); }; }; then
   6439   eval "$as_ac_var=yes"
   6440 else
   6441   echo "$as_me: failed program was:" >&5
   6442 sed 's/^/| /' conftest.$ac_ext >&5
   6443 
   6444 eval "$as_ac_var=no"
   6445 fi
   6446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6447 fi
   6448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6450 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6451   cat >>confdefs.h <<_ACEOF
   6452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6453 _ACEOF
   6454 
   6455 fi
   6456 done
   6457 
   6458 
   6459 echo "$as_me:$LINENO: checking whether setgroupent is declared" >&5
   6460 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
   6461 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
   6462   echo $ECHO_N "(cached) $ECHO_C" >&6
   6463 else
   6464   cat >conftest.$ac_ext <<_ACEOF
   6465 #line $LINENO "configure"
   6466 /* confdefs.h.  */
   6467 _ACEOF
   6468 cat confdefs.h >>conftest.$ac_ext
   6469 cat >>conftest.$ac_ext <<_ACEOF
   6470 /* end confdefs.h.  */
   6471 
   6472 #include <sys/types.h>
   6473 #include <grp.h>
   6474 #include <pwd.h>
   6475 
   6476 
   6477 int
   6478 main ()
   6479 {
   6480 #ifndef setgroupent
   6481   char *p = (char *) setgroupent;
   6482 #endif
   6483 
   6484   ;
   6485   return 0;
   6486 }
   6487 _ACEOF
   6488 rm -f conftest.$ac_objext
   6489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6490   (eval $ac_compile) 2>&5
   6491   ac_status=$?
   6492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6493   (exit $ac_status); } &&
   6494          { ac_try='test -s conftest.$ac_objext'
   6495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6496   (eval $ac_try) 2>&5
   6497   ac_status=$?
   6498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6499   (exit $ac_status); }; }; then
   6500   ac_cv_have_decl_setgroupent=yes
   6501 else
   6502   echo "$as_me: failed program was:" >&5
   6503 sed 's/^/| /' conftest.$ac_ext >&5
   6504 
   6505 ac_cv_have_decl_setgroupent=no
   6506 fi
   6507 rm -f conftest.$ac_objext conftest.$ac_ext
   6508 fi
   6509 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setgroupent" >&5
   6510 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
   6511 if test $ac_cv_have_decl_setgroupent = yes; then
   6512 
   6513 cat >>confdefs.h <<_ACEOF
   6514 #define HAVE_DECL_SETGROUPENT 1
   6515 _ACEOF
   6516 
   6517 
   6518 else
   6519   cat >>confdefs.h <<_ACEOF
   6520 #define HAVE_DECL_SETGROUPENT 0
   6521 _ACEOF
   6522 
   6523 
   6524 fi
   6525 echo "$as_me:$LINENO: checking whether setpassent is declared" >&5
   6526 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
   6527 if test "${ac_cv_have_decl_setpassent+set}" = set; then
   6528   echo $ECHO_N "(cached) $ECHO_C" >&6
   6529 else
   6530   cat >conftest.$ac_ext <<_ACEOF
   6531 #line $LINENO "configure"
   6532 /* confdefs.h.  */
   6533 _ACEOF
   6534 cat confdefs.h >>conftest.$ac_ext
   6535 cat >>conftest.$ac_ext <<_ACEOF
   6536 /* end confdefs.h.  */
   6537 
   6538 #include <sys/types.h>
   6539 #include <grp.h>
   6540 #include <pwd.h>
   6541 
   6542 
   6543 int
   6544 main ()
   6545 {
   6546 #ifndef setpassent
   6547   char *p = (char *) setpassent;
   6548 #endif
   6549 
   6550   ;
   6551   return 0;
   6552 }
   6553 _ACEOF
   6554 rm -f conftest.$ac_objext
   6555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6556   (eval $ac_compile) 2>&5
   6557   ac_status=$?
   6558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6559   (exit $ac_status); } &&
   6560          { ac_try='test -s conftest.$ac_objext'
   6561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6562   (eval $ac_try) 2>&5
   6563   ac_status=$?
   6564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6565   (exit $ac_status); }; }; then
   6566   ac_cv_have_decl_setpassent=yes
   6567 else
   6568   echo "$as_me: failed program was:" >&5
   6569 sed 's/^/| /' conftest.$ac_ext >&5
   6570 
   6571 ac_cv_have_decl_setpassent=no
   6572 fi
   6573 rm -f conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setpassent" >&5
   6576 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
   6577 if test $ac_cv_have_decl_setpassent = yes; then
   6578 
   6579 cat >>confdefs.h <<_ACEOF
   6580 #define HAVE_DECL_SETPASSENT 1
   6581 _ACEOF
   6582 
   6583 
   6584 else
   6585   cat >>confdefs.h <<_ACEOF
   6586 #define HAVE_DECL_SETPASSENT 0
   6587 _ACEOF
   6588 
   6589 
   6590 fi
   6591 
   6592 
   6593 
   6594 # regcomp() and regexec() are also names of functions in the old V8
   6595 # regexp package.  To avoid them, we need to find out who has regfree().
   6596 
   6597 
   6598 echo "$as_me:$LINENO: checking for regfree in -lregex" >&5
   6599 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
   6600 if test "${ac_cv_lib_regex_regfree+set}" = set; then
   6601   echo $ECHO_N "(cached) $ECHO_C" >&6
   6602 else
   6603   ac_check_lib_save_LIBS=$LIBS
   6604 LIBS="-lregex  $LIBS"
   6605 cat >conftest.$ac_ext <<_ACEOF
   6606 #line $LINENO "configure"
   6607 /* confdefs.h.  */
   6608 _ACEOF
   6609 cat confdefs.h >>conftest.$ac_ext
   6610 cat >>conftest.$ac_ext <<_ACEOF
   6611 /* end confdefs.h.  */
   6612 
   6613 /* Override any gcc2 internal prototype to avoid an error.  */
   6614 #ifdef __cplusplus
   6615 extern "C"
   6616 #endif
   6617 /* We use char because int might match the return type of a gcc2
   6618    builtin and then its argument prototype would still apply.  */
   6619 char regfree ();
   6620 int
   6621 main ()
   6622 {
   6623 regfree ();
   6624   ;
   6625   return 0;
   6626 }
   6627 _ACEOF
   6628 rm -f conftest.$ac_objext conftest$ac_exeext
   6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6630   (eval $ac_link) 2>&5
   6631   ac_status=$?
   6632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6633   (exit $ac_status); } &&
   6634          { ac_try='test -s conftest$ac_exeext'
   6635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6636   (eval $ac_try) 2>&5
   6637   ac_status=$?
   6638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6639   (exit $ac_status); }; }; then
   6640   ac_cv_lib_regex_regfree=yes
   6641 else
   6642   echo "$as_me: failed program was:" >&5
   6643 sed 's/^/| /' conftest.$ac_ext >&5
   6644 
   6645 ac_cv_lib_regex_regfree=no
   6646 fi
   6647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6648 LIBS=$ac_check_lib_save_LIBS
   6649 fi
   6650 echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regfree" >&5
   6651 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
   6652 if test $ac_cv_lib_regex_regfree = yes; then
   6653   cat >>confdefs.h <<_ACEOF
   6654 #define HAVE_LIBREGEX 1
   6655 _ACEOF
   6656 
   6657   LIBS="-lregex $LIBS"
   6658 
   6659 fi
   6660 
   6661 echo "$as_me:$LINENO: checking for library containing regfree" >&5
   6662 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
   6663 if test "${ac_cv_search_regfree+set}" = set; then
   6664   echo $ECHO_N "(cached) $ECHO_C" >&6
   6665 else
   6666   ac_func_search_save_LIBS=$LIBS
   6667 ac_cv_search_regfree=no
   6668 cat >conftest.$ac_ext <<_ACEOF
   6669 #line $LINENO "configure"
   6670 /* confdefs.h.  */
   6671 _ACEOF
   6672 cat confdefs.h >>conftest.$ac_ext
   6673 cat >>conftest.$ac_ext <<_ACEOF
   6674 /* end confdefs.h.  */
   6675 
   6676 /* Override any gcc2 internal prototype to avoid an error.  */
   6677 #ifdef __cplusplus
   6678 extern "C"
   6679 #endif
   6680 /* We use char because int might match the return type of a gcc2
   6681    builtin and then its argument prototype would still apply.  */
   6682 char regfree ();
   6683 int
   6684 main ()
   6685 {
   6686 regfree ();
   6687   ;
   6688   return 0;
   6689 }
   6690 _ACEOF
   6691 rm -f conftest.$ac_objext conftest$ac_exeext
   6692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6693   (eval $ac_link) 2>&5
   6694   ac_status=$?
   6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6696   (exit $ac_status); } &&
   6697          { ac_try='test -s conftest$ac_exeext'
   6698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6699   (eval $ac_try) 2>&5
   6700   ac_status=$?
   6701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6702   (exit $ac_status); }; }; then
   6703   ac_cv_search_regfree="none required"
   6704 else
   6705   echo "$as_me: failed program was:" >&5
   6706 sed 's/^/| /' conftest.$ac_ext >&5
   6707 
   6708 fi
   6709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6710 if test "$ac_cv_search_regfree" = no; then
   6711   for ac_lib in rx posix; do
   6712     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6713     cat >conftest.$ac_ext <<_ACEOF
   6714 #line $LINENO "configure"
   6715 /* confdefs.h.  */
   6716 _ACEOF
   6717 cat confdefs.h >>conftest.$ac_ext
   6718 cat >>conftest.$ac_ext <<_ACEOF
   6719 /* end confdefs.h.  */
   6720 
   6721 /* Override any gcc2 internal prototype to avoid an error.  */
   6722 #ifdef __cplusplus
   6723 extern "C"
   6724 #endif
   6725 /* We use char because int might match the return type of a gcc2
   6726    builtin and then its argument prototype would still apply.  */
   6727 char regfree ();
   6728 int
   6729 main ()
   6730 {
   6731 regfree ();
   6732   ;
   6733   return 0;
   6734 }
   6735 _ACEOF
   6736 rm -f conftest.$ac_objext conftest$ac_exeext
   6737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6738   (eval $ac_link) 2>&5
   6739   ac_status=$?
   6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6741   (exit $ac_status); } &&
   6742          { ac_try='test -s conftest$ac_exeext'
   6743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6744   (eval $ac_try) 2>&5
   6745   ac_status=$?
   6746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6747   (exit $ac_status); }; }; then
   6748   ac_cv_search_regfree="-l$ac_lib"
   6749 break
   6750 else
   6751   echo "$as_me: failed program was:" >&5
   6752 sed 's/^/| /' conftest.$ac_ext >&5
   6753 
   6754 fi
   6755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   6756   done
   6757 fi
   6758 LIBS=$ac_func_search_save_LIBS
   6759 fi
   6760 echo "$as_me:$LINENO: result: $ac_cv_search_regfree" >&5
   6761 echo "${ECHO_T}$ac_cv_search_regfree" >&6
   6762 if test "$ac_cv_search_regfree" != no; then
   6763   test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
   6764 
   6765 fi
   6766 
   6767 
   6768 cat >confcache <<\_ACEOF
   6769 # This file is a shell script that caches the results of configure
   6770 # tests run on this system so they can be shared between configure
   6771 # scripts and configure runs, see configure's option --config-cache.
   6772 # It is not useful on other systems.  If it contains results you don't
   6773 # want to keep, you may remove or edit it.
   6774 #
   6775 # config.status only pays attention to the cache file if you give it
   6776 # the --recheck option to rerun configure.
   6777 #
   6778 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   6779 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6780 # following values.
   6781 
   6782 _ACEOF
   6783 
   6784 # The following way of writing the cache mishandles newlines in values,
   6785 # but we know of no workaround that is simple, portable, and efficient.
   6786 # So, don't put newlines in cache variables' values.
   6787 # Ultrix sh set writes to stderr and can't be redirected directly,
   6788 # and sets the high bit in the cache file unless we assign to the vars.
   6789 {
   6790   (set) 2>&1 |
   6791     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   6792     *ac_space=\ *)
   6793       # `set' does not quote correctly, so add quotes (double-quote
   6794       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6795       sed -n \
   6796         "s/'/'\\\\''/g;
   6797     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6798       ;;
   6799     *)
   6800       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6801       sed -n \
   6802         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   6803       ;;
   6804     esac;
   6805 } |
   6806   sed '
   6807      t clear
   6808      : clear
   6809      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6810      t end
   6811      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6812      : end' >>confcache
   6813 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   6814   if test -w $cache_file; then
   6815     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   6816     cat confcache >$cache_file
   6817   else
   6818     echo "not updating unwritable cache $cache_file"
   6819   fi
   6820 fi
   6821 rm -f confcache
   6822 
   6823 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   6824 # Let make expand exec_prefix.
   6825 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   6826 
   6827 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6828 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6829 # trailing colons and then remove the whole line if VPATH becomes empty
   6830 # (actually we leave an empty line to preserve line numbers).
   6831 if test "x$srcdir" = x.; then
   6832   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
   6833 s/:*\$(srcdir):*/:/;
   6834 s/:*\${srcdir}:*/:/;
   6835 s/:*@srcdir@:*/:/;
   6836 s/^\([^=]*=[ 	]*\):*/\1/;
   6837 s/:*$//;
   6838 s/^[^=]*=[ 	]*$//;
   6839 }'
   6840 fi
   6841 
   6842 DEFS=-DHAVE_CONFIG_H
   6843 
   6844 ac_libobjs=
   6845 ac_ltlibobjs=
   6846 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   6847   # 1. Remove the extension, and $U if already installed.
   6848   ac_i=`echo "$ac_i" |
   6849          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   6850   # 2. Add them.
   6851   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   6852   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   6853 done
   6854 LIBOBJS=$ac_libobjs
   6855 
   6856 LTLIBOBJS=$ac_ltlibobjs
   6857 
   6858 
   6859 
   6860 : ${CONFIG_STATUS=./config.status}
   6861 ac_clean_files_save=$ac_clean_files
   6862 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   6863 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   6864 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   6865 cat >$CONFIG_STATUS <<_ACEOF
   6866 #! $SHELL
   6867 # Generated by $as_me.
   6868 # Run this file to recreate the current configuration.
   6869 # Compiler output produced by configure, useful for debugging
   6870 # configure, is in config.log if it exists.
   6871 
   6872 debug=false
   6873 ac_cs_recheck=false
   6874 ac_cs_silent=false
   6875 SHELL=\${CONFIG_SHELL-$SHELL}
   6876 _ACEOF
   6877 
   6878 cat >>$CONFIG_STATUS <<\_ACEOF
   6879 ## --------------------- ##
   6880 ## M4sh Initialization.  ##
   6881 ## --------------------- ##
   6882 
   6883 # Be Bourne compatible
   6884 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   6885   emulate sh
   6886   NULLCMD=:
   6887   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   6888   # is contrary to our usage.  Disable this feature.
   6889   alias -g '${1+"$@"}'='"$@"'
   6890 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   6891   set -o posix
   6892 fi
   6893 
   6894 # Support unset when possible.
   6895 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   6896   as_unset=unset
   6897 else
   6898   as_unset=false
   6899 fi
   6900 
   6901 
   6902 # Work around bugs in pre-3.0 UWIN ksh.
   6903 $as_unset ENV MAIL MAILPATH
   6904 PS1='$ '
   6905 PS2='> '
   6906 PS4='+ '
   6907 
   6908 # NLS nuisances.
   6909 for as_var in \
   6910   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   6911   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   6912   LC_TELEPHONE LC_TIME
   6913 do
   6914   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
   6915     eval $as_var=C; export $as_var
   6916   else
   6917     $as_unset $as_var
   6918   fi
   6919 done
   6920 
   6921 # Required to use basename.
   6922 if expr a : '\(a\)' >/dev/null 2>&1; then
   6923   as_expr=expr
   6924 else
   6925   as_expr=false
   6926 fi
   6927 
   6928 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   6929   as_basename=basename
   6930 else
   6931   as_basename=false
   6932 fi
   6933 
   6934 
   6935 # Name of the executable.
   6936 as_me=`$as_basename "$0" ||
   6937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   6938 	 X"$0" : 'X\(//\)$' \| \
   6939 	 X"$0" : 'X\(/\)$' \| \
   6940 	 .     : '\(.\)' 2>/dev/null ||
   6941 echo X/"$0" |
   6942     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   6943   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   6944   	  /^X\/\(\/\).*/{ s//\1/; q; }
   6945   	  s/.*/./; q'`
   6946 
   6947 
   6948 # PATH needs CR, and LINENO needs CR and PATH.
   6949 # Avoid depending upon Character Ranges.
   6950 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   6951 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   6952 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   6953 as_cr_digits='0123456789'
   6954 as_cr_alnum=$as_cr_Letters$as_cr_digits
   6955 
   6956 # The user is always right.
   6957 if test "${PATH_SEPARATOR+set}" != set; then
   6958   echo "#! /bin/sh" >conf$$.sh
   6959   echo  "exit 0"   >>conf$$.sh
   6960   chmod +x conf$$.sh
   6961   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6962     PATH_SEPARATOR=';'
   6963   else
   6964     PATH_SEPARATOR=:
   6965   fi
   6966   rm -f conf$$.sh
   6967 fi
   6968 
   6969 
   6970   as_lineno_1=$LINENO
   6971   as_lineno_2=$LINENO
   6972   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   6973   test "x$as_lineno_1" != "x$as_lineno_2" &&
   6974   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   6975   # Find who we are.  Look in the path if we contain no path at all
   6976   # relative or not.
   6977   case $0 in
   6978     *[\\/]* ) as_myself=$0 ;;
   6979     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6980 for as_dir in $PATH
   6981 do
   6982   IFS=$as_save_IFS
   6983   test -z "$as_dir" && as_dir=.
   6984   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   6985 done
   6986 
   6987        ;;
   6988   esac
   6989   # We did not find ourselves, most probably we were run as `sh COMMAND'
   6990   # in which case we are not to be found in the path.
   6991   if test "x$as_myself" = x; then
   6992     as_myself=$0
   6993   fi
   6994   if test ! -f "$as_myself"; then
   6995     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   6996 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   6997    { (exit 1); exit 1; }; }
   6998   fi
   6999   case $CONFIG_SHELL in
   7000   '')
   7001     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7002 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   7003 do
   7004   IFS=$as_save_IFS
   7005   test -z "$as_dir" && as_dir=.
   7006   for as_base in sh bash ksh sh5; do
   7007 	 case $as_dir in
   7008 	 /*)
   7009 	   if ("$as_dir/$as_base" -c '
   7010   as_lineno_1=$LINENO
   7011   as_lineno_2=$LINENO
   7012   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   7013   test "x$as_lineno_1" != "x$as_lineno_2" &&
   7014   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   7015 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   7016 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   7017 	     CONFIG_SHELL=$as_dir/$as_base
   7018 	     export CONFIG_SHELL
   7019 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   7020 	   fi;;
   7021 	 esac
   7022        done
   7023 done
   7024 ;;
   7025   esac
   7026 
   7027   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   7028   # uniformly replaced by the line number.  The first 'sed' inserts a
   7029   # line-number line before each line; the second 'sed' does the real
   7030   # work.  The second script uses 'N' to pair each line-number line
   7031   # with the numbered line, and appends trailing '-' during
   7032   # substitution so that $LINENO is not a special case at line end.
   7033   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   7034   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   7035   sed '=' <$as_myself |
   7036     sed '
   7037       N
   7038       s,$,-,
   7039       : loop
   7040       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   7041       t loop
   7042       s,-$,,
   7043       s,^['$as_cr_digits']*\n,,
   7044     ' >$as_me.lineno &&
   7045   chmod +x $as_me.lineno ||
   7046     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   7047 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   7048    { (exit 1); exit 1; }; }
   7049 
   7050   # Don't try to exec as it changes $[0], causing all sort of problems
   7051   # (the dirname of $[0] is not the place where we might find the
   7052   # original and so on.  Autoconf is especially sensible to this).
   7053   . ./$as_me.lineno
   7054   # Exit status is that of the last command.
   7055   exit
   7056 }
   7057 
   7058 
   7059 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   7060   *c*,-n*) ECHO_N= ECHO_C='
   7061 ' ECHO_T='	' ;;
   7062   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   7063   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   7064 esac
   7065 
   7066 if expr a : '\(a\)' >/dev/null 2>&1; then
   7067   as_expr=expr
   7068 else
   7069   as_expr=false
   7070 fi
   7071 
   7072 rm -f conf$$ conf$$.exe conf$$.file
   7073 echo >conf$$.file
   7074 if ln -s conf$$.file conf$$ 2>/dev/null; then
   7075   # We could just check for DJGPP; but this test a) works b) is more generic
   7076   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   7077   if test -f conf$$.exe; then
   7078     # Don't use ln at all; we don't have any links
   7079     as_ln_s='cp -p'
   7080   else
   7081     as_ln_s='ln -s'
   7082   fi
   7083 elif ln conf$$.file conf$$ 2>/dev/null; then
   7084   as_ln_s=ln
   7085 else
   7086   as_ln_s='cp -p'
   7087 fi
   7088 rm -f conf$$ conf$$.exe conf$$.file
   7089 
   7090 if mkdir -p . 2>/dev/null; then
   7091   as_mkdir_p=:
   7092 else
   7093   as_mkdir_p=false
   7094 fi
   7095 
   7096 as_executable_p="test -f"
   7097 
   7098 # Sed expression to map a string onto a valid CPP name.
   7099 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   7100 
   7101 # Sed expression to map a string onto a valid variable name.
   7102 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   7103 
   7104 
   7105 # IFS
   7106 # We need space, tab and new line, in precisely that order.
   7107 as_nl='
   7108 '
   7109 IFS=" 	$as_nl"
   7110 
   7111 # CDPATH.
   7112 $as_unset CDPATH
   7113 
   7114 exec 6>&1
   7115 
   7116 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   7117 # report actual input values of CONFIG_FILES etc. instead of their
   7118 # values after options handling.  Logging --version etc. is OK.
   7119 exec 5>>config.log
   7120 {
   7121   echo
   7122   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   7123 ## Running $as_me. ##
   7124 _ASBOX
   7125 } >&5
   7126 cat >&5 <<_CSEOF
   7127 
   7128 This file was extended by libnbcompat $as_me noversion, which was
   7129 generated by GNU Autoconf 2.57.  Invocation command line was
   7130 
   7131   CONFIG_FILES    = $CONFIG_FILES
   7132   CONFIG_HEADERS  = $CONFIG_HEADERS
   7133   CONFIG_LINKS    = $CONFIG_LINKS
   7134   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7135   $ $0 $@
   7136 
   7137 _CSEOF
   7138 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   7139 echo >&5
   7140 _ACEOF
   7141 
   7142 # Files that config.status was made for.
   7143 if test -n "$ac_config_files"; then
   7144   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   7145 fi
   7146 
   7147 if test -n "$ac_config_headers"; then
   7148   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   7149 fi
   7150 
   7151 if test -n "$ac_config_links"; then
   7152   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   7153 fi
   7154 
   7155 if test -n "$ac_config_commands"; then
   7156   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   7157 fi
   7158 
   7159 cat >>$CONFIG_STATUS <<\_ACEOF
   7160 
   7161 ac_cs_usage="\
   7162 \`$as_me' instantiates files from templates according to the
   7163 current configuration.
   7164 
   7165 Usage: $0 [OPTIONS] [FILE]...
   7166 
   7167   -h, --help       print this help, then exit
   7168   -V, --version    print version number, then exit
   7169   -q, --quiet      do not print progress messages
   7170   -d, --debug      don't remove temporary files
   7171       --recheck    update $as_me by reconfiguring in the same conditions
   7172   --file=FILE[:TEMPLATE]
   7173                    instantiate the configuration file FILE
   7174   --header=FILE[:TEMPLATE]
   7175                    instantiate the configuration header FILE
   7176 
   7177 Configuration files:
   7178 $config_files
   7179 
   7180 Configuration headers:
   7181 $config_headers
   7182 
   7183 Report bugs to <bug-autoconf@gnu.org>."
   7184 _ACEOF
   7185 
   7186 cat >>$CONFIG_STATUS <<_ACEOF
   7187 ac_cs_version="\\
   7188 libnbcompat config.status noversion
   7189 configured by $0, generated by GNU Autoconf 2.57,
   7190   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   7191 
   7192 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   7193 Free Software Foundation, Inc.
   7194 This config.status script is free software; the Free Software Foundation
   7195 gives unlimited permission to copy, distribute and modify it."
   7196 srcdir=$srcdir
   7197 _ACEOF
   7198 
   7199 cat >>$CONFIG_STATUS <<\_ACEOF
   7200 # If no file are specified by the user, then we need to provide default
   7201 # value.  By we need to know if files were specified by the user.
   7202 ac_need_defaults=:
   7203 while test $# != 0
   7204 do
   7205   case $1 in
   7206   --*=*)
   7207     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   7208     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   7209     ac_shift=:
   7210     ;;
   7211   -*)
   7212     ac_option=$1
   7213     ac_optarg=$2
   7214     ac_shift=shift
   7215     ;;
   7216   *) # This is not an option, so the user has probably given explicit
   7217      # arguments.
   7218      ac_option=$1
   7219      ac_need_defaults=false;;
   7220   esac
   7221 
   7222   case $ac_option in
   7223   # Handling of the options.
   7224 _ACEOF
   7225 cat >>$CONFIG_STATUS <<\_ACEOF
   7226   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7227     ac_cs_recheck=: ;;
   7228   --version | --vers* | -V )
   7229     echo "$ac_cs_version"; exit 0 ;;
   7230   --he | --h)
   7231     # Conflict between --help and --header
   7232     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   7233 Try \`$0 --help' for more information." >&5
   7234 echo "$as_me: error: ambiguous option: $1
   7235 Try \`$0 --help' for more information." >&2;}
   7236    { (exit 1); exit 1; }; };;
   7237   --help | --hel | -h )
   7238     echo "$ac_cs_usage"; exit 0 ;;
   7239   --debug | --d* | -d )
   7240     debug=: ;;
   7241   --file | --fil | --fi | --f )
   7242     $ac_shift
   7243     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   7244     ac_need_defaults=false;;
   7245   --header | --heade | --head | --hea )
   7246     $ac_shift
   7247     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   7248     ac_need_defaults=false;;
   7249   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   7250   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   7251     ac_cs_silent=: ;;
   7252 
   7253   # This is an error.
   7254   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   7255 Try \`$0 --help' for more information." >&5
   7256 echo "$as_me: error: unrecognized option: $1
   7257 Try \`$0 --help' for more information." >&2;}
   7258    { (exit 1); exit 1; }; } ;;
   7259 
   7260   *) ac_config_targets="$ac_config_targets $1" ;;
   7261 
   7262   esac
   7263   shift
   7264 done
   7265 
   7266 ac_configure_extra_args=
   7267 
   7268 if $ac_cs_silent; then
   7269   exec 6>/dev/null
   7270   ac_configure_extra_args="$ac_configure_extra_args --silent"
   7271 fi
   7272 
   7273 _ACEOF
   7274 cat >>$CONFIG_STATUS <<_ACEOF
   7275 if \$ac_cs_recheck; then
   7276   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   7277   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   7278 fi
   7279 
   7280 _ACEOF
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 cat >>$CONFIG_STATUS <<\_ACEOF
   7287 for ac_config_target in $ac_config_targets
   7288 do
   7289   case "$ac_config_target" in
   7290   # Handling of arguments.
   7291   "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   7292   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   7293   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   7294 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   7295    { (exit 1); exit 1; }; };;
   7296   esac
   7297 done
   7298 
   7299 # If the user did not use the arguments to specify the items to instantiate,
   7300 # then the envvar interface is used.  Set only those that are not.
   7301 # We use the long form for the default assignment because of an extremely
   7302 # bizarre bug on SunOS 4.1.3.
   7303 if $ac_need_defaults; then
   7304   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   7305   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   7306 fi
   7307 
   7308 # Have a temporary directory for convenience.  Make it in the build tree
   7309 # simply because there is no reason to put it here, and in addition,
   7310 # creating and moving files from /tmp can sometimes cause problems.
   7311 # Create a temporary directory, and hook for its removal unless debugging.
   7312 $debug ||
   7313 {
   7314   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   7315   trap '{ (exit 1); exit 1; }' 1 2 13 15
   7316 }
   7317 
   7318 # Create a (secure) tmp directory for tmp files.
   7319 
   7320 {
   7321   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   7322   test -n "$tmp" && test -d "$tmp"
   7323 }  ||
   7324 {
   7325   tmp=./confstat$$-$RANDOM
   7326   (umask 077 && mkdir $tmp)
   7327 } ||
   7328 {
   7329    echo "$me: cannot create a temporary directory in ." >&2
   7330    { (exit 1); exit 1; }
   7331 }
   7332 
   7333 _ACEOF
   7334 
   7335 cat >>$CONFIG_STATUS <<_ACEOF
   7336 
   7337 #
   7338 # CONFIG_FILES section.
   7339 #
   7340 
   7341 # No need to generate the scripts if there are no CONFIG_FILES.
   7342 # This happens for instance when ./config.status config.h
   7343 if test -n "\$CONFIG_FILES"; then
   7344   # Protect against being on the right side of a sed subst in config.status.
   7345   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   7346    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   7347 s,@SHELL@,$SHELL,;t t
   7348 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   7349 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   7350 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   7351 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   7352 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   7353 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   7354 s,@exec_prefix@,$exec_prefix,;t t
   7355 s,@prefix@,$prefix,;t t
   7356 s,@program_transform_name@,$program_transform_name,;t t
   7357 s,@bindir@,$bindir,;t t
   7358 s,@sbindir@,$sbindir,;t t
   7359 s,@libexecdir@,$libexecdir,;t t
   7360 s,@datadir@,$datadir,;t t
   7361 s,@sysconfdir@,$sysconfdir,;t t
   7362 s,@sharedstatedir@,$sharedstatedir,;t t
   7363 s,@localstatedir@,$localstatedir,;t t
   7364 s,@libdir@,$libdir,;t t
   7365 s,@includedir@,$includedir,;t t
   7366 s,@oldincludedir@,$oldincludedir,;t t
   7367 s,@infodir@,$infodir,;t t
   7368 s,@mandir@,$mandir,;t t
   7369 s,@build_alias@,$build_alias,;t t
   7370 s,@host_alias@,$host_alias,;t t
   7371 s,@target_alias@,$target_alias,;t t
   7372 s,@DEFS@,$DEFS,;t t
   7373 s,@ECHO_C@,$ECHO_C,;t t
   7374 s,@ECHO_N@,$ECHO_N,;t t
   7375 s,@ECHO_T@,$ECHO_T,;t t
   7376 s,@LIBS@,$LIBS,;t t
   7377 s,@BSHELL@,$BSHELL,;t t
   7378 s,@CC@,$CC,;t t
   7379 s,@CFLAGS@,$CFLAGS,;t t
   7380 s,@LDFLAGS@,$LDFLAGS,;t t
   7381 s,@CPPFLAGS@,$CPPFLAGS,;t t
   7382 s,@ac_ct_CC@,$ac_ct_CC,;t t
   7383 s,@EXEEXT@,$EXEEXT,;t t
   7384 s,@OBJEXT@,$OBJEXT,;t t
   7385 s,@CPP@,$CPP,;t t
   7386 s,@EGREP@,$EGREP,;t t
   7387 s,@ALLOCA@,$ALLOCA,;t t
   7388 s,@LIBOBJS@,$LIBOBJS,;t t
   7389 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   7390 CEOF
   7391 
   7392 _ACEOF
   7393 
   7394   cat >>$CONFIG_STATUS <<\_ACEOF
   7395   # Split the substitutions into bite-sized pieces for seds with
   7396   # small command number limits, like on Digital OSF/1 and HP-UX.
   7397   ac_max_sed_lines=48
   7398   ac_sed_frag=1 # Number of current file.
   7399   ac_beg=1 # First line for current file.
   7400   ac_end=$ac_max_sed_lines # Line after last line for current file.
   7401   ac_more_lines=:
   7402   ac_sed_cmds=
   7403   while $ac_more_lines; do
   7404     if test $ac_beg -gt 1; then
   7405       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7406     else
   7407       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7408     fi
   7409     if test ! -s $tmp/subs.frag; then
   7410       ac_more_lines=false
   7411     else
   7412       # The purpose of the label and of the branching condition is to
   7413       # speed up the sed processing (if there are no `@' at all, there
   7414       # is no need to browse any of the substitutions).
   7415       # These are the two extra sed commands mentioned above.
   7416       (echo ':t
   7417   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   7418       if test -z "$ac_sed_cmds"; then
   7419   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   7420       else
   7421   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   7422       fi
   7423       ac_sed_frag=`expr $ac_sed_frag + 1`
   7424       ac_beg=$ac_end
   7425       ac_end=`expr $ac_end + $ac_max_sed_lines`
   7426     fi
   7427   done
   7428   if test -z "$ac_sed_cmds"; then
   7429     ac_sed_cmds=cat
   7430   fi
   7431 fi # test -n "$CONFIG_FILES"
   7432 
   7433 _ACEOF
   7434 cat >>$CONFIG_STATUS <<\_ACEOF
   7435 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   7436   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7437   case $ac_file in
   7438   - | *:- | *:-:* ) # input from stdin
   7439         cat >$tmp/stdin
   7440         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7441         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7442   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7443         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7444   * )   ac_file_in=$ac_file.in ;;
   7445   esac
   7446 
   7447   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   7448   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7450          X"$ac_file" : 'X\(//\)[^/]' \| \
   7451          X"$ac_file" : 'X\(//\)$' \| \
   7452          X"$ac_file" : 'X\(/\)' \| \
   7453          .     : '\(.\)' 2>/dev/null ||
   7454 echo X"$ac_file" |
   7455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7456   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7457   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7458   	  /^X\(\/\).*/{ s//\1/; q; }
   7459   	  s/.*/./; q'`
   7460   { if $as_mkdir_p; then
   7461     mkdir -p "$ac_dir"
   7462   else
   7463     as_dir="$ac_dir"
   7464     as_dirs=
   7465     while test ! -d "$as_dir"; do
   7466       as_dirs="$as_dir $as_dirs"
   7467       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7468 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7469          X"$as_dir" : 'X\(//\)[^/]' \| \
   7470          X"$as_dir" : 'X\(//\)$' \| \
   7471          X"$as_dir" : 'X\(/\)' \| \
   7472          .     : '\(.\)' 2>/dev/null ||
   7473 echo X"$as_dir" |
   7474     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7475   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7476   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7477   	  /^X\(\/\).*/{ s//\1/; q; }
   7478   	  s/.*/./; q'`
   7479     done
   7480     test ! -n "$as_dirs" || mkdir $as_dirs
   7481   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7482 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7483    { (exit 1); exit 1; }; }; }
   7484 
   7485   ac_builddir=.
   7486 
   7487 if test "$ac_dir" != .; then
   7488   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   7489   # A "../" for each directory in $ac_dir_suffix.
   7490   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   7491 else
   7492   ac_dir_suffix= ac_top_builddir=
   7493 fi
   7494 
   7495 case $srcdir in
   7496   .)  # No --srcdir option.  We are building in place.
   7497     ac_srcdir=.
   7498     if test -z "$ac_top_builddir"; then
   7499        ac_top_srcdir=.
   7500     else
   7501        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   7502     fi ;;
   7503   [\\/]* | ?:[\\/]* )  # Absolute path.
   7504     ac_srcdir=$srcdir$ac_dir_suffix;
   7505     ac_top_srcdir=$srcdir ;;
   7506   *) # Relative path.
   7507     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   7508     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   7509 esac
   7510 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
   7511 # absolute.
   7512 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
   7513 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
   7514 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
   7515 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
   7516 
   7517 
   7518 
   7519   if test x"$ac_file" != x-; then
   7520     { echo "$as_me:$LINENO: creating $ac_file" >&5
   7521 echo "$as_me: creating $ac_file" >&6;}
   7522     rm -f "$ac_file"
   7523   fi
   7524   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7525   # use $as_me), people would be surprised to read:
   7526   #    /* config.h.  Generated by config.status.  */
   7527   if test x"$ac_file" = x-; then
   7528     configure_input=
   7529   else
   7530     configure_input="$ac_file.  "
   7531   fi
   7532   configure_input=$configure_input"Generated from `echo $ac_file_in |
   7533                                      sed 's,.*/,,'` by configure."
   7534 
   7535   # First look for the input files in the build tree, otherwise in the
   7536   # src tree.
   7537   ac_file_inputs=`IFS=:
   7538     for f in $ac_file_in; do
   7539       case $f in
   7540       -) echo $tmp/stdin ;;
   7541       [\\/$]*)
   7542          # Absolute (can't be DOS-style, as IFS=:)
   7543          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7544 echo "$as_me: error: cannot find input file: $f" >&2;}
   7545    { (exit 1); exit 1; }; }
   7546          echo $f;;
   7547       *) # Relative
   7548          if test -f "$f"; then
   7549            # Build tree
   7550            echo $f
   7551          elif test -f "$srcdir/$f"; then
   7552            # Source tree
   7553            echo $srcdir/$f
   7554          else
   7555            # /dev/null tree
   7556            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7557 echo "$as_me: error: cannot find input file: $f" >&2;}
   7558    { (exit 1); exit 1; }; }
   7559          fi;;
   7560       esac
   7561     done` || { (exit 1); exit 1; }
   7562 _ACEOF
   7563 cat >>$CONFIG_STATUS <<_ACEOF
   7564   sed "$ac_vpsub
   7565 $extrasub
   7566 _ACEOF
   7567 cat >>$CONFIG_STATUS <<\_ACEOF
   7568 :t
   7569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7570 s,@configure_input@,$configure_input,;t t
   7571 s,@srcdir@,$ac_srcdir,;t t
   7572 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   7573 s,@top_srcdir@,$ac_top_srcdir,;t t
   7574 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   7575 s,@builddir@,$ac_builddir,;t t
   7576 s,@abs_builddir@,$ac_abs_builddir,;t t
   7577 s,@top_builddir@,$ac_top_builddir,;t t
   7578 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   7579 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   7580   rm -f $tmp/stdin
   7581   if test x"$ac_file" != x-; then
   7582     mv $tmp/out $ac_file
   7583   else
   7584     cat $tmp/out
   7585     rm -f $tmp/out
   7586   fi
   7587 
   7588 done
   7589 _ACEOF
   7590 cat >>$CONFIG_STATUS <<\_ACEOF
   7591 
   7592 #
   7593 # CONFIG_HEADER section.
   7594 #
   7595 
   7596 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   7597 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   7598 #
   7599 # ac_d sets the value in "#define NAME VALUE" lines.
   7600 ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
   7601 ac_dB='[ 	].*$,\1#\2'
   7602 ac_dC=' '
   7603 ac_dD=',;t'
   7604 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   7605 ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
   7606 ac_uB='$,\1#\2define\3'
   7607 ac_uC=' '
   7608 ac_uD=',;t'
   7609 
   7610 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   7611   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7612   case $ac_file in
   7613   - | *:- | *:-:* ) # input from stdin
   7614         cat >$tmp/stdin
   7615         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7616         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7617   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7618         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7619   * )   ac_file_in=$ac_file.in ;;
   7620   esac
   7621 
   7622   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   7623 echo "$as_me: creating $ac_file" >&6;}
   7624 
   7625   # First look for the input files in the build tree, otherwise in the
   7626   # src tree.
   7627   ac_file_inputs=`IFS=:
   7628     for f in $ac_file_in; do
   7629       case $f in
   7630       -) echo $tmp/stdin ;;
   7631       [\\/$]*)
   7632          # Absolute (can't be DOS-style, as IFS=:)
   7633          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7634 echo "$as_me: error: cannot find input file: $f" >&2;}
   7635    { (exit 1); exit 1; }; }
   7636          echo $f;;
   7637       *) # Relative
   7638          if test -f "$f"; then
   7639            # Build tree
   7640            echo $f
   7641          elif test -f "$srcdir/$f"; then
   7642            # Source tree
   7643            echo $srcdir/$f
   7644          else
   7645            # /dev/null tree
   7646            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7647 echo "$as_me: error: cannot find input file: $f" >&2;}
   7648    { (exit 1); exit 1; }; }
   7649          fi;;
   7650       esac
   7651     done` || { (exit 1); exit 1; }
   7652   # Remove the trailing spaces.
   7653   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
   7654 
   7655 _ACEOF
   7656 
   7657 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   7658 # `conftest.undefs', that substitutes the proper values into
   7659 # config.h.in to produce config.h.  The first handles `#define'
   7660 # templates, and the second `#undef' templates.
   7661 # And first: Protect against being on the right side of a sed subst in
   7662 # config.status.  Protect against being in an unquoted here document
   7663 # in config.status.
   7664 rm -f conftest.defines conftest.undefs
   7665 # Using a here document instead of a string reduces the quoting nightmare.
   7666 # Putting comments in sed scripts is not portable.
   7667 #
   7668 # `end' is used to avoid that the second main sed command (meant for
   7669 # 0-ary CPP macros) applies to n-ary macro definitions.
   7670 # See the Autoconf documentation for `clear'.
   7671 cat >confdef2sed.sed <<\_ACEOF
   7672 s/[\\&,]/\\&/g
   7673 s,[\\$`],\\&,g
   7674 t clear
   7675 : clear
   7676 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   7677 t end
   7678 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   7679 : end
   7680 _ACEOF
   7681 # If some macros were called several times there might be several times
   7682 # the same #defines, which is useless.  Nevertheless, we may not want to
   7683 # sort them, since we want the *last* AC-DEFINE to be honored.
   7684 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   7685 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   7686 rm -f confdef2sed.sed
   7687 
   7688 # This sed command replaces #undef with comments.  This is necessary, for
   7689 # example, in the case of _POSIX_SOURCE, which is predefined and required
   7690 # on some systems where configure will not decide to define it.
   7691 cat >>conftest.undefs <<\_ACEOF
   7692 s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   7693 _ACEOF
   7694 
   7695 # Break up conftest.defines because some shells have a limit on the size
   7696 # of here documents, and old seds have small limits too (100 cmds).
   7697 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   7698 echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   7699 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   7700 echo '  :' >>$CONFIG_STATUS
   7701 rm -f conftest.tail
   7702 while grep . conftest.defines >/dev/null
   7703 do
   7704   # Write a limited-size here document to $tmp/defines.sed.
   7705   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   7706   # Speed up: don't consider the non `#define' lines.
   7707   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
   7708   # Work around the forget-to-reset-the-flag bug.
   7709   echo 't clr' >>$CONFIG_STATUS
   7710   echo ': clr' >>$CONFIG_STATUS
   7711   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   7712   echo 'CEOF
   7713   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   7714   rm -f $tmp/in
   7715   mv $tmp/out $tmp/in
   7716 ' >>$CONFIG_STATUS
   7717   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   7718   rm -f conftest.defines
   7719   mv conftest.tail conftest.defines
   7720 done
   7721 rm -f conftest.defines
   7722 echo '  fi # grep' >>$CONFIG_STATUS
   7723 echo >>$CONFIG_STATUS
   7724 
   7725 # Break up conftest.undefs because some shells have a limit on the size
   7726 # of here documents, and old seds have small limits too (100 cmds).
   7727 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   7728 rm -f conftest.tail
   7729 while grep . conftest.undefs >/dev/null
   7730 do
   7731   # Write a limited-size here document to $tmp/undefs.sed.
   7732   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   7733   # Speed up: don't consider the non `#undef'
   7734   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
   7735   # Work around the forget-to-reset-the-flag bug.
   7736   echo 't clr' >>$CONFIG_STATUS
   7737   echo ': clr' >>$CONFIG_STATUS
   7738   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   7739   echo 'CEOF
   7740   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   7741   rm -f $tmp/in
   7742   mv $tmp/out $tmp/in
   7743 ' >>$CONFIG_STATUS
   7744   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   7745   rm -f conftest.undefs
   7746   mv conftest.tail conftest.undefs
   7747 done
   7748 rm -f conftest.undefs
   7749 
   7750 cat >>$CONFIG_STATUS <<\_ACEOF
   7751   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7752   # use $as_me), people would be surprised to read:
   7753   #    /* config.h.  Generated by config.status.  */
   7754   if test x"$ac_file" = x-; then
   7755     echo "/* Generated by configure.  */" >$tmp/config.h
   7756   else
   7757     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   7758   fi
   7759   cat $tmp/in >>$tmp/config.h
   7760   rm -f $tmp/in
   7761   if test x"$ac_file" != x-; then
   7762     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   7763       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   7764 echo "$as_me: $ac_file is unchanged" >&6;}
   7765     else
   7766       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7768          X"$ac_file" : 'X\(//\)[^/]' \| \
   7769          X"$ac_file" : 'X\(//\)$' \| \
   7770          X"$ac_file" : 'X\(/\)' \| \
   7771          .     : '\(.\)' 2>/dev/null ||
   7772 echo X"$ac_file" |
   7773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7774   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7775   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7776   	  /^X\(\/\).*/{ s//\1/; q; }
   7777   	  s/.*/./; q'`
   7778       { if $as_mkdir_p; then
   7779     mkdir -p "$ac_dir"
   7780   else
   7781     as_dir="$ac_dir"
   7782     as_dirs=
   7783     while test ! -d "$as_dir"; do
   7784       as_dirs="$as_dir $as_dirs"
   7785       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7787          X"$as_dir" : 'X\(//\)[^/]' \| \
   7788          X"$as_dir" : 'X\(//\)$' \| \
   7789          X"$as_dir" : 'X\(/\)' \| \
   7790          .     : '\(.\)' 2>/dev/null ||
   7791 echo X"$as_dir" |
   7792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7793   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7794   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7795   	  /^X\(\/\).*/{ s//\1/; q; }
   7796   	  s/.*/./; q'`
   7797     done
   7798     test ! -n "$as_dirs" || mkdir $as_dirs
   7799   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7800 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7801    { (exit 1); exit 1; }; }; }
   7802 
   7803       rm -f $ac_file
   7804       mv $tmp/config.h $ac_file
   7805     fi
   7806   else
   7807     cat $tmp/config.h
   7808     rm -f $tmp/config.h
   7809   fi
   7810 done
   7811 _ACEOF
   7812 
   7813 cat >>$CONFIG_STATUS <<\_ACEOF
   7814 
   7815 { (exit 0); exit 0; }
   7816 _ACEOF
   7817 chmod +x $CONFIG_STATUS
   7818 ac_clean_files=$ac_clean_files_save
   7819 
   7820 
   7821 # configure is writing to config.log, and then calls config.status.
   7822 # config.status does its own redirection, appending to config.log.
   7823 # Unfortunately, on DOS this fails, as config.log is still kept open
   7824 # by configure, so config.status won't be able to write to it; its
   7825 # output is simply discarded.  So we exec the FD to /dev/null,
   7826 # effectively closing config.log, so it can be properly (re)opened and
   7827 # appended to by config.status.  When coming back to configure, we
   7828 # need to make the FD available again.
   7829 if test "$no_create" != yes; then
   7830   ac_cs_success=:
   7831   ac_config_status_args=
   7832   test "$silent" = yes &&
   7833     ac_config_status_args="$ac_config_status_args --quiet"
   7834   exec 5>/dev/null
   7835   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   7836   exec 5>>config.log
   7837   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7838   # would make configure fail if this is the last instruction.
   7839   $ac_cs_success || { (exit 1); exit 1; }
   7840 fi
   7841 
   7842